:root {
    --color-background: #f8f8f7;
    --color-surface: #ffffff;
    --color-accent: #ff5f5f;
    --color-accent-dark: #ff3b3b;
    --color-text: #1b1b1d;
    --color-muted: #6f6f78;
    --color-border: #dedede;
    --color-highlight: #ffcf99;
    --color-dark: #131315;
    --font-heading: "Merriweather", serif;
    --font-body: "Inter", sans-serif;
    --font-script: "Pacifico", cursive;
    --max-width: 1440px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body[data-page="shop"],
body[data-page="gallery"] {
    background-color: #ffffff;
}

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

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

a:hover,
a:focus {
    color: var(--color-accent-dark);
}

.container {
    width: min(95%, var(--max-width));
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: #fff;
    padding: 8px 16px;
    z-index: 1000;
}

.skip-link:focus {
    top: 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    border: 2px solid transparent;
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover,
.btn:focus {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn.ghost {
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn.ghost:hover,
.btn.ghost:focus {
    background: var(--color-accent);
    color: #fff;
}

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

.btn.secondary:hover,
.btn.secondary:focus {
    background: var(--color-accent);
}

.btn.primary {
    background: linear-gradient(135deg, #ff5f5f, #ff8f73);
}

.btn.primary:hover,
.btn.primary:focus {
    background: linear-gradient(135deg, #ff3b3b, #ff6a4d);
}

.btn.small {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
}

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    padding-top: 1rem;
    margin-top: -1rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-muted);
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.05em;
}

.logo-mark {
    font-size: 1.1rem;
}

.logo-sub {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
}

.main-nav {
    position: relative;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a:focus::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    position: relative;
    cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    left: 8px;
    transition: var(--transition);
}

.nav-toggle-bar {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-bar::before {
    top: -8px;
}

.nav-toggle-bar::after {
    top: 8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 70vh;
    max-height: 70vh;
    display: grid;
    align-items: stretch;
    background: var(--color-dark);
    color: #fff;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-background);
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
    transform: scale(1.05);
    transition: transform 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
    position: relative;
}

.hero-slide.is-active::before {
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(90%, 620px);
    text-align: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 1rem;
}

.hero-content p {
    max-width: 520px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-block;
    letter-spacing: 0.4em;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-nav.prev {
    left: 2rem;
}

.hero-nav.next {
    right: 2rem;
}

.hero-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.hero-indicator::after {
    content: "";
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
}

.hero-indicator.animate::after {
    animation: heroProgress 6s linear forwards;
}

@keyframes heroProgress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.scroll-indicator::after {
    content: "";
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(0.8);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.section.featured-work,
.section.featured-products {
    background: var(--color-surface);
}

.artwork-grid,
.product-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.artwork-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2.5rem;
}

.art-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.art-card-link:hover .art-card,
.art-card-link:focus .art-card {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.art-card {
    background: #f3f1f1;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Modern Shop Card */
.product-card.modern-shop-card {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    transition: none;
}

.product-card.modern-shop-card:hover {
    transform: none;
    box-shadow: none;
}

.product-card.modern-shop-card .product-image-link {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    /* Changed from transparent to white */
    /* Removed fixed aspect-ratio to allow natural image shape */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
    /* Ensure consistent minimum height */
}

.product-card.modern-shop-card img {
    border-radius: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Changed from cover to contain to show full image */
    max-height: 450px;
    /* Prevent extremely tall images from breaking grid */
}

.product-card.modern-shop-card .product-card-content {
    padding: 1rem 0.25rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.product-card.modern-shop-card h3 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.product-card.modern-shop-card .price {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.product-card.modern-shop-card .product-type {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card.modern-shop-card .btn.sold-out {
    margin-top: 0.75rem;
    width: 100%;
}

/* Mobile adjustments for shop */
@media (max-width: 768px) {
    .product-card.modern-shop-card .product-image-link {
        min-height: 250px;
        /* Slightly smaller min-height on mobile */
    }

    .product-card.modern-shop-card h3 {
        font-size: 1rem;
    }
}

/* Original Product Card Styles (kept for fallback or reference) */
.product-card {
    background: #fff;
    border-radius: 18px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    display: flex;
    flex-direction: column;
}

/* Art card hover is handled by .art-card-link hover */
.product-card:hover,
.product-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 450px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    margin-bottom: 0;
    text-decoration: none;
    position: relative;
    background: #f8f8f7;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px 18px 0 0;
    border: none;
    outline: none;
    display: block;
}

.product-image-link .product-img {
    transition: opacity 0.15s ease;
}


.out-of-stock-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: block;
}

.product-image {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    display: block;
}

.product-image:focus {
    outline: none;
    border: none;
}

.product-image:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

.product-image img {
    border: none;
    outline: none;
}


.art-card img {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 3 / 2;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1rem;
    border: none;
    outline: none;
}

.art-card figcaption {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.art-card figcaption h3,
.product-card h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
}

.art-card figcaption p {
    color: var(--color-muted);
    margin: 0 0 0.5rem;
}

.product-card p {
    color: var(--color-muted);
    margin: 0 0 1rem;
}

.view-details-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-dark);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: fit-content;
    cursor: pointer;
}

.art-card-link:hover .view-details-btn,
.art-card-link:focus .view-details-btn {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    flex-grow: 1;
}

.product-card-content h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.product-card-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card-content h3 a:hover {
    color: var(--color-accent);
}

.product-type {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    text-transform: capitalize;
}

.product-card-content .price {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0.25rem 0 0;
}

.product-card-content .btn {
    margin-top: 1rem;
    align-self: flex-start;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.product-card-content .btn.sold-out,
.product-card-content .btn.sold-out:disabled {
    background: #e0e0e0;
    color: var(--color-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.product-card-content .btn.secondary {
    background: var(--color-dark);
    color: #fff;
    border: none;
}

.product-card-content .btn.secondary:hover {
    background: #000;
    color: #fff;
}

.tag {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 95, 95, 0.1);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 600;
}

.about-snippet {
    background: linear-gradient(135deg, #fff2e0, #fff);
}

.about-snippet-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.about-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.signature img {
    width: min(400px, 100%);
}

.section-cta {
    margin-top: 3rem;
    text-align: center;
}

.cta-banner {
    background: var(--color-dark);
    color: #fff;
}

.cta-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.price {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 700;
    color: var(--color-dark);
}

.price.inquire {
    color: var(--color-accent);
}

.image-placeholder {
    display: grid;
    place-items: center;
    background: #f2f2f2;
    color: var(--color-muted);
    border-radius: 12px;
    min-height: 260px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

/* ── Policy Pages (Terms, Privacy) ── */
.policy-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #222;
}

.policy-content .policy-updated {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.policy-content h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin-top: 2.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.policy-content p {
    margin-bottom: 1rem;
    color: #333;
}

.policy-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    list-style: disc;
}

.policy-content ul li {
    margin-bottom: 0.4rem;
    color: #333;
}

.policy-content strong {
    color: #111;
    font-weight: 600;
}

.policy-content a {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .policy-content {
        padding: 2rem 1rem 3rem;
    }
    .policy-content h2 {
        font-size: 1.15rem;
    }
}

.page-hero {
    background: linear-gradient(135deg, #ffe6f1, #fff);
    padding: 6rem 0 3rem;
    text-align: left;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
}

.page-hero.interior {
    background: linear-gradient(135deg, #f0f4ff, #fff);
}

.gallery-controls .controls-container,
.shop-controls .controls-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.search-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-form input[type="search"] {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    min-width: 260px;
}

.filter-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
}

.filter-pill:hover,
.filter-pill:focus,
.filter-pill.is-active {
    border-color: var(--color-accent);
    background: rgba(255, 95, 95, 0.12);
    color: var(--color-accent);
}

/* ══ SHOP PAGE HEADER ══ */
.shop-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--color-border);
}

.shop-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.shop-header-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin: 0;
}

.shop-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-surface);
  transition: border-color 200ms var(--ease-out-strong);
  flex-shrink: 0;
}

.shop-search:focus-within {
  border-color: var(--color-dark);
}

.shop-search input[type="search"] {
  border: none;
  background: none;
  outline: none;
  padding: 0.7rem 1rem 0.7rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text);
  width: 220px;
  font-family: var(--font-body);
}

.shop-search input[type="search"]::placeholder {
  color: var(--color-muted);
}

.shop-search button[type="submit"] {
  background: var(--color-dark);
  color: #f8f8f7;
  border: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease-out;
  white-space: nowrap;
  font-family: var(--font-body);
}

@media (hover: hover) and (pointer: fine) {
  .shop-search button[type="submit"]:hover {
    background: var(--color-accent);
  }
}

.shop-search button[type="submit"]:active {
  transform: scale(0.97);
}

@media (max-width: 640px) {
  .shop-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .shop-search {
    width: 100%;
  }

  .shop-search input[type="search"] {
    flex: 1;
    min-width: 0;
    width: auto;
  }
}

/* ══ COUNTRY PICKER ══ */
.country-picker {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding: 2rem 0 2.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.country-picker::-webkit-scrollbar {
  display: none;
}

.cp-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.875rem 0.875rem 0.75rem;
  cursor: pointer;
  transition: background 160ms var(--ease-out-strong),
              border-color 160ms var(--ease-out-strong),
              transform 120ms var(--ease-out-strong);
  min-width: 76px;
}

@media (hover: hover) and (pointer: fine) {
  .cp-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
  }
}

.cp-btn:active {
  transform: scale(0.96);
}

.cp-btn.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
}

/* Flag icon sizing inside picker */
.cp-btn .fi {
  width: 2.5rem;
  height: 1.875rem;
  border-radius: 4px;
  display: block;
}

/* "All" placeholder flag */
.cp-all-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 1.875rem;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
}

.cp-btn.is-active .cp-all-flag {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.cp-name {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  font-family: var(--font-body);
  transition: color 160ms ease-out;
}

.cp-btn.is-active .cp-name {
  color: #fff;
}

/* Modern Gallery Grid */
.gallery-grid .masonry {
    columns: 4 300px;
    column-gap: 2rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.gallery-card.modern-card {
    display: block;
    border: none;
    background: none;
    padding: 0;
    text-align: left;
    width: 100%;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-card.modern-card:hover,
.gallery-card.modern-card:focus {
    transform: translateY(-5px);
}

.gallery-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: var(--shadow-soft);
    width: 100%;
}

.gallery-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 16px;
}

.gallery-card.modern-card:hover .gallery-image-wrapper img,
.gallery-card.modern-card:focus .gallery-image-wrapper img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.gallery-card.modern-card:hover .gallery-overlay,
.gallery-card.modern-card:focus .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(10px);
    transition: transform 0.3s ease;
    color: #fff;
}

.gallery-card.modern-card:hover .overlay-content,
.gallery-card.modern-card:focus .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 0.25rem;
    color: #fff;
    font-weight: 600;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    color: #fff;
    margin: 0;
}

/* Mobile adjustments for gallery */
@media (max-width: 768px) {
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
        padding: 1rem;
    }

    .gallery-card.modern-card:hover,
    .gallery-card.modern-card:focus {
        transform: none;
    }

    .overlay-content {
        transform: translateY(0);
    }

    .overlay-content h3 {
        font-size: 1rem;
    }
}

/* Keep Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox.is-visible {
    display: flex;
}

.lightbox-content {
    background: #fff;
    border-radius: 20px;
    max-width: 960px;
    width: min(92%, 960px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 2.5rem;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    border: none;
    background: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox figure {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
    margin: 0;
    flex-shrink: 0;
}

.lightbox img {
    border-radius: 16px;
    width: 100%;
}

.lightbox-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.lightbox-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.lightbox-controls button {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-controls button:hover,
.lightbox-controls button:focus {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 300px;
    max-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 65vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: contain;
    background: transparent;
    margin-bottom: 0;
}

.lightbox-thumbnails {
    display: none;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
}

.lightbox-thumbnails.show-thumbnails {
    display: flex;
}

.lightbox-thumb {
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0.7;
}

.lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.lightbox-thumb.is-active {
    border-color: var(--color-accent);
    border-width: 3px;
    opacity: 1;
}

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

.product-lightbox .product-modal {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.product-modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-modal-main {
    border-radius: 16px;
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.product-modal-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-thumb {
    width: 68px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-thumb.is-active {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.product-modal-details dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    margin: 1.5rem 0;
}

.product-modal-details dt {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-muted);
}

.product-modal-details dd {
    margin: 0;
}


/* Updated Contact Page Styles */

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 95, 95, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.contact-link {
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-accent);
}

.social-links-luxury {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links-luxury a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.social-links-luxury a:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
}

.faq-minimal {
    margin-top: 2rem;
}

.faq-minimal h3 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.faq-minimal details {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.faq-minimal summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-minimal summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1;
}

.faq-minimal details[open] summary::after {
    content: "−";
}

.faq-minimal p {
    margin-top: 1rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.contact-form-wrapper.luxury-form {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--color-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #f9f9f9;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(255, 95, 95, 0.1);
    outline: none;
}

.file-upload-luxury {
    margin: 2rem 0;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px dashed var(--color-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fcfcfc;
}

.file-label:hover {
    border-color: var(--color-accent);
    background: rgba(255, 95, 95, 0.02);
}

.file-label input[type="file"] {
    display: none;
}

.file-label .icon {
    color: var(--color-muted);
}

@media (max-width: 900px) {
    .contact-section .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrapper.luxury-form {
        padding: 2rem;
    }

    .contact-details {
        order: 2;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.commission-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.commission-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.commission-steps li {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.commission-highlights ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.commission-form form {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.commission-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.form-group.wide {
    grid-column: 1 / -1;
}

.testimonials {
    background: linear-gradient(135deg, #fff, #f8f8f7);
}

.testimonial-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

blockquote {
    background: #fff;
    padding: 1.75rem;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    margin: 0;
    position: relative;
    font-style: italic;
}

blockquote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 4rem;
    color: rgba(255, 95, 95, 0.2);
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    text-align: right;
    font-weight: 600;
}

.about-story .story-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.story-photo {
    background: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;
    border-radius: 24px;
    min-height: 420px;
    box-shadow: var(--shadow-soft);
}

.achievements {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.achievements li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: 700;
    margin-right: 0.75rem;
}

.process-steps {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 2rem;
}

.process-step {
    background: #fff;
    padding: 1.75rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.process-icon {
    font-size: 2rem;
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 95, 95, 0.12);
    margin-bottom: 1rem;
}

.process-video .video-placeholder {
    border-radius: 18px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    color: var(--color-muted);
}

.timeline-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.timeline-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 95, 95, 0.12), transparent);
}

.timeline-card h3 {
    position: relative;
    font-family: var(--font-heading);
}

.timeline-card p {
    position: relative;
    color: var(--color-muted);
}

.timeline-year {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
}

.flash-messages {
    width: min(90%, 480px);
    margin: 1.5rem auto;
}

.flash-message {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    margin-bottom: 0.75rem;
}

.flash-message.success {
    border-left: 6px solid #3cb371;
}

.flash-message.error {
    border-left: 6px solid #ff5f5f;
}

.site-footer {
    background: #0f0f11;
    color: #f4f4f4;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.back-to-top {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.back-to-top:hover,
.back-to-top:focus {
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1024px) {
    .hero-nav.prev {
        left: 1rem;
    }

    .hero-nav.next {
        right: 1rem;
    }

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

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

    .gallery-grid .masonry {
        columns: 3 220px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
        flex-direction: column;
        padding: 1.5rem;
        min-width: 220px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .main-nav.open .nav-list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }


    .artwork-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .art-card img {
        aspect-ratio: 4 / 3;
        min-height: 220px;
    }

    .gallery-grid .masonry {
        columns: 2 220px;
    }

    .product-image-link {
        height: 350px;
    }

    .lightbox-content {
        padding: 2rem 1.5rem;
    }

    .lightbox-image-container {
        min-height: 300px;
        max-height: 55vh;
        max-width: 100%;
    }

    .lightbox-image-container img {
        max-height: 55vh;
        max-width: 100%;
    }

    .product-modal-details dl {
        grid-template-columns: 1fr;
    }

    .commission-form form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .artwork-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .art-card img {
        aspect-ratio: 16 / 10;
        min-height: 200px;
    }

    .product-image-link {
        height: 300px;
    }

    .gallery-grid .masonry {
        columns: 1 100%;
    }

    .lightbox-image-container {
        min-height: 250px;
        max-height: 45vh;
        max-width: 100%;
    }

    .lightbox-image-container img {
        max-height: 45vh;
        max-width: 100%;
    }

    .contact-form-wrapper,
    .contact-details {
        padding: 1.5rem;
    }
}

/* Add these mobile-specific fixes to your main.css */

/* Improve hero carousel responsiveness */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-carousel {
        min-height: auto;
    }

    .hero-slide {
        padding: 4rem 0 3rem;
    }

    .hero-content {
        width: min(90%, 100%);
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .eyebrow {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

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

    /* Make navigation arrows smaller and repositioned */
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hero-nav.prev {
        left: 0.5rem;
    }

    .hero-nav.next {
        right: 0.5rem;
    }

    /* Reposition scroll indicator */
    .scroll-indicator {
        display: none;
        /* Hide on mobile to reduce clutter */
    }

    .hero-indicator {
        bottom: 1rem;
        width: 80px;
    }
}

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

    .hero-carousel {
        min-height: auto;
    }

    .hero-slide {
        padding: 3rem 0 2rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .eyebrow {
        font-size: 0.6rem;
        letter-spacing: 0.3em;
    }

    /* Stack buttons vertically on very small screens */
    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.8rem;
    }

    /* Hide navigation arrows on very small screens */
    .hero-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.3);
    }

    .hero-nav.prev {
        left: 0.25rem;
    }

    .hero-nav.next {
        right: 0.25rem;
    }
}

/* Fix background image scaling on mobile */
@media (max-width: 768px) {
    .hero-slide::before {
        background-size: cover;
        background-position: center;
        /* Ensure better visibility on mobile */
        filter: brightness(0.4);
    }
}

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .hero-nav {
        width: 44px;
        height: 44px;
    }

    .btn {
        min-height: 44px;
    }
}

/* Fix hero carousel black space issue */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

/* Product Detail Page Styles */
.product-detail-section {
    background: #fff;
    padding: 3rem 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-detail-images {
    position: sticky;
    top: 2rem;
}

.product-main-image {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    min-height: 400px;
    background: #fff;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.product-thumb:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.product-thumb.is-active {
    border-color: var(--color-accent);
    border-width: 3px;
}

.product-detail-info {
    max-width: 600px;
}

.product-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin: 0 0 1rem;
    color: var(--color-text);
    font-weight: 700;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--color-text);
}

.product-description p {
    margin: 0 0 1rem;
}

/* Product Info Items */
.product-info-item {
    margin-bottom: 1rem;
    color: var(--color-text);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.product-info-item strong {
    font-weight: 600;
    margin-right: 0.5rem;
}

.orientation-guide {
    margin-top: 0;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.orientation-icon {
    max-height: 80px;
    /* Increased height */
    width: auto;
    display: inline-block;
    vertical-align: middle;
    border: none;
    padding: 0;
}

.product-stock {
    margin: 1.5rem 0;
}

.stock-indicator {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-indicator.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}

.stock-indicator.sold-out {
    background: #ffebee;
    color: #c62828;
}

.framing-option {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.framing-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.framing-label strong {
    font-weight: 600;
    margin-right: 0.5rem;
}

.framing-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.framing-select:hover {
    border-color: var(--color-accent);
}

.framing-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 95, 95, 0.1);
}

.framing-select option {
    padding: 0.5rem;
}

.price-breakdown {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: normal;
    margin-left: 0.5rem;
}

/* ── Size Selector ── */
.size-selector {
    margin: 1.25rem 0;
}
.size-selector-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.size-required-msg {
    display: none;
    font-size: 0.75rem;
    font-weight: 400;
    color: #e53e3e;
}
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.size-btn {
    min-width: 48px;
    padding: 0.4rem 0.85rem;
    border: 1.5px solid rgba(0,0,0,0.18);
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #fff;
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
    line-height: 1.4;
}
.size-btn:hover:not(:disabled) {
    border-color: #111;
}
.size-btn.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}
.size-btn--oos,
.size-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    text-decoration: line-through;
}
.size-stock-hint {
    font-size: 0.75rem;
    color: #e07000;
    min-height: 1.1em;
}

.product-actions {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn.large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn.add-to-cart {
    background: var(--color-dark);
    color: #fff;
    border: 2px solid var(--color-dark);
    width: 100%;
    max-width: 400px;
}

.btn.add-to-cart:hover,
.btn.add-to-cart:focus {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

.link-text {
    color: var(--color-text);
    text-decoration: underline;
    text-align: center;
    transition: color 0.3s ease;
}

.link-text:hover {
    color: var(--color-accent);
}

.product-care,
.product-size-guide {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.product-care strong,
.product-size-guide strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-care p,
.product-size-guide p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.related-products-section {
    padding-top: 4rem;
    border-top: 2px solid var(--color-border);
}

.related-products-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 2.5rem;
}

.product-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card h3 a:hover {
    color: var(--color-accent);
}

@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .product-main-image img {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .product-thumb {
        width: 60px;
        height: 60px;
    }

    .product-main-image img {
        min-height: 250px;
    }
}

/* Updated Lightbox Styles - Add these to your main.css */
/* Updated Lightbox Styles - Add these to your main.css */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    overflow-y: auto;
}

.lightbox.is-visible {
    display: flex;
}

.lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.lightbox-content {
    background: #fff;
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--color-text);
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.lightbox figure {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    margin: 0;
    flex-shrink: 0;
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 16px;
    overflow: visible;
    padding: 1rem;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: contain;
    background: transparent;
}

/* When thumbnails are visible, reduce main image height */
.lightbox-thumbnails.show-thumbnails~.lightbox-image-container img,
.lightbox-image-container:has(+ .lightbox-thumbnails.show-thumbnails) img {
    max-height: 55vh;
}

figcaption {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

figcaption h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin: 0;
    line-height: 1.3;
}

.lightbox-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.lightbox-meta span:not(:empty)::after {
    content: "•";
    margin-left: 1rem;
    color: var(--color-border);
}

.lightbox-meta span:last-child::after {
    content: none;
}

figcaption p {
    margin: 0;
    line-height: 1.6;
    color: var(--color-text);
}

figcaption .btn {
    margin-top: 0.5rem;
    align-self: flex-start;
}

.lightbox-thumbnails {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
}

.lightbox-thumbnails.show-thumbnails {
    display: flex;
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0.6;
    flex-shrink: 0;
}

.lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.lightbox-thumb.is-active {
    border-color: var(--color-accent);
    border-width: 3px;
    opacity: 1;
}

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

.lightbox-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.lightbox-controls button {
    background: var(--color-dark);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.lightbox-controls button:hover,
.lightbox-controls button:focus {
    background: var(--color-accent);
    transform: scale(1.1);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .lightbox figure {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lightbox-content {
        padding: 1.5rem;
        max-height: 95vh;
    }

    .lightbox-image-container {
        max-height: 60vh;
    }

    .lightbox-image-container img {
        max-height: 60vh;
    }

    figcaption h2 {
        font-size: 1.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lightbox {
        padding: 0.5rem;
    }

    .lightbox-content {
        padding: 1.25rem;
        border-radius: 16px;
        max-height: 96vh;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .lightbox figure {
        gap: 1rem;
    }

    .lightbox-image-container {
        max-height: 50vh;
        padding: 0.5rem;
    }

    .lightbox-image-container img {
        max-height: 50vh;
    }

    figcaption h2 {
        font-size: 1.25rem;
    }

    .lightbox-meta {
        font-size: 0.85rem;
        gap: 0.75rem;
    }

    .lightbox-thumb {
        width: 50px;
        height: 50px;
    }

    .lightbox-controls {
        margin-top: 1rem;
        padding-top: 0.75rem;
    }

    .lightbox-controls button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    figcaption .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .lightbox {
        padding: 0.25rem;
    }

    .lightbox-content {
        padding: 1rem;
        border-radius: 12px;
    }

    .lightbox-image-container {
        max-height: 45vh;
        border-radius: 12px;
    }

    .lightbox-image-container img {
        max-height: 45vh;
        border-radius: 8px;
    }

    figcaption h2 {
        font-size: 1.1rem;
    }

    .lightbox-meta {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .lightbox-meta span::after {
        content: none;
    }

    .lightbox-thumb {
        width: 45px;
        height: 45px;
    }
}

/* Ensure images never overflow on any device */
@media (max-height: 700px) {
    .lightbox-image-container {
        max-height: 50vh;
    }

    .lightbox-image-container img {
        max-height: 50vh;
    }
}

@media (max-height: 600px) {
    .lightbox-content {
        max-height: 98vh;
        padding: 1rem;
    }

    .lightbox-image-container {
        max-height: 40vh;
    }

    .lightbox-image-container img {
        max-height: 40vh;
    }

    figcaption {
        gap: 0.5rem;
    }
}


/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #111;
    color: #fff;
    padding: 1rem 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.875rem;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Scroll Animations */
[data-animate="fade"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

[data-animate="fade"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children if needed, though we are animating containers for now */
.artwork-grid[data-animate="fade"].is-visible .art-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.artwork-grid[data-animate="fade"].is-visible .art-card:nth-child(1) {
    animation-delay: 0.1s;
}

.artwork-grid[data-animate="fade"].is-visible .art-card:nth-child(2) {
    animation-delay: 0.2s;
}

.artwork-grid[data-animate="fade"].is-visible .art-card:nth-child(3) {
    animation-delay: 0.3s;
}

.artwork-grid[data-animate="fade"].is-visible .art-card:nth-child(4) {
    animation-delay: 0.4s;
}

.artwork-grid[data-animate="fade"].is-visible .art-card:nth-child(5) {
    animation-delay: 0.5s;
}

.artwork-grid[data-animate="fade"].is-visible .art-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Receipt / Order Confirmation Styles */
.receipt-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.receipt-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.receipt-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.order-number {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 600;
}

.receipt-message {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.receipt-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
}

.receipt-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--color-border);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.receipt-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.receipt-item-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.receipt-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: #f4f4f4;
}

.receipt-item-details h4 {
    margin: 0 0 0.25rem;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.receipt-item-details p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.shipping-info h3,
.cost-breakdown h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.shipping-info p {
    margin: 0.25rem 0;
    color: var(--color-text);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.cost-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-border);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-dark);
}

.receipt-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
}

@media (max-width: 768px) {
    .receipt-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .receipt-table th:nth-child(2),
    /* Qty */
    .receipt-table td:nth-child(2) {
        display: none;
    }

    .receipt-item-img {
        width: 60px;
        height: 60px;
    }
}

/* ══════════════════════════════════════════════════
   FULL REDESIGN — NAVBAR · HERO · SECTIONS · FOOTER
   Emil Kowalski · Impeccable · Design Taste Frontend
   DESIGN_VARIANCE:8 · MOTION_INTENSITY:6 · DENSITY:4
══════════════════════════════════════════════════ */

/* ─── EASING TOKENS ─────────────────────────────── */
/* Emil Kowalski: never use built-in easings, they lack punch */
:root {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ─── BUTTON PRESS FEEDBACK ──────────────────────── */
/* Emil Kowalski: scale(0.97) on :active, 140ms ease-out */
.btn {
    transition: background 180ms var(--ease-out),
                border-color 180ms var(--ease-out),
                color 180ms var(--ease-out),
                transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }


/* ══════════════════════════════════════════════════
   NAVBAR — Dark, clean, transparent on home hero
══════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 0;
    background: #0d0d0f;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 300ms var(--ease-out),
                border-color 300ms var(--ease-out);
}

/* Home page: header starts transparent, turns dark on scroll */
body[data-page="home"] .site-header {
    background: transparent;
    border-bottom-color: transparent;
}
body[data-page="home"] .site-header.is-scrolled {
    background: rgba(13,13,15,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255,255,255,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.logo-rule {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.25);
}
.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* Nav links */
.main-nav { position: relative; }
.nav-list {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list a {
    display: block;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    border-radius: 6px;
    transition: color 150ms ease-out, background 150ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
    .nav-list a:hover {
        color: #fff;
        background: rgba(255,255,255,0.07);
    }
}
/* Remove old underline animation */
.nav-list a::after { display: none; }

/* Active page indicator */
.nav-list a.active {
    color: #fff;
    background: rgba(255,255,255,0.12);
    box-shadow: inset 0 -2px 0 var(--color-accent);
}

/* Header right: cart + toggle */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    transition: color 150ms ease-out, border-color 150ms ease-out, background 150ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
    .cart-link:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
}
.cart-count {
    background: var(--color-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-toggle {
    display: none;
    width: 36px; height: 36px;
    border: none;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    transition: background 150ms ease-out;
}
.nav-toggle:active { transform: scale(0.96); }
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    width: 18px; height: 1.5px;
    background: #fff;
    left: 9px;
    transition: transform 200ms var(--ease-out), opacity 150ms ease-out;
}
.nav-toggle-bar { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
    .header-inner { padding: 0 1rem 0 1rem; gap: 0.5rem; }
    .header-actions { padding-right: 0.5rem; }
    .logo { flex-shrink: 1; min-width: 0; }
    .logo-name { font-size: 0.95rem; letter-spacing: 0.02em; white-space: nowrap; }

    /* Hamburger button */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px; height: 40px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 10px;
        flex-shrink: 0;
    }
    /* Reset to flex-based centering on mobile */
    .nav-toggle-bar {
        position: relative;
        display: block;
        width: 20px; height: 2px;
        background: #fff;
        border-radius: 2px;
        left: auto;
        top: auto;
        transform: none;
    }
    .nav-toggle-bar::before,
    .nav-toggle-bar::after {
        width: 20px; height: 2px;
        border-radius: 2px;
        left: 0;
    }
    .nav-toggle-bar::before { top: -6px; }
    .nav-toggle-bar::after  { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-6px) rotate(-45deg); }

    /* Dropdown — drops from full header width */
    .main-nav { position: static; }
    .nav-list {
        position: fixed;
        top: 64px;
        left: 0; right: 0;
        background: #111113;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        flex-direction: column;
        padding: 0.75rem 1rem 1.25rem;
        gap: 0.15rem;
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 200ms var(--ease-out),
                    transform 200ms var(--ease-out),
                    visibility 200ms;
    }
    .main-nav.open .nav-list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-list li:last-child { border-bottom: none; }
    .nav-list a {
        display: block;
        padding: 0.85rem 0.5rem;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.75);
    }
}

/* Add top padding on all pages to account for fixed header */
main { padding-top: 64px; }
body[data-page="home"] main { padding-top: 0; }


/* ══════════════════════════════════════════════════
   HERO — Split screen, left-aligned
   Design Taste: ANTI-CENTER, asymmetric
   Impeccable: "Text left, asset right"
══════════════════════════════════════════════════ */
.home-hero {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 64px;
    background: #0d0d0f;
    overflow: hidden;
}

.home-hero-left {
    display: flex;
    align-items: center;
    padding: 6rem 3rem 6rem max(3rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
    position: relative;
    z-index: 2;
}

.hero-club-deco { display: none; }

.home-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 2rem 1.5rem;
    background: #0d0d0f;
}

.hero-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 4rem);
    max-height: calc(100svh - 4rem);
}

.hero-visual {
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    background: rgba(255,255,255,0.03);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0.875rem;
    opacity: 0;
    transform: translateY(14px);
    animation: heroVisualIn 0.6s var(--ease-out) forwards;
    animation-delay: calc(0.3s + var(--vi, 0) * 80ms);
    transition: border-color 300ms ease, background 300ms ease, transform 300ms ease, box-shadow 300ms ease;
    cursor: pointer;
}
.hero-visual:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.hero-visual img {
    position: absolute;
    inset: 0.75rem;
    width: calc(100% - 1.5rem);
    height: calc(100% - 1.5rem);
    object-fit: contain;
    border-radius: 3px;
    transition: transform 300ms ease;
}
.hero-visual:hover img {
    transform: scale(1.04);
}

.hero-visual-label {
    position: relative;
    z-index: 1;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

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

.home-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
}

.home-hero-eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2rem;
}

.home-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 2rem;
}

/* Category list — pill links */
.home-hero-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
}
.home-hero-cats a {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    transition: color 150ms ease-out, border-color 150ms ease-out, background 150ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
    .home-hero-cats a:hover {
        color: #fff;
        border-color: rgba(255,255,255,0.45);
        background: rgba(255,255,255,0.06);
    }
}

.home-hero-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}


/* ══════════════════════════════════════════════════
   CATEGORY QUICK-NAV — sticky strip
══════════════════════════════════════════════════ */
.cat-nav {
    background: #0d0d0f;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.cat-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    position: relative;
    transition: color 180ms ease-out;
}
.cat-nav-item::after {
    content: "";
    position: absolute;
    bottom: 0; left: 1.75rem; right: 1.75rem;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .cat-nav-item:hover { color: #fff; }
    .cat-nav-item:hover::after { transform: scaleX(1); }
}
.cat-nav-num {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* Fix: on home page, cat-nav sticks below the hero (no header offset needed) */
body[data-page="home"] .cat-nav { top: 0; }


/* ══════════════════════════════════════════════════
   HOME SECTIONS — base styles, then per-section variants
══════════════════════════════════════════════════ */
.hs {
    padding: 5rem 0;
    background: var(--color-surface);
    scroll-margin-top: 72px;
}
.hs--dark {
    background: #0d0d0f;
    padding: 5rem 0 4rem;
}
.hs--offwhite {
    background: #f2f1ef;
}

.hs-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.hs-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hs-num {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.3em;
}
.hs-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.hs-tag--light { color: rgba(255,255,255,0.35); }

.hs-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
}
.hs-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--color-text);
}
.hs-title--light { color: #fff; }

.hs-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 140ms ease-out;
}
.hs-link--light { color: rgba(255,255,255,0.55); }
@media (hover: hover) and (pointer: fine) {
    .hs-link:hover { opacity: 0.7; }
}

.hs-empty {
    color: var(--color-muted);
    font-size: 0.85rem;
    padding: 4rem 0;
    letter-spacing: 0.04em;
}
.hs-empty--light { color: rgba(255,255,255,0.3); }


/* ══════════════════════════════════════════════════
   GRID LAYOUTS — each section is different
   Impeccable: "Identical card grids are an absolute ban"
   Design Taste: "NO 3-col identical card grids"
══════════════════════════════════════════════════ */

/* 01 — Club Jerseys: featured large + 2×2 sidebar */
.hg--featured {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.hc-img--hero {
    aspect-ratio: unset;
    height: 100%;
    min-height: 480px;
    border-radius: 14px;
    overflow: hidden;
    background: #eeecea;
    position: relative;
    transition: box-shadow 250ms ease-out;
}
.hc-img--hero img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .hc--hero:hover .hc-img--hero { box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
    .hc--hero:hover .hc-img--hero img { transform: scale(1.04); }
}

/* 02 — Country Jerseys: full-bleed horizontal scroll */
.hg-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 1rem 1rem;
    -webkit-overflow-scrolling: touch;
}
.hg-scroll::-webkit-scrollbar { display: none; }
.hc--scroll {
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
}
.hc-img--scroll {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: #1e1e21;
    position: relative;
    margin-bottom: 0.875rem;
    transition: box-shadow 250ms ease-out;
}
.hc-img--scroll img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .hc--scroll:hover .hc-img--scroll { box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
    .hc--scroll:hover .hc-img--scroll img { transform: scale(1.04); }
}
.hc-img--wide { aspect-ratio: 3 / 4; }

/* 03 — Collages: 4-col grid */
.hg-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.hc--masonry .hc-img { aspect-ratio: 3 / 4; }

/* 04 — Singlets: 2-col, tall cards, airy */
.hg--duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.hc-img--duo {
    aspect-ratio: 3 / 4;
}


/* ══════════════════════════════════════════════════
   HOME CARD — shared base
══════════════════════════════════════════════════ */
.hc {
    display: block;
    text-decoration: none;
    color: inherit;
    /* Emil Kowalski: 140ms ease-out for press, not transition:all */
    transition: transform 140ms var(--ease-out);
}
.hc:active { transform: scale(0.97); }

.hc-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #eeecea;
    aspect-ratio: 3 / 4;
    margin-bottom: 0.875rem;
    transition: box-shadow 250ms ease-out;
}
.hc-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms var(--ease-out), opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
    .hc:hover .hc-img { box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
    .hc:hover .hc-img img { transform: scale(1.04); }
}

.hc-ph {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.hc-badge {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    background: rgba(255,255,255,0.95);
    color: var(--color-text);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hc-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.hc-info h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    color: var(--color-text);
}
.hc-info--light h3 { color: rgba(255,255,255,0.85); }
.hc-cat {
    font-size: 0.7rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hc-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}
.hc-price--light { color: rgba(255,255,255,0.6); }


/* ══════════════════════════════════════════════════
   STAGGER ANIMATION
   Emil Kowalski: translateY(20px)→0, never scale(0)
   50-80ms between items, 420ms ease-out
   CSS custom property --i set inline for flexibility
══════════════════════════════════════════════════ */
@keyframes hcIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

[data-stagger] .hc,
[data-stagger] .hc--masonry,
[data-stagger] .hc--scroll {
    opacity: 0;
}
[data-stagger].is-animated .hc,
[data-stagger].is-animated .hc--masonry,
[data-stagger].is-animated .hc--scroll {
    animation: hcIn 420ms var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 60ms);
}


/* ══════════════════════════════════════════════════
   ABOUT — editorial layout
══════════════════════════════════════════════════ */
.home-about {
    padding: 6rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}
.home-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.home-about-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}
.home-about-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: var(--color-text);
}
.home-about-text p {
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 52ch;
    margin: 0 0 2rem;
}
.home-about-sig img {
    width: min(380px, 100%);
    margin: 0 auto;
}


/* ══════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════ */
.home-cta {
    background: #0d0d0f;
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.home-cta-inner { max-width: 560px; margin: 0 auto; }
.home-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.875rem;
}
.home-cta-sub {
    color: rgba(255,255,255,0.45);
    font-size: 1rem;
    margin: 0 0 2.5rem;
    line-height: 1.6;
}


/* ══════════════════════════════════════════════════
   FOOTER — Dark, bold brand mark, clean columns
══════════════════════════════════════════════════ */
.site-footer {
    background: #080809;
    color: rgba(255,255,255,0.7);
    padding: 0;
}

.footer-brand {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-wordmark {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 0.5rem;
}
.footer-descriptor {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.footer-body { padding: 3.5rem 0; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-col-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin: 0 0 1.25rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    transition: color 150ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover { color: #fff; }
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
    margin: 0;
}
.back-to-top {
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: color 150ms ease-out, border-color 150ms ease-out, transform 140ms var(--ease-out);
}
.back-to-top:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.back-to-top:active { transform: scale(0.97); }


/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
/* ── Tablet landscape (≤1100px) ── */
@media (max-width: 1100px) {
    .hg--featured { grid-template-columns: repeat(3, 1fr); }
    .hg-masonry { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet portrait (≤900px) ── */
@media (max-width: 900px) {
    .home-hero { grid-template-columns: 1fr; min-height: 520px; position: relative; overflow: hidden; background: #0d0d0f; }
    .home-hero-right {
        display: block;
        position: absolute;
        top: -1rem;
        right: -120px;
        background: none;
        width: auto;
        height: auto;
        z-index: 1;
        opacity: 0.8;
        transform: rotate(-12deg);
    }
    .hero-visuals { display: block; width: auto; max-height: none; }
    .hero-visual { display: none; }
    .hero-visual:nth-child(3) {
        display: block;
        width: 270px;
        height: 320px;
        min-height: 0;
        border: none;
        background: none;
        border-radius: 0;
        box-shadow: none;
        pointer-events: none;
    }
    .hero-visual:nth-child(3) img {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: contain;
        inset: auto;
    }
    .hero-visual:nth-child(3) .hero-visual-label { display: none; }
    .home-hero-left {
        padding: 5rem 1.5rem 4rem;
        min-height: auto;
        background: transparent;
        align-items: flex-start;
    }
    .home-hero-content { max-width: 100%; }

    /* Club jersey decorative image — bottom left of hero on mobile */
    .hero-club-deco {
        display: block;
        position: absolute;
        bottom: -4rem;
        right: -60px;
        left: auto;
        width: 270px;
        height: 320px;
        object-fit: contain;
        transform: rotate(12deg);
        opacity: 0.8;
        z-index: 1;
        pointer-events: none;
    }

    .home-hero-eyebrow {
        display: inline-block;
        margin-top: -2.5rem;
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 999px;
        padding: 0.35rem 0.9rem;
        color: rgba(255,255,255,0.85);
    }
    .home-hero-cats a {
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        border-color: rgba(255,255,255,0.2);
    }
    .home-about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .home-about-sig { display: none; }
    .hg--featured { grid-template-columns: repeat(2, 1fr); }
    .hg--duo { grid-template-columns: 1fr 1fr; }
    .hg-masonry { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    .hs { padding: 3.5rem 0; }
    .hs--dark { padding: 3.5rem 0 3rem; }
    .hs-title-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .hg--featured { grid-template-columns: repeat(2, 1fr); }
    .hg--duo { grid-template-columns: 1fr 1fr; }
    .hg-masonry { grid-template-columns: repeat(2, 1fr); }
    .cat-nav { overflow: hidden; }
    .cat-nav .container { padding: 0; max-width: 100%; width: 100%; }
    .cat-nav-list { gap: 0; overflow: visible; }
    .cat-nav-list.is-marquee {
        width: max-content;
        animation: catNavMarquee 12s linear infinite;
    }
    .cat-nav-list.is-marquee:hover { animation-play-state: paused; }
    @keyframes catNavMarquee {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
    }
    .cat-nav-item { padding: 0.875rem 1rem; font-size: 0.65rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hc--scroll { min-width: 44vw; max-width: 44vw; }
    .hc-img--scroll { aspect-ratio: 3 / 4; }
}

/* ── Shipping form actions mobile ── */
@media (max-width: 640px) {
    .form-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
    .home-hero-left { padding: 4.5rem 1.25rem 3rem; }
    .home-hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .home-hero-cats { gap: 0.4rem; }
    .hs { padding: 2.5rem 0; }
    .hg--featured { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .hg--duo { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .hg-masonry { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .hg-scroll { padding-left: 1.25rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-wordmark { font-size: clamp(2.5rem, 12vw, 4rem); }
    .hc--scroll { min-width: 44vw; max-width: 44vw; }
}


/* ══════════════════════════════════════════════════
   REDUCED MOTION — Emil Kowalski: fades only, no movement
══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    @keyframes hcIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    .hc-img img,
    .hc-img--hero img,
    .hc-img--scroll img { transition: none; }
    .home-nav-list { transition: opacity 200ms ease-out; }
}