@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir.woff2') format('woff2'), url('../fonts/Vazir.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #171721;
    --ink-soft: #626270;
    --cream: #f8f7f4;
    --paper: #ffffff;
    --line: #e8e7e4;
    --purple: #7767e8;
    --purple-dark: #5b4bd0;
    --purple-light: #eeebff;
    --gold: #d2a96a;
    --dark: #15151e;
    --success: #4c9b76;
    --shadow-sm: 0 12px 36px rgba(24, 20, 48, .07);
    --shadow-lg: 0 28px 72px rgba(28, 21, 78, .16);
    --radius: 24px;
}

* { box-sizing: border-box; }

/* Keep global scroll changes deterministic. Interactive navigation opts into
   smooth scrolling explicitly in JavaScript where it is intended. */
html { scroll-behavior: auto; }

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--cream);
    font-family: Vazir, Tahoma, sans-serif;
    line-height: 1.8;
}

button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

.page-glow { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(2px); opacity: .5; }
.page-glow-one { width: 460px; height: 460px; top: 90px; right: -250px; background: rgba(179, 167, 255, .27); }
.page-glow-two { width: 380px; height: 380px; bottom: 10%; left: -230px; background: rgba(255, 218, 171, .27); }

.site-header {
    position: sticky;
    z-index: 1030;
    top: 0;
    right: 0;
    left: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(22, 22, 36, .9);
    backdrop-filter: blur(18px);
}

.brand-mark { display: inline-flex; align-items: center; gap: 11px; line-height: 1.05; }
.brand-mark > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.brand-mark strong { color: #fff; font-size: 1.07rem; font-weight: 800; }
.brand-mark small { color: rgba(255, 255, 255, .55); direction: ltr; font-size: .56rem; font-weight: 700; letter-spacing: .18em; }
.brand-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255, 255, 255, .24); border-radius: 13px; color: #fff; background: rgba(255, 255, 255, .12); font-size: 1.1rem; }
.nav-link { position: relative; padding: 7px 2px !important; color: rgba(255, 255, 255, .65) !important; font-size: .87rem; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: #fff !important; }
.nav-link.active::after { position: absolute; right: 0; bottom: -4px; left: 0; height: 2px; border-radius: 2px; background: var(--gold); content: ''; }
.icon-button, .cart-button { border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.1); transition: .2s ease; }
.icon-button { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; font-size: 1rem; }
.account-button { display: inline-flex; width: auto; height: 40px; align-items: center; gap: 7px; padding: 0 12px; border-radius: 999px; }
.account-button i { font-size: 1rem; }
.account-name-label { max-width: 120px; overflow: hidden; font-size: .68rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.cart-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; font-size: .78rem; }
.cart-button b { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--ink); background: #fff; font-size: .72rem; }
.icon-button:hover, .cart-button:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.19); transform: translateY(-2px); }

.hero-section { position: relative; min-height: 680px; padding: 122px 0 86px; overflow: hidden; color: #fff; background: radial-gradient(circle at 74% 45%, rgba(129, 112, 230, .48), transparent 30%), radial-gradient(circle at 10% 20%, rgba(53, 41, 121, .55), transparent 32%), #161624; }
.hero-section::before { position: absolute; top: -35%; right: 38%; width: 850px; height: 850px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ''; }
.hero-section::after { position: absolute; right: 28%; bottom: -65%; width: 900px; height: 900px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; content: ''; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--purple); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.hero-section .eyebrow { color: #c2b9ff; }
.eyebrow span { display: inline-block; width: 25px; height: 2px; border-radius: 4px; background: currentColor; }
.hero-section h1, .section-heading h2, .story-section h2, .notes-intro h2, .newsletter-card h2 { margin: 22px 0 18px; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 900; letter-spacing: -.06em; line-height: 1.19; }
.hero-section h1 em, .section-heading h2 em, .story-section h2 em, .notes-intro h2 em, .newsletter-card h2 em { color: var(--gold); font-family: inherit; font-style: normal; }
.hero-copy { max-width: 520px; margin-bottom: 30px; color: rgba(255,255,255,.68); font-size: 1rem; line-height: 2.1; }
.btn-primary { border-color: var(--purple); background: var(--purple); box-shadow: 0 14px 26px rgba(119, 103, 232, .25); }
.btn-primary:hover, .btn-primary:focus { border-color: var(--purple-dark); background: var(--purple-dark); box-shadow: 0 16px 30px rgba(119, 103, 232, .32); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: .82rem; font-weight: 800; }
.hero-section .text-link { color: rgba(255,255,255,.8); }
.text-link i { font-size: 1rem; transition: transform .2s ease; }
.text-link:hover i { transform: translateX(-4px); }
.hero-proof { color: #fff; }
.hero-proof > div { display: flex; min-width: 95px; flex-direction: column; gap: 0; }
.hero-proof strong { font-size: 1.35rem; font-weight: 800; }
.hero-proof strong span { color: var(--gold); font-size: .75rem; }
.hero-proof span { color: rgba(255,255,255,.45); font-size: .68rem; }

.hero-product-stage { position: relative; min-height: 515px; }
.hero-product-stage::before { position: absolute; right: 4%; top: 2%; width: 92%; height: 92%; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(94,76,186,.08)); content: ''; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { top: 5%; right: 6%; width: 86%; height: 74%; }
.orbit-two { top: 15%; right: 13%; width: 72%; height: 59%; border-color: rgba(209, 174, 108, .33); }
.hero-bottle { position: absolute; z-index: 2; top: 17%; right: 35%; width: 220px; transform: rotate(7deg); filter: drop-shadow(24px 40px 30px rgba(0,0,0,.32)); }
.bottle-cap { width: 78px; height: 64px; margin: 0 auto -4px; border: 1px solid rgba(255,255,255,.28); border-bottom: 0; border-radius: 16px 16px 4px 4px; background: linear-gradient(100deg, #494356 0%, #aaa3bd 42%, #322d3e 100%); }
.bottle-neck { width: 52px; height: 34px; margin: 0 auto; background: linear-gradient(90deg, #827a94, #d4c9de 50%, #554d63); }
.bottle-body { display: flex; width: 220px; height: 310px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.45); border-radius: 40px 40px 28px 28px; color: rgba(255,255,255,.9); background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(111, 75, 179, .54) 38%, rgba(30, 25, 57, .7)); box-shadow: inset 8px 0 18px rgba(255,255,255,.11), inset -15px -12px 20px rgba(0,0,0,.2); text-align: center; }
.bottle-body span { font-size: 1.5rem; font-weight: 900; letter-spacing: .1em; }
.bottle-body small { margin-top: 13px; color: rgba(255,255,255,.6); font-size: .5rem; letter-spacing: .2em; line-height: 1.8; }
.hero-bottle-shadow { position: absolute; z-index: 1; right: 27%; bottom: 10%; width: 320px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.34); filter: blur(17px); }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); backdrop-filter: blur(14px); font-size: .63rem; line-height: 1.6; }
.floating-note i { color: var(--gold); font-size: 1.25rem; }
.floating-note b { color: #fff; font-size: .72rem; font-weight: 700; }
.note-top { top: 19%; left: 3%; }
.note-bottom { right: 3%; bottom: 17%; }
.hero-stage-label { position: absolute; right: 3%; bottom: 5%; color: rgba(255,255,255,.2); font-size: 4.4rem; font-weight: 900; letter-spacing: .13em; line-height: .8; }
.hero-stage-label span { font-size: .95rem; letter-spacing: .6em; }

.trust-strip { position: relative; z-index: 2; margin-top: -1px; padding: 26px 0; color: #fff; background: var(--dark); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; }
.trust-item > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: var(--gold); background: rgba(255,255,255,.07); font-size: 1.2rem; }
.trust-item div { display: flex; flex-direction: column; gap: 0; }
.trust-item strong { font-size: .83rem; font-weight: 800; }
.trust-item small { color: rgba(255,255,255,.43); font-size: .64rem; }

.section-pad { padding: 116px 0; }
.products-section { background: var(--cream); }
.section-heading h2, .story-section h2, .notes-intro h2 { color: var(--ink); font-size: clamp(2.35rem, 4vw, 3.55rem); }
.section-heading h2 em, .story-section h2 em, .notes-intro h2 em { color: var(--purple); }
.products-toolbar { margin-bottom: 10px; }
.category-tabs { display: inline-flex; align-items: center; gap: 5px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); }
.category-tab { padding: 9px 17px; border: 0; border-radius: 999px; color: var(--ink-soft); background: transparent; font-size: .74rem; transition: .2s ease; }
.category-tab.active, .category-tab:hover { color: #fff; background: var(--ink); }
.product-swiper { padding: 10px 4px 45px; overflow: hidden; }
.product-swiper .swiper-slide { height: auto; }
.product-card { position: relative; display: flex; height: 100%; min-height: 452px; flex-direction: column; overflow: hidden; border: 1px solid rgba(33,29,51,.06); border-radius: var(--radius); background: var(--paper); box-shadow: 0 10px 35px rgba(32,26,64,.05); transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-image-wrap { position: relative; height: 258px; overflow: hidden; background: #efedf3; }
.product-image-wrap::after { position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(transparent, rgba(16,15,25,.18)); content: ''; pointer-events: none; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-image-wrap.image-fallback { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.78), transparent 28%), linear-gradient(145deg, #e5defb, #aaa1d8 52%, #4d416e); }
.product-image-wrap.image-fallback::before { position: absolute; z-index: 1; display: flex; width: 112px; height: 157px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.58); border-radius: 23px 23px 15px 15px; color: rgba(255,255,255,.87); background: linear-gradient(135deg, rgba(255,255,255,.43), rgba(69,45,131,.67)); box-shadow: inset 9px 0 16px rgba(255,255,255,.15), 15px 20px 28px rgba(42,32,78,.25); content: 'OMID'; font-size: 1rem; font-weight: 900; letter-spacing: .17em; }
.product-image-wrap.image-fallback::after { z-index: 2; height: 58%; background: linear-gradient(transparent, rgba(20,16,40,.33)); }
.product-card:hover .product-image { transform: scale(1.06); }
.product-badge { position: absolute; z-index: 1; top: 14px; right: 14px; padding: 4px 11px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.88); font-size: .64rem; font-weight: 800; }
.product-wishlist { position: absolute; z-index: 2; top: 13px; left: 13px; display: grid; width: 33px; height: 33px; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.83); }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 21px 21px 18px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--purple); font-size: .62rem; font-weight: 800; }
.product-meta span:last-child { color: #96939d; font-size: .63rem; font-weight: 500; }
.product-card h3 { margin: 8px 0 7px; font-size: 1rem; font-weight: 900; }
.product-card p { display: -webkit-box; min-height: 45px; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: .7rem; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.product-price { display: flex; flex-direction: column; line-height: 1.45; }
.product-price strong { color: var(--ink); font-size: .9rem; font-weight: 900; }
.product-price .price-unit { margin-right: 3px; color: var(--ink-soft); font-size: .58rem; }
.product-price del { color: #a6a3aa; font-size: .62rem; }
.add-cart-button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border: 0; border-radius: 999px; color: #fff; background: var(--ink); font-size: .69rem; transition: .2s ease; }
.add-cart-button:hover { background: var(--purple); transform: translateY(-2px); }
.add-cart-button:disabled { cursor: not-allowed; opacity: .5; }
.loading-card { display: flex; min-height: 310px; align-items: center; justify-content: center; gap: 12px; border: 1px dashed #d5d2df; border-radius: var(--radius); color: var(--ink-soft); font-size: .8rem; }
.swiper-pagination-bullet-active { background: var(--purple); }
.custom-swiper-button { position: static; display: grid; width: 39px; height: 39px; margin: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 1rem; transition: .2s ease; }
.custom-swiper-button::after { display: none; }
.custom-swiper-button:hover { color: #fff; border-color: var(--ink); background: var(--ink); }

.story-section { color: var(--ink); background: #fff; }
.story-section .section-copy { max-width: 535px; color: var(--ink-soft); font-size: .88rem; line-height: 2.2; }
.signature-line { display: flex; align-items: center; gap: 10px; margin-top: 27px; color: var(--purple); font-size: .73rem; font-weight: 800; }
.signature-line span { display: block; width: 50px; height: 1px; background: var(--purple); }
.story-visual { position: relative; min-height: 475px; }
.story-card { position: absolute; border-radius: 30px; }
.story-card-back { top: 30px; right: 4%; width: 72%; height: 400px; transform: rotate(9deg); background: linear-gradient(135deg, #eadfff, #f7edf1); }
.story-card-main { top: 10px; right: 15%; display: flex; width: 72%; height: 420px; flex-direction: column; justify-content: space-between; padding: 27px; overflow: hidden; color: #fff; background: linear-gradient(150deg, #9b8bf1, #49358e); box-shadow: var(--shadow-lg); transform: rotate(-5deg); }
.story-card-main::before { position: absolute; top: -20%; left: -20%; width: 76%; height: 76%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ''; }
.story-card-top, .story-card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.story-card-top span { font-size: 1.2rem; font-weight: 900; letter-spacing: .11em; }
.story-card-top small, .story-card-bottom span { color: rgba(255,255,255,.6); font-size: .5rem; letter-spacing: .15em; }
.story-card-bottom i { font-size: 1.3rem; }
.story-card-bottle { position: absolute; right: 31%; top: 28%; width: 108px; height: 168px; border: 1px solid rgba(255,255,255,.6); border-radius: 22px 22px 13px 13px; background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.04)); box-shadow: inset 10px 0 15px rgba(255,255,255,.14), 15px 20px 22px rgba(26,15,65,.21); transform: rotate(9deg); }
.story-card-bottle::before { position: absolute; right: 30px; top: -43px; width: 48px; height: 48px; border-radius: 10px 10px 2px 2px; background: linear-gradient(90deg, #322759, #b7a9e4, #352b5e); content: ''; }
.story-card-bottle::after { position: absolute; right: 17px; bottom: 28px; left: 17px; height: 41px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; content: 'OMID'; color: rgba(255,255,255,.86); font-size: .67rem; font-weight: 900; letter-spacing: .14em; line-height: 39px; text-align: center; }
.story-stamp { position: absolute; bottom: 10px; left: 0; display: flex; width: 106px; height: 106px; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed var(--purple); border-radius: 50%; color: var(--purple); background: #fff; font-size: .61rem; line-height: 1.55; text-align: center; transform: rotate(-13deg); }
.story-stamp i { margin-bottom: 3px; font-size: 1.1rem; }

.notes-section { background: var(--cream); }
.notes-intro { padding: 30px 20px 30px 0; }
.notes-intro p { max-width: 400px; margin: 22px 0 29px; color: var(--ink-soft); font-size: .86rem; line-height: 2.2; }
.notes-grid { display: grid; height: 100%; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.note-panel { position: relative; display: flex; min-height: 285px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 24px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: #fff; transition: .25s ease; }
.note-panel::before { position: absolute; top: -40px; left: -55px; width: 170px; height: 170px; border-radius: 50%; background: rgba(232, 224, 255, .72); content: ''; }
.note-panel.active { color: #fff; border-color: transparent; background: linear-gradient(140deg, #8d7af1, #4b398c); box-shadow: var(--shadow-lg); transform: translateY(-13px); }
.note-panel.active::before { background: rgba(255,255,255,.12); }
.note-panel i { position: relative; z-index: 1; margin-bottom: auto; color: var(--purple); font-size: 1.65rem; }
.note-panel.active i { color: var(--gold); }
.note-number { position: absolute; top: 18px; left: 18px; color: #c1bccd; font-size: .65rem; }
.note-panel h3 { position: relative; z-index: 1; margin: 0 0 7px; font-size: 1rem; font-weight: 900; }
.note-panel p { position: relative; z-index: 1; margin: 0 0 11px; color: var(--ink-soft); font-size: .69rem; line-height: 1.9; }
.note-panel.active p { color: rgba(255,255,255,.71); }
.note-panel small { position: relative; z-index: 1; color: #9994a2; font-size: .58rem; }
.note-panel.active small { color: rgba(255,255,255,.5); }

.newsletter-section { padding-top: 0; background: var(--cream); }
.newsletter-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 58px 68px; overflow: hidden; border-radius: 31px; color: #fff; background: radial-gradient(circle at 15% 30%, rgba(175,158,255,.4), transparent 32%), linear-gradient(120deg, #171621, #2b234c); box-shadow: var(--shadow-lg); }
.newsletter-card .eyebrow { color: var(--gold); }
.newsletter-card h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.1rem); }
.newsletter-card h2 em { color: var(--gold); }
.newsletter-form { width: min(100%, 390px); }
.newsletter-form label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.62); font-size: .68rem; }
.newsletter-form .input-group { padding: 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.09); }
.newsletter-form input { min-width: 0; padding: 9px 16px; border: 0; outline: 0; color: #fff; background: transparent; font-size: .72rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px; color: var(--ink); background: #fff; font-size: .7rem; font-weight: 800; }
.newsletter-form small { display: block; margin-top: 11px; color: rgba(255,255,255,.36); font-size: .59rem; }

.site-footer { padding: 68px 0 22px; color: rgba(255,255,255,.64); background: var(--dark); }
.footer-brand { margin-bottom: 19px; }
.site-footer .brand-mark strong { color: #fff; }
.site-footer p { max-width: 330px; color: rgba(255,255,255,.42); font-size: .72rem; line-height: 2; }
.site-footer h5 { margin: 4px 0 18px; color: #fff; font-size: .76rem; font-weight: 800; }
.site-footer .col-6 a { display: block; margin-bottom: 7px; color: rgba(255,255,255,.44); font-size: .69rem; }
.site-footer .col-6 a:hover { color: var(--gold); }
.footer-contact { display: flex; gap: 8px; margin: 0 0 8px !important; font-size: .69rem !important; }
.footer-contact i { color: var(--gold); }
.socials { display: flex; gap: 7px; margin-top: 14px; }
.socials a { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: rgba(255,255,255,.62); font-size: .8rem; }
.socials a:hover { color: #fff; border-color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.29); font-size: .61rem; }

.cart-canvas { width: min(100%, 440px) !important; color: var(--ink); background: var(--cream); }
.cart-canvas .offcanvas-header { padding: 25px 26px 10px; }
.cart-canvas h3, .auth-modal h3, .checkout-modal h3 { margin: 5px 0 0; font-size: 1.45rem; font-weight: 900; }
.eyebrow.small { font-size: .61rem; }
.cart-canvas .offcanvas-body { padding: 15px 26px 26px; }
.empty-state { display: flex; height: 100%; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; color: var(--ink-soft); text-align: center; }
.empty-state i { margin-bottom: 15px; color: #c7c1e7; font-size: 3rem; }
.empty-state h4 { color: var(--ink); font-size: 1rem; font-weight: 900; }
.empty-state p { font-size: .72rem; }
.cart-line { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line-image { width: 63px; height: 70px; flex: 0 0 auto; overflow: hidden; border-radius: 13px; background: #eeeaf7; }
.cart-line-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-main { min-width: 0; flex: 1; }
.cart-line-main h5 { margin: 0 0 3px; overflow: hidden; font-size: .75rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.cart-line-main small { color: var(--ink-soft); font-size: .63rem; }
.cart-line-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.quantity-control { display: inline-flex; align-items: center; gap: 8px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.quantity-control button { display: grid; width: 22px; height: 22px; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: #f1eff8; font-size: .66rem; }
.quantity-control span { min-width: 12px; font-size: .67rem; text-align: center; }
.cart-line-price { color: var(--purple); font-size: .72rem; font-weight: 900; }
.remove-cart { padding: 0; border: 0; color: #aaa6b2; background: transparent; font-size: .72rem; }
.cart-summary { padding-top: 18px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; align-items: center; justify-content: space-between; }
.cart-summary > div span { color: var(--ink-soft); font-size: .74rem; }
.cart-summary > div strong { font-size: 1.2rem; font-weight: 900; }
.cart-summary > small { display: block; margin-top: 5px; color: #96929f; font-size: .6rem; }

.auth-modal, .checkout-modal { border: 0; border-radius: 27px; background: var(--cream); }
.auth-modal .modal-header, .checkout-modal .modal-header { padding: 28px 30px 10px; }
.auth-modal .modal-body, .checkout-modal .modal-body { padding: 12px 30px 30px; }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 24px; padding: 4px; border-radius: 999px; background: #eeecef; }
.auth-tabs button { flex: 1; padding: 9px; border: 0; border-radius: 999px; color: var(--ink-soft); background: transparent; font-size: .75rem; }
.auth-tabs button.active { color: #fff; background: var(--ink); }
.form-stack { display: flex; flex-direction: column; gap: 17px; }
.form-stack label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: .68rem; font-weight: 700; }
.form-stack input, .form-stack textarea, .form-stack select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; outline: 0; color: var(--ink); background: #fff; font-size: .73rem; transition: .2s ease; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus { border-color: #a49af0; box-shadow: 0 0 0 4px rgba(119,103,232,.1); }
.password-field { position: relative; }
.password-field input { padding-left: 42px; }
.password-field button { position: absolute; top: 50%; left: 11px; padding: 0; border: 0; color: #9894a1; background: transparent; transform: translateY(-50%); }
.account-welcome { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.account-avatar { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; color: #fff; background: var(--purple); font-weight: 900; }
.account-welcome div { display: flex; flex-direction: column; }
.account-welcome strong { font-size: .85rem; }
.account-welcome small { color: var(--ink-soft); font-size: .65rem; direction: ltr; text-align: right; }
.account-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.account-actions button, .account-actions a { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 0; border-radius: 14px; color: var(--ink); background: #fff; font-size: .74rem; text-align: right; }
.account-actions button:hover, .account-actions a:hover { color: var(--purple); background: var(--purple-light); }
.account-actions button:last-child { color: #be5e69; }
.account-actions i { font-size: 1rem; }
.payment-note { display: flex; gap: 10px; padding: 13px 14px; border-radius: 14px; color: var(--success); background: #e7f4ed; }
.payment-note i { font-size: 1.3rem; }
.payment-note div { display: flex; flex-direction: column; }
.payment-note strong { font-size: .7rem; }
.payment-note span { font-size: .6rem; }
.checkout-summary { height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.checkout-summary h5 { margin: 0 0 13px; font-size: .78rem; font-weight: 900; }
.checkout-item { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f0eef1; color: var(--ink-soft); font-size: .64rem; }
.checkout-item strong { color: var(--ink); font-size: .66rem; white-space: nowrap; }
.checkout-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 15px; }
.checkout-total span { color: var(--ink-soft); font-size: .67rem; }
.checkout-total strong { font-size: .95rem; font-weight: 900; }

.product-detail-modal { overflow: hidden; border: 0; border-radius: 25px; background: var(--cream); }
.product-modal-close { position: absolute; z-index: 4; top: 19px; left: 19px; padding: 10px; border-radius: 50%; background-color: rgba(255,255,255,.86); opacity: 1; }
.product-detail-image { min-height: 435px; height: 100%; object-fit: cover; }
.product-detail-copy { padding: 45px 32px 32px; }
.product-detail-copy h3 { margin: 9px 0; font-size: 1.7rem; font-weight: 900; }
.product-detail-copy p { color: var(--ink-soft); font-size: .78rem; line-height: 2; }
.note-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.note-chip { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: #fff; font-size: .62rem; }
.product-detail-price { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.product-detail-price strong { color: var(--purple); font-size: 1.3rem; font-weight: 900; }
.product-detail-price del { color: #a29da9; font-size: .7rem; }

.quantity-modal { border: 0; border-radius: 27px; background: var(--cream); }
.quantity-modal .modal-header { padding: 28px 30px 10px; }
.quantity-modal .modal-body { padding: 12px 30px 30px; }
.quantity-product-preview { display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.quantity-product-image { width: 58px; height: 64px; flex: 0 0 auto; overflow: hidden; border-radius: 12px; background: #edeafa; }
.quantity-product-image img { width: 100%; height: 100%; object-fit: cover; }
.quantity-product-preview div:last-child { display: flex; flex-direction: column; gap: 2px; }
.quantity-product-preview strong { font-size: .83rem; font-weight: 900; }
.quantity-product-preview span { color: var(--ink-soft); font-size: .62rem; }
.quantity-help { margin: 20px 0 13px; color: var(--ink-soft); font-size: .7rem; line-height: 1.9; }
.quantity-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.quantity-options button { padding: 11px 6px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; font-size: .72rem; font-weight: 800; transition: .2s ease; }
.quantity-options button:hover { border-color: var(--purple); color: #fff; background: var(--purple); transform: translateY(-2px); }

.mobile-bottom-nav { display: none; }

.invoice-box { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.invoice-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.invoice-brand { display: flex; flex-direction: column; }
.invoice-brand strong { font-size: 1.15rem; font-weight: 900; }
.invoice-brand small { color: var(--purple); font-size: .58rem; letter-spacing: .12em; }
.invoice-number { color: var(--ink-soft); font-size: .68rem; text-align: left; }
.invoice-number strong { display: block; color: var(--ink); font-size: .78rem; }
.invoice-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 17px 0; }
.invoice-meta div { display: flex; flex-direction: column; gap: 2px; }
.invoice-meta span { color: #96919d; font-size: .59rem; }
.invoice-meta strong { font-size: .69rem; }
.invoice-table { width: 100%; margin-bottom: 15px; border-collapse: collapse; font-size: .66rem; }
.invoice-table th { padding: 9px 5px; color: #97929e; border-bottom: 1px solid var(--line); font-size: .6rem; font-weight: 600; text-align: right; }
.invoice-table td { padding: 11px 5px; border-bottom: 1px solid #f1eff3; }
.invoice-table td:last-child, .invoice-table th:last-child { text-align: left; }
.invoice-total-row { display: flex; align-items: center; justify-content: space-between; padding-top: 7px; }
.invoice-total-row span { color: var(--ink-soft); font-size: .7rem; }
.invoice-total-row strong { color: var(--purple); font-size: 1.1rem; }
.invoice-note { margin-top: 17px; padding: 10px 12px; border-radius: 10px; color: var(--ink-soft); background: var(--cream); font-size: .6rem; }

.order-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: 0; }
.order-row-main { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.order-row-main strong { font-size: .75rem; }
.order-row-main small { color: var(--ink-soft); font-size: .6rem; }
.order-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.order-row-side strong { color: var(--purple); font-size: .7rem; }
.status-pill { padding: 3px 8px; border-radius: 999px; color: #fff; background: var(--purple); font-size: .57rem; }
.status-pill.pending { color: #805d13; background: #fff0c8; }
.status-pill.confirmed { color: #27734e; background: #dff4e8; }

.toast-container { z-index: 1080; }
.omid-toast { display: flex; align-items: center; gap: 10px; min-width: 260px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); background: #fff; font-size: .72rem; }
.omid-toast i { color: var(--success); font-size: 1.15rem; }
.omid-toast.error i { color: #c55e6b; }

@media (max-width: 991.98px) {
    .site-header { padding: 17px 0; }
    .navbar-collapse { margin-top: 15px; padding: 13px 17px 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(24,23,37,.94); backdrop-filter: blur(15px); }
    .navbar-nav { gap: 7px !important; }
    .nav-link.active::after { right: auto; width: 25px; }
    .header-actions { justify-content: flex-start; }
    .hero-section { min-height: auto; padding-top: 145px; }
    .hero-product-stage { min-height: 430px; }
    .story-visual { max-width: 520px; margin: 0 auto; }
    .notes-intro { padding-right: 0; }
}

@media (max-width: 767.98px) {
    body { padding-bottom: 75px; }
    .hero-section { padding-bottom: 65px; }
    .hero-section h1 { font-size: 2.75rem; }
    .hero-product-stage { min-height: 370px; margin-top: 13px; transform: scale(.88); transform-origin: center top; }
    .hero-bottle { right: 31%; }
    .note-top { left: 0; }
    .note-bottom { right: 0; }
    .hero-stage-label { font-size: 3.6rem; }
    .trust-item { justify-content: flex-start; }
    .trust-strip .col-md-4 + .col-md-4 { margin-top: 4px; }
    .section-pad { padding: 78px 0; }
    .section-heading h2, .story-section h2, .notes-intro h2 { font-size: 2.45rem; }
    .category-tabs { width: 100%; justify-content: space-between; }
    .category-tab { padding: 8px 11px; }
    .notes-grid { grid-template-columns: 1fr; }
    .note-panel, .note-panel.active { min-height: 200px; transform: none; }
    .newsletter-card { align-items: flex-start; flex-direction: column; padding: 35px 25px; gap: 25px; }
    .newsletter-card h2 { font-size: 2.2rem; }
    .newsletter-form { width: 100%; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .product-detail-image { min-height: 300px; }
    .product-detail-copy { padding: 28px 24px 25px; }
    .invoice-meta { grid-template-columns: 1fr; }
    .site-header { padding: 13px 0; }
    .brand-icon { width: 35px; height: 35px; border-radius: 11px; }
    .brand-mark strong { font-size: .93rem; }
    .brand-mark small { font-size: .49rem; }
    .account-button { padding: 0 9px; }
    .account-name-label { max-width: 86px; }
    .cart-button span { display: none; }
    .cart-button { padding: 8px; }
    .mobile-bottom-nav { position: fixed; z-index: 1040; right: 12px; bottom: 11px; left: 12px; display: flex; align-items: stretch; justify-content: space-around; padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 23px; background: rgba(23, 22, 33, .94); box-shadow: 0 16px 45px rgba(18,15,35,.28); backdrop-filter: blur(18px); }
    .mobile-nav-item { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: center; gap: 2px; padding: 7px 3px; border: 0; border-radius: 16px; color: rgba(255,255,255,.5); background: transparent; font-size: .57rem; }
    .mobile-nav-item i { font-size: 1.05rem; line-height: 1; }
    .mobile-nav-item.active { color: #fff; background: rgba(119,103,232,.28); }
    .mobile-nav-item.active i { color: var(--gold); }
    .mobile-nav-cart b { position: absolute; top: 1px; right: calc(50% - 21px); display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); font-size: .52rem; }
    .quantity-options { grid-template-columns: repeat(2, 1fr); }
    .quantity-modal .modal-header, .quantity-modal .modal-body { padding-right: 22px; padding-left: 22px; }
}

@media print {
    body * { visibility: hidden !important; }
    #printInvoiceArea, #printInvoiceArea * { visibility: visible !important; }
    #printInvoiceArea { position: absolute; top: 0; right: 0; left: 0; padding: 20px; }
}

.featured-section { background: linear-gradient(180deg, var(--cream) 0%, #f3f0fb 100%); }
.shop-section { background: #fff; }
.shop-section-copy { max-width: 540px; margin: 14px 0 0; font-size: .82rem; }
.shop-grid { align-items: stretch; }
.shop-card-col { display: flex; }
.shop-card-col .product-card { width: 100%; min-height: 100%; }
.shop-card-col .product-image-wrap { height: 270px; }
.shop-pagination { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; margin-top: 36px; }
.shop-pagination:not(.has-pages) { margin-top: 0; }
.pagination-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-soft); background: var(--paper); font-size: .72rem; transition: .2s ease; }
.pagination-button:hover:not(:disabled) { color: #fff; border-color: var(--purple); background: var(--purple); transform: translateY(-2px); }
.pagination-button.active { color: #fff; border-color: var(--ink); background: var(--ink); box-shadow: 0 8px 18px rgba(23,23,33,.16); }
.pagination-button:disabled { cursor: not-allowed; opacity: .38; }
.pagination-arrow { font-size: .92rem; }

@media (max-width: 991.98px) {
    .site-header { padding: 11px 0; }
    .hero-section { padding-top: 105px; }
}

@media (max-width: 767.98px) {
    .hero-section { min-height: auto; padding-top: 82px; }
    .shop-section-copy { font-size: .76rem; }
    .shop-card-col .product-image-wrap { height: 245px; }
    .shop-pagination { gap: 5px; margin-top: 27px; }
    .pagination-button { width: 34px; height: 34px; border-radius: 10px; }
}

/* Final responsive and readability pass */
html, body { max-width: 100%; overflow-x: hidden; }
body { font-size: 1.03rem; }
.site-header { padding: 9px 0; }
.nav-link, .account-name-label, .cart-button, .category-tab, .product-card p, .product-meta, .add-cart-button, .section-copy, .footer-contact, .payment-note, .checkout-item, .quantity-help { font-size: .9rem; }
.brand-icon, .icon-button, .cart-button, .account-button, .trust-item, .payment-note, .add-cart-button, .product-wishlist, .mobile-nav-item, .table-action, .admin-nav a, .panel-link, .stat-card, .invoice-pickup { align-items: center; }
.brand-icon, .icon-button, .product-wishlist, .table-action { display: inline-grid; place-items: center; line-height: 1; }
.cart-button, .account-button, .trust-item, .payment-note, .add-cart-button, .mobile-nav-item, .admin-nav a, .panel-link, .stat-card, .invoice-pickup { display: inline-flex; }
.cart-button i, .account-button i, .add-cart-button i, .payment-note i, .invoice-pickup i, .mobile-nav-item i { line-height: 1; }
.product-swiper { width: 100%; min-width: 0; overflow: hidden; }
.product-swiper .swiper-wrapper { align-items: stretch; }
.product-swiper .swiper-slide { display: flex; width: auto; min-width: 0; box-sizing: border-box; }
.product-swiper .swiper-slide .product-card { width: 100%; min-width: 0; }
.shop-grid { width: 100%; min-width: 0; margin-right: 0; margin-left: 0; }
.shop-card-col { min-width: 0; }
.shop-card-col .product-card { min-width: 0; }
.product-card h3 { font-size: 1.03rem; }
.product-price strong { font-size: 1rem; }
.shop-pagination { flex-wrap: wrap; }
.newsletter-card, .section-heading, .invoice-head, .invoice-meta, .invoice-items-title { min-width: 0; }
.newsletter-card > *, .section-heading > *, .invoice-head > *, .invoice-meta > *, .invoice-items-title > * { min-width: 0; }
.invoice-modern { padding: 28px; border: 1px solid #e5def9; border-radius: 28px; background: #fff; box-shadow: 0 18px 55px rgba(53,37,100,.12); }
.invoice-modern .invoice-ribbon { display: flex; align-items: center; justify-content: space-between; color: var(--purple); font-size: .68rem; letter-spacing: .12em; }
.invoice-modern .invoice-ribbon strong { color: var(--ink); font-size: 1.45rem; letter-spacing: 0; }
.invoice-modern .invoice-head { align-items: center; margin-top: 23px; padding-bottom: 22px; border-bottom: 1px dashed #ded8ef; }
.invoice-modern .invoice-brand { flex-direction: row; align-items: center; gap: 11px; }
.invoice-brand-mark { display: grid; width: 44px; height: 44px; place-items: center; flex: 0 0 auto; border-radius: 15px; color: #fff; background: var(--purple); font-size: 1.3rem; }
.invoice-modern .invoice-brand strong { font-size: 1.3rem; }
.invoice-modern .invoice-brand small { display: block; margin-top: 4px; color: #9a91ad; font-size: .68rem; }
.invoice-modern .invoice-number span, .invoice-modern .invoice-number small { display: block; color: #9992a8; font-size: .68rem; }
.invoice-modern .invoice-number strong { display: block; margin: 5px 0; color: var(--ink); font-size: .9rem; }
.invoice-modern .invoice-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; padding: 0; }
.invoice-modern .invoice-meta div { min-width: 0; padding: 13px; border-radius: 15px; background: #faf8ff; }
.invoice-modern .invoice-meta span { display: block; color: #9992a8; font-size: .62rem; }
.invoice-modern .invoice-meta strong { display: block; overflow-wrap: anywhere; margin-top: 6px; font-size: .78rem; }
.invoice-pickup { gap: 13px; margin: 18px 0; padding: 15px; border: 1px solid #e7dffb; border-radius: 17px; color: #45386e; background: #f8f5ff; }
.invoice-pickup div { min-width: 0; }
.invoice-pickup span, .invoice-pickup small { display: block; color: #8e87a0; font-size: .63rem; }
.invoice-pickup strong { display: block; margin: 3px 0; font-size: .85rem; }
.invoice-items-title { display: flex; justify-content: space-between; margin: 24px 0 9px; }
.invoice-items-title span { font-size: .92rem; font-weight: 800; }
.invoice-items-title small { color: #9a91ad; font-size: .64rem; }
.invoice-modern .invoice-table { margin-bottom: 15px; font-size: .72rem; }
.invoice-modern .invoice-table th, .invoice-modern .invoice-table td { padding: 13px 8px; }
.invoice-modern .invoice-table td strong, .invoice-modern .invoice-table td small { display: block; }
.invoice-modern .invoice-table td strong { font-size: .78rem; }
.invoice-modern .invoice-table td small { margin-top: 3px; color: #a39caf; font-size: .63rem; }
.invoice-modern .invoice-total-row { margin-top: 21px; padding-top: 17px; border-top: 2px solid var(--ink); }
.invoice-modern .invoice-total-row strong { font-size: 1.35rem; }
.invoice-modern .invoice-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; padding: 13px; border-radius: 13px; color: #777087; background: #faf8ff; font-size: .65rem; }
.invoice-modern .invoice-note i { color: #c19a4e; }

@media (max-width: 767.98px) {
    .site-header { padding: 8px 0; }
    .invoice-modern { padding: 19px; border-radius: 22px; }
    .invoice-modern .invoice-ribbon strong { font-size: 1.15rem; }
    .invoice-modern .invoice-head { align-items: flex-start; flex-direction: column; }
    .invoice-modern .invoice-number { width: 100%; text-align: right; }
    .invoice-modern .invoice-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .invoice-modern .invoice-table { display: block; overflow-x: auto; white-space: nowrap; }
    .invoice-modern .invoice-table th, .invoice-modern .invoice-table td { min-width: 95px; }
    .invoice-modern .invoice-table th:first-child, .invoice-modern .invoice-table td:first-child { min-width: 155px; }
}

/* Final storefront visual pass */
body {
    background:
        radial-gradient(circle at 8% 6%, rgba(119, 103, 232, .18), transparent 27%),
        radial-gradient(circle at 96% 38%, rgba(80, 63, 139, .14), transparent 30%),
        linear-gradient(135deg, #d6d2e2 0%, #f1eff5 47%, #cbc6da 100%);
}

.site-header {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    padding: 10px 0;
    background: linear-gradient(115deg, rgba(22, 22, 36, .98), rgba(45, 35, 76, .96));
    backdrop-filter: none;
}

.hero-section { padding-top: 68px; }
.products-section, .featured-section, .shop-section, .story-section, .notes-section, .newsletter-section { background: transparent; }

.product-swiper { padding-right: 6px; padding-left: 6px; overflow: hidden; }
.product-swiper .swiper-wrapper { align-items: stretch; }
.product-swiper .swiper-slide { box-sizing: border-box; height: auto; flex-shrink: 0; }

.product-card {
    border-color: rgba(93, 77, 149, .18);
    background: linear-gradient(145deg, #ffffff 0%, #f7f5fc 56%, #ebe7f7 100%);
    box-shadow: 0 18px 42px rgba(46, 36, 88, .13), inset 0 1px 0 rgba(255,255,255,.9);
}
.product-card-body { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(244,241,252,.88)); }
.product-image-wrap { background: linear-gradient(145deg, #eeeaf5, #d8d2e8); }
.product-image { object-position: center center; }
.shop-card-col .product-card { min-height: 100%; }

.product-detail-modal {
    overflow: hidden;
    border: 1px solid rgba(119, 103, 232, .18);
    border-radius: 30px;
    background: linear-gradient(145deg, #fff 0%, #f8f6fd 58%, #ebe7f8 100%);
    box-shadow: 0 30px 80px rgba(34, 25, 75, .25);
}
.product-detail-media {
    position: relative;
    height: 100%;
    min-height: 435px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 18%, rgba(255,255,255,.85), transparent 28%), linear-gradient(145deg, #e8e3f5, #c1b7e1 58%, #7767a9);
}
.product-detail-media::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(24, 18, 53, .28));
    content: '';
    pointer-events: none;
}
.product-detail-media.image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 18%, rgba(255,255,255,.75), transparent 28%), linear-gradient(145deg, #e5defb, #aaa1d8 52%, #4d416e);
}
.product-detail-media.image-fallback::before {
    display: flex;
    width: 135px;
    height: 185px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 25px 25px 16px 16px;
    color: rgba(255,255,255,.87);
    background: linear-gradient(135deg, rgba(255,255,255,.43), rgba(69,45,131,.67));
    box-shadow: inset 9px 0 16px rgba(255,255,255,.15), 15px 20px 28px rgba(42,32,78,.25);
    content: 'OMID';
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: .17em;
}
.product-detail-media .product-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 435px;
    object-fit: cover;
    object-position: center center;
}
.product-detail-copy {
    height: 100%;
    padding: 45px 34px 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(247,244,253,.92));
}
.product-detail-copy .eyebrow { color: var(--purple); }
.product-detail-copy p { max-width: 44rem; }
.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 18px;
    padding: 7px 11px;
    border: 1px solid #dcd5f5;
    border-radius: 999px;
    color: #5e5196;
    background: #f5f2ff;
    font-size: .66rem;
    font-weight: 800;
}
.product-detail-stock i { color: var(--purple); }

.invoice-modern {
    position: relative;
    overflow: hidden;
    border-color: rgba(119, 103, 232, .2);
    background: linear-gradient(145deg, #ffffff 0%, #faf8ff 56%, #f0ecff 100%);
    box-shadow: 0 24px 65px rgba(53, 37, 100, .16), inset 0 1px 0 rgba(255,255,255,.95);
}
.invoice-modern::before {
    position: absolute;
    top: -130px;
    left: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(119, 103, 232, .12);
    content: '';
    pointer-events: none;
}
.invoice-modern > * { position: relative; z-index: 1; }
.invoice-modern .invoice-ribbon { padding-bottom: 4px; }
.invoice-modern .invoice-ribbon span { font-weight: 900; letter-spacing: .18em; }
.invoice-modern .invoice-head { margin-top: 20px; padding-bottom: 24px; border-color: #dcd4f1; }
.invoice-modern .invoice-brand-mark { background: linear-gradient(145deg, #8879f2, #5542bf); box-shadow: 0 10px 20px rgba(119,103,232,.28); }
.invoice-modern .invoice-meta div { border: 1px solid #e8e2f5; background: rgba(255,255,255,.75); box-shadow: 0 8px 20px rgba(52,39,103,.05); }
.invoice-modern .invoice-pickup { border-color: #ddd4f8; background: linear-gradient(110deg, #f4f0ff, #fbfaff); box-shadow: 0 8px 22px rgba(77,61,142,.06); }
.invoice-modern .invoice-table { border-collapse: separate; border-spacing: 0 8px; }
.invoice-modern .invoice-table th { padding-top: 4px; border: 0; }
.invoice-modern .invoice-table td { border-top: 1px solid #ece8f7; border-bottom: 1px solid #ece8f7; background: rgba(255,255,255,.82); }
.invoice-modern .invoice-table td:first-child { border-right: 1px solid #ece8f7; border-radius: 0 13px 13px 0; }
.invoice-modern .invoice-table td:last-child { border-left: 1px solid #ece8f7; border-radius: 13px 0 0 13px; }
.invoice-modern .invoice-total-row { margin-top: 18px; padding: 17px 19px; border: 1px solid #dcd4f4; border-radius: 18px; background: linear-gradient(110deg, #f1edff, #fbfaff); }
.invoice-modern .invoice-total-row strong { color: #5b4bd0; }
.invoice-modern .invoice-note { border: 1px solid #e9e2f6; background: rgba(255,255,255,.7); }
.invoice-status { display: inline-flex !important; width: fit-content; align-items: center; margin-top: 5px; padding: 4px 9px; border-radius: 999px; font-size: .65rem !important; }

@media (max-width: 991.98px) {
    .hero-section { padding-top: 66px; }
}

@media (max-width: 767.98px) {
    .hero-section { padding-top: 52px; }
    .product-detail-media, .product-detail-media .product-detail-image { min-height: 290px; }
    .product-detail-copy { padding: 29px 24px 25px; }
    .invoice-modern .invoice-table { margin-right: -4px; margin-left: -4px; }
}

/* Final typography, controls and carousel pass */
html { font-size: 17px; }
.site-header {
    position: sticky;
    z-index: 1030;
    top: 0;
    right: 0;
    left: 0;
}
i[class^="bi-"], i[class*=" bi-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}
button i, a i { flex: 0 0 auto; }

.product-scent-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--purple) !important;
    font-size: .78em !important;
    white-space: nowrap;
}
.product-scent-type i, .product-stock-label i { font-size: .95em; }
.product-stock-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    color: #8d8898;
    font-size: .72rem;
}
.product-stock-label i { color: var(--purple); }
.product-detail-stock { flex-wrap: wrap; }
.product-detail-stock b { color: #aaa4b7; font-weight: 700; }

.form-stack select,
.admin-editor-modal select,
.admin-filter-select,
.admin-status-select,
.settings-grid select {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 38px !important;
    background-color: #fff !important;
    background-image: linear-gradient(45deg, transparent 50%, var(--purple) 50%), linear-gradient(135deg, var(--purple) 50%, transparent 50%) !important;
    background-position: left 17px center, left 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 6px 6px, 6px 6px !important;
    direction: rtl;
    text-align: right;
}

.product-swiper .swiper-slide { display: flex; width: 100%; min-width: 0; }
.product-swiper.swiper-fallback .swiper-wrapper {
    display: flex;
    gap: 21px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--purple) rgba(119,103,232,.12);
    scrollbar-width: thin;
    transform: none !important;
}
.product-swiper.swiper-fallback .swiper-slide {
    flex: 0 0 calc((100% - 63px) / 4);
    width: calc((100% - 63px) / 4);
    scroll-snap-align: start;
}
.product-swiper.swiper-fallback .swiper-pagination { display: none; }

@media (max-width: 991.98px) {
    .product-swiper.swiper-fallback .swiper-slide {
        flex-basis: calc((100% - 42px) / 3);
        width: calc((100% - 42px) / 3);
    }
}

@media (max-width: 767.98px) {
    .product-swiper.swiper-fallback .swiper-slide {
        flex-basis: calc((100% - 17px) / 2);
        width: calc((100% - 17px) / 2);
    }
    .mobile-bottom-nav {
        right: 10px;
        bottom: 9px;
        left: 10px;
        padding: 9px;
        border-radius: 27px;
        border-color: rgba(176, 160, 255, .28);
        background: linear-gradient(115deg, rgba(20,19,34,.98), rgba(60,44,105,.97));
        box-shadow: 0 18px 48px rgba(18,15,35,.38), inset 0 1px 0 rgba(255,255,255,.1);
    }
    .mobile-nav-item {
        gap: 4px;
        padding: 9px 4px;
        border-radius: 18px;
        font-size: .68rem;
        font-weight: 700;
    }
    .mobile-nav-item i { width: 30px; height: 27px; font-size: 1.28rem; }
    .mobile-nav-item.active { background: linear-gradient(145deg, rgba(135,119,244,.42), rgba(93,71,178,.34)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
    .mobile-nav-cart b { top: 0; right: calc(50% - 23px); width: 21px; height: 21px; font-size: .6rem; }
}

@media (max-width: 575.98px) {
    .product-swiper.swiper-fallback .swiper-slide {
        flex-basis: 100%;
        width: 100%;
    }
}

/* Final layout, modal focus and readability pass */
html { font-size: 18px; }
body { font-size: 1.04rem; }
html, body { overflow-x: clip; }

.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    right: 0;
    left: 0;
    z-index: 1030;
    padding: 7px 0;
    isolation: isolate;
}

.hero-section {
    min-height: 0;
    padding: 34px 0 38px;
}
.hero-section .row { --bs-gutter-y: 1.25rem; }
.hero-section h1 { margin-top: 10px; margin-bottom: 12px; }
.hero-copy { margin-bottom: 20px; }
.hero-product-stage { min-height: 430px; }

.section-pad { padding: 60px 0; }
.trust-strip { padding: 19px 0; }
.section-heading h2, .story-section h2, .notes-intro h2, .newsletter-card h2 { margin-top: 0; margin-bottom: 12px; }
.featured-section .product-swiper { margin-top: 23px !important; }
.featured-section > .container > .d-flex { margin-top: 14px !important; }
.shop-section-copy { margin-top: 9px; }
.shop-pagination { margin-top: 22px; }

.custom-featured-pagination {
    display: flex !important;
    min-height: 15px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 7px;
}
.custom-featured-pagination[hidden] { display: none !important; }
.product-swiper.swiper-fallback .custom-featured-pagination { display: none !important; }
.custom-featured-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 !important;
    border: 0;
    border-radius: 50%;
    opacity: .42;
    background: var(--purple);
    transition: transform .2s ease, opacity .2s ease, width .2s ease;
}
.custom-featured-pagination .swiper-pagination-bullet:hover { opacity: .8; }
.custom-featured-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    opacity: 1;
    background: var(--purple);
}

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}
html.modal-scroll-locked,
body.modal-scroll-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
}
body.modal-open > *:not(.modal):not(.modal-backdrop):not(.swal2-container) {
    filter: blur(7px);
    transition: filter .2s ease;
}
body.modal-open .modal,
body.modal-open .modal-backdrop,
body.modal-open .swal2-container,
body.modal-open .swal2-container * { filter: none; }
.swal2-container {
    z-index: 2000 !important;
    filter: none !important;
}
.swal2-container * { filter: none !important; }
.modal-backdrop {
    z-index: 1040;
    background: rgba(15, 13, 28, .72);
    backdrop-filter: blur(3px);
}
.modal { z-index: 1050; }

@media (max-width: 991.98px) {
    .hero-section { padding-top: 28px; }
    .hero-product-stage { min-height: 375px; }
}

@media (max-width: 767.98px) {
    html { font-size: 17.5px; }
    body { font-size: 1.03rem; }
    .site-header { padding: 6px 0; }
    .hero-section { padding: 22px 0 30px; }
    .hero-product-stage { min-height: 345px; margin-top: 0; }
    .section-pad { padding: 43px 0; }
    .featured-section .product-swiper { margin-top: 18px !important; }
    .featured-section > .container > .d-flex { margin-top: 10px !important; }
    .custom-featured-pagination { gap: 6px; }
    .custom-featured-pagination .swiper-pagination-bullet { width: 8px; height: 8px; }
    .custom-featured-pagination .swiper-pagination-bullet-active { width: 20px; }
}

/* Full-width product purchase action */
.product-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
}
.product-price {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.product-price strong { white-space: nowrap; }
.product-price .price-unit { margin-right: 0; }
.product-price del { margin-right: auto; }
.add-cart-button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    white-space: normal;
    line-height: 1.5;
}

/* Compact product cards with image information chips */
.product-card { min-height: 390px; }
.product-image-wrap,
.shop-card-col .product-image-wrap { height: 218px; }
.product-card-body { padding: 16px 18px 15px; }
.product-card h3 { margin-top: 6px; margin-bottom: 5px; }
.product-card p { min-height: 36px; line-height: 1.75; }
.product-footer { padding-top: 12px; }
.product-image-overlay {
    position: absolute;
    z-index: 3;
    right: 11px;
    bottom: 11px;
    left: 11px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}
.image-overlay-chip {
    display: inline-flex !important;
    min-height: 29px;
    align-items: center;
    gap: 5px;
    margin-top: 0 !important;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff !important;
    background: rgba(22, 17, 43, .68);
    box-shadow: 0 8px 18px rgba(18, 13, 39, .2);
    backdrop-filter: blur(10px);
    font-size: .66rem !important;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}
.image-overlay-chip i { color: #e4c27d !important; font-size: .8rem; }

@media (max-width: 767.98px) {
    .product-card { min-height: 360px; }
    .product-image-wrap,
    .shop-card-col .product-image-wrap { height: 185px; }
    .product-card-body { padding: 14px 15px 14px; }
    .product-image-overlay { right: 8px; bottom: 8px; left: 8px; gap: 5px; }
    .image-overlay-chip { min-height: 27px; padding: 4px 7px; font-size: .61rem !important; }
}

/* Compact storefront header */
.site-header {
    padding: 4px 0 !important;
}
.site-header .navbar { min-height: 42px; }
.site-header .brand-mark { gap: 7px; }
.site-header .brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: .9rem;
}
.site-header .brand-mark strong { font-size: .9rem; }
.site-header .brand-mark small { font-size: .45rem; letter-spacing: .14em; }
.site-header .nav-link {
    padding: 4px 1px !important;
    font-size: .76rem;
}
.site-header .header-actions { gap: 5px !important; }
.site-header .account-button {
    height: 32px;
    gap: 5px;
    padding: 0 8px;
}
.site-header .account-button i { font-size: .86rem; }
.site-header .account-name-label { max-width: 100px; font-size: .63rem; }
.site-header .cart-button {
    gap: 5px;
    padding: 5px 6px 5px 8px;
    font-size: .7rem;
}
.site-header .cart-button b {
    width: 20px;
    height: 20px;
    font-size: .62rem;
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin-top: 8px;
        padding: 9px 12px 12px;
    }
}

/* Refined storefront product and quantity modals */
#productModal .modal-dialog { max-width: 980px; }
.product-detail-modal {
    overflow: hidden;
    border: 1px solid rgba(119, 103, 232, .24);
    border-radius: 32px;
    background: #f7f4fd;
    box-shadow: 0 34px 100px rgba(25, 18, 62, .32);
}
.product-detail-modal .modal-body { background: linear-gradient(135deg, #f8f6ff 0%, #eeeaf9 100%); }
.product-detail-modal .row { min-height: 480px; }
.product-modal-close {
    top: 18px;
    left: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 14px;
    background-color: rgba(255,255,255,.86);
    background-size: 12px;
    box-shadow: 0 10px 25px rgba(35, 25, 83, .16);
    backdrop-filter: blur(12px);
    opacity: 1;
    transition: transform .2s ease, background-color .2s ease;
}
.product-modal-close:hover { background-color: #fff; transform: rotate(7deg) scale(1.04); }
.product-detail-media {
    min-height: 480px;
    background: radial-gradient(circle at 22% 14%, rgba(255,255,255,.96), transparent 27%), linear-gradient(145deg, #e7e2f7 0%, #b7abdc 57%, #62518c 100%);
}
.product-detail-media:not(.image-fallback)::before {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: rgba(255,255,255,.92);
    background: rgba(30, 22, 64, .28);
    content: 'عطر امید';
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .08em;
    backdrop-filter: blur(10px);
}
.product-detail-media .product-detail-image {
    min-height: 480px;
    object-position: center center;
    filter: saturate(1.04) contrast(1.02);
}
.product-detail-copy {
    display: flex;
    min-height: 480px;
    flex-direction: column;
    padding: 52px 42px 38px;
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(246,243,253,.96));
}
.product-detail-copy h3 { margin: 11px 0 12px; color: #211b35; font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.25; }
.product-detail-copy p { margin-bottom: 4px; color: #77718a; font-size: .86rem; line-height: 2.05; }
.product-detail-stock {
    margin-bottom: 20px;
    border-color: #ded6fb;
    color: #5d4d9b;
    background: linear-gradient(135deg, #f8f5ff, #eeeaff);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.note-list { gap: 9px; margin: 22px 0 25px; }
.note-chip { padding: 8px 12px; border-color: #e2dcf1; color: #6f6880; background: rgba(255,255,255,.86); font-size: .68rem; box-shadow: 0 5px 14px rgba(59,43,110,.05); }
.note-chip i { margin-left: 3px; color: var(--purple); }
.product-detail-price {
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 18px;
    padding: 15px 17px;
    border: 1px solid #e1daf5;
    border-radius: 17px;
    background: linear-gradient(135deg, #faf8ff, #eeeafd);
}
.product-detail-price strong { font-size: 1.32rem; }
.product-detail-price del { font-size: .76rem; }
.product-detail-copy > .btn { min-height: 52px; width: 100%; box-shadow: 0 13px 25px rgba(119,103,232,.22); }
.quantity-modal {
    border: 1px solid rgba(119,103,232,.2);
    background: linear-gradient(145deg, #fff, #f3effc);
    box-shadow: 0 30px 85px rgba(34,25,75,.28);
}
.quantity-product-preview { border-color: #e0daf0; background: rgba(255,255,255,.88); box-shadow: 0 8px 20px rgba(48,35,95,.06); }
.quantity-options button { min-height: 48px; border-color: #e1dbef; background: rgba(255,255,255,.9); box-shadow: 0 7px 16px rgba(48,35,95,.05); }
.quantity-options button:focus-visible { outline: 3px solid rgba(119,103,232,.22); outline-offset: 2px; }

/* Consistent visible arrows for storefront selects */
.form-stack select {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 42px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4 4.5-4' fill='none' stroke='%237767e8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat left 14px center !important;
    background-size: 16px 16px !important;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    #productModal .modal-dialog { margin: 12px; }
    .product-detail-modal .row { min-height: 0; }
    .product-detail-media, .product-detail-media .product-detail-image { min-height: 285px; }
    .product-detail-copy { min-height: 0; padding: 34px 24px 25px; }
    .product-detail-copy h3 { font-size: 1.55rem; }
    .product-detail-price { margin-top: 16px; }
}

/* Refined notes guide and fresh-scent subscription section */
.notes-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 12%, rgba(133,112,232,.17), transparent 25%),
        radial-gradient(circle at 0% 86%, rgba(207,167,92,.1), transparent 23%),
        linear-gradient(135deg, #f7f4fc 0%, #ece9f4 100%) !important;
}
.notes-section::before {
    position: absolute;
    top: -170px;
    left: -120px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(119,103,232,.12);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}
.notes-intro {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 36px 30px;
    overflow: hidden;
    border: 1px solid rgba(119,103,232,.16);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(242,238,251,.9));
    box-shadow: 0 18px 45px rgba(48,35,95,.1), inset 0 1px 0 rgba(255,255,255,.9);
}
.notes-intro::after {
    position: absolute;
    right: -58px;
    bottom: -58px;
    width: 175px;
    height: 175px;
    border: 1px dashed rgba(119,103,232,.22);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}
.notes-intro > * { position: relative; z-index: 1; }
.notes-intro h2 { margin-top: 13px; color: #211b35; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.22; }
.notes-intro h2 em { color: var(--purple); font-style: normal; }
.notes-intro p { max-width: 440px; margin: 18px 0 26px; color: #77718a; font-size: .88rem; line-height: 2.1; }
.notes-intro .text-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    border: 1px solid #ddd5f4;
    border-radius: 999px;
    color: #5d4d9b;
    background: rgba(255,255,255,.75);
    font-size: .75rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(59,43,110,.07);
    transition: transform .2s ease, color .2s ease, background-color .2s ease;
}
.notes-intro .text-link:hover { color: #fff; background: var(--purple); transform: translateY(-2px); }
.notes-intro .text-link i { font-size: .9rem; }
.notes-grid { gap: 16px; }
.note-panel {
    min-height: 315px;
    padding: 25px 22px;
    border: 1px solid rgba(119,103,232,.14);
    border-radius: 27px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 14px 35px rgba(48,35,95,.08), inset 0 1px 0 rgba(255,255,255,.95);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.note-panel::before { top: -48px; left: -62px; width: 185px; height: 185px; background: rgba(229,222,255,.64); }
.note-panel::after {
    position: absolute;
    right: 20px;
    top: 24px;
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, var(--purple), transparent);
    content: '';
    opacity: .4;
}
.note-panel:hover { border-color: rgba(119,103,232,.32); box-shadow: 0 22px 45px rgba(48,35,95,.14); transform: translateY(-7px); }
.note-panel.active {
    border-color: transparent;
    background: linear-gradient(145deg, #9180f1 0%, #49358e 100%);
    box-shadow: 0 24px 55px rgba(73,53,142,.3), inset 0 1px 0 rgba(255,255,255,.22);
    transform: translateY(-16px);
}
.note-panel.active:hover { transform: translateY(-20px); }
.note-panel i {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: auto;
    place-items: center;
    border: 1px solid #e5def6;
    border-radius: 18px;
    color: var(--purple);
    background: #f8f5ff;
    box-shadow: 0 10px 22px rgba(59,43,110,.09);
    font-size: 1.45rem;
}
.note-panel.active i { border-color: rgba(255,255,255,.22); color: var(--gold); background: rgba(255,255,255,.12); box-shadow: none; }
.note-panel h3 { margin-bottom: 9px; font-size: 1.08rem; }
.note-panel p { min-height: 54px; margin-bottom: 15px; font-size: .74rem; line-height: 1.95; }
.note-panel small { display: inline-flex; width: fit-content; align-items: center; min-height: 29px; padding: 5px 9px; border: 1px solid #e4def1; border-radius: 999px; color: #8a8498; background: #faf9ff; font-size: .61rem; }
.note-panel.active small { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.72); background: rgba(255,255,255,.1); }

.newsletter-section {
    padding-top: 10px;
    background:
        radial-gradient(circle at 12% 50%, rgba(119,103,232,.13), transparent 24%),
        linear-gradient(135deg, #ece9f4 0%, #f7f4fc 100%) !important;
}
.newsletter-card {
    position: relative;
    min-height: 260px;
    padding: 47px 55px;
    border: 1px solid rgba(196,171,104,.25);
    background: radial-gradient(circle at 13% 24%, rgba(173,155,255,.35), transparent 29%), radial-gradient(circle at 94% 90%, rgba(207,167,92,.16), transparent 27%), linear-gradient(120deg, #151420 0%, #2b234c 64%, #35275a 100%);
    box-shadow: 0 25px 60px rgba(30,22,65,.22), inset 0 1px 0 rgba(255,255,255,.1);
}
.newsletter-card::before {
    position: absolute;
    top: -92px;
    right: 43%;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}
.newsletter-card::after {
    position: absolute;
    right: 32px;
    bottom: 27px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 18px -13px 0 rgba(255,255,255,.35), 36px 2px 0 rgba(255,255,255,.2), 55px -21px 0 rgba(207,167,92,.5);
    content: '';
    opacity: .8;
}
.newsletter-card > * { position: relative; z-index: 1; }
.newsletter-card h2 { max-width: 610px; margin: 11px 0 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; }
.newsletter-card h2 em { display: inline-block; color: var(--gold); text-shadow: 0 7px 20px rgba(207,167,92,.18); }
.newsletter-form { width: min(100%, 420px); padding: 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.newsletter-form label { margin: 0 4px 9px; color: rgba(255,255,255,.72); font-size: .76rem; font-weight: 700; }
.newsletter-form .input-group { min-height: 56px; padding: 5px; border-color: rgba(255,255,255,.2); background: rgba(12,10,25,.28); }
.newsletter-form input { padding: 10px 13px; direction: ltr; text-align: right; font-size: .82rem; }
.newsletter-form button { min-width: 92px; min-height: 44px; justify-content: center; padding: 10px 14px; color: #272039; background: linear-gradient(135deg, #fff, #f0e9ff); box-shadow: 0 9px 20px rgba(0,0,0,.16); transition: transform .2s ease, background-color .2s ease; }
.newsletter-form button:hover { background: #fff; transform: translateY(-2px); }
.newsletter-form small { margin: 10px 4px 0; color: rgba(255,255,255,.48); font-size: .64rem; line-height: 1.7; }

@media (max-width: 991.98px) {
    .notes-intro { padding: 30px 25px; }
    .note-panel.active { transform: translateY(-8px); }
    .newsletter-card { gap: 30px; padding: 40px 38px; }
}

@media (max-width: 767.98px) {
    .notes-intro { min-height: 0; padding: 28px 23px; }
    .notes-intro h2 { font-size: 2.25rem; }
    .notes-grid { gap: 13px; }
    .note-panel, .note-panel.active, .note-panel.active:hover { min-height: 218px; transform: none; }
    .note-panel p { min-height: 0; }
    .newsletter-section { padding-top: 0; }
    .newsletter-card { min-height: 0; align-items: stretch; padding: 31px 22px; gap: 24px; }
    .newsletter-card h2 { font-size: 2.15rem; }
    .newsletter-form { width: 100%; padding: 13px; }
}

/* Smooth mobile navigation, modals and carousel motion */
@media (max-width: 991.98px) {
    .navbar-collapse {
        overflow: hidden;
        will-change: height;
        transition: height .36s cubic-bezier(.22, .61, .36, 1);
    }
    .navbar-collapse.collapsing {
        display: block;
        height: 0;
        transition: height .36s cubic-bezier(.22, .61, .36, 1);
    }
}
.modal.fade .modal-dialog {
    will-change: transform, opacity;
    transition: transform .36s cubic-bezier(.22, .61, .36, 1), opacity .22s ease;
}
#productModal.fade .modal-dialog,
#quantityModal.fade .modal-dialog,
#authModal.fade .modal-dialog {
    transform: translate3d(0, -22px, 0);
}
#productModal.show .modal-dialog,
#quantityModal.show .modal-dialog,
#authModal.show .modal-dialog {
    transform: translate3d(0, 0, 0);
}
.offcanvas {
    will-change: transform;
    transition: transform .36s cubic-bezier(.22, .61, .36, 1);
}
.modal-backdrop.fade { transition: opacity .3s ease; }
body.modal-open > *:not(.modal):not(.modal-backdrop):not(.swal2-container) { will-change: filter; }
.product-swiper { touch-action: pan-y; }
.product-swiper .swiper-wrapper {
    backface-visibility: hidden;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.product-swiper .swiper-slide { backface-visibility: hidden; transform: translateZ(0); }
.product-swiper.swiper-fallback .swiper-wrapper { scroll-behavior: smooth; }

@media (max-width: 767.98px) {
    .newsletter-card {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 29px 18px;
    }
    .newsletter-card > div,
    .newsletter-form { width: 100%; min-width: 0; max-width: none; }
    .newsletter-card h2 { max-width: 100%; font-size: clamp(1.85rem, 8.5vw, 2.25rem); line-height: 1.3; overflow-wrap: anywhere; }
    .newsletter-form { padding: 12px; }
    .newsletter-form .input-group { display: flex; width: 100%; min-width: 0; flex-wrap: nowrap; }
    .newsletter-form input { width: 1%; min-width: 0; flex: 1 1 auto; padding-right: 10px; padding-left: 10px; font-size: .76rem; }
    .newsletter-form button { min-width: 78px; flex: 0 0 auto; padding-right: 10px; padding-left: 10px; font-size: .72rem; }
    .newsletter-form small { display: block; max-width: 100%; }
}

/* Account profile editor */
.profile-modal .modal-body { max-height: min(78vh, 760px); overflow-y: auto; }
.profile-section { padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.72); }
.profile-section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.profile-section-heading > i { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--purple); background: var(--purple-light); font-size: 1.1rem; }
.profile-section-heading div { display: flex; flex-direction: column; gap: 3px; }
.profile-section-heading strong { color: var(--ink); font-size: .82rem; font-weight: 900; }
.profile-section-heading small { color: var(--ink-soft); font-size: .64rem; }
.profile-divider { height: 1px; margin: 18px 0; background: var(--line); }

@media (max-width: 575.98px) {
    .profile-modal .modal-header { padding-right: 20px; padding-left: 20px; }
    .profile-modal .modal-body { padding-right: 20px; padding-left: 20px; }
    .profile-section { padding: 13px; }
}
