/* DAO Store Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Rubik:wght@400;500;600;700&display=swap');

:root {
    --dao: #04aeef;
    --dao-dark: #0093cb;
    --dark: #111827;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    font-size: 1.5rem;
    line-height: 1.5;
}

/* Header & Announcement */
.announcement-bar {
    background: #111827;
    color: #f3f4f6;
    font-size: 1.23rem;
    letter-spacing: 0.02em;
}

/* Badge Styles */
.badge-discount {
    background: #ef4444;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.badge-tag {
    background: #111827;
    color: white;
    font-size: 1.0rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* 1.5X Scaled Arbitrary Pixel Font Classes */
.text-\[7px\] { font-size: 10.5px !important; }
.text-\[8px\] { font-size: 12px !important; }
.text-\[9px\] { font-size: 13.5px !important; }
.text-\[10px\] { font-size: 15px !important; }
.text-\[11px\] { font-size: 16.5px !important; }
.text-\[12px\] { font-size: 18px !important; }
.text-\[13px\] { font-size: 19.5px !important; }

/* Product Card Hover */
.product-card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}
.product-card .img-zoom {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .img-zoom {
    transform: scale(1.05);
}

/* Drawer Cart */
.cart-drawer-overlay {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.cart-drawer-content {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Bottom Navigation & Responsive Mobile Enhancements */
.mobile-bottom-nav {
    display: none;
}

/* Touch & Scroll Utilities */
.touch-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html {
    max-width: 100vw;
    overflow-x: clip;
}
body {
    max-width: 100vw;
    overflow-x: clip;
}

/* Guaranteed Sticky Header on all mobile & desktop browsers */
header.sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /* Balanced base font for mobile */
    }
    body {
        font-size: 1rem;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        -webkit-tap-highlight-color: transparent;
    }

    /* Mobile Typography Balancing */
    .announcement-bar {
        font-size: 0.82rem !important;
        padding-top: 3px;
        padding-bottom: 3px;
    }
    .badge-discount {
        font-size: 0.72rem !important;
        padding: 2px 6px !important;
    }
    .badge-tag {
        font-size: 0.68rem !important;
        padding: 2px 5px !important;
    }
    .text-\[7px\] { font-size: 8px !important; }
    .text-\[8px\] { font-size: 9px !important; }
    .text-\[9px\] { font-size: 10px !important; }
    .text-\[10px\] { font-size: 11px !important; }
    .text-\[11px\] { font-size: 11.5px !important; }
    .text-\[12px\] { font-size: 12px !important; }
    .text-\[13px\] { font-size: 13px !important; }

    /* Ultra-sleek Native-style Bottom Navigation */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        z-index: 40;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        touch-action: manipulation;
        padding: 4px 2px;
    }
    .mobile-bottom-nav i {
        font-size: 17px !important;
    }
    .mobile-bottom-nav span {
        font-size: 10px !important;
        font-weight: 600;
        line-height: 1.1;
    }

    /* Product Cards Touch Optimization */
    .product-card {
        border-radius: 12px;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Strict 2-column mobile grid containment */
    .grid.grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .grid.grid-cols-2 > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* Drawer & Modals Full Width On Phones */
    #cartDrawerContent {
        width: 100% !important;
        max-width: 100vw !important;
    }
}

/* Size & Color Pills Active States */
.size-pill.active {
    border-color: #111827 !important;
    background-color: #111827 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-pill.active {
    border-color: #111827 !important;
    background-color: #111827 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Streetwear Carousel Responsive Sizing (2 Full Cards on Mobile) */
.streetwear-card-col {
    flex: 0 0 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    box-sizing: border-box !important;
}
@media (min-width: 640px) {
    .streetwear-card-col {
        flex: 0 0 calc(33.333% - 16px) !important;
        width: calc(33.333% - 16px) !important;
        min-width: calc(33.333% - 16px) !important;
        max-width: calc(33.333% - 16px) !important;
    }
}
@media (min-width: 1024px) {
    .streetwear-card-col {
        flex: 0 0 calc(25% - 18px) !important;
        width: calc(25% - 18px) !important;
        min-width: calc(25% - 18px) !important;
        max-width: calc(25% - 18px) !important;
    }
}

/* =========================================================
   Product Page - Desktop Proportional Scaling (~0.5X / Compact)
   Keeps typography, buttons, and spaces sleek and balanced
========================================================= */
@media (min-width: 769px) {
    .product-page {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    .product-page h1,
    .product-page .product-title {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
    }
    .product-page .product-price-current {
        font-size: 1.65rem !important;
    }
    .product-page .product-price-old {
        font-size: 1.05rem !important;
    }
    .product-page .size-pill {
        width: 3rem !important;
        height: 3rem !important;
        font-size: 0.82rem !important;
        border-radius: 2px !important;
    }
    .product-page .color-pill {
        padding: 0.35rem 0.85rem !important;
        font-size: 0.78rem !important;
        border-radius: 2px !important;
    }
    .product-page #addToBagBtn,
    .product-page #buyNowBtn {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        font-size: 0.82rem !important;
        border-radius: 2px !important;
    }
    .product-page #productWishlistBtn {
        width: 3rem !important;
        height: 3rem !important;
        border-radius: 2px !important;
    }
    .product-page .thumb-btn {
        width: 3.5rem !important;
        height: 4.5rem !important;
    }
    .product-page .delivery-guarantee-box {
        margin-top: 1.25rem !important;
        padding: 0.85rem !important;
        font-size: 0.78rem !important;
    }
    .product-page .product-desc-box {
        margin-top: 1.25rem !important;
        padding-top: 1rem !important;
        font-size: 0.82rem !important;
    }
    .product-page .product-desc-box h3 {
        font-size: 0.88rem !important;
    }
    .product-page .product-desc-box p,
    .product-page .product-desc-box li {
        font-size: 0.8rem !important;
    }
}
