/* =========================================
   ARY LUXURY STORE CSS
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}
body {
    min-height: 100vh;
    font-family: var(--fb);
    color: var(--ink);
    background:#fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    color:white;
    padding: 0;
}

body > * {
    box-sizing: border-box;
}

.site-header {
    margin: 0 auto;
    width: calc(100% - 30px);
    background: rgba(255,255,255,0.72);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    height: 72px;
    padding: 0 18px 0 22px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: relative;
    /* top: 8px; */
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
}

.site-header nav a {
    color: #171717;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.site-header .logo {
    padding: 0;
    min-width: 165px;
    justify-content: flex-start;
}

.site-header .logo img {
    width: 104px;
    height: auto;
}

.site-header .header-right {
    min-width: 290px;
    justify-content: flex-end;
}

.site-header .search-area {
    width: 250px;
    height: 42px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
}

.site-header .search-area input {
    font-size: 13px;
}

.site-header .login-btn {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header .header-icon {
    width: 36px;
    height: 36px;
    background: #111;
}

.site-header .header-icon span {
    width: 18px;
    height: 18px;
    font-size: 10px;
}

.hero {
    /* base hero styles are defined in the main block below */
}

.hero-content {
    left: 40px;
    top: 50px;
    width: 520px;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 5vw, 7rem);
    line-height: 0.87;
    letter-spacing: -0.08em;
    font-weight: 900;
    color: #111;
}

.hero-content h1 .red {
    color: #b11b1b;
}

.hero-content p {
    color: rgba(17,17,17,0.8);
    max-width: 520px;
    font-size: 16px;
    line-height: 1.6;
}

.hero-content .hero-cta {
    background: #0f0f0f;
    color: #fff;
    border: none;
    border-radius: 999px;
    height: 52px;
    padding: 0 28px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.hero-content .hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 12px;
    color: rgba(17,17,17,0.7);
    letter-spacing: 0.02em;
}

.hero .hero-carousel-controls {
    top: 44%;
}

.hero .hero-dot {
    background: rgba(17,17,17,0.2);
}

.hero .hero-dot.active {
    background: rgba(17,17,17,0.9);
}

.hero img {
    object-position: center top;
}

.collection-section {
    background: #f1efeb;
    padding: 26px 0 40px;
}

.collection-box {
    width: 420px;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.collection-overlay {
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 18px;
    text-align: center;
}

.collection-overlay h2 {
    font-size: 32px;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin: 0;
}

.collection-buttons button {
    min-width: 200px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.8);
    color: #111;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.offer-strip {
    background: #f0efe9;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 0;
    color: #111;
}

.popular-section,
.caps-section,
.more-products {
    background: #efeee8;
}

.popular-top,
.caps-top,
.products-head {
    width: min(100%, 1400px);
    margin: 0 auto;
}

.popular-left h1,
.caps-left h1,
.products-head h2 {
    font-size: clamp(3.4rem, 6vw, 7rem);
    line-height: 0.88;
    letter-spacing: -0.08em;
}

.products-container,
.caps-grid,
.products-grid {
    width: min(100%, 1400px);
    margin: 0 auto;
}

.product-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.product-image {
    height: 360px;
}

.product-info {
    padding: 18px 18px 20px;
}

.product-info h3 {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.product-price,
.price-row strong {
    font-size: 18px;
}

.add-btn,
.price-row button {
    background: #111;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

footer {
    background: #070707;
    padding: 50px 7% 80px;
}

.footer-container {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
}

.footer-box h2 {
    font-size: 20px;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.footer-box p,
.footer-box a {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 1100px) {
    .site-header {
        gap: 12px;
    }

    .site-header nav {
        gap: 16px;
    }

    .site-header .search-area {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 0;
        height: 64px;
        border-radius: 999px;
        width: calc(100% - 18px);
    }

    .browser-shell {
        margin-top: 8px;
    }

    .browser-chrome {
        padding: 0 10px;
    }

    .browser-left,
    .browser-right {
        min-width: auto;
    }

    .browser-url {
        width: 160px;
    }

    .site-header nav {
        display: none;
    }

    .site-header .logo img {
        width: 90px;
    }

    .site-header .header-right {
        min-width: auto;
    }

    .hero-content {
        left: 20px;
        top: 32px;
        width: calc(100% - 40px);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 14px;
    }

    .products-container,
    .caps-grid,
    .products-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .collection-section {
        gap: 18px;
    }

    .collection-box {
        width: min(100%, 420px);
    }

    .popular-left h1,
    .caps-left h1,
    .products-head h2 {
        font-size: 3rem;
    }
}
/* ================= LOADER ================= */

#loader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    min-height:100vh;
    height:100dvh;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:24px;
    text-align:center;
    z-index:999999;
    transition:opacity 1s ease;
}

#loader.loader-hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

#loader h1{
    width:100%;
    max-width:100%;
    font-size:clamp(2.25rem, 12vw, 5.625rem);
    font-family:'Cinzel',serif;
    color:#fff;
    letter-spacing:clamp(0.2rem, 2.5vw, 0.9375rem);
    line-height:1.05;
    overflow-wrap:anywhere;
    animation:pulse 1s infinite;
}

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.1);
    }

    100%{
        transform:scale(1);
    }

}

/* ================= HEADER ================= */
header{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);

     height:70px;
    width:95%;
   background:rgba(255,255,255,.92);

    backdrop-filter:blur(30px);

    border:1px solid rgba(255,255,255,.4);

    box-shadow:
    0 10px 40px rgba(0,0,0,.08);

    border-radius:40px;

    padding:0 35px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    z-index:9999;

    box-shadow:none;
}
nav{
    display:flex;
    gap:35px;
}
nav a{
    color:#555;
    font-weight:500;
    text-decoration:none;
}

nav a:hover{
    color:#111;
}

nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:1px;
    background:#fff;
    transition:0.4s;
}

nav a:hover::after{
    width:100%;
}

.header-right{
    display:flex;
    align-items:center;
    gap:18px;
}
/* logo img */
.logo{

    background:transparent;

    padding:10px 25px;

    border-radius:50px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.logo img{
    width:90px;
}
/* ================= SEARCH ================= */
.search-area{
    width:360px;
    height:55px;

    background:rgb(255, 255, 255);

    border-radius:50px;

    position:relative;
}
.search-area input{
    width:100%;
    height:100%;
    background:none;
    border:none;
    outline:none;
    
    padding-left:20px;
    padding-right:50px;
     color:#111;
    font-size:16px;
}

.search-area i{
    position:absolute;
    right:18px;
    top:14px;
      color:#0f0f0f;
}


.search-box-item{
    display:flex;
    align-items:center;
    gap:15px;
    padding:10px;
    cursor:pointer;
    transition:0.4s;
    
}

.search-box-item:hover{
    background:#222;
}

.search-box-item img{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:10px;
}

/* ================= ICONS ================= */

.login-btn{
    cursor:pointer;
    font-size:14px;
    
    color:#777;
    font-weight:500;
}

.header-icon{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#111;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    cursor:pointer;
    transition:0.4s;
}

.header-icon:hover{
    transform:translateY(-3px);
}

.header-icon span{
    position:absolute;
    top:-5px;
    right:-5px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:red;
    font-size:11px;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* ================= HERO ================= */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    overflow:hidden;
}.hero video,
.hero img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;  /* keeps face/upper body visible on portrait crop */
    transform:scale(1);
}
.hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.45) 35%,
        rgba(0,0,0,.15) 100%
    );
}
.hero-content{
    position:absolute;
    left:60px;
    top:140px;     /* bottom hata do */
    z-index:5;
    width:650px;
    
}
.hero-features{
    position:absolute;
    left:60px;
    bottom:4px;   /* pehle 40px tha */
    display:flex;
    gap:15px;
    z-index:5;
}

.feature-card{
    width:260px;    /* pehle 320px */
    min-height:90px; /* pehle 140px */
    padding:10px;
    border-radius:24px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.12);
}

.feature-card h3{
    font-size:16px;
    margin-bottom:8px;
}

.feature-card p{
    font-size:13px;
    line-height:1.5;
}
.hero-content h1{
    font-size:72px;
    line-height:0.9;
    font-weight:900;
    letter-spacing:-2px;
    color:#fff;
}
.hero-content p{
    margin-top:20px;
    max-width:520px;
    font-size:16px;
    color:rgba(255,255,255,.85);
    line-height:1.6;
}
.hero-buttons{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.hero-buttons button{
    height:56px;
    padding:0 28px;
    border-radius:40px;
    font-size:17px;
    font-weight:600;
}

.hero-buttons button:first-child{
    background:#111;
    color:white;
}

/* Anchor-based CTA button injected from banner data */
.hero-cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:56px;
    padding:0 28px;
    border-radius:40px;
    font-size:17px;
    font-weight:600;
    text-decoration:none;
    cursor:pointer;
    transition:opacity .2s ease;
}
.hero-cta-btn:hover{ opacity:.85; }
.hero-cta-btn.primary-btn{
    background:#111;
    color:#fff;
}

.hero-carousel-controls{
    position:absolute;
    left:30px;
    right:30px;
    top:50%;
    transform:translateY(-50%);
    z-index:6;
    display:flex;
    justify-content:space-between;
    pointer-events:none;
}

.hero-carousel-btn{
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.42);
    color:#fff;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    backdrop-filter:blur(8px);
    pointer-events:auto;
    transition:background .25s ease, transform .25s ease;
}

.hero-carousel-btn:hover{
    background:rgba(0,0,0,.62);
    transform:scale(1.06);
}

.hero-carousel-dots{
    position:absolute;
    left:50%;
    bottom:26px;
    transform:translateX(-50%);
    z-index:6;
    display:flex;
    gap:10px;
}

.hero-dot{
    width:10px;
    height:10px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.45);
    cursor:pointer;
    padding:0;
    transition:transform .2s ease, background .2s ease;
}

.hero-dot.active{
    background:#fff;
    transform:scale(1.2);
}

.secondary-btn{
    background:white !important;
    color:#111 !important;
}

@media (max-width: 900px){
    .hero-carousel-controls{
        left:14px;
        right:14px;
    }

    .hero-carousel-btn{
        width:38px;
        height:38px;
        font-size:20px;
    }

    .hero-carousel-dots{
        bottom:16px;
        gap:8px;
    }

    /* ── Hero section — tablet/large phone (up to 768px) ── */
    .hero{
        min-height: unset;
        height: 60vw;          /* proportionate to screen width — scales with device */
        max-height: 420px;     /* cap on large tablets */
        min-height: 240px;     /* floor for very small screens */
    }

    .hero video,
    .hero img{
        object-position: center center; /* show the subject centered in the cropped frame */
    }

    .hero-overlay{
        background: linear-gradient(
            to top,
            rgba(0,0,0,.80) 0%,
            rgba(0,0,0,.40) 50%,
            rgba(0,0,0,.05) 100%
        );
    }

    .hero-content{
        position:absolute;
        left:0;
        right:0;
        bottom:30px;
        top:auto;
        width:100%;
        padding:0 18px;
        box-sizing:border-box;
    }

    .hero-content h1{
        font-size:clamp(18px, 5.5vw, 32px);
        line-height:1.1;
        letter-spacing:-0.5px;
    }

    .hero-content p{
        font-size:14px;
        margin-top:10px;
        max-width:100%;
    }

    .hero-buttons{
        display:none; /* buttons hidden on all mobile sizes */
    }

    .hero-features{
        display:none;
    }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px){
    .hero-content{
        bottom:56px;
        padding:0 18px;
    }

    .hero-content h1{
        font-size:clamp(24px, 8.5vw, 36px);
        letter-spacing:-.5px;
        line-height:1.1;
    }

    .hero-content p{
        font-size:13px;
    }

    .hero-carousel-btn{
        width:34px;
        height:34px;
        font-size:17px;
    }
}

/* ── Very small phones (≤360px) ── */
@media (max-width: 360px){
    .hero-content{
        bottom:50px;
        padding:0 14px;
    }

    .hero-content h1{
        font-size:clamp(22px, 8vw, 30px);
    }
}
/* ================= STRIP ================= */

.offer-strip{
    width:100%;
    padding:12px 0;
    background:#111;
    font-size:15px;
}

/* ================= COLLECTION ================= */

.collection-section{
    width:100%;
    padding:100px 5%;
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.collection-box{
    width:260px;
    height:340px;
    position:relative;
    border-radius:30px;
    overflow:hidden;
    transition:0.4s;
}

.collection-box:hover{
    transform:translateY(-10px);
}

.collection-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.collection-overlay{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:linear-gradient(transparent,rgba(0,0,0,0.8));
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:25px;
}

.collection-overlay h2{
    font-size:35px;
    margin-bottom:15px;
    font-family:'Cinzel',serif;
}

.collection-buttons{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.collection-buttons button{
    width:100%;
    height:42px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:13px;
    transition:0.4s;
}

.collection-buttons button:hover{
    background:#000;
    color:#fff;
}

/* ================= CATEGORY BOX ================= */

.category-box{
    position:absolute;
    width:100%;
    height:100%;
    background:#000;
    top:0;
    left:-100%;
    transition:0.5s;
    padding:30px;
}

.show-category{
    left:0;
}

.category-box span{
    font-size:35px;
    cursor:pointer;
}

.category-box ul{
    margin-top:40px;
    list-style:none;
}

.category-box ul li{
    margin-bottom:15px;
    cursor:pointer;
}

/* ================= PRODUCTS ================= */
/* ===== LATEST DROP SECTION ===== */

.popular-section{
    background:#efeee8;
    padding:100px 50px;
}

.popular-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:40px;
}

.popular-left h1{
    font-size:90px;
    line-height:0.9;
    color:#111;
    font-weight:900;
    margin-bottom:20px;
}

.popular-left p{
    color:#555;
    font-size:18px;
    line-height:1.8;
    max-width:600px;
}

.shop-btn,
.shop-all-btn{
    height:60px;
    padding:0 35px;
    border:none;
    border-radius:50px;
    background:white;
    color:#111;
    font-size:18px;
    cursor:pointer;
}

.products-container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.product-card{
    background:#f8f8f8;
    border-radius:35px;
    overflow:hidden;
    position:relative;
    transition:.4s;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-image{
    width:100%;
    height:500px;
    object-fit:cover;
    background:#eee;
}

.product-info{
    padding:25px;
}

.product-info h3{
    color:#111;
    font-size:20px;
    margin-bottom:10px;
}

.product-info p{
    color:#666;
    line-height:1.6;
    margin-bottom:25px;
}

.product-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.product-price{
    color:#111;
    font-size:20px;
    font-weight:700;
}

.add-btn{
    width:52px;
    height:52px;
    border-radius:50%;
    border:none;
    font-size:30px;
    cursor:pointer;
    background:#ececec;
}

.badge{
    position:absolute;
    top:18px;
    left:18px;
    background:white;
    padding:12px 18px;
    border-radius:30px;
    color:#111;
    font-weight:600;
    font-size:14px;
}

.bookmark{
    position:absolute;
    top:18px;
    right:18px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#111;
}

@media(max-width:1200px){
    .products-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .popular-top{
        flex-direction:column;
        gap:20px;
    }

    .popular-left h1{
        font-size:55px;
    }

    .products-container{
        grid-template-columns:1fr;
    }

}


/* ================= CAPS ORBIT ================= */

.caps-section{
    background:#efede5;
    padding:120px 50px;
}

.caps-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:40px;
}

.caps-left h1{
    font-size:90px;
    font-weight:900;
    color:#111;
    line-height:.9;
    margin-bottom:20px;
}

.caps-left p{
    color:#555;
    font-size:20px;
    line-height:1.8;
    max-width:700px;
}

.discover-btn{
    height:60px;
    padding:0 35px;
    border:none;
    border-radius:50px;
    background:white;
    font-size:18px;
    cursor:pointer;
}

.caps-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.caps-card{
    background:#f8f8f8;
    border-radius:34px;
    overflow:hidden;
    position:relative;
    transition:.4s;
}

.caps-card:hover{
    transform:translateY(-8px);
}

.caps-image{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
}

.caps-badge{
    position:absolute;
    top:18px;
    left:18px;
    background:white;
    padding:12px 18px;
    border-radius:30px;
    font-weight:600;
    color:#111;
}

.caps-bookmark{
    position:absolute;
    top:18px;
    right:18px;
    width:48px;
    height:48px;
    border-radius:50%;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#111;
}

.caps-bottom-badge,
.caps-status{
    position:absolute;
    left:18px;
    bottom:210px;
    background:white;
    padding:12px 18px;
    border-radius:30px;
    color:#111;
    font-weight:600;
}

.caps-content{
    padding:24px;
}

.caps-content h3{
    color:#111;
    font-size:20px;
    margin-bottom:10px;
}

.caps-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:25px;
}

.caps-price-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.caps-price-row span{
    color:#111;
    font-size:18px;
    font-weight:700;
}

.caps-price-row button{
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#ececec;
    font-size:30px;
    cursor:pointer;
}

@media(max-width:1200px){

    .caps-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .caps-top{
        flex-direction:column;
        gap:20px;
    }

    .caps-left h1{
        font-size:55px;
    }

    .caps-grid{
        grid-template-columns:1fr;
    }

}


/* ================= STYLE STORIES ================= */

.stories-section{
    margin:80px 40px;
    padding:55px;
    border-radius:42px;
    background:
    radial-gradient(circle at top,#151515,#050505);
    overflow:hidden;
}

.stories-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:40px;
}

.stories-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 20px;
    border-radius:40px;
    border:1px solid rgba(255,255,255,.2);
    color:white;
    letter-spacing:3px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:25px;
    background:rgba(255,255,255,.04);
}

.stories-left h1{
    font-size:90px;
    line-height:.9;
    color:white;
    font-weight:900;
    margin-bottom:20px;
}

.stories-left p{
    max-width:650px;
    color:#d4d4d4;
    font-size:18px;
    line-height:1.8;
}

.stories-btn{
    margin-top:150px;
    height:60px;
    padding:0 35px;
    border-radius:50px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.05);
    color:white;
    cursor:pointer;
}

.stories-slider{
    position:relative;
    height:700px;
    display:flex;
    justify-content:center;
    align-items:center;
    touch-action:pan-y;
}

.story-card{
    position:absolute;
    width:620px;
    height:650px;
    border-radius:28px;
    overflow:hidden;
    background:#1a1a1a;
    transition:.5s;
}

.story-bg{
    position:absolute;
    inset:-20px;
    background-size:cover;
    background-position:center;
    filter:blur(35px) brightness(.55);
    transform:scale(1.2);
    z-index:0;
}

.story-card img{
    position:relative;
    z-index:1;
    width:100%;
    height:100%;
    object-fit:contain;
}

.story-card::before{
    content:'';
    position:absolute;
    inset:0;
    z-index:2;
    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,.65)
    );
}

.left-card{
    transform:
    translateX(-220px)
    scale(.9);

    opacity:.25;
    z-index:1;
}

.right-card{
    transform:
    translateX(220px)
    scale(.9);

    opacity:.25;
    z-index:1;
}

.active-card{
    z-index:5;
}

.story-overlay{
    position:absolute;
    left:30px;
    right:30px;
    bottom:30px;
    z-index:5;
}

.story-overlay span{
    display:inline-block;
    padding:12px 20px;
    border-radius:30px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(20px);
    color:white;
    margin-bottom:20px;
}

.story-overlay h2{
    font-size:60px;
    color:white;
    margin-bottom:15px;
    font-weight:900;
}

.story-overlay p{
    color:white;
    font-size:18px;
    max-width:450px;
    line-height:1.8;
    margin-bottom:25px;
}

.story-overlay a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:320px;
    height:60px;
    border-radius:50px;
    text-decoration:none;
    background:white;
    color:#111;
}

.stories-progress{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:30px;
}

.progress-pill{
    width:120px;
    height:18px;
    border-radius:30px;
    background:rgba(255,255,255,.15);
}

.progress-pill.active{
    background:white;
}

@media(max-width:768px){

    .stories-section{
        margin:40px 15px;
        padding:25px;
    }

    .stories-header{
        flex-direction:column;
    }

    .stories-left h1{
        font-size:48px;
    }

    .stories-btn{
        margin-top:20px;
    }

    .stories-slider{
        height:550px;
    }

    .story-card{
        width:320px;
        height:500px;
    }

    .left-card{
        display:none;
    }

    .right-card{
        display:none;
    }

    .story-overlay h2{
        font-size:34px;
    }

    .story-overlay a{
        width:240px;
    }

    .progress-pill{
        width:70px;
    }
}

/* ================= MORE PRODUCTS ================= */

.more-products{
    background:#e9e5df;
    padding:90px 50px;
}

.products-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:40px;
}

.products-head h2{
    font-size:90px;
    line-height:.9;
    font-weight:900;
    color:#000;
    letter-spacing:-3px;
    margin-bottom:20px;
    text-transform:uppercase;
}

.products-head p{
    max-width:650px;
    font-size:20px;
    line-height:1.7;
    color:black;
}

.see-all-btn{
    padding:22px 40px;
    border:1px solid #cfc8bf;
    border-radius:60px;
    text-decoration:none;
    color:#111;
    font-size:24px;
    background:#f5f3ef;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
.products-grid .product-image{
    width:100%;
    height:500px;
    overflow:hidden;
    position:relative;
}

.products-grid .product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.product-card{
    background:#f7f7f7;
    color:#111;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.product-image{
    position:relative;
    height:520px;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.top-tag,
.bottom-tag{
    position:absolute;
    left:18px;
    background:white;
    color:#111;
    padding:12px 18px;
    border-radius:999px;
    font-size:15px;
    font-weight:600;
    z-index:2;
}

.top-tag{
    top:18px;
}

.bottom-tag{
    bottom:18px;
}

.save-btn{
    position:absolute;
    right:18px;
    top:18px;
    width:48px;
    height:48px;
    border-radius:50%;
    background:white;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    z-index:2;
}

.product-info{
    padding:26px 22px;
    background:#fff;
}

.product-info h3{
    font-size:20px;
    font-weight:900;
    letter-spacing:1px;
    margin-bottom:10px;
    text-transform:uppercase;
}

.product-info p{
    color:#666;
    line-height:1.7;
    font-size:16px;
    min-height:70px;
}

.price-row{
    margin-top:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.price-row strong{
    font-size:20px;
    font-weight:900;
}

.price-row button{
    width:54px;
    height:54px;
    border:none;
    border-radius:50%;
    background:#efefef;
    font-size:34px;
    cursor:pointer;
}

@media(max-width:1200px){
    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .more-products{
        padding:60px 20px;
    }

    .products-head{
        flex-direction:column;
        gap:20px;
    }

    .products-head h2{
        font-size:56px;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .product-image{
        height:430px;
    }

    .see-all-btn{
        font-size:18px;
        padding:16px 28px;
    }
}

/* ================= REELS ================= */

.reels-section{
    width:100%;
    padding:80px 5%;
    background-color: #CEEAF9;
}

.reels-section h1{
    text-align:center;
    margin-bottom:50px;
    font-size:45px;
    font-family:'Cinzel',serif;
    color:#111;
}

.reels-container{
    display:flex;
    gap:20px;
    overflow:auto;
   
}

.reel-video{
    width:250px;
    height:420px;
    border-radius:25px;
    object-fit:cover;
}

/* ================= FOOTER ================= */

footer{
    width:100%;
    background:#030200;
    padding:80px 5%;
}

footer h1{
    text-align:center;
    margin-bottom:60px;
    font-size:45px;
    font-family:'Cinzel',serif;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:40px;
}

.footer-box h2{
    margin-bottom:25px;
}

.footer-box p{
    margin-bottom:15px;
    cursor:pointer;
    color:#aaa;
}

.social-icons{
    display:flex;
    gap:20px;
}

.social-icons i{
    font-size:24px;
    cursor:pointer;
}

/* ================= SIDEBARS ================= */

.cart-sidebar,
.wishlist-sidebar{
    width:380px;
    height:100vh;
    position:fixed;
    top:0;
    right:-100%;
    background:#111;
    z-index:99999;
    transition:0.5s;
    padding:30px;
    overflow:auto;
}

.show-side{
    right:0;
}

.side-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:40px;
}

.side-header span{
    font-size:35px;
    cursor:pointer;
}

.side-item{
    display:flex;
    gap:15px;
    margin-bottom:25px;
    align-items:center;
}

.side-item img{
    width:90px;
    height:110px;
    object-fit:cover;
    border-radius:15px;
}

.side-item button{
    margin-left:auto;
    width:35px;
    height:35px;
    border:none;
    cursor:pointer;
}

/* ================= LOGIN ================= */

.login-modal{
    width:100%;
    height:100vh;
    background:rgba(0,0,0,0.7);
    position:fixed;
    top:0;
    left:0;
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.show-login{
    display:flex;
}

.login-box{
    width:400px;
    background:#111;
    padding:40px;
    border-radius:30px;
    position:relative;
}

.close-login{
    position:absolute;
    right:25px;
    top:15px;
    font-size:35px;
    cursor:pointer;
}

.login-box h2{
    margin-bottom:30px;
}

.login-box input{
    width:100%;
    height:50px;
    margin-bottom:20px;
    background:#222;
    border:none;
    outline:none;
    color:#fff;
    padding-left:15px;
}

.login-box button{
    width:100%;
    height:50px;
    border:none;
    cursor:pointer;
}

.login-box p{
    margin-top:20px;
    cursor:pointer;
}

/* ================= PRODUCT MODAL ================= */

.product-modal{
    width:100%;
    height:100vh;
    background:rgba(0,0,0,0.8);
    position:fixed;
    top:0;
    left:0;
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.show-product{
    display:flex;
}

.product-modal-box{
    width:85%;
    max-width:900px;
    background:#111;
    border-radius:25px;
    padding:30px;
    position:relative;
}

.close-product{
    position:absolute;
    right:30px;
    top:20px;
    font-size:40px;
    cursor:pointer;
}

#modalContent{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}

.modal-main-image{
    width:300px;
    height:420px;
    object-fit:cover;
    border-radius:20px;
}

.small-images{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.small-images img{
    width:90px;
    border-radius:15px;
}

.modal-right{
    flex:1;
}
.modal-left{
    width:320px;
}

.modal-right{
    flex:1;
    min-width:300px;
}

.modal-right h2{
    font-size:40px;
    margin-bottom:20px;
}

.modal-right h3{
    margin-bottom:20px;
    color:#aaa;
}

.modal-right p{
    margin-bottom:30px;
    line-height:1.7;
}

.size-box{
    display:flex;
    gap:15px;
    margin-bottom:35px;
}

.size-box button{
    width:50px;
    height:50px;
    border:none;
    cursor:pointer;
}

.modal-buttons{
    display:flex;
    gap:20px;
}

.modal-buttons button{
    width:180px;
    height:50px;
    border:none;
    cursor:pointer;
}

/* ================= EFFECTS ================= */

.blur-effect{
    filter:blur(4px);
    opacity:0.5;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    nav{
        display:none;
    }

    .hero-content h1{
        font-size:42px;
    }

    .search-area{
        width:180px;

    }

    .product-modal-box{
        overflow:auto;
        height:90vh;
    }

}

@media(max-width:600px){

    .hero-content h1{
        font-size:30px;
    }

    .hero-content p{
        font-size:14px;
    }

    .search-area{
        display:none;
    }

    .collection-box{
        width:100%;
    }

    .product-card{
        width:100%;
    }

    .reel-video{
        width:220px;
        height:380px;
    }

    .cart-sidebar,
    .wishlist-sidebar{
        width:100%;
    }

}

/* logo mobile */
@media(max-width:400px){

    .logo img{
        width:100px;
    }
}

.search-box-item img{
width:50px;
height:50px;
object-fit:cover;
border-radius:8px;
}
.search-box-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    color:white;
}

.search-box-item h5{
    color:white;
}

.search-box-item p{
    color:#ccc;
}
/* Mobile Optimize */
@media(max-width:768px){
    #loader img{
        width:80px;
    }
}

/* MOBILE PRODUCT MODAL */

@media(max-width:768px){

    .product-modal-box{

        width:95%;
        height:90vh;

        overflow-y:auto;

        padding:20px;

    }

    #modalContent{

        flex-direction:column;

        gap:20px;

    }

    .modal-main-image{
    width:260px;
    height:350px;
    object-fit:cover;
    border-radius:20px;
}
    .small-images{

        justify-content:center;

        flex-wrap:wrap;

    }
.small-images img{
    width:70px;
    height:90px;
    object-fit:cover;
    border-radius:12px;
}

    .modal-right{

        width:100%;

    }

    .modal-right h2{

        font-size:28px;

    }

    .modal-buttons{

        flex-direction:column;

    }

    .modal-buttons button{

        width:100%;

    }

}

#searchResult{
    position:absolute;
    top:55px;
    left:0;
    width:100%;
    background:#fff;
    display:none;
    z-index:999999;
}
.search-box-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px;
    cursor:pointer;
    border-bottom:1px solid #eee;
    color:#000;
}

.search-box-item:hover{
    background:#f5f5f5;
}

.search-box-item img{
    width:55px;
    height:55px;
    object-fit:cover;
    border-radius:8px;
}

.search-box-item h5{
    color:#000;
    margin:0;
}

.search-box-item p{
    color:#666;
    margin:0;
}



@media(max-width:768px){

    header{
        padding:0 15px;
    }

    .logo img{
        width:90px;
    }

    .search-area{
        width:160px;
    }

    .hero-content h1{
        font-size:38px;
        line-height:1.2;
    }

    .hero-content p{
        font-size:14px;
    }

    #searchResult{
        width:95%;
        left:50%;
        transform:translateX(-50%);
    }

    .modal-main-image{
        width:100%;
        height:auto;
    }

    .small-images{
        justify-content:center;
    }

    .small-images img{
        width:60px;
        height:80px;
    }

    .modal-right h2{
        font-size:26px;
    }

    .modal-buttons button{
        width:100%;
    }

    .products-container{
        gap:20px;
    }

    .product-card{
        width:100%;
        max-width:350px;
    }
}


/* ================= MOBILE PERFECT FIX ================= */

@media (max-width:768px){

    header{
        height:70px;
        padding:0 10px;
    }

    .logo img{
        width:80px;
        max-height:45px;
    }

    .header-right{
        gap:8px;
    }

    .header-icon{
        width:38px;
        height:38px;
    }

    .login-btn{
        font-size:12px;
    }

   .search-area{
    width:120px;
}
    .hero-content{
        width:90%;
    }

    .hero-content h1{
        font-size:30px;
        line-height:1.2;
    }

    .hero-content p{
        font-size:14px;
    }

    .hero-content button{
        width:170px;
        height:48px;
    }

    .collection-section{
        padding:60px 15px;
    }

    .collection-box{
        width:100%;
        max-width:350px;
        height:450px;
    }

    .popular-section{
        padding:60px 15px;
    }

    .popular-section h1{
        font-size:30px;
    }

    .products-container{
        gap:20px;
    }

    .product-card{
        width:100%;
        max-width:350px;
    }

    .product-image{
        height:320px;
    }

    .reels-section{
        padding:60px 15px;
    }

    .reel-video{
        width:200px;
        height:340px;
    }

    footer{
        padding:60px 15px;
    }

    .footer-container{
        flex-direction:column;
        gap:25px;
    }

    .cart-sidebar,
    .wishlist-sidebar{
        width:100%;
    }

    .product-modal-box{
        width:95%;
        height:90vh;
        overflow-y:auto;
        padding:20px;
    }

    #modalContent{
        flex-direction:column;
        align-items:center;
    }

    .modal-left{
        width:100%;
        text-align:center;
    }

    .modal-main-image{
        width:100%;
        max-width:280px;
        height:auto;
        margin:auto;
        display:block;
    }

    .small-images{
        justify-content:center;
        flex-wrap:wrap;
    }

    .small-images img{
        width:60px;
        height:80px;
        object-fit:cover;
    }

    .modal-right{
        width:100%;
        min-width:auto;
    }

    .modal-right h2{
        font-size:26px;
    }

    .modal-buttons{
        flex-direction:column;
    }

    .modal-buttons button{
        width:100%;
    }

    #searchResult{
        width:95%;
        left:50%;
        transform:translateX(-50%);
    }
}

/* EXTRA SMALL MOBILE */

@media (max-width:480px){

    .hero-content h1{
        font-size:24px;
    }

    .collection-overlay h2{
        font-size:28px;
    }

    .product-image{
        height:280px;
    }

    .modal-main-image{
        max-width:240px;
    }

    .reel-video{
        width:180px;
        height:300px;
    }
}
.category-box ul li:hover{
    color:#bbb1f4;
}

body.modal-open header,
body.modal-open section,
body.modal-open footer{
    filter:blur(8px);
}

.size-box button.active-size{
    background:#bbb1f4;
    color:#000;
    font-weight:700;
}

@media(max-width:768px){

.search-area{
    display:block;
    width:120px;
}

.search-area input{
    font-size:12px;
}

}

@media(max-width:768px){

.products-container{
    flex-direction:column;
    align-items:center;
}

.product-card{
    width:100%;
    max-width:340px;
}



.modal-left{
    display:flex;
    flex-direction:column;
    align-items:center;
}
}

.hero-buttons{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.secondary-btn{
    background:#fff !important;
    color:#111 !important;
}

.hero-features{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.feature-card{
    width:280px;
    padding:20px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:25px;
}

.feature-card h3{
    color:white;
    margin-bottom:10px;
}

.feature-card p{
    color:#ddd;
    line-height:1.5;
}
/* ================= MOBILE PERFECT RESPONSIVE ================= */

@media screen and (max-width:768px){

/* HEADER */

header{
    width:96%;
    height:60px;
    top:10px;
    padding:0 12px;
}

.logo{
    padding:8px 15px;
}

.logo img{
    width:65px;
}

.login-btn{
    display:none;
}

.header-right{
    gap:6px;
}

.header-icon{
    width:35px;
    height:35px;
}

.search-area{
    display:none;
}

/* HERO */

.hero{
    min-height:750px;
}

.hero-content{
    left:20px;
    top:90px;
    width:90%;
}

.hero-content h1{
    font-size:34px;
    line-height:1.1;
}

.hero-content p{
    font-size:14px;
    max-width:100%;
}

.hero-buttons{
    flex-direction:column;
    width:100%;
}

.hero-buttons button{
    width:220px;
    height:50px;
}

    .hero-features{
        position:relative !important;
        left:auto;
        right:auto;
        bottom:auto;
        margin-top:10px;
        padding:0 15px;
    }

.hero-features::-webkit-scrollbar{
    display:none;
}

.feature-card{
    min-width:250px;
    width:250px;
}

/* COLLECTION */

.collection-section{
    padding:60px 15px;
    gap:20px;
    flex-wrap:nowrap;
    justify-content:flex-start;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

.collection-section::-webkit-scrollbar{
    display:none;
}

.collection-box{
    flex:0 0 82%;
    width:82%;
    max-width:320px;
    height:420px;
    scroll-snap-align:center;
}

/* Accessories hidden on mobile */
li[data-sub="accessories"]{
    display:none;
}

/* LATEST DROP */

.popular-section{
    padding:60px 15px;
}

.popular-left h1{
    font-size:42px;
}

.popular-left p{
    font-size:14px;
}

.products-container{
    grid-template-columns:1fr;
}

.product-image{
    height:380px;
}

/* CAPS */

.caps-section{
    padding:60px 15px;
}

.caps-left h1{
    font-size:42px;
}

.caps-left p{
    font-size:16px;
}

.caps-grid{
    grid-template-columns:1fr;
}

.caps-image{
    height:380px;
}

/* STORIES */

.stories-section{
    margin:20px 10px;
    padding:20px;
}

.stories-left h1{
    font-size:42px;
}

.stories-left p{
    font-size:14px;
}

.story-card{
    width:100%;
    height:480px;
}

.story-overlay h2{
    font-size:28px;
}

.story-overlay p{
    font-size:14px;
}

.story-overlay a{
    width:100%;
}

/* MORE PRODUCTS */

.more-products{
    padding:60px 15px;
}

.products-head h2{
    font-size:42px;
}

.products-head p{
    font-size:16px;
}

.products-grid{
    grid-template-columns:1fr;
}

.products-grid .product-image{
    height:380px;
}

/* REELS */

.reels-section{
    padding:60px 15px;
}

.reels-section h1{
    font-size:30px;
}

.reel-video{
    width:180px;
    height:300px;
}

/* FOOTER */

footer{
    padding:60px 20px;
}

.footer-container{
    flex-direction:column;
    gap:25px;
}

/* PRODUCT MODAL */

.product-modal-box{
    width:95%;
    height:92vh;
    overflow-y:auto;
}

#modalContent{
    flex-direction:column;
}

.modal-left{
    width:100%;
}

.modal-main-image{
    width:100%;
    height:auto;
}

.modal-right{
    min-width:100%;
}

.modal-right h2{
    font-size:24px;
}

.modal-buttons{
    flex-direction:column;
}

.modal-buttons button{
    width:100%;
}

/* SIDEBAR */

.cart-sidebar,
.wishlist-sidebar{
    width:100%;
}

}

/* EXTRA SMALL DEVICES */

@media screen and (max-width:480px){

.hero-content h1{
    font-size:26px;
}

.hero-content p{
    font-size:13px;
}

.popular-left h1,
.caps-left h1,
.products-head h2,
.stories-left h1{
    font-size:32px;
}

.product-image,
.caps-image,
.products-grid .product-image{
    height:320px;
}

.story-card{
    height:420px;
}

.reel-video{
    width:160px;
    height:260px;
}

.feature-card{
    min-width:220px;
}

}@media screen and (max-width:768px){

    .hero{
        min-height:605px !important;   /* 950 se kam */
    }

    .hero-features{
        position:absolute;
        left:15px;
        right:15px;
        bottom:15px !important;        /* 40 se 15 */
        display:flex;
        overflow-x:auto;
        gap:12px;
        z-index:5;
    }
}
    .feature-card{
        min-width:160px !important;
        width:160px !important;
        min-height:120px;
        padding:15px;
    }

    .feature-card h3{
        font-size:14px;
    }

    .feature-card p{
        font-size:12px;
        line-height:1.4;
    }




@media (max-width:768px){

    html,
    body{
        overflow-x:hidden;
        margin:0;
        padding:0;
    }

    .hero{
        width:100vw !important;
        margin:0 !important;
        padding:0 !important;
    }
.hero,
.hero video,
.hero img{
    max-width:none !important;
}

section{
    margin-left:0 !important;
    margin-right:0 !important;
}
}
html,body{
    margin:0;
    padding:0;
    overflow-x:hidden;
}

.hero{
    margin:0;
    padding:0;
    position:relative;
}
@media(max-width:768px){

.hero-content{
    top:75px !important;
}

.hero-content h1{
    margin-bottom:8px;
}

.hero-content p{
    margin-top:10px;
}

.hero-buttons{
    margin-top:12px;
}
}

/* ================= AUTH (LOGIN / SIGNUP) — UPDATED ================= */
.login-box{
    width: 420px;
    max-width: 92vw;
    background:#0e0e0e;
    padding: 36px 34px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    color:#fff;
}
.auth-tabs{
    display:flex;
    gap:8px;
    background:#1a1a1a;
    padding:6px;
    border-radius:50px;
    margin-bottom:26px;
}
.auth-tab{
    flex:1;
    height:44px;
    background:transparent;
    color:#aaa;
    border:none;
    border-radius:50px;
    font-weight:700;
    letter-spacing:1px;
    font-size:13px;
    cursor:pointer;
    transition:0.3s;
}
.auth-tab.active{
    background:#fff;
    color:#000;
}
.auth-form{ display:none !important; }
.auth-form.active{ display:block !important; }
.auth-form h2{
    margin-bottom:22px;
    font-size:24px;
    font-weight:700;
}
.auth-form input{
    width:100%;
    height:50px;
    margin-bottom:14px;
    background:#1a1a1a;
    border:1px solid #262626;
    outline:none;
    color:#fff;
    padding: 0 16px;
    border-radius:12px;
    font-size:14px;
    transition:0.2s;
}
.auth-form input:focus{
    border-color:#bbb1f4;
    background:#1f1f1f;
}
.auth-form button[type="submit"]{
    width:100%;
    height:52px;
    border:none;
    border-radius:12px;
    background:#fff;
    color:#000;
    font-weight:800;
    letter-spacing:2px;
    font-size:14px;
    cursor:pointer;
    margin-top:6px;
    transition:0.3s;
}
.auth-form button[type="submit"]:hover{
    background:#bbb1f4;
}
.auth-link{
    margin-top:16px;
    text-align:center;
    color:#aaa;
    font-size:13px;
    cursor:pointer;
}
.auth-link:hover{ color:#111; }
.auth-switch{
    margin-top:14px;
    text-align:center;
    color:#777;
    font-size:13px;
}
.auth-switch span{
    color:#bbb1f4;
    cursor:pointer;
    font-weight:600;
}
.auth-switch span:hover{ text-decoration:underline; }

/* ===== Password Eye Toggle ===== */
.pwd-wrap{ position:relative; width:100%; }
.pwd-wrap input{ width:100%; padding-right:42px !important; }
.pwd-eye{
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  color:#888; cursor:pointer; font-size:16px; transition:color .2s;
}
.pwd-eye:hover{ color:#fff; }

/* ===== MOBILE FIRST-PAINT LAYER ISOLATION FIX ===== */
@media (max-width: 768px) {
    /* Keep hero and following sections in separate stacking contexts. */
    .hero {
        position: relative !important;
        isolation: isolate;
        overflow: hidden !important;
        z-index: 0 !important;
    }

    .hero-content,
    .hero-carousel-controls,
    .hero-dots,
    .hero-features {
        z-index: 6 !important;
    }

    .collection-section,
    .popular-section,
    .caps-section,
    .more-products,
    .reels-section,
    footer {
        position: relative !important;
        isolation: isolate;
        z-index: 1 !important;
        margin-top: 0 !important;
        clear: both;
    }

    .products-container,
    .caps-grid,
    .products-grid {
        position: relative;
        z-index: 1;
    }

    .product-card,
    .caps-card,
    .products-grid .product-card {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .top-tag,
    .bottom-tag,
    .save-btn,
    .badge,
    .bookmark,
    .caps-badge,
    .caps-bookmark {
        z-index: 2;
    }
}


/* ==============================
   ARY HEADER — TABLET + MOBILE FIX
   (desktop layout retained, just scaled)
================================ */

/* TABLET */
@media(max-width:1024px){

    header{
        width:94%;
        padding:0 20px;
        gap:10px;
    }

    nav{
        gap:15px;
    }

    nav a{
        font-size:14px;
    }

    .search-area{
        width:220px;
        height:48px;
    }

    .logo img{
        width:75px;
    }

    .header-icon{
        width:40px;
        height:40px;
    }
}
/* MOBILE - clean header, search hidden, icons visible */
@media(max-width:768px){

    header{
        display:flex !important;
        flex-wrap:nowrap !important;
        flex-direction:row !important;
        align-items:center;
        justify-content:space-between;
        width:92%;
        height:auto;
        min-height:62px;
        padding:8px 14px;
        border-radius:30px;
        gap:8px;
    }

    /* logo */
    .logo{
        order:1;
        padding:6px 14px;
        flex-shrink:0;
    }

    .logo img{
        width:70px;
        height:auto;
        display:block;
    }

    /* nav hidden on mobile */
    nav{
        display:none;
    }

    /* hide inline search bar, show only on toggle */
    .search-area{
        display:none;
    }

    .search-area.show-search{
        display:flex !important;
        position:absolute;
        top:75px;
        left:50%;
        transform:translateX(-50%);
        width:90%;
        height:48px;
        z-index:99998;
    }

    .search-area input{
        font-size:13px;
        padding-left:16px;
        padding-right:44px;
    }

    .search-area i{
        right:16px;
        top:14px;
        font-size:15px;
    }

    /* right icons row */
    .header-right{
        order:2;
        gap:8px;
        flex-shrink:0;
        margin-left:auto;
    }

    .login-btn{
        display:none;
    }

    .header-icon{
        width:38px;
        height:38px;
    }

    .header-icon i{
        font-size:15px;
    }

    .header-icon span{
        width:17px;
        height:17px;
        font-size:9px;
        top:-4px;
        right:-4px;
    }
}

@media(max-width:400px){

    .logo img{
        width:60px;
    }

    .header-icon{
        width:34px;
        height:34px;
    }
}
@media(max-width:768px){

    /* show search toggle + login icons on mobile */
    .search-toggle-icon,
    .mobile-login-icon{
        display:flex !important;
    }
}

@media(min-width:769px){

    /* hide mobile-only icons on desktop */
    .search-toggle-icon,
    .mobile-login-icon{
        display:none !important;
    }
}

/* ==============================
   ARY HEADER — FINAL MOBILE FIX
================================ */
@media(max-width:768px){

    header{
        display:flex !important;
        flex-wrap:nowrap !important;
        flex-direction:row !important;
        align-items:center;
        justify-content:space-between;
        width:92%;
        height:auto;
        min-height:62px;
        padding:8px 14px;
        border-radius:30px;
        gap:8px;
    }

    .logo{
        order:1;
        padding:6px 14px;
        flex-shrink:0;
    }

    .logo img{
        width:65px;
        height:auto;
        display:block;
    }

    nav{
        display:none;
    }

    /* inline search hidden, toggled by icon */
    .search-area{
        display:none;
    }

    .search-area.show-search{
        display:flex !important;
        position:absolute;
        top:75px;
        left:50%;
        transform:translateX(-50%);
        width:90%;
        height:48px;
        z-index:99998;
    }

    .search-area input{
        font-size:13px;
        padding-left:16px;
        padding-right:44px;
    }

    .search-area i{
        right:16px;
        top:14px;
        font-size:15px;
    }

    .header-right{
        order:2;
        gap:6px;
        flex-shrink:0;
        margin-left:auto;
    }

    .login-btn{
        display:none;
    }

    /* mobile-only icons */
    .search-toggle-icon,
    .mobile-login-icon{
        display:flex !important;
    }

    .header-icon{
        width:36px;
        height:36px;
    }

    .header-icon i{
        font-size:14px;
    }

    .header-icon span{
        width:16px;
        height:16px;
        font-size:9px;
        top:-4px;
        right:-4px;
    }
}

@media(min-width:769px){

    .search-toggle-icon,
    .mobile-login-icon{
        display:none !important;
    }
}

@media(max-width:400px){

    .logo img{
        width:55px;
    }

    .header-icon{
        width:32px;
        height:32px;
    }
}

/* ==============================
   ARY PRODUCT MODAL — MOBILE FIT FIX
================================ */
@media(max-width:768px){

    .product-modal-box{
        width:92%;
        max-width:420px;
        height:auto;
        max-height:90vh;
        overflow-y:auto;
        padding:18px;
        border-radius:20px;
    }

    #modalContent{
        display:flex;
        flex-direction:column;
        gap:15px;
        width:100%;
    }

    .modal-left{
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .modal-main-image{
        width:100%;
        max-width:100%;
        height:260px;
        object-fit:cover;
        border-radius:16px;
        display:block;
    }

    .small-images{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        margin-top:12px;
    }

    .small-images img{
        width:60px;
        height:75px;
        object-fit:cover;
        border-radius:10px;
    }

    .modal-right{
        width:100%;
        min-width:auto;
        padding:0;
    }

    .modal-right h2{
        font-size:24px;
        margin-bottom:10px;
    }

    .modal-right h3{
        font-size:16px;
        margin-bottom:10px;
    }

    .modal-right p{
        font-size:13px;
        margin-bottom:12px;
        line-height:1.5;
    }

    .size-box{
        flex-wrap:wrap;
        gap:10px;
        margin-bottom:18px;
    }

    .size-box button,
    .size-btn{
        width:46px;
        height:46px;
        font-size:13px;
    }

    .modal-buttons{
        flex-direction:column;
        gap:10px;
        width:100%;
    }

    .modal-buttons button{
        width:100%;
        height:48px;
        font-size:14px;
    }

    .close-product{
        top:10px;
        right:14px;
        font-size:28px;
        z-index:5;
    }
}

@media(max-width:480px){

    .product-modal-box{
        width:94%;
        padding:14px;
    }

    .modal-main-image{
        height:220px;
    }

    .modal-right h2{
        font-size:20px;
    }
}

/* ===== 1. PRODUCT IMAGE 4:5 RATIO (desktop + mobile) ===== */
.product-image,
.products-grid .product-image,
.caps-image {
    aspect-ratio: 4/5;
    height: auto;
}

/* ===== 2. FOOTER LINKS WHITE (keep clickable) ===== */
footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #bbb1f4;
    text-decoration: underline;
}

/* ===== 3. PRODUCT MODAL MOBILE FIX (image not cut off) ===== */
@media(max-width:768px){

    .product-modal-box{
        width:94%;
        max-width:400px;
        height:auto;
        max-height:92vh;
        overflow-y:auto;
        padding:16px;
    }

    #modalContent{
        display:flex;
        flex-direction:column;
        width:100%;
        gap:12px;
    }

    .modal-left{
        width:100%;
    }

    .modal-main-image{
        width:100%;
        height:auto;
        aspect-ratio:4/5;
        object-fit:cover;
        border-radius:16px;
    }

    .small-images img{
        width:55px;
        height:70px;
    }

    .modal-right{
        width:100%;
    }

    .modal-buttons{
        flex-direction:column;
        width:100%;
    }

    .modal-buttons button{
        width:100%;
    }
}

/* ===== FOOTER LINKS — FORCE WHITE EVERYWHERE (desktop + mobile/tablet) ===== */
footer a,
footer a:visited,
.footer-box a,
.footer-box p a {
    color: #fff !important;
    text-decoration: underline;
}

footer a:hover,
.footer-box a:hover {
    color: #bbb1f4 !important;
}

/* ===== PRODUCT IMAGE 4:5 RATIO — OVERRIDE ALL FIXED HEIGHTS ===== */
.product-image,
.products-grid .product-image,
.caps-image,
.products-container .product-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover;
}

.products-grid .product-image img,
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media(max-width:768px){
    .product-image,
    .products-grid .product-image,
    .caps-image{
        height:auto !important;
        aspect-ratio:4/5 !important;
    }
}

@media(max-width:480px){
    .product-image,
    .products-grid .product-image,
    .caps-image{
        height:auto !important;
        aspect-ratio:4/5 !important;
    }
}

/* =========================================
   ARY LUXURY STORE — STYLE ADDITIONS / OVERRIDES
   Add these at the END of your existing style.css
   They override old product card styles with the new unified .ary-card system
========================================= */

/* ===== PRODUCT GRIDS — UNIFIED 4-COLUMN ===== */
.products-container,
.caps-grid,
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

@media (max-width: 1200px) {
  .products-container,
  .caps-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .products-container,
  .caps-grid,
  .products-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 400px) {
  .products-container,
  .caps-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== ARY UNIFIED CARD ===== */
.ary-card {
  background: #f8f8f8;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
}

/* Image wrapper — strict 4:5 ratio */
.ary-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8e8e8;
  flex-shrink: 0;
}
.ary-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ary-card:hover .ary-card__img-wrap img {
  transform: scale(1.05);
}

/* "New" tag — top left */
.ary-card__tag-top-left {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  pointer-events: none;
}

/* Heart wishlist button — top right */
.ary-card__wish {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background .2s, transform .2s, color .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  font-size: 16px;
  color: #888;
}
.ary-card__wish:hover,
.ary-card__wish.wished {
  background: #ff4757;
  color: #fff;
  transform: scale(1.12);
}

/* Badge — bottom left */
.ary-card__tag-bottom-left {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Card body */
.ary-card__body {
  padding: 18px 20px 20px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ary-card__name {
  font-size: 14px;
  font-weight: 900;
  color: #111;
  letter-spacing: .5px;
  margin-bottom: 6px;
  text-transform: uppercase;
  line-height: 1.3;
  /* prevent overflow */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ary-card__desc {
  font-size: 12px;
  color: #666;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ary-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ary-card__price {
  font-size: 16px;
  font-weight: 900;
  color: #111;
  white-space: nowrap;
}
.ary-card__add {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #111;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
  line-height: 1;
}
.ary-card__add:hover {
  background: #444;
  transform: scale(1.1);
}

/* Mobile card adjustments */
@media (max-width: 600px) {
  .ary-card {
    border-radius: 18px;
  }
  .ary-card__body {
    padding: 12px 14px 14px;
  }
  .ary-card__name {
    font-size: 12px;
  }
  .ary-card__desc {
    display: none; /* hide desc on very small screens to save space */
  }
  .ary-card__price {
    font-size: 13px;
  }
  .ary-card__add {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .ary-card__tag-top-left,
  .ary-card__tag-bottom-left {
    font-size: 10px;
    padding: 4px 10px;
    top: 10px;
    left: 10px;
  }
  .ary-card__tag-bottom-left {
    top: auto;
    bottom: 10px;
  }
  .ary-card__wish {
    width: 34px;
    height: 34px;
    font-size: 13px;
    top: 10px;
    right: 10px;
  }
}

/* ===== SEE ALL BUTTON ===== */
.see-all-section-btn {
  display: flex ;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 40px auto 0;
  height: 56px;
  padding: 0 48px;
  border-radius: 50px;
  border: 2px solid #111;
  background: transparent;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background .25s, color .25s, transform .2s;
  text-transform: uppercase;
}
.see-all-section-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

/* Caps section button (dark bg) */
.caps-section .see-all-section-btn {
  border-color: #111;
  color: #111;
}

/* ===== SEARCH RESULT VISIBILITY FIX ===== */
#searchResult {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  display: none;
  z-index: 999999;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}
.search-box-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  transition: background .15s;
}
.search-box-item:last-child { border-bottom: none; }
.search-box-item:hover { background: #f7f7f7; }
.search-box-item img {
  width: 50px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.search-box-item h5 {
  color: #111 !important;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 3px !important;
  line-height: 1.3;
}
.search-box-item p {
  color: #555 !important;
  font-size: 12px;
  margin: 0 !important;
  font-weight: 600;
}

/* ===== POPULAR SECTION HEADING FIX ===== */
.popular-left h1 {
  font-size: 72px !important;
}
.caps-left h1 {
  font-size: 72px !important;
}
.products-head h2 {
  font-size: 72px !important;
}

@media (max-width: 768px) {
  .popular-left h1,
  .caps-left h1,
  .products-head h2 {
    font-size: 44px !important;
  }
}
@media (max-width: 480px) {
  .popular-left h1,
  .caps-left h1,
  .products-head h2 {
    font-size: 32px !important;
  }
}

/* ===== SECTION TOP LAYOUTS ===== */
.popular-top,
.caps-top,
.products-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== FOOTER LINKS ===== */
footer a,
footer a:visited,
.footer-box a,
.footer-box p a {
  color: #fff !important;
  text-decoration: none;
}
footer a:hover,
.footer-box a:hover {
  color: #bbb1f4 !important;
  text-decoration: underline;
}

/* ===== CAPS SECTION BG ===== */
.caps-section {
  background: #efede5;
}

/* ===== PRODUCT MODAL MOBILE ===== */
@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
    gap: 16px !important;
  }
  .modal-main-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/5 !important;
    object-fit: cover;
  }
  .modal-buttons {
    flex-direction: column !important;
  }
  .modal-buttons button {
    width: 100% !important;
  }
  .close-product {
    top: 10px !important;
    right: 14px !important;
    font-size: 28px !important;
  }
}

/* ===== HEADER MOBILE ===== */
@media (max-width: 768px) {
  header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    width: 92%;
    min-height: 62px;
    padding: 8px 14px;
    gap: 8px;
    top: 10px;
  }
  nav { display: none !important; }
  .search-area { display: none !important; }
  .search-area.show-search {
    display: flex !important;
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 48px;
    z-index: 99998;
  }
  .login-btn { display: none !important; }
  .search-toggle-icon,
  .mobile-login-icon { display: flex !important; }
  .header-icon { width: 36px; height: 36px; }
}
@media (min-width: 769px) {
  .search-toggle-icon,
  .mobile-login-icon { display: none !important; }
}

/* ===== SIZE BOX ===== */
.size-box button.active-size {
  background: #bbb1f4;
  color: #000;
  font-weight: 700;
}

/* ===== BLUR EFFECT ===== */
body.modal-open header,
body.modal-open section,
body.modal-open footer {
  filter: blur(8px);
}
/* ===== MOBILE SEARCH RESULT FIX — CENTER ALIGNED ===== */
@media (max-width: 768px) {

  /* Search area jab show ho mobile par */
  .search-area.show-search {
    position: fixed !important;
    top: 80px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92vw !important;
    max-width: 420px !important;
    height: 48px !important;
    z-index: 999999 !important;
    border-radius: 30px !important;
    background: #fff !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.15) !important;
  }

  /* Search result dropdown — center fix */
  #searchResult {
    position: fixed !important;
    top: 136px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92vw !important;
    max-width: 420px !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.18) !important;
    z-index: 999998 !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    display: none;
  }

  .search-box-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fff !important;
  }
  .search-box-item:last-child { border-bottom: none !important; }
  .search-box-item:hover { background: #f7f7f7 !important; }

  .search-box-item img {
    width: 48px !important;
    height: 56px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
  .search-box-item h5 {
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 0 0 3px !important;
    line-height: 1.3 !important;
  }
  .search-box-item p {
    color: #555 !important;
    font-size: 12px !important;
    margin: 0 !important;
    font-weight: 600 !important;
  }
}
/* =============================================
   ARY MODAL OVERRIDE — New premium product modal
   (Overrides all old conflicting modal styles)
   ============================================= */

/* Reset old conflicting styles */
.product-modal {
  width: 100% !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.6) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99998 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}
.product-modal.show-product {
  display: flex !important;
}

/* NEW modal content — 3-column grid, now full screen */
#modalContent {
  display: grid !important;
  grid-template-columns: 90px 1fr 400px !important;
  grid-template-rows: 1fr !important;
  flex-wrap: unset !important;
  gap: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  background: #fff !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: none !important;
  color: #111 !important;
}

/* Kill all old modal-right / modal-left inside #modalContent */
#modalContent .modal-left,
#modalContent .modal-right,
#modalContent .modal-main-image,
#modalContent .small-images,
#modalContent .modal-buttons {
  all: unset !important;
}

/* pm-right must fill its grid cell */
#modalContent .pm-right {
  display: flex !important;
  flex-direction: column !important;
  border-left: 1px solid #eee !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fff !important;
}
#modalContent .pm-scroll {
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 12px 26px 16px !important;
}
#modalContent .pm-footer {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 26px !important;
  border-top: 1px solid #eee !important;
  flex-shrink: 0 !important;
  background: #fff !important;
}

/* close button reset */
#modalContent + .close-product,
.modal-content .close-product {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  font-size: 15px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,.06) !important;
  border: none !important;
  cursor: pointer !important;
  color: #333 !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* MOBILE override */
@media (max-width: 768px) {
  #modalContent {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
  #modalContent .pm-right {
    flex: 1 !important;
    min-height: 0 !important;
    border-left: none !important;
    border-top: 1px solid #eee !important;
  }
  #modalContent .pm-scroll {
    padding: 8px 16px 10px !important;
  }
  #modalContent .pm-footer {
    padding: 10px 14px !important;
    order: 4 !important;
  }
}
/* ================================================================
   HERO SECTION — MOBILE CENTERED FIX (final override)
   Centers the hero heading/description/button on mobile and keeps
   everything responsive without overflow or clipping.
   ================================================================ */
@media screen and (max-width: 768px) {

  .hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    height: auto !important;
    padding: 100px 20px 40px !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    z-index: 5 !important;
  }

  .hero-content h1 {
    font-size: clamp(32px, 8.5vw, 46px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 14px !important;
    text-align: center !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
  }

  .hero-content p {
    font-size: clamp(15px, 4vw, 18px) !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
    color: rgba(255,255,255,.85) !important;
  }

  .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 auto !important;
  }

  .hero-buttons button,
  .hero-content button {
    width: auto !important;
    min-width: 160px !important;
    height: 50px !important;
    padding: 0 30px !important;
  }
}

/* Extra small phones */
@media screen and (max-width: 380px) {
  .hero-content {
    max-width: 92% !important;
  }

  .hero-content h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .hero-content p {
    font-size: 14px !important;
    max-width: 95% !important;
  }
}

/* ================================================================
   COLLECTION SECTION (MENS/WOMENS) — MOBILE ONLY FIX
   Hides the "CATEGORIES" button and nudges "VIEW COLLECTION" down.
   Desktop remains unchanged.
   ================================================================ */
@media screen and (max-width: 768px) {

  .collection-buttons button:nth-child(2) {
    display: none !important;
  }

  .collection-buttons {
    margin-top: 25px !important;
  }

  .collection-buttons button:first-child {
    margin-top: 10px !important;
  }
}

/* ================================================================
   COLLECTION BOXES — MOBILE SIZE MATCH DESKTOP (final override)
   Makes mobile collection boxes smaller, same proportions as desktop,
   instead of stretching near full width.
   ================================================================ */
@media screen and (max-width: 768px) {

  .collection-section {
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    gap: 20px !important;
    padding: 50px 15px !important;
  }

  .collection-box {
    flex: 0 0 auto !important;
    width: 220px !important;
    max-width: 220px !important;
    height: 290px !important;
    scroll-snap-align: none !important;
  }

  .collection-overlay h2 {
    font-size: 26px !important;
  }

  .collection-buttons button {
    height: 36px !important;
    font-size: 12px !important;
  }
}

@media screen and (max-width: 480px) {
  .collection-box {
    width: 45% !important;
    max-width: 170px !important;
    height: 240px !important;
  }

  .collection-overlay {
    padding: 15px !important;
  }

  .collection-overlay h2 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .collection-buttons button {
    height: 32px !important;
    font-size: 10.5px !important;
  }
}
/* ================================================================
   FINAL MOBILE FIX — COLLECTION SECTION (MENS / WOMENS)
   Replaces the old px-based breakpoints (which had a gap zone around
   480–600px causing the second box to overflow/cut off) with a fluid
   2-column grid that always fits the screen exactly, on every device
   width, plus nicer proportions and typography.
   ================================================================ */
@media screen and (max-width: 768px) {

  .collection-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
    align-items: stretch !important;
    overflow-x: visible !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    gap: 14px !important;
    padding: 46px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .collection-box {
    flex: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    scroll-snap-align: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.35) !important;
  }

  .collection-overlay {
    padding: clamp(12px, 4vw, 20px) !important;
    background: linear-gradient(transparent 35%, rgba(0,0,0,.88)) !important;
  }

  .collection-overlay h2 {
    font-size: clamp(17px, 5.2vw, 25px) !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
  }

  .collection-buttons {
    gap: 8px !important;
  }

  .collection-buttons button {
    height: 38px !important;
    font-size: clamp(10px, 2.6vw, 12px) !important;
    border-radius: 6px !important;
    letter-spacing: 0.4px !important;
  }

  .collection-buttons button:nth-child(2) {
    display: none !important;
  }
}

/* Extra small phones: keep same grid, just tighten spacing a touch */
@media screen and (max-width: 360px) {
  .collection-section {
    gap: 10px !important;
    padding: 40px 12px !important;
  }
  .collection-overlay {
    padding: 10px !important;
  }
}

/* ================================================================
   FINAL MOBILE FIX — OFFER STRIP (MARQUEE)
   Slightly smaller, better-spaced text so it doesn't feel cramped
   against the screen edges on small phones.
   ================================================================ */
@media screen and (max-width: 768px) {
  .offer-strip {
    padding: 10px 0 !important;
  }
  .offer-strip marquee {
    font-size: 12.5px !important;
    letter-spacing: 0.6px !important;
    font-weight: 600 !important;
  }
}

/* ================================================================
   HEADER — FINAL MOBILE OPTIMIZATION + ORDERS ACTION
   Keeps all customer actions visible without letting the pill header
   overflow on small phones.
   ================================================================ */
.orders-header-icon {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 769px) {
  .orders-header-icon {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  header,
  .site-header {
    width: calc(100% - 20px) !important;
    min-height: 58px !important;
    height: 58px !important;
    top: 10px !important;
    padding: 7px 10px !important;
    gap: 6px !important;
    border-radius: 999px !important;
  }

  .logo,
  .site-header .logo {
    min-width: 0 !important;
    padding: 4px 6px !important;
  }

  .logo img,
  .site-header .logo img {
    width: clamp(50px, 17vw, 68px) !important;
    max-height: 38px !important;
    object-fit: contain !important;
  }

  .header-right,
  .site-header .header-right {
    min-width: 0 !important;
    gap: 5px !important;
    flex: 0 1 auto !important;
  }

  .header-icon,
  .site-header .header-icon {
    width: clamp(31px, 9.8vw, 36px) !important;
    height: clamp(31px, 9.8vw, 36px) !important;
    flex: 0 0 clamp(31px, 9.8vw, 36px) !important;
  }

  .header-icon i,
  .site-header .header-icon i {
    font-size: clamp(12px, 3.6vw, 14px) !important;
  }

  .header-icon span,
  .site-header .header-icon span {
    width: 15px !important;
    height: 15px !important;
    font-size: 9px !important;
  }

  .orders-header-icon {
    display: flex !important;
  }
}

/* ===== PAGINATION + SKELETONS (lazy / paged rendering) =====
   Used by renderPagedProducts / renderShopPagedGrid.
   Keep these at the bottom so they win the cascade over older rules. */

/* The IO sentinel — must occupy zero height so the surrounding
   flex/grid layout isn't disturbed. Width 1px so it still has a
   layout box that IntersectionObserver can fire on. */
.ary-pager-sentinel {
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  opacity: 0;
  grid-column: 1 / -1;
}

/* Skeleton block — soft shimmer */
@keyframes aryShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.ary-skel {
  display: block;
  background-color: #ececec;
  background-image: linear-gradient(
    90deg,
    rgba(236,236,236,0)   0%,
    rgba(255,255,255,.85) 50%,
    rgba(236,236,236,0)  100%
  );
  background-size: 800px 100%;
  background-repeat: no-repeat;
  animation: aryShimmer 1.4s linear infinite;
  border-radius: 8px;
}
.ary-skel--img  { width: 100%; height: 100%; border-radius: 0; }
.ary-skel--line { height: 12px; margin-top: 10px; }
.ary-skel--name  { width: 70%; height: 16px; }
.ary-skel--desc  { width: 95%; }
.ary-skel--price { width: 40%; height: 18px; margin-top: 14px; }

/* Skeleton card — keep the same 4:5 image box so layout doesn't jump. */
.ary-card--skeleton {
  cursor: default;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}
.ary-card--skeleton:hover { transform: none !important; }
.ary-card--skeleton .ary-card__body { padding: 16px; }

/* Respect users who prefer reduced motion — kill the shimmer */
@media (prefers-reduced-motion: reduce) {
  .ary-skel { animation: none; background-image: none; }
}

/* ===== Site announcement bar (Admin → Settings → Announcement Banner) ===== */
.site-announcement-bar {
  width: 100%;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  position: relative;
  z-index: 60;
}
.site-announcement-bar[hidden] { display: none !important; }
