/*
Theme Name: Moblebagh
Theme URI: https://moblebagh.local
Author: Moblebagh
Description: قالب اختصاصی فروشگاه مُبلِ باغ — Catalog Mode
Version: 3.30.2
Text Domain: moblebagh
*/

:root {
    --green-950: #0f271c;
    --green-900: #17372a;
    --green-850: #203f31;
    --green-800: #294a3a;
    --green-650: #607158;
    --green-500: #809078;
    --cream: #f3f0e8;
    --cream-2: #faf8f4;
    --sand: #e9e1d3;
    --white: #ffffff;
    --text: #1c2a22;
    --muted: #6c746e;
    --border: #e8e4dc;
    --container: 1360px;
    --shadow: 0 18px 55px rgba(17, 35, 25, .08);
    --shadow-soft: 0 10px 35px rgba(17, 35, 25, .055);
    --radius-xs: 2px;
    --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
    margin: 0;
    padding: 0;
    direction: rtl;
    color: var(--text);
    background: var(--white);
    font-family: "Vazirmatn", "B Nazanin", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    max-width: 100%;
    overflow-x: hidden;
}
body.search-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { color: inherit; }

.site-container,
.container {
    width: min(var(--container), calc(100% - 80px));
    margin-inline: auto;
    max-width: 100%;
    min-width: 0;
}

/* ============================== ANNOUNCEMENT ============================== */
.announcement-bar {
    height: 30px;
    display: flex;
    align-items: center;
    background: var(--green-900);
    color: rgba(255,255,255,.9);
}
.announcement-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.announcement-message,
.announcement-links a { font-size: 12px; }
.announcement-links { display: flex; align-items: center; gap: 22px; }
.announcement-links a { color: rgba(255,255,255,.8); transition: color .2s ease, opacity .2s ease; }
.announcement-links a:hover { color: #fff; opacity: .7; }

/* ============================== HEADER ============================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(19,35,26,.055); }
body.admin-bar .site-header { top: 32px; }
.header-inner {
    height: 72px;
    display: grid;
    grid-template-columns: minmax(200px,1fr) auto minmax(200px,1fr);
    align-items: center;
    gap: 30px;
}
.site-logo { justify-self: start; display: inline-flex; align-items: center; }
.site-logo img {
    width: 158px;
    height: 50px;
    object-fit: contain;
    object-position: right center;
    mix-blend-mode: multiply;
}
.main-nav { justify-self: center; }
.main-nav ul,
.main-nav .menu { display: flex; align-items: center; gap: 27px; }
.main-nav a {
    position: relative;
    height: 72px;
    display: flex;
    align-items: center;
    color: #21352a;
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s ease;
}
.main-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 13px;
    width: 0;
    height: 1px;
    background: var(--green-900);
    transition: width .23s ease, right .23s ease;
}
.main-nav a:hover { color: var(--green-650); }
.main-nav a:hover::after { right: 0; width: 100%; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 7px; }
.header-icon,
.mobile-menu-button {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.header-icon:hover,
.mobile-menu-button:hover { background: #f2f1ed; }
.header-icon:active { transform: scale(.95); }
.header-icon svg,
.header-quote svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.header-icon { color: var(--green-900); }
.header-quote {
    height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--green-900);
    color: var(--green-900);
    font-size: 13px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.header-quote:hover { background: var(--green-900); color: #fff; transform: translateY(-1px); }
.mobile-menu-button { display: none; }
.mobile-menu-button span {
    position: absolute;
    right: 10px;
    width: 18px;
    height: 1.5px;
    border-radius: 4px;
    background: var(--green-900);
    transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.mobile-menu-button span:nth-child(1) { top: 12px; }
.mobile-menu-button span:nth-child(2) { top: 18px; }
.mobile-menu-button span:nth-child(3) { top: 24px; }
.mobile-menu-button.is-open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.mobile-menu-button.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-button.is-open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ============================== SEARCH OVERLAY ============================== */
.site-search-panel {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: start center;
    padding-top: 110px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}
.site-search-panel.is-open { visibility: visible; opacity: 1; }
.site-search-backdrop { position: absolute; inset: 0; background: rgba(11,24,17,.55); backdrop-filter: blur(4px); }
.site-search-dialog {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 32px));
    padding: 32px;
    background: #fff;
    box-shadow: var(--shadow);
}
.site-search-dialog > span { display: block; margin-bottom: 12px; color: var(--green-650); font-size: 13px; }
.site-search-dialog form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.site-search-dialog input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    outline: 0;
    background: #fff;
    color: var(--text);
}
.site-search-dialog input:focus { border-color: var(--green-900); }
.site-search-dialog form button {
    height: 52px;
    padding: 0 24px;
    border: 0;
    background: var(--green-900);
    color: #fff;
    cursor: pointer;
}
.search-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    background: #f3f1ec;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

/* ============================== GLOBAL HOME ============================== */
.home-page { width: 100%; }
.home-section { padding: 76px 0; }
.section-head {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}
.section-eyebrow,
.page-eyebrow,
.home-hero-label {
    display: block;
    color: var(--green-650);
    font-size: 13px;
}
.section-eyebrow,
.page-eyebrow { margin-bottom: 5px; }
.section-title {
    margin: 0;
    color: var(--green-900);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
}
.section-link,
.editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-900);
    font-size: 14px;
}
.section-link { padding-bottom: 5px; border-bottom: 1px solid #cfd2c9; }
.section-link span,
.editorial-link span { transition: transform .2s ease; }
.section-link:hover span,
.editorial-link:hover span { transform: translateX(-4px); }

.hero-primary-button,
.contact-cta-button,
.contact-submit,
.single-quote-button,
.moblebagh-quote-button {
    min-height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green-900);
    background: var(--green-900);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.hero-primary-button:hover,
.contact-cta-button:hover,
.contact-submit:hover,
.single-quote-button:hover,
.moblebagh-quote-button:hover { background: var(--green-950); transform: translateY(-1px); }
.outline-button,
.single-quote-secondary {
    min-height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8cec6;
    background: transparent;
    color: var(--green-900);
    transition: border-color .2s ease, background .2s ease;
}
.outline-button:hover,
.single-quote-secondary:hover { border-color: var(--green-900); background: #f6f4ef; }

/* ============================== HERO ============================== */
.home-hero {
    position: relative;
    height: min(610px, calc(100vh - 102px));
    min-height: 510px;
    overflow: hidden;
    background: #d5d0c7;
}
.home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}
.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(8,26,17,.20) 0%, rgba(8,26,17,.04) 35%, transparent 62%);
    pointer-events: none;
}
.home-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 28px;
}
.home-hero-box {
    width: min(380px,100%);
    padding: 22px 25px 21px;
    background: rgba(249,247,241,.95);
    box-shadow: 0 15px 45px rgba(18,31,23,.055);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.home-hero-box h1 {
    margin: 7px 0 0;
    color: var(--green-900);
    font-size: 37px;
    font-weight: 400;
    line-height: 1.32;
}
.home-hero-box p { margin: 12px 0 17px; color: #606963; font-size: 14px; line-height: 1.9; }
.home-hero-actions { display: flex; align-items: center; gap: 18px; }
.hero-secondary-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green-900); font-size: 14px; }
.hero-secondary-link span { transition: transform .2s ease; }
.hero-secondary-link:hover span { transform: translateX(-4px); }

/* ============================== COLLECTIONS ============================== */
.collections-section { background: #fff; }
.collections-grid {
    display: grid;
    grid-template-columns: 1.13fr .87fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    min-height: 760px;
}
.collection-card { position: relative; overflow: hidden; background: #ddd; color: #fff; min-height: 238px; }
.collection-card-large { grid-row: 1 / span 3; min-height: 760px; }
.collection-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform .75s cubic-bezier(.2,.6,.3,1);
}
.collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,27,18,.55) 0%, rgba(10,27,18,.11) 46%, transparent 76%);
    pointer-events: none;
}
.collection-card:hover .collection-image { transform: scale(1.025); }
.collection-info { position: absolute; z-index: 2; right: 24px; bottom: 22px; left: 24px; }
.collection-info > span { display: block; margin-bottom: 2px; color: rgba(255,255,255,.75); font-size: 11px; }
.collection-info h3 { margin: 0; color: #fff; font-size: 26px; font-weight: 400; line-height: 1.35; }
.collection-arrow {
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    transition: background .2s ease, color .2s ease;
}
.collection-card:hover .collection-arrow { background: #fff; color: var(--green-900); }

/* ============================== PRODUCT SHOWCASE ============================== */
.products-showcase { background: var(--cream-2); }
.products-showcase-alt { background: #fff; border-top: 1px solid #efede7; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.product-card { background: #fff; border: 1px solid #ece9e1; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.product-card-media { position: relative; display: block; height: 300px; overflow: hidden; background: #ebe7dd; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-card-media img { transform: scale(1.025); }
.product-card-placeholder { width: 100%; height: 100%; background: linear-gradient(140deg,#d4d0c6,#9ca895); }
.product-card-quick {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
    background: rgba(255,255,255,.92);
    color: var(--green-900);
    font-size: 12px;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}
.product-card:hover .product-card-quick { opacity: 1; transform: translateY(0); }
.product-card-body { padding: 15px 16px 16px; }
.product-category { display: block; color: var(--green-650); font-size: 12px; }
.product-card h3 { margin: 2px 0 10px; font-size: 21px; font-weight: 400; line-height: 1.45; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 11px; border-top: 1px solid #efede7; }
.product-request-price { color: var(--muted); font-size: 12px; }
.product-quote-link { color: var(--green-900); font-size: 13px; border-bottom: 1px solid #cad0c8; }

.catalog-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.catalog-preview-card { display: grid; grid-template-rows: 280px auto; background: #fff; border: 1px solid #ece9e1; transition: transform .25s ease, box-shadow .25s ease; }
.catalog-preview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.catalog-preview-card img { width: 100%; height: 100%; object-fit: cover; }
.catalog-preview-card > div { padding: 17px 18px 18px; }
.catalog-preview-card span { color: var(--green-650); font-size: 12px; }
.catalog-preview-card h3 { margin: 2px 0 6px; color: var(--green-900); font-size: 23px; font-weight: 400; }
.catalog-preview-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ============================== EDITORIAL ============================== */
.editorial-section { padding: 34px 0 78px; background: var(--cream-2); }
.editorial-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 535px; }
.editorial-image { min-height: 535px; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.editorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
    background: var(--green-900);
    color: #fff;
}
.editorial-content .section-eyebrow { color: rgba(255,255,255,.65); }
.editorial-content h2 { margin: 7px 0 14px; max-width: 500px; color: #fff; font-size: 35px; font-weight: 400; line-height: 1.45; }
.editorial-content p { max-width: 520px; margin: 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.95; }
.editorial-actions { margin-top: 22px; display: flex; align-items: center; gap: 22px; }
.editorial-link { color: #fff; }
.text-cta { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); font-size: 14px; }

/* ============================== BENEFITS ============================== */
.benefits-section { background: var(--cream); border-block: 1px solid #eae5db; }
.benefits-grid { min-height: 116px; display: grid; grid-template-columns: repeat(4,1fr); }
.benefit-item { padding: 22px 26px; display: flex; align-items: center; gap: 14px; border-left: 1px solid #ded8cd; }
.benefit-item:last-child { border-left: 0; }
.benefit-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--green-900); }
.benefit-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefit-item strong { display: block; color: var(--green-900); font-size: 16px; font-weight: 400; }
.benefit-item p { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* ============================== INSPIRATION ============================== */
.inspiration-section { background: #fff; }
.inspiration-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.inspiration-card { background: #fff; border: 1px solid #ece9e1; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.inspiration-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.inspiration-media { height: 265px; overflow: hidden; }
.inspiration-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.inspiration-card:hover .inspiration-media img { transform: scale(1.025); }
.inspiration-body { padding: 15px 16px 17px; }
.inspiration-body > span:first-child { color: var(--green-650); font-size: 12px; }
.inspiration-body h3 { margin: 3px 0 12px; color: var(--green-900); font-size: 21px; font-weight: 400; line-height: 1.45; }
.read-more { color: var(--green-900) !important; font-size: 13px !important; border-bottom: 1px solid #ccd0c7; }

/* ============================== CTA ============================== */
.contact-cta-section { padding: 0 0 70px; background: #fff; }
.contact-cta {
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--cream);
    border: 1px solid #e6e0d5;
}
.contact-cta span { color: var(--green-650); font-size: 12px; }
.contact-cta h2 { margin: 3px 0 0; color: var(--green-900); font-size: 27px; font-weight: 400; }
.contact-cta p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.contact-cta-button { white-space: nowrap; }

/* ============================== INNER PAGES ============================== */
.inner-page { min-height: 60vh; background: #fff; }
.simple-page-hero { padding: 86px 0 70px; background: var(--cream-2); border-bottom: 1px solid var(--border); }
.simple-page-hero span { color: var(--green-650); font-size: 13px; }
.simple-page-hero h1 { max-width: 820px; margin: 7px 0 0; color: var(--green-900); font-size: 48px; font-weight: 400; line-height: 1.28; }
.simple-page-hero p { max-width: 690px; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.simple-page-content { padding: 65px 0 80px; max-width: 1000px; }
.simple-page-content h2, .simple-page-content h3 { color: var(--green-900); font-weight: 400; }
.simple-page-content p { color: #4d5751; line-height: 2; }
.inner-section { padding: 72px 0; }

.split-page-hero { padding: 48px 0; background: var(--cream-2); }
.split-page-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 52px; }
.split-page-copy { padding: 30px 0; }
.split-page-copy h1 { margin: 7px 0 15px; color: var(--green-900); font-size: 47px; font-weight: 400; line-height: 1.27; }
.split-page-copy p { max-width: 520px; margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.split-page-media { height: 540px; overflow: hidden; }
.split-page-media img { width: 100%; height: 100%; object-fit: cover; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.values-grid article { padding: 28px; border: 1px solid var(--border); background: #fff; }
.values-grid article > span { color: var(--green-500); font-size: 12px; }
.values-grid h2 { margin: 8px 0 7px; color: var(--green-900); font-size: 26px; font-weight: 400; }
.values-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.about-story-section { padding: 10px 0 80px; }
.about-story-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; }
.about-story-media { min-height: 500px; }
.about-story-media img { width: 100%; height: 100%; object-fit: cover; }
.about-story-copy { padding: 50px; display: flex; flex-direction: column; justify-content: center; background: var(--green-900); color: #fff; }
.about-story-copy .page-eyebrow { color: rgba(255,255,255,.65); }
.about-story-copy h2 { margin: 7px 0 14px; color: #fff; font-size: 36px; font-weight: 400; line-height: 1.4; }
.about-story-copy p { margin: 0 0 20px; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.95; }
.about-story-copy .section-link { align-self: flex-start; color: #fff; border-color: rgba(255,255,255,.4); }

.contact-hero { background: var(--green-900); }
.contact-hero span { color: rgba(255,255,255,.6); }
.contact-hero h1 { color: #fff; }
.contact-hero p { color: rgba(255,255,255,.74); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: start; }
.contact-info-panel { padding: 32px; background: var(--cream); }
.contact-info-panel h2, .contact-form-card h2 { margin: 5px 0 18px; color: var(--green-900); font-size: 31px; font-weight: 400; line-height: 1.4; }
.contact-info-list { display: grid; gap: 0; border-top: 1px solid #ded8cd; }
.contact-info-list > div { padding: 15px 0; display: grid; grid-template-columns: 130px 1fr; gap: 18px; border-bottom: 1px solid #ded8cd; }
.contact-info-list span { color: var(--muted); font-size: 13px; }
.contact-info-list strong { color: var(--text); font-size: 15px; font-weight: 400; }
.contact-direct-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.contact-form-card { padding: 32px; border: 1px solid var(--border); background: #fff; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label > span { color: var(--text); font-size: 13px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--border);
    background: #fff;
    outline: none;
    resize: vertical;
}
.contact-form input { height: 45px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-900); }
.contact-submit { justify-self: start; border-radius: 0; }
.form-honeypot { position: absolute; left: -9999px; }
.form-status { margin-bottom: 14px; padding: 10px 12px; font-size: 13px; }
.form-status.success { background: #eaf3ec; color: #245331; }
.form-status.error { background: #f7e9e7; color: #8a342a; }

.guide-steps { display: grid; gap: 0; border-top: 1px solid var(--border); }
.guide-steps article { padding: 26px 0; display: grid; grid-template-columns: 60px 1fr; gap: 20px; border-bottom: 1px solid var(--border); }
.guide-steps article > span { color: var(--green-500); font-family: Arial, sans-serif; font-size: 12px; }
.guide-steps h2 { margin: 0 0 5px; color: var(--green-900); font-size: 27px; font-weight: 400; }
.guide-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.material-guide-section { padding: 0 0 82px; }
.material-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.material-grid article { min-height: 205px; padding: 24px; background: var(--cream); }
.material-grid h3 { margin: 0 0 8px; color: var(--green-900); font-size: 25px; font-weight: 400; }
.material-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.tracking-card { padding: 30px; border: 1px solid var(--border); background: var(--cream-2); }
.shipping-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.shipping-grid article { padding: 28px; border: 1px solid var(--border); }
.shipping-grid article > span { color: var(--green-500); font-size: 12px; }
.shipping-grid h2 { margin: 7px 0 7px; color: var(--green-900); font-size: 26px; font-weight: 400; }
.shipping-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* ============================== BLOG / SEARCH ============================== */
.search-results-grid, .post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.search-result-card, .post-card { border: 1px solid var(--border); background: #fff; overflow: hidden; }
.search-result-media, .post-card-media { display: block; height: 230px; overflow: hidden; background: #eeeae2; }
.search-result-media img, .post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.search-result-placeholder { width: 100%; height: 100%; background: linear-gradient(140deg,#d6d1c8,#9baa96); }
.search-result-card > div, .post-card > div { padding: 16px; }
.search-result-card span, .post-card span { color: var(--green-650); font-size: 12px; }
.search-result-card h2, .post-card h2 { margin: 3px 0 7px; color: var(--green-900); font-size: 22px; font-weight: 400; line-height: 1.45; }
.search-result-card p, .post-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.empty-state { padding: 70px 20px; text-align: center; background: var(--cream-2); }
.empty-state h2 { margin: 0; color: var(--green-900); font-size: 32px; font-weight: 400; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); }

.article-hero { padding: 74px 0 50px; background: var(--cream-2); }
.article-hero span { color: var(--green-650); font-size: 12px; }
.article-hero h1 { max-width: 850px; margin: 7px 0 0; color: var(--green-900); font-size: 45px; font-weight: 400; line-height: 1.35; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 42px; align-items: start; }
.article-content { max-width: 850px; }
.article-featured-image { width: 100%; margin-bottom: 28px; }
.article-content h2, .article-content h3 { color: var(--green-900); font-weight: 400; }
.article-content p { color: #48544d; line-height: 2; }
.article-aside { position: sticky; top: 115px; padding: 24px; background: var(--cream); }
.article-aside > span { color: var(--green-650); font-size: 12px; }
.article-aside h3 { margin: 6px 0 16px; color: var(--green-900); font-size: 23px; font-weight: 400; line-height: 1.5; }

/* ============================== 404 ============================== */
.error-page { min-height: 66vh; display: grid; place-items: center; background: var(--cream-2); }
.error-card { text-align: center; padding: 70px 20px; }
.error-card > span { color: var(--green-500); font-family: Arial, sans-serif; font-size: 13px; letter-spacing: 3px; }
.error-card h1 { margin: 8px 0 5px; color: var(--green-900); font-size: 48px; font-weight: 400; }
.error-card p { margin: 0 0 20px; color: var(--muted); }
.error-card > div { display: flex; justify-content: center; gap: 10px; }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.76); }
.footer-top { padding: 52px 0 32px; display: grid; grid-template-columns: 1.25fr .8fr .8fr 1fr; gap: 34px; }
.footer-brand-mark { margin-bottom: 9px; color: #fff; font-size: 28px; }
.footer-brand p { max-width: 330px; margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.9; }
.footer-contact-actions { margin-top: 17px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-contact-button { padding: 7px 13px; border: 1px solid rgba(255,255,255,.55); color: #fff; font-size: 12px; }
.footer-contact-button:hover { background: #fff; color: var(--green-900); }
.footer-contact-link { color: #fff; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer-column h4 { margin: 0 0 11px; color: #fff; font-size: 18px; font-weight: 400; }
.footer-column ul { display: grid; gap: 7px; }
.footer-column a { color: rgba(255,255,255,.72); font-size: 13px; }
.footer-column a:hover { color: #fff; }
.footer-note p { margin: 0 0 6px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.8; }
.footer-note strong { color: #fff; font-weight: 400; }
.footer-bottom { padding: 17px 0 22px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom p, .footer-bottom a { margin: 0; color: rgba(255,255,255,.6); font-size: 11px; }
.footer-bottom a:hover { color: #fff; }

/* ============================== WOOCOMMERCE ============================== */
.commerce-page { background: #fff; }
.commerce-shell { padding-bottom: 78px; }
.commerce-hero { padding: 66px 0 34px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.commerce-hero > span { color: var(--green-650); font-size: 12px; }
.commerce-hero h1 { margin: 5px 0 7px; color: var(--green-900); font-size: 42px; font-weight: 400; }
.commerce-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 22px; }
.woocommerce .woocommerce-ordering select { height: 40px; padding: 0 10px; border: 1px solid var(--border); background: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; border: 1px solid var(--border); background: #fff; padding-bottom: 14px; }
.woocommerce ul.products li.product a img { margin: 0 0 13px; aspect-ratio: 1 / .88; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 14px; color: var(--green-900); font-size: 19px; font-weight: 400; }
.woocommerce ul.products li.product .price { padding: 0 14px; color: var(--muted); font-size: 13px; }
.woocommerce ul.products li.product .button { margin: 9px 14px 0; border-radius: 0; }
.price-on-request { color: var(--muted); font-size: 13px; }
.moblebagh-quote-button { min-height: 38px; padding: 0 14px !important; border-radius: 0 !important; font-weight: 400 !important; }

.single-product div.product { padding: 30px 0 70px; }
.woocommerce div.product div.images img { background: #f5f3ee; }
.woocommerce div.product .product_title { color: var(--green-900); font-size: 38px; font-weight: 400; line-height: 1.35; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--muted); }
.woocommerce-product-details__short-description { color: #536058; line-height: 1.9; }
.single-quote-box { margin-top: 20px; padding: 18px; background: var(--cream); border: 1px solid #e3ddd1; }
.single-quote-box > span { display: block; color: var(--green-650); font-size: 12px; }
.single-quote-box > strong { display: block; margin-top: 4px; color: var(--green-900); font-size: 18px; font-weight: 400; }
.single-quote-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin-top: 36px; border-bottom: 1px solid var(--border); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; border-radius: 0; margin: 0 0 0 18px; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0; font-weight: 400; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--green-900); border-bottom: 1px solid var(--green-900); }
.woocommerce div.product .woocommerce-tabs .panel { color: #4f5a54; line-height: 1.95; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { color: var(--green-900); font-size: 30px; font-weight: 400; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--green-900); background: var(--cream-2); color: var(--text); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--green-900); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { border: 1px solid var(--border); padding: 10px; }
.woocommerce button.button, .woocommerce a.button { border-radius: 0; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1180px) {
    .site-container, .container { width: calc(100% - 52px); }
    .header-inner { grid-template-columns: minmax(150px,1fr) auto minmax(180px,1fr); gap: 18px; }
    .main-nav ul, .main-nav .menu { gap: 20px; }
    .main-nav a { font-size: 13px; }
    .product-grid, .woocommerce ul.products { grid-template-columns: repeat(3,1fr); }
    .catalog-preview-grid { grid-template-columns: repeat(3,1fr); }
    .footer-top { grid-template-columns: 1.2fr .8fr .8fr; }
    .footer-note { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 960px) {
    body.admin-bar .site-header { top: 46px; }
    .site-container, .container { width: calc(100% - 36px); }
    .announcement-links { display: none; }
    .announcement-inner { justify-content: center; }
    .header-inner { position: relative; height: 66px; grid-template-columns: 1fr auto; gap: 12px; }
    .site-logo img { width: 140px; height: 46px; }
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 9px 18px 13px;
        background: #fff;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-soft);
    }
    .main-nav.is-open { display: block; }
    .main-nav ul, .main-nav .menu { display: block; }
    .main-nav li { border-bottom: 1px solid #efede7; }
    .main-nav li:last-child { border-bottom: 0; }
    .main-nav a { height: auto; padding: 11px 4px; font-size: 15px; }
    .main-nav a::after { display: none; }
    .mobile-menu-button { display: inline-flex; }
    .header-quote span { display: none; }
    .header-quote { width: 38px; padding: 0; justify-content: center; border-radius: 50%; }

    .home-hero { height: 570px; min-height: 0; }
    .home-hero-content { padding-bottom: 22px; }
    .home-hero-box { width: 360px; }
    .collections-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
    .collection-card, .collection-card-large { grid-row: auto; min-height: 400px; }
    .product-grid, .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
    .catalog-preview-grid { grid-template-columns: 1fr 1fr; }
    .catalog-preview-card:last-child { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .editorial-grid { grid-template-columns: 1fr; }
    .editorial-image, .editorial-grid { min-height: 0; }
    .editorial-image { height: 470px; }
    .editorial-content { padding: 42px; }
    .benefits-grid { grid-template-columns: repeat(2,1fr); }
    .benefit-item:nth-child(2) { border-left: 0; }
    .benefit-item:nth-child(-n+2) { border-bottom: 1px solid #ded8cd; }
    .inspiration-grid { grid-template-columns: 1fr 1fr; }
    .inspiration-card:last-child { grid-column: 1 / -1; }
    .split-page-grid { grid-template-columns: 1fr; gap: 26px; }
    .split-page-media { height: 460px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .values-grid article:last-child { grid-column: 1 / -1; }
    .about-story-grid { grid-template-columns: 1fr; }
    .about-story-media { height: 480px; min-height: 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .material-grid { grid-template-columns: repeat(2,1fr); }
    .search-results-grid, .post-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-note { grid-column: auto; border-top: 0; }
}

@media (max-width: 640px) {
    .site-container, .container { width: calc(100% - 28px); }
    .announcement-bar { height: 28px; }
    .announcement-message { font-size: 11px; }
    .header-inner { height: 62px; }
    .site-logo img { width: 125px; height: 42px; }
    .header-actions { gap: 1px; }
    .header-icon, .mobile-menu-button, .header-quote { width: 35px; height: 35px; }
    .site-search-panel { padding-top: 75px; }
    .site-search-dialog { padding: 24px 18px 18px; }
    .site-search-dialog form { grid-template-columns: 1fr; }
    .site-search-dialog form button { width: 100%; }

    .home-section { padding: 58px 0; }
    .section-head { margin-bottom: 23px; align-items: flex-start; flex-direction: column; gap: 12px; }
    .section-title { font-size: 30px; }
    .home-hero { height: 535px; }
    .home-hero-image { object-position: 60% center; }
    .home-hero-overlay { background: linear-gradient(to top, rgba(8,26,17,.28), transparent 62%); }
    .home-hero-content { align-items: flex-end; padding-bottom: 12px; }
    .home-hero-box { width: 100%; padding: 18px 18px 17px; }
    .home-hero-box h1 { font-size: 30px; }
    .home-hero-box p { font-size: 13px; }
    .home-hero-actions { gap: 13px; }
    .hero-primary-button { min-height: 39px; padding: 0 15px; font-size: 13px; }
    .hero-secondary-link { font-size: 13px; }

    .collections-grid { grid-template-columns: 1fr; gap: 10px; }
    .collection-card, .collection-card-large { min-height: 365px; }
    .collection-info { right: 18px; bottom: 17px; left: 18px; }
    .collection-info h3 { font-size: 23px; }
    .product-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
    .product-card-media { height: 320px; }
    .catalog-preview-grid { grid-template-columns: 1fr; }
    .catalog-preview-card, .catalog-preview-card:last-child { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 250px auto; }
    .editorial-section { padding-bottom: 58px; }
    .editorial-image { height: 390px; }
    .editorial-content { padding: 28px 22px; }
    .editorial-content h2 { font-size: 29px; }
    .editorial-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .benefit-item { border-left: 0; border-bottom: 1px solid #ded8cd; }
    .benefit-item:last-child { border-bottom: 0; }
    .inspiration-grid { grid-template-columns: 1fr; }
    .inspiration-card:last-child { grid-column: auto; }
    .inspiration-media { height: 240px; }
    .contact-cta { padding: 22px; align-items: flex-start; flex-direction: column; gap: 17px; }
    .contact-cta h2 { font-size: 24px; }

    .simple-page-hero { padding: 58px 0 48px; }
    .simple-page-hero h1 { font-size: 35px; }
    .simple-page-hero p { font-size: 14px; }
    .inner-section { padding: 56px 0; }
    .split-page-hero { padding: 28px 0 42px; }
    .split-page-copy h1 { font-size: 36px; }
    .split-page-copy p { font-size: 14px; }
    .split-page-media { height: 360px; }
    .values-grid { grid-template-columns: 1fr; }
    .values-grid article:last-child { grid-column: auto; }
    .about-story-media { height: 350px; }
    .about-story-copy { padding: 28px 22px; }
    .about-story-copy h2 { font-size: 29px; }
    .contact-info-panel, .contact-form-card { padding: 22px; }
    .contact-info-panel h2, .contact-form-card h2 { font-size: 27px; }
    .contact-info-list > div { grid-template-columns: 1fr; gap: 2px; }
    .material-grid { grid-template-columns: 1fr; }
    .shipping-grid { grid-template-columns: 1fr; }
    .search-results-grid, .post-grid { grid-template-columns: 1fr; }
    .article-hero h1 { font-size: 34px; }
    .error-card h1 { font-size: 38px; }
    .error-card > div { flex-direction: column; align-items: center; }
    .footer-top { grid-template-columns: 1fr; padding-top: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .commerce-shell { padding-bottom: 58px; }
    .commerce-hero { padding-top: 50px; }
    .commerce-hero h1 { font-size: 34px; }
    .woocommerce div.product .product_title { font-size: 31px; }
}


/* ============================== V3.1 TYPOGRAPHY / WIDTH SAFETY ============================== */
h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, select { overflow-wrap: break-word; }
main, section, header, footer, nav, .site-container, .container, .header-inner, .footer-top, .footer-bottom { min-width: 0; }
body, .site-header, .announcement-bar, .site-footer, .home-page, .inner-page, .commerce-page { width: 100%; max-width: 100%; }
body { font-weight: 400; letter-spacing: -.01em; }
.main-nav a, .header-quote, .announcement-message, .announcement-links a { font-weight: 500; }
.section-title, .home-hero-box h1, .simple-page-hero h1, .split-page-copy h1, .commerce-hero h1 { letter-spacing: -.035em; }
.section-title { font-weight: 500; }
.home-hero-box h1, .simple-page-hero h1, .split-page-copy h1, .commerce-hero h1 { font-weight: 500; }

/* ============================== EMPTY SHOP / CATALOG ============================== */
.empty-catalog {
    margin: 8px 0 0;
    padding: 36px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 30px;
    align-items: center;
    background: var(--cream-2);
    border: 1px solid var(--border);
}
.empty-catalog-copy > span { color: var(--green-650); font-size: 12px; }
.empty-catalog-copy h2 { margin: 5px 0 10px; color: var(--green-900); font-size: 30px; line-height: 1.45; font-weight: 500; }
.empty-catalog-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.empty-catalog-actions { margin-top: 19px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.empty-catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.empty-catalog-card { position: relative; height: 180px; overflow: hidden; background: #ddd; }
.empty-catalog-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,28,18,.55), transparent 60%); }
.empty-catalog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.empty-catalog-card strong { position: absolute; z-index: 2; right: 15px; bottom: 12px; color: #fff; font-size: 16px; font-weight: 500; }
.empty-catalog-card:hover img { transform: scale(1.035); }

/* ============================== SMART SUPPORT ============================== */
.smart-support {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2300;
    direction: rtl;
}
body.admin-bar .smart-support { bottom: 22px; }
.smart-support-launcher {
    min-height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 26px;
    background: var(--green-900);
    color: #fff;
    box-shadow: 0 14px 40px rgba(12,35,23,.2);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.smart-support-launcher:hover { transform: translateY(-2px); background: var(--green-850); }
.smart-support-launcher svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.smart-support-launcher span { font-size: 13px; font-weight: 600; white-space: nowrap; }
.smart-support-launcher i { width: 7px; height: 7px; border-radius: 50%; background: #8fca91; box-shadow: 0 0 0 4px rgba(143,202,145,.14); }
.smart-support-panel {
    position: absolute;
    right: 0;
    bottom: 60px;
    width: min(390px, calc(100vw - 28px));
    max-height: min(650px, calc(100vh - 110px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 25px 70px rgba(12,31,20,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.985);
    transform-origin: bottom right;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.smart-support-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.smart-support-header {
    padding: 18px 18px 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: var(--green-900);
    color: #fff;
}
.smart-support-header > div { min-width: 0; }
.smart-support-status { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.72); font-size: 11px; }
.smart-support-status i { width: 6px; height: 6px; border-radius: 50%; background: #8fca91; }
.smart-support-header strong { display: block; margin-top: 3px; font-size: 18px; font-weight: 600; }
.smart-support-header small { display: block; margin-top: 2px; color: rgba(255,255,255,.7); font-size: 11px; }
.smart-support-close { width: 32px; height: 32px; flex: 0 0 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.smart-support-close:hover { background: rgba(255,255,255,.16); }
.smart-support-body { padding: 16px; overflow-y: auto; background: #fcfbf8; }
.smart-support-welcome { margin-bottom: 13px; padding: 13px 14px; background: var(--cream); border: 1px solid #e8e1d5; }
.smart-support-welcome span { color: var(--green-900); font-size: 14px; font-weight: 600; }
.smart-support-welcome p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.smart-support-questions { display: grid; gap: 7px; }
.smart-support-question {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-align: right;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.smart-support-question:hover { border-color: #bdc8bc; background: #f8f7f3; transform: translateX(-2px); }
.smart-support-question span { font-size: 12px; line-height: 1.65; }
.smart-support-question b { color: var(--green-650); font-family: Arial, sans-serif; font-size: 14px; font-weight: 400; }
.smart-support-answer { padding: 2px 1px 6px; }
.smart-support-answer[hidden], .smart-support-welcome[hidden], .smart-support-questions[hidden] { display: none !important; }
.smart-support-back { margin-bottom: 12px; padding: 0; border: 0; background: transparent; color: var(--green-650); font-size: 11px; cursor: pointer; }
.smart-support-answer h3 { margin: 0 0 8px; color: var(--green-900); font-size: 19px; line-height: 1.55; font-weight: 600; }
.smart-support-answer p { margin: 0; color: #4f5b54; font-size: 13px; line-height: 2; }
.smart-support-footer { padding: 12px 15px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; border-top: 1px solid var(--border); background: #fff; }
.smart-support-footer span { width: 100%; color: var(--muted); font-size: 10px; }
.smart-support-footer a { padding: 6px 10px; border: 1px solid var(--green-900); color: var(--green-900); font-size: 11px; }
.smart-support-footer a:first-of-type { background: var(--green-900); color: #fff; }

@media (max-width: 960px) {
    .empty-catalog { grid-template-columns: 1fr; }
    .empty-catalog-grid { grid-template-columns: repeat(4,1fr); }
    .empty-catalog-card { height: 150px; }
}

@media (max-width: 640px) {
    .empty-catalog { padding: 22px; }
    .empty-catalog-copy h2 { font-size: 25px; }
    .empty-catalog-grid { grid-template-columns: 1fr 1fr; }
    .empty-catalog-card { height: 145px; }
    .smart-support { right: 14px; bottom: 14px; }
    .smart-support-launcher { width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; }
    .smart-support-launcher span, .smart-support-launcher i { display: none; }
    .smart-support-panel { position: fixed; right: 14px; left: 14px; bottom: 72px; width: auto; max-height: calc(100vh - 100px); transform-origin: bottom center; }
}


/* ============================== V3.2 POLISH ============================== */
:root {
    --font-fa: "Vazirmatn", "B Nazanin", Tahoma, Arial, sans-serif;
    --green-100: #eef3ee;
    --green-050: #f7faf7;
}

body {
    font-family: var(--font-fa);
    font-size: 15.5px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: -.008em;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.home-hero-box h1,
.simple-page-hero h1,
.split-page-copy h1,
.commerce-hero h1,
.article-hero h1 {
    font-family: var(--font-fa);
    font-weight: 600;
    letter-spacing: -.03em;
}

.main-nav a,
.header-quote,
.hero-primary-button,
.contact-cta-button,
.single-quote-button,
.moblebagh-quote-button {
    font-weight: 600;
}

.section-eyebrow,
.page-eyebrow,
.home-hero-label,
.product-category,
.commerce-hero > span {
    font-weight: 500;
    letter-spacing: 0;
}

/* Cleaner header and logo treatment */
.site-logo img {
    mix-blend-mode: normal;
    background: transparent;
    filter: saturate(.92) contrast(1.03);
}

.site-header.is-scrolled {
    background: rgba(255,255,255,.985);
    box-shadow: 0 8px 26px rgba(18,35,25,.06);
}

/* Homepage rhythm */
.home-section { padding: 72px 0; }
.section-head { margin-bottom: 28px; }
.section-title { font-size: clamp(30px, 2.8vw, 38px); }
.collection-info h3 { font-weight: 600; }
.product-card h3,
.catalog-preview-card h3,
.inspiration-body h3 { font-weight: 600; }

/* Product cards - catalog mode */
.product-card {
    border-radius: 0;
    overflow: hidden;
}
.product-card-media { height: 310px; }
.product-card-body { padding: 16px 17px 17px; }
.product-card-bottom { align-items: flex-end; }
.product-request-price {
    color: var(--green-650);
    font-weight: 500;
}
.product-quote-link {
    min-height: 34px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--green-900);
    border-bottom: 1px solid var(--green-900);
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}
.product-quote-link:hover { background: var(--green-900); color: #fff; }

/* Shop category navigation */
.shop-category-nav {
    margin: 0 0 28px;
    padding: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
}
.shop-category-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--green-900);
    font-size: 12px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.shop-category-chip span {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--cream);
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 9px;
}
.shop-category-chip:hover,
.shop-category-chip.is-active {
    border-color: var(--green-900);
    background: var(--green-900);
    color: #fff;
}
.shop-category-chip:hover span,
.shop-category-chip.is-active span {
    background: rgba(255,255,255,.13);
    color: #fff;
}

.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 12px; }
.woocommerce .woocommerce-ordering select { border-radius: 0; font-size: 12px; }
.woocommerce ul.products li.product {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.woocommerce ul.products li.product a img { transition: transform .5s ease; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.025); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 20px;
    font-weight: 600;
}

/* Product detail inquiry panel */
.single-quote-box {
    margin-top: 22px;
    padding: 22px;
    background: var(--cream-2);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(18,35,25,.035);
}
.single-quote-kicker { color: var(--green-650) !important; font-weight: 600; }
.single-quote-box > strong {
    margin-top: 5px;
    font-size: 21px;
    font-weight: 600;
}
.single-quote-box > p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}
.single-quote-points {
    margin-top: 14px;
    padding-top: 13px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 7px;
    border-top: 1px solid var(--border);
}
.single-quote-points li {
    position: relative;
    padding-right: 14px;
    color: #4f5d54;
    font-size: 11px;
}
.single-quote-points li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .8em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-650);
}
.single-quote-actions { margin-top: 16px; }

/* ============================== SMART SUPPORT V3.2 ============================== */
.smart-support {
    right: 24px;
    bottom: 22px;
}

.smart-support-launcher {
    min-height: 54px;
    padding: 6px 14px 6px 10px;
    gap: 10px;
    border-radius: 999px;
    box-shadow: 0 16px 42px rgba(12,35,23,.20);
}
.smart-support-launcher-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}
.smart-support-launcher-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.smart-support-launcher-copy { display: grid; gap: 0; text-align: right; line-height: 1.3; }
.smart-support-launcher-copy strong { font-size: 12px; font-weight: 700; }
.smart-support-launcher-copy small { color: rgba(255,255,255,.66); font-size: 9px; }
.smart-support-launcher > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9ad29a;
    box-shadow: 0 0 0 4px rgba(154,210,154,.13);
}

.smart-support-panel {
    bottom: 66px;
    width: min(410px, calc(100vw - 32px));
    max-height: min(590px, calc(100vh - 120px));
    border-radius: 14px;
    border-color: rgba(23,55,42,.12);
    box-shadow: 0 28px 80px rgba(10,28,18,.24);
    background: #f8f7f3;
}
.smart-support-header {
    min-height: 72px;
    padding: 13px 14px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: var(--green-900);
}
.smart-support-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2efe6;
    color: var(--green-900);
    font-size: 18px;
    font-weight: 800;
}
.smart-support-header-copy { min-width: 0; margin-left: auto; }
.smart-support-header-copy strong { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.smart-support-status { margin-top: 1px; font-size: 10px; }
.smart-support-reset {
    padding: 5px 7px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    cursor: pointer;
}
.smart-support-reset:hover { color: #fff; }
.smart-support-close {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    font-family: Arial, sans-serif;
    font-size: 20px;
}

.smart-support-body {
    min-height: 340px;
    padding: 14px;
    background: #f8f7f3;
}
.smart-chat-log { display: grid; gap: 9px; margin-bottom: 13px; }
.smart-chat-row { display: flex; width: 100%; }
.smart-chat-row.is-bot { justify-content: flex-start; }
.smart-chat-row.is-user { justify-content: flex-end; }
.smart-chat-bubble {
    max-width: 86%;
    padding: 10px 12px;
    border-radius: 13px 13px 13px 4px;
    background: #fff;
    border: 1px solid var(--border);
    color: #425048;
    font-size: 11.5px;
    line-height: 1.85;
    box-shadow: 0 4px 12px rgba(18,35,25,.025);
}
.smart-chat-row.is-user .smart-chat-bubble {
    border: 0;
    border-radius: 13px 13px 4px 13px;
    background: var(--green-900);
    color: #fff;
}
.smart-chat-row.is-typing .smart-chat-bubble { color: var(--muted); font-size: 10px; }

.smart-support-topics {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 1px 0 10px;
    scrollbar-width: none;
}
.smart-support-topics::-webkit-scrollbar { display: none; }
.smart-support-topics button {
    flex: 0 0 auto;
    min-height: 31px;
    padding: 0 10px;
    border: 1px solid #d8ddd6;
    border-radius: 999px;
    background: #fff;
    color: var(--green-900);
    font-size: 9.5px;
    font-weight: 600;
    cursor: pointer;
}
.smart-support-topics button:hover,
.smart-support-topics button.is-active {
    border-color: var(--green-900);
    background: var(--green-900);
    color: #fff;
}
.smart-support-questions { gap: 6px; }
.smart-support-question {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 9px;
    border-color: #e1ddd5;
    background: rgba(255,255,255,.82);
}
.smart-support-question:hover { transform: none; background: #fff; border-color: #bfc9c0; }
.smart-support-question span { font-size: 10.5px; font-weight: 500; }
.smart-support-question b { font-size: 12px; }

.smart-support-footer {
    padding: 11px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
}
.smart-support-footer > div:first-child { display: grid; gap: 1px; }
.smart-support-footer strong { color: var(--green-900); font-size: 10px; font-weight: 700; }
.smart-support-footer span { width: auto; color: var(--muted); font-size: 9px; }
.smart-support-footer-actions { display: flex; gap: 6px; }
.smart-support-footer a {
    min-height: 30px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 600;
}
.smart-support-note {
    display: block;
    padding: 6px 13px 8px;
    border-top: 1px solid #f0ede7;
    background: #fff;
    color: #9a9f9b;
    font-size: 8px;
    text-align: center;
}

/* Better commerce spacing */
.commerce-hero { padding-top: 54px; }
.commerce-hero h1 { font-size: clamp(34px, 3.5vw, 44px); }
.commerce-shell { padding-bottom: 70px; }
.empty-catalog { box-shadow: 0 14px 42px rgba(18,35,25,.035); }
.empty-catalog-card strong { font-weight: 600; }

@media (max-width: 960px) {
    .single-quote-points { grid-template-columns: 1fr; }
    .smart-support-panel { max-height: min(620px, calc(100vh - 100px)); }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .home-section { padding: 56px 0; }
    .smart-support { right: 12px; bottom: 12px; }
    .smart-support-launcher {
        width: 50px;
        height: 50px;
        min-height: 50px;
        padding: 0;
        justify-content: center;
    }
    .smart-support-launcher-icon { width: 50px; height: 50px; background: transparent; }
    .smart-support-launcher-copy,
    .smart-support-launcher > i { display: none; }
    .smart-support-panel {
        right: 10px;
        left: 10px;
        bottom: 70px;
        width: auto;
        max-height: calc(100vh - 88px);
        border-radius: 14px;
    }
    .smart-support-body { min-height: 300px; }
    .smart-support-footer { align-items: flex-start; flex-direction: column; }
    .smart-support-footer-actions { width: 100%; }
    .smart-support-footer a { flex: 1; justify-content: center; }
    .shop-category-nav { margin-inline: -14px; padding-inline: 14px; }
}

/* ============================== V3.3 WARM / LIVING POLISH ============================== */
:root {
    --font-heading: "Estedad", "Vazirmatn", "B Nazanin", Tahoma, Arial, sans-serif;
    --warm-white: #fffdfa;
    --cream-warm: #f7f2e9;
    --sage-050: #f4f7f2;
    --sage-100: #e9efe8;
    --olive-soft: #79866f;
    --gold-soft: #a98d62;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-card: 0 16px 44px rgba(22, 43, 30, .075);
    --shadow-hover: 0 22px 58px rgba(22, 43, 30, .12);
}

body {
    background: var(--warm-white);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.home-hero-box h1,
.simple-page-hero h1,
.split-page-copy h1,
.commerce-hero h1,
.article-hero h1 {
    font-family: var(--font-heading);
    letter-spacing: -.035em;
}

/* softer, less rigid navigation */
.site-header {
    border-bottom-color: rgba(23, 55, 42, .07);
}
.header-quote {
    border-radius: 999px;
    padding-inline: 16px;
}
.main-nav a::after {
    height: 2px;
    border-radius: 99px;
    bottom: 12px;
    background: linear-gradient(90deg, var(--green-900), var(--gold-soft));
}

/* warm section rhythm */
.home-section,
.inner-section,
.simple-page-content,
.commerce-shell {
    position: relative;
}

.section-eyebrow,
.page-eyebrow,
.home-hero-label,
.commerce-hero > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--olive-soft);
}
.section-eyebrow::before,
.page-eyebrow::before,
.home-hero-label::before,
.commerce-hero > span::before {
    content: "";
    width: 18px;
    height: 1px;
    flex: 0 0 18px;
    background: var(--gold-soft);
}

.section-title {
    text-wrap: balance;
}
.section-head {
    margin-bottom: 32px;
}
.section-link,
.editorial-link,
.read-more {
    border-bottom-color: rgba(23, 55, 42, .23) !important;
}

/* buttons now feel more tactile */
.hero-primary-button,
.contact-cta-button,
.contact-submit,
.single-quote-button,
.moblebagh-quote-button,
.outline-button,
.single-quote-secondary,
.product-quote-link {
    border-radius: 10px;
}
.hero-primary-button,
.contact-cta-button,
.contact-submit,
.single-quote-button,
.moblebagh-quote-button {
    box-shadow: 0 8px 20px rgba(19, 55, 40, .11);
}
.hero-primary-button:hover,
.contact-cta-button:hover,
.contact-submit:hover,
.single-quote-button:hover,
.moblebagh-quote-button:hover {
    box-shadow: 0 12px 28px rgba(19, 55, 40, .16);
}

/* HERO: softer editorial card and a more welcoming feel */
.home-hero {
    min-height: 520px;
}
.home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(8, 26, 17, .11), transparent);
}
.home-hero-image {
    transform: scale(1.002);
    animation: moblebaghHeroIn .75s ease-out both;
}
.home-hero-box {
    position: relative;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 18px;
    background: rgba(252, 249, 241, .93);
    box-shadow: 0 22px 58px rgba(24, 39, 29, .13);
    overflow: hidden;
}
.home-hero-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 76px;
    height: 3px;
    border-radius: 0 0 0 99px;
    background: linear-gradient(90deg, var(--green-900), var(--gold-soft));
}
.home-hero-box h1 {
    font-size: 39px;
    line-height: 1.38;
}
.home-hero-box p {
    color: #566159;
}
@keyframes moblebaghHeroIn {
    from { opacity: .92; transform: scale(1.015); }
    to { opacity: 1; transform: scale(1.002); }
}

/* COLLECTIONS: warmer canvas, floating editorial cards */
.collections-section {
    background:
        radial-gradient(circle at 88% 16%, rgba(96, 113, 88, .08), transparent 22%),
        linear-gradient(180deg, #fff 0%, #fdfbf7 100%);
}
.collections-grid {
    gap: 14px;
}
.collection-card {
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(18, 38, 26, .055);
    transition: transform .32s ease, box-shadow .32s ease;
}
.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.collection-card::after {
    background: linear-gradient(to top, rgba(10,27,18,.62) 0%, rgba(10,27,18,.13) 45%, transparent 75%);
}
.collection-info {
    right: 26px;
    bottom: 24px;
    left: 26px;
}
.collection-info > span {
    color: rgba(255,255,255,.74);
    font-weight: 500;
}
.collection-info h3 {
    font-size: 27px;
    text-shadow: 0 2px 20px rgba(0,0,0,.12);
}
.collection-arrow {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* PRODUCT / CATALOG CARDS */
.products-showcase {
    background:
        radial-gradient(circle at 12% 12%, rgba(169, 141, 98, .075), transparent 24%),
        linear-gradient(180deg, #faf8f3 0%, #f7f3eb 100%);
}
.products-showcase-alt {
    background: var(--warm-white);
}
.product-grid,
.catalog-preview-grid,
.inspiration-grid {
    gap: 18px;
}
.product-card,
.catalog-preview-card,
.inspiration-card {
    border: 1px solid rgba(23,55,42,.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(18,35,25,.035);
}
.product-card:hover,
.catalog-preview-card:hover,
.inspiration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}
.product-card-media,
.catalog-preview-card img,
.inspiration-media {
    background: #ede9df;
}
.product-card-quick {
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(17,35,25,.11);
}
.product-card-body,
.catalog-preview-card > div,
.inspiration-body {
    background: rgba(255,255,255,.98);
}
.product-card h3,
.catalog-preview-card h3,
.inspiration-body h3 {
    line-height: 1.55;
}
.product-quote-link {
    border: 1px solid rgba(23,55,42,.16);
    background: var(--sage-050);
    padding-inline: 10px;
    min-height: 33px;
}

/* EDITORIAL: preserve the strong section, make it feel less boxy */
.editorial-section {
    padding: 42px 0 82px;
    background: linear-gradient(180deg, #f7f3eb 0%, #fffdfa 100%);
}
.editorial-grid {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 65px rgba(16, 38, 25, .10);
}
.editorial-content {
    position: relative;
    background:
        radial-gradient(circle at 14% 12%, rgba(255,255,255,.08), transparent 22%),
        linear-gradient(145deg, var(--green-900), #0f2f21);
}
.editorial-content::before {
    content: "✦";
    position: absolute;
    top: 28px;
    left: 32px;
    color: rgba(255,255,255,.20);
    font-size: 28px;
}
.editorial-content h2 {
    font-size: 37px;
}

/* BENEFITS: cards instead of hard separators */
.benefits-section {
    padding: 22px 0;
    background: linear-gradient(180deg, #f6f1e8, #f9f6ef);
    border: 0;
}
.benefits-grid {
    min-height: 0;
    gap: 10px;
}
.benefit-item {
    min-height: 98px;
    padding: 18px 20px;
    border: 1px solid rgba(23,55,42,.07) !important;
    border-radius: 14px;
    background: rgba(255,255,255,.62);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.benefit-item:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 12px 30px rgba(18,35,25,.055);
}
.benefit-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: var(--sage-100);
}
.benefit-item strong {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Inspiration becomes more editorial and less template-like */
.inspiration-section {
    background:
        radial-gradient(circle at 95% 8%, rgba(96,113,88,.06), transparent 18%),
        var(--warm-white);
}
.inspiration-media {
    height: 275px;
}
.inspiration-body {
    padding: 18px 18px 20px;
}
.read-more {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
}

/* CTA has a more premium, friendly callout */
.contact-cta-section {
    padding: 8px 0 76px;
    background: var(--warm-white);
}
.contact-cta {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(169,141,98,.20);
    border-radius: 20px;
    background:
        radial-gradient(circle at 10% 20%, rgba(169,141,98,.13), transparent 24%),
        linear-gradient(135deg, #f5efe4 0%, #faf7ef 56%, #eef3ec 100%);
    box-shadow: 0 14px 40px rgba(18,35,25,.045);
}
.contact-cta::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(23,55,42,.08);
    border-radius: 50%;
}
.contact-cta > * { position: relative; z-index: 1; }
.contact-cta h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 29px;
}

/* INNER PAGES */
.simple-page-hero,
.split-page-hero,
.commerce-hero,
.article-hero {
    background:
        radial-gradient(circle at 88% 14%, rgba(96,113,88,.08), transparent 23%),
        linear-gradient(180deg, #faf8f3 0%, #f6f1e8 100%);
}
.simple-page-hero h1,
.split-page-copy h1,
.commerce-hero h1,
.article-hero h1 {
    text-wrap: balance;
}
.info-card,
.guide-card,
.contact-card,
.empty-catalog,
.single-quote-box {
    border-radius: 16px;
}
.empty-catalog {
    background: linear-gradient(145deg, #faf8f3, #f3eee4);
}
.empty-catalog-card {
    border-radius: 12px;
}
.shop-category-chip {
    border-radius: 999px;
}

/* FOOTER */
.site-footer {
    position: relative;
    background:
        radial-gradient(circle at 12% 0%, rgba(169,141,98,.10), transparent 20%),
        var(--green-900);
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
    opacity: .7;
}
.footer-contact-button {
    border-radius: 9px;
}

/* SMART SUPPORT: smaller and less dominant */
.smart-support {
    right: 18px;
    bottom: 18px;
}
.smart-support-launcher {
    min-height: 50px;
    padding: 5px 12px 5px 8px;
    box-shadow: 0 12px 32px rgba(12,35,23,.18);
}
.smart-support-launcher-icon {
    width: 34px;
    height: 34px;
}
.smart-support-panel {
    bottom: 61px;
    width: min(365px, calc(100vw - 28px));
    max-height: min(535px, calc(100vh - 105px));
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(10,28,18,.21);
}
.smart-support-header {
    min-height: 66px;
    padding: 11px 12px;
}
.smart-support-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}
.smart-support-body {
    min-height: 280px;
    padding: 12px;
}
.smart-chat-bubble {
    max-width: 90%;
    padding: 9px 11px;
    font-size: 11px;
}
.smart-support-topics button {
    min-height: 29px;
    padding-inline: 9px;
}
.smart-support-question {
    min-height: 38px;
    border-radius: 10px;
}
.smart-support-footer {
    padding: 9px 11px;
}
.smart-support-note {
    padding: 5px 10px 7px;
}

/* keyboard / accessibility polish */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .collection-card,
    .catalog-preview-card,
    .product-card,
    .inspiration-card,
    .editorial-grid {
        border-radius: 14px;
    }
    .benefits-grid {
        gap: 8px;
    }
    .benefit-item {
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .home-hero-box {
        border-radius: 15px;
    }
    .home-hero-box h1 {
        font-size: 32px;
    }
    .collections-grid {
        gap: 12px;
    }
    .collection-card,
    .catalog-preview-card,
    .product-card,
    .inspiration-card,
    .editorial-grid,
    .contact-cta {
        border-radius: 14px;
    }
    .benefits-section {
        padding: 14px 0;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    .benefit-item {
        min-height: 118px;
        padding: 15px;
        align-items: flex-start;
        flex-direction: column;
    }
    .smart-support {
        right: 10px;
        bottom: 10px;
    }
    .smart-support-panel {
        right: 8px;
        left: 8px;
        bottom: 66px;
        max-height: calc(100vh - 84px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* ========================================================================
   V7.4 — PRODUCT PAGE REDESIGN
   ======================================================================== */

.single-product .commerce-page {
    background: linear-gradient(180deg, #fbfaf6 0, #fff 320px);
}

.single-product .commerce-shell {
    padding-top: 26px;
    padding-bottom: 88px;
}

.mb-single-product {
    min-width: 0;
}

.mb-product-breadcrumb {
    margin-bottom: 18px;
}

.mb-product-breadcrumb .woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: #7c837e;
    font-size: 11px;
}

.mb-product-breadcrumb .woocommerce-breadcrumb a {
    color: #657168;
}

.mb-product-breadcrumb .woocommerce-breadcrumb span {
    color: #a0a59f;
}

.mb-product-top {
    display: grid;
    grid-template-columns: minmax(330px, .80fr) minmax(0, 1.20fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
    direction: rtl;
}

.mb-product-summary,
.mb-product-gallery-wrap {
    min-width: 0;
    direction: rtl;
}

.mb-product-summary {
    position: sticky;
    top: 132px;
    padding-top: 12px;
}

.admin-bar .mb-product-summary {
    top: 164px;
}

.mb-product-eyebrow,
.mb-product-section-label,
.mb-product-quote-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-650);
    font-size: 12px;
    font-weight: 600;
}

.mb-product-eyebrow::before,
.mb-product-section-label::before {
    content: "";
    width: 24px;
    height: 1px;
    background: #b8aa8b;
}

.mb-product-title {
    max-width: 590px;
    margin: 11px 0 14px;
    color: var(--green-900);
    font-family: var(--font-heading, "Estedad", "Vazirmatn", sans-serif);
    font-size: clamp(36px, 3.7vw, 58px);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.mb-product-short-description {
    max-width: 590px;
    color: #58655d;
    font-size: 15px;
    line-height: 2;
}

.mb-product-short-description p {
    margin: 0;
}

.mb-product-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}

.mb-product-meta-item {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    background: rgba(255,255,255,.78);
}

.mb-product-meta-item span {
    display: block;
    margin-bottom: 3px;
    color: #899089;
    font-size: 10px;
}

.mb-product-meta-item strong {
    display: block;
    overflow: hidden;
    color: #26372e;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mb-product-quote-card {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    padding: 24px;
    border: 1px solid rgba(154, 132, 94, .19);
    border-radius: 18px;
    background:
        radial-gradient(circle at 10% 10%, rgba(177,150,103,.13), transparent 24%),
        linear-gradient(145deg, #f7f3ea, #fbfaf6 64%, #eef3ec);
    box-shadow: 0 15px 44px rgba(19, 37, 27, .055);
}

.mb-product-quote-card::after {
    content: "";
    position: absolute;
    left: -48px;
    bottom: -68px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(23,55,42,.07);
    border-radius: 50%;
}

.mb-product-quote-card > * {
    position: relative;
    z-index: 1;
}

.mb-product-quote-card h2 {
    margin: 6px 0 6px;
    color: var(--green-900);
    font-family: var(--font-heading, "Estedad", "Vazirmatn", sans-serif);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.55;
}

.mb-product-quote-card p {
    margin: 0;
    color: #6c746e;
    font-size: 12px;
    line-height: 1.9;
}

.mb-product-quote-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.mb-product-quote-features span {
    padding: 6px 9px;
    border: 1px solid rgba(23,55,42,.11);
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    color: #506158;
    font-size: 10px;
}

.mb-product-quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.mb-product-primary-button,
.mb-product-secondary-button {
    min-height: 43px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.mb-product-primary-button {
    background: var(--green-900);
    color: #fff;
}

.mb-product-primary-button:hover {
    background: var(--green-950);
    transform: translateY(-1px);
}

.mb-product-secondary-button {
    border: 1px solid #d9d8d1;
    background: rgba(255,255,255,.72);
    color: var(--green-900);
}

.mb-product-secondary-button:hover {
    border-color: #b9c2ba;
    background: #fff;
}

/* Gallery — removes WooCommerce's float-based desktop layout. */
.single-product .mb-product-gallery-wrap div.images,
.single-product .mb-product-gallery-wrap .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.mb-product-gallery-wrap .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.mb-product-gallery-wrap .woocommerce-product-gallery__image {
    overflow: hidden;
    border-radius: 18px;
    background: #f2efe8;
}

.mb-product-gallery-wrap .woocommerce-product-gallery__image > a {
    display: block;
}

.mb-product-gallery-wrap .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    max-height: 720px;
    object-fit: cover;
    border-radius: 18px;
}

.mb-product-gallery-wrap .flex-viewport {
    border-radius: 18px;
}

.mb-product-gallery-wrap .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px !important;
}

.mb-product-gallery-wrap .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.mb-product-gallery-wrap .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1 / .84;
    object-fit: cover;
    border: 1px solid transparent;
    border-radius: 10px;
    opacity: .62;
    transition: opacity .2s ease, border-color .2s ease;
}

.mb-product-gallery-wrap .flex-control-thumbs img.flex-active,
.mb-product-gallery-wrap .flex-control-thumbs img:hover {
    border-color: rgba(23,55,42,.30);
    opacity: 1;
}

.mb-product-gallery-wrap .woocommerce-product-gallery__trigger {
    top: 14px !important;
    right: auto !important;
    left: 14px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.9) !important;
    box-shadow: 0 8px 24px rgba(17,35,25,.10);
}

.mb-product-details {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 18px;
    margin-top: 72px;
    padding-top: 38px;
    border-top: 1px solid #ece8df;
}

.mb-product-description-card,
.mb-product-specs-card {
    padding: 30px;
    border: 1px solid #ebe7de;
    border-radius: 18px;
    background: #fff;
}

.mb-product-description-card {
    background:
        radial-gradient(circle at 92% 0%, rgba(96,113,88,.06), transparent 25%),
        #fff;
}

.mb-product-description-card h2,
.mb-product-specs-card h2 {
    margin: 8px 0 18px;
    color: var(--green-900);
    font-family: var(--font-heading, "Estedad", "Vazirmatn", sans-serif);
    font-size: 28px;
    font-weight: 600;
}

.mb-product-description-content {
    color: #536058;
    font-size: 14px;
    line-height: 2.05;
}

.mb-product-description-content p:first-child {
    margin-top: 0;
}

.mb-product-description-content ul,
.mb-product-description-content ol {
    display: grid;
    gap: 7px;
    margin: 15px 0;
    padding-right: 19px;
    list-style: disc;
}

.mb-product-description-content li::marker {
    color: #77846f;
}

.mb-product-description-empty {
    color: var(--muted);
}

.mb-product-specs-list {
    margin: 0;
}

.mb-product-specs-list > div {
    display: grid;
    grid-template-columns: minmax(95px, .7fr) minmax(0, 1.3fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #efede7;
}

.mb-product-specs-list > div:last-child {
    border-bottom: 0;
}

.mb-product-specs-list dt {
    color: #8b928d;
    font-size: 11px;
}

.mb-product-specs-list dd {
    margin: 0;
    color: #34463b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.mb-product-specs-cta {
    width: 100%;
    min-height: 42px;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--green-900);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.mb-product-help-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 22px 26px;
    border: 1px solid #e7e1d5;
    border-radius: 16px;
    background: linear-gradient(125deg, #f7f1e6, #f4f6f1);
}

.mb-product-help-strip div > span {
    display: block;
    margin-bottom: 3px;
    color: #8b8e85;
    font-size: 10px;
}

.mb-product-help-strip div > strong {
    color: var(--green-900);
    font-family: var(--font-heading, "Estedad", "Vazirmatn", sans-serif);
    font-size: 19px;
    font-weight: 600;
}

.mb-product-help-strip > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green-900);
    font-size: 12px;
    font-weight: 600;
}

.mb-product-related {
    margin-top: 74px;
}

.mb-product-related .related.products > h2 {
    margin-bottom: 24px;
    color: var(--green-900);
    font-family: var(--font-heading, "Estedad", "Vazirmatn", sans-serif);
    font-size: 30px;
    font-weight: 600;
}

.mb-product-related .related.products ul.products {
    margin-top: 0;
}

/* Hide legacy default elements if a plugin tries to inject them. */
.mb-single-product > .summary,
.mb-single-product > .images,
.mb-single-product .woocommerce-tabs,
.mb-single-product .product_meta,
.mb-single-product .single-quote-box {
    display: none !important;
}

@media (max-width: 1050px) {
    .mb-product-top {
        grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
        gap: 34px;
    }
    .mb-product-summary {
        position: static;
    }
    .admin-bar .mb-product-summary {
        top: auto;
    }
    .mb-product-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mb-product-meta-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .mb-product-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .single-product .commerce-shell {
        padding-top: 18px;
        padding-bottom: 58px;
    }
    .mb-product-breadcrumb {
        margin-bottom: 12px;
    }
    .mb-product-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .mb-product-summary {
        order: 2;
        padding-top: 0;
    }
    .mb-product-gallery-wrap {
        order: 1;
    }
    .mb-product-title {
        margin-top: 8px;
        font-size: 32px;
        letter-spacing: -.03em;
    }
    .mb-product-short-description {
        font-size: 14px;
    }
    .mb-product-meta-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 18px;
    }
    .mb-product-quote-card {
        padding: 20px;
        border-radius: 15px;
    }
    .mb-product-quote-card h2 {
        font-size: 21px;
    }
    .mb-product-quote-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .mb-product-gallery-wrap .woocommerce-product-gallery__image,
    .mb-product-gallery-wrap .woocommerce-product-gallery__image img,
    .mb-product-gallery-wrap .flex-viewport {
        border-radius: 14px;
    }
    .mb-product-gallery-wrap .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
    }
    .mb-product-details {
        margin-top: 44px;
        padding-top: 24px;
    }
    .mb-product-description-card,
    .mb-product-specs-card {
        padding: 22px;
        border-radius: 15px;
    }
    .mb-product-description-card h2,
    .mb-product-specs-card h2 {
        font-size: 24px;
    }
    .mb-product-help-strip {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }
    .mb-product-help-strip div > strong {
        font-size: 17px;
    }
    .mb-product-related {
        margin-top: 52px;
    }
}

@media (max-width: 480px) {
    .mb-product-meta-grid {
        grid-template-columns: 1fr;
    }
    .mb-product-meta-item:last-child:nth-child(odd) {
        grid-column: auto;
    }
    .mb-product-quote-actions {
        grid-template-columns: 1fr;
    }
    .mb-product-primary-button,
    .mb-product-secondary-button {
        width: 100%;
    }
    .mb-product-gallery-wrap .flex-control-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    .mb-product-specs-list > div {
        grid-template-columns: 90px 1fr;
        gap: 12px;
    }
}

/* ========================================================================
   V7.5 — SHOP ROUTING + CATALOG + STABLE PRODUCT GALLERY
   ======================================================================== */

.mb-shop-page {
    min-height: 70vh;
    background: linear-gradient(180deg, #fbfaf6 0, #fff 430px);
}

.mb-shop-hero {
    margin-bottom: 24px;
}

.mb-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 0 22px;
    padding: 14px 16px;
    border: 1px solid #ebe7de;
    border-radius: 14px;
    background: rgba(255,255,255,.76);
}

.mb-shop-toolbar > div {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.mb-shop-toolbar strong {
    color: var(--green-900);
    font-size: 18px;
}

.mb-shop-toolbar span,
.mb-shop-toolbar a {
    color: #6d776f;
    font-size: 12px;
}

.mb-shop-toolbar a {
    color: var(--green-900);
    font-weight: 600;
}

.mb-shop-grid {
    margin-bottom: 40px;
}

/* Custom gallery: independent from WooCommerce FlexSlider, so the main image
   can never collapse into the large blank area seen in the previous version. */
.mb-custom-product-gallery {
    width: 100%;
}

.mb-product-main-media {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1.04;
    border: 1px solid #ebe7de;
    border-radius: 18px;
    background: #f2efe8;
}

.mb-product-main-media img,
.mb-product-main-media .woocommerce-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
}

.mb-product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.mb-product-thumb {
    overflow: hidden;
    padding: 0;
    aspect-ratio: 1 / .84;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #f2efe8;
    cursor: pointer;
    opacity: .7;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

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

.mb-product-thumb:hover,
.mb-product-thumb.is-active {
    border-color: rgba(23,55,42,.34);
    opacity: 1;
}

.mb-product-thumb:active {
    transform: scale(.98);
}

@media (max-width: 760px) {
    .mb-shop-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .mb-shop-grid.product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mb-product-main-media {
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }

    .mb-product-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .mb-shop-grid.product-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================================================
   V7.6 — QA FIXES + DEDICATED COLLECTIONS DIRECTORY
   ======================================================================== */

/* Contact page had inherited the light inner-page background while keeping
   white text. Make the contrast explicit so later generic rules cannot undo it. */
.simple-page-hero.contact-hero {
    background:
        radial-gradient(circle at 18% 15%, rgba(197,166,106,.16), transparent 28%),
        linear-gradient(135deg, #17372a 0%, #214b39 100%);
}
.simple-page-hero.contact-hero span { color: rgba(255,255,255,.68); }
.simple-page-hero.contact-hero h1 { color: #fff; }
.simple-page-hero.contact-hero p { color: rgba(255,255,255,.78); }

/* Header controls: keep the phone/search/menu icons visually equal. */
.header-icon svg,
.header-quote svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.9;
    flex: 0 0 20px;
}
.header-quote {
    min-height: 40px;
}

/* Dedicated collections page */
.collections-page {
    background: #fffdfa;
}
.collections-page-hero {
    padding: 88px 0 76px;
    background:
        radial-gradient(circle at 88% 18%, rgba(96,113,88,.10), transparent 25%),
        linear-gradient(180deg, #fbf9f4 0%, #f4efe5 100%);
    border-bottom: 1px solid rgba(23,55,42,.07);
}
.collections-page-hero-inner {
    max-width: 830px;
}
.collections-page-hero h1 {
    margin: 8px 0 12px;
    color: var(--green-900);
    font-family: var(--font-heading);
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.045em;
}
.collections-page-hero p {
    max-width: 690px;
    margin: 0;
    color: #69736b;
    font-size: 16px;
    line-height: 2;
}
.collections-page-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
}
.collections-page-featured,
.collections-page-categories {
    padding: 76px 0;
}
.collections-page-categories {
    background: #f8f5ee;
    border-top: 1px solid rgba(23,55,42,.06);
    border-bottom: 1px solid rgba(23,55,42,.06);
}
.collections-page-heading {
    margin-bottom: 28px;
}
.collections-page-hint {
    max-width: 420px;
    color: #7b837e;
    font-size: 12px;
    line-height: 1.8;
}
.collections-directory-featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}
.collections-directory-feature {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 22px;
    background: #d8d2c6;
    box-shadow: 0 10px 30px rgba(18,35,25,.05);
}
.collections-directory-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.6,.3,1);
}
.collections-directory-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,29,19,.76) 0%, rgba(9,29,19,.16) 52%, transparent 78%);
}
.collections-directory-feature-copy {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    left: 24px;
    color: #fff;
}
.collections-directory-feature-copy > span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
}
.collections-directory-feature-copy h3 {
    margin: 3px 0 7px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
}
.collections-directory-feature-copy p {
    max-width: 480px;
    margin: 0 0 10px;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    line-height: 1.85;
}
.collections-directory-feature-copy b {
    font-size: 13px;
    font-weight: 600;
}
.collections-directory-feature:hover img { transform: scale(1.035); }

.collections-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}
.collections-category-card {
    overflow: hidden;
    border: 1px solid rgba(23,55,42,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18,35,25,.035);
    transition: transform .22s ease, box-shadow .22s ease;
}
.collections-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(18,35,25,.08);
}
.collections-category-media {
    height: 235px;
    overflow: hidden;
    background: #e9e4d9;
}
.collections-category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.collections-category-card:hover img { transform: scale(1.03); }
.collections-category-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 18px 18px;
}
.collections-category-body span {
    color: #7a827c;
    font-size: 11px;
}
.collections-category-body h3 {
    margin: 2px 0 0;
    color: var(--green-900);
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 600;
}
.collections-category-body b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    border: 1px solid rgba(23,55,42,.14);
    border-radius: 50%;
    color: var(--green-900);
}
.collections-empty-state {
    padding: 42px;
    border: 1px dashed rgba(23,55,42,.18);
    border-radius: 18px;
    background: #fff;
    text-align: center;
}
.collections-empty-state h3 {
    margin: 0 0 6px;
    color: var(--green-900);
    font-family: var(--font-heading);
    font-size: 28px;
}
.collections-empty-state p {
    margin: 0 0 20px;
    color: #717a74;
}
.collections-page-cta {
    padding: 48px 0 78px;
}

/* Mobile menu QA: use a predictable wide dropdown instead of a narrow floating
   strip in the center of the page. */
@media (max-width: 960px) {
    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        right: auto;
        width: min(430px, calc(100vw - 28px));
        transform: translateX(-50%);
        z-index: 1600;
        padding: 8px;
        border: 1px solid rgba(23,55,42,.09);
        border-radius: 18px;
        background: rgba(255,255,255,.985);
        box-shadow: 0 22px 55px rgba(18,35,25,.14);
        backdrop-filter: blur(14px);
    }
    .main-nav ul,
    .main-nav .menu {
        display: grid;
        gap: 0;
    }
    .main-nav li {
        border-bottom: 1px solid #efede7;
    }
    .main-nav li:last-child { border-bottom: 0; }
    .main-nav a {
        min-height: 48px;
        padding: 12px 14px;
        justify-content: flex-start;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
    }
    .main-nav a:hover { background: #f6f3ec; }
    .header-quote {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        border-width: 1.2px;
    }
    .header-quote svg {
        width: 21px;
        height: 21px;
        stroke-width: 2;
    }
}

/* A single product should never sit in a half-width column on phone-sized
   catalog screens. */
@media (max-width: 760px) {
    .mb-shop-grid.product-grid {
        grid-template-columns: 1fr;
    }
    .collections-directory-featured,
    .collections-category-grid {
        grid-template-columns: 1fr;
    }
    .collections-directory-feature {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .collections-page-hero {
        padding: 58px 0 48px;
    }
    .collections-page-hero h1 {
        font-size: 38px;
    }
    .collections-page-hero p {
        font-size: 14px;
    }
    .collections-page-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .collections-page-featured,
    .collections-page-categories {
        padding: 58px 0;
    }
    .collections-page-hint { display: none; }
    .collections-directory-feature-copy h3 { font-size: 26px; }
    .collections-category-media { height: 220px; }
    .collections-page-cta { padding: 32px 0 58px; }
}


/* ========================================================================
   V7.7 — ADAPTIVE CATALOG + MOBILE HEADER QA
   ======================================================================== */

/* Mobile phone CTA: make the icon unmistakable instead of a mostly empty circle. */
@media (max-width: 960px) {
    .header-quote {
        background: var(--green-900);
        color: #fff;
        border-color: var(--green-900);
        box-shadow: 0 6px 18px rgba(23,55,42,.12);
    }
    .header-quote:hover {
        background: #102a1f;
        color: #fff;
    }
    .header-quote svg {
        width: 22px;
        height: 22px;
        stroke-width: 2.25;
    }

    /* Full, predictable mobile menu width. */
    .main-nav {
        width: min(430px, calc(100vw - 20px));
        min-width: min(430px, calc(100vw - 20px));
    }
}

@media (max-width: 640px) {
    .main-nav {
        width: calc(100vw - 20px);
        min-width: calc(100vw - 20px);
        max-width: none;
    }
    .header-quote {
        width: 38px;
        height: 38px;
    }
    .header-quote svg {
        width: 21px;
        height: 21px;
    }
}

/* Shop: adapt the visual layout to the number of published products. */
.mb-shop-grid.is-single-product {
    display: block;
}
.mb-shop-grid.is-single-product .product-card {
    display: grid;
    grid-template-columns: minmax(330px, 46%) minmax(0, 1fr);
    max-width: 920px;
    min-height: 410px;
    margin-right: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(18,35,25,.055);
}
.mb-shop-grid.is-single-product .product-card-media {
    height: 100%;
    min-height: 410px;
    border-radius: 0 20px 20px 0;
}
.mb-shop-grid.is-single-product .product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mb-shop-grid.is-single-product .product-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 34px;
}
.mb-shop-grid.is-single-product .product-card-body h3 {
    max-width: 520px;
    margin: 8px 0 16px;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.45;
}
.mb-shop-grid.is-single-product .product-card-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #ece8df;
}
.mb-shop-grid.is-two-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
}
.mb-shop-grid.is-three-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Real WooCommerce category directory: make sparse states intentional. */
.collections-category-grid.is-single-category {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}
.collections-category-grid.is-single-category .collections-category-card {
    display: grid;
    grid-template-columns: minmax(330px, 52%) minmax(0, 1fr);
    min-height: 300px;
}
.collections-category-grid.is-single-category .collections-category-media {
    height: 100%;
    min-height: 300px;
}
.collections-category-grid.is-single-category .collections-category-body {
    padding: 34px;
}
.collections-category-grid.is-single-category .collections-category-body h3 {
    font-size: 31px;
}
.collections-category-grid.is-two-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 920px;
}

/* Slightly tighter shop rhythm while the catalog is still small. */
.mb-shop-page .commerce-shell {
    padding-bottom: 72px;
}
.mb-shop-page .mb-shop-toolbar {
    margin-bottom: 26px;
}

@media (max-width: 760px) {
    .mb-shop-grid.is-single-product .product-card,
    .collections-category-grid.is-single-category .collections-category-card {
        display: block;
        max-width: none;
        min-height: 0;
        border-radius: 16px;
    }
    .mb-shop-grid.is-single-product .product-card-media {
        min-height: 0;
        height: 320px;
        border-radius: 16px 16px 0 0;
    }
    .mb-shop-grid.is-single-product .product-card-body {
        padding: 20px 18px 19px;
    }
    .mb-shop-grid.is-single-product .product-card-body h3 {
        font-size: 24px;
    }
    .collections-category-grid.is-single-category,
    .collections-category-grid.is-two-categories {
        max-width: none;
    }
    .collections-category-grid.is-single-category .collections-category-media {
        height: 245px;
        min-height: 0;
    }
    .collections-category-grid.is-single-category .collections-category-body {
        padding: 18px;
    }
    .collections-category-grid.is-single-category .collections-category-body h3 {
        font-size: 24px;
    }
}


/* ==================================================
   V3.8 — ROOM VISUALIZER
   Local-only 2D preview. No external AI/API.
================================================== */

.mb-room-preview-card {
    margin: 26px 0 0;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    border: 1px solid #e6e1d7;
    background: linear-gradient(135deg, #f8f5ee 0%, #eef2e9 100%);
    border-radius: 18px;
}

.mb-room-preview-copy > span {
    display: block;
    margin-bottom: 5px;
    color: var(--green-650, #6b785d);
    font-size: 12px;
    font-weight: 600;
}

.mb-room-preview-copy h2 {
    margin: 0;
    color: var(--green-900, #18372a);
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 500;
    line-height: 1.35;
}

.mb-room-preview-copy p {
    max-width: 720px;
    margin: 9px 0 0;
    color: var(--muted, #667069);
    font-size: 14px;
    line-height: 1.9;
}

.mb-room-preview-action {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    background: var(--green-900, #18372a);
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    font: inherit;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 24px rgba(24,55,42,.12);
}

.mb-room-preview-action:hover {
    background: var(--green-950, #0f271c);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(24,55,42,.16);
}

.mb-room-preview-action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.mb-visualizer-open {
    overflow: hidden;
}

body.mb-visualizer-open .smart-support {
    visibility: hidden;
    pointer-events: none;
}

.mb-room-visualizer {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
}

.mb-room-visualizer.is-open {
    display: block;
}

.mb-room-visualizer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 14, .62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mb-room-visualizer-dialog {
    position: absolute;
    inset: clamp(16px, 3vw, 42px);
    margin: auto;
    width: min(1380px, calc(100vw - 32px));
    height: min(860px, calc(100vh - 32px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(5,18,10,.32);
}

.mb-room-visualizer-head {
    min-height: 74px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #ebe8e1;
    background: #fff;
}

.mb-room-visualizer-title {
    min-width: 0;
}

.mb-room-visualizer-title > span {
    display: block;
    color: var(--green-650, #6b785d);
    font-size: 11px;
    font-weight: 600;
}

.mb-room-visualizer-title strong {
    display: block;
    margin-top: 1px;
    color: var(--green-900, #18372a);
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mb-room-visualizer-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e1d8;
    border-radius: 50%;
    background: #fff;
    color: #34443a;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.mb-room-visualizer-layout {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    direction: ltr;
}

.mb-room-stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(45deg, #f0f0ed 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0ed 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0ed 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0ed 75%),
        #f8f8f5;
    background-size: 22px 22px;
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}

.mb-room-canvas-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-room-canvas {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    background: #e8e8e3;
    box-shadow: 0 16px 50px rgba(20,30,23,.12);
    touch-action: none;
    cursor: grab;
}

.mb-room-canvas.is-dragging {
    cursor: grabbing;
}

.mb-room-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px;
    text-align: center;
    color: #68726a;
    pointer-events: none;
}

.mb-room-empty svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: var(--green-900, #18372a);
    stroke-width: 1.4;
}

.mb-room-empty strong {
    color: var(--green-900, #18372a);
    font-size: 18px;
    font-weight: 600;
}

.mb-room-empty span {
    max-width: 420px;
    font-size: 13px;
    line-height: 1.8;
}

.mb-room-empty.is-hidden {
    display: none;
}

.mb-room-controls {
    min-height: 0;
    padding: 20px;
    overflow-y: auto;
    direction: rtl;
    border-right: 1px solid #ebe8e1;
    background: #fff;
}

.mb-room-control-section + .mb-room-control-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #efede7;
}

.mb-room-control-label {
    display: block;
    margin-bottom: 8px;
    color: var(--green-900, #18372a);
    font-size: 13px;
    font-weight: 700;
}

.mb-room-upload {
    position: relative;
    min-height: 86px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed #bfc8bf;
    border-radius: 14px;
    background: #f8faf6;
    color: var(--green-900, #18372a);
    cursor: pointer;
    text-align: center;
}

.mb-room-upload input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mb-room-upload svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.mb-room-upload strong {
    display: block;
    font-size: 13px;
}

.mb-room-upload small {
    display: block;
    margin-top: 2px;
    color: #7a827c;
    font-size: 11px;
}

.mb-room-slider {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
}

.mb-room-slider label {
    color: #59665e;
    font-size: 12px;
}

.mb-room-slider input[type="range"] {
    width: 100%;
    accent-color: var(--green-900, #18372a);
}

.mb-room-slider output {
    color: var(--green-900, #18372a);
    font-size: 11px;
    text-align: left;
}

.mb-room-tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mb-room-tool {
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #dedbd3;
    border-radius: 10px;
    background: #fff;
    color: #33433a;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.mb-room-tool:hover,
.mb-room-tool.is-active {
    border-color: #aebaae;
    background: #f3f6f1;
    color: var(--green-900, #18372a);
}

.mb-room-actions {
    display: grid;
    gap: 9px;
}

.mb-room-download,
.mb-room-inquiry {
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}

.mb-room-download {
    border: 0;
    background: var(--green-900, #18372a);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.mb-room-inquiry {
    border: 1px solid #d7d3ca;
    background: #fff;
    color: var(--green-900, #18372a);
}

.mb-room-download:disabled,
.mb-room-tool:disabled,
.mb-room-slider input:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.mb-room-privacy {
    margin: 12px 0 0;
    color: #7b817c;
    font-size: 11px;
    line-height: 1.8;
}

.mb-room-privacy strong {
    color: #486052;
    font-weight: 600;
}

.mb-room-notice {
    margin: 10px 0 0;
    padding: 9px 10px;
    border-radius: 9px;
    background: #faf5e9;
    color: #71644b;
    font-size: 10px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .mb-room-preview-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .mb-room-preview-action {
        justify-self: start;
    }

    .mb-room-visualizer-dialog {
        inset: 8px;
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        border-radius: 16px;
    }

    .mb-room-visualizer-layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(280px, 1fr) auto;
    }

    .mb-room-stage {
        padding: 12px;
    }

    .mb-room-controls {
        max-height: 42vh;
        border-right: 0;
        border-top: 1px solid #ebe8e1;
    }
}

@media (max-width: 600px) {
    .mb-room-preview-card {
        margin-top: 18px;
        padding: 18px;
        border-radius: 14px;
    }

    .mb-room-preview-action {
        width: 100%;
    }

    .mb-room-visualizer-head {
        min-height: 62px;
        padding: 10px 12px;
    }

    .mb-room-visualizer-title strong {
        font-size: 16px;
    }

    .mb-room-visualizer-layout {
        grid-template-rows: minmax(245px, 1fr) auto;
    }

    .mb-room-controls {
        padding: 14px;
        max-height: 46vh;
    }

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


/* ==================================================
   V3.9 — HERO CLEANUP + PROFESSIONAL ROOM VISUALIZER
================================================== */

/* Requested cleanup: remove the tiny decorative line above the hero card. */
.home-hero-box::before {
    content: none !important;
    display: none !important;
}

/* Visualizer entry card */
.mb-room-preview-card {
    margin-top: 30px;
    padding: 26px 28px;
    border-radius: 22px;
    border-color: rgba(23,55,42,.10);
    background:
        radial-gradient(circle at 92% 15%, rgba(128,144,120,.12), transparent 28%),
        linear-gradient(135deg, #faf7f0 0%, #f2f5ef 100%);
    box-shadow: 0 18px 48px rgba(20,42,29,.055);
}
.mb-room-preview-copy > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(23,55,42,.065);
    color: #4e6658;
}
.mb-room-preview-action {
    min-height: 52px;
    padding-inline: 22px;
    border-radius: 14px;
}

/* Full-screen workspace */
.mb-room-visualizer-backdrop {
    background: rgba(8,18,12,.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.mb-room-visualizer-dialog {
    inset: clamp(10px, 2vw, 28px);
    width: min(1440px, calc(100vw - 20px));
    height: min(900px, calc(100dvh - 20px));
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px;
    background: #fbfaf7;
    box-shadow: 0 34px 110px rgba(0,0,0,.38);
}
.mb-room-visualizer-head {
    min-height: 70px;
    padding: 12px 18px 12px 22px;
    border-bottom-color: #e8e5dd;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.mb-room-visualizer-title > span {
    color: #718077;
    letter-spacing: -.1px;
}
.mb-room-visualizer-title strong {
    margin-top: 2px;
    font-size: 19px;
}
.mb-room-visualizer-close {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-color: #e0ddd5;
    box-shadow: 0 5px 14px rgba(23,55,42,.05);
    transition: transform .2s ease, background .2s ease;
}
.mb-room-visualizer-close:hover {
    transform: rotate(4deg);
    background: #f6f3ec;
}
.mb-room-visualizer-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    background: #f1efe9;
}

/* Premium stage: the customer's photo becomes a soft blurred background
   behind the correctly-proportioned canvas, so portrait photos no longer
   sit inside a large checkerboard. */
.mb-room-stage {
    isolation: isolate;
    padding: clamp(14px, 2vw, 26px);
    background: #232a25;
}
.mb-room-stage::before {
    content: "";
    position: absolute;
    inset: -36px;
    z-index: -2;
    background-image: var(--mb-room-bg, none);
    background-position: center;
    background-size: cover;
    filter: blur(30px) saturate(.88) brightness(.58);
    transform: scale(1.08);
    opacity: 0;
    transition: opacity .28s ease;
}
.mb-room-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(255,255,255,.05), rgba(3,13,8,.36));
    pointer-events: none;
}
.mb-room-stage.has-room::before { opacity: 1; }
.mb-room-stage:not(.has-room) {
    background:
        radial-gradient(circle at 50% 42%, rgba(122,145,128,.22), transparent 28%),
        linear-gradient(145deg, #28342d 0%, #17231c 100%);
}
.mb-room-canvas-wrap {
    min-width: 0;
    min-height: 0;
}
.mb-room-canvas {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    background: #e6e5e0;
    box-shadow: 0 24px 70px rgba(0,0,0,.30), 0 0 0 1px rgba(255,255,255,.16);
    outline: none;
}
.mb-room-canvas:focus-visible {
    box-shadow: 0 24px 70px rgba(0,0,0,.30), 0 0 0 3px rgba(210,188,126,.75);
}
.mb-room-stage-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(12,25,17,.56);
    color: rgba(255,255,255,.88);
    font-size: 10px;
    direction: rtl;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}
.mb-room-stage.has-room .mb-room-stage-badge {
    opacity: 1;
    transform: none;
}
.mb-room-stage-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b8d2bd;
    box-shadow: 0 0 0 3px rgba(184,210,189,.12);
}
.mb-room-empty {
    z-index: 3;
    margin: auto;
    width: min(430px, calc(100% - 36px));
    height: auto;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    padding: 28px 30px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.mb-room-empty svg { width: 46px; height: 46px; }
.mb-room-empty strong { font-size: 19px; }

/* Side panel */
.mb-room-controls {
    padding: 18px;
    border-right: 1px solid #e4e1d8;
    background: #fbfaf7;
}
.mb-room-control-section {
    padding: 16px;
    border: 1px solid #e7e3db;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23,55,42,.035);
}
.mb-room-control-section + .mb-room-control-section {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid #e7e3db;
}
.mb-room-control-label {
    margin-bottom: 10px;
    font-size: 12px;
}
.mb-room-upload {
    min-height: 88px;
    border-radius: 13px;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.mb-room-upload:hover,
.mb-room-upload.is-dragover {
    border-color: #78907d;
    background: #f3f7f1;
}
.mb-room-upload.is-dragover { transform: scale(.99); }
.mb-room-upload-status {
    display: block;
    margin-top: 7px;
    color: #6f7972;
    font-size: 10px;
    line-height: 1.6;
}
.mb-room-slider {
    grid-template-columns: 68px minmax(0, 1fr) 46px;
    gap: 9px;
    margin-top: 12px;
}
.mb-room-slider input[type="range"] { cursor: pointer; }
.mb-room-slider output {
    padding: 2px 4px;
    border-radius: 6px;
    background: #f5f3ed;
    text-align: center;
}
.mb-room-tool-grid { margin-top: 14px; }
.mb-room-tool {
    min-height: 43px;
    border-radius: 11px;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.mb-room-tool:not(:disabled):hover { transform: translateY(-1px); }
.mb-room-tool.is-active {
    border-color: rgba(23,55,42,.22);
    background: #edf3ed;
}
.mb-room-product-warning {
    display: none;
    margin: 12px 0 0;
    padding: 10px 11px;
    border: 1px solid #ead8ad;
    border-radius: 10px;
    background: #fff9ea;
    color: #745f32;
    font-size: 10px;
    line-height: 1.75;
}
.mb-room-product-warning.is-visible { display: block; }
.mb-room-gesture-hint {
    margin: 11px 0 0;
    color: #69736d;
    font-size: 10px;
    line-height: 1.75;
}
.mb-room-gesture-hint strong { color: #3c5547; }
.mb-room-actions {
    position: sticky;
    bottom: -1px;
    z-index: 3;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}
.mb-room-download,
.mb-room-inquiry {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 600;
}
.mb-room-download {
    box-shadow: 0 9px 22px rgba(23,55,42,.13);
}

/* Small floating zoom controls on the stage. */
.mb-room-quick-tools {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    display: flex;
    gap: 7px;
    direction: ltr;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}
.mb-room-stage.has-room .mb-room-quick-tools {
    opacity: 1;
    transform: none;
}
.mb-room-quick-tool {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 11px;
    background: rgba(12,25,17,.68);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 19px;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.mb-room-quick-tool:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 900px) {
    .mb-room-visualizer-dialog {
        inset: 6px;
        width: calc(100vw - 12px);
        height: calc(100dvh - 12px);
        border-radius: 18px;
    }
    .mb-room-visualizer-layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(300px, 1fr) auto;
    }
    .mb-room-stage { padding: 10px; }
    .mb-room-controls {
        max-height: 43dvh;
        padding: 11px;
        border-right: 0;
        border-top: 1px solid #dedbd3;
        background: #f8f6f1;
    }
    .mb-room-control-section {
        padding: 13px;
        border-radius: 13px;
    }
    .mb-room-stage-badge { top: 9px; left: 9px; }
    .mb-room-quick-tools { right: 9px; bottom: 9px; }
}

@media (max-width: 600px) {
    .mb-room-preview-card { padding: 20px; border-radius: 18px; }
    .mb-room-visualizer-head { min-height: 60px; }
    .mb-room-visualizer-title > span { display: none; }
    .mb-room-visualizer-title strong { font-size: 15px; }
    .mb-room-visualizer-layout { grid-template-rows: minmax(265px, 1fr) auto; }
    .mb-room-controls { max-height: 47dvh; }
    .mb-room-empty { padding: 22px 18px; border-radius: 16px; }
    .mb-room-empty strong { font-size: 16px; }
    .mb-room-empty span { font-size: 11px; }
    .mb-room-slider { grid-template-columns: 58px minmax(0,1fr) 44px; }
    .mb-room-tool-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================== SMART GUIDE V3.15 ==============================
   Additive guided selector. Existing FAQ/chat remains intact as fallback.
=============================================================================== */
.smart-guide-entry {
    margin: 0 0 12px;
    padding: 13px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    border: 1px solid #e1e5df;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f2f5ef 100%);
    box-shadow: 0 8px 24px rgba(16, 39, 28, .045);
}
.smart-guide-entry-copy { min-width: 0; }
.smart-guide-entry-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    color: var(--green-650);
    font-size: 9px;
    font-weight: 700;
}
.smart-guide-entry-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #83a27d;
    box-shadow: 0 0 0 4px rgba(131,162,125,.12);
}
.smart-guide-entry strong {
    display: block;
    color: var(--green-900);
    font-size: 12px;
    line-height: 1.7;
}
.smart-guide-entry p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 9.5px;
    line-height: 1.75;
}
.smart-guide-start {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: var(--green-900);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(23,55,42,.14);
    transition: transform .18s ease, background .18s ease;
}
.smart-guide-start:hover { transform: translateY(-1px); background: var(--green-850); }

.smart-guide[hidden] { display: none !important; }
.smart-guide {
    margin: 0;
    padding: 0;
}
.smart-guide-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.smart-guide-progress-head strong {
    color: var(--green-900);
    font-size: 10px;
    font-weight: 800;
}
.smart-guide-progress-head span {
    color: var(--muted);
    font-size: 9px;
}
.smart-guide-progress {
    height: 5px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 99px;
    background: #e7ebe5;
}
.smart-guide-progress i {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-650), var(--green-900));
    transition: width .28s ease;
}
.smart-guide-question {
    margin: 0;
    color: var(--green-900);
    font-family: var(--font-heading, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
}
.smart-guide-hint {
    margin: 4px 0 12px;
    color: var(--muted);
    font-size: 9.5px;
    line-height: 1.8;
}
.smart-guide-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.smart-guide-option {
    min-height: 58px;
    padding: 9px 10px;
    display: grid;
    align-content: center;
    gap: 2px;
    border: 1px solid #dde2dc;
    border-radius: 10px;
    background: #fff;
    text-align: right;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.smart-guide-option:hover,
.smart-guide-option:focus-visible {
    border-color: #aebcaf;
    background: #fcfdfb;
    box-shadow: 0 7px 18px rgba(15,39,28,.06);
    transform: translateY(-1px);
    outline: none;
}
.smart-guide-option strong {
    color: var(--green-900);
    font-size: 10.5px;
    font-weight: 700;
}
.smart-guide-option small {
    color: var(--muted);
    font-size: 8.5px;
    line-height: 1.55;
}
.smart-guide-nav {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.smart-guide-back,
.smart-guide-exit {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--green-650);
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
}
.smart-guide-back[hidden] { visibility: hidden; display: inline-block !important; }
.smart-guide-back:hover,
.smart-guide-exit:hover { color: var(--green-900); }

.smart-guide-result {
    display: grid;
    gap: 10px;
}
.smart-guide-result-badge {
    width: max-content;
    padding: 4px 8px;
    border-radius: 99px;
    background: #e9f0e7;
    color: var(--green-900);
    font-size: 8.5px;
    font-weight: 800;
}
.smart-guide-result h3 {
    margin: 0;
    color: var(--green-900);
    font-family: var(--font-heading, inherit);
    font-size: 18px;
    line-height: 1.55;
}
.smart-guide-result > p {
    margin: 0;
    color: #4d5b52;
    font-size: 10px;
    line-height: 1.9;
}
.smart-guide-result-list {
    display: grid;
    gap: 6px;
}
.smart-guide-result-list li {
    position: relative;
    padding: 7px 24px 7px 9px;
    border: 1px solid #e5e8e2;
    border-radius: 9px;
    background: rgba(255,255,255,.86);
    color: #4d5b52;
    font-size: 9.5px;
    line-height: 1.7;
}
.smart-guide-result-list li::before {
    content: "✓";
    position: absolute;
    right: 8px;
    top: 7px;
    color: var(--green-650);
    font-weight: 900;
}
.smart-guide-summary {
    padding: 9px 10px;
    border-radius: 9px;
    background: #f0eee7;
    color: #596159;
    font-size: 8.5px;
    line-height: 1.8;
}
.smart-guide-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.smart-guide-result-actions a,
.smart-guide-result-actions button {
    min-height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}
.smart-guide-result-actions a:first-child {
    border: 0;
    background: var(--green-900);
    color: #fff;
}
.smart-guide-result-actions a:last-child,
.smart-guide-result-actions button {
    border: 1px solid #cfd7cf;
    background: #fff;
    color: var(--green-900);
}
.smart-guide-copy-status {
    min-height: 16px;
    color: var(--green-650);
    font-size: 8.5px;
    text-align: center;
}

.smart-support.is-guiding .smart-chat-log,
.smart-support.is-guiding .smart-support-topics,
.smart-support.is-guiding .smart-support-questions,
.smart-support.is-guiding .smart-guide-entry,
.smart-support.is-guiding .smart-support-footer,
.smart-support.is-guiding .smart-support-note { display: none !important; }
.smart-support.is-guiding .smart-support-body { min-height: 390px; }

/* Slightly stronger FAQ presentation without changing its behavior. */
.smart-support-question {
    position: relative;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(16,39,28,.025);
}
.smart-support-question span { font-size: 11px; }
.smart-support-question b {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f3ee;
}

@media (max-width: 640px) {
    .smart-guide-entry { grid-template-columns: 1fr; }
    .smart-guide-start { width: 100%; }
    .smart-guide-options { grid-template-columns: 1fr; }
    .smart-guide-option { min-height: 52px; }
    .smart-guide-result-actions { grid-template-columns: 1fr; }
    .smart-support.is-guiding .smart-support-body { min-height: 0; }
}


/* ============================== 
   v3.18.4 – Mobile compact + cleaner messenger support UI
   Append this block at the END of style.css
============================== */

.smart-support-replies {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #ece6dc;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
}
.smart-support-replies-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.smart-support-replies-head strong {
    display: block;
    color: var(--green-900);
    font-size: 13px;
    font-weight: 800;
}
.smart-support-replies-head small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}
.smart-support-replies-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ef;
    color: var(--green-900);
    font-size: 10px;
    font-weight: 700;
}

.smart-chat-log {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}
.smart-chat-row {
    display: flex;
    width: 100%;
}
.smart-chat-row.is-bot { justify-content: flex-start; }
.smart-chat-row.is-user { justify-content: flex-end; }
.smart-chat-bubble {
    max-width: min(88%, 290px);
    padding: 11px 13px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #ece7df;
    color: #314038;
    font-size: 12.5px;
    line-height: 1.95;
    box-shadow: 0 8px 22px rgba(17, 35, 25, .05);
}
.smart-chat-row.is-user .smart-chat-bubble {
    background: var(--green-900);
    border-color: var(--green-900);
    color: #fff;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 6px;
}
.smart-chat-row.is-bot .smart-chat-bubble {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 6px;
}
.smart-chat-row.is-typing .smart-chat-bubble {
    color: var(--muted);
    font-size: 11px;
}

.smart-support-topics {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.smart-support-topics::-webkit-scrollbar { display: none; }
.smart-support-topics button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dde5dc;
    background: #fff;
    color: var(--green-850);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s ease;
}
.smart-support-topics button:hover,
.smart-support-topics button.is-active {
    background: var(--green-900);
    border-color: var(--green-900);
    color: #fff;
}

.smart-support-questions {
    display: grid;
    gap: 9px;
}
.smart-support-question {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #e7e2d8;
    border-radius: 18px;
    background: #fff;
    text-align: right;
    box-shadow: 0 10px 24px rgba(17,35,25,.03);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.smart-support-question:hover {
    transform: translateY(-1px);
    border-color: #ccd7cb;
    box-shadow: 0 14px 28px rgba(17,35,25,.06);
}
.smart-support-question-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef4ef;
    color: var(--green-900);
    font-style: normal;
    font-size: 12px;
}
.smart-support-question-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.smart-support-question-copy small {
    color: var(--green-650);
    font-size: 10px;
    font-weight: 700;
}
.smart-support-question-copy strong {
    color: var(--green-900);
    font-size: 12.5px;
    line-height: 1.8;
    font-weight: 800;
}
.smart-support-question-copy em {
    color: var(--muted);
    font-style: normal;
    font-size: 10.5px;
    line-height: 1.7;
}
.smart-support-question-arrow {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f6f2;
    color: var(--green-900);
    font-size: 12px;
    font-weight: 700;
}

.smart-support-footer {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #eee8df;
    background: #fff;
}
.smart-support-footer > div:first-child {
    display: grid;
    gap: 2px;
}
.smart-support-footer strong {
    color: var(--green-900);
    font-size: 11px;
    font-weight: 800;
}
.smart-support-footer span {
    color: var(--muted);
    font-size: 10px;
}
.smart-support-footer-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.smart-support-footer a {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--green-900);
    color: var(--green-900);
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}
.smart-support-footer a:first-child {
    background: var(--green-900);
    color: #fff;
}
.smart-support-note {
    display: block;
    padding: 0 14px 14px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
    background: #fff;
}

@media (max-width: 991px) {
    .site-container,
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .header-inner {
        height: 76px;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }
    .site-logo img {
        width: 122px;
        height: 42px;
    }
    .announcement-inner { gap: 8px; }
    .announcement-message { font-size: 11px; }

    .home-hero {
        min-height: clamp(520px, 88vh, 720px);
        display: flex;
        align-items: flex-end;
    }
    .home-hero-content {
        padding-top: 110px;
        padding-bottom: 38px;
    }
    .home-hero-box {
        width: 100%;
        max-width: none;
        padding: 24px 22px;
        border-radius: 28px;
        background: rgba(247,245,240,.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .home-hero-label,
    .page-eyebrow,
    .section-eyebrow {
        font-size: 13px;
    }
    .home-hero-box h1,
    .collections-page-hero h1,
    .commerce-hero h1,
    .split-page-copy h1 {
        font-size: clamp(34px, 8vw, 48px);
        line-height: 1.22;
        letter-spacing: -0.02em;
    }
    .home-hero-box p,
    .collections-page-hero p,
    .commerce-hero p,
    .split-page-copy p {
        font-size: 15px;
        line-height: 2;
    }
    .home-hero-actions,
    .collections-page-actions,
    .editorial-actions,
    .empty-catalog-actions {
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }
    .hero-primary-button,
    .contact-cta-button,
    .smart-guide-start {
        min-height: 52px;
        border-radius: 18px;
        font-size: 14px;
    }
    .hero-secondary-link,
    .section-link,
    .editorial-link,
    .text-cta {
        min-height: 44px;
        justify-content: center;
        border-radius: 15px;
        background: rgba(15,39,28,.05);
        padding: 0 18px;
    }

    .home-section,
    .editorial-section,
    .benefits-section,
    .contact-cta-section,
    .inner-section,
    .collections-page-featured,
    .collections-page-categories,
    .collections-page-cta,
    .material-guide-section,
    .about-story-section {
        padding-block: 56px;
    }
    .section-head,
    .collections-page-heading {
        gap: 14px;
        margin-bottom: 24px;
    }
    .section-title,
    .inner-page h2,
    .about-story-copy h2 {
        font-size: clamp(28px, 6.5vw, 38px);
        line-height: 1.3;
    }

    .benefits-grid,
    .inspiration-grid,
    .editorial-grid,
    .about-story-grid,
    .split-page-grid,
    .guide-steps,
    .collections-directory-featured,
    .collections-category-grid,
    .catalog-preview-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .home-page .collections-grid,
    .values-grid,
    .material-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .home-page .collection-card-large {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .collection-card,
    .collection-card-large,
    .collections-directory-feature,
    .inspiration-card,
    .catalog-preview-card,
    .empty-catalog-card {
        border-radius: 24px;
        overflow: hidden;
    }
    .collections-directory-feature {
        min-height: 290px;
    }
    .home-page .collection-card,
    .home-page .collection-card-large {
        min-height: 190px;
    }
    .collection-info,
    .collections-directory-feature-copy,
    .inspiration-body {
        padding: 18px;
    }
    .collection-info h3,
    .collections-directory-feature-copy h3,
    .inspiration-body h3 {
        font-size: 24px;
        line-height: 1.35;
    }

    .product-grid,
    .mb-shop-grid,
    .empty-catalog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .product-card,
    .mb-product-card {
        border-radius: 20px;
        overflow: hidden;
    }
    .product-card-title,
    .woocommerce-loop-product__title {
        font-size: 14px;
        line-height: 1.7;
    }

    .commerce-shell {
        gap: 26px;
        padding-block: 26px 56px;
    }
    .commerce-hero,
    .collections-page-hero,
    .split-page-copy,
    .contact-cta {
        padding: 24px 20px;
        border-radius: 28px;
    }
    .split-page-media img,
    .about-story-media img,
    .editorial-image img,
    .guide-hero .split-page-media img {
        border-radius: 26px;
        min-height: 250px;
        object-fit: cover;
    }

    .shop-category-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .shop-category-nav::-webkit-scrollbar { display: none; }
    .shop-category-chip {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 15px;
        border-radius: 999px;
        font-size: 12px;
    }

    .guide-steps .guide-step,
    .material-card,
    .benefit-item,
    .value-card {
        padding: 18px;
        border-radius: 22px;
    }

    .smart-support {
        right: 12px;
        bottom: 12px;
    }
    .smart-support-launcher {
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 16px 35px rgba(15, 39, 28, .2);
    }
    .smart-support-launcher-copy,
    .smart-support-launcher > i {
        display: none !important;
    }
    .smart-support-launcher-icon {
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
    }
    .smart-support-panel {
        right: 12px;
        left: 12px;
        bottom: 80px;
        width: auto;
        max-height: min(78dvh, 700px);
        border-radius: 24px;
        overflow: hidden;
    }
    .smart-support-header {
        padding: 14px 14px 12px;
        align-items: center;
        gap: 8px;
    }
    .smart-support-avatar {
        width: 38px;
        height: 38px;
        border-radius: 14px;
        font-size: 15px;
    }
    .smart-support-header-copy strong {
        font-size: 13px;
    }
    .smart-support-status {
        font-size: 10px;
    }
    .smart-support-reset,
    .smart-support-close {
        width: 32px;
        height: 32px;
        min-width: 32px;
        padding: 0;
        justify-content: center;
        font-size: 11px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        color: #fff;
        border: 0;
        overflow: hidden;
        text-indent: -9999px;
        position: relative;
    }
    .smart-support-reset::before {
        content: "↺";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-indent: 0;
        font-size: 15px;
    }
    .smart-support-close {
        text-indent: 0;
        font-size: 24px;
    }
    .smart-support-body {
        padding: 14px;
        min-height: 0;
    }

    .contact-cta {
        display: grid;
        gap: 14px;
    }
    .contact-cta h2 {
        font-size: 28px;
        line-height: 1.35;
    }
}

@media (max-width: 640px) {
    body { font-size: 15px; }

    .site-container,
    .container {
        width: calc(100% - 24px);
    }

    .announcement-bar {
        height: 34px;
    }
    .announcement-message { font-size: 11px; line-height: 1.6; }
    .announcement-links { display: none; }

    .header-inner {
        height: 72px;
        grid-template-columns: auto 1fr auto;
    }
    .header-actions {
        gap: 6px;
    }
    .header-icon,
    .mobile-menu-button {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }
    .site-logo img {
        width: 108px;
        height: 38px;
    }

    .home-hero {
        min-height: 620px;
    }
    .home-hero-content {
        padding-top: 96px;
        padding-bottom: 30px;
    }
    .home-hero-box {
        padding: 22px 18px;
        border-radius: 26px;
    }
    .home-hero-box h1,
    .collections-page-hero h1,
    .commerce-hero h1,
    .split-page-copy h1 {
        font-size: clamp(26px, 10.5vw, 38px);
    }
    .home-hero-box p,
    .collections-page-hero p,
    .commerce-hero p,
    .split-page-copy p {
        font-size: 14px;
    }
    .section-title,
    .inner-page h2,
    .about-story-copy h2,
    .contact-cta h2 {
        font-size: clamp(24px, 8.2vw, 32px);
    }

    .product-grid,
    .mb-shop-grid,
    .empty-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .commerce-hero,
    .collections-page-hero,
    .split-page-copy,
    .contact-cta {
        padding: 20px 16px;
        border-radius: 24px;
    }
    .collections-directory-feature {
        min-height: 250px;
    }
    .home-page .collection-card,
    .home-page .collection-card-large {
        min-height: 160px;
        border-radius: 18px;
    }
    .collection-info h3,
    .collections-directory-feature-copy h3,
    .inspiration-body h3 {
        font-size: 20px;
    }

    .guide-steps .guide-step,
    .material-card,
    .benefit-item,
    .value-card {
        padding: 16px;
        border-radius: 20px;
    }

    .smart-support-panel {
        bottom: 78px;
        max-height: calc(100dvh - 100px);
        border-radius: 22px;
    }
    .smart-support-replies {
        padding: 12px;
        border-radius: 18px;
    }
    .smart-support-question {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 12px;
    }
    .smart-support-question-icon {
        display: none;
    }
    .smart-support-question-copy strong {
        font-size: 12px;
    }
    .smart-support-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .smart-support-footer-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .smart-support-footer a {
        width: 100%;
    }
}


/* v3.19.0 exact mobile composition from approved mockups */
@media (max-width: 640px) {
  .home-page .collections-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px; }
  .home-page .collection-info { padding: 12px; }
  .home-page .collection-info span { font-size: 9px; }
  .home-page .collection-info h3 { font-size: 15px; line-height: 1.45; }
  .home-page .collection-arrow { width: 28px; height: 28px; font-size: 12px; }
  .home-page .section-head { align-items: flex-end; }
  .home-page .section-link { min-height: 38px; padding: 0 12px; font-size: 11px; }

  .mb-shop-grid .product-card,
  .mb-shop-grid .mb-product-card,
  .woocommerce ul.products li.product { border-radius: 16px; }
  .mb-shop-grid .product-card img,
  .mb-shop-grid .mb-product-card img,
  .woocommerce ul.products li.product img { aspect-ratio: 1 / 1.05; object-fit: cover; }
  .mb-shop-grid .product-card-title,
  .mb-shop-grid .woocommerce-loop-product__title,
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 12px !important; line-height: 1.65 !important; }
  .woocommerce ul.products li.product .button,
  .mb-shop-grid .button { min-height: 36px; font-size: 10px !important; padding-inline: 8px; }

  .guide-page .guide-steps { gap: 10px; }
  .guide-page .guide-step { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
  .guide-page .material-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px; }
  .guide-page .material-card { min-height: 170px; padding: 14px; }

  .about-page .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px; }
  .about-page .value-card { padding: 14px; min-height: 150px; }

  .smart-support.is-open .smart-support-launcher { opacity: 0; pointer-events: none; transform: scale(.9); }
  .smart-support-panel { height: min(760px, calc(100dvh - 24px)); max-height: none; bottom: 12px; }
  .smart-support-body { display: flex; flex-direction: column; overflow-y: auto; }
  .smart-support-replies { margin-top: auto; }
}

/* ============================== SMART SUPPORT COMPOSER V3.19 ============================== */
.smart-support-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid #eee8df;
    background: #fff;
}
.smart-support-input {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #e1e5df;
    border-radius: 16px;
    outline: none;
    background: #fafbf9;
    color: var(--text);
    font-size: 12px;
    line-height: 1;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.smart-support-input::placeholder { color: #98a099; }
.smart-support-input:focus {
    border-color: #a9b8aa;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23,55,42,.06);
}
.smart-support-send {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: var(--green-900);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(23,55,42,.18);
    transition: transform .18s ease, background .18s ease;
}
.smart-support-send:hover { transform: translateY(-1px); background: var(--green-850); }
.smart-support-send svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 640px) {
    .smart-support-composer {
        grid-template-columns: minmax(0,1fr) 46px;
        gap: 8px;
        padding: 10px;
    }
    .smart-support-input {
        height: 46px;
        border-radius: 17px;
        font-size: 12px;
    }
    .smart-support-send {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }
}


/* ============================== v3.23 readability + rounded cards final fix ============================== */
:root {
    --mb-card-radius: 22px;
    --mb-card-radius-sm: 18px;
}

/* make CTA text readable everywhere */
.hero-primary-button,
.contact-cta-button,
.contact-submit,
.single-quote-button,
.moblebagh-quote-button,
button.hero-primary-button,
a.hero-primary-button {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none;
}
.hero-primary-button span,
.contact-cta-button span,
.contact-submit span,
.single-quote-button span,
.moblebagh-quote-button span {
    color: inherit !important;
}
.home-hero .hero-primary-button,
.split-page-copy .hero-primary-button,
.collections-page-hero .hero-primary-button,
.commerce-hero .hero-primary-button {
    color: #ffffff !important;
    background: var(--green-900) !important;
    border-color: var(--green-900) !important;
}
.home-hero .hero-primary-button:hover,
.split-page-copy .hero-primary-button:hover,
.collections-page-hero .hero-primary-button:hover,
.commerce-hero .hero-primary-button:hover {
    color: #ffffff !important;
    background: var(--green-950) !important;
    border-color: var(--green-950) !important;
}

/* clearer “all products / section link” buttons on homepage */
.home-page .section-link,
.collections-page .section-link,
.products-showcase .section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(23, 55, 42, .12) !important;
    border-radius: 999px !important;
    background: #ffffff;
    color: var(--green-900) !important;
    box-shadow: 0 10px 26px rgba(17, 35, 25, .06);
    white-space: nowrap;
    text-decoration: none;
}
.home-page .section-link:hover,
.collections-page .section-link:hover,
.products-showcase .section-link:hover {
    background: #f7f5ef;
    color: var(--green-900) !important;
}

/* round cards everywhere on mobile + desktop */
.collection-card,
.collection-card-large,
.collections-directory-feature,
.catalog-preview-card,
.inspiration-card,
.product-card,
.mb-product-card,
.woocommerce ul.products li.product,
.guide-step,
.material-card,
.value-card,
.benefit-item,
.contact-cta,
.home-hero-box,
.commerce-hero,
.collections-page-hero,
.split-page-copy,
.smart-guide,
.smart-guide-entry,
.mb-room-preview-card,
.mb-room-empty,
.editorial-image,
.about-story-media,
.split-page-media,
.guide-hero .split-page-media,
.smart-support-panel,
.smart-support-question,
.smart-support-replies,
.smart-support-message,
.smart-support-question-bubble,
.smart-support-answer,
.smart-support-answer-bubble,
.smart-support-composer,
.smart-support-footer,
.smart-support-reply,
.smart-support-actions,
.smart-support-body {
    border-radius: var(--mb-card-radius) !important;
}
.collection-card,
.collection-card-large,
.collections-directory-feature,
.catalog-preview-card,
.inspiration-card,
.product-card,
.mb-product-card,
.woocommerce ul.products li.product,
.editorial-image,
.about-story-media,
.split-page-media,
.guide-hero .split-page-media,
.smart-support-panel,
.smart-support-replies,
.smart-support-answer,
.smart-support-footer {
    overflow: hidden;
}

/* never show sharp image corners */
img,
.product-card-media,
.product-card-media img,
.collection-image,
.catalog-preview-card img,
.inspiration-media,
.inspiration-media img,
.collections-directory-feature img,
.editorial-image img,
.about-story-media img,
.split-page-media img,
.guide-hero .split-page-media img,
.woocommerce ul.products li.product img,
.mb-shop-grid .product-card img,
.mb-shop-grid .mb-product-card img {
    display: block;
}
.product-card-media,
.inspiration-media,
.catalog-preview-card img,
.collection-image,
.collections-directory-feature img,
.editorial-image img,
.about-story-media img,
.split-page-media img,
.guide-hero .split-page-media img,
.woocommerce ul.products li.product img,
.mb-shop-grid .product-card img,
.mb-shop-grid .mb-product-card img {
    border-radius: 0 !important;
}

/* product and inspiration cards: softer feel */
.product-card,
.mb-product-card,
.woocommerce ul.products li.product,
.inspiration-card,
.catalog-preview-card,
.collection-card,
.collection-card-large {
    border: 1px solid #ebe7df;
    box-shadow: 0 16px 40px rgba(16, 36, 27, .05);
}
.product-card:hover,
.mb-product-card:hover,
.woocommerce ul.products li.product:hover,
.inspiration-card:hover,
.catalog-preview-card:hover,
.collection-card:hover,
.collection-card-large:hover {
    box-shadow: 0 22px 48px rgba(16, 36, 27, .08);
}

/* keep product media rounded through parent, not square */
.product-card-media,
.mb-shop-grid .product-card .product-card-media,
.mb-shop-grid .mb-product-card .product-card-media {
    overflow: hidden;
}

/* mobile refinements */
@media (max-width: 767px) {
    .home-page .section-head,
    .products-showcase .section-head,
    .collections-section .section-head {
        align-items: stretch !important;
    }
    .home-page .section-link,
    .collections-page .section-link,
    .products-showcase .section-link {
        width: fit-content;
        max-width: 100%;
        min-height: 42px;
        padding: 0 16px;
        font-size: 12px !important;
    }

    .product-card,
    .mb-product-card,
    .woocommerce ul.products li.product,
    .inspiration-card,
    .catalog-preview-card,
    .collection-card,
    .collection-card-large,
    .guide-step,
    .material-card,
    .value-card,
    .benefit-item,
    .smart-support-panel,
    .smart-support-answer,
    .smart-support-replies,
    .smart-support-footer {
        border-radius: var(--mb-card-radius-sm) !important;
    }

    .home-hero-box {
        border-radius: 26px !important;
    }
}

/* desktop consistency too */
@media (min-width: 768px) {
    .product-card,
    .mb-product-card,
    .woocommerce ul.products li.product,
    .inspiration-card,
    .catalog-preview-card,
    .collection-card,
    .collection-card-large,
    .guide-step,
    .material-card,
    .value-card,
    .benefit-item,
    .smart-support-panel {
        border-radius: 22px !important;
    }
}


/* ============================== v3.24 collection card arrow overlap fix ============================== */
.collection-info {
    padding-inline-start: 70px !important;
}
.collection-info h3 {
    max-width: 100%;
}
.collection-arrow {
    left: 16px !important;
    bottom: 16px !important;
    z-index: 3;
}

@media (max-width: 767px) {
    .home-page .collection-info,
    .collections-grid .collection-info {
        padding: 14px !important;
        padding-inline-start: 56px !important;
    }
    .home-page .collection-arrow,
    .collections-grid .collection-arrow {
        left: 12px !important;
        bottom: 12px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }
    .home-page .collection-info h3,
    .collections-grid .collection-info h3 {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
}

@media (min-width: 768px) {
    .home-page .collection-info,
    .collections-grid .collection-info {
        padding-inline-start: 74px !important;
    }
}


/* ============================== v3.25 mobile collection cards final fix ============================== */
@media (max-width: 767px) {
    /* Mobile cards are too small for a floating arrow; remove it completely. */
    .home-page .collection-arrow,
    .collections-grid .collection-arrow {
        display: none !important;
    }

    .home-page .collection-info,
    .collections-grid .collection-info {
        right: 12px !important;
        left: 12px !important;
        bottom: 12px !important;
        padding: 0 !important;
    }

    .home-page .collection-info > span,
    .collections-grid .collection-info > span {
        margin-bottom: 3px !important;
        font-size: 8.5px !important;
        line-height: 1.45 !important;
    }

    .home-page .collection-info h3,
    .collections-grid .collection-info h3 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        text-align: right !important;
        overflow-wrap: anywhere;
    }
}

@media (min-width: 768px) {
    /* Desktop keeps the arrow, but reserves real space on the LEFT side in RTL. */
    .home-page .collection-info,
    .collections-grid .collection-info {
        padding-left: 64px !important;
        padding-right: 0 !important;
    }

    .home-page .collection-arrow,
    .collections-grid .collection-arrow {
        left: 0 !important;
        bottom: 0 !important;
    }
}
