/* assets/style.css - Thon Mai (thonmai.vn) | Artisanal Warm Paper & Olive Palette */
:root {
    --olive: #6B7514;
    --olive-dark: #525A0E;
    --olive-soft: #F1F3E4;
    --wood: #8B6B4A;
    --wood-light: #B69878;
    --bg-cream: #F9F6F0;
    --bg-warm: #F2ECE1;
    --bg-white: #FFFFFF;
    --text-main: #2E2924;
    --text-body: #4E463E;
    --text-muted: #7C7267;
    --border-soft: #E6DDD0;
    --shadow-sm: 0 4px 18px rgba(46, 41, 36, 0.05);
    --shadow-md: 0 12px 32px rgba(46, 41, 36, 0.09);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-serif: 'Cormorant Garamond', 'Lora', Georgia, serif;
    --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ==========================================
   1. TOP ANNOUNCEMENT & LANGUAGE BAR
   ========================================== */
.top-bar {
    background-color: var(--olive);
    color: #FAF8F2;
    font-size: 0.82rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-bar-info a:hover {
    text-decoration: underline;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 4px 9px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.2s ease;
    opacity: 0.78;
}

.lang-btn img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-btn:hover,
.lang-btn.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.28);
    border-color: #fff;
}

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 20px;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.brand-logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
}

.brand-text strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--olive);
    line-height: 1.05;
    letter-spacing: 0.6px;
}

.brand-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 2px;
    position: relative;
    transition: color 0.2s;
}

.nav-btn:hover,
.nav-btn.active {
    color: var(--olive);
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--olive);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-cream);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 99px;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-pill-btn:hover {
    border-color: var(--olive);
    color: var(--olive);
}

.cart-badge {
    background: var(--olive);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 1.25rem;
    color: var(--text-main);
    cursor: pointer;
}

/* ==========================================
   3. BUTTONS & TYPOGRAPHY
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.22s ease;
    text-align: center;
}

.btn-primary {
    background: var(--olive);
    color: #fff;
}

.btn-primary:hover {
    background: var(--olive-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-main);
    border-color: var(--border-soft);
}

.btn-secondary:hover {
    border-color: var(--olive);
    color: var(--olive);
}

.btn-wood {
    background: var(--wood);
    color: #fff;
}

.btn-wood:hover {
    background: #73573A;
}

.btn-ghost {
    background: transparent;
    color: var(--olive);
    padding: 8px 14px;
}

.btn-ghost:hover {
    background: var(--olive-soft);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.84rem;
}

.btn-block {
    width: 100%;
}

.eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wood);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-body);
    font-size: 1rem;
    max-width: 640px;
}

.section-pad {
    padding: 76px 0;
}

.section-warm {
    background: var(--bg-warm);
}

.section-white {
    background: var(--bg-white);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.section-head-center {
    text-align: center;
    margin-bottom: 42px;
}

.section-head-center .section-desc {
    margin: 0 auto;
}

/* ==========================================
   4. HERO SECTION (TRAM VEN EDITORIAL STYLE)
   ========================================== */
.hero-section {
    padding: 54px 0 76px;
    background: linear-gradient(180deg, #F5EFE5 0%, var(--bg-cream) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.6vw, 3.7rem);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-utility-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px dashed var(--border-soft);
}

.hero-utility-link {
    color: var(--olive);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-utility-link:hover {
    text-decoration: underline;
}

.hero-collage {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
}

.hero-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 410px;
    background: #EAE2D5;
    box-shadow: var(--shadow-md);
}

.hero-img-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-img-sub {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 198px;
    background: #EAE2D5;
    box-shadow: var(--shadow-sm);
}

.hero-img-main img,
.hero-img-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   5. INTRO & FLOWERS SPLIT
   ========================================== */
.intro-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 46px 38px;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.intro-box p {
    font-size: 1.08rem;
    color: var(--text-body);
    line-height: 1.85;
}

.split-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 390px;
    background: #EAE2D5;
    box-shadow: var(--shadow-md);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 28px;
}

.soft-pill {
    background: var(--olive-soft);
    color: var(--olive-dark);
    font-size: 0.84rem;
    padding: 6px 14px;
    border-radius: 99px;
    font-weight: 500;
}

/* ==========================================
   6. PRODUCT CARDS & CATEGORY FILTER
   ========================================== */
.cat-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cat-pill {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    color: var(--text-body);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-pill:hover {
    border-color: var(--olive);
    color: var(--olive);
}

.cat-pill.active {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    max-width: 340px;
    padding: 10px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 99px;
    background: var(--bg-white);
    font-size: 0.9rem;
    outline: none;
}

.search-input:focus {
    border-color: var(--olive);
}

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

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #EFE9DF;
    overflow: hidden;
    cursor: pointer;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.04);
}

.photo-count-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(46, 41, 36, 0.72);
    color: #fff;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 99px;
}

.cat-tag-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--olive-dark);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
}

.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    cursor: pointer;
    line-height: 1.4;
}

.product-title:hover {
    color: var(--olive);
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--olive);
    margin-bottom: 8px;
}

.product-price.unpriced {
    color: var(--wood);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-excerpt {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.82rem;
}

/* ==========================================
   7. PRICE LISTS, WORKSHOPS, GALLERY
   ========================================== */
.pricelist-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.pricelist-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricelist-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pricelist-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.pricelist-card span {
    display: block;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-main);
    text-align: center;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.workshop-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    box-shadow: var(--shadow-sm);
}

.workshop-img {
    height: 100%;
    min-height: 210px;
    background: #EAE2D5;
}

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

.workshop-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.workshop-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--olive);
    margin-bottom: 8px;
}

.workshop-body h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #EAE2D5;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(35, 30, 24, 0.78));
    color: #fff;
    padding: 22px 12px 10px;
    font-size: 0.8rem;
}

/* ==========================================
   8. PARTNERS & STORIES
   ========================================== */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partner-card,
.story-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.partner-card img,
.story-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #EAE2D5;
}

.partner-body,
.story-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.partner-region,
.story-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--wood);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.partner-body h3,
.story-body h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.25;
}

/* ==========================================
   9. FAQ & CONTACT + MAP
   ========================================== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 22px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-a {
    padding: 0 22px 18px;
    font-size: 0.93rem;
    color: var(--text-body);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
}

.contact-info-row {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--olive);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.contact-info-row strong {
    display: block;
    font-size: 0.85rem;
    color: var(--olive-dark);
    margin-bottom: 2px;
}

.map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    background: #EAE2D5;
}

.map-frame iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

.social-embed-box {
    margin-top: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================
   10. MODALS, CART DRAWER, VIETQR & LIGHTBOX
   ========================================== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 26, 22, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.modal-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-md);
    padding: 28px;
}

.modal-card.narrow {
    max-width: 480px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--bg-cream);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.detail-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: #EFE9DF;
}

.detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.detail-thumb-btn {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: none;
}

.detail-thumb-btn.active {
    border-color: var(--olive);
}

.detail-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variant-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 18px;
    max-height: 150px;
    overflow-y: auto;
}

.variant-chip {
    border: 1px solid var(--border-soft);
    background: var(--bg-cream);
    color: var(--text-body);
    padding: 5px 11px;
    border-radius: 99px;
    font-size: 0.8rem;
    cursor: pointer;
}

.variant-chip.active {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 26, 22, 0.5);
    z-index: 1200;
    display: flex;
    justify-content: flex-end;
}

.cart-drawer {
    background: var(--bg-white);
    width: 100%;
    max-width: 440px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.14);
}

.drawer-head {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
}

.drawer-foot {
    padding: 18px 22px;
    border-top: 1px solid var(--border-soft);
    background: var(--bg-cream);
}

.cart-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
}

.cart-row img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: #EFE9DF;
}

.qty-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-soft);
    border-radius: 99px;
    overflow: hidden;
}

.qty-box button {
    border: none;
    background: var(--bg-cream);
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: 700;
}

.qty-box span {
    padding: 0 10px;
    font-size: 0.86rem;
}

.form-field {
    margin-bottom: 14px;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 0.92rem;
    background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--olive);
}

.alert-box {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.alert-err {
    background: #FEE2E2;
    color: #991B1B;
}

.alert-ok {
    background: #ECFCCB;
    color: #3F6212;
}

.qr-panel {
    text-align: center;
    background: var(--bg-cream);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 20px;
}

.qr-panel img {
    width: 240px;
    max-width: 100%;
    margin: 12px auto;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--border-soft);
}

.bank-detail-list {
    text-align: left;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 14px 0;
    font-size: 0.88rem;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-soft);
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
}

/* ==========================================
   11. FOOTER & FLOATING SOCIAL BUTTONS
   ========================================== */
.site-footer {
    background: #2C2721;
    color: #E7DFD3;
    padding: 58px 0 32px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 38px;
    margin-bottom: 36px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand-row img {
    width: 44px;
    height: 44px;
    background: #F9F6F0;
    border-radius: 8px;
    padding: 4px;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #F9F6F0;
    margin-bottom: 10px;
}

.footer-col h4 {
    color: #F9F6F0;
    font-size: 0.96rem;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.88rem;
    color: #CFC5B7;
}

.footer-links a:hover,
.footer-links button:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-links button {
    background: none;
    border: none;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: #B4A899;
}

.floating-socials {
    position: fixed;
    right: 18px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 950;
}

.float-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s;
    font-weight: 700;
    font-size: 0.76rem;
}

.float-social-btn:hover {
    transform: scale(1.08);
}

.float-zalo { background: #0068FF; }
.float-messenger { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.float-fb { background: #1877F2; }
.float-map { background: var(--olive); }

/* ==========================================
   12. RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .pricelist-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .mobile-toggle { display: inline-block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 22px 22px;
        gap: 12px;
        border-bottom: 1px solid var(--border-soft);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .hero-grid, .split-feature, .contact-grid, .workshop-grid, .partner-grid, .detail-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .workshop-card { grid-template-columns: 1fr; }
    .hero-collage { grid-template-columns: 1fr 1fr; }
    .hero-img-main { height: 280px; }
    .hero-img-sub { height: 133px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .pricelist-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .product-grid { grid-template-columns: 1fr; }
    .top-bar-info { font-size: 0.76rem; gap: 10px; }
    .brand-text span { display: none; }
}


/* ==========================================
   13. SHOP DROPDOWN MENU (12 CATEGORIES)
   ========================================== */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: -16px;
    width: 460px;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-panel,
.nav-item-dropdown.open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.86rem;
    color: var(--text-body);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    background: var(--olive-soft);
    color: var(--olive-dark);
    font-weight: 600;
}

/* ==========================================
   14. BREADCRUMB BAR
   ========================================== */
.breadcrumb-bar {
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--text-muted);
    transition: color 0.15s;
}

.breadcrumb-link:hover {
    color: var(--olive);
    text-decoration: underline;
}

.breadcrumb-current {
    color: var(--text-main);
    font-weight: 600;
}

/* ==========================================
   15. CATEGORY SUB-PAGE (/categorys/{slug}/)
   ========================================== */
.cat-hero-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 34px;
}

.cat-hero-content {
    padding: 36px 38px;
}

.cat-hero-media {
    height: 100%;
    min-height: 290px;
    background: #EAE2D5;
}

.cat-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-tip-box {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--olive-soft);
    border-left: 3px solid var(--olive);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-body);
}

.cat-pricelist-banner {
    margin-top: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 24px;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 22px;
    align-items: center;
}

.cat-pricelist-banner img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    cursor: pointer;
}

.sort-select {
    padding: 9px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 99px;
    background: var(--bg-white);
    font-size: 0.86rem;
    color: var(--text-main);
}

/* ==========================================
   16. PRODUCT DETAIL SUB-PAGE (/product/{slug}/)
   ========================================== */
.product-page-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 48px;
}

.policy-mini-list {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* ==========================================
   17. EDITORIAL PARTNER PAGE (/thon-mai-va-doi-tac/)
   ========================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 54px;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--olive);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.partner-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.partner-showcase-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.partner-showcase-row.reverse .partner-showcase-media {
    order: 2;
}

.partner-showcase-media {
    height: 100%;
    min-height: 320px;
    background: #EAE2D5;
}

.partner-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-showcase-body {
    padding: 32px 36px;
}

.partner-showcase-body h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.2;
}

.partner-collab-cta {
    margin-top: 56px;
    background: linear-gradient(135deg, #F1F3E4 0%, #EFE8DC 100%);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
}

/* ==========================================
   18. EDITORIAL ARTICLE SUB-PAGE (/{story_slug}/)
   ========================================== */
.article-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.18;
    margin-bottom: 14px;
}

.article-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.article-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 34px;
    box-shadow: var(--shadow-md);
    background: #EAE2D5;
}

.article-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.article-body {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-sm);
}

.article-body h2 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--text-main);
    margin: 28px 0 12px;
    line-height: 1.25;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 16px;
}

.article-quote {
    margin: 26px 0;
    padding: 20px 26px;
    background: var(--bg-cream);
    border-left: 4px solid var(--olive);
    border-radius: 0 12px 12px 0;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
}

.article-figure {
    margin: 28px 0;
    text-align: center;
}

.article-figure img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.article-figure figcaption {
    margin-top: 8px;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
}

.article-share-bar {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .nav-dropdown-panel {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 6px 0 6px 12px;
        grid-template-columns: 1fr;
    }
    .cat-hero-box, .cat-pricelist-banner, .values-grid, .partner-showcase-row {
        grid-template-columns: 1fr;
    }
    .partner-showcase-row.reverse .partner-showcase-media {
        order: 0;
    }
    .cat-hero-content, .partner-showcase-body, .article-body {
        padding: 24px 20px;
    }
    .cat-pricelist-banner img {
        width: 100%;
        height: 220px;
    }
}


/* ==========================================
   19. SHOP & CATEGORY SIDEBAR + PRICE FILTER (TRAMVEN STYLE)
   ========================================== */
.shop-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
}

.shop-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 32px;
    align-items: start;
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 96px;
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
}

.sidebar-cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.87rem;
    color: var(--text-body);
    transition: all 0.15s;
}

.sidebar-cat-link:hover,
.sidebar-cat-link.active {
    background: var(--olive-soft);
    color: var(--olive-dark);
    font-weight: 600;
}

.sidebar-cat-count {
    font-size: 0.76rem;
    color: var(--text-muted);
    background: var(--bg-cream);
    padding: 1px 7px;
    border-radius: 99px;
}

.price-range-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-range-slider {
    width: 100%;
    accent-color: var(--olive);
    cursor: pointer;
}

.price-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-inputs-row input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 0.82rem;
    background: var(--bg-cream);
}

.price-radio-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 8px;
    font-size: 0.84rem;
    color: var(--text-body);
}

.price-radio-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quickview-trigger-btn {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%) translateY(8px);
    background: rgba(46, 41, 36, 0.86);
    color: #fff;
    border: none;
    padding: 7px 15px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.product-card:hover .quickview-trigger-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 38px;
    height: 38px;
    border-radius: 99px;
    border: 1px solid var(--border-soft);
    background: var(--bg-white);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
}

.page-btn.active {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
}

/* ==========================================
   20. QUICK VIEW POP-UP MODAL (MATCHING TRAMVEN SCREENSHOT)
   ========================================== */
.qv-modal-card {
    background: var(--bg-white);
    border-radius: 12px;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.qv-media {
    position: relative;
    background: #EFE9DF;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-media img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
}

.qv-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.qv-nav-prev { left: 12px; }
.qv-nav-next { right: 12px; }

.qv-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    background: rgba(46, 41, 36, 0.35);
    padding: 5px 10px;
    border-radius: 99px;
}

.qv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.qv-dot.active {
    background: #fff;
}

.qv-content {
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qv-title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 12px;
}

.qv-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--olive);
    margin-bottom: 16px;
}

.qv-price.unpriced {
    color: var(--wood);
    font-size: 1.05rem;
}

.qv-cat-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================
   21. DEDICATED PAGES: /cart/, /checkout/, /account/
   ========================================== */
.cart-page-grid,
.checkout-page-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 32px;
    align-items: start;
}

.panel-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-soft);
}

.cart-table td {
    padding: 16px 8px;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: middle;
}

.cart-prod-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-prod-cell img {
    width: 66px;
    height: 66px;
    border-radius: 8px;
    object-fit: cover;
    background: #EFE9DF;
    flex-shrink: 0;
}

.payment-option-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    background: var(--bg-cream);
    transition: border-color 0.15s;
}

.payment-option-card.active {
    border-color: var(--olive);
    background: var(--olive-soft);
}

.account-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.account-dash-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

.account-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-nav-btn {
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 0.92rem;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.15s;
}

.account-nav-btn:hover,
.account-nav-btn.active {
    background: var(--olive-soft);
    color: var(--olive-dark);
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-card-box {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 14px;
    background: var(--bg-cream);
}

.order-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-soft);
    margin-bottom: 12px;
}

@media (max-width: 960px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-page-grid, .checkout-page-grid, .account-auth-grid, .account-dash-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .qv-modal-card { grid-template-columns: 1fr; }
    .qv-media { min-height: 260px; }
    .qv-content { padding: 22px 20px; }
    .cart-table thead { display: none; }
    .cart-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
    .cart-table td { display: flex; justify-content: space-between; align-items: center; border-bottom: none; padding: 5px 0; }
}

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


/* ==========================================
   22. PRODUCT DETAIL PAGE v4 (MATCHING TRAMVEN PRODUCT SCREENSHOTS)
   ========================================== */
.pd-hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 44px;
    align-items: start;
    margin-bottom: 56px;
}

.pd-gallery-wrap {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: start;
}

.pd-thumb-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pd-thumb-scroll-btn {
    width: 100%;
    height: 24px;
    border: 1px solid var(--border-soft);
    background: var(--bg-white);
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-thumb-scroll-btn:hover {
    border-color: var(--olive);
    color: var(--olive);
}

.pd-thumb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 446px;
    overflow-y: auto;
    scrollbar-width: thin;
    width: 100%;
}

.pd-thumb-btn {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #EFE9DF;
    cursor: pointer;
    opacity: 0.72;
    transition: all 0.18s;
}

.pd-thumb-btn:hover,
.pd-thumb-btn.active {
    opacity: 1;
    border-color: var(--olive);
}

.pd-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-main-stage {
    position: relative;
    background: #EFE9DF;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
}

.pd-main-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.pd-zoom-btn {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(46, 41, 36, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.pd-zoom-btn:hover {
    background: #fff;
    color: var(--olive);
}

.pd-photo-counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(46, 41, 36, 0.72);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 99px;
}

.pd-mini-crumb {
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.pd-mini-crumb a:hover {
    color: var(--olive);
    text-decoration: underline;
}

.pd-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 10px;
}

.pd-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
}

.pd-price.unpriced {
    color: var(--wood);
    font-size: 1.25rem;
}

.pd-quick-box {
    background: #F4F2EE;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 22px;
}

.pd-quick-heading {
    font-size: 0.94rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 14px;
}

.pd-quick-heading strong {
    font-weight: 700;
}

.pd-quick-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pd-quick-box input,
.pd-quick-box select,
.pd-quick-box textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #DDD5C8;
    border-radius: 6px;
    background: #fff;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.pd-quick-box input:focus,
.pd-quick-box select:focus,
.pd-quick-box textarea:focus {
    outline: none;
    border-color: var(--olive);
}

.pd-quick-submit {
    background: var(--wood);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.pd-quick-submit:hover {
    background: #73573A;
}

.pd-or-note {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 14px;
}

.pd-buy-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pd-add-btn {
    background: #332E28;
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.pd-add-btn:hover {
    background: var(--olive);
}

/* ==========================================
   23. PRODUCT TABS (MO TA | DANH GIA | SHIPPING)
   ========================================== */
.pd-tabs-section {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 28px 34px 36px;
    margin-bottom: 58px;
    box-shadow: var(--shadow-sm);
}

.pd-tabs-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pd-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 2px 12px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}

.pd-tab-btn:hover {
    color: var(--text-main);
}

.pd-tab-btn.active {
    color: var(--text-main);
    border-bottom-color: var(--wood);
}

.pd-desc-body h2 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--text-main);
    margin: 18px 0 12px;
}

.pd-desc-body h2:first-child {
    margin-top: 0;
}

.pd-desc-line {
    font-size: 0.98rem;
    color: var(--text-body);
    margin-bottom: 10px;
    line-height: 1.75;
}

.pd-desc-sub {
    font-size: 0.95rem;
    color: var(--text-body);
    margin: 0 0 8px 18px;
    line-height: 1.7;
}

.pd-reviews-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 34px;
    align-items: start;
}

.review-item-card {
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: var(--bg-cream);
    margin-bottom: 12px;
}

.star-row {
    color: #D97706;
    font-size: 1rem;
    letter-spacing: 2px;
}

.star-picker {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.star-pick-btn {
    background: none;
    border: none;
    font-size: 1.45rem;
    cursor: pointer;
    color: #D6CFC3;
    padding: 0 2px;
}

.star-pick-btn.active {
    color: #D97706;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.guarantee-box {
    background: var(--bg-cream);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 20px;
}

.guarantee-box h4 {
    color: var(--olive-dark);
    font-size: 0.96rem;
    margin-bottom: 8px;
}

/* ==========================================
   24. RECOMMENDATION GRIDS (CO THE BAN SE THICH & SAN PHAM BAN DA XEM)
   ========================================== */
.rec-section {
    margin-bottom: 52px;
}

.rec-heading {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 22px;
}

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

.rec-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rec-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.rec-thumb {
    aspect-ratio: 1 / 1;
    background: #EFE9DF;
    overflow: hidden;
    cursor: pointer;
}

.rec-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rec-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.rec-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.rec-price {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.rec-price.unpriced {
    color: var(--wood);
    font-size: 0.86rem;
}

.rec-btn {
    margin-top: auto;
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 5px;
    background: var(--wood);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background 0.18s;
}

.rec-btn:hover {
    background: var(--olive);
}

@media (max-width: 960px) {
    .pd-hero-grid, .pd-reviews-grid, .guarantee-grid {
        grid-template-columns: 1fr;
    }
    .rec-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pd-gallery-wrap {
        grid-template-columns: 1fr;
    }
    .pd-thumb-col {
        order: 2;
        flex-direction: row;
    }
    .pd-thumb-list {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
    }
    .pd-thumb-scroll-btn {
        display: none;
    }
    .pd-thumb-btn {
        width: 64px;
        height: 64px;
    }
    .pd-quick-row-2 {
        grid-template-columns: 1fr;
    }
    .pd-tabs-section {
        padding: 20px 18px;
    }
}
