/* ==========================================
   Glowall - Main Stylesheet
   Premium Marble & Stone Showroom
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #c9a962;
    --accent-color: #e8d5a3;
    --surface-glass: rgba(255, 255, 255, 0.88);
    --surface-soft: rgba(255, 255, 255, 0.72);
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #faf9f6;
    --border-color: #e5e7eb;
    --header-border: rgba(17, 24, 39, 0.08);
    --header-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    --header-shadow-scrolled: 0 20px 42px rgba(15, 23, 42, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-bar-height: 88px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-cream);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0 10px;
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.96) 0%, rgba(250, 249, 246, 0.72) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.header.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.navbar {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 30px);
    min-height: var(--header-bar-height);
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 2vw, 24px);
    border: 1px solid rgba(201, 169, 98, 0.18);
    border-radius: 24px;
    background: var(--surface-glass);
    box-shadow: var(--header-shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--header-shadow-scrolled);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 6px;
}

.logo-image {
    display: block;
    height: 54px;
    width: auto;
    max-width: min(36vw, 232px);
    object-fit: contain;
    object-position: left center;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    gap: clamp(18px, 2.2vw, 34px);
}

.nav-item {
    position: relative;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-dark);
    padding: 10px 0;
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary-color), #ead8ac);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #a78642;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:focus-visible,
.search-toggle:focus-visible,
.nav-auth-btn:focus-visible,
.nav-toggle:focus-visible,
.user-menu-toggle:focus-visible {
    outline: 2px solid rgba(201, 169, 98, 0.6);
    outline-offset: 3px;
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--header-border);
    border-radius: 14px;
    background: var(--surface-soft);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 169, 98, 0.42);
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-dark);
    position: relative;
    transition: background-color 0.25s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--text-dark);
    left: 0;
    transition: transform 0.25s ease, top 0.25s ease, background-color 0.25s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.nav-toggle.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before,
.nav-toggle.active .hamburger::after {
    top: 0;
    background: white;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

/* Search */
.search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--header-border);
    border-radius: 999px;
    background: var(--surface-soft);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    color: var(--text-dark);
    font-size: 16px;
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.search-toggle:hover {
    transform: translateY(-1px);
    color: #a78642;
    border-color: rgba(201, 169, 98, 0.42);
    background: rgba(201, 169, 98, 0.08);
}

/* Cart Icon */
.cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--header-border);
    border-radius: 999px;
    background: var(--surface-soft);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    color: var(--text-dark);
    font-size: 16px;
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    position: relative;
}

.cart-icon:hover {
    transform: translateY(-1px);
    color: #a78642;
    border-color: rgba(201, 169, 98, 0.42);
    background: rgba(201, 169, 98, 0.08);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #c9a227, #d4af37);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(201, 162, 39, 0.4);
}

body.nav-open {
    overflow: hidden;
}

.search-overlay {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px 24px;
}

.search-overlay[hidden] {
    display: none;
}

.search-overlay.active .search-container {
    animation: searchSectionReveal 0.28s ease;
}

@keyframes searchSectionReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-container {
    position: relative;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 36px;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 249, 246, 0.96) 100%);
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.search-intro {
    margin-bottom: 14px;
}

.search-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(201, 169, 98, 0.12);
    color: #9b753b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.search-heading {
    margin-bottom: 8px;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--primary-color);
}

.search-description {
    max-width: 520px;
    color: var(--text-light);
    font-size: 15px;
}

.search-form {
    position: relative;
}

.search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.search-field:focus-within {
    border-color: rgba(201, 169, 98, 0.58);
    background: white;
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.1),
        0 0 0 4px rgba(201, 169, 98, 0.16);
    transform: translateY(-1px);
}

.search-field-icon {
    position: absolute;
    left: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b08a4d;
    font-size: 15px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 48px 12px 44px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: var(--text-dark);
    font-size: 14px;
    font-family: var(--font-body);
    transition: color 0.2s ease;
}

.search-form-modal .search-input {
    font-size: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    outline: none;
}

.search-clear {
    position: absolute;
    right: 12px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: #667085;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.search-clear.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.search-clear:hover {
    background: rgba(201, 169, 98, 0.16);
    color: #9b753b;
}

.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 132px;
    padding: 0 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #c9a962 0%, #a97f3c 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(169, 127, 60, 0.22);
    transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(169, 127, 60, 0.28);
    filter: saturate(1.06);
}

.search-btn:focus-visible,
.search-clear:focus-visible,
.search-result:focus-visible,
.search-chip:focus-visible,
.search-close:focus-visible {
    outline: 2px solid rgba(201, 169, 98, 0.58);
    outline-offset: 3px;
}

.search-panel {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-panel[hidden] {
    display: none;
}

.search-panel-inline {
    margin-top: 14px;
}

.search-panel-section + .search-panel-section {
    margin-top: 18px;
}

.search-panel-header {
    margin-bottom: 10px;
}

.search-panel-label {
    color: #8f6a30;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.search-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(201, 169, 98, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.search-chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.72);
}

.search-chip:hover {
    color: #8f6a30;
    border-color: rgba(201, 169, 98, 0.4);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.search-results {
    display: grid;
    gap: 10px;
}

.search-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.search-result:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 169, 98, 0.34);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.09);
}

.search-result-copy {
    min-width: 0;
}

.search-result-title {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-color);
    font-weight: 600;
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
}

.search-result-arrow {
    color: #b08a4d;
    font-size: 13px;
}

.search-status {
    margin-top: 18px;
    color: var(--text-light);
    font-size: 13px;
}

.search-status[data-state="loading"] {
    color: #8f6a30;
}

.search-status[data-state="error"] {
    color: #b42318;
}

.search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.search-close:hover {
    transform: translateY(-1px);
    color: #8f6a30;
    border-color: rgba(201, 169, 98, 0.36);
    background: white;
}

/* ==========================================
   Hero Section — Marble Texture Showcase
   ========================================== */
.hero {
    position: relative;
    min-height: max(700px, calc(100vh - 116px));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 40%, #23233a 70%, #1a1a2e 100%);
}

/* Marble vein pattern overlay */
.hero-marble-veins {
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 Q100 180 200 220 T400 200' fill='none' stroke='%23c9a962' stroke-opacity='0.04' stroke-width='1.5'/%3E%3Cpath d='M0 100 Q150 130 250 80 T400 120' fill='none' stroke='%23c9a962' stroke-opacity='0.03' stroke-width='1'/%3E%3Cpath d='M0 300 Q120 310 200 280 T400 320' fill='none' stroke='%23c9a962' stroke-opacity='0.035' stroke-width='1.2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a962' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 98, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(201, 169, 98, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Floating gold particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.5) 0%, rgba(201, 169, 98, 0) 70%);
}

.particle-1 {
    width: 6px; height: 6px;
    top: 15%; left: 10%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-2 {
    width: 4px; height: 4px;
    top: 35%; left: 55%;
    animation: particleFloat 8s ease-in-out 1s infinite;
}

.particle-3 {
    width: 8px; height: 8px;
    top: 70%; left: 25%;
    animation: particleFloat 7s ease-in-out 2s infinite;
}

.particle-4 {
    width: 5px; height: 5px;
    top: 20%; right: 15%;
    animation: particleFloat 9s ease-in-out 0.5s infinite;
}

.particle-5 {
    width: 3px; height: 3px;
    top: 80%; right: 30%;
    animation: particleFloat 5s ease-in-out 3s infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(12px, -18px) scale(1.3); opacity: 0.8; }
    50% { transform: translate(-8px, -30px) scale(1); opacity: 0.5; }
    75% { transform: translate(15px, -10px) scale(1.2); opacity: 0.7; }
}

/* Split layout */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    padding-top: 40px;
    padding-bottom: 100px;
}

/* === Left column — Text === */
.hero-text-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Bestseller badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 28px;
}

.hero-badge-line {
    display: inline-block;
    width: 36px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Title */
.hero-title-serif {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.hero .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 48px;
}

.hero-btn {
    min-width: auto;
    min-height: 50px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-gold {
    background: linear-gradient(135deg, #c9a962 0%, #a97f3c 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.35);
}

.hero-btn-gold:hover {
    background: linear-gradient(135deg, #d4b572 0%, #b58a47 100%);
    box-shadow: 0 14px 40px rgba(201, 169, 98, 0.45);
    color: #fff;
}

.hero-btn-outline-gold {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid rgba(201, 169, 98, 0.5);
}

.hero-btn-outline-gold:hover {
    background: rgba(201, 169, 98, 0.12);
    border-color: var(--secondary-color);
    color: #e8d5a3;
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.2);
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.hero-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(201, 169, 98, 0.25);
}

/* === Right column — Showcase === */
.hero-showcase-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1.05;
}

/* Showcase cards */
.showcase-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

/* Dark card — back, tilted right */
.showcase-card-dark {
    width: 60%;
    height: 65%;
    top: 0;
    right: 0;
    transform: rotate(6deg);
    z-index: 1;
    border: 1px solid rgba(201, 169, 98, 0.15);
}

.showcase-card-dark:hover {
    transform: rotate(3deg) scale(1.03);
}

/* Placeholder for dark marble */
.showcase-placeholder-dark {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 22% 18%, rgba(126, 177, 209, 0.55), transparent 22%),
        radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(145deg, #35556e 0%, #6fa5cd 34%, #41637c 62%, #223746 100%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.08) 20px, rgba(255, 255, 255, 0.08) 21px);
    background-blend-mode: overlay;
    position: relative;
}

.showcase-placeholder-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(30deg, transparent 40%, rgba(201, 169, 98, 0.12) 42%, rgba(201, 169, 98, 0.06) 44%, transparent 46%),
        linear-gradient(150deg, transparent 50%, rgba(255, 255, 255, 0.2) 52%, rgba(255, 255, 255, 0.05) 54%, transparent 56%),
        linear-gradient(70deg, transparent 30%, rgba(255, 255, 255, 0.12) 32%, transparent 35%);
}

.showcase-placeholder-dark::before {
    content: '';
    position: absolute;
    inset: 10% 14% 18% 18%;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(2px);
}

/* Light card — front, overlapping */
.showcase-card-light {
    width: 52%;
    height: 60%;
    bottom: 5%;
    left: 8%;
    transform: rotate(-4deg);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.showcase-card-light:hover {
    transform: rotate(-1deg) scale(1.03);
}

/* Placeholder for light marble */
.showcase-placeholder-light {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.9), transparent 18%),
        linear-gradient(135deg, #f6f1e8 0%, #ece4d8 32%, #fffaf2 62%, #e7dfd1 100%),
        repeating-linear-gradient(120deg, transparent, transparent 30px, rgba(180, 170, 150, 0.08) 30px, rgba(180, 170, 150, 0.08) 31px);
    background-blend-mode: overlay;
    position: relative;
}

.showcase-placeholder-light::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(40deg, transparent 35%, rgba(180, 170, 150, 0.15) 37%, rgba(180, 170, 150, 0.06) 40%, transparent 42%),
        linear-gradient(160deg, transparent 45%, rgba(180, 170, 150, 0.12) 47%, rgba(180, 170, 150, 0.04) 50%, transparent 52%);
}

.showcase-placeholder-light::before {
    content: '';
    position: absolute;
    inset: 14% 18% 22% 16%;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 240, 228, 0.52)),
        linear-gradient(45deg, transparent 35%, rgba(201, 169, 98, 0.1) 50%, transparent 64%);
    box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.16);
}

.showcase-card-copy {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.showcase-card-copy-dark {
    color: rgba(255, 255, 255, 0.96);
}

.showcase-card-copy-light {
    color: #5f513f;
}

.showcase-card-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.72;
}

.showcase-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Badge on light card */
.showcase-card-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(201, 169, 98, 0.2);
    z-index: 3;
}

.showcase-card-badge i {
    color: var(--secondary-color);
    font-size: 20px;
}

/* Decorative gold ring */
.showcase-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(201, 169, 98, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.6; }
}

/* ---- Poster Carousel ---- */
.hero-posters {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1.05;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.posters-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.posters-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-out;
}

.poster-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.poster-link {
    display: block;
    width: 100%;
    height: 100%;
}

.poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: white;
}

.poster-title {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.poster-subtitle {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.posters-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
    z-index: 2;
}

.poster-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    pointer-events: auto;
}

.poster-nav-btn:hover {
    background: white;
    transform: scale(1.1);
}

.posters-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.posters-dots .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.posters-dots .carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.45);
    animation: heroScrollBounce 2.5s ease-in-out infinite;
}

.hero-scroll i {
    font-size: 13px;
    color: rgba(201, 169, 98, 0.6);
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ---- Hero Responsive ---- */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-bottom: 120px;
    }

    .hero-text-col {
        align-items: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-showcase-col {
        order: -1;
    }

    .hero-showcase {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: auto;
    }

    .hero-split {
        padding-top: 16px;
        padding-bottom: 20px;
        gap: 0;
    }

    /* Hide the entire text column on mobile */
    .hero-text-col {
        display: none;
    }

    /* Hide scroll indicator on mobile */
    .hero-scroll {
        display: none;
    }

    /* Make poster carousel compact */
    .hero-posters {
        max-width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }

    .hero-showcase-col {
        order: 0;
    }

    .hero-title-serif {
        font-size: 2.2rem;
    }

    .hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-stat-number {
        font-size: 1.1rem;
    }

    .hero-showcase {
        max-width: 260px;
    }

    .showcase-card-copy {
        left: 14px;
        right: 14px;
        bottom: 14px;
        gap: 2px;
    }

    .showcase-card-kicker {
        display: none;
    }

    .showcase-card-title {
        font-size: 0.9rem;
        line-height: 1.15;
        letter-spacing: 0.02em;
        max-width: 7ch;
    }

    .showcase-card-badge {
        width: 42px;
        height: 42px;
        top: 44%;
    }

    .showcase-card-badge i {
        font-size: 15px;
    }

    .hero-scroll span {
        font-size: 9px;
    }

    /* Compact featured sections */
    .section.featured-section {
        padding: 28px 0;
    }

    .section.featured-section .section-header {
        margin-bottom: 20px;
    }

    .section.featured-section .section-header .section-desc {
        display: none;
    }

    .section.featured-section .section-footer {
        margin-top: 24px;
    }

    /* Tighter product grid on mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-info {
        padding: 10px 12px 14px;
    }

    .product-name {
        font-size: 14px;
        margin: 4px 0;
    }

    .product-category {
        font-size: 10px;
    }

    .product-price {
        font-size: 15px;
        margin-top: 4px;
    }

    .product-size {
        font-size: 12px;
    }
}

/* ==========================================
   Sections
   ========================================== */
.section {
    padding: 100px 0;
}

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

.section-label {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================
   Products Grid
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-link {
    display: block;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-light);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 48px;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    padding: 12px 24px;
    background: white;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: var(--secondary-color);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

.product-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
    color: var(--text-dark);
}

.product-size {
    font-size: 14px;
    color: var(--text-light);
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

/* ==========================================
   Categories Grid
   ========================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-md);
}

.category-image {
    width: 100%;
    height: 100%;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-muted);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.category-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
}

.category-count {
    font-size: 13px;
    opacity: 0.8;
}

/* ==========================================
   Reviews Section
   ========================================== */
.reviews-section {
    background:
        radial-gradient(circle at top left, rgba(201, 169, 98, 0.14), transparent 30%),
        linear-gradient(180deg, #fffdf8 0%, #f8f9fa 100%);
}

.reviews-carousel {
    position: relative;
}

.reviews-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.reviews-eyebrow::before {
    content: '';
    width: 42px;
    height: 1px;
    background: rgba(26, 26, 46, 0.3);
}

.reviews-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-nav {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(26, 26, 46, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.reviews-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.reviews-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.reviews-viewport {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s ease;
    will-change: transform;
}

.review-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 45px -34px rgba(15, 23, 42, 0.45);
}

.review-image-shell {
    background: linear-gradient(135deg, #f8f9fa, #f3efe2);
    aspect-ratio: 4 / 4.8;
}

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

.review-content {
    padding: 22px 22px 24px;
}

.review-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 16px;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-name {
    font-size: 20px;
    margin: 0;
}

.review-location {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(26, 26, 46, 0.18);
    cursor: pointer;
    transition: var(--transition);
}

.reviews-dot.active {
    width: 34px;
    background: var(--secondary-color);
}

/* ==========================================
   Features Section
   ========================================== */
.features-section {
    background: var(--bg-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 28px;
    border-radius: 50%;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-light);
}

/* ==========================================
   About Preview
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-showroom-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(201, 169, 98, 0.22), transparent 30%),
        radial-gradient(circle at bottom right, rgba(122, 98, 55, 0.24), transparent 28%),
        linear-gradient(160deg, #101423 0%, #171c31 48%, #0d1120 100%);
    color: white;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.2;
    pointer-events: none;
}

.footer-main {
    position: relative;
    padding: 88px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr) minmax(260px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.footer-brand-panel,
.footer-link-card,
.footer-contact-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px rgba(5, 8, 18, 0.24);
}

.footer-brand-panel {
    padding: 32px;
    border-radius: 32px;
}

.footer-link-card,
.footer-contact-card {
    padding: 28px 24px;
    border-radius: 28px;
}

.footer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(201, 169, 98, 0.14);
    color: #f3d48a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.footer-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.5vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer-desc {
    max-width: 34rem;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 24px;
}

.footer-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.footer-highlight {
    padding: 16px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: #fff3d0;
    font-size: 16px;
    line-height: 1.2;
}

.footer-highlight span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.64);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-links a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: white;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
    border-color: rgba(201, 169, 98, 0.5);
    color: var(--text-dark);
}

.footer-subtitle {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #fff7e1;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-links a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.72);
    box-shadow: 0 0 0 6px rgba(201, 169, 98, 0.08);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::before {
    transform: scale(1.18);
    background: var(--secondary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-contact i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(201, 169, 98, 0.12);
    color: #f3d48a;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
}

.footer-contact a {
    color: white;
}

.footer-contact a:hover {
    color: #f3d48a;
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0 26px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    padding: 104px 0 60px;
    background: var(--bg-cream);
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   Catalog Section
   ========================================== */
.catalog-section {
    padding: 60px 0;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.catalog-sidebar {
    position: sticky;
    top: 124px;
    height: fit-content;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: 4px;
}

.filter-list a:hover,
.filter-list a.active {
    background: var(--bg-light);
    color: var(--secondary-color);
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-count {
    font-size: 15px;
    color: var(--text-light);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-dropdown select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* ==========================================
   Pagination
   ========================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-dark);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

/* ==========================================
   Modern Catalog Section - Redesigned
   ========================================== */

/* Modern Catalog Layout */
.catalog-section-modern {
    padding: 60px 0 80px;
    background: var(--bg-cream);
    min-height: 60vh;
}

.catalog-layout-modern {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Modern Sidebar */
.catalog-sidebar-modern {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 4px;
}

.sidebar-title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--bg-light);
    transition: all 0.2s ease;
}

.clear-filters-btn:hover {
    color: #dc2626;
    background: #fef2f2;
}

/* Filter Cards */
.filter-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.05);
}

.filter-card-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border-color);
}

.filter-card-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-card-title i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.filter-card-body {
    padding: 12px 16px 16px;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    position: relative;
}

.filter-option:hover {
    background: var(--bg-light);
}

.filter-option.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d4a 100%);
    color: white;
}

.filter-option-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.filter-option.active .filter-option-icon {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.filter-option-text {
    flex: 1;
    font-weight: 500;
}

.filter-option-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--text-dark);
    font-size: 0.625rem;
}

/* Modern Search Box in Sidebar */
.modern-search-box {
    position: relative;
}

.modern-search-box .search-field {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 2px;
    transition: all 0.2s ease;
}

.modern-search-box .search-field:focus-within {
    background: white;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

.modern-search-box .search-field-icon {
    padding: 10px 12px;
    color: var(--text-muted);
}

.modern-search-box .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px 10px 0;
    font-size: 0.9375rem;
    color: var(--text-dark);
    outline: none;
}

.modern-search-box .search-input::placeholder {
    color: var(--text-muted);
}

.modern-search-box .search-clear {
    padding: 8px;
    margin-right: 4px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: none;
}

.modern-search-box .search-input:not(:placeholder-shown) ~ .search-clear {
    display: flex;
}

.modern-search-box .search-clear:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

/* Catalog Main Content */
.catalog-main-modern {
    min-width: 0;
}

/* Modern Toolbar */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.results-count-modern {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.results-count-modern .results-number {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.125rem;
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 14px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--text-dark);
    font-weight: 500;
    text-transform: capitalize;
}

.remove-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    color: white;
    font-size: 0.625rem;
    transition: all 0.2s ease;
}

.remove-filter:hover {
    background: #dc2626;
}

/* Toolbar Right */
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* View Toggle */
.view-toggle {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 4px;
}

.view-btn-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn-toggle:hover {
    color: var(--text-dark);
}

.view-btn-toggle.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Modern Sort Dropdown */
.sort-dropdown-modern {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.sort-label i {
    font-size: 0.75rem;
}

.sort-select {
    padding: 10px 36px 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") right 12px center no-repeat;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.sort-select:hover {
    border-color: var(--text-muted);
}

.sort-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

/* ==========================================
   Modern Products Grid
   ========================================== */
.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Modern Product Card */
.product-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
}

.product-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.product-card-link:hover,
.product-card-link:focus,
.product-card-link:active {
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    opacity: 0.4;
}

/* Product Badges */
.product-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.product-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.product-badge-modern.featured {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d4b76a 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.4);
}

.product-badge-modern.featured i {
    font-size: 0.625rem;
}

/* Product Card Content */
.product-card-content {
    padding: 20px 24px 24px;
}

.product-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.product-card-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    background: rgba(201, 169, 98, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-specs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-card-specs i {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* No Results - Modern */
.no-results-modern {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.no-results-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    margin-bottom: 24px;
}

.no-results-icon i {
    font-size: 2.5rem;
    color: var(--text-muted);
}

.no-results-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.no-results-text {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 400px;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ==========================================
   Modern Pagination
   ========================================== */
.pagination-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-btn i {
    font-size: 0.75rem;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: var(--bg-light);
}

.pagination-number.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================
   Responsive Design - Modern Catalog
   ========================================== */
@media (max-width: 1200px) {
    .catalog-layout-modern {
        grid-template-columns: 260px 1fr;
        gap: 30px;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .catalog-layout-modern {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .catalog-sidebar-modern {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .sidebar-header {
        grid-column: 1 / -1;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    .catalog-toolbar {
        padding: 16px 20px;
    }
}

@media (max-width: 768px) {
    .catalog-section-modern {
        padding: 40px 0 60px;
    }
    
    .catalog-sidebar-modern {
        grid-template-columns: 1fr;
    }
    
    .filter-card {
        border-radius: 12px;
    }
    
    .filter-card-body {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .toolbar-left {
        justify-content: space-between;
    }
    
    .toolbar-right {
        justify-content: space-between;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-card-content {
        padding: 16px;
    }
    
    .product-card-title {
        font-size: 1rem;
    }
    
    /* Ensure product cards are fully clickable on mobile */
    .product-card-link {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }
    
    .pagination-modern {
        padding: 24px 16px;
    }
    
    .pagination-btn span {
        display: none;
    }
    
    .pagination-btn {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .products-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-card-modern {
        border-radius: 16px;
    }
    
    .sort-dropdown-modern {
        width: 100%;
    }
    
    .sort-select {
        flex: 1;
    }
    
    .view-toggle {
        display: none;
    }
    
    .active-filters {
        width: 100%;
        justify-content: flex-start;
    }
    
    .pagination-numbers {
        gap: 2px;
    }
    
    .pagination-number {
        min-width: 38px;
        height: 38px;
    }
}

/* ==========================================
   Product Detail
   ========================================== */
.product-detail {
    padding: 40px 0 80px;
}

.product-detail .breadcrumb {
    justify-content: flex-start;
    margin-bottom: 40px;
}

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

.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    aspect-ratio: 1;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.thumb-btn {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
}

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

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

.product-info-detail {
    padding-top: 20px;
}

.product-category-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 10px;
}

.product-price-large {
    margin-bottom: 20px;
}

.product-price-large .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-large .price-note {
    font-size: 14px;
    color: var(--text-light);
    margin-left: 10px;
}

.product-status {
    margin-bottom: 30px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.status.available {
    color: #059669;
}

.status.unavailable {
    color: #dc2626;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.8;
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

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

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table th,
.specs-table td {
    padding: 12px 0;
    text-align: left;
}

.specs-table th {
    width: 40%;
    font-weight: 500;
    color: var(--text-light);
}

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

/* Related Products */
.related-products {
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.related-products .section-title {
    margin-bottom: 30px;
}

/* ==========================================
   About Page
   ========================================== */
.about-section {
    padding: 60px 0;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-intro h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.story-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.story-placeholder {
    aspect-ratio: 4/3;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--text-muted);
    border-radius: 8px;
}

.values-section {
    margin-bottom: 80px;
}

.values-section h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-cream);
    border-radius: 8px;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 24px;
    border-radius: 50%;
}

.value-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px;
    background: var(--primary-color);
    border-radius: 8px;
    color: white;
    text-align: center;
    margin-bottom: 80px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.team-section {
    text-align: center;
}

.team-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.team-section p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    color: var(--secondary-color);
    font-size: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.social-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-form-wrapper {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: 8px;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--font-body);
    background: white;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.error {
    display: block;
    font-size: 13px;
    color: #dc2626;
    margin-top: 5px;
}

.map-section {
    padding: 0 0 80px;
}

.map-placeholder {
    height: 400px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.map-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 18px;
    color: var(--text-dark);
}

.map-placeholder span {
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================
   Messages
   ========================================== */
.messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-error,
.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

.alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.5;
}

.alert-close:hover {
    opacity: 1;
}

/* ==========================================
   No Results
   ========================================== */
.no-results,
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 14px;
    }

    .nav-container {
        min-height: 78px;
        padding: 0 18px;
        gap: 12px;
    }

    .logo-image {
        height: 46px;
        max-width: min(44vw, 210px);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px;
        border: 1px solid rgba(17, 24, 39, 0.08);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px) scale(0.98);
        transform-origin: top center;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-item {
        width: 100%;
    }

    .nav-item + .nav-item {
        border-top: 1px solid rgba(17, 24, 39, 0.06);
    }

    .nav-link {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 16px 12px 18px;
    }

    .nav-link::after {
        left: 12px;
        right: 12px;
        bottom: 9px;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .catalog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .about-grid,
    .about-story,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-panel {
        grid-column: 1 / -1;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0 8px;
    }

    .navbar {
        padding: 0 12px;
    }

    .nav-container {
        min-height: 72px;
        padding: 0 14px;
        border-radius: 20px;
    }

    .logo-image {
        height: 38px;
        max-width: min(52vw, 178px);
    }

    .nav-menu {
        top: calc(100% + 10px);
        padding: 10px;
        border-radius: 18px;
    }

    .nav-link {
        font-size: 13px;
        padding: 14px 10px 16px;
    }

    .nav-auth-btn {
        min-height: 40px;
        padding: 0 14px;
    }

    .nav-actions {
        gap: 8px;
    }

    .search-overlay {
        padding: 0 12px 18px;
    }

    .search-container {
        padding: 20px 14px 14px;
        border-radius: 24px;
    }

    .search-intro {
        margin-bottom: 12px;
        padding-right: 46px;
    }

    .search-box {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .search-field {
        min-height: 48px;
    }

    .search-btn {
        min-width: 92px;
        min-height: 48px;
        padding: 0 14px;
        gap: 6px;
        font-size: 13px;
    }

    .search-input {
        font-size: 13px;
        padding: 10px 38px 10px 36px;
    }

    .search-form-modal .search-input {
        font-size: 15px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .search-field-icon {
        left: 14px;
        font-size: 14px;
    }

    .search-clear {
        right: 8px;
        width: 28px;
        height: 28px;
    }

    .search-panel {
        margin-top: 12px;
        padding: 16px;
    }
    
    .hero {
        min-height: auto;
    }

    /* Hide hero text column on tablet/mobile */
    .hero-text-col {
        display: none;
    }

    /* Hide scroll indicator */
    .hero-scroll {
        display: none;
    }

    .hero-split {
        padding-top: 16px;
        padding-bottom: 20px;
        gap: 0;
    }

    /* Make poster wider on mobile */
    .hero-posters {
        max-width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }

    .page-header {
        padding: 72px 0 48px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: min(100%, 320px);
    }

    /* Compact sections on mobile */
    .section.featured-section {
        padding: 32px 0;
    }

    .section.featured-section .section-header {
        margin-bottom: 24px;
    }

    .section.featured-section .section-footer {
        margin-top: 28px;
    }

    /* Tighter product grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-info {
        padding: 12px 14px 16px;
    }

    .product-name {
        font-size: 15px;
        margin: 5px 0;
    }

    .product-price {
        font-size: 16px;
        margin-top: 6px;
    }

    .reviews-carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-card {
        flex-basis: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-main {
        padding: 64px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-brand-panel,
    .footer-link-card,
    .footer-contact-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .footer-brand-panel {
        text-align: left;
    }

    .footer-highlights {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-contact li {
        gap: 12px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0 22px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 0 6px;
    }

    .navbar {
        padding: 0 10px;
    }

    .nav-container {
        min-height: 68px;
        padding: 0 10px;
        border-radius: 18px;
    }

    .logo-image {
        height: 34px;
        max-width: min(58vw, 154px);
    }

    .nav-actions {
        gap: 6px;
    }

    .search-toggle,
    .cart-icon,
    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .search-close {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
    }

    .search-container {
        padding: 18px 12px 12px;
        border-radius: 20px;
    }

    .search-intro {
        margin-bottom: 10px;
    }

    .search-box {
        gap: 6px;
    }

    .search-field {
        min-height: 44px;
    }

    .search-input {
        padding: 9px 34px 9px 34px;
    }

    .search-btn {
        min-width: 84px;
        min-height: 44px;
        padding: 0 12px;
        font-size: 12px;
    }

    .search-result {
        align-items: flex-start;
    }

    .nav-auth-btn {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .nav-menu {
        padding: 8px;
    }

    .nav-link {
        padding: 13px 10px 15px;
    }

    .footer-main {
        padding-top: 52px;
    }

    .footer-brand-panel,
    .footer-link-card,
    .footer-contact-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .footer-title {
        font-size: 1.85rem;
    }

    .footer-desc {
        font-size: 14px;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }

    .footer-contact i {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .footer-bottom-tag {
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .reviews-track {
        gap: 18px;
    }

    .reviews-controls {
        width: 100%;
        justify-content: space-between;
    }

    .reviews-nav {
        width: 44px;
        height: 44px;
    }

    .review-content {
        padding: 18px 18px 20px;
    }
}

/* ==========================================
   Auth Navigation Buttons & User Menu
   ========================================== */
.nav-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--header-border);
    background: var(--surface-soft);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.nav-auth-login {
    color: var(--primary-color);
}

.nav-auth-login:hover {
    transform: translateY(-1px);
    background: rgba(201, 169, 98, 0.08);
    border-color: rgba(201, 169, 98, 0.42);
    color: #a78642;
}

.nav-auth-signup {
    color: white;
    background: linear-gradient(135deg, var(--secondary-color), #b8964d);
    box-shadow: 0 2px 8px rgba(201, 169, 98, 0.25);
}

.nav-auth-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 169, 98, 0.35);
    color: white;
}

/* User Menu Dropdown */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    background: var(--surface-soft);
    border: 1px solid var(--header-border);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.user-menu-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 169, 98, 0.42);
    background: rgba(201, 169, 98, 0.08);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #b8964d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(201, 169, 98, 0.25);
}

.user-menu-toggle:hover .user-avatar {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(201, 169, 98, 0.35);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-dropdown-header {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-dropdown-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.user-dropdown-email {
    font-size: 12px;
    color: var(--text-muted);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.user-dropdown-item:hover {
    background: var(--bg-light);
}

.user-dropdown form {
    margin: 0;
}

.user-dropdown-logout {
    color: #ef4444;
}

.user-dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.06);
}

/* Responsive auth buttons */
@media (max-width: 768px) {
    .user-dropdown {
        right: -4px;
    }
}

/* ==========================================
   Product Detail - Premium Redesign
   Inspired by Stitch Luxury E-commerce
   ========================================== */

/* Section */
.pd-section {
    background: #FAFAF8;
    padding: 32px 0 80px;
    min-height: 100vh;
}

/* Breadcrumb */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pd-breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s ease;
    font-weight: 500;
}

.pd-breadcrumb a:hover {
    color: #C4A265;
}

.pd-breadcrumb-sep .material-symbols-outlined {
    font-size: 16px;
    color: var(--text-muted);
    vertical-align: middle;
}

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

/* Product Card */
.pd-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 40px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: pdFadeUp 0.6s ease forwards;
}

@keyframes pdFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pd-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Layout */
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ---- Gallery ---- */
.pd-gallery {
    position: sticky;
    top: 130px;
}

.pd-gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f3;
    aspect-ratio: 1;
    cursor: zoom-in;
}

.pd-gallery-main.zoomed {
    cursor: zoom-out;
}

.pd-gallery-main.zoomed .pd-main-image {
    transform: scale(1.8);
}

.pd-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pd-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0eeeb;
    color: var(--text-muted);
}

.pd-placeholder .material-symbols-outlined {
    font-size: 64px;
}

.pd-gallery-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pd-gallery-zoom:hover {
    background: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pd-gallery-zoom .material-symbols-outlined {
    font-size: 20px;
}

.pd-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.pd-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pd-thumb:hover {
    border-color: rgba(196, 162, 101, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pd-thumb.active {
    border-color: #C4A265;
    box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.2);
}

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

/* ---- Product Info ---- */
.pd-info {
    padding-top: 4px;
}

.pd-badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C4A265;
    background: rgba(196, 162, 101, 0.1);
    border: 1px solid rgba(196, 162, 101, 0.2);
    border-radius: 6px;
    margin-bottom: 16px;
}

.pd-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.pd-price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(196, 162, 101, 0.06) 0%, rgba(196, 162, 101, 0.02) 100%);
    border: 1px solid rgba(196, 162, 101, 0.15);
    border-radius: 10px;
}

.pd-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #C4A265;
}

.pd-price-unit {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.pd-stock {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pd-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pd-stock-badge .material-symbols-outlined {
    font-size: 16px;
}

.pd-in-stock {
    background: rgba(47, 82, 51, 0.08);
    color: #2F5233;
}

.pd-out-stock {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.pd-stock-note {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.pd-short-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0eeeb;
}

.pd-purchase-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.pd-purchase-panel .pd-weight-wrapper {
    flex: 1 1 240px;
    min-width: 0;
    margin-top: 0;
}

.pd-action-row {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.pd-action-form,
.add-to-cart-form {
    width: 100%;
}

.pd-action-form .pd-btn,
.add-to-cart-form .pd-btn {
    width: 100%;
}

/* Quantity */
.pd-quantity-wrapper {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.pd-quantity-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e8e6e3;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.pd-qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.pd-qty-btn:hover {
    background: rgba(196, 162, 101, 0.08);
    color: #C4A265;
}

.pd-qty-btn .material-symbols-outlined {
    font-size: 18px;
}

.pd-qty-input {
    width: 72px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #e8e6e3;
    border-right: 1.5px solid #e8e6e3;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.pd-qty-input::-webkit-inner-spin-button,
.pd-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Action Buttons */
.pd-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.pd-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.pd-btn .material-symbols-outlined {
    font-size: 20px;
}

.pd-btn-primary {
    background: linear-gradient(135deg, #C4A265 0%, #b8934f 100%);
    color: #ffffff;
    border-color: #C4A265;
    box-shadow: 0 4px 14px rgba(196, 162, 101, 0.3);
}

.pd-btn-primary:hover {
    background: linear-gradient(135deg, #b8934f 0%, #a67f3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 162, 101, 0.4);
    color: #ffffff;
}

.pd-btn-outline {
    background: transparent;
    color: #C4A265;
    border-color: #C4A265;
}

.pd-btn-outline:hover {
    background: rgba(196, 162, 101, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(196, 162, 101, 0.15);
    color: #C4A265;
}

/* Secondary Actions */
.pd-secondary-actions {
    display: flex;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid #f0eeeb;
    flex-wrap: wrap;
}

.pd-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    background: none;
    border: 1px solid #ededea;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pd-icon-btn:hover {
    color: #C4A265;
    border-color: rgba(196, 162, 101, 0.3);
    background: rgba(196, 162, 101, 0.04);
}

.pd-icon-btn .material-symbols-outlined {
    font-size: 16px;
}

/* ---- Tabs Section ---- */
.pd-tabs-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 48px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: pdFadeUp 0.6s 0.2s ease forwards;
}

.pd-tabs-nav {
    display: flex;
    border-bottom: 1px solid #f0eeeb;
    padding: 0 40px;
    gap: 0;
    overflow-x: auto;
}

.pd-tab {
    position: relative;
    padding: 18px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pd-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #C4A265;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.pd-tab.active {
    color: #C4A265;
}

.pd-tab.active::after {
    transform: scaleX(1);
}

.pd-tab-panel {
    display: none;
    padding: 40px;
}

.pd-tab-panel.active {
    display: block;
    animation: pdFadeIn 0.3s ease;
}

@keyframes pdFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pd-tab-content {
    max-width: 800px;
}

.pd-tab-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.pd-description-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 28px;
}

.pd-description-text p {
    margin-bottom: 12px;
}

.pd-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.pd-feature-item .material-symbols-outlined {
    font-size: 20px;
    color: #2F5233;
}

/* Specifications Grid */
.pd-specs-grid {
    display: grid;
    gap: 0;
    border: 1px solid #f0eeeb;
    border-radius: 10px;
    overflow: hidden;
}

.pd-spec-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid #f0eeeb;
}

.pd-spec-row:last-child {
    border-bottom: none;
}

.pd-spec-label {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: #faf9f7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-spec-value {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Shipping Info */
.pd-shipping-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pd-shipping-item {
    display: flex;
    gap: 16px;
}

.pd-shipping-item .material-symbols-outlined {
    font-size: 24px;
    color: #C4A265;
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-shipping-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pd-shipping-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ---- Related Products ---- */
.pd-related {
    margin-top: 16px;
}

.pd-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.pd-related-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
}

.pd-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #C4A265;
    transition: all 0.2s ease;
}

.pd-view-all:hover {
    color: #b8934f;
    gap: 10px;
}

.pd-view-all .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.pd-view-all:hover .material-symbols-outlined {
    transform: translateX(3px);
}

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

.pd-related-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(20px);
}

.pd-related-card.pd-visible {
    opacity: 1;
    transform: translateY(0);
}

.pd-related-card:nth-child(1) { animation: pdFadeUp 0.6s 0.1s ease forwards; }
.pd-related-card:nth-child(2) { animation: pdFadeUp 0.6s 0.2s ease forwards; }
.pd-related-card:nth-child(3) { animation: pdFadeUp 0.6s 0.3s ease forwards; }
.pd-related-card:nth-child(4) { animation: pdFadeUp 0.6s 0.4s ease forwards; }

.pd-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.pd-related-link {
    display: block;
    text-decoration: none;
}

.pd-related-image {
    position: relative;
    aspect-ratio: 1;
    background: #f5f5f3;
    overflow: hidden;
}

.pd-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pd-related-card:hover .pd-related-image img {
    transform: scale(1.06);
}

.pd-related-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.pd-related-placeholder .material-symbols-outlined {
    font-size: 40px;
}

.pd-wishlist-mini {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(-4px);
}

.pd-related-card:hover .pd-wishlist-mini {
    opacity: 1;
    transform: translateY(0);
}

.pd-wishlist-mini:hover {
    color: #e74c3c;
    background: #ffffff;
    transform: scale(1.1);
}

.pd-wishlist-mini .material-symbols-outlined {
    font-size: 18px;
}

.pd-related-info {
    padding: 16px 18px 20px;
}

.pd-related-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C4A265;
}

.pd-related-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 6px 0;
    line-height: 1.3;
}

.pd-related-size {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.pd-related-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.pd-related-price span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ---- Product Detail Responsive ---- */
@media (max-width: 1024px) {
    .pd-grid {
        gap: 32px;
    }

    .pd-title {
        font-size: 26px;
    }

    .pd-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pd-section {
        padding: 16px 0 48px;
    }

    .pd-card {
        padding: 18px;
        border-radius: 12px;
    }

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pd-gallery {
        position: static;
    }

    .pd-gallery-main {
        aspect-ratio: 4 / 3;
    }

    .pd-gallery-thumbs {
        margin-top: 10px;
        gap: 8px;
    }

    .pd-gallery-zoom {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .pd-info {
        padding-top: 0;
    }

    .pd-badge {
        margin-bottom: 10px;
    }

    .pd-title {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .pd-price {
        font-size: 24px;
    }

    .pd-price-block {
        margin-bottom: 10px;
        padding: 12px 16px;
    }

    .pd-stock {
        margin-bottom: 10px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .pd-short-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .pd-purchase-panel {
        gap: 12px;
    }

    .pd-quantity-wrapper {
        flex-basis: 100%;
    }

    .pd-action-row {
        order: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pd-purchase-panel .pd-weight-wrapper {
        order: 3;
        flex-basis: 100%;
    }

    .pd-btn {
        padding: 12px 10px;
        font-size: 14px;
    }

    .pd-btn .material-symbols-outlined {
        font-size: 18px;
    }

    .pd-tabs-nav {
        padding: 0 20px;
    }

    .pd-tab-panel {
        padding: 24px 20px;
    }

    .pd-spec-row {
        grid-template-columns: 140px 1fr;
    }

    .pd-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .pd-related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .pd-card {
        padding: 14px;
    }

    .pd-grid {
        gap: 14px;
    }

    .pd-gallery-main {
        aspect-ratio: 5 / 4;
    }

    .pd-title {
        font-size: 20px;
    }

    .pd-thumb {
        width: 52px;
        height: 52px;
    }

    .pd-price-block {
        padding: 10px 12px;
    }

    .pd-short-desc {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .pd-purchase-panel {
        gap: 10px;
    }

    .pd-quantity-label,
    .pd-weight-label {
        margin-bottom: 6px;
    }

    .pd-qty-btn {
        width: 40px;
        height: 40px;
    }

    .pd-qty-input {
        width: 60px;
        height: 40px;
        font-size: 14px;
    }

    .pd-btn {
        padding: 11px 8px;
        font-size: 13px;
        border-radius: 9px;
    }

    .pd-related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .pd-related-info {
        padding: 12px 14px 16px;
    }

    .pd-related-name {
        font-size: 14px;
    }
}

.pd-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.pd-btn[disabled]:hover {
    transform: none;
    background: linear-gradient(135deg, #C4A265 0%, #b8934f 100%);
    box-shadow: none;
}

/* ==========================================
   Checkout
   ========================================== */
.checkout-page {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 32%),
        linear-gradient(180deg, #fdfcf8 0%, #f6f1e5 100%);
}

.checkout-section {
    padding: 52px 0 80px;
}

.checkout-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.checkout-copy {
    max-width: 720px;
}

.checkout-kicker,
.checkout-card-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9d7b31;
}

.checkout-title {
    margin-top: 10px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.05;
    color: #1f2937;
}

.checkout-intro {
    margin-top: 16px;
    max-width: 620px;
    font-size: 16px;
    color: #5f6472;
}

.checkout-card,
.checkout-success-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.checkout-card {
    padding: 32px;
}

.checkout-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.checkout-card-header h2 {
    margin-top: 8px;
    font-size: 30px;
    color: #161c2d;
}

.checkout-card-note {
    max-width: 220px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    text-align: right;
}

.checkout-form-errors {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-field-full {
    grid-column: 1 / -1;
}

.checkout-field-compact {
    max-width: 220px;
}

.checkout-field label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.checkout-input {
    width: 100%;
    min-height: 56px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 18px;
    background: #fffdf9;
    color: #111827;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.checkout-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
    transform: translateY(-1px);
}

.checkout-textarea {
    min-height: 132px;
    resize: vertical;
}

.checkout-field-help {
    font-size: 13px;
    line-height: 1.5;
    color: #7c8595;
}

.checkout-inline-note {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(250, 244, 230, 0.94) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(212, 175, 55, 0.14);
}

.checkout-note-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.14);
    color: #9d7b31;
    flex-shrink: 0;
}

.checkout-inline-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: #111827;
}

.checkout-inline-note p {
    font-size: 14px;
    color: #6b7280;
}

.checkout-summary-card {
    position: sticky;
    top: 110px;
}

.checkout-summary-sticky {
    display: grid;
    gap: 24px;
}

.checkout-summary-header {
    margin-bottom: 0;
}

.checkout-summary-qty {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.05);
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.checkout-product,
.checkout-success-product {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.checkout-product-media {
    width: 110px;
    height: 110px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #f7f0df 0%, #fffaf0 100%);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.checkout-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b5a176;
    font-size: 28px;
}

.checkout-product-category {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9d7b31;
}

.checkout-product-copy h3 {
    font-size: 22px;
    color: #111827;
}

.checkout-product-meta {
    margin-top: 8px;
    font-size: 14px;
    color: #6b7280;
}

.checkout-summary-lines {
    display: grid;
    gap: 14px;
    padding-top: 6px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.checkout-summary-row,
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-size: 15px;
    color: #374151;
}

.checkout-summary-row strong,
.checkout-summary-total strong {
    text-align: right;
}

.checkout-summary-row-muted {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    color: #6b7280;
}

.checkout-summary-total {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.checkout-summary-footer {
    display: grid;
    gap: 16px;
}

.checkout-secure-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.checkout-submit-btn {
    width: 100%;
    min-height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #d4af37 0%, #bb8f2f 100%);
    color: #161616;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    box-shadow: 0 20px 32px rgba(188, 143, 47, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-submit-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
    box-shadow: 0 26px 40px rgba(188, 143, 47, 0.26);
}

.checkout-submit-btn:disabled,
.checkout-submit-btn.is-loading,
.checkout-success-actions .btn.is-loading {
    cursor: wait;
    transform: none;
    filter: saturate(0.92);
    box-shadow: 0 16px 24px rgba(188, 143, 47, 0.2);
    opacity: 0.92;
}

.checkout-submit-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(22, 22, 22, 0.22);
    border-top-color: #161616;
    animation: checkout-spin 0.8s linear infinite;
    display: none;
}

.checkout-submit-btn.is-loading .checkout-submit-spinner {
    display: inline-flex;
}

.checkout-redirect-card {
    max-width: 720px;
}

.checkout-redirect-error {
    margin-top: 18px;
    color: #b42318;
    font-weight: 600;
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-success-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 44px;
    text-align: center;
}

.checkout-success-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #f1d98c 100%);
    color: #1f2937;
    font-size: 28px;
}

.checkout-success-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 30px 0;
}

.checkout-success-panel {
    padding: 24px;
    border-radius: 24px;
    background: #fffaf0;
    border: 1px solid rgba(212, 175, 55, 0.14);
}

.checkout-success-panel h2 {
    margin: 8px 0 6px;
    font-size: 32px;
    color: #111827;
}

.checkout-success-panel p {
    color: #6b7280;
}

.checkout-success-product {
    margin: 0 auto;
    max-width: 520px;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 250, 240, 0.72);
}

.checkout-success-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .checkout-section {
        padding: 40px 0 64px;
    }

    .checkout-hero,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 767px) {
    .checkout-card,
    .checkout-success-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .checkout-card-header {
        flex-direction: column;
    }

    .checkout-card-note {
        max-width: none;
        text-align: left;
    }

    .checkout-form-grid,
    .checkout-success-grid {
        grid-template-columns: 1fr;
    }

    .checkout-field-compact {
        max-width: none;
    }

    .checkout-product,
    .checkout-success-product {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .checkout-product-media {
        width: 88px;
        height: 88px;
        border-radius: 18px;
    }

    .checkout-product-copy h3 {
        font-size: 18px;
    }

    .checkout-success-actions {
        flex-direction: column;
    }
}

/* ==========================================
   Account Pages
   ========================================== */

.account-page {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 34%),
        radial-gradient(circle at bottom right, rgba(140, 113, 54, 0.1), transparent 28%),
        linear-gradient(180deg, #fcfbf7 0%, #f5efe2 100%);
}

.account-section {
    padding: 52px 0 80px;
}

.account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.account-copy {
    max-width: 720px;
}

.account-summary {
    padding: 24px 26px;
    border-radius: 24px;
    background: rgba(17, 24, 39, 0.92);
    color: #f9fafb;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18);
}

.account-summary-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(250, 204, 21, 0.78);
}

.account-summary-value {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
}

.account-summary-meta {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(249, 250, 251, 0.76);
}

.account-shell,
.account-empty,
.order-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.account-shell {
    padding: 32px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.profile-item {
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.profile-item-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9d7b31;
}

.profile-item-value {
    font-size: 18px;
    line-height: 1.55;
    color: #111827;
}

.profile-item-muted {
    color: #6b7280;
}

.account-note {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(17, 24, 39, 0.04);
    color: #4b5563;
}

.orders-grid {
    display: grid;
    gap: 20px;
}

.order-card {
    padding: 28px 30px;
}

.order-card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.order-card-top h3 {
    margin: 8px 0 0;
    font-size: 26px;
    color: #111827;
}

.order-status-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.order-reference {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9d7b31;
}

.order-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.order-meta-item {
    padding: 18px 20px;
    border-radius: 20px;
    background: #fffaf0;
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.order-meta-item-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9d7b31;
}

.order-meta-item-value {
    display: block;
    font-size: 18px;
    color: #111827;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.status-pill-success {
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
}

.status-pill-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
}

.status-pill-failed {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.account-empty {
    padding: 40px 32px;
    text-align: center;
}

.account-empty h2 {
    margin: 10px 0 12px;
    font-size: 30px;
    color: #111827;
}

.account-empty p {
    max-width: 520px;
    margin: 0 auto;
    color: #6b7280;
}

.account-empty .btn {
    margin-top: 24px;
}

@media (max-width: 991px) {
    .account-section {
        padding: 40px 0 64px;
    }

    .account-hero,
    .profile-grid,
    .order-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .account-shell,
    .account-empty,
    .order-card,
    .account-summary {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .order-card-top {
        flex-direction: column;
    }

    .order-status-summary {
        align-items: flex-start;
    }

    .order-card-top h3 {
        font-size: 22px;
    }

    .profile-item,
    .order-meta-item {
        padding: 18px;
        border-radius: 18px;
    }
}

/* ==========================================
   Mobile Filter Sidebar Styles
   ========================================== */

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-btn:hover {
    background: #2d2d4a;
}

.mobile-filter-btn .filter-count {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-left: 4px;
}

/* Mobile Filter Close Button */
.mobile-filter-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-close:hover {
    background: #dc2626;
    color: white;
}

/* Filter Overlay */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.filter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Body lock when filters open */
body.filter-open {
    overflow: hidden;
}

/* List View Styles */
.products-grid-modern.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

.products-grid-modern.list-view .product-card-modern {
    display: grid;
    grid-template-columns: 200px 1fr;
}

.products-grid-modern.list-view .product-card-link {
    display: contents;
}

.products-grid-modern.list-view .product-card-image {
    border-radius: 20px 0 0 20px;
    height: 100%;
    min-height: 180px;
}

.products-grid-modern.list-view .product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}

.products-grid-modern.list-view .product-card-title {
    font-size: 1.25rem;
}

/* ==========================================
   Responsive Styles for Catalog Page
   ========================================== */

@media (max-width: 1199px) {
    .catalog-layout-modern {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
}

@media (max-width: 1023px) {
    /* Show mobile filter button, hide desktop sidebar */
    .mobile-filter-btn {
        display: flex;
    }

    .mobile-filter-close {
        display: flex;
    }

    .filter-overlay {
        display: block;
    }

    .catalog-layout-modern {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar-modern {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--bg-cream);
        z-index: 1000;
        overflow-y: auto;
        padding: 24px;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .catalog-sidebar-modern.active {
        left: 0;
    }

    .sidebar-header {
        padding-bottom: 20px;
        margin-bottom: 16px;
    }

    .clear-filters-btn {
        order: 3;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }

    /* Toolbar adjustments */
    .catalog-toolbar {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .toolbar-left {
        width: 100%;
        justify-content: flex-start;
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .active-filters {
        margin-top: 8px;
        width: 100%;
    }

    /* Products grid */
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    /* List view on tablet */
    .products-grid-modern.list-view .product-card-modern {
        grid-template-columns: 160px 1fr;
    }

    .products-grid-modern.list-view .product-card-image {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .catalog-hero {
        padding: 60px 0 40px;
    }

    .catalog-hero-title {
        font-size: 2rem;
    }

    .catalog-hero-subtitle {
        font-size: 1rem;
    }

    .catalog-sidebar-modern {
        width: 100%;
        max-width: 100%;
        left: -100%;
    }

    .catalog-sidebar-modern.active {
        left: 0;
    }

    .catalog-section-modern {
        padding: 24px 0 40px;
    }

    .catalog-toolbar {
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .sort-dropdown-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    .view-toggle {
        display: none;
    }

    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-modern {
        border-radius: 16px;
    }

    .product-card-content {
        padding: 14px 16px 18px;
    }

    .product-card-title {
        font-size: 0.9375rem;
    }

    .product-card-specs {
        font-size: 0.8125rem;
    }

    .product-card-price {
        font-size: 0.9375rem;
    }

    /* List view disabled on mobile */
    .products-grid-modern.list-view {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid-modern.list-view .product-card-modern {
        display: block;
    }

    .products-grid-modern.list-view .product-card-image {
        border-radius: 16px 16px 0 0;
        min-height: auto;
    }

    .products-grid-modern.list-view .product-card-content {
        padding: 14px 16px 18px;
    }

    /* Pagination */
    .pagination-modern {
        flex-direction: column;
        gap: 16px;
    }

    .pagination-controls {
        width: 100%;
        justify-content: center;
    }

    .pagination-numbers {
        display: none;
    }

    .pagination-btn {
        flex: 1;
        justify-content: center;
    }

    .pagination-btn span {
        display: block;
    }
}

@media (max-width: 479px) {
    .products-grid-modern {
        grid-template-columns: 1fr;
    }

    .products-grid-modern.list-view {
        grid-template-columns: 1fr;
    }

    .mobile-filter-btn span {
        display: none;
    }

    .mobile-filter-btn {
        padding: 10px 12px;
    }

    .results-count-modern {
        font-size: 0.8125rem;
    }

    .results-count-modern .results-number {
        font-size: 1rem;
    }

    .active-filter-tag {
        font-size: 0.75rem;
        padding: 4px 8px 4px 10px;
    }
}

/* ==========================================
   Floating Contact Buttons
   ========================================== */
.call-float,
.whatsapp-float {
    position: fixed;
    right: 24px;
    width: 60px;
    height: 60px;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.call-float {
    bottom: 96px;
    background-color: transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.call-float__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.whatsapp-float {
    bottom: 24px;
    background-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.call-float:hover,
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.call-float:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.whatsapp-float:hover {
    background-color: #20bd5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.call-float__img,
.whatsapp-float i {
    line-height: 1;
}

.call-float::before,
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
}

.call-float::before {
    background-color: #2563eb;
    animation: call-pulse 2s infinite;
}

.whatsapp-float::before {
    background-color: #25D366;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes call-pulse {
    0% {
        transform: scale(1);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .call-float,
    .whatsapp-float {
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }

    .call-float {
        bottom: 86px;
    }

    .whatsapp-float {
        bottom: 20px;
    }
}

/* Icon Images Replacement */
.footer-contact-icon-img,
.contact-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.cta-icon-img {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
}

.btn-with-img {
    padding-left: 20px;
    padding-right: 20px;
}
