/* =========================================================
   AYREN — MODERN FASHION STORE
   Clean premium responsive style
   HTML / JS structure preserved
   ========================================================= */

:root{
    --bg:#f7f3ef;
    --surface:#fffdfb;
    --surface-soft:#f2ebe7;
    --surface-pink:#ead7d5;
    --ink:#171414;
    --muted:#756a66;
    --line:rgba(23,20,20,.10);
    --accent:#9d7776;
    --accent-dark:#765453;
    --champagne:#c9ad8a;
    --white:#fff;
    --shadow:0 18px 50px rgba(38,29,26,.08);
    --shadow-soft:0 8px 28px rgba(38,29,26,.07);
    --radius-sm:12px;
    --radius-md:18px;
    --radius-lg:28px;
    --ease:cubic-bezier(.22,.61,.36,1);
}

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:Arial, Helvetica, sans-serif;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

button,
a,
input,
textarea,
select{
    font:inherit;
}

button,
a{
    -webkit-tap-highlight-color:transparent;
}

button{
    cursor:pointer;
}

img{
    max-width:100%;
}

::selection{
    background:#d8c0bd;
    color:#171414;
}

/* =========================================================
   HEADER
   ========================================================= */

header{
    position:relative;
    z-index:10001;
    width:100%;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 30px;
    background:rgba(250,247,244,.88);
    border-bottom:1px solid rgba(23,20,20,.08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    overflow:visible;
}

header > *{
    position:relative;
    z-index:3;
}

.brand-link{
    display:flex;
    align-items:center;
    height:100%;
    text-decoration:none;
    flex-shrink:0;
}

.brand-link img,
header img[alt="AYREN"]{
    width:132px;
    height:auto;
    display:block;
    object-fit:contain;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    transition:transform .3s var(--ease);
}

.brand-link:hover img{
    transform:scale(1.025);
}

/* =========================================================
   TOP SEARCH
   Works with the actual HTML wrapper:
   .top-search-field-wrap
   ========================================================= */

.top-search,
.top-search-field-wrap{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:min(360px,34vw);
    z-index:20;
}

.top-search-field-wrap{
    display:flex;
    align-items:center;
}

.top-search-box{
    width:100%;
    height:42px;
    padding:0 17px;
    border:1px solid rgba(23,20,20,.10);
    border-radius:999px;
    outline:0;
    background:rgba(255,255,255,.70);
    color:var(--ink);
    font-size:13px;
    box-shadow:0 5px 20px rgba(35,25,22,.04);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.top-search-box::placeholder{
    color:#8a7d78;
}

.top-search-box:hover{
    background:rgba(255,255,255,.88);
}

.top-search-box:focus{
    background:#fff;
    border-color:rgba(118,84,83,.38);
    box-shadow:0 8px 28px rgba(38,29,26,.09);
}

#top-search-results{
    position:absolute;
    top:50px;
    left:0;
    width:100%;
    max-height:280px;
    overflow-y:auto;
    padding:6px;
    background:rgba(255,253,251,.98);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:var(--shadow);
    z-index:100;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

#top-search-results:empty{
    display:none;
}

/* Generic generated search result items */
#top-search-results > *,
#search-results > *{
    transition:background .2s ease;
}

#top-search-results > *:hover,
#search-results > *:hover{
    background:#f4ece9;
}

/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions{
    display:flex;
    align-items:center;
    gap:7px;
    margin-left:auto;
    flex-shrink:0;
    position:relative;
    z-index:5;
}

#language-button,
.header-action-button,
.menu-button{
    border:0;
    background:transparent;
    color:var(--ink);
}

#language-button{
    min-width:64px;
    height:40px;
    padding:0 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.5px;
    transition:background .25s ease,transform .25s ease;
}

#language-button:hover{
    background:rgba(23,20,20,.06);
    transform:translateY(-1px);
}

.menu-button{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:23px;
    line-height:1;
    color:var(--ink);
    position:relative;
    z-index:100001;
    transition:background .25s ease,transform .25s ease;
}

.menu-button:hover{
    background:rgba(23,20,20,.07);
    transform:rotate(2deg);
}

#cart-button{
    position:static!important;
    width:auto!important;
    min-width:42px;
    height:42px!important;
    padding:0 8px!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:var(--ink)!important;
    font-size:19px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    box-shadow:none!important;
    transition:background .25s ease,transform .25s ease;
}

#cart-button:hover{
    background:rgba(23,20,20,.07)!important;
    transform:translateY(-1px);
}

#cart-count{
    min-width:16px;
    font-size:10px;
    font-weight:700;
}

/* =========================================================
   HEADER WHEN MENU IS OPEN
   ========================================================= */

body.menu-is-open header::after{
    content:"";
    position:absolute;
    inset:0 0 0 auto;
    width:330px;
    background:url("./menu3d.png.jpg") center top/cover no-repeat;
    opacity:.12;
    pointer-events:none;
    z-index:0;
}

body.menu-is-open header > *{
    position:relative;
    z-index:2;
}

/* =========================================================
   SIDE MENU
   ========================================================= */

#sidemenu{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto;
    width:350px!important;
    height:100dvh!important;
    max-height:100dvh;
    padding:110px 24px 28px!important;
    margin:0!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:11px!important;
    overflow:hidden!important;
    background:#e7d8d4!important;
    border:0!important;
    box-shadow:-24px 0 70px rgba(26,19,17,.16);
    z-index:99999!important;
}

#sidemenu.active{
    display:flex!important;
    animation:ayrenMenuIn .42s var(--ease);
}

@keyframes ayrenMenuIn{
    from{transform:translateX(18px);opacity:0}
    to{transform:translateX(0);opacity:1}
}

#sidemenu .menu-image{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    opacity:.34;
    filter:saturate(.72) contrast(.94);
    z-index:0!important;
    pointer-events:none!important;
}

#sidemenu::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        linear-gradient(180deg,
            rgba(255,251,249,.68) 0%,
            rgba(246,234,230,.48) 48%,
            rgba(224,204,199,.66) 100%);
}

#sidemenu .menu-content{
    position:relative!important;
    z-index:2!important;
    width:100%;
    height:100%;
    display:flex!important;
    flex-direction:column!important;
    gap:11px!important;
}

/* Support both direct children and a possible .menu-content wrapper */
#sidemenu > a,
#sidemenu > button,
#sidemenu .menu-content a,
#sidemenu .menu-content button{
    position:relative!important;
    z-index:3!important;
    width:100%!important;
    min-height:52px!important;
    flex-shrink:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:12px 18px!important;
    border:1px solid rgba(23,20,20,.08)!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.48)!important;
    color:#191515!important;
    text-decoration:none!important;
    font-size:15px!important;
    font-weight:600!important;
    letter-spacing:.3px;
    line-height:1.25;
    text-align:center;
    pointer-events:auto!important;
    box-shadow:0 5px 18px rgba(38,29,26,.04);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transition:
        background .25s ease,
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

#sidemenu > a:hover,
#sidemenu > button:hover,
#sidemenu .menu-content a:hover,
#sidemenu .menu-content button:hover{
    background:rgba(255,255,255,.78)!important;
    border-color:rgba(118,84,83,.18)!important;
    transform:translateX(-4px);
    box-shadow:0 10px 25px rgba(38,29,26,.08);
}

#main-menu-button{
    position:relative!important;
    z-index:100001!important;
    pointer-events:auto!important;
}

#close-cart{
    position:relative!important;
    z-index:100002!important;
    pointer-events:auto!important;
}

/* Preserve intended menu order if these IDs are present */
#sidemenu #search-button{order:1}
#sidemenu #menu-new-arrivals{order:2}
#sidemenu #menu-our-pieces{order:3}
#sidemenu #menu-collections{order:4}
#sidemenu #menu-about-us{order:5}
#sidemenu #menu-contact{order:6}

/* =========================================================
   HERO
   ========================================================= */

#ayren-hero{
    position:relative;
    width:100%;
    min-height:610px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    isolation:isolate;
    background:
        radial-gradient(circle at 17% 25%,rgba(255,255,255,.92) 0%,rgba(255,255,255,0) 34%),
        radial-gradient(circle at 82% 19%,rgba(231,197,201,.72) 0%,rgba(231,197,201,0) 35%),
        radial-gradient(circle at 70% 82%,rgba(203,173,138,.18) 0%,rgba(203,173,138,0) 35%),
        linear-gradient(135deg,#eadbd6 0%,#f4e7e2 48%,#d9c4bf 100%);
}

#ayren-hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(255,255,255,.16),transparent 42%,rgba(88,63,57,.07));
}

.ayren-hero-content{
    position:relative;
    z-index:5;
    width:min(820px,92%);
    padding:70px 25px;
}

.ayren-eyebrow{
    margin-bottom:20px;
    font-size:11px;
    letter-spacing:5px;
    text-transform:uppercase;
    color:#6f5a55;
    font-weight:700;
}

.ayren-hero-content h1{
    margin-bottom:22px;
    font-size:clamp(46px,6vw,78px);
    line-height:.98;
    letter-spacing:-2px;
    font-weight:700;
    color:#171414;
}

.ayren-description{
    max-width:590px;
    margin:0 auto 34px;
    font-size:17px;
    line-height:1.8;
    color:#5e504b;
}

.ayren-shop-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:160px;
    padding:14px 30px;
    border:1px solid #171414;
    border-radius:999px;
    background:#171414;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    box-shadow:0 12px 30px rgba(23,20,20,.15);
    transition:
        transform .3s var(--ease),
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.ayren-shop-button:hover{
    transform:translateY(-3px);
    background:transparent;
    color:#171414;
    box-shadow:0 14px 34px rgba(23,20,20,.08);
}

.ayren-shape{
    position:absolute;
    border-radius:50%;
    filter:blur(2px);
    opacity:.72;
    z-index:2;
    pointer-events:none;
}

.ayren-shape-one{
    width:390px;
    height:390px;
    right:-105px;
    top:55px;
    background:
        radial-gradient(circle at 34% 34%,#d0a5aa 0%,#e6c8c8 54%,rgba(230,200,200,0) 72%);
    transform:rotate(-20deg);
}

.ayren-shape-two{
    width:320px;
    height:320px;
    left:-115px;
    bottom:-105px;
    background:
        radial-gradient(circle at 40% 40%,#dfbfc1 0%,#c9b09f 55%,rgba(201,176,159,0) 73%);
}

/* =========================================================
   SHARED SECTION STYLING
   ========================================================= */

#collections,
#new-arrivals,
#products,
#about-us,
#contact-section{
    position:relative;
}

#collections{
    padding:100px 30px;
    background:#f6efeb;
}

#new-arrivals{
    padding:105px 30px;
    text-align:center;
    background:#fcf9f7;
}

#products{
    padding:105px 30px;
    background:#fff;
}

.section-title,
.products-title{
    text-align:center;
    margin:0 auto 48px;
}

.section-title p,
.products-title p,
.section-eyebrow{
    margin-bottom:12px;
    font-size:11px;
    letter-spacing:4px;
    text-transform:uppercase;
    color:#91726d;
    font-weight:700;
}

.section-title h2,
.products-title h2{
    font-size:clamp(30px,4vw,43px);
    line-height:1.08;
    letter-spacing:-1px;
    color:#171414;
}

/* =========================================================
   COLLECTIONS
   ========================================================= */

.collections-grid{
    width:min(1120px,100%);
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.collection-card{
    position:relative;
    min-height:300px;
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    overflow:hidden;
    text-decoration:none;
    color:#171414;
    border:1px solid rgba(23,20,20,.07);
    border-radius:24px;
    background:
        radial-gradient(circle at 80% 15%,rgba(255,255,255,.62),transparent 32%),
        linear-gradient(145deg,#d6c1ba,#f7ece8);
    box-shadow:var(--shadow-soft);
    isolation:isolate;
    transition:
        transform .4s var(--ease),
        box-shadow .4s var(--ease);
}

.collection-card::before{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    right:-65px;
    top:-65px;
    border-radius:50%;
    background:rgba(255,255,255,.30);
    z-index:-1;
}

.collection-card:hover{
    transform:translateY(-7px);
    box-shadow:0 22px 48px rgba(38,29,26,.12);
}

.collection-card h3{
    margin-bottom:9px;
    font-size:24px;
    letter-spacing:-.4px;
}

.collection-card p{
    max-width:300px;
    margin-bottom:14px;
    line-height:1.65;
    color:#665954;
    font-size:14px;
}

.collection-card span{
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* =========================================================
   NEW ARRIVALS
   ========================================================= */

.new-arrivals-content{
    width:min(650px,100%);
    margin:0 auto;
}

.new-arrivals-content p{
    margin-bottom:28px;
    color:#6b5e59;
    line-height:1.8;
    font-size:15px;
}

.new-arrivals-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:155px;
    padding:13px 27px;
    border:1px solid #171414;
    border-radius:999px;
    background:#171414;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    transition:transform .25s ease,background .25s ease,color .25s ease;
}

.new-arrivals-button:hover{
    transform:translateY(-2px);
    background:transparent;
    color:#171414;
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.products-grid{
    width:min(1240px,100%);
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.product-card{
    position:relative;
    overflow:hidden;
    text-align:center;
    padding-bottom:24px;
    background:#fff;
    border:1px solid rgba(23,20,20,.075);
    border-radius:20px;
    box-shadow:0 8px 28px rgba(38,29,26,.055);
    transition:
        transform .4s var(--ease),
        box-shadow .4s var(--ease);
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 22px 45px rgba(38,29,26,.11);
}

.product-card img{
    width:100%;
    height:330px;
    display:block;
    object-fit:cover;
    background:#eee5e1;
    transition:transform .6s var(--ease);
}

.product-card:hover img{
    transform:scale(1.035);
}

.product-card h3{
    margin:19px 15px 0;
    font-size:17px;
    line-height:1.4;
    color:#211c1a;
    font-weight:600;
}

.product-card .price{
    margin:9px 0 17px;
    font-size:14px;
    font-weight:700;
    color:#856661;
}

.product-card button{
    min-width:135px;
    border:1px solid #171414;
    padding:11px 22px;
    border-radius:999px;
    background:#171414;
    color:#fff;
    cursor:pointer;
    font-size:12px;
    font-weight:700;
    letter-spacing:.3px;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.product-card button:hover{
    transform:translateY(-2px);
    background:transparent;
    color:#171414;
}

/* =========================================================
   CART
   ========================================================= */

#cart-box{
    position:fixed;
    top:0;
    right:-410px;
    width:390px;
    max-width:92vw;
    height:100dvh;
    padding:27px;
    display:flex;
    flex-direction:column;
    background:rgba(255,253,251,.98);
    border-left:1px solid var(--line);
    box-shadow:-20px 0 60px rgba(25,19,17,.14);
    z-index:100001;
    transition:right .4s var(--ease);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

#cart-box.active{
    right:0;
}

.cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:24px;
}

.cart-header h3{
    font-size:23px;
    letter-spacing:-.4px;
}

#close-cart{
    width:38px;
    height:38px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#f7f1ee;
    color:var(--ink);
    font-size:23px;
    line-height:1;
    cursor:pointer;
    transition:transform .25s ease,background .25s ease;
}

#close-cart:hover{
    transform:rotate(90deg);
    background:#eee1dc;
}

#cart-items{
    flex:1;
    overflow-y:auto;
    padding-right:3px;
}

.cart-item{
    padding:17px 0;
    border-bottom:1px solid #eee5e1;
}

.cart-item-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:9px;
}

.cart-item-header h4{
    margin:0;
    min-width:0;
    font-size:15px;
    line-height:1.4;
    color:#211c1a;
}

.cart-item p{
    margin:4px 0;
    color:#665954;
    font-size:13px;
}

.cart-remove,
.remove-button{
    border:0;
    background:transparent;
    color:#9b8d88;
    font-size:12px;
    cursor:pointer;
    padding:3px;
    transition:color .2s ease;
}

.cart-remove:hover,
.remove-button:hover{
    color:#171414;
}

.cart-quantity,
.cart-item-controls{
    display:flex;
    align-items:center;
    gap:10px;
    margin:11px 0;
}

.plus-button,
.minus-button,
.quantity-button{
    width:30px;
    height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e4d7d2;
    border-radius:50%;
    background:#f5eeeb;
    color:#25201e;
    font-size:16px;
    cursor:pointer;
    transition:background .2s ease,transform .2s ease;
}

.plus-button:hover,
.minus-button:hover,
.quantity-button:hover{
    background:#eadbd6;
    transform:translateY(-1px);
}

.cart-quantity span,
.quantity-number{
    min-width:22px;
    text-align:center;
    font-weight:700;
    font-size:13px;
}

.cart-item-price{
    margin-top:8px;
    color:#80605b;
    font-size:13px;
    font-weight:700;
}

.cart-footer{
    padding-top:20px;
    margin-top:10px;
    border-top:1px solid #e8ddd8;
}

#checkout-button{
    width:100%;
    margin-top:15px;
    padding:14px;
    border:1px solid #171414;
    border-radius:999px;
    background:#171414;
    color:#fff;
    cursor:pointer;
    font-size:13px;
    font-weight:700;
    transition:transform .25s ease,background .25s ease,color .25s ease;
}

#checkout-button:hover{
    transform:translateY(-2px);
    background:transparent;
    color:#171414;
}

.empty-cart{
    padding:30px 5px;
    color:#8a7d78;
    text-align:center;
}

/* =========================================================
   SEARCH POPUP
   ========================================================= */

#search-box{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:500px;
    max-width:92vw;
    max-height:88vh;
    overflow:auto;
    padding:28px;
    background:rgba(255,253,251,.98);
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:0 30px 90px rgba(22,16,14,.20);
    z-index:14000;
    display:none;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

#search-box.active{
    display:block;
    animation:ayrenModalIn .3s var(--ease);
}

@keyframes ayrenModalIn{
    from{opacity:0;transform:translate(-50%,-47%) scale(.98)}
    to{opacity:1;transform:translate(-50%,-50%) scale(1)}
}

.search-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:20px;
}

.search-header h3{
    margin:0;
    font-size:23px;
}

#close-search{
    width:38px;
    height:38px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#f6efeb;
    color:var(--ink);
    font-size:25px;
    line-height:1;
    cursor:pointer;
}

#search-input{
    width:100%;
    padding:14px 15px;
    border:1px solid #dfd2cd;
    border-radius:13px;
    outline:0;
    background:#fff;
    color:var(--ink);
    font-size:14px;
    transition:border-color .25s ease,box-shadow .25s ease;
}

#search-input:focus{
    border-color:#b89a95;
    box-shadow:0 0 0 4px rgba(184,154,149,.10);
}

#search-results{
    margin-top:14px;
    max-height:300px;
    overflow-y:auto;
    border-radius:12px;
}

#search-result-message{
    margin-top:14px;
    color:#80645b;
    font-size:13px;
}

/* =========================================================
   CHECKOUT
   ========================================================= */

#checkout-box{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:500px;
    max-width:92vw;
    max-height:90vh;
    overflow-y:auto;
    padding:30px;
    background:rgba(255,253,251,.99);
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:0 30px 90px rgba(22,16,14,.20);
    z-index:11000;
    display:none;
}

#checkout-box.active{
    display:block;
    animation:ayrenModalIn .3s var(--ease);
}

.checkout-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:25px;
}

.checkout-header h3{
    margin:0;
    font-size:25px;
}

#close-checkout{
    width:38px;
    height:38px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#f6efeb;
    font-size:25px;
    cursor:pointer;
}

#checkout-form{
    display:flex;
    flex-direction:column;
}

#checkout-form label{
    margin-bottom:7px;
    font-size:12px;
    font-weight:700;
    color:#514641;
}

#checkout-form input,
#checkout-form textarea,
#shipping-area{
    width:100%;
    margin-bottom:17px;
    padding:13px 14px;
    border:1px solid #dfd2cd;
    border-radius:12px;
    background:#fff;
    color:#211c1a;
    font-size:14px;
    outline:0;
    transition:border-color .25s ease,box-shadow .25s ease;
}

#checkout-form input:focus,
#checkout-form textarea:focus,
#shipping-area:focus{
    border-color:#b89a95;
    box-shadow:0 0 0 4px rgba(184,154,149,.09);
}

#checkout-form textarea{
    min-height:95px;
    resize:vertical;
}

#shipping-area{
    cursor:pointer;
}

.checkout-summary{
    margin:5px 0 20px;
    padding:17px;
    background:#f4ece8;
    border:1px solid rgba(23,20,20,.05);
    border-radius:15px;
    text-align:center;
}

.shipping-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #e5d9d4;
    font-size:13px;
}

.checkout-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.place-order-button,
.whatsapp-button,
.email-button{
    width:100%;
    padding:14px;
    border:1px solid transparent;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:transform .25s ease,background .25s ease,color .25s ease;
}

.place-order-button{
    background:#171414;
    color:#fff;
}

.place-order-button:hover{
    transform:translateY(-2px);
    background:#3a2d2b;
}

.email-button{
    background:#80645b;
    color:#fff;
}

.whatsapp-button{
    background:#eee1dc;
    color:#2b211f;
}

.place-order-button:hover,
.whatsapp-button:hover,
.email-button:hover{
    transform:translateY(-2px);
}

/* =========================================================
   PAYMENT
   ========================================================= */

.payment-method{
    margin-top:5px;
    margin-bottom:22px;
}

.payment-method h4{
    margin-bottom:11px;
    font-size:15px;
    color:#443b37;
}

.payment-option{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    padding:13px 14px;
    margin-bottom:9px;
    border:1px solid #dfd2cd;
    border-radius:13px;
    background:#fff;
    cursor:pointer;
    transition:border-color .2s ease,background .2s ease;
}

.payment-option:hover{
    border-color:#b89a95;
    background:#fdf8f6;
}

.payment-option input{
    width:auto!important;
    margin:0!important;
}

.payment-option span{
    font-size:14px;
    color:#333;
}

.card-payment-note{
    margin-top:5px;
    padding:10px 12px;
    border-radius:10px;
    background:#f5ece8;
    color:#80645b;
    font-size:12px;
    line-height:1.6;
}

/* =========================================================
   ORDER CONFIRMATION
   ========================================================= */

#order-confirmation{
    position:fixed;
    inset:0;
    z-index:15000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(23,19,18,.48);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

#order-confirmation.active{
    display:flex;
}

.confirmation-content{
    width:580px;
    max-width:100%;
    max-height:90vh;
    overflow-y:auto;
    padding:35px;
    background:#fffdfb;
    border:1px solid var(--line);
    border-radius:26px;
    box-shadow:0 30px 90px rgba(20,14,12,.20);
}

.confirmation-icon{
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 16px;
    border-radius:50%;
    background:#eadbd6;
    color:#5f4b44;
    font-size:27px;
    font-weight:700;
}

.confirmation-content > h2{
    text-align:center;
    margin-bottom:8px;
    font-size:30px;
    letter-spacing:-.7px;
}

.confirmation-message{
    text-align:center;
    color:#766862;
    margin-bottom:25px;
    line-height:1.6;
}

.order-number-box{
    padding:16px;
    margin-bottom:23px;
    text-align:center;
    background:#f5ece8;
    border-radius:14px;
}

.order-number-box span{
    display:block;
    margin-bottom:6px;
    font-size:11px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#80645b;
}

.order-number-box strong{
    font-size:19px;
    letter-spacing:1px;
}

.confirmation-details,
.confirmed-products{
    padding:18px;
    margin-bottom:17px;
    background:#fff;
    border:1px solid #eadfdb;
    border-radius:14px;
}

.confirmation-details h3,
.confirmed-products h3{
    margin-bottom:14px;
    font-size:17px;
}

.confirmation-details p{
    margin-bottom:8px;
    line-height:1.55;
    color:#4c4440;
    font-size:14px;
}

.confirmed-product-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:10px 0;
    border-bottom:1px solid #eee5e1;
    font-size:13px;
}

.confirmed-total{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #eadfdb;
    font-size:16px;
    font-weight:700;
}

#continue-shopping-button{
    width:100%;
    padding:14px;
    border:1px solid #171414;
    border-radius:999px;
    background:#171414;
    color:#fff;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:transform .25s ease,background .25s ease,color .25s ease;
}

#continue-shopping-button:hover{
    transform:translateY(-2px);
    background:transparent;
    color:#171414;
}

/* =========================================================
   ABOUT
   ========================================================= */

#about-us{
    padding:110px 30px;
    background:#f5ece8;
    text-align:center;
}

.about-content{
    width:min(760px,100%);
    margin:0 auto;
}

.about-content h2,
.contact-title h2{
    margin-bottom:20px;
    font-size:clamp(30px,4vw,42px);
    letter-spacing:-1px;
}

.about-content p:not(.section-eyebrow){
    margin-bottom:15px;
    color:#5d514c;
    line-height:1.9;
    font-size:15px;
}

/* =========================================================
   CONTACT
   ========================================================= */

#contact-section{
    padding:105px 30px;
    background:#fcf9f7;
}

.contact-title{
    width:min(680px,100%);
    margin:0 auto 38px;
    text-align:center;
}

.contact-title > p:last-child{
    color:#6d615c;
    line-height:1.75;
    font-size:15px;
}

.contact-title .section-eyebrow{
    position:relative;
    top:0;
}

#contact-form{
    width:min(620px,100%);
    margin:0 auto;
    display:flex;
    flex-direction:column;
}

#contact-form label{
    margin-bottom:7px;
    font-size:12px;
    font-weight:700;
    color:#443b37;
}

#contact-form input,
#contact-form textarea{
    width:100%;
    padding:13px 14px;
    margin-bottom:17px;
    border:1px solid #dfd2cd;
    border-radius:12px;
    background:#fff;
    color:#211c1a;
    font-family:inherit;
    font-size:14px;
    outline:0;
    transition:border-color .25s ease,box-shadow .25s ease;
}

#contact-form input:focus,
#contact-form textarea:focus{
    border-color:#b89a95;
    box-shadow:0 0 0 4px rgba(184,154,149,.09);
}

#contact-form textarea{
    min-height:140px;
    resize:vertical;
}

#contact-form button{
    padding:14px;
    border:1px solid #171414;
    border-radius:999px;
    background:#171414;
    color:#fff;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:transform .25s ease,background .25s ease,color .25s ease;
}

#contact-form button:hover{
    transform:translateY(-2px);
    background:transparent;
    color:#171414;
}

/* =========================================================
   MENU CONTACT BUTTON
   ========================================================= */

.menu-contact-button{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:13px 18px;
    border:1px solid rgba(23,20,20,.08);
    border-radius:16px;
    background:rgba(255,255,255,.48);
    color:#191515;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.menu-contact-button:hover{
    background:rgba(255,255,255,.78);
}

/* =========================================================
   STORE POLICIES
   ========================================================= */

.store-policies{
    width:min(920px,90%);
    margin:75px auto;
}

.policy-item{
    border-top:1px solid rgba(0,0,0,.10);
}

.policy-item:last-child{
    border-bottom:1px solid rgba(0,0,0,.10);
}

.policy-toggle{
    width:100%;
    border:0;
    background:transparent;
    padding:23px 5px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    cursor:pointer;
    font-family:inherit;
    font-size:16px;
    font-weight:600;
    color:#2b2421;
    text-align:left;
    transition:padding .25s ease;
}

.policy-toggle:hover{
    padding-left:10px;
    padding-right:10px;
}

.policy-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    border:1px solid rgba(0,0,0,.15);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:300;
    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.policy-item.active .policy-icon{
    transform:rotate(180deg);
    background:#171414;
    color:#fff;
}

.policy-answer{
    max-height:0;
    overflow:hidden;
    opacity:0;
    padding:0 45px 0 5px;
    transition:
        max-height .45s ease,
        opacity .3s ease,
        padding .3s ease;
}

.policy-answer p{
    margin:0 0 15px;
    color:#6d625d;
    font-size:14px;
    line-height:1.9;
}

.policy-item.active .policy-answer{
    max-height:300px;
    opacity:1;
    padding-bottom:20px;
}

/* =========================================================
   POLICY LINKS
   ========================================================= */

.policy-links{
    width:100%;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:28px;
    padding:9px 20px;
    background:#fff;
    border-bottom:1px solid #eadfdb;
    position:relative;
    z-index:9000;
}

.policy-links a{
    color:#6d615c;
    text-decoration:none;
    font-size:11px;
    transition:color .2s ease;
}

.policy-links a:hover{
    color:#171414;
}

.policy-ar{
    display:none;
    direction:rtl;
    text-align:right;
}

body.arabic .policy-en{
    display:none;
}

body.arabic .policy-ar{
    display:block;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer{
    background:#171414;
    color:#fff;
    padding:55px 25px 22px;
}

.footer-content{
    width:min(1120px,100%);
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:50px;
}

.footer-brand h3{
    margin-bottom:10px;
    font-size:24px;
    letter-spacing:5px;
}

.footer-brand p{
    color:#cfc4bf;
    font-size:12px;
    line-height:1.6;
}

.footer-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:12px 26px;
    max-width:620px;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    font-size:12px;
    opacity:.88;
    transition:opacity .2s ease;
}

.footer-links a:hover{
    opacity:.55;
}

.footer-bottom{
    width:min(1120px,100%);
    margin:32px auto 0;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.13);
    text-align:center;
}

.footer-bottom p{
    margin:0;
    color:#bdb2ad;
    font-size:10px;
}

/* =========================================================
   ARABIC
   ========================================================= */

body.arabic{
    direction:rtl;
}

body.arabic #sidemenu{
    right:auto!important;
    left:0!important;
}

body.arabic #cart-box{
    right:auto;
    left:-410px;
    transition:left .4s var(--ease);
}

body.arabic #cart-box.active{
    left:0;
    right:auto;
}

body.arabic #checkout-box,
body.arabic #order-confirmation{
    direction:rtl;
}

body.arabic input,
body.arabic textarea,
body.arabic select{
    text-align:right;
}

body.arabic.menu-is-open header::after{
    right:auto;
    left:0;
}

/* Header actions are on the correct visual side in both languages */
html[dir="rtl"] .header-actions{
    position:absolute!important;
    left:24px!important;
    right:auto!important;
}

html[dir="ltr"] .header-actions{
    position:absolute!important;
    right:24px!important;
    left:auto!important;
}

/* =========================================================
   ACCESS / FOCUS
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
    outline:2px solid rgba(118,84,83,.55);
    outline-offset:3px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1000px){
    header{
        padding:0 22px;
    }

    .top-search,
    .top-search-field-wrap{
        width:min(300px,32vw);
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .collections-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .collection-card:last-child{
        grid-column:1/-1;
    }

    #ayren-hero{
        min-height:560px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:768px){
    html{
        scroll-padding-top:78px;
    }

    header{
        height:72px;
        padding:0 12px;
    }

    header img[alt="AYREN"],
    .brand-link img{
        width:76px;
        max-width:76px;
    }

    .header-actions{
        position:absolute!important;
        top:50%!important;
        right:8px!important;
        left:auto!important;
        transform:translateY(-50%)!important;
        gap:3px;
        max-width:calc(100% - 92px);
    }

    html[dir="rtl"] .header-actions{
        left:8px!important;
        right:auto!important;
    }

    #language-button{
        min-width:48px;
        height:36px;
        padding:0 5px;
        font-size:10px;
        white-space:nowrap;
    }

    #cart-button,
    .menu-button{
        width:35px!important;
        min-width:35px!important;
        height:36px!important;
        padding:0!important;
    }

    .menu-button{
        font-size:20px;
    }

    .top-search,
    .top-search-field-wrap{
        position:absolute;
        left:50%;
        top:50%;
        transform:translate(-50%,-50%);
        width:clamp(100px,30vw,145px);
        max-width:145px;
    }

    .top-search-box{
        width:100%;
        height:35px;
        padding:0 10px;
        font-size:10px;
    }

    #top-search-results{
        top:42px;
        max-height:220px;
        width:100%;
    }

    #sidemenu{
        width:min(86vw,350px)!important;
        height:100dvh!important;
        padding:96px 17px 22px!important;
        gap:10px!important;
        overflow-y:auto!important;
        overflow-x:hidden!important;
    }

    #sidemenu > a,
    #sidemenu > button,
    #sidemenu .menu-content a,
    #sidemenu .menu-content button{
        min-height:48px!important;
        padding:10px 12px!important;
        font-size:15px!important;
    }

    #ayren-hero{
        min-height:500px;
        padding:25px 15px;
    }

    .ayren-hero-content{
        width:100%;
        padding:35px 8px;
    }

    .ayren-eyebrow{
        margin-bottom:15px;
        font-size:9px;
        letter-spacing:3px;
    }

    .ayren-hero-content h1{
        margin-bottom:17px;
        font-size:clamp(36px,11vw,54px);
        letter-spacing:-1.4px;
    }

    .ayren-description{
        max-width:440px;
        margin-bottom:26px;
        font-size:14px;
        line-height:1.7;
    }

    .ayren-shop-button{
        min-width:145px;
        padding:13px 24px;
    }

    .ayren-shape-one{
        width:245px;
        height:245px;
        right:-100px;
        top:75px;
    }

    .ayren-shape-two{
        width:205px;
        height:205px;
        left:-90px;
        bottom:-70px;
    }

    #collections,
    #new-arrivals,
    #products,
    #about-us,
    #contact-section{
        padding:70px 18px;
    }

    .section-title,
    .products-title{
        margin-bottom:35px;
    }

    .section-title h2,
    .products-title h2,
    .about-content h2,
    .contact-title h2{
        font-size:30px;
    }

    .collections-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    .collection-card{
        min-height:220px;
        padding:25px;
        border-radius:20px;
    }

    .collection-card:last-child{
        grid-column:auto;
    }

    .products-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .product-card{
        border-radius:18px;
    }

    .product-card img{
        height:auto;
        aspect-ratio:1/1.15;
        min-height:0;
    }

    #cart-box{
        width:100vw;
        max-width:100vw;
        right:-100vw;
        padding:20px;
    }

    #cart-box.active{
        right:0;
    }

    body.arabic #cart-box{
        left:-100vw;
        right:auto;
    }

    body.arabic #cart-box.active{
        left:0;
        right:auto;
    }

    #search-box,
    #checkout-box{
        width:calc(100vw - 24px);
        max-width:calc(100vw - 24px);
        padding:20px;
        border-radius:20px;
    }

    #search-box{
        max-height:86dvh;
    }

    #checkout-box{
        max-height:90dvh;
    }

    .confirmation-content{
        width:100%;
        max-width:100%;
        max-height:92dvh;
        padding:24px 18px;
        border-radius:20px;
    }

    .confirmation-content > h2{
        font-size:27px;
    }

    .policy-links{
        justify-content:flex-start;
        gap:16px;
        padding:8px 12px;
        overflow-x:auto;
        white-space:nowrap;
        scrollbar-width:none;
    }

    .policy-links::-webkit-scrollbar{
        display:none;
    }

    .policy-links a{
        flex-shrink:0;
        font-size:10px;
    }

    .store-policies{
        width:calc(100% - 28px);
        margin:50px auto;
    }

    .policy-toggle{
        padding:19px 2px;
        font-size:14px;
    }

    .policy-answer{
        padding-right:12px;
        padding-left:3px;
    }

    .policy-answer p{
        font-size:13px;
        line-height:1.8;
    }

    .footer-content{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:25px;
    }

    .footer-links{
        width:100%;
        justify-content:center;
        gap:12px 18px;
    }

    footer{
        padding:40px 15px 20px;
    }
}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width:420px){
    header{
        padding:0 7px;
    }

    header img[alt="AYREN"],
    .brand-link img{
        width:62px;
        max-width:62px;
    }

    .header-actions{
        gap:2px;
        max-width:calc(100% - 74px);
    }

    .top-search,
    .top-search-field-wrap{
        width:95px;
        max-width:95px;
    }

    .top-search-box{
        height:33px;
        padding:0 8px;
        font-size:9px;
    }

    #language-button{
        min-width:43px;
        padding:0 3px;
        font-size:9px;
    }

    #cart-button,
    .menu-button{
        width:32px!important;
        min-width:32px!important;
    }

    .menu-button{
        font-size:18px;
    }

    #sidemenu{
        width:90vw!important;
        padding:88px 13px 18px!important;
    }

    #sidemenu > a,
    #sidemenu > button,
    #sidemenu .menu-content a,
    #sidemenu .menu-content button{
        min-height:45px!important;
        font-size:14px!important;
    }

    #ayren-hero{
        min-height:465px;
    }

    .ayren-hero-content h1{
        font-size:clamp(34px,12vw,46px);
    }

    .product-card img{
        aspect-ratio:1/1.1;
    }

    #collections,
    #new-arrivals,
    #products,
    #about-us,
    #contact-section{
        padding-left:14px;
        padding-right:14px;
    }

    .section-title h2,
    .products-title h2,
    .about-content h2,
    .contact-title h2{
        font-size:27px;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
}
/* =========================================================
   AYREN — NEW PREMIUM FASHION UI
   FINAL VISUAL OVERRIDE
   Functions / HTML / JS preserved
   ========================================================= */

:root {
    --bg: #f8f5f2;
    --surface: #fffdfb;
    --surface-soft: #f3ece8;
    --surface-pink: #ead8d5;

    --ink: #1c1817;
    --muted: #756864;

    --line: rgba(28, 24, 23, 0.09);

    --accent: #a77f7d;
    --accent-dark: #795b59;

    --champagne: #c9ad8a;

    --white: #ffffff;

    --shadow:
        0 20px 60px rgba(42, 30, 26, 0.08);

    --shadow-soft:
        0 10px 35px rgba(42, 30, 26, 0.06);

    --ease:
        cubic-bezier(.22,.61,.36,1);
}


/* =========================================================
   GENERAL
   ========================================================= */

body {
    background:
        linear-gradient(
            180deg,
            #faf7f5 0%,
            #f8f3f0 45%,
            #fbf8f6 100%
        );

    color: var(--ink);
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    height: 86px;

    padding: 0 38px;

    background:
        rgba(255, 252, 249, 0.82);

    border-bottom:
        1px solid rgba(28, 24, 23, 0.07);

    box-shadow:
        0 8px 35px rgba(42, 30, 26, 0.035);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}


/* Logo */

header img[alt="AYREN"],
.brand-link img {
    width: 138px;

    transition:
        transform .35s var(--ease),
        opacity .3s ease;
}

header img[alt="AYREN"]:hover,
.brand-link img:hover {
    transform: scale(1.035);
}


/* =========================================================
   TOP SEARCH
   ========================================================= */

.top-search,
.top-search-field-wrap {
    width: min(390px, 34vw);
}

.top-search-box {
    height: 44px;

    padding: 0 19px;

    border:
        1px solid rgba(28, 24, 23, 0.08);

    border-radius: 999px;

    background:
        rgba(255,255,255,.78);

    box-shadow:
        0 8px 25px rgba(42, 30, 26, .045);

    font-size: 12px;

    transition:
        all .3s var(--ease);
}

.top-search-box:hover {
    border-color:
        rgba(167,127,125,.25);

    background:
        rgba(255,255,255,.95);
}

.top-search-box:focus {
    border-color:
        rgba(167,127,125,.45);

    box-shadow:
        0 10px 30px rgba(42,30,26,.08),
        0 0 0 4px rgba(167,127,125,.08);
}


/* Search results */

#top-search-results {
    top: 53px;

    padding: 7px;

    border:
        1px solid rgba(28,24,23,.07);

    border-radius: 18px;

    background:
        rgba(255,253,251,.97);

    box-shadow:
        0 25px 60px rgba(38,29,26,.13);

    backdrop-filter: blur(20px);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    gap: 5px;
}

#language-button,
#cart-button,
.menu-button {
    transition:
        background .3s ease,
        transform .3s var(--ease);
}

#language-button {
    min-width: 68px;

    height: 40px;

    border-radius: 999px;

    color: #62534f;

    font-size: 11px;
}

#language-button:hover {
    background:
        rgba(167,127,125,.10);

    color:
        var(--accent-dark);
}


/* Cart */

#cart-button {
    min-width: 42px !important;

    height: 42px !important;

    border-radius: 50% !important;
}

#cart-button:hover {
    background:
        rgba(167,127,125,.10) !important;

    color:
        var(--accent-dark) !important;
}


/* Menu */

.menu-button {
    width: 44px;

    height: 44px;

    border-radius: 50%;
}

.menu-button:hover {
    background:
        rgba(167,127,125,.11);

    color:
        var(--accent-dark);
}


/* =========================================================
   HERO — PREMIUM EDITORIAL LOOK
   ========================================================= */

#ayren-hero {
    min-height: 650px;

    background:
        radial-gradient(
            circle at 18% 22%,
            rgba(255,255,255,.96) 0%,
            rgba(255,255,255,0) 32%
        ),

        radial-gradient(
            circle at 82% 18%,
            rgba(224,188,190,.72) 0%,
            rgba(224,188,190,0) 33%
        ),

        radial-gradient(
            circle at 72% 88%,
            rgba(205,174,145,.20) 0%,
            rgba(205,174,145,0) 32%
        ),

        linear-gradient(
            135deg,
            #e8d6d2 0%,
            #f8ece8 48%,
            #dbc3bd 100%
        );
}


/* Soft editorial overlay */

#ayren-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,.20),
            transparent 45%,
            rgba(100,72,66,.06)
        );
}


/* Hero content */

.ayren-hero-content {
    max-width: 900px;

    padding:
        80px 25px;
}

.ayren-eyebrow {
    margin-bottom: 22px;

    color:
        #806661;

    font-size: 10px;

    letter-spacing: 5px;

    font-weight: 700;
}

.ayren-hero-content h1 {
    margin-bottom: 25px;

    font-size:
        clamp(48px, 7vw, 88px);

    line-height: .94;

    letter-spacing: -3px;

    font-weight: 700;
}

.ayren-description {
    max-width: 600px;

    margin-bottom: 38px;

    color:
        #635550;

    font-size: 16px;

    line-height: 1.9;
}


/* Hero button */

.ayren-shop-button {
    min-width: 175px;

    padding: 15px 32px;

    border:
        1px solid #1c1817;

    background:
        #1c1817;

    border-radius: 999px;

    box-shadow:
        0 15px 35px rgba(28,24,23,.16);

    transition:
        all .35s var(--ease);
}

.ayren-shop-button:hover {
    background:
        rgba(255,255,255,.35);

    color:
        #1c1817;

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 40px rgba(28,24,23,.10);
}


/* Hero shapes */

.ayren-shape-one {
    width: 440px;
    height: 440px;

    right: -130px;
    top: 35px;

    opacity: .78;

    background:
        radial-gradient(
            circle at 35% 35%,
            #c9979c 0%,
            #e6c4c5 50%,
            rgba(230,196,197,0) 72%
        );
}

.ayren-shape-two {
    width: 360px;
    height: 360px;

    left: -140px;
    bottom: -130px;

    background:
        radial-gradient(
            circle at 40% 40%,
            #dfbfc0 0%,
            #cdb19f 55%,
            rgba(205,177,159,0) 73%
        );
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-title,
.products-title {
    margin-bottom: 55px;
}

.section-title p,
.products-title p,
.section-eyebrow {
    color:
        #a17b77;

    font-size: 10px;

    letter-spacing: 4px;

    font-weight: 700;
}

.section-title h2,
.products-title h2 {
    color:
        #1c1817;

    font-size:
        clamp(32px, 4vw, 46px);

    letter-spacing:
        -1.5px;
}


/* =========================================================
   COLLECTIONS
   ========================================================= */

#collections {
    padding: 115px 30px;

    background:
        #f4ebe7;
}

.collections-grid {
    gap: 22px;
}

.collection-card {
    min-height: 330px;

    padding: 34px;

    border:
        1px solid rgba(28,24,23,.06);

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255,255,255,.75),
            transparent 34%
        ),

        linear-gradient(
            145deg,
            #d8c2bc,
            #f8ece8
        );

    box-shadow:
        0 12px 35px rgba(38,29,26,.06);

    transition:
        transform .5s var(--ease),
        box-shadow .5s var(--ease);
}

.collection-card:hover {
    transform:
        translateY(-9px);

    box-shadow:
        0 28px 60px rgba(38,29,26,.13);
}

.collection-card h3 {
    font-size: 26px;

    letter-spacing: -.7px;
}

.collection-card p {
    color:
        #695b56;
}


/* =========================================================
   NEW ARRIVALS
   ========================================================= */

#new-arrivals {
    padding: 115px 30px;

    background:
        #fdfaf8;
}

.new-arrivals-content p {
    color:
        #70625d;

    line-height: 1.9;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

#products {
    padding: 115px 30px;

    background:
        #ffffff;
}

.products-grid {
    gap: 24px;
}

.product-card {
    padding-bottom: 27px;

    border:
        1px solid rgba(28,24,23,.07);

    border-radius: 24px;

    background:
        #fff;

    box-shadow:
        0 10px 35px rgba(38,29,26,.055);

    transition:
        transform .45s var(--ease),
        box-shadow .45s var(--ease);
}

.product-card:hover {
    transform:
        translateY(-8px);

    box-shadow:
        0 28px 60px rgba(38,29,26,.12);
}

.product-card img {
    height: 350px;

    background:
        #eee3de;

    transition:
        transform .65s var(--ease);
}

.product-card h3 {
    margin-top: 20px;

    font-size: 16px;

    letter-spacing: -.1px;
}

.product-card .price {
    margin:
        9px 0 18px;

    color:
        #9a716d;

    font-size: 14px;
}


/* Product button */

.product-card button {
    min-width: 145px;

    padding: 12px 23px;

    border-radius: 999px;

    background:
        #1c1817;

    color:
        white;

    transition:
        all .3s var(--ease);
}

.product-card button:hover {
    background:
        #a77f7d;

    border-color:
        #a77f7d;

    color:
        white;

    transform:
        translateY(-3px);
}


/* =========================================================
   SIDE MENU
   ========================================================= */

#sidemenu {
    width: 370px !important;

    background:
        #e8d8d4 !important;

    box-shadow:
        -30px 0 80px rgba(30,20,18,.18);
}


/* Make image blend instead of covering */

#sidemenu .menu-image {
    opacity: .27 !important;

    filter:
        saturate(.65)
        contrast(.90)
        brightness(1.08);

    object-fit:
        cover !important;
}


/* Menu glass layer */

#sidemenu::before {
    background:
        linear-gradient(
            180deg,
            rgba(255,250,248,.72) 0%,
            rgba(246,232,227,.48) 45%,
            rgba(215,193,187,.72) 100%
        );
}


/* Menu buttons */

#sidemenu > a,
#sidemenu > button,
#sidemenu .menu-content a,
#sidemenu .menu-content button {
    min-height: 54px !important;

    border:
        1px solid rgba(28,24,23,.07) !important;

    border-radius: 17px !important;

    background:
        rgba(255,255,255,.42) !important;

    color:
        #211b19 !important;

    box-shadow:
        0 8px 25px rgba(38,29,26,.045);

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    transition:
        all .3s var(--ease);
}

#sidemenu > a:hover,
#sidemenu > button:hover,
#sidemenu .menu-content a:hover,
#sidemenu .menu-content button:hover {
    background:
        rgba(255,255,255,.76) !important;

    border-color:
        rgba(167,127,125,.22) !important;

    color:
        #795b59 !important;

    transform:
        translateX(-6px);

    box-shadow:
        0 14px 30px rgba(38,29,26,.09);
}


/* =========================================================
   CART
   ========================================================= */

#cart-box {
    background:
        rgba(255,253,251,.97);

    border-left:
        1px solid rgba(28,24,23,.08);

    box-shadow:
        -30px 0 80px rgba(25,19,17,.15);

    backdrop-filter:
        blur(24px);

    -webkit-backdrop-filter:
        blur(24px);
}

#close-cart {
    background:
        #f2e7e3;

    transition:
        all .3s var(--ease);
}

#close-cart:hover {
    background:
        #e7d4cf;
}


/* =========================================================
   SEARCH + CHECKOUT MODALS
   ========================================================= */

#search-box,
#checkout-box {
    background:
        rgba(255,253,251,.98);

    border:
        1px solid rgba(28,24,23,.08);

    border-radius:
        26px;

    box-shadow:
        0 35px 100px rgba(22,16,14,.22);

    backdrop-filter:
        blur(24px);

    -webkit-backdrop-filter:
        blur(24px);
}

#search-input,
#checkout-form input,
#checkout-form textarea,
#shipping-area,
#contact-form input,
#contact-form textarea {
    border:
        1px solid #e2d5d0;

    border-radius:
        14px;

    background:
        rgba(255,255,255,.90);

    transition:
        all .3s ease;
}

#search-input:focus,
#checkout-form input:focus,
#checkout-form textarea:focus,
#shipping-area:focus,
#contact-form input:focus,
#contact-form textarea:focus {
    border-color:
        #b9938f;

    box-shadow:
        0 0 0 4px rgba(169,127,125,.09);
}


/* =========================================================
   CHECKOUT SUMMARY
   ========================================================= */

.checkout-summary {
    background:
        linear-gradient(
            135deg,
            #f4e8e4,
            #f8f0ed
        );

    border-radius:
        17px;
}


/* =========================================================
   PAYMENT
   ========================================================= */

.payment-option {
    border-radius:
        14px;

    background:
        #fff;

    transition:
        all .3s ease;
}

.payment-option:hover {
    border-color:
        #b9938f;

    background:
        #fdf7f5;

    transform:
        translateY(-1px);
}

.card-payment-note {
    background:
        #f3e6e2;

    color:
        #80615c;
}


/* =========================================================
   ORDER CONFIRMATION
   ========================================================= */

#order-confirmation {
    background:
        rgba(30,23,21,.46);

    backdrop-filter:
        blur(12px);
}

.confirmation-content {
    border-radius:
        28px;

    background:
        #fffdfb;

    box-shadow:
        0 35px 100px rgba(20,14,12,.25);
}

.confirmation-icon {
    background:
        #ead8d4;

    color:
        #795b59;
}


/* =========================================================
   ABOUT
   ========================================================= */

#about-us {
    padding: 120px 30px;

    background:
        linear-gradient(
            135deg,
            #f4e8e4,
            #f9f1ee
        );
}

.about-content p:not(.section-eyebrow) {
    color:
        #625550;

    line-height:
        2;
}


/* =========================================================
   CONTACT
   ========================================================= */

#contact-section {
    padding: 115px 30px;

    background:
        #fdfaf8;
}

#contact-form button {
    background:
        #1c1817;

    transition:
        all .3s var(--ease);
}

#contact-form button:hover {
    background:
        #a77f7d;

    border-color:
        #a77f7d;

    color:
        #fff;
}


/* =========================================================
   POLICIES
   ========================================================= */

.store-policies {
    width:
        min(950px,90%);

    margin:
        85px auto;
}

.policy-item {
    border-color:
        rgba(28,24,23,.09);
}

.policy-toggle {
    padding:
        25px 5px;

    color:
        #2b2421;

    transition:
        all .3s ease;
}

.policy-toggle:hover {
    color:
        #8a6662;
}

.policy-icon {
    border-color:
        rgba(28,24,23,.14);

    transition:
        all .3s var(--ease);
}

.policy-item.active .policy-icon {
    background:
        #1c1817;

    color:
        #fff;
}


/* =========================================================
   POLICY LINKS
   ========================================================= */

.policy-links {
    min-height:
        48px;

    background:
        #fff;

    border-bottom:
        1px solid rgba(28,24,23,.07);
}

.policy-links a {
    color:
        #756763;

    transition:
        color .25s ease;
}

.policy-links a:hover {
    color:
        #9b706c;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding:
        65px 25px 24px;

    background:
        #1b1716;
}

.footer-brand h3 {
    letter-spacing:
        6px;
}

.footer-brand p {
    color:
        #c8bbb6;
}

.footer-links a {
    color:
        #eee7e4;

    transition:
        all .25s ease;
}

.footer-links a:hover {
    color:
        #d8aaa6;

    opacity:
        1;
}

.footer-bottom {
    border-color:
        rgba(255,255,255,.10);
}


/* =========================================================
   ARABIC
   ========================================================= */

body.arabic .ayren-hero-content h1 {
    letter-spacing:
        0;
}

body.arabic .section-title h2,
body.arabic .products-title h2,
body.arabic .about-content h2,
body.arabic .contact-title h2 {
    letter-spacing:
        0;
}

body.arabic #sidemenu > a:hover,
body.arabic #sidemenu > button:hover {
    transform:
        translateX(6px);
}


/* =========================================================
   MOBILE PREMIUM VERSION
   ========================================================= */

@media (max-width:768px) {

    header {
        height:
            74px;

        padding:
            0 13px;
    }

    header img[alt="AYREN"],
    .brand-link img {
        width:
            78px;

        max-width:
            78px;
    }

    .top-search,
    .top-search-field-wrap {
        width:
            clamp(105px,31vw,150px);
    }

    .top-search-box {
        height:
            36px;

        font-size:
            10px;
    }

    #ayren-hero {
        min-height:
            525px;
    }

    .ayren-hero-content {
        padding:
            50px 12px;
    }

    .ayren-hero-content h1 {
        font-size:
            clamp(39px,11vw,57px);

        letter-spacing:
            -1.8px;
    }

    .ayren-description {
        font-size:
            14px;

        line-height:
            1.8;
    }

    #collections,
    #new-arrivals,
    #products,
    #about-us,
    #contact-section {
        padding:
            78px 18px;
    }

    .section-title,
    .products-title {
        margin-bottom:
            38px;
    }

    .collection-card {
        min-height:
            240px;

        border-radius:
            22px;
    }

    .product-card {
        border-radius:
            22px;
    }

    .product-card img {
        aspect-ratio:
            1 / 1.16;
    }

    #sidemenu {
        width:
            min(88vw,370px) !important;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width:420px) {

    header {
        padding:
            0 8px;
    }

    header img[alt="AYREN"],
    .brand-link img {
        width:
            64px;

        max-width:
            64px;
    }

    .top-search,
    .top-search-field-wrap {
        width:
            96px;
    }

    .top-search-box {
        height:
            33px;

        font-size:
            9px;
    }

    #ayren-hero {
        min-height:
            485px;
    }

    .ayren-hero-content h1 {
        font-size:
            clamp(35px,12vw,48px);
    }

    #collections,
    #new-arrivals,
    #products,
    #about-us,
    #contact-section {
        padding-left:
            14px;

        padding-right:
            14px;
    }

    .section-title h2,
    .products-title h2,
    .about-content h2,
    .contact-title h2 {
        font-size:
            28px;
    }
}
/* =========================================================
   AYREN — HEADER / BUTTONS FIX
   ========================================================= */

/* Header must always stay above the side menu controls */
header {
    position: relative !important;
    z-index: 100000 !important;
    overflow: visible !important;
}

header > * {
    position: relative;
    z-index: 100001 !important;
}


/* Header actions always clickable */
.header-actions {
    position: relative !important;
    z-index: 100002 !important;
    pointer-events: auto !important;
}

.header-actions button,
#language-button,
#cart-button,
#main-menu-button {
    position: relative !important;
    z-index: 100003 !important;
    pointer-events: auto !important;
}


/* =========================================================
   MENU BUTTON — FIX OPEN / CLOSE
   ========================================================= */

#main-menu-button {
    position: relative !important;
    z-index: 100005 !important;
    pointer-events: auto !important;
}

/* Side menu itself stays below the header button */
#sidemenu {
    z-index: 99999 !important;
}

/* Keep the menu clickable */
#sidemenu a,
#sidemenu button {
    pointer-events: auto !important;
}


/* =========================================================
   CART BUTTON — FIX
   ========================================================= */

#cart-button {
    position: relative !important;
    z-index: 100005 !important;
    pointer-events: auto !important;
}


/* Cart close button must always work */
#close-cart {
    position: relative !important;
    z-index: 100010 !important;
    pointer-events: auto !important;
}


/* =========================================================
   LANGUAGE BUTTON — FIX
   ========================================================= */

#language-button {
    position: relative !important;
    z-index: 100005 !important;
    pointer-events: auto !important;
}


/* =========================================================
   LOGO — CORRECT SIZE
   ========================================================= */

header img[alt="AYREN"],
.brand-link img {
    width: 125px !important;
    max-width: 125px !important;
    height: auto !important;

    object-fit: contain !important;
    display: block !important;
}


/* =========================================================
   DESKTOP LOGO
   ========================================================= */

@media (min-width: 769px) {

    header img[alt="AYREN"],
    .brand-link img {
        width: 125px !important;
        max-width: 125px !important;
    }
}


/* =========================================================
   MOBILE LOGO
   ========================================================= */

@media (max-width: 768px) {

    header {
        height: 74px !important;
    }

    header img[alt="AYREN"],
    .brand-link img {
        width: 92px !important;
        max-width: 92px !important;
        height: auto !important;
    }

    .header-actions {
        z-index: 100002 !important;
    }

    #language-button,
    #cart-button,
    #main-menu-button {
        z-index: 100005 !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    header img[alt="AYREN"],
    .brand-link img {
        width: 82px !important;
        max-width: 82px !important;
    }

    #language-button {
        min-width: 43px !important;
    }

    #cart-button,
    #main-menu-button {
        width: 34px !important;
        min-width: 34px !important;
    }
}


/* =========================================================
   WHEN MENU IS OPEN
   ========================================================= */

/* Do NOT let the menu cover the header controls */
body.menu-is-open header {
    z-index: 100000 !important;
}

body.menu-is-open .header-actions {
    z-index: 100005 !important;
}

body.menu-is-open #main-menu-button {
    z-index: 100010 !important;
}


/* Keep menu below the header */
body.menu-is-open #sidemenu {
    z-index: 99999 !important;
}
/* =========================================================
   AYREN — HEADER FINAL STRUCTURE FIX
   ========================================================= */

header {
    position: relative !important;
    width: 100% !important;
    height: 82px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 30px !important;
    overflow: visible !important;
}

/* LOGO */
header > img[alt="AYREN"] {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 132px !important;
    max-width: 132px !important;
    height: auto !important;
    z-index: 100 !important;
}

/* SEARCH — now positioned relative to HEADER */
header > .top-search-field-wrap {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;

    width: min(360px, 34vw) !important;
    max-width: 360px !important;

    margin: 0 !important;
    z-index: 100 !important;
}

/* SEARCH INPUT */
header > .top-search-field-wrap .top-search-box {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ACTIONS */
header > .header-actions {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 7px !important;

    margin-left: auto !important;
    flex-shrink: 0 !important;

    width: auto !important;
    max-width: none !important;

    z-index: 200 !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    header {
        height: 72px !important;
        padding: 0 10px !important;
    }

    /* LOGO */
    header > img[alt="AYREN"] {
        width: 72px !important;
        max-width: 72px !important;
    }

    /* SEARCH */
    header > .top-search-field-wrap {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;

        width: 110px !important;
        max-width: 110px !important;
    }

    header > .top-search-field-wrap .top-search-box {
        width: 110px !important;
        height: 34px !important;

        padding: 0 9px !important;

        font-size: 9px !important;
        line-height: 34px !important;
    }

    /* ACTIONS */
    header > .header-actions {
        position: relative !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 3px !important;

        margin-left: auto !important;
        width: auto !important;

        z-index: 300 !important;
    }

    /* LANGUAGE */
    header > .header-actions #language-button {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;

        height: 34px !important;

        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 9px !important;
        white-space: nowrap !important;
    }

    /* CART */
    header > .header-actions #cart-button {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;

        height: 34px !important;

        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 16px !important;
    }

    /* CART NUMBER */
    header > .header-actions #cart-count {
        min-width: 13px !important;
        width: 13px !important;
        height: 13px !important;

        font-size: 8px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* MENU */
    header > .header-actions #main-menu-button {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;

        height: 34px !important;

        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 18px !important;
    }
}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    header {
        height: 70px !important;
        padding: 0 7px !important;
    }

    header > img[alt="AYREN"] {
        width: 68px !important;
        max-width: 68px !important;
    }

    header > .top-search-field-wrap {
        width: 92px !important;
        max-width: 92px !important;
    }

    header > .top-search-field-wrap .top-search-box {
        width: 92px !important;
        height: 32px !important;

        font-size: 8px !important;
    }

    header > .header-actions {
        gap: 2px !important;
    }

    header > .header-actions #language-button {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;

        height: 32px !important;

        font-size: 8px !important;
    }

    header > .header-actions #cart-button,
    header > .header-actions #main-menu-button {
        width: 31px !important;
        min-width: 31px !important;
        max-width: 31px !important;

        height: 32px !important;
    }
}
.footer-contact {
    text-align: center;
    margin-top: 35px;
}

.footer-contact-title {
    font-size: 15px;
    margin-bottom: 14px;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-instagram svg {
    width: 25px;
    height: 25px;
}

.footer-instagram:hover {
    opacity: 0.6;
    transform: translateY(-2px);
}