/* ============================================================
   KRAFTIK FURNITURE - Main Stylesheet
   Color Palette:
     Primary:   #3D2B1F (Deep Walnut Brown)
     Gold:      #C9A96E (Warm Gold)
     BG:        #FAF8F5 (Ivory)
     Surface:   #F0E8DC (Warm Beige)
     Text:      #1A1A1A
     Muted:     #6B6B6B
============================================================ */

/* ============= CSS RESET & BASE ============= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:        #3D2B1F;
    --primary-light:  #5C4033;
    --primary-dark:   #2A1A10;
    --gold:           #C9A96E;
    --gold-light:     #E8D5B0;
    --gold-dark:      #A8854A;
    --accent:         #D4714A;
    --bg:             #FAF8F5;
    --surface:        #F0E8DC;
    --surface-2:      #E8DDD1;
    --text:           #1A1A1A;
    --text-muted:     #6B6B6B;
    --text-light:     #9A9A9A;
    --border:         #E0D5C8;
    --white:          #FFFFFF;
    --success:        #2D7D3A;
    --success-bg:     #EDF7EE;
    --error:          #C62828;
    --error-bg:       #FEECEC;
    --warning:        #E65100;
    --warning-bg:     #FFF3E0;
    --info-bg:        #E8F4FD;
    --info:           #1565C0;

    --shadow-sm:  0 1px 3px rgba(61,43,31,.08), 0 1px 2px rgba(61,43,31,.06);
    --shadow-md:  0 4px 16px rgba(61,43,31,.12);
    --shadow-lg:  0 12px 40px rgba(61,43,31,.18);
    --shadow-xl:  0 24px 60px rgba(61,43,31,.24);

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;
    --radius-full: 9999px;

    --transition: .25s ease;
    --transition-slow: .4s ease;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Poppins', system-ui, sans-serif;

    --container: 1460px;
    --header-h:  130px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.3;
    color: var(--primary);
    font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; }
p { color: var(--text-muted); margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ============= UTILITIES ============= */
.container { max-width: var(--container); width: 90%; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-auto     { margin-top: auto; }
.d-flex      { display: flex; }
.gap-1       { gap: 8px; }
.gap-2       { gap: 16px; }

/* Section Heading */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: var(--gold-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* Creative cats section header ornaments */
.section-header--cats { padding: 12px 0; }
.section-header-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}
.ornament-line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(201,169,110,.35);
}
.section-header-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}
.section-header-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .4;
}
.section-header-dots span:nth-child(2) {
    opacity: 1;
    transform: scale(1.3);
}

/* Decorative underline */
.underline-gold {
    display: inline-block;
    position: relative;
}
.underline-gold::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-gold {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    font-weight: 600;
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--primary);
}
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ============= ALERTS ============= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #a5d6a7; }
.alert-error   { background: var(--error-bg); color: var(--error); border: 1px solid #ef9a9a; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #ffcc80; }
.alert-info    { background: var(--info-bg); color: var(--info); border: 1px solid #90caf9; }

.flash-container { position: fixed; top: 88px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }

/* Flash Toast */
.flash-toast {
    pointer-events: all;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 14px 18px;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.4;
    min-width: 260px;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.10);
    animation: toastIn .35s cubic-bezier(.22,1,.36,1);
    transition: opacity .4s, transform .4s;
    position: relative;
    overflow: hidden;
}
.flash-toast i { font-size: 1.05rem; margin-top: 1px; flex-shrink: 0; }
.flash-toast-msg { flex: 1; }
.flash-toast-close {
    background: none; border: none; color: inherit; font-size: 1.1rem;
    cursor: pointer; opacity: .6; line-height: 1; padding: 0 2px; flex-shrink: 0;
    margin-left: 4px; transition: opacity .2s;
}
.flash-toast-close:hover { opacity: 1; }
.flash-toast--hide { opacity: 0; transform: translateX(50px); }

/* Progress bar */
.flash-toast-bar {
    position: absolute; bottom: 0; left: 0; height: 3px;
    background: rgba(255,255,255,.45); border-radius: 0 0 0 12px;
    animation: toastBar 4s linear forwards;
}
@keyframes toastBar { from { width: 100%; } to { width: 0%; } }

/* Types — brand colours */
.flash-toast--success { background: #1A3D2B; color: #fff; border-left: 4px solid #4ADE80; }
.flash-toast--error   { background: #3D1A1A; color: #fff; border-left: 4px solid #F87171; }
.flash-toast--warning { background: #3D2B0A; color: #fff; border-left: 4px solid var(--gold); }
.flash-toast--info    { background: #1A2B3D; color: #fff; border-left: 4px solid #60A5FA; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(60px) scale(.95); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 480px) {
    .flash-container { top: auto; bottom: 80px; right: 12px; left: 12px; }
    .flash-toast { max-width: 100%; }
}


/* ============= FORMS ============= */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: .9rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============= TAGS / BADGES ============= */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.badge-new    { background: var(--primary); color: var(--white); }
.badge-sale   { background: var(--accent); color: var(--white); }
.badge-best   { background: var(--gold); color: var(--primary); }
.badge-out    { background: #ccc; color: #555; }

/* ============= TOPBAR ============= */
.topbar {
    background: var(--primary);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
    padding: 8px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar-left i { margin-right: 6px; color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right a { color: rgba(255,255,255,.85); }
.topbar-right a:hover { color: var(--gold); }
.topbar-sep { opacity: .4; }
.topbar-user-link { display: flex; align-items: center; gap: 5px; font-weight: 500; border-left: 1px solid rgba(255,255,255,.2); padding-left: 16px; }

/* ============= HEADER ============= */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-icon {
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.logo-text { line-height: 1.2; }
.logo-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.logo-tagline {
    display: block;
    font-size: .65rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Search */
.header-search { flex: 1; max-width: 500px; }
.header-search form {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-family: var(--font-sans);
    font-size: .88rem;
    color: var(--text);
    outline: none;
}
.header-search button {
    background: var(--primary);
    border: none;
    color: var(--white);
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    flex-shrink: 0;
}
.header-search button:hover { background: var(--primary-dark); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: auto; }
.cart-btn-right { margin-left: 8px; }
.user-avatar-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    font-size: 15px; font-weight: 600; font-family: var(--font-heading);
    text-decoration: none; flex-shrink: 0;
    transition: background .2s, transform .2s;
}
.user-avatar-btn:hover { background: var(--primary-dark, #2a1d15); transform: scale(1.08); }
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    position: relative;
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
.action-btn i { font-size: 1.1rem; }
.action-btn:hover { background: var(--surface); color: var(--primary); }
.cart-btn { position: relative; }
.cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    background: var(--accent);
    color: var(--white);
    font-size: .65rem;
    font-weight: 600;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============= NAVIGATION ============= */
.main-nav {
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 13px 18px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--gold-dark);
    background: rgba(201,169,110,.1);
}
.nav-list > li > a.active { border-bottom: 2px solid var(--gold); }
.nav-list > li > a i { font-size: .7rem; margin-left: 4px; transition: transform var(--transition); }
.nav-list > li:hover > a i { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -120px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    z-index: 900;
    min-width: 560px;
    padding: 24px 0;
    animation: fadeInDown .2s ease;
}
.has-dropdown:hover .mega-menu { display: block; }
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0 20px;
}
.mega-item {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}
.mega-item:hover { background: var(--surface); }
.mega-item-name {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--primary);
}
.mega-item-desc {
    display: block;
    font-size: .75rem;
    color: var(--text-light);
    margin-top: 2px;
}
.mega-item-highlight .mega-item-name { color: var(--gold-dark); }
.mega-item-sale .mega-item-name { color: var(--accent); }

/* ============= HERO SECTION ============= */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .25;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(201,169,110,.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(201,169,110,.1) 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text { color: var(--white); }
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.hero-label::before, .hero-label::after {
    content: '';
    width: 30px; height: 1px;
    background: var(--gold);
    opacity: .6;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.hero-stat-label {
    display: block;
    font-size: .75rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 4px;
}
/* ======= HERO PRODUCT COLLAGE ======= */
.hero-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 500px;
}
.hero-collage::before {
    content: '';
    position: absolute;
    top: -22px; right: -22px;
    width: 110px; height: 110px;
    border: 3px solid rgba(201,169,110,.35);
    border-radius: 50%;
    pointer-events: none;
}
.hero-collage::after {
    content: '';
    position: absolute;
    bottom: -28px; right: -28px;
    width: 72px; height: 72px;
    border: 2px solid rgba(201,169,110,.2);
    border-radius: 50%;
    pointer-events: none;
}
.hc-tile {
    overflow: hidden;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.hc-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.hc-tile:hover img { transform: scale(1.06); }
/* grid placement */
.hc-tile--main { grid-column: 1; grid-row: 1 / 3; }
.hc-tile--tr   { grid-column: 2; grid-row: 1; }
.hc-tile--mr   { grid-column: 3; grid-row: 1; }
.hc-tile--bl   { grid-column: 2; grid-row: 2; }
.hc-tile--br   { grid-column: 3; grid-row: 2; }
/* overlay chip on main tile */
.hc-overlay {
    position: absolute;
    bottom: 16px; left: 16px;
    background: rgba(15,12,8,.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 30px;
    padding: 8px 14px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hc-overlay .fas { color: var(--gold); }
/* floating badge card */
.hc-badge {
    position: absolute;
    bottom: -8px; left: -24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 14px 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    z-index: 10;
    border-left: 3px solid var(--gold);
}
.hc-badge-title {
    display: block;
    font-size: .68rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .09em;
}
.hc-badge-val {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 3px;
}

/* ============= CATEGORY TABS ============= */
.cat-tabs {
    padding: 72px 0 60px;
    background: var(--white);
}
.cat-tabs-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 0;
}
.cat-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
}
.cat-tab-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.cat-tab-item:hover .cat-tab-icon { color: var(--gold); background: rgba(201,169,110,.1); }
.cat-tab-item:hover .cat-tab-name { color: var(--white); }
.cat-tab-icon {
    width: 54px; height: 54px;
    background: var(--surface);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all var(--transition);
}
.cat-tab-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
    transition: color var(--transition);
}

/* ============= PRODUCT CARD ============= */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--gold-light);
}
.product-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--surface);
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-badges {
    position: absolute;
    top: 12px; left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-card-actions {
    position: absolute;
    top: 12px; right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
    width: 36px; height: 36px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    font-size: .9rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.product-action-btn:hover { background: var(--primary); color: var(--white); }
.product-action-btn.wishlisted { background: var(--accent); color: var(--white); }
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-category {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold-dark);
    margin-bottom: 6px;
}
.product-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--gold-dark); }
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: .8rem;
}
.stars { color: var(--gold); font-size: .8rem; }
.product-rating .rating-count { color: var(--text-light); font-size: .75rem; }
.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    margin-top: auto;
}
.price-current { font-size: 1.15rem; font-weight: 600; color: var(--primary); }
.price-original { font-size: .9rem; color: var(--text-light); text-decoration: line-through; }
.price-discount { font-size: .75rem; color: var(--accent); font-weight: 600; }
.product-card-footer { padding: 0 16px 16px; }
.product-card-btns { display: flex; flex-direction: column; gap: 8px; }
.btn-add-cart--half { width: 100%; }
.btn-buy-now { width: 100%; background: var(--gold); color: var(--primary) !important; border-color: var(--gold); text-decoration: none; font-weight: 600; }
.btn-buy-now:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white) !important; }
.btn-add-cart {
    width: 100%;
    padding: 10px;
    background: var(--surface);
    color: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-add-cart:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* On mobile, always show wishlist/action buttons (no hover on touch) */
@media (hover: none) {
    .product-card-actions {
        opacity: 1;
        transform: translateX(0);
    }
    .product-card-btns { gap: 6px; }
    .btn-add-cart { padding: 9px 8px; font-size: .8rem; }
}

@media (max-width: 560px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-body { padding: 10px; }
    .product-name { font-size: .88rem; }
    .price-current { font-size: 1rem; }
    .product-card-footer { padding: 0 10px 10px; }
    .btn-add-cart { font-size: .75rem; padding: 8px 6px; gap: 4px; }
    .btn-add-cart i { display: none; }
}

/* Section with products */
.products-section { padding: 72px 0; }
.products-section.bg-surface { background: var(--surface); }
.section-action { text-align: center; margin-top: 40px; }

/* ============= HERO BANNER (2-col promo) ============= */
.promo-banners {
    padding: 0 0 72px;
    background: var(--white);
}
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.promo-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    background: var(--primary);
}
.promo-banner img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .4;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}
.promo-banner:hover img { transform: scale(1.05); opacity: .5; }
.promo-banner-content { position: relative; z-index: 2; color: var(--white); }
.promo-banner-content .label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
}
.promo-banner-content h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.promo-banner-content p {
    color: rgba(255,255,255,.8);
    margin-bottom: 20px;
    font-size: .9rem;
}

/* ============= TESTIMONIALS ============= */
.testimonials-section { padding: 80px 0; background: var(--primary); overflow: hidden; }
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header p { color: rgba(255,255,255,.65); }
.testimonials-section .section-header .label {
    background: rgba(201,169,110,.2);
    color: var(--gold);
}

/* Marquee wrapper */
.testimonials-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.testimonials-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
    min-width: 100%;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
}
.testimonials-marquee:hover .testimonials-marquee-track {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background: rgba(255,255,255,.07);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(201,169,110,.2);
    backdrop-filter: blur(4px);
    min-width: 320px;
    max-width: 360px;
    flex-shrink: 0;
}
.testimonial-card .stars { font-size: .9rem; margin-bottom: 12px; }
.testimonial-quote {
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .95rem;
    flex-shrink: 0;
}
.testimonial-name { color: var(--white); font-weight: 600; font-size: .9rem; }
.testimonial-product { color: rgba(255,255,255,.5); font-size: .75rem; }

/* ============= WHY CHOOSE US ============= */
.why-section { padding: 80px 0; background: var(--white); }
.why-grid { display: flex; gap: 32px; justify-content: center; flex-wrap: nowrap; }
.why-item { text-align: center; padding: 32px 20px; flex: 1; min-width: 0; }
.why-icon {
    width: 70px; height: 70px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold-dark);
    margin: 0 auto 20px;
    transition: all var(--transition);
}
.why-item:hover .why-icon { background: var(--primary); color: var(--gold); transform: scale(1.08); }
.why-item h4 { margin-bottom: 8px; color: var(--primary); }
.why-item p { font-size: .88rem; }

/* ============= NEWSLETTER ============= */
.newsletter-section {
    padding: 36px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.newsletter-text h3 { font-size: 1.4rem; margin-bottom: 4px; }
.newsletter-text p { margin: 0; color: var(--text-muted); font-size: .88rem; }
.newsletter-form { flex: 1; min-width: 280px; max-width: 580px; }
.newsletter-inputs { display: flex; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.newsletter-inputs input {
    flex: 1;
    min-width: 160px;
    padding: 9px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: .85rem;
    background: var(--white);
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-inputs input:focus { border-color: var(--gold); }
.newsletter-note { font-size: .72rem; color: var(--text-light); margin: 0; }

/* ============= TRUST BADGES ============= */
.trust-badges { padding: 48px 0; background: var(--white); border-top: 1px solid var(--border); }
.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}
.badge-item > i {
    font-size: 1.8rem;
    color: var(--gold-dark);
    flex-shrink: 0;
    width: 44px;
}
.badge-item h4 { font-size: .88rem; margin-bottom: 2px; font-family: var(--font-sans); }
.badge-item p { font-size: .78rem; margin: 0; }

/* ============= FOOTER ============= */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.75);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    text-decoration: none;
}
.footer-logo i { color: var(--gold); }
.footer-about p { font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: all var(--transition);
    text-decoration: none;
}
.footer-social a:hover { background: var(--gold); color: var(--primary); }
.footer-col h4 {
    font-size: .88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--white);
    margin-bottom: 16px;
    font-family: var(--font-sans);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
    text-decoration: none;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li i { margin-right: 6px; color: var(--gold); font-size: .8rem; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: .8rem;
    color: rgba(255,255,255,.45);
}
.footer-payments { display: flex; gap: 10px; align-items: center; }
.footer-payments .pay-icon {
    font-size: 2.2rem;
    color: rgba(255,255,255,.80);
    transition: color .2s;
}
.footer-payments .pay-icon:hover { color: #fff; }
.pay-badge--upi {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(255,255,255,.20);
    color: rgba(255,255,255,.90);
    border: 1px solid rgba(255,255,255,.35);
    line-height: 1;
}

/* ============= CART DRAWER ============= */
.cart-drawer {
    position: fixed;
    top: 0; right: -420px;
    width: 420px;
    height: 100%;
    height: 100dvh;
    background: var(--white);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    transition: right .35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-drawer-header h3 { font-size: 1.1rem; margin: 0; font-family: var(--font-sans); font-weight: 600; }
.close-drawer {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}
.close-drawer:hover { color: var(--primary); }
.cart-drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px 24px;
}
.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.drawer-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--primary);
}
.drawer-total span:last-child { color: var(--gold-dark); }

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    backdrop-filter: blur(2px);
}
.drawer-overlay.open { display: block; }

.drawer-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.drawer-cart-item:last-child { border-bottom: none; }
.drawer-cart-item img {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--surface);
}
.drawer-item-details { flex: 1; }
.drawer-item-name { font-size: .85rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.drawer-item-price { font-size: .82rem; color: var(--gold-dark); margin-bottom: 8px; }
.drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qty-btn {
    width: 24px; height: 24px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .8rem;
    color: var(--primary);
    transition: all var(--transition);
}
.qty-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.qty-val { font-size: .85rem; font-weight: 600; min-width: 20px; text-align: center; }
.drawer-item-remove { color: var(--text-light); cursor: pointer; font-size: .8rem; padding: 4px; }
.drawer-item-remove:hover { color: var(--error); }

/* ============= BACK TO TOP & WHATSAPP ============= */
.back-to-top {
    position: fixed;
    bottom: 90px; right: 20px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }
.whatsapp-float {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 52px; height: 52px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    z-index: 900;
    transition: transform var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }

/* ============= BREADCRUMB ============= */
/* Light bar variant — used on product/blog-post (no dark hero) */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 11px 0;
}
.breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: .8rem;
    font-weight: 500;
    list-style: none;
    margin: 0 0 18px; padding: 0;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .bc-sep {
    display: inline-flex;
    align-items: center;
    margin: 0 7px;
    color: var(--border);
}
.breadcrumb .bc-sep svg { width: 10px; height: 10px; }
.breadcrumb span:last-child {
    color: var(--primary);
    font-weight: 600;
}
/* Inside dark page-hero — override to white */
.breadcrumb-bar .breadcrumb { margin: 0; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .bc-sep { color: rgba(255,255,255,.3); }
.page-hero .breadcrumb span:last-child { color: #fff; font-weight: 700; }

/* ============= PAGE HERO ============= */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 10px 0;
    color: var(--white);
}
.page-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.page-hero-text { flex: 1; }
.page-hero-breadcrumb { flex-shrink: 0; align-self: flex-start; padding-top: 4px; }
.page-hero h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 680px; margin: 0; }

/* ============= SHOP PAGE ============= */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 40px 0 80px;
}
.shop-sidebar { background: var(--white); border-radius: var(--radius-lg); padding: 24px; height: fit-content; border: 1px solid var(--border); }
.sidebar-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; }
.sidebar-section h4 { font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; color: var(--primary); font-family: var(--font-sans); }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
    color: var(--primary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    text-decoration: none;
}
.filter-list a:hover, .filter-list a.active { background: var(--surface); color: var(--gold-dark); }
.filter-count { background: var(--surface-2); border-radius: var(--radius-full); padding: 1px 8px; font-size: .72rem; }
.price-range { display: flex; gap: 8px; }
.price-range input { width: 50%; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: .82rem; }
.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.shop-header h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; }
.shop-header select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: .85rem; background: var(--white); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-btn {
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--primary);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============= PRODUCT DETAIL ============= */
.product-detail { padding: 40px 0 80px; }
.product-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.product-detail-grid > * { min-width: 0; max-width: 100%; }
.product-gallery { max-width: 100%; }
.product-gallery-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    aspect-ratio: 1;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; max-width: 100%; }
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.product-gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
    width: 72px; height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition);
    flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb-video { position: relative; background: #111; }
.gallery-thumb-video img { width: 100%; height: 100%; object-fit: cover; }
.product-info-title { font-size: 2rem; margin-bottom: 6px; }
.product-info-category { font-size: .78rem; font-weight: 600; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.product-info-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.product-info-price .price-current { font-size: 1.8rem; font-weight: 700; }
.product-info-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.product-specs { background: var(--surface); border-radius: var(--radius-md); padding: 16px; margin-bottom: 24px; }
.product-spec-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.product-spec-row:last-child { border-bottom: none; }
.product-spec-row dt { color: var(--text-muted); width: 120px; flex-shrink: 0; font-weight: 500; }
.product-spec-row dd { color: var(--primary); font-weight: 500; }
.product-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.qty-control button {
    width: 40px; height: 40px;
    border: none;
    background: var(--surface);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.qty-control button:hover { background: var(--primary); color: var(--white); }
.qty-control input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: .95rem;
    font-weight: 600;
    padding: 0 8px;
    color: var(--primary);
    background: var(--white);
}
.product-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.product-cta .btn { flex: 1; min-width: 160px; }
.product-meta-tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: .8rem; }
.product-meta-tags span { color: var(--text-muted); }
.product-meta-tags a { color: var(--gold-dark); }

/* Product Tabs */
.product-tabs { margin-top: 60px; }
.tabs-header { display: flex; gap: 0; border-bottom: 2px solid var(--border); }
.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--gold); }
.tab-content { display: none; padding: 28px 0; }
.tab-content.active { display: block; }
.tab-content p, .tab-content li { font-size: .92rem; color: var(--text-muted); line-height: 1.8; }
.prod-desc h4 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 20px 0 8px; }
.prod-desc p, .prod-desc li { font-size: .92rem; color: var(--text-muted); line-height: 1.8; }
.prod-desc ul { padding-left: 20px; margin: 0 0 12px; }

/* ============= CART PAGE ============= */
.cart-page { padding: 40px 0 80px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

/* Cart Item Cards */
.cart-items-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    align-items: flex-start;
}
.cart-item-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--surface);
    flex-shrink: 0;
}
.cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cart-item-name { font-size: .92rem; font-weight: 600; color: var(--primary); line-height: 1.4; }
.cart-item-unit { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-item-total { font-size: 1rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.cart-product-sku  { font-size: .75rem; color: var(--text-light); }
.remove-item { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: .9rem; padding: 6px; border-radius: var(--radius-sm); transition: color var(--transition); }
.remove-item:hover { color: var(--error); background: var(--error-bg); }
.cart-summary-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 120px;
}
.cart-summary-box h3 { font-size: 1.1rem; font-family: var(--font-sans); margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border-bottom: none; }
.summary-row.total { font-weight: 600; font-size: 1.05rem; color: var(--primary); padding-top: 14px; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: .85rem; }

/* ============= CHECKOUT ============= */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; padding: 40px 0 80px; align-items: start; }
.checkout-section { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; margin-bottom: 20px; }
.checkout-section h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.checkout-section h3 .step-num { width: 26px; height: 26px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; flex-shrink: 0; }

/* Saved Address Picker */
.saved-addr-title { font-size: .82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.saved-addr-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.saved-addr-card { border: 1.5px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: border-color .2s, background .2s; }
.saved-addr-card.selected { border-color: var(--gold); background: rgba(201,169,110,.06); }
.saved-addr-card-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; font-size: .85rem; }
.saved-addr-card-body strong { color: var(--primary); font-size: .88rem; }
.saved-addr-card-body span { color: var(--text-muted); line-height: 1.5; }
.addr-phone { font-size: .78rem !important; }
.addr-default-badge { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gold-dark); background: var(--gold-light); padding: 2px 8px; border-radius: 9999px; margin-bottom: 4px; width: fit-content; }
.new-addr-option { flex-direction: row !important; align-items: center; gap: 10px !important; color: var(--primary); }
.new-addr-option i { font-size: 1.1rem; color: var(--gold-dark); }
#addrFormWrap { margin-top: 4px; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.payment-method.selected { border-color: var(--gold); background: rgba(201,169,110,.06); }
.payment-method input[type=radio] { accent-color: var(--gold-dark); width: 16px; height: 16px; }
.order-summary-sticky { position: sticky; top: 120px; }
.order-items-list { max-height: 300px; overflow-y: auto; margin-bottom: 16px; }
.order-item-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; }
.order-item-row img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-md); }
.order-item-details { flex: 1; }
.order-item-details .name { font-size: .85rem; font-weight: 600; color: var(--primary); }
.order-item-details .qty { font-size: .75rem; color: var(--text-muted); }
.order-item-price { font-size: .88rem; font-weight: 600; color: var(--primary); white-space: nowrap; }

/* ============= ACCOUNT / AUTH ============= */
.auth-page { min-height: 80vh; display: flex; align-items: center; padding: 60px 0; background: var(--surface); }
.auth-card { background: var(--white); max-width: 460px; width: 100%; margin: 0 auto; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.auth-card h2 { text-align: center; margin-bottom: 6px; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }
.auth-card .divider { text-align: center; color: var(--text-light); font-size: .82rem; margin: 20px 0; position: relative; }
.auth-card .divider::before, .auth-card .divider::after {
    content: ''; position: absolute; top: 50%;
    width: 42%; height: 1px; background: var(--border);
}
.auth-card .divider::before { left: 0; }
.auth-card .divider::after { right: 0; }

/* Account Dashboard */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 40px 0 80px; }
.account-layout > * { min-width: 0; }
.account-sidebar { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; height: fit-content; }
.account-user-info { padding: 24px; background: var(--primary); color: var(--white); text-align: center; }
.account-avatar { width: 64px; height: 64px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; color: var(--primary); margin: 0 auto 12px; }
.account-user-info h4 { color: var(--white); font-size: .95rem; font-family: var(--font-sans); }
.account-user-info p { font-size: .78rem; color: rgba(255,255,255,.6); margin: 0; }
.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    font-size: .85rem;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
.account-nav a:last-child { border-bottom: none; }
.account-nav a i { width: 18px; color: var(--text-muted); font-size: .9rem; }
.account-nav a.active, .account-nav a:hover { background: var(--surface); color: var(--gold-dark); }
.account-nav a.active i, .account-nav a:hover i { color: var(--gold-dark); }
.account-content { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; min-width: 0; }
.account-content h3 { margin-bottom: 20px; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }

/* Order Cards */
.order-cards { display: flex; flex-direction: column; gap: 12px; }
.order-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.order-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); }
.order-card-num { font-size: .88rem; font-weight: 700; color: var(--gold-dark); }
.order-card-date { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.order-status-badge { font-size: .72rem; font-weight: 600; text-transform: capitalize; padding: 4px 10px; border-radius: 9999px; white-space: nowrap; flex-shrink: 0; }
.order-card-bottom { display: flex; align-items: center; gap: 16px; padding: 12px 16px; flex-wrap: wrap; }
.order-card-bottom > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 80px; }
.order-card-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.order-card-total { font-size: .92rem; font-weight: 700; color: var(--primary); }
.order-card-bottom .btn { flex-shrink: 0; margin-left: auto; }

/* Address Grid */
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .address-grid { grid-template-columns: 1fr; } }

/* ============= ABOUT PAGE ============= */
.about-hero { padding: 80px 0; background: var(--surface); }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 72px 0; }
.value-card { text-align: center; padding: 32px 20px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
.value-card .icon { font-size: 2rem; color: var(--gold-dark); margin-bottom: 16px; }
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: .88rem; }

/* About main content section */
.about-main-section { padding: 72px 0; background: var(--white); }
.about-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.about-content { font-size: .95rem; line-height: 1.9; color: var(--text); }
.about-content h2 { font-size: 1.6rem; color: var(--primary); margin: 1.8em 0 .6em; }
.about-content h2:first-child { margin-top: 0; }
.about-content h3 { font-size: 1.05rem; color: var(--primary); margin: 1.2em 0 .4em; }
.about-content p { margin: 0 0 1.1em; color: var(--text-muted); }
.about-content hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.about-content ol, .about-content ul { margin: 0 0 1.2em 1.4em; }
.about-content li { margin-bottom: .6em; color: var(--text-muted); }
.about-content strong { color: var(--text); }
.about-sidebar {}
.about-craftsmen-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 340px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.about-craftsmen-img img { width: 100%; height: 100%; object-fit: cover; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-stat-card {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
}
.about-stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-serif); }
.about-stat-lbl { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ============= BLOG ============= */
/* Blog page — featured post */
.blog-featured-section { padding: 60px 0; background: var(--white); }
.blog-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.blog-featured-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 360px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-featured-body h2 { font-size: 2rem; line-height: 1.25; margin: 14px 0 12px; }
/* Blog page — posts grid */
.blog-posts-section { padding: 60px 0; background: var(--bg); }
.blog-posts-title { font-size: 1.4rem; margin-bottom: 32px; }
.blog-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition-slow); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-light); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.blog-tag { font-size: .7rem; padding: 2px 10px; background: var(--surface); color: var(--gold-dark); border-radius: var(--radius-full); font-weight: 600; }
.blog-card-title { font-size: 1.05rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--gold-dark); }
.blog-card-excerpt { font-size: .85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: .75rem; color: var(--text-light); }
.blog-meta i { color: var(--gold-dark); }
/* ============= BLOG POST PAGE ============= */
.blog-post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; padding: 40px 0 80px; }
.blog-post-layout > * { min-width: 0; }

.blog-article-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; max-height: 420px; }
.blog-article-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-article-meta { display: flex; gap: 16px; font-size: .78rem; color: var(--text-muted); margin-bottom: 14px; flex-wrap: wrap; }
.blog-article-title { font-size: 2rem; line-height: 1.3; margin-bottom: 24px; word-break: break-word; }
.blog-share { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; display: flex; align-items: center; gap: 14px; }
.blog-share span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

/* Blog content typography */
.blog-content { font-size: .95rem; line-height: 1.9; color: var(--text); }
.blog-content h2, .blog-content h3 { color: var(--primary); margin: 1.5em 0 .6em; }
.blog-content p { margin: 0 0 1.2em; }
.blog-content ul, .blog-content ol { margin: 0 0 1.2em 1.4em; }
.blog-content li { margin-bottom: .4em; }
.blog-content img { border-radius: var(--radius-md); max-width: 100%; margin: 1em 0; }
.blog-content a { color: var(--gold-dark); }
.blog-content blockquote { border-left: 4px solid var(--gold); padding: 12px 20px; background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; margin: 1.5em 0; }

/* Sidebar */
.blog-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.blog-sidebar-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.blog-sidebar-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text-muted); margin-bottom: 16px; }
.blog-related-list { display: flex; flex-direction: column; gap: 14px; }
.blog-related-item { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; }
.blog-related-thumb { width: 68px; height: 68px; min-width: 68px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); flex-shrink: 0; }
.blog-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-related-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: .3; }
.blog-related-title { font-size: .83rem; font-weight: 600; line-height: 1.4; margin: 0 0 4px; color: var(--text); }
.blog-related-date { font-size: .72rem; color: var(--text-muted); }
.blog-sidebar-cta { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.blog-sidebar-cta h4 { font-size: 1rem; margin-bottom: 8px; }
.blog-sidebar-cta p { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; }

@media (max-width: 860px) {
    .blog-post-layout { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 60px; }
    .blog-sidebar { position: static; }
    .blog-article-title { font-size: 1.5rem; }
    .blog-related-list { flex-direction: row; flex-wrap: wrap; }
    .blog-related-item { flex: 1 1 200px; }
}

/* ============= CONTACT PAGE ============= */
.contact-main-section { padding: 72px 0; }
.contact-main-grid {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 60px;
}
.contact-col-title { font-size: 1.6rem; margin-bottom: 6px; }
.contact-col-sub { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: var(--surface);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--gold-dark);
    flex-shrink: 0;
}
.contact-info-text { flex: 1; }
.contact-info-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 3px; }
.contact-info-val { font-size: .88rem; color: var(--text); line-height: 1.6; }
.contact-social-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.contact-social-icons { display: flex; gap: 10px; }
.contact-social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
.contact-social-icon:hover { background: color-mix(in srgb, var(--sc) 15%, transparent); color: var(--sc); }
.contact-map-section { background: var(--surface); }
.contact-map-placeholder {
    height: 300px;
    background: #e8e0d4;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--text-muted); gap: 10px;
}
.contact-map-placeholder i { font-size: 2.5rem; opacity: .4; }
.contact-map-placeholder p { margin: 0; font-size: .88rem; }

/* ============= ORDER SUCCESS ============= */
.success-page { padding: 48px 0 80px; }
.success-wrap { max-width: 900px; margin: 0 auto; }

/* Header */
.success-header { text-align: center; margin-bottom: 36px; }
.success-icon { width: 72px; height: 72px; background: var(--success-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: var(--success); }
.success-header h1 { font-size: 2rem; margin-bottom: 10px; }
.success-header p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; max-width: 440px; margin: 0 auto; }

/* Two-column body */
.success-body { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.success-left, .success-right { display: flex; flex-direction: column; gap: 16px; }

/* Sections */
.success-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.success-section-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 14px; }

/* Meta rows */
.success-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.success-meta-row span:first-child { color: var(--text-muted); flex-shrink: 0; }
.success-meta-row.last { border-bottom: none; }
.text-gold { color: var(--gold-dark); }
.text-success { color: var(--success); }
.text-pending { color: #d97706; }
.text-lg { font-size: 1.05rem; color: var(--primary); }

/* Items */
.success-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.success-item-row:last-child { border-bottom: none; }
.success-item-img { width: 52px; height: 52px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); flex-shrink: 0; }
.success-item-img img { width: 100%; height: 100%; object-fit: cover; }
.success-item-info { flex: 1; min-width: 0; }
.success-item-name { font-size: .85rem; font-weight: 600; color: var(--primary); line-height: 1.3; }
.success-item-qty { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.success-item-price { font-size: .88rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Address */
.success-address { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.7; color: var(--text-muted); }
.success-address i { color: var(--gold-dark); margin-top: 3px; flex-shrink: 0; }
.success-address strong { color: var(--primary); }

/* Actions */
.success-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--surface); color: var(--primary); border-color: var(--primary); }

@media (max-width: 700px) {
    .success-body { grid-template-columns: 1fr; }
    .success-header h1 { font-size: 1.5rem; }
    .success-page { padding: 28px 0 60px; }
}

/* ============= EMPTY STATES ============= */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 3.5rem; color: var(--gold-light); margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; max-width: 360px; margin-left: auto; margin-right: auto; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .shop-layout { grid-template-columns: 220px 1fr; }
    .product-detail-grid { gap: 36px; }
    .checkout-layout { grid-template-columns: 1fr 340px; }
    .cart-layout { grid-template-columns: 1fr 320px; }
    .cart-item-img { width: 76px; height: 76px; }
}

@media (max-width: 900px) {
    :root { --header-h: 70px; }
    .hero .container { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-bottom: 50px; }
    .hero-content { padding: 36px 0 0; }
    .hero-text { text-align: center; }
    .hero-label { justify-content: center; }
    .hero h1 { text-align: center; }
    .hero-desc { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; margin-top: 28px; padding-top: 20px; }
    .hero-stat { text-align: center; }
    /* Mobile: single wide image banner */
    .hero-collage {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 240px;
        height: auto;
        margin-top: 20px;
        gap: 0;
    }
    .hc-tile--main {
        grid-column: 1; grid-row: 1;
        border-radius: 14px;
    }
    .hc-tile--main img { object-position: center center; }
    .hc-tile--tr,
    .hc-tile--mr,
    .hc-tile--bl,
    .hc-tile--br   { display: none; }
    .hc-overlay    { font-size: .72rem; padding: 6px 12px; }
    .hc-badge      { left: 12px; bottom: -12px; padding: 10px 16px; }
    .hero-collage::before,
    .hero-collage::after { display: none; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-item-img { width: 80px; height: 80px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-main-section { padding: 48px 0; }
    .about-hero-grid { grid-template-columns: 1fr; }
    .about-main-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-craftsmen-img { height: 260px; }
    .about-main-section { padding: 48px 0; }
    .promo-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .blog-featured-grid { grid-template-columns: 1fr; gap: 24px; }
    .blog-featured-img { height: 240px; }
    .blog-featured-body h2 { font-size: 1.5rem; }
    .blog-posts-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
    .header-search { display: none; }
    .mobile-menu-btn { display: flex; }
    .topbar .topbar-left { display: none; }
    .topbar .container { justify-content: center; gap: 0; }
    .topbar-right { gap: 0; width: 100%; justify-content: space-between; }
    .topbar-right a { font-size: .76rem; }
    .topbar-user-link { border-left: none; padding-left: 0; }
    .topbar { padding: 7px 0; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); z-index: 999; }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list > li > a { border-bottom: 1px solid var(--border); }
    .mega-menu { position: static; box-shadow: none; border: none; min-width: unset; padding: 8px 0; }
    .mega-grid { grid-template-columns: 1fr 1fr; }
    .cart-drawer { width: 100%; right: -100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer { padding: 48px 0 0; }
    .footer-about { grid-column: 1 / -1; text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-about p { max-width: 360px; margin-left: auto; margin-right: auto; }
    .footer-col h4 { font-size: .82rem; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a { font-size: .82rem; }
    .about-craftsmen-img { height: 220px; }
    .about-stat-num { font-size: 1.6rem; }
    .values-grid { grid-template-columns: 1fr; }
    .action-btn span { display: none; }
    .hero-stats { gap: 20px; }
    .products-grid { grid-template-columns: 1fr; gap: 14px; }
    .newsletter-inner { flex-direction: column; align-items: center; text-align: center; }
    .newsletter-text { width: 100%; }
    .newsletter-form { width: 100%; max-width: 100%; min-width: unset; }
    .newsletter-inputs { flex-direction: column; gap: 10px; }
    .newsletter-inputs input { width: 100%; min-width: unset; border-radius: var(--radius-md); }
    .newsletter-inputs .btn { width: 100%; justify-content: center; border-radius: var(--radius-md); }
    .newsletter-note { text-align: center; }
    .badges-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .badge-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 12px;
        background: var(--surface);
        border-radius: var(--radius-lg);
        gap: 10px;
    }
    .badge-item > i { width: auto; font-size: 1.6rem; }
    .badge-item h4 { font-size: .85rem; }
    .badge-item p  { font-size: .75rem; }
    .why-grid { flex-wrap: wrap; gap: 12px; }
    .why-item {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
        padding: 20px 12px;
        background: var(--surface);
        border-radius: var(--radius-lg);
    }
    .why-icon { width: 52px; height: 52px; font-size: 1.4rem; margin-bottom: 12px; }
    .why-item h4 { font-size: .88rem; }
    .why-item p  { font-size: .78rem; }
    .why-section { padding: 48px 0; }
}

@media (max-width: 480px) {
    .product-detail { padding: 20px 0 60px; }
    .product-detail-grid { gap: 20px; }
    .container { width: 94%; padding: 0 12px; }
    .product-info-title { font-size: 1.4rem; }
    .product-info-price .price-current { font-size: 1.4rem; }
    .gallery-thumb { width: 58px; height: 58px; }
    .product-tabs { margin-top: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .products-grid { grid-template-columns: 1fr; gap: 12px; } /* already 1-col from 768px */
    .cat-tabs-scroll { grid-template-columns: repeat(3, 1fr); }
    .contact-col-title { font-size: 1.3rem; }
    .contact-main-section { padding: 36px 0; }
    .auth-card { padding: 24px; }
    .hero h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.5rem; }
    .testimonial-card { min-width: 280px; max-width: 300px; }
    .badges-grid { grid-template-columns: 1fr 1fr; /* keep 2-col on small phones too */ }
    .blog-posts-grid { grid-template-columns: 1fr; gap: 16px; } /* already 1-col from 768px */
    .blog-featured-section { padding: 36px 0; }
    .blog-posts-section { padding: 36px 0; }
}

/* ============= LOADING SKELETON ============= */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============= CUSTOM SCROLLBAR ============= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============= SELECTION ============= */
::selection { background: var(--gold-light); color: var(--primary); }
