/* ============================================================
   THEME02 - "Luxury Full-width"
   Navy #1a2744 | Gold #c9a84c | Light bg #f9f7f4
   Playfair Display (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    color: #333;
    background: #f9f7f4;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: #c9a84c; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Variables ── */
:root {
    --primary:    #1a2744;
    --primary-l:  #243454;
    --gold:       #c9a84c;
    --gold-l:     #d4b85e;
    --gold-bg:    rgba(201,168,76,.08);
    --dark:       #1a2744;
    --gray:       #6b7280;
    --light-gray: #f0ede8;
    --border:     #e2ddd5;
    --white:      #fff;
    --bg:         #f9f7f4;
    --radius:     2px;
    --shadow:     0 2px 16px rgba(26,39,68,.06);
    --shadow-lg:  0 8px 32px rgba(26,39,68,.10);
    --transition: .25s ease;
    --font-head:  'Playfair Display', Georgia, serif;
    --font-body:  'Inter', 'Be Vietnam Pro', sans-serif;
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Section Titles ── */
.section-title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .section-title {
    display: block;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 8px;
    font-size: 32px;
}

.section-header .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ============================================================
   HEADER - Centered logo, split nav
   ============================================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    flex-wrap: wrap;
    position: relative;
}

/* Logo - centered */
.header-logo {
    flex-shrink: 0;
    order: 2;
    text-align: center;
}
.logo-img { height: 52px; width: auto; }
.logo-text {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}
.logo-text:hover { color: var(--gold); }

/* Hotline - hide on desktop */
.header-hotline {
    display: none;
}
.hotline-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
}

/* Navigation - split sides */
.main-nav {
    order: 1;
    flex: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--dark);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: flex-end;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--gold);
}

/* Cart icon */
.cart-icon-wrap {
    order: 3;
    flex: 1;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.cart-badge {
    display: none;
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--white);
    line-height: 1;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 200;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: var(--dark);
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--gold-bg); color: var(--gold); }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
    width: 100%;
    max-height: 560px;
    overflow: hidden;
    position: relative;
}
.hero-banner img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 39, 68, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    color: var(--white);
    text-align: center;
    max-width: 640px;
    padding: 0 24px;
}
.hero-content h1 {
    font-family: var(--font-head);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hero-content p {
    font-size: 17px;
    margin-bottom: 28px;
    opacity: .85;
    font-weight: 300;
    letter-spacing: 0.02em;
}
.btn-hero {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gold);
    color: var(--dark);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition);
    border: 2px solid var(--gold);
}
.btn-hero:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content { padding: 48px 0; }

/* Content layout - single column for theme02 (no sidebar) */
.content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

/* ── Sidebar - HIDDEN in theme02 ── */
.sidebar { display: none; }
.sidebar-block {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 24px;
}
.sidebar-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}
.sidebar-cats li { border-bottom: 1px solid var(--light-gray); }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 4px;
    font-size: 14px;
    color: var(--gray);
    transition: var(--transition);
}
.sidebar-cats li a:hover,
.sidebar-cats li a.active { color: var(--gold); padding-left: 8px; }

/* ── Category Pills (horizontal filter) ── */
.cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cat-pills a {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.cat-pills a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cat-pills a.active {
    background: var(--dark);
    color: var(--gold);
    border-color: var(--dark);
}

/* ============================================================
   PRODUCT CARDS - 3 columns, portrait 3:4
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover {
    box-shadow: 0 0 0 1px var(--gold), 0 8px 32px rgba(201,168,76,.12);
    transform: translateY(-3px);
}

.product-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--light-gray);
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }

/* Discount badge */
.badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius);
    letter-spacing: 0.02em;
}

.product-info { padding: 16px 18px; }

.product-name {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.price-normal  { font-size: 17px; font-weight: 700; color: var(--gold); }
.price-old     { font-size: 13px; color: #999; text-decoration: line-through; }

.btn-add-cart {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    background: transparent;
    color: var(--dark);
    text-align: center;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--dark);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.btn-add-cart:hover {
    background: var(--dark);
    color: var(--gold);
    border-color: var(--dark);
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* Gallery */
.product-gallery {}
.gallery-main {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 3 / 4;
    background: var(--light-gray);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
    width: 72px;
    height: 96px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-detail-info {}
.product-detail-name {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--dark);
    letter-spacing: -0.02em;
}
.product-detail-sku {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--gold-bg);
    border-radius: var(--radius);
    border: 1px solid rgba(201,168,76,.15);
}
.detail-price-normal {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
}
.detail-price-old { font-size: 16px; color: #999; text-decoration: line-through; }

.product-stock { font-size: 14px; margin-bottom: 24px; }
.stock-in  { color: #2d8a56; font-weight: 600; }
.stock-out { color: #c0392b; font-weight: 600; }

/* Buy buttons */
.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--dark);
    color: var(--gold);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    border: 2px solid var(--dark);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.btn-buy:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* Product Tabs */
.product-tabs { margin-top: 40px; }
.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}
.tab-btn {
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--font-body);
}
.tab-btn.active,
.tab-btn:hover { color: var(--dark); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p, .tab-panel li { line-height: 1.9; font-size: 15px; color: #555; }

/* ============================================================
   POST CARDS
   ============================================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.post-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--light-gray);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }

.post-info { padding: 20px; }
.post-date {
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.post-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.post-title:hover { color: var(--gold); }
.post-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* Post Detail */
.post-detail-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}
.post-detail-title {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
    color: var(--dark);
    letter-spacing: -0.02em;
}
.post-detail-meta {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.post-detail-meta a { color: var(--gold); font-weight: 600; }
.post-detail-thumb {
    margin-bottom: 28px;
    border-radius: var(--radius);
    overflow: hidden;
}
.post-detail-thumb img { width: 100%; }
.post-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}
.post-detail-content h2,
.post-detail-content h3 {
    font-family: var(--font-head);
    margin: 28px 0 14px;
    color: var(--dark);
}
.post-detail-content p { margin-bottom: 18px; }
.post-detail-content img { border-radius: var(--radius); margin: 20px 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    border: 1px solid var(--border);
}
.contact-info h2 {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}
.contact-info p { font-size: 14px; color: var(--gray); margin-bottom: 14px; line-height: 1.8; }
.contact-info strong { color: var(--dark); }

.contact-form h2 {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
    background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { min-height: 130px; resize: vertical; }

.btn-submit {
    padding: 14px 40px;
    background: var(--dark);
    color: var(--gold);
    border: 2px solid var(--dark);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-body);
}
.btn-submit:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); transform: translateY(-1px); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    background: var(--white);
    transition: var(--transition);
}
.pagination li.active a,
.pagination li a:hover {
    background: var(--dark);
    color: var(--gold);
    border-color: var(--dark);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    font-size: 13px;
    color: var(--gray);
    padding: 14px 0;
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); font-weight: 500; }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.cart-table thead th { background: var(--dark); padding: 14px 18px; text-align: left; font-size: 12px; font-weight: 700; color: var(--gold); border-bottom: none; text-transform: uppercase; letter-spacing: 0.06em; }
.cart-table tbody td { padding: 16px 18px; border-bottom: 1px solid var(--light-gray); vertical-align: middle; }
.cart-table tbody tr:last-child td { border-bottom: none; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); flex-shrink: 0; }
.cart-product-name { font-size: 14px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 3px; }
.cart-product-name:hover { color: var(--gold); }
.cart-sku { font-size: 12px; color: #aaa; }
.cart-price { font-size: 15px; font-weight: 700; color: var(--gold); }
.cart-price-old { font-size: 12px; color: #bbb; text-decoration: line-through; display: block; }
.cart-subtotal { font-size: 15px; font-weight: 700; color: var(--gold); }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; }
.qty-btn { width: 32px; height: 36px; border: none; background: var(--light-gray); cursor: pointer; font-size: 16px; font-weight: 700; color: var(--dark); transition: var(--transition); }
.qty-btn:hover { background: var(--dark); color: var(--gold); }
.qty-input { width: 48px; height: 36px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 14px; font-weight: 600; outline: none; -moz-appearance: textfield; font-family: var(--font-body); }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-remove { background: none; border: none; cursor: pointer; font-size: 20px; color: #ccc; padding: 4px 8px; border-radius: var(--radius); transition: var(--transition); }
.btn-remove:hover { color: #c0392b; background: #fff0f0; }
.cart-summary { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); position: sticky; top: 90px; }
.cart-summary-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--gray); border-bottom: 1px solid var(--light-gray); }
.summary-total { font-size: 16px; font-weight: 700; color: var(--dark); padding-top: 16px; border-bottom: none !important; border-top: 2px solid var(--dark); }
.summary-total span:last-child { font-size: 22px; color: var(--gold); font-family: var(--font-head); }
.checkout-note { background: var(--gold-bg); border: 1px solid rgba(201,168,76,.2); border-radius: var(--radius); padding: 12px 16px; font-size: 12px; color: var(--gray); margin: 18px 0; line-height: 1.7; }
.btn-checkout { display: block; width: 100%; padding: 16px; background: var(--dark); color: var(--gold); border: 2px solid var(--dark); border-radius: var(--radius); font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); }
.btn-checkout:hover:not(:disabled) { background: var(--gold); color: var(--dark); border-color: var(--gold); transform: translateY(-1px); }
.btn-checkout:disabled { opacity: .5; cursor: not-allowed; }

/* ============================================================
   FOOTER - dark navy
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: #b0b8c8;
    margin-top: 72px;
    padding: 56px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-bottom: 48px;
}
.footer-col {}
.footer-heading {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.site-footer p { font-size: 13px; line-height: 1.8; margin-bottom: 8px; }
.site-footer a { color: #8a93a6; transition: var(--transition); }
.site-footer a:hover { color: var(--gold); }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; }

.footer-posts { display: flex; flex-direction: column; gap: 14px; }
.footer-posts li { border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 12px; }
.footer-posts a { font-size: 13px; display: block; margin-bottom: 3px; }
.footer-posts .post-date { font-size: 11px; color: #6b7280; }

.footer-icon { margin-right: 6px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-0 { margin-top: 0 !important; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.empty-msg { text-align: center; padding: 56px 0; color: var(--gray); font-size: 15px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { gap: 32px; }
    .hero-content h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    /* Header mobile */
    .header-inner { justify-content: space-between; }
    .header-logo { order: 1; }
    .main-nav { order: 3; flex: none; width: 100%; }
    .cart-icon-wrap { order: 2; flex: none; }
    .nav-toggle { display: flex; }
    .nav-list {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        border-top: 1px solid var(--border);
    }
    .nav-list.open { display: flex; }
    .nav-list > li > a { padding: 12px 16px; border-radius: 0; text-align: left; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--light-gray);
        border-radius: 0;
    }

    /* Layouts */
    .content-layout { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; padding: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-banner, .hero-banner img { max-height: 380px; height: 380px; }
    .hero-content { padding: 0 20px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .product-detail { padding: 24px; }
    .post-detail-wrap { padding: 28px; }
    .section-header .section-title { font-size: 26px; }
    .cat-pills { gap: 6px; }
    .cat-pills a { padding: 6px 14px; font-size: 12px; }

    /* Cart */
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .hide-sm { display: none; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .posts-grid { grid-template-columns: 1fr; }
    .product-info { padding: 12px; }
    .product-name { font-size: 13px; }
    .price-normal { font-size: 15px; }
    .btn-add-cart { padding: 8px; font-size: 11px; }
}

/* ============================================================
   SẢN PHẨM GIỚI THIỆU (chủ site tự đăng — không bán qua giỏ hàng)
   ============================================================ */
.badge-showcase {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: var(--primary);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius);
}
.badge-showcase--inline { position: static; display: inline-block; margin-bottom: 10px; }
.btn-showcase {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    background: transparent;
    color: var(--primary);
    text-align: center;
    border: 1px dashed var(--primary);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
}
.btn-showcase:hover { background: var(--primary); color: var(--gold); border-style: solid; }
.showcase-note {
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--primary);
    background: var(--gold-bg);
    font-size: 14px;
    line-height: 1.6;
}
.showcase-note strong { display: block; margin-bottom: 2px; color: var(--primary); }
.btn-showcase-contact {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    transition: all .25s ease;
}
.btn-showcase-contact:hover { background: var(--primary); color: var(--gold); }
