/* ============================================================
   LOUDMOUTH THEME — theme.css
   All visual styles. No hardcoded hex colors for Customizer-controlled values.
   ============================================================ */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Hind:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --color-primary:          #e85d3a;
    --color-background:       #1a1a1a;
    --color-foreground:       #f7f6f3;
    --color-card:             #2d2d2d;
    --color-muted:            #4a4a4a;
    --color-muted-foreground: #b8b5ae;
    --color-border:           #383838;
    --color-primary-foreground: #ffffff;
    --color-primary-bright:   #f06d42;
    --logo-height:            60px;

    --font-display: 'Archivo Black', sans-serif;
    --font-body:    'Hind', sans-serif;

    --shadow-soft:     0 4px 20px -4px rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 10px 40px -8px rgba(232, 93, 58, 0.25);

    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    --btn-radius:         0px;
    --btn-height:         48px;
    --btn-padding:        0.75rem 2.5rem;
    --btn-font-size:      0.8125rem;
    --btn-font-weight:    700;
    --btn-letter-spacing: 0.2em;
    --btn-text-transform: uppercase;

    --header-height: 80px;
    --admin-bar-height: 0px;
    --card-radius:   0px;
    --section-padding: 2rem;
    --checkout-gap:  2rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--color-border);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    line-height: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: var(--font-body);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container-wide {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1024px) {
    .container-wide {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.text-primary { color: var(--color-primary); }
.text-muted   { color: var(--color-muted-foreground); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--btn-padding);
    font-family: var(--font-body);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    letter-spacing: var(--btn-letter-spacing);
    text-transform: var(--btn-text-transform);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    white-space: nowrap;
    border-radius: 0;
    min-height: var(--btn-height);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    opacity: 0.85;
    color: var(--color-primary-foreground);
}

.btn-outline {
    background: transparent;
    color: var(--color-foreground);
    border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
}

.btn-outline:hover {
    background: var(--color-foreground);
    color: var(--color-background);
    border-color: var(--color-foreground);
}

.btn-full {
    width: 100%;
}

.btn-secondary {
    background-color: var(--color-background);
    color: var(--color-foreground);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-foreground);
    color: var(--color-background);
}

/* ============================================================
   SECTION LABELS & DIVIDERS
   ============================================================ */
.section-label {
    font-size: 0.6875rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-primary);
}

.section-divider {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: var(--color-primary);
    vertical-align: middle;
}

/* ============================================================
   SITE LOGO
   ============================================================ */
.site-logo-img {
    height: var(--logo-height) !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}

.site-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-foreground);
    line-height: var(--logo-height);
    display: block;
}

.site-logo-link {
    display: block;
    line-height: 0;
}

/* ============================================================
   WORDPRESS ADMIN BAR OFFSET
   ============================================================ */
body.admin-bar {
    --admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        --admin-bar-height: 46px;
    }
}

body.admin-bar .site-header {
    top: var(--admin-bar-height);
}

body.admin-bar .hero-section {
    min-height: calc(100vh - var(--admin-bar-height));
    min-height: calc(100dvh - var(--admin-bar-height));
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.3s var(--transition-smooth),
                border-color 0.3s var(--transition-smooth),
                backdrop-filter 0.3s var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.site-header.is-solid {
    background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: var(--color-border);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

@media (min-width: 1024px) {
    .site-nav { height: 80px; }
}

.site-nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .site-nav-desktop { display: flex; align-items: center; gap: 2rem; }
}

.theme-nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-nav-link,
.theme-nav-list li a {
    font-size: 0.8125rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
    transition: color 0.3s var(--transition-smooth);
    position: relative;
    display: inline-block;
}

.theme-nav-link::after,
.theme-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--transition-smooth);
}

.theme-nav-link:hover,
.theme-nav-list li a:hover {
    color: var(--color-foreground);
}

.theme-nav-link:hover::after,
.theme-nav-list li a:hover::after {
    transform: scaleX(1);
}

/* Transparent header nav links */
.site-header:not(.is-solid) .theme-nav-link,
.site-header:not(.is-solid) .theme-nav-list li a {
    color: rgba(255,255,255,0.8);
}

.site-header:not(.is-solid) .theme-nav-link:hover,
.site-header:not(.is-solid) .theme-nav-list li a:hover {
    color: #fff;
}

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Cart Button */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--color-foreground);
    transition: color 0.3s;
}

.cart-btn:hover { color: var(--color-primary); }

.site-header:not(.is-solid) .cart-btn { color: #fff; }

.theme-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
    border-radius: 0;
    line-height: 1;
}

.theme-cart-count:empty { display: none; }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--color-foreground);
    transition: color 0.3s;
}

.mobile-menu-btn:hover { color: var(--color-primary); }
.site-header:not(.is-solid) .mobile-menu-btn { color: #fff; }

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-12px);
    border-top: 1px solid transparent;
    padding: 0;
    background: var(--color-background);
    transition:
        max-height 0.5s var(--transition-smooth),
        opacity 0.35s var(--transition-smooth),
        transform 0.4s var(--transition-smooth),
        padding 0.4s var(--transition-smooth),
        border-color 0.3s var(--transition-smooth);
}

.mobile-menu.is-open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 0;
    border-top-color: var(--color-border);
}

.mobile-menu.is-open .mobile-nav-list li {
    animation: mobileNavItemIn 0.45s var(--transition-smooth) forwards;
    opacity: 0;
    transform: translateX(-16px);
}

.mobile-menu.is-open .mobile-nav-list li:nth-child(1) { animation-delay: 0.06s; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(2) { animation-delay: 0.12s; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(3) { animation-delay: 0.18s; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(4) { animation-delay: 0.24s; }
.mobile-menu.is-open .mobile-nav-list li:nth-child(5) { animation-delay: 0.30s; }

@keyframes mobileNavItemIn {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li a,
.mobile-nav-list .theme-nav-link {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0.75rem 0;
    color: var(--color-foreground);
    transition: color 0.3s;
}

.mobile-nav-list li a:hover,
.mobile-nav-list .theme-nav-link:hover {
    color: var(--color-primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-background);
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-background);
    opacity: 0.75;
    z-index: 1;
    transition: opacity 0.3s;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.2) 0%,
        rgba(26, 26, 26, 0.45) 50%,
        rgba(26, 26, 26, 0.9) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-tagline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: 0.6875rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-primary);
}

.hero-tagline-line {
    display: block;
    width: 2.5rem;
    height: 1px;
    background: var(--color-primary);
}

.hero-headline-wrap {
    overflow: hidden;
    margin-bottom: 1rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.9;
    color: var(--color-foreground);
    margin-bottom: 0;
}

.hero-headline-line {
    display: block;
}

.hero-headline .text-primary {
    color: var(--color-primary);
}

.hero-subheadline {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 3rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--color-muted-foreground);
    margin-top: 1rem;
}

.hero-subtext {
    font-family: var(--font-body);
    color: rgba(247, 246, 243, 0.7);
    max-width: 36rem;
    margin: 2rem auto 2.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero-subtext { font-size: 1.125rem; }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background-color: var(--color-card);
    scroll-margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.about-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(96px);
}

.about-glow--top-right {
    top: -8rem;
    right: -5rem;
    width: 28rem;
    height: 28rem;
    background: rgba(232, 93, 58, 0.1);
}

.about-glow--bottom-left {
    bottom: -8rem;
    left: -5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(232, 93, 58, 0.05);
}

.about-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

@media (min-width: 768px) {
    .about-container {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
    }
}

/* Medallion */
.about-medallion-col {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .about-medallion-col { justify-content: flex-start; }
}

.about-medallion-wrap {
    position: relative;
    display: inline-block;
}

.about-medallion-bg-glow {
    position: absolute;
    inset: 0;
    background: rgba(232, 93, 58, 0.2);
    filter: blur(64px);
    transform: scale(0.9);
}

.about-medallion-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(232, 93, 58, 0.3);
    animation: spin 60s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.about-medallion {
    position: relative;
    background: var(--color-background);
    border: 1px solid rgba(232, 93, 58, 0.4);
    padding: 2.5rem;
}

@media (min-width: 768px) {
    .about-medallion { padding: 3.5rem; }
}

.about-logo-img {
    width: 12rem;
    height: 12rem;
    object-fit: contain;
}

@media (min-width: 768px) {
    .about-logo-img { width: 15rem; height: 15rem; }
}

.about-logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--color-foreground);
}

.about-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-family: var(--font-body);
}

/* About Content */
.about-label-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.about-headline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3.75rem);
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.about-body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(247, 246, 243, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 42rem;
}

@media (min-width: 768px) { .about-body { font-size: 1.125rem; } }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
    margin-bottom: 2rem;
}

.about-stat-key {
    font-size: 0.625rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
    font-weight: 700;
    font-family: var(--font-body);
}

.about-stat-val {
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

@media (min-width: 768px) { .about-stat-val { font-size: 1.5rem; } }

.about-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .about-actions { flex-direction: row; align-items: center; }
}

.about-cta-text {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.875rem;
    font-family: var(--font-body);
}

/* ============================================================
   SHOP SECTION
   ============================================================ */
.shop-section {
    scroll-margin-top: 6rem;
}

.shop-container {
    padding-top: 5rem;
    padding-bottom: 7rem;
}

@media (min-width: 768px) {
    .shop-container {
        padding-top: 7rem;
        padding-bottom: 9rem;
    }
}

.shop-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.shop-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    text-transform: uppercase;
    margin-top: 0.75rem;
    margin-bottom: 2.5rem;
}

.shop-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.shop-filter-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.6875rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-foreground);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.shop-filter-btn.is-active,
.shop-filter-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Price Filter */
.shop-price-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.shop-price-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-muted-foreground);
    cursor: pointer;
    transition: color 0.3s;
}

.shop-price-toggle:hover { color: var(--color-foreground); }

.price-chevron {
    transition: transform 0.3s var(--transition-smooth);
}

.shop-price-toggle[aria-expanded="true"] .price-chevron {
    transform: rotate(180deg);
}

.shop-price-body {
    width: 100%;
    max-width: 24rem;
}

.price-range-wrapper {
    position: relative;
    height: 28px;
    margin-bottom: 0.75rem;
}

.range-track-bg {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-muted);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.price-range-input {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    height: 28px;
    pointer-events: none;
    z-index: 2;
}

.price-range-input--min {
    z-index: 3;
}

.price-range-input--max {
    z-index: 4;
}

.price-range-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border-radius: 0;
}

.price-range-input::-moz-range-track {
    height: 4px;
    background: transparent;
    border-radius: 0;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    margin-top: -7px;
    border: 2px solid var(--color-background);
    pointer-events: auto;
}

.price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    border: 2px solid var(--color-background);
    pointer-events: auto;
}

.range-track-fill {
    position: absolute;
    height: 4px;
    background: var(--color-primary);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    left: 0;
    width: 100%;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
}

.price-range-display {
    font-size: 0.6875rem;
    opacity: 0.7;
}

/* Product Grid */
.theme-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .theme-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

.theme-product-card-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.theme-product-card-wrap.is-hidden {
    display: none;
}

/* Product Card */
.theme-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.theme-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: auto;
    display: block;
}

.theme-product-card *:not(.theme-card-link) {
    pointer-events: none;
}

.theme-product-card__image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--color-card);
    overflow: hidden;
    margin-bottom: 1rem;
}

.theme-product-card__image-wrapper .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.theme-product-card:hover .card-img {
    transform: scale(1.08);
}

.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(247, 246, 243, 0);
    transition: background 0.5s;
    pointer-events: none;
}

.theme-product-card:hover .card-hover-overlay {
    background: rgba(247, 246, 243, 0.05);
}

.card-sold-out-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--color-foreground);
    color: var(--color-background);
    z-index: 2;
}

.theme-product-card__info {
    flex: 1;
}

.card-title {
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-foreground);
    transition: color 0.3s;
    margin-bottom: 0.25rem;
    min-width: 0;
    overflow-wrap: break-word;
}

.theme-product-card:hover .card-title {
    color: var(--color-primary);
}

.card-price {
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-muted-foreground);
}

.card-price .amount,
.card-price bdi {
    color: var(--color-muted-foreground);
}

/* Shop empty + show more */
.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 0;
}

.shop-empty p {
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
}

.shop-show-more {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
    padding-bottom: 5rem;
}

.cta-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
    color: #fff;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--transition-smooth);
}

@media (min-width: 768px) {
    .cta-banner { padding: 5rem; }
}

.cta-banner:hover {
    transform: scale(1.01);
}

.cta-noise {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    position: relative;
}

.cta-subtext {
    font-family: var(--font-body);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    position: relative;
}

.cta-btn {
    background: var(--color-background);
    color: var(--color-foreground);
    border: none;
    position: relative;
    transition: background 0.3s, color 0.3s;
}

.cta-btn:hover {
    background: var(--color-foreground);
    color: var(--color-background);
    opacity: 1;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    position: relative;
    scroll-margin-top: 6rem;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.7) 50%,
        rgba(26, 26, 26, 0.95) 100%
    );
}

.contact-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(26,26,26,0.6) 100%);
}

.contact-container {
    position: relative;
    z-index: 10;
    padding-top: 6rem;
    padding-bottom: 9rem;
}

@media (min-width: 768px) {
    .contact-container { padding-top: 9rem; padding-bottom: 12rem; }
}

.contact-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.contact-label-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.contact-italic { font-style: italic; }

.contact-subtext {
    font-family: var(--font-body);
    color: rgba(247, 246, 243, 0.7);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto 3rem;
}

.contact-open-btn {
    position: relative;
    overflow: hidden;
    transition: none;
}

.contact-open-btn:hover {
    opacity: 1;
    background: var(--color-foreground);
    color: var(--color-background);
}

.contact-strip {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(247, 246, 243, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 2.5rem;
    font-size: 0.875rem;
    color: rgba(247, 246, 243, 0.7);
    font-family: var(--font-body);
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

a.contact-strip-item:hover { color: var(--color-primary); }

.contact-strip-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-modal.is-open {
    display: flex;
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.contact-modal-panel {
    position: relative;
    width: 100%;
    max-width: 36rem;
    overflow: hidden;
    background: rgba(45, 45, 45, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(247, 246, 243, 0.1);
    box-shadow: 0 20px 80px -20px rgba(232, 93, 58, 0.4);
    padding: 2rem;
    animation: modalIn 0.45s cubic-bezier(0.25, 0.4, 0.25, 1);
}

@media (min-width: 768px) {
    .contact-modal-panel { padding: 2.5rem; }
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.contact-modal-glow {
    position: absolute;
    width: 15rem;
    height: 15rem;
    background: rgba(232, 93, 58, 0.3);
    filter: blur(64px);
    pointer-events: none;
    border-radius: 50%;
}

.contact-modal-glow--top    { top: -5rem; right: -5rem; }
.contact-modal-glow--bottom { bottom: -5rem; left: -5rem; background: rgba(232, 93, 58, 0.1); }

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(247, 246, 243, 0.6);
    transition: all 0.2s;
    z-index: 10;
    cursor: pointer;
}

.contact-modal-close:hover {
    color: var(--color-foreground);
    background: rgba(247, 246, 243, 0.05);
}

.contact-modal-inner {
    position: relative;
    overflow: hidden;
}

.contact-modal-label {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

.contact-modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    text-transform: uppercase;
    line-height: 1;
}

.contact-modal-header { margin-bottom: 1.75rem; }

/* Forms */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-form-grid { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }

.form-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    font-family: var(--font-body);
    color: rgba(247, 246, 243, 0.7);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(247, 246, 243, 0.15);
    color: var(--color-foreground);
    font-size: 0.875rem;
    font-family: var(--font-body);
    transition: border-color 0.3s, background 0.3s;
    border-radius: 0;
}

.form-input::placeholder { color: var(--color-muted-foreground); }

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(26, 26, 26, 0.6);
}

.form-textarea { resize: none; }

.contact-submit-btn .btn-sending { display: none; }
.contact-submit-btn.is-sending .btn-label { display: none; }
.contact-submit-btn.is-sending .btn-sending { display: inline; }

/* Success state */
.contact-modal-success {
    text-align: center;
    padding: 2.5rem 0;
}

.contact-success-icon {
    width: 4rem;
    height: 4rem;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from { transform: scale(0) rotate(-90deg); }
    to   { transform: scale(1) rotate(0); }
}

.contact-modal-success h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-modal-success p {
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
}

/* ============================================================
   CART DRAWER
   ============================================================ */
#theme-cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background: var(--color-background);
    z-index: 55;
    box-shadow: var(--shadow-elevated);
    transform: translateX(100%);
    transition: transform 0.35s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

body.cart-open #theme-cart-drawer {
    transform: translateX(0);
}

#theme-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(247, 246, 243, 0.2);
    z-index: 54;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--transition-smooth);
}

body.cart-open #theme-cart-overlay {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.cart-drawer-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    text-transform: none;
}

.cart-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    color: var(--color-foreground);
    cursor: pointer;
    transition: opacity 0.2s;
}

.cart-drawer-close:hover { opacity: 0.6; }

.cart-drawer-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    gap: 1rem;
}

.cart-drawer-empty svg { color: var(--color-muted-foreground); }

.cart-drawer-empty p {
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
}

.cart-item-img-link {
    display: block;
    width: 5rem;
    height: 6rem;
    flex-shrink: 0;
    background: var(--color-card);
    overflow: hidden;
}

.cart-item-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    display: block;
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-foreground);
    transition: opacity 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.125rem;
}

.cart-item-name:hover { opacity: 0.7; }

.cart-item-price {
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--color-muted-foreground);
    margin-bottom: 0.5rem;
}

.cart-item-variation {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-card);
    color: var(--color-foreground);
    cursor: pointer;
    transition: background 0.2s;
}

.cart-qty-btn:hover { background: var(--color-muted); }

.cart-qty-val {
    font-size: 0.875rem;
    font-family: var(--font-body);
    min-width: 1.5rem;
    text-align: center;
}

.cart-remove-btn {
    margin-left: auto;
    font-size: 0.6875rem;
    font-family: var(--font-body);
    color: var(--color-muted-foreground);
    cursor: pointer;
    transition: color 0.2s;
}

.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-family: var(--font-body);
}

.cart-subtotal-label { color: var(--color-muted-foreground); }

.cart-subtotal-val { font-weight: 500; }

.cart-shipping-note {
    font-size: 0.6875rem;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
}

.cart-checkout-btn { width: 100%; }

.cart-drawer-footer .cart-checkout-btn {
    text-decoration: none;
}

/* Loading state */
#theme-cart-drawer.is-updating {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-background);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.footer-tagline {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    max-width: 24rem;
    line-height: 1.7;
    font-family: var(--font-body);
}

.footer-slogan {
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-body);
}

.footer-col-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-list li a,
.footer-nav-link {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
    transition: color 0.3s;
    cursor: pointer;
    display: inline-block;
}

.footer-nav-list li a:hover,
.footer-nav-link:hover {
    color: var(--color-foreground);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
}

.footer-contact-list li a {
    color: var(--color-muted-foreground);
    transition: color 0.3s;
}

.footer-contact-list li a:hover { color: var(--color-foreground); }

.footer-contact-list svg { color: var(--color-muted-foreground); flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .footer-bottom { flex-direction: row; }
}

.footer-copyright, .footer-credit {
    font-size: 0.6875rem;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
}

.footer-credit {
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.footer-credit a {
    text-decoration: underline;
    color: var(--color-muted-foreground);
    transition: color 0.3s;
}

.footer-credit a:hover { color: var(--color-primary); }

/* ============================================================
   PAGES (inner pages)
   ============================================================ */
.page-main {
    padding-top: var(--header-height);
    padding-bottom: 4rem;
    min-height: 60vh;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.entry-content {
    max-width: 48rem;
}

/* 404 */
.not-found-main {
    display: flex;
    align-items: center;
}

.not-found-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.not-found-content {
    text-align: center;
}

.not-found-code {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.not-found-message {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
}

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.single-product-main {
    padding-top: var(--header-height);
}

.back-to-shop-row {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.back-to-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
    transition: color 0.3s;
}

.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 5rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .theme-product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.single-product .theme-product-layout {
    min-width: 0;
}

.theme-product-gallery,
.theme-product-info {
    min-width: 0;
    max-width: 100%;
}

/* Gallery */
.product-main-image-wrap {
    aspect-ratio: 3 / 4;
    background: var(--color-card);
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-product-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.product-thumb-btn {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
    cursor: pointer;
    background: var(--color-card);
}

.product-thumb-btn:hover,
.product-thumb-btn.is-active {
    border-color: var(--color-primary);
    opacity: 1;
}

.product-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.theme-product-info { padding-top: 0; }

@media (min-width: 1024px) {
    .theme-product-info { padding-top: 2.5rem; }
}

.product-category {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

.product-category a {
    color: var(--color-muted-foreground);
    transition: color 0.2s;
}

.product-category a:hover { color: var(--color-foreground); }

.product-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.product-price .amount,
.product-price bdi {
    color: var(--color-primary);
}

.product-stock-status {
    display: inline-block;
    font-size: 0.75rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1.5rem;
}

.product-stock-status--in  { background: rgba(232, 93, 58, 0.1); color: var(--color-primary); }
.product-stock-status--out { background: var(--color-card); color: var(--color-muted-foreground); }

.product-description {
    font-family: var(--font-body);
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Variations table */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
    display: block;
    width: 100%;
}

.single-product .variations tbody td.label {
    padding-bottom: 0.375rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
}

.single-product .variations tbody td.value {
    padding-top: 0;
    margin-bottom: 1.5rem;
}

.theme-attr-select-hidden { display: none !important; }

.theme-attr-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.theme-attr-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-family: var(--font-body);
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-foreground);
    cursor: pointer;
    transition: all 0.2s;
}

.theme-attr-btn:hover { border-color: rgba(232, 93, 58, 0.5); }

.theme-attr-btn.is-selected {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.reset-wrapper {
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.reset_variations {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    text-decoration: underline;
}

/* Quantity + Add to Cart */
.theme-add-to-cart-area {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.single-product .theme-add-to-cart-area {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.theme-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
}

.theme-qty-minus,
.theme-qty-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 48px;
    font-size: 1.25rem;
    color: var(--color-foreground);
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.theme-qty-minus:hover,
.theme-qty-plus:hover { background: var(--color-card); }

.theme-qty-input {
    width: 3rem;
    height: 48px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--color-foreground);
    font-family: var(--font-body);
    font-size: 0.875rem;
    -moz-appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Details section */
.product-details-section {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    margin-top: 1rem;
}

.product-details-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

.product-details-content {
    font-family: var(--font-body);
    overflow-wrap: break-word;
    word-break: break-word;
}

.product-details-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-details-content li {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.product-details-content li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.woocommerce-product-details__short-description {
    overflow-wrap: break-word;
    word-break: break-word;
}

.posted_in {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Responsive single product */
.single-product .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 160px;
}

/* Related Products */
.related-products-section {
    border-top: 1px solid var(--color-border);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.related-products-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============================================================
   WC SINGLE PRODUCT: ADD TO CART BUTTON OVERRIDES
   ============================================================ */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
    background-color: var(--color-primary) !important;
    color: var(--color-primary-foreground) !important;
    border: none !important;
    border-radius: var(--btn-radius) !important;
    min-height: var(--btn-height) !important;
    padding: var(--btn-padding) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-body) !important;
    font-size: var(--btn-font-size) !important;
    font-weight: var(--btn-font-weight) !important;
    letter-spacing: var(--btn-letter-spacing) !important;
    text-transform: var(--btn-text-transform) !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
    text-decoration: none !important;
}

.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
    opacity: 0.85 !important;
    background-color: var(--color-primary) !important;
    color: var(--color-primary-foreground) !important;
}

.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
    pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
    opacity: 0.4 !important;
    background-color: var(--color-primary) !important;
}

/* Button loading state */
.ajax_add_to_cart.theme-btn-loading {
    opacity: 0.6 !important;
    pointer-events: none !important;
    cursor: wait !important;
}

/* Hide WC "View Cart" injected link */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
    display: none !important;
}

/* ============================================================
   WC NOTICES
   ============================================================ */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
    display: none;
}

#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-primary);
    background: var(--color-card);
    font-family: var(--font-body);
    font-size: 0.875rem;
    border-radius: 0;
}

.woocommerce-error {
    border-left-color: #ef4444;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
body.woocommerce-checkout .site-main {
    padding-top: var(--header-height);
    padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content {
    max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
    display: block;
}

@media (min-width: 768px) {
    body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: var(--checkout-gap);
        align-items: start;
    }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
    min-width: 0;
    width: 100%;
    max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
    background-color: var(--color-card);
    border-radius: var(--card-radius);
    padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
    width: 100% !important;
    max-width: none !important;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-foreground);
    font-family: var(--font-body);
    font-size: 0.875rem;
    border-radius: 0;
    padding: revert;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background-color: var(--color-primary) !important;
    color: var(--color-primary-foreground) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    transition: opacity 0.2s !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    opacity: 0.85 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    color: var(--color-foreground);
    font-family: var(--font-body);
    border-radius: 0;
}

body.woocommerce-checkout .wc-block-cart-items {
    font-family: var(--font-body);
}

body.woocommerce-checkout .page-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
body.theme-thankyou-page { overflow-x: hidden; }

body.theme-thankyou-page .woocommerce-order {
    font-family: var(--font-body);
    max-width: 42rem;
    margin: 0 auto;
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 0 0 1rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 1.5rem;
    margin: 0 0 2rem;
    background: var(--color-card);
    border-radius: 0;
}

body.theme-thankyou-page .woocommerce-order-overview li {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
    display: block;
    color: var(--color-foreground);
    font-weight: 600;
    margin-top: 0.25rem;
}

body.theme-thankyou-page .woocommerce-customer-details {
    margin-top: 2rem;
}

body.theme-thankyou-page .woocommerce-order-details table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.875rem;
}

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-foreground);
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
    text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
    text-align: right;
}

body.theme-thankyou-page .woocommerce-customer-details address {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
    max-width: 480px;
    overflow-wrap: break-word;
    font-style: normal;
}

/* ============================================================
   ARCHIVE PRODUCT
   ============================================================ */
.archive-product-main {
    padding-top: var(--header-height);
    min-height: 80vh;
}

/* ============================================================
   WOOCOMMERCE GENERAL OVERRIDES
   ============================================================ */
.woocommerce-products-header {
    margin-bottom: 2rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.js-animate-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.js-animate-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   UTILITY
   ============================================================ */
.noise-overlay {
    background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 3px 3px;
}

/* WP Menu Alignment */
.theme-nav-list li { list-style: none; }
