/* =====================================================
   فریحا | Farihaa — Luxury Editorial UI
   Visual direction: ivory editorial jewelry + deep black/wine store.
   Persian: Noto Nastaliq Urdu. English/Latin: Cormorant Garamond serif.
   UI only: no commerce/business behavior is defined in this stylesheet.
   ===================================================== */

:root {
    /* Editorial Warm palette — cream/ivory base, pink accents, warm 18K gold for buttons */
    --wine: #D6336C;          /* pink — links, text accents, prices */
    --primary: #D6336C;
    --wine-2: #FF6F9C;        /* pink — secondary decorative accent */
    --wine-3: #FFB3CE;        /* light pink */
    --wine-deep: #A62357;     /* deep pink — link hover */
    --rose-mist: #FFE1EC;     /* pale pink tint — hover backgrounds */
    --gold: #B08D45;          /* warm antique gold — buttons & interactive accent */
    --gold-soft: #D9C293;     /* light gold */
    --gold-deep: #8A6B2E;     /* deep gold — button hover */

    --ink: #241422;
    --ink-2: #3A2836;
    --ivory: #FFFFFF;
    --ivory-2: #FFFFFF;
    --paper: #FFF6F8;
    --card: #FFFFFF;
    --muted: #8b7480;
    --line: #FFDCE6;

    --text: var(--ink);
    --text-muted: var(--muted);
    --bg: var(--ivory);
    --bg-card: var(--card);
    --border: var(--line);
    --brick: var(--wine);
    --brick-dark: var(--wine-deep);
    --brick-light: var(--wine-3);
    --brick-tint: var(--rose-mist);

    --font-fa: 'Vazirmatn', 'Tahoma', sans-serif;
    --font-fa-body: 'Vazirmatn', 'Tahoma', sans-serif;
    --font-en: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

    --radius-xs: 8px;
    --radius: 16px;
    --radius-lg: 26px;
    --radius-arch: 26px;
    --shadow-sm: 0 6px 18px rgba(226, 51, 74, .08);
    --shadow: 0 14px 34px rgba(226, 51, 74, .12);
    --shadow-deep: 0 20px 50px rgba(176, 31, 58, .16);
    --transition: 220ms cubic-bezier(.2,.75,.25,1);
}

/* Self-hosted Vazirmatn — used for body copy; headings keep Nastaliq */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 4%, rgba(255,111,156,.10), transparent 26rem),
        radial-gradient(circle at 92% 14%, rgba(176,141,69,.06), transparent 24rem),
        var(--bg);
    color: var(--text);
    font-family: var(--font-fa-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--wine); color: #fff; }
img { max-width: 100%; }
a { color: var(--wine); text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--wine-deep); }

/* Explicit Latin/English treatment */
[lang="en"], .lang-en, .en-serif, .eyebrow,
.product-price, .old-price, .stat-num,
input[type="email"], input[name="slug"], input[name="link"] {
    font-family: var(--font-en) !important;
}

h1, h2, h3, h4, h5, h6,
.display-font, .section-title, .footer-title, .logo-text {
    font-family: var(--font-fa);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.85;
}

p, li, label, button, input, select, textarea { font-family: inherit; }
.text-muted { color: var(--text-muted) !important; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--wine);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

/* ======================== top bar ======================== */
.top-bar {
    background: #241422;
    color: #FFE1EC;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .88rem;
}
.top-bar a { color: #FFE1EC; opacity: .9; }
.top-bar a:hover { color: #fff; opacity: 1; }

/* ======================== header ======================== */
.main-header {
    background: rgba(247,239,229,.94);
    border-bottom: 1px solid rgba(226,51,74,.12);
    box-shadow: 0 6px 24px rgba(26,14,12,.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.navbar { min-height: 78px; }
.navbar-brand {
    min-width: 126px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
.logo-img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 48px;
    object-fit: contain;
}
.logo-text {
    color: var(--wine);
    font-size: 2rem;
    line-height: 1.2;
}
.navbar-toggler { color: var(--ink); box-shadow: none !important; }
.navbar-nav { gap: .25rem; }
.navbar-nav .nav-link {
    color: var(--ink) !important;
    position: relative;
    padding: .6rem .9rem !important;
    font-size: .98rem;
    font-weight: 600;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 50%;
    width: 0;
    height: 1px;
    background: var(--wine);
    transform: translateX(50%);
    transition: width var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--wine) !important; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 32px; }
.dropdown-menu {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: .65rem;
}
.dropdown-item {
    color: var(--ink);
    border-radius: 4px;
    padding: .55rem .8rem;
}
.dropdown-item:hover,
.dropdown-item:focus { background: var(--rose-mist); color: var(--wine); }
.header-actions .btn-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all var(--transition);
}
.header-actions .btn-link:hover {
    color: var(--gold-deep);
    border-color: rgba(176,141,69,.25);
    background: rgba(176,141,69,.08);
}
.cart-badge { background: var(--gold) !important; font-family: var(--font-en); font-size: .68rem; }

/* ======================== hero ======================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #18080b;
}
.hero-slider .carousel-item {
    position: relative;
    height: min(78vh, 820px);
    min-height: 560px;
    background-color: #19090d;
    background-size: cover;
    background-position: center;
}
.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13,8,7,.06) 0%, rgba(26,7,11,.25) 42%, rgba(22,6,9,.8) 100%),
        radial-gradient(circle at 74% 30%, rgba(180,74,91,.25), transparent 36%),
        linear-gradient(135deg, rgba(226,51,74,.4), rgba(36,20,34,.1));
}
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: .66;
    mix-blend-mode: screen;
    background:
        linear-gradient(115deg, transparent 12%, rgba(255,255,255,.035) 25%, transparent 39%),
        linear-gradient(98deg, transparent 48%, rgba(176,141,69,.08) 56%, transparent 66%);
}
.hero-slider .carousel-caption {
    z-index: 2;
    top: 50%;
    bottom: auto;
    right: clamp(6%, 8vw, 11%);
    left: auto;
    transform: translateY(-50%);
    max-width: 640px;
    text-align: right;
    padding: 0;
}
.hero-slider .carousel-caption .eyebrow { color: #FFD3E0; }
.hero-slider .carousel-caption h2 {
    margin: .65rem 0 .55rem;
    max-width: 620px;
    color: #fffaf2;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    font-weight: 700;
    line-height: 1.65;
    text-shadow: 0 12px 34px rgba(0,0,0,.32);
}
.hero-slider .carousel-caption h2 em { color: #FFB8CE; font-style: normal; }
.hero-slider .carousel-caption p {
    color: rgba(255,248,239,.82);
    font-size: 1.08rem;
    max-width: 470px;
    margin-bottom: 1.2rem;
}
.btn-hero {
    min-width: 150px;
    border: 1px solid rgba(255,255,255,.85) !important;
    border-radius: 999px !important;
    background: rgba(176,141,69,.88) !important;
    color: #fff !important;
    padding: .65rem 1.6rem !important;
    box-shadow: none !important;
}
.btn-hero:hover {
    background: #fff !important;
    color: var(--gold-deep) !important;
    transform: translateY(-2px);
}
.carousel-control-prev, .carousel-control-next { width: 7%; z-index: 3; }
.carousel-indicators { z-index: 3; gap: .4rem; }
.carousel-indicators [data-bs-target] {
    width: 22px;
    height: 2px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255,255,255,.4);
}
.carousel-indicators .active { background: #fff; }

/* ======================== stats ======================== */
.stat-float-wrap {
    position: relative;
    z-index: 4;
    margin-top: -66px;
    padding-bottom: 2.2rem;
}
.stat-float {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3.15;
    max-height: 640px;
    border-radius: 28px;
    background-image: url('../images/hero/stats-showcase.png');
    background-size: cover;
    background-position: center;
    background-color: #EFE3D4; /* shown until the photo above is uploaded */
    box-shadow: var(--shadow-deep);
}
.stat-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-align: left;
    direction: ltr;
}
.stat-item .stat-num {
    display: block;
    color: #2b2118;
    font-family: var(--font-en) !important;
    font-size: clamp(1.6rem, 3.6vw, 2.7rem);
    font-weight: 500;
    line-height: 1;
    margin-bottom: .35rem;
}
.stat-item .stat-label {
    display: block;
    color: #6b5c4d;
    font-family: var(--font-en) !important;
    font-size: clamp(.66rem, 1vw, .82rem);
    letter-spacing: .02em;
}
.pos-top-left   { top: 8%;  left: 6%; }
.pos-top-right  { top: 8%;  right: 6%; text-align: right; align-items: flex-end; }
.pos-mid-left   { top: 30%; left: 6%; }
.pos-mid-right  { top: 30%; right: 6%; text-align: right; align-items: flex-end; }

/* ======================== section rhythm ======================== */
.py-md-6 { padding-top: 5.25rem !important; padding-bottom: 5.25rem !important; }
.section-head { margin-bottom: 2.8rem; }
.section-title {
    display: inline-block;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem,3.2vw,3.15rem);
    font-weight: 700;
    line-height: 1.75;
}
.section-title em { color: var(--wine); font-style: normal; }
.section-sub { max-width: 620px; color: var(--text-muted); }

/* ======================== category cards (rounded-rect) ======================== */
.oval-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.oval-grid { text-align: center; }
.oval-grid-item { min-width: 0; }
.oval-grid a { display: block; color: inherit; }
.oval-grid .oval-img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    overflow: hidden;
    border: 1px solid rgba(226,51,74,.10);
    border-radius: var(--radius-arch);
    background: #FFEEF3;
    box-shadow: none;
    filter: saturate(.95) contrast(1.01);
    transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
}
.oval-grid a:hover .oval-img {
    transform: translateY(-4px);
    filter: saturate(1.04) contrast(1.03);
    box-shadow: 0 14px 30px rgba(49,25,22,.10);
}
.oval-grid .oval-label {
    margin-top: .7rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
}
.oval-grid .oval-sub { color: var(--muted); font-size: .78rem; }
@media (min-width: 576px) {
    .oval-grid-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
}
@media (min-width: 992px) {
    .oval-grid-layout { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.3rem; }
}

/* ======================== editorial story ======================== */
.editorial-split {
    position: relative;
    overflow: hidden;
    background: #FFEEF3;
    border: 1px solid rgba(176,141,69,.28);
    border-radius: 0 58px 0 58px;
    box-shadow: 0 16px 44px rgba(176,31,58,.08);
}
.editorial-split::after {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    bottom: -90px;
    left: -55px;
    border: 1px solid rgba(226,51,74,.22);
    border-radius: 50%;
}
.editorial-split img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}
.editorial-copy { position: relative; z-index: 1; padding: clamp(2rem,5vw,4.6rem) !important; }
.editorial-copy p { color: var(--muted) !important; max-width: 560px; }

/* ======================== product cards ======================== */
.product-card {
    height: 100%;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform var(--transition);
}
.product-card:hover { transform: translateY(-5px); }
.product-card .product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #FFEEF3;
    border: 1px solid rgba(226,51,74,.1);
    border-radius: 28px 28px 4px 4px;
}
.product-card .product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14,9,8,.10), transparent 38%);
    pointer-events: none;
}
.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms cubic-bezier(.2,.75,.25,1), filter var(--transition);
}
.product-card:hover .product-img img { transform: scale(1.045); filter: saturate(1.05); }
.product-card .badge-sale {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    padding: .28rem .75rem;
    background: rgba(226,51,74,.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    font-size: .72rem;
}
.product-card .product-body { padding: .9rem .15rem .2rem; }
.product-card .product-title {
    margin: 0 0 .25rem;
    color: var(--ink);
    font-family: var(--font-fa);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-price {
    color: var(--wine);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
}
.product-card .old-price { color: var(--muted); font-size: .88rem; text-decoration: line-through; margin-inline-end: .45rem; }
.product-card .btn-add {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(176,141,69,.45);
    border-radius: 50%;
    background: transparent;
    color: var(--gold-deep);
}
.product-card .btn-add:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ======================== buttons ======================== */
.btn {
    font-weight: 700;
    line-height: 1.7;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: #fff;
    padding: .62rem 1.45rem;
    box-shadow: none;
}
.btn-primary:hover,
.btn-primary:focus { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; box-shadow: none; }
.btn-outline-primary {
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-deep);
    background: transparent;
}
.btn-outline-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-outline-secondary { border-color: var(--line); color: var(--ink-2); }
.btn-outline-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    padding: .58rem 1.35rem;
    border: 1px solid var(--ink);
    border-radius: 0;
    color: var(--ink);
    background: transparent;
    font-weight: 700;
    transition: all var(--transition);
}
.btn-dark-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #FFF0F5; border-color: #FFD6E4; }
.btn-link { color: var(--wine); }

/* ======================== inner pages ======================== */
main > .container.py-4,
main > .container.py-5 {
    padding-top: clamp(3rem,6vw,5rem) !important;
    padding-bottom: clamp(3rem,6vw,5rem) !important;
}
main > .container.py-4 > h1,
main > .container.py-5 > h1,
main > .container.py-4 > .h3,
main > .container.py-5 > .h3,
main > .container.py-4 > .h4,
main > .container.py-5 > .h4 {
    margin-bottom: 2rem !important;
    font-size: clamp(2rem,3vw,3rem) !important;
}

.product-specs {
    background: rgba(255,253,249,.78);
    border: 1px solid var(--line);
    border-radius: 18px 18px 4px 4px;
    padding: 1.4rem;
    box-shadow: 0 14px 40px rgba(176,31,58,.06);
}
.product-specs h5, .product-specs h6 { color: var(--ink); }
.product-specs li { padding: .45rem 0; border-bottom: 1px solid rgba(223,208,194,.7); }
.product-specs li:last-child { border-bottom: 0; }

.product-gallery > img,
.product-gallery .main-image,
.product-gallery img.img-fluid {
    width: 100%;
    border-radius: 38px 38px 5px 5px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.product-gallery .row img { border-radius: 8px; }
.product-info h1 { font-size: clamp(2rem,3vw,3.1rem); }
.product-info .lead { color: var(--ink-2); }

/* tables/cart */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink);
    --bs-table-border-color: var(--line);
    color: var(--ink);
}
.table thead th {
    color: var(--muted);
    border-bottom: 1px solid var(--ink);
    font-weight: 700;
    white-space: nowrap;
}
.table tbody tr { transition: background var(--transition); }
.table tbody tr:hover { background: rgba(255,255,255,.35); }
.cart-table img { width: 76px; height: 92px; object-fit: cover; border-radius: 14px 14px 3px 3px; border: 1px solid var(--line); }

/* forms */
.form-label { color: var(--ink-2); font-weight: 700; }
.form-control,
.form-select {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: rgba(255,253,249,.74);
    color: var(--ink);
    padding: .68rem .9rem;
    box-shadow: none;
}
textarea.form-control { min-height: 110px; }
.form-control:focus,
.form-select:focus {
    background: #fffdf9;
    color: var(--ink);
    border-color: var(--gold);
    box-shadow: 0 0 0 .18rem rgba(176,141,69,.14);
}
.form-control::placeholder { color: #9d8f88; opacity: 1; }
.form-check-input { border-color: #bfaea4; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.input-group .btn { min-width: 96px; }

/* list groups/account */
.list-group {
    border: 1px solid var(--line);
    border-radius: 16px 16px 4px 4px;
    overflow: hidden;
}
.list-group-item {
    background: rgba(255,253,249,.75);
    border-color: var(--line);
    color: var(--ink-2);
    padding: .8rem 1rem;
}
.list-group-item:hover { background: #fff; color: var(--wine); }
.list-group-item.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* accordion */
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: var(--radius); }
.accordion-item { background: rgba(255,253,249,.72); border-color: var(--line); border-radius: var(--radius); overflow: hidden; }
.accordion-button {
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background: var(--rose-mist); color: var(--wine); }
.accordion-button::after { margin-right: auto; margin-left: 0; }
.accordion-body { color: var(--ink-2); }

/* alerts */
.alert {
    border-radius: var(--radius);
    border-width: 1px;
    box-shadow: none;
}
.alert-success { background: #F7F0DE; border-color: #E4CD98; color: #6B4F1E; }
.text-success { color: #8A6B2E !important; }
.alert-danger { background: #ffe9ee; border-color: #ffc0d1; color: #A62357; }
.alert-warning { background: #f7f0df; border-color: #e9d5aa; color: #735c28; }

/* breadcrumbs */
.breadcrumb { background: transparent; padding: 0; margin-bottom: 1.4rem; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item.active { color: var(--wine); }
.breadcrumb-item + .breadcrumb-item::before { color: #b5a49a; }

/* utility components that may appear in existing pages */

.text-primary { color: var(--wine) !important; }
.bg-primary { background-color: var(--gold) !important; }
.border-primary { border-color: var(--gold) !important; }

.badge.bg-primary { background: var(--gold) !important; }
.pagination .page-link { color: var(--wine); border-color: var(--line); background: var(--card); }
.pagination .page-item.active .page-link { background: var(--gold); border-color: var(--gold); }
hr { border-color: var(--line); opacity: 1; }

/* ======================== footer ======================== */
.main-footer {
    position: relative;
    overflow: hidden;
    margin-top: 4rem !important;
    background: #241422;
    color: #E9C8D4;
    border-top: 1px solid rgba(176,141,69,.16);
}
.main-footer::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(143,36,52,.18);
    border-radius: 50%;
    pointer-events: none;
}
.footer-title { color: #fff7ed; font-size: 1.2rem; }
.footer-text { color: #E9C8D4; font-size: .96rem; }
.footer-links a { display: block; padding: .18rem 0; color: #E9C8D4; }
.footer-links a:hover { color: #fff; }
.social-icon {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .45rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: #FFF0F5;
}
.social-icon:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.1); }
.main-footer a.small { color: #E9C8D4; }
.main-footer a.small:hover { color: #fff; }

/* optional classes already present in original project */
.testimonial-card {
    height: 100%;
    padding: 1.6rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 0;
}
.testimonial-card .quote-mark { color: var(--wine); font-family: var(--font-en); font-size: 2.5rem; }
.testimonial-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.testimonial-dots span { width: 16px; height: 2px; background: var(--line); }
.testimonial-dots span.active { background: var(--gold); }
.newsletter-banner {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem,6vw,5rem) 1.5rem;
    background: linear-gradient(120deg, #A62357, #FF6F9C 54%, #D6336C);
    color: #fff;
    text-align: center;
    border-radius: 0;
}
.newsletter-banner h2 { color: #fff; }
.insta-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; overflow: hidden; }
.insta-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform var(--transition), opacity var(--transition); }
.insta-strip a:hover img { transform: scale(1.03); opacity: .86; }
@media (min-width: 768px) { .insta-strip { grid-template-columns: repeat(6,1fr); } }

/* ======================== mobile ======================== */
@media (max-width: 991.98px) {
    .navbar { min-height: 70px; }
    .navbar-collapse {
        margin-top: .8rem;
        padding: 1rem 0 .35rem;
        border-top: 1px solid var(--line);
    }
    .navbar-nav .nav-link { padding-inline: 0 !important; }
    .navbar-nav .nav-link::after { right: 0; transform: none; }
    .header-actions { gap: .55rem !important; }
    .header-actions .btn-link { font-size: .95rem; }
}

@media (max-width: 767.98px) {
    body { font-size: .98rem; line-height: 1.95; }
    .logo-img { height: 42px; max-width: 150px; }
    .hero-slider .carousel-item { height: 66vh; min-height: 500px; }
    .hero-slider .carousel-caption { right: 7%; left: 7%; max-width: none; }
    .hero-slider .carousel-caption h2 { font-size: clamp(2rem,10vw,3rem); }
    .hero-slider .carousel-caption p { font-size: 1rem; }
    .stat-float-wrap { margin-top: -38px; }
    .stat-float { border-radius: 20px; aspect-ratio: 3 / 3.4; }
    .pos-top-left, .pos-top-right { top: 6%; }
    .pos-mid-left, .pos-mid-right { top: 26%; }
    .section-head { margin-bottom: 2rem; }
    .editorial-split { border-radius: 0 34px 0 34px; }
    .editorial-split img { min-height: 330px; }
    .product-card .product-img { border-radius: 20px 20px 3px 3px; }
    .product-card .product-title { font-size: .98rem; }
    .product-card .product-price { font-size: 1rem; }
    .main-footer { margin-top: 3rem !important; }
    .table { min-width: 690px; }
}

/* ======================== trust badges ======================== */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.trust-badges img {
    height: 62px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-xs);
    filter: saturate(.95);
}

/* ======================== PWA install announcement (homepage) ======================== */
.pwa-install-banner {
    background: linear-gradient(90deg, var(--wine), var(--wine-deep));
    color: #fff;
    padding: .7rem 0;
}
.pwa-install-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.pwa-install-text {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    line-height: 1.6;
}
.pwa-install-text i {
    font-size: 1.15rem;
    flex-shrink: 0;
}
.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-shrink: 0;
}
.btn-pwa-guide {
    background: #fff;
    color: var(--wine-deep);
    border: none;
    border-radius: 999px;
    padding: .4rem 1.1rem;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity .2s ease;
}
.btn-pwa-guide:hover { opacity: .88; }
.btn-pwa-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    opacity: .85;
    padding: 0 .2rem;
}
.btn-pwa-close:hover { opacity: 1; }
.pwa-steps {
    padding-inline-start: 1.3rem;
    margin-bottom: 0;
}
.pwa-steps li { margin-bottom: .4rem; }
@media (max-width: 767.98px) {
    .pwa-install-inner { flex-direction: column; align-items: flex-start; }
    .pwa-install-actions { width: 100%; justify-content: space-between; }
}

/* ======================== Store / install badges ======================== */
.store-badges-title {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: .8rem;
    letter-spacing: .02em;
}
.store-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.store-badge-link {
    display: inline-flex;
    transition: transform .2s ease, opacity .2s ease;
    opacity: .92;
}
.store-badge-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}
.store-badges img {
    height: 46px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-xs);
}

/* ======================== AI purchase consultant widget ======================== */
.ai-consultant-toggle {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--gold);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition);
}
.ai-consultant-toggle:hover { background: var(--gold-deep); transform: translateY(-2px); }
.ai-consultant-ping {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--wine-2);
    border: 2px solid #fff;
    animation: ai-ping 1.8s ease-in-out infinite;
}
@keyframes ai-ping {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: .75; }
}

.ai-consultant-panel {
    position: fixed;
    bottom: 90px;
    left: 22px;
    z-index: 1050;
    width: 340px;
    max-width: calc(100vw - 40px);
    height: 460px;
    max-height: calc(100vh - 140px);
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-deep);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(.97);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
}
.ai-consultant-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.ai-consultant-header {
    background: var(--gold);
    color: #fff;
    padding: .85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: .95rem;
}
.ai-consultant-messages {
    flex: 1;
    overflow-y: auto;
    padding: .9rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    font-size: .88rem;
}
.ai-msg {
    max-width: 85%;
    padding: .55rem .8rem;
    border-radius: var(--radius);
    line-height: 1.7;
}
.ai-msg-assistant {
    align-self: flex-start;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
}
.ai-msg-user {
    align-self: flex-end;
    background: var(--gold);
    color: #fff;
}
.ai-typing { opacity: .6; font-style: italic; }
.ai-consultant-form {
    display: flex;
    gap: .5rem;
    padding: .7rem;
    border-top: 1px solid var(--line);
}
.ai-consultant-form input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .5rem .8rem;
    font-family: var(--font-fa-body);
    font-size: .88rem;
}
.ai-consultant-form button {
    width: 40px;
    border: none;
    border-radius: var(--radius);
    background: var(--gold);
    color: #fff;
}
@media (max-width: 480px) {
    .ai-consultant-toggle, .ai-consultant-panel { left: 14px; }
    .ai-consultant-toggle { bottom: 14px; }
    .ai-consultant-panel { bottom: 78px; }
}
