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

:root {
    --bg-dark: #000000;          /* Absolute Black */
    --bg-card: #0a0a0a;          /* Rich Black */
    --bg-card-hover: #121212;    /* Slightly lighter black */
    --primary: #ffffff;          /* Absolute White */
    --primary-glow: rgba(255, 255, 255, 0.1);
    --secondary: #ffffff;        /* White accent */
    --accent: #737373;           /* Grayscale accent */
    --text-primary: #ffffff;     /* Stark White */
    --text-secondary: #a3a3a3;   /* Light Gray */
    --text-muted: #525252;       /* Dark Gray */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-focus: rgba(255, 255, 255, 0.6);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border: 2px solid var(--bg-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Main Layout & Grid Containers */
.storefront-container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 24px;
    width: 100%;
}

/* Header & Navigation styling */
.storefront-header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-logo {
    align-items: center;
    color: var(--text-primary);
    display: flex;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: -0.02em;
}

.brand-logo img {
    display: block;
    height: 42px;
    object-fit: contain;
    width: auto;
}

.header-search {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    display: flex;
    flex: 1 1 420px;
    gap: 10px;
    max-width: 520px;
    min-width: 180px;
    padding: 0 16px;
}

.header-search i {
    color: var(--text-secondary);
    font-size: 14px;
}

.header-search input {
    background: transparent;
    border: 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    height: 42px;
    min-width: 0;
    outline: none;
    width: 100%;
}

.header-search:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.brand-logo span {
    color: #888888;
}

/* Cart Button */
.header-actions {
    align-items: center;
    display: flex;
    gap: 16px;
}

.cart-trigger {
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    font-weight: 600;
    gap: 8px;
    padding: 10px 16px;
    position: relative;
    transition: all 0.3s ease;
}

.cart-trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

.cart-icon-wrapper {
    position: relative;
}

.cart-badge {
    background: var(--primary);
    border-radius: 99px;
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    height: 18px;
    left: 10px;
    line-height: 18px;
    position: absolute;
    text-align: center;
    top: -10px;
    width: 18px;
}

/* Homepage banner carousel */
.banner-carousel {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
    margin: 28px auto 34px;
    min-height: 390px;
    overflow: hidden;
    position: relative;
}

.banner-carousel-track {
    min-height: 390px;
    position: relative;
}

.banner-slide {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.55s ease;
    visibility: hidden;
    z-index: 1;
}

.banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.banner-slide-bg {
    height: 100%;
    left: 0;
    min-height: 390px;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.banner-slide-overlay {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.18) 74%, rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02));
    inset: 0;
    position: absolute;
    z-index: 1;
}

.banner-slide-content {
    bottom: 0;
    left: 0;
    max-width: 620px;
    padding: 46px 64px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-tag {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 99px;
    color: #0f172a;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding: 7px 14px;
    text-transform: uppercase;
    width: fit-content;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0 0 16px;
    max-width: 560px;
    text-transform: uppercase;
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.55;
    margin: 0 0 26px;
    max-width: 480px;
}

.banner-cta,
.banner-cta-fallback {
    align-items: center;
    display: inline-flex;
    height: 48px;
    line-height: 1;
    padding: 0 28px;
    width: auto;
}

.banner-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 38px;
    z-index: 4;
}

.banner-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}

.banner-nav-prev {
    left: 18px;
}

.banner-nav-next {
    right: 18px;
}

.banner-dots {
    bottom: 20px;
    display: flex;
    gap: 8px;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 4;
}

.banner-dot {
    background: rgba(255, 255, 255, 0.38);
    border: 0;
    border-radius: 99px;
    cursor: pointer;
    height: 8px;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease;
    width: 8px;
}

.banner-dot.is-active {
    background: #ffffff;
    width: 28px;
}

.banner-counter {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    gap: 4px;
    padding: 7px 11px;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 5;
}

.banner-counter-current {
    color: #ffffff;
}

/* Hero Section (fallback when no banners) */
.hero-section {
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                #050505;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    margin: 40px auto;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: var(--text-primary);
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.hero-title span {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: #525252;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 28px;
}

/* Search and Filters Section */
.catalog-controls {
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 20px 24px;
}

.search-box {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.search-box input {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 16px 12px 42px;
    transition: all 0.3s ease;
    width: 100%;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    outline: none;
}

.search-icon {
    color: var(--text-muted);
    left: 16px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--border-color-focus);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.05);
    transform: translateY(-6px);
}

.card-image {
    aspect-ratio: 1 / 1;
    background: #0d0d0d;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.card-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
    filter: grayscale(100%); /* Monochrome image styling by default */
}

.product-card:hover .card-image img {
    transform: scale(1.06);
    filter: grayscale(100%);
}

.card-badge {
    border-radius: 99px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    position: absolute;
    right: 12px;
    text-transform: uppercase;
    top: 12px;
    z-index: 10;
}

.badge-in-stock {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.badge-out-of-stock {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.card-category {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.card-title {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.card-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-price {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.btn-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.btn-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-1px);
}

/* Modals & Popups general style */
.modal-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    z-index: 1050;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.03);
    max-width: 800px;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: calc(100% - 40px);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: all 0.2s ease;
    width: 40px;
    z-index: 20;
}

.modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.modal-content {
    display: grid;
    grid-template-columns: 360px 1fr;
}

.modal-image-panel {
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-image-panel img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    width: 100%;
    filter: grayscale(30%);
}

.modal-gallery-thumbs {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
}

.gallery-thumb {
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    flex: 0 0 58px;
    height: 58px;
    overflow: hidden;
    padding: 0;
}

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

.gallery-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.size-chart-trigger {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    padding: 11px 14px;
    width: fit-content;
}

.size-chart-trigger:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.size-chart-trigger.hidden {
    display: none;
}

.size-chart-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
    max-height: 90vh;
    max-width: 760px;
    padding: 18px;
    position: relative;
    width: calc(100% - 32px);
}

.size-chart-container img {
    border-radius: 8px;
    display: block;
    max-height: calc(90vh - 36px);
    object-fit: contain;
    width: 100%;
}

.modal-details-panel {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
}

.modal-category {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}

.modal-price {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

.option-group-label {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Size selection pills */
.size-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.size-pill {
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    height: 48px;
    justify-content: center;
    transition: all 0.2s ease;
    width: 60px;
}

.size-pill:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.size-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.size-pill.disabled {
    cursor: not-allowed;
    opacity: 0.25;
    position: relative;
}

.size-pill.disabled::after {
    background: var(--text-secondary);
    content: '';
    height: 1px;
    left: 10%;
    position: absolute;
    top: 50%;
    transform: rotate(-30deg);
    width: 80%;
}

/* Custom Print option fields toggle */
.custom-print-selector {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 24px;
    padding: 16px;
}

.custom-print-selector.hidden {
    display: none;
}

.custom-print-toggle {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    gap: 10px;
}

.custom-print-toggle input {
    accent-color: var(--primary);
    height: 18px;
    width: 18px;
}

.print-charge-info {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    margin-left: auto;
    text-transform: uppercase;
}

.custom-print-inputs {
    display: grid;
    gap: 12px;
    grid-template-columns: 2fr 1fr;
    margin-top: 14px;
}

.custom-print-inputs.hidden {
    display: none;
}

.modal-input {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 10px 12px;
    width: 100%;
}

.modal-input:focus {
    border-color: var(--primary);
    outline: none;
}

/* Quantity Counter styling */
.quantity-selector {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
}

.qty-counter {
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    overflow: hidden;
}

.qty-btn {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    font-size: 16px;
    height: 40px;
    justify-content: center;
    transition: background 0.2s;
    width: 40px;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.qty-value {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    width: 40px;
}

/* Modal Actions */
.btn-primary {
    align-items: center;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: var(--bg-dark);
    cursor: pointer;
    display: flex;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    height: 52px;
    justify-content: center;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: var(--bg-dark);
    color: var(--primary);
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-primary:disabled,
.btn-primary.is-disabled {
    background: var(--text-muted);
    border-color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
    color: var(--bg-dark);
    pointer-events: none;
}

/* Shopping Cart Drawer */
.cart-drawer {
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 420px;
    z-index: 1100;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-header {
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    padding: 24px;
}

.cart-drawer-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.cart-drawer-close {
    background: transparent;
    border: 0;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 24px;
}

.cart-drawer-close:hover {
    color: #888888;
}

/* Cart Items List */
.cart-drawer-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

.empty-cart-message {
    color: var(--text-secondary);
    margin-top: 100px;
    text-align: center;
}

.empty-cart-message p {
    margin-bottom: 20px;
}

.cart-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    gap: 14px;
    grid-template-columns: 64px 1fr auto;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.cart-item img {
    border-radius: 8px;
    height: 64px;
    object-fit: cover;
    width: 64px;
    filter: grayscale(100%);
}

.cart-item-info h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-meta {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
}

.cart-item-custom-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    margin-top: 4px;
    padding: 2px 6px;
}

.cart-item-qty-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.cart-qty-btn {
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.cart-qty-val {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    width: 20px;
}

.cart-item-price-panel {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-weight: 700;
}

.cart-item-remove {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: var(--primary);
}

/* Cart Footer */
.cart-drawer-footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 24px;
}

.cart-summary-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cart-summary-row span {
    color: var(--text-secondary);
}

.cart-summary-row strong {
    font-family: var(--font-heading);
    font-size: 16px;
}

.cart-total-row {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-top: 16px;
}

.cart-total-row span {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.cart-total-row strong {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}

/* Cart Drawer overlay backdrop */
.cart-backdrop {
    background: rgba(0, 0, 0, 0.8);
    display: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1099;
}

.cart-backdrop.active {
    display: block;
}

/* ========================================= */
/* Checkout Page Styles                      */
/* ========================================= */
.checkout-grid {
    align-items: flex-start;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 400px;
    margin: 40px auto 80px;
}

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

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
}

.checkout-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

.checkout-form {
    display: grid;
    gap: 20px;
}

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

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

.checkout-field label {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.checkout-field input,
.checkout-field textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    outline: none;
}

/* Payment selection option cards */
.payment-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.payment-card {
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    gap: 16px;
    padding: 18px;
    position: relative;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: var(--primary);
}

.payment-card input[type="radio"] {
    accent-color: var(--primary);
    height: 20px;
    margin: 0;
    width: 20px;
}

.payment-card-icon {
    align-items: center;
    background: var(--bg-card);
    border-radius: 10px;
    display: flex;
    font-size: 20px;
    height: 44px;
    justify-content: center;
    width: 44px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.payment-card-info h5 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.payment-card-info p {
    color: var(--text-secondary);
    font-size: 12px;
}

.payment-card.active {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-summary-panel {
        order: -1;
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }
    .modal-image-panel {
        aspect-ratio: 16 / 9;
        height: auto;
    }
    .modal-image-panel img {
        min-height: 220px;
    }
    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-details-panel {
        max-height: none;
        padding: 24px;
    }
    .hero-section,
    .banner-carousel {
        margin: 18px auto 24px;
    }

    .banner-carousel,
    .banner-carousel-track {
        min-height: 330px;
    }

    .banner-slide-bg {
        min-height: 330px;
    }

    .banner-slide-content {
        justify-content: flex-end;
        max-width: none;
        padding: 34px 18px 58px;
    }

    .banner-slide-overlay {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.50) 55%, rgba(0, 0, 0, 0.14) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.06));
    }

    .banner-tag {
        font-size: 10px;
        margin-bottom: 10px;
        padding: 5px 10px;
    }

    .banner-title {
        font-size: 29px;
        line-height: 1.02;
        margin-bottom: 9px;
    }

    .banner-subtitle {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 16px;
        max-width: 310px;
    }

    .banner-cta {
        height: 42px;
        justify-content: center;
        max-width: 190px;
        padding: 0 18px;
        width: fit-content;
    }

    .banner-nav {
        bottom: 14px;
        height: 34px;
        top: auto;
        transform: none;
        width: 34px;
    }

    .banner-nav-prev {
        left: 14px;
    }

    .banner-nav-next {
        right: 14px;
    }

    .banner-dots {
        bottom: 24px;
        gap: 6px;
        left: 60px;
        right: 60px;
    }

    .banner-dot {
        height: 7px;
        width: 7px;
    }

    .banner-dot.is-active {
        width: 22px;
    }

    .banner-counter {
        font-size: 11px;
        padding: 6px 10px;
        right: 12px;
        top: 12px;
    }

    .hero-section {
        padding: 40px 24px;
    }
    .hero-title {
        font-size: 36px;
    }
    .cart-drawer {
        width: 100%;
    }
    .form-row-half {
        grid-template-columns: 1fr;
    }
}

/* Minimal light storefront theme */
:root {
    --bg-dark: #f6f7f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f5;
    --primary: #111827;
    --primary-glow: rgba(17, 24, 39, 0.12);
    --secondary: #2563eb;
    --accent: #475569;
    --text-primary: #111827;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e5e7eb;
    --border-color-focus: #111827;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-color: var(--bg-dark);
}

.storefront-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header-inner {
    height: 72px;
}

.header-search {
    background: #ffffff;
}

.brand-logo {
        color: var(--text-primary);
        font-size: 22px;
        letter-spacing: 0;
    }

    .brand-logo img {
        height: 40px;
    }

.brand-logo span {
    color: var(--text-secondary);
}

.cart-trigger,
.btn-card,
.filter-pill,
.size-pill,
.modal-input,
.qty-counter,
.cart-qty-btn,
.checkout-field input,
.checkout-field textarea,
.payment-card {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.cart-trigger,
.btn-card,
.filter-pill,
.size-pill,
.btn-primary,
.payment-card,
.checkout-card,
.product-card,
.modal-container,
.custom-print-selector,
.search-box input {
    border-radius: 8px;
}

.cart-trigger:hover,
.btn-card:hover,
.filter-pill:hover,
.payment-card:hover {
    border-color: var(--border-color-focus);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.cart-badge,
.filter-pill.active,
.size-pill.active,
.btn-primary,
.btn-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: var(--primary);
}

.hero-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    margin: 28px auto;
    padding: 52px 48px;
}

.hero-tag {
    background: #eef2ff;
    border: 1px solid #dbe4ff;
    color: #1e40af;
    letter-spacing: 0.04em;
}

.hero-title {
    color: var(--text-primary);
    letter-spacing: 0;
}

.hero-title span {
    color: var(--text-primary);
    text-decoration-color: #2563eb;
}

.hero-subtitle {
    color: var(--text-secondary);
}

.catalog-controls {
    background: #ffffff;
    border-color: var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.search-box input {
    background: #f8fafc;
    color: var(--text-primary);
}

.search-box input:focus,
.checkout-field input:focus,
.checkout-field textarea:focus,
.modal-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.product-card {
    background: #ffffff;
    border-color: var(--border-color);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.card-image,
.modal-image-panel {
    background: #f1f5f9;
}

.card-image img,
.product-card:hover .card-image img,
.modal-image-panel img,
.cart-item img {
    filter: none;
}

.badge-in-stock {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.badge-out-of-stock {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: var(--text-secondary);
}

.card-footer,
.cart-item,
.cart-total-row {
    border-color: var(--border-color);
}

.modal-overlay,
.cart-backdrop {
    background: rgba(15, 23, 42, 0.42);
}

.modal-container,
.cart-drawer,
.checkout-card {
    background: #ffffff;
    border-color: var(--border-color);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.modal-close {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.custom-print-selector {
    background: #f8fafc;
}

.qty-btn:hover {
    background: #f1f5f9;
}

.cart-drawer-footer {
    background: #f8fafc;
    border-top-color: var(--border-color);
}

.cart-item-custom-badge {
    background: #eef2ff;
    border-color: #dbe4ff;
    color: #1e40af;
}

.cart-item-remove:hover,
.cart-total-row strong {
    color: var(--secondary);
}

.payment-card.active {
    background: #eff6ff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.payment-card-icon {
    background: #f8fafc;
    border-color: var(--border-color);
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .storefront-container {
        padding: 0 14px;
    }

    .header-inner {
        align-content: center;
        flex-wrap: wrap;
        gap: 8px 10px;
        height: 62px;
    }

    .brand-logo {
        font-size: 18px;
        gap: 6px;
    }

    .brand-logo img {
        height: 34px;
        max-width: 170px;
    }

    .cart-trigger {
        min-height: 40px;
        padding: 9px 12px;
    }

    .header-search {
        flex: 1 0 100%;
        max-width: none;
        order: 3;
        padding: 0 12px;
    }

    .header-search input {
        height: 38px;
    }

    .storefront-header .header-inner {
        height: 112px;
        padding-bottom: 10px;
        padding-top: 8px;
    }

    .cart-trigger > span:last-child {
        display: none;
    }

    .hero-section {
        border-radius: 10px;
        margin: 18px auto 16px;
        padding: 30px 20px;
    }

    .hero-tag {
        font-size: 11px;
        margin-bottom: 12px;
        padding: 5px 10px;
    }

    .hero-title {
        font-size: 31px;
        line-height: 1.08;
        margin-bottom: 12px;
    }

    .hero-title span {
        text-underline-offset: 4px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-section .btn-primary {
        height: 44px !important;
        justify-content: center;
        padding: 0 18px !important;
        width: 100% !important;
    }

    .catalog-controls {
        border-radius: 10px;
        gap: 12px;
        margin-bottom: 18px;
        padding: 12px;
    }

    .search-box {
        min-width: 100%;
    }

    .search-box input {
        border-radius: 8px;
        font-size: 14px;
        height: 44px;
        padding: 10px 12px 10px 38px;
    }

    .category-filters {
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0 -12px;
        overflow-x: auto;
        padding: 0 12px 2px;
        scrollbar-width: none;
        width: calc(100% + 24px);
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        flex: 0 0 auto;
        font-size: 13px;
        padding: 9px 13px;
        white-space: nowrap;
    }

    .products-grid {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 46px;
    }

    .product-card {
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    }

    .product-card:hover {
        transform: none;
    }

    .card-badge {
        font-size: 9px;
        padding: 4px 7px;
        right: 8px;
        top: 8px;
    }

    .card-body {
        padding: 12px;
    }

    .card-category {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .card-title {
        display: -webkit-box;
        font-size: 14px;
        line-height: 1.25;
        margin-bottom: 10px;
        min-height: 35px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .card-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
    }

    .card-price {
        font-size: 16px;
    }

    .btn-card {
        font-size: 12px;
        justify-content: center;
        padding: 9px 10px;
        text-align: center;
        width: 100%;
    }

    .modal-container {
        border-radius: 10px;
        max-height: 92vh;
        width: calc(100% - 24px);
    }

    .modal-close {
        height: 36px;
        right: 12px;
        top: 12px;
        width: 36px;
    }

    .modal-details-panel {
        padding: 18px;
    }

    .modal-image-panel img {
        background: #f8fafc;
        height: 100%;
        max-height: 52vh;
        min-height: 0;
        object-fit: contain;
    }

    .modal-gallery-thumbs {
        padding: 8px;
    }

    .gallery-thumb {
        flex-basis: 52px;
        height: 52px;
    }

    .size-chart-trigger {
        margin-bottom: 18px;
        width: 100%;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-price {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .size-picker {
        gap: 7px;
        margin-bottom: 18px;
    }

    .size-pill {
        border-radius: 8px;
        height: 42px;
        width: 52px;
    }

    .custom-print-selector {
        padding: 12px;
    }

    .custom-print-toggle {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .print-charge-info {
        margin-left: 28px;
    }

    .custom-print-inputs {
        grid-template-columns: 1fr;
    }

    .quantity-selector {
        justify-content: space-between;
        margin-bottom: 22px;
    }

    .cart-drawer {
        bottom: 0;
        height: 100dvh;
        left: 0;
        max-width: 100vw;
        max-height: 100dvh;
        right: auto;
        top: 0;
        width: 100vw;
    }

    .cart-drawer-header,
    .cart-drawer-items {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cart-drawer-header {
        flex: 0 0 auto;
        min-height: 60px;
        padding-bottom: 14px;
        padding-top: 14px;
    }

    .cart-drawer-items {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 8px;
        padding-top: 14px;
    }

    .cart-drawer-footer {
        flex: 0 0 auto;
        padding: 12px 16px calc(26px + env(safe-area-inset-bottom));
    }

    .cart-item {
        gap: 10px;
        grid-template-columns: 56px minmax(0, 1fr);
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .cart-item img {
        height: 56px;
        width: 56px;
    }

    .cart-item-info h4 {
        font-size: 14px;
    }

    .cart-item-price-panel {
        align-items: flex-start;
        flex-direction: row;
        grid-column: 2;
        justify-content: space-between;
    }

    .cart-summary-row {
        margin-bottom: 6px;
    }

    .cart-summary-row span,
    .cart-summary-row strong {
        font-size: 14px;
    }

    .cart-total-row {
        margin-bottom: 10px;
        padding-top: 8px;
    }

    .cart-total-row span {
        font-size: 15px;
    }

    .cart-total-row strong {
        font-size: 20px;
    }

    #cart-checkout-btn {
        height: 44px !important;
        min-height: 44px;
    }

    .checkout-grid {
        gap: 16px;
        margin: 18px auto 46px;
    }

    .checkout-card {
        border-radius: 10px;
        padding: 18px;
    }

    .checkout-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .checkout-form {
        gap: 16px;
    }

    .payment-card {
        align-items: flex-start;
        border-radius: 10px;
        gap: 12px;
        padding: 14px;
    }

    .payment-card-icon {
        height: 38px;
        width: 38px;
    }

    .payment-card-info h5 {
        font-size: 14px;
    }

    .payment-card-info p {
        line-height: 1.35;
    }
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px;
    }
}

/* Trust, FAQ, and support content */
.trust-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 18px;
}

.trust-item,
.store-faq-grid article,
.checkout-trust-box,
.checkout-support-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.trust-item {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    padding: 16px;
}

.trust-item i {
    align-items: center;
    background: #eef4ff;
    border-radius: 9px;
    color: var(--secondary);
    display: flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
}

.trust-item h3,
.store-faq-grid h3,
.checkout-support-card h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 5px;
}

.trust-item p,
.store-faq-grid p,
.checkout-support-card p,
.modal-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.section-heading {
    margin-bottom: 18px;
}

.section-eyebrow {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.15;
    margin-top: 6px;
}

.store-faq-section {
    margin-top: 52px;
}

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

.store-faq-grid article {
    padding: 18px;
}

.modal-description {
    margin: -10px 0 18px;
}

.product-spec-list {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.product-spec-item {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: 82px 1fr;
    padding: 10px 12px;
}

.product-spec-item span {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-spec-item strong {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.35;
}

.modal-trust-note {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.45;
    margin-top: 14px;
    padding: 12px;
}

.modal-trust-note i {
    color: var(--secondary);
    margin-top: 2px;
}

.checkout-trust-box {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
}

.checkout-trust-box div,
.checkout-help-note {
    align-items: flex-start;
    color: var(--text-secondary);
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.45;
}

.checkout-trust-box i,
.checkout-help-note i {
    color: var(--secondary);
    margin-top: 2px;
}

.checkout-help-note {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 14px;
    padding: 12px;
}

.checkout-support-card {
    margin-top: 14px;
    padding: 18px !important;
}

.support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.support-actions a,
.floating-contact a {
    align-items: center;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 9px;
    color: #ffffff;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    padding: 10px 12px;
    text-decoration: none;
}

.support-actions a:nth-child(2),
.floating-contact a:nth-child(2) {
    background: #ffffff;
    color: var(--text-primary);
}

.floating-contact {
    bottom: 20px;
    display: flex;
    gap: 8px;
    position: fixed;
    right: 18px;
    z-index: 1050;
}

.floating-contact a {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    min-height: 44px;
}

.floating-contact a:nth-child(2) {
    padding: 10px 13px;
}

.quick-view-btn {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
    padding: 0;
    width: fit-content;
}

.quick-view-btn:hover {
    color: var(--secondary);
}

.catalog-link {
    text-decoration: none;
}

.product-not-found {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin: 60px auto;
    max-width: 560px;
    padding: 40px;
    text-align: center;
}

.product-not-found h1,
.product-detail-info h1 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 0;
}

.product-not-found h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.product-not-found p {
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.product-detail-page {
    align-items: flex-start;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    margin-top: 34px;
}

.product-detail-gallery,
.product-detail-info {
    min-width: 0;
}

.product-detail-main-image {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.product-detail-main-image img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.product-page-image-empty {
    align-items: center;
    background: #f8fafc;
    color: var(--text-muted);
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.product-page-image-empty i {
    font-size: 34px;
}

.product-detail-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-detail-info {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    padding: 28px;
    position: sticky;
    top: 92px;
}

.product-detail-info h1 {
    font-size: 34px;
    line-height: 1.12;
    margin-bottom: 12px;
}

.product-detail-price {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}

.product-detail-stock-note {
    color: var(--text-secondary);
    font-size: 13px;
}

.product-page-trust {
    margin-top: 34px;
}

.related-products {
    margin-top: 54px;
}

.related-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .trust-strip,
    .store-faq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-page {
        grid-template-columns: 1fr;
    }

    .product-detail-info {
        position: static;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .trust-strip,
    .store-faq-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin-top: 20px;
    }

    .trust-item {
        border-radius: 8px;
        gap: 10px;
        padding: 11px 12px;
    }

    .trust-item i {
        border-radius: 8px;
        flex-basis: 32px;
        height: 32px;
        font-size: 13px;
    }

    .trust-item h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .trust-item p {
        font-size: 12px;
        line-height: 1.4;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .product-spec-item {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        bottom: calc(14px + env(safe-area-inset-bottom));
        left: 14px;
        right: 14px;
    }

    .floating-contact a:first-child {
        flex: 1;
    }

    .product-detail-page {
        gap: 16px;
        margin-top: 18px;
    }

    .product-detail-info {
        border-radius: 10px;
        padding: 18px;
    }

    .product-detail-info h1 {
        font-size: 26px;
    }

    .product-detail-price {
        font-size: 23px;
    }

    .product-detail-thumbs .gallery-thumb {
        flex-basis: 56px;
        height: 56px;
    }

    .related-products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-view-btn {
        width: 100%;
    }
}
