/* ============================================================
   STAMP TEES — Stylesheet
   ------------------------------------------------------------
   Palette
     --black    : ink, primary text
     --white    : page background, reverse type
     --steel    : steel blue, accent + secondary surfaces
     --navy     : dark blue, borders + emphasis
   Type
     San Serif throughout (Inter via Google Fonts, with a
     system fallback so the site still renders cleanly if
     fonts are blocked).
   ------------------------------------------------------------
   All theme tokens live in :root, so any colour, spacing,
   or font tweak can be made in one place.
   ============================================================ */

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

:root {
  /* ---- Colour ---- */
  --black:        #0a0a0a;
  --white:        #ffffff;
  --off-white:    #f7f8fa;
  --steel:        #4a6580;        /* steel blue — accent */
  --steel-light:  #6b8299;
  --steel-pale:   #e3e8ee;
  --navy:         #0a1f3d;        /* dark blue borders */
  --navy-deep:    #061327;
  --rule:         rgba(10, 31, 61, 0.15);
  --shadow:       rgba(10, 31, 61, 0.12);

  /* ---- Type ---- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* ---- Layout ---- */
  --max-w: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --border-w: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--steel); }

button { font-family: inherit; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: var(--white);
  border-bottom: var(--border-w) solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-top {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top a {
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header-top a:hover { border-bottom-color: var(--steel-light); }
.header-top .pulse::before {
  content: '●';
  color: var(--steel-light);
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.header-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-left, .nav-right {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a {
  color: var(--black);
  position: relative;
  padding-bottom: 4px;
}
.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--steel);
  transition: width .25s ease;
}
.nav-left a:hover::after,
.nav-right a:hover::after,
.nav-left a.active::after,
.nav-right a.active::after { width: 100%; }

.brand-mark {
  display: flex;
  align-items: center;
}
.brand-mark img {
  height: 64px;
  width: auto;
}

.cart-toggle {
  background: var(--navy);
  color: var(--white);
  border: var(--border-w) solid var(--navy);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s ease, color .2s ease;
}
.cart-toggle:hover {
  background: var(--white);
  color: var(--navy);
}
.cart-count {
  background: var(--steel);
  color: var(--white);
  border-radius: 999px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.cart-toggle:hover .cart-count { background: var(--navy); color: var(--white); }

/* ============================================================
   HERO (homepage)
============================================================ */
.hero {
  padding: clamp(60px, 10vh, 120px) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 2px;
  background: var(--steel);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--steel); }
.hero-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--steel);
  max-width: 480px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--navy);
  color: var(--white);
  border: var(--border-w) solid var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.btn:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  margin-left: 12px;
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.hero-art {
  display: flex;
  justify-content: center;
}
.hero-art img {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 18px 32px var(--shadow));
}

/* ============================================================
   SECTION HEADERS
============================================================ */
.section {
  padding: clamp(60px, 9vh, 120px) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: var(--border-w) solid var(--navy);
}
.section-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--steel);
}
.section-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1;
}
.section-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ============================================================
   PRODUCT GRID
============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: var(--border-w) solid var(--navy);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--steel);
}
.product-image {
  aspect-ratio: 4 / 5;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-w) solid var(--navy);
}
.product-image svg {
  width: 70%; height: 70%;
  transition: transform .4s ease;
}
.product-card:hover .product-image svg {
  transform: scale(1.06);
}
.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.product-info {
  padding: 20px 22px 24px;
}
.product-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.product-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 10px;
}
.product-blurb {
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  margin-bottom: 18px;
}
.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}
.product-price .currency {
  font-size: 12px;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
  color: var(--steel);
}
.add-btn {
  background: var(--white);
  color: var(--navy);
  border: var(--border-w) solid var(--navy);
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.add-btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   PRODUCT DETAIL PANEL (product.html)
============================================================ */
.product-detail {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail-image {
  aspect-ratio: 1;
  background: var(--off-white);
  border: var(--border-w) solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.product-detail-image svg { width: 80%; height: 80%; }
.product-detail-info .breadcrumb {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
}
.product-detail-info .breadcrumb a:hover { color: var(--navy); }
.product-detail-info h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 16px;
}
.product-detail-info .price-large {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.product-detail-info .price-large .currency {
  font-size: 16px;
  vertical-align: super;
  color: var(--steel);
  margin-right: 4px;
}
.product-detail-info .description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 28px;
}
.product-detail-info .spec-list {
  list-style: none;
  border-top: var(--border-w) solid var(--navy);
  margin-bottom: 28px;
}
.product-detail-info .spec-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.product-detail-info .spec-list li .label {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  font-size: 12px;
}
.product-detail-info .size-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.size-chip {
  background: var(--white);
  border: var(--border-w) solid var(--navy);
  color: var(--navy);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all .2s ease;
}
.size-chip:hover, .size-chip.active {
  background: var(--navy);
  color: var(--white);
}
.product-detail-info .btn { width: 100%; justify-content: center; }

/* All products list shown below detail */
.product-detail-listing {
  padding: 0 var(--gutter) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.product-detail-listing h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--black);
  letter-spacing: -0.01em;
}

/* ============================================================
   SPECIALS PAGE
============================================================ */
.specials-banner {
  background: var(--navy);
  color: var(--white);
  padding: clamp(60px, 10vh, 120px) var(--gutter);
  text-align: center;
  border-bottom: var(--border-w) solid var(--steel);
}
.specials-banner .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 16px;
}
.specials-banner h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.specials-banner h1 .accent { color: var(--steel-light); }
.specials-banner p {
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
  color: var(--steel-pale);
}

.specials-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(60px, 9vh, 100px) var(--gutter);
}
.deal-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--steel);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.price-original {
  text-decoration: line-through;
  color: var(--steel);
  font-size: 14px;
  margin-right: 8px;
  font-weight: 500;
}
.price-sale {
  color: var(--navy);
  font-weight: 700;
}

/* ============================================================
   ABOUT US (aboutus.html)
============================================================ */
.about-hero {
  text-align: center;
  padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(40px, 6vh, 80px);
  max-width: 900px;
  margin: 0 auto;
}
.about-hero .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
}
.about-hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 24px;
}
.about-hero h1 .accent { color: var(--steel); }
.about-hero .deck {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--steel);
  font-weight: 400;
}

.about-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
}
.about-body p {
  margin-bottom: 1.4em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--black);
}
.about-body p.lede {
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  margin: 40px 0;
  padding: 32px 0;
  border-top: var(--border-w) solid var(--navy);
  border-bottom: var(--border-w) solid var(--navy);
}
.about-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  margin: 60px 0 18px;
  letter-spacing: -0.01em;
}
.about-body h2::before {
  content: '— ';
  color: var(--steel);
}
.dropcap::first-letter {
  font-size: 4.5em;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--steel);
}
.signature {
  margin-top: 60px;
  padding-top: 32px;
  border-top: var(--border-w) solid var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: center;
}
.signature strong { color: var(--navy); }

/* ============================================================
   CONTACT STRIP
============================================================ */
.contact-strip {
  background: var(--navy);
  color: var(--white);
  padding: clamp(60px, 9vh, 100px) var(--gutter);
  text-align: center;
  border-top: var(--border-w) solid var(--steel);
}
.contact-strip h3 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.contact-strip p {
  margin-bottom: 24px;
  color: var(--steel-pale);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.contact-strip a.email-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  border-bottom: 2px solid var(--steel-light);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}
.contact-strip a.email-link:hover {
  color: var(--steel-light);
  border-bottom-color: var(--white);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 60px var(--gutter) 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand h4 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.footer-brand p {
  color: var(--steel-light);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--white);
  font-size: 14px;
  opacity: 0.8;
  transition: opacity .2s ease, color .2s ease;
}
.footer-col a:hover { opacity: 1; color: var(--steel-light); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--steel-light);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a {
  color: var(--white);
  border-bottom: 1px solid var(--steel);
}

/* ============================================================
   GALLERY (gallery.html) — black canvas, carousel + search
============================================================ */
.gallery-page {
  background: var(--black);
  color: var(--white);
}
/* The shared header/footer stay light; only the gallery body is dark. */
.gallery-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) var(--gutter) clamp(40px, 6vh, 80px);
}

.gallery-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 6vh, 64px);
}
.gallery-intro .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel-light);
  display: block;
  margin-bottom: 16px;
}
.gallery-intro h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.gallery-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--steel-pale);
}

/* ---- Controls: search + filter chips ---- */
.gallery-controls {
  margin-bottom: clamp(32px, 5vh, 56px);
}
.gallery-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 24px;
}
.gallery-search-wrap .search-icon {
  position: absolute;
  left: 18px;
  width: 20px; height: 20px;
  color: var(--steel-light);
  pointer-events: none;
}
#gallery-search {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-w) solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  padding: 16px 120px 16px 50px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
#gallery-search::placeholder { color: var(--steel-light); }
#gallery-search:focus {
  border-color: var(--steel-light);
  background: rgba(255, 255, 255, 0.07);
}
.result-count {
  position: absolute;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-light);
  pointer-events: none;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.filter-chip {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--steel-pale);
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: all .2s ease;
}
.filter-chip:hover { border-color: var(--steel-light); color: var(--white); }
.filter-chip.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ---- Carousel stage ---- */
.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(40px, 6vh, 72px);
  min-height: 360px;
}
.carousel-slide {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: default;
  text-align: left;
  color: inherit;
}
.carousel-slide figcaption .slide-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-light);
}
.carousel-slide .slide-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 8px 0 6px;
}
.carousel-slide .slide-meta {
  font-size: 14px;
  color: var(--steel-pale);
  margin-bottom: 24px;
}
.carousel-slide .select-btn { margin-bottom: 14px; }
.carousel-slide .slide-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--steel-light);
  max-width: 320px;
}
.carousel-arrow {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  width: 48px; height: 48px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  transition: all .2s ease;
  flex-shrink: 0;
}
.carousel-arrow:hover { background: var(--white); color: var(--black); }
.carousel-counter {
  position: absolute;
  bottom: 16px; right: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--steel-light);
}
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}
.gallery-empty p {
  font-size: 18px;
  color: var(--steel-pale);
  margin-bottom: 20px;
}

/* ---- Thumbnail grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.gallery-thumb {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gallery-thumb:hover {
  transform: translateY(-4px);
  border-color: var(--steel-light);
  box-shadow: 6px 6px 0 rgba(74, 101, 128, 0.6);
}
.gallery-thumb.active {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--white);
}
.thumb-cap {
  padding: 12px 14px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.thumb-cap .thumb-type {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 4px;
}

/* ---- Protected image frame (copy deterrent) ----
   The overlay sits above the image so right-click / long-press
   and drag-to-save target a transparent layer, not the artwork. */
.protected-frame {
  position: relative;
  aspect-ratio: 1;
  background: var(--off-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide .protected-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.protected-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
.protect-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

@media (max-width: 860px) {
  .carousel-slide { grid-template-columns: 1fr; gap: 24px; }
  .gallery-stage { padding: 20px; }
  #gallery-search { padding-right: 50px; }
  .result-count { display: none; }
}

/* ============================================================
   CART DRAWER
============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 61, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 100;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(440px, 100%);
  height: 100vh;
  background: var(--white);
  z-index: 101;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border-left: var(--border-w) solid var(--navy);
  box-shadow: -8px 0 32px var(--shadow);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 22px 26px;
  border-bottom: var(--border-w) solid var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}
.cart-header h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cart-close {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background .2s ease;
}
.cart-close:hover { background: var(--steel); border-color: var(--steel); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 26px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--steel);
}
.cart-empty p:first-child {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.cart-line {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.cart-line .thumb {
  width: 60px; height: 75px;
  background: var(--off-white);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
}
.cart-line .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.cart-line .qty-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--steel);
}
.cart-line .qty-btn {
  width: 24px; height: 24px;
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
}
.cart-line .qty-btn:hover { background: var(--navy); color: var(--white); }
.cart-line .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}
.cart-line .remove {
  display: block;
  background: transparent;
  border: none;
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  padding: 0;
}
.cart-line .remove:hover { text-decoration: underline; color: var(--navy); }

.cart-footer {
  padding: 22px 26px;
  border-top: var(--border-w) solid var(--navy);
  background: var(--off-white);
}
.cart-totals {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}
.cart-totals .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: end;
  color: var(--steel);
}
.checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border: var(--border-w) solid var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.checkout-btn:hover:not(:disabled) {
  background: var(--white);
  color: var(--navy);
}
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cart-note {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 12px;
}

/* ============================================================
   TOAST
============================================================ */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 200;
  transition: transform .3s ease;
  border-left: 3px solid var(--steel);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 860px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .nav-left, .nav-right { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .header-top { font-size: 11px; padding: 8px var(--gutter); }
  .header-top .desktop-only { display: none; }
}
