:root {
  color-scheme: light;
  overflow-y: scroll;
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #121212;
  --muted: rgba(18,18,18,0.6);
  --line: #e8e8e8;
  --accent: #0d766e;
  --accent-dark: #095c56;
  --focus: #f2b84b;
  --shadow: 0 1px 4px rgba(18,18,18,0.08);
  --drawer-shadow: -4px 0 24px rgba(18,18,18,0.12);
  --radius-btn: 0px;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Assistant, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

body.drawer-open {
  overflow: hidden;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #121212;
  color: #ffffff;
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 48px);
  width: 100%;
}

.site-header-brand {
  grid-column: 2;
  text-align: center;
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.weekend-sale-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--focus);
  background: rgba(242,184,75,0.12);
  border: 1px solid rgba(242,184,75,0.35);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  max-width: calc(4 * 200px + 3 * 16px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-title-row h2 {
  margin: 0;
}

.products-sale-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e8600a, #f2b84b);
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(232,96,10,0.35);
}

.eyebrow,
.drawer-eyebrow {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-brand-name {
  margin: 0 0 6px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.site-name-tagline {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-style: italic;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.secure-note {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #dbe7ec;
  font-size: 0.9rem;
}

.checkout-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  justify-content: center;
  background: #ffffff;
  color: #121212;
  border: 1px solid #121212;
}

.checkout-trigger:hover {
  background: #f3f3f3;
}

.checkout-trigger:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.12);
  font-size: 0.88rem;
}

.layout {
  flex: 1;
  width: min(1216px, calc(100% - 40px));
  margin: 36px auto;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

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

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  gap: 24px 16px;
  justify-content: center;
  align-items: stretch;
  max-width: calc(4 * 200px + 3 * 16px);
  margin: 0 auto;
}

.model-card,
.checkout-drawer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.model-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid #e0e0e0;
  box-shadow: none;
  background: #fff;
  border-radius: 0;
}

.model-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  border: none;
  border-radius: 0;
  background: #f3f3f3;
  overflow: hidden;
}

.model-preview-image-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  background: #f3f3f3;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  border-radius: 0;
}

.model-preview-image-trigger:hover .model-preview-image {
  transform: scale(1.04);
}

.model-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.model-preview-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.84);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.model-preview svg {
  width: 64px;
  height: 64px;
}

.model-card h3 {
  margin: 10px 0 4px;
  padding: 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.model-card > div:not(.model-meta):not(.card-stats):not(.card-thumbs) {
  flex: 1;
  padding: 0 12px;
}

.model-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.model-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 8px 12px 12px;
}

.add-to-cart-button {
  width: 100%;
  background: var(--text);
  color: #fff;
  border-radius: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 44px;
}

.add-to-cart-button:hover {
  background: #333;
}

.model-card.selected .add-to-cart-button {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--text);
}

.model-card.selected .add-to-cart-button:hover {
  background: #f3f3f3;
}

.price-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.preview-button {
  min-height: 36px;
  padding: 0 12px;
  background: #e9eef3;
  color: #17212b;
}

.preview-button:hover {
  background: #dae2ea;
}

button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--text);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

button:hover {
  background: #333333;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.model-card.selected .model-preview-image-trigger,
.model-card.selected .model-preview {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 26, 0.48);
  z-index: 110;
}

.photo-preview {
  position: fixed;
  top: 40px;
  left: 50%;
  z-index: 120;
  width: min(980px, calc(100% - 24px));
  max-height: calc(100vh - 80px);
  transform: translate(-50%, 120%);
  transition: transform 180ms ease;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: var(--drawer-shadow);
  overflow: hidden;
}

.photo-preview.open {
  transform: translate(-50%, 0);
}

.photo-preview-body {
  display: grid;
  gap: 14px;
  padding: 18px 20px 22px;
  max-height: calc(100vh - 160px);
  overflow: auto;
}

.photo-preview-body img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(48vh, 512px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 14px;
  background: #e9eef3;
}

.photo-preview-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
}

.photo-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
}

.photo-thumb.active {
  border-color: var(--accent);
}

.photo-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.photo-preview-caption {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(440px, 100%);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: var(--drawer-shadow);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

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

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  background: #17212b;
}

.drawer-close:hover {
  background: #0d1620;
}

.drawer-body {
  height: calc(100vh - 93px);
  overflow-y: auto;
  padding: 20px;
}

.selected-summary {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.cart-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text);
}

.cart-lines {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-line {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.cart-line:first-child {
  padding-top: 0;
  border-top: 0;
}

.cart-line strong,
.selected-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.cart-line span {
  display: block;
}

.cart-line-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
  white-space: nowrap;
}

.cart-discount-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0 0;
  margin-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8600a;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 0;
  margin-top: 4px;
  border-top: 2px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.remove-item {
  min-height: 30px;
  padding: 0 10px;
  background: #e9eef3;
  color: #17212b;
}

.remove-item:hover {
  background: #dae2ea;
}

.checkout-field {
  margin-bottom: 18px;
}

.checkout-field label {
  display: block;
  margin: 12px 0 7px;
  font-size: 0.88rem;
  font-weight: 700;
}

.checkout-field label:first-child {
  margin-top: 0;
}

.checkout-field input,
.verification-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--text);
  font: inherit;
}

.checkout-field input:focus,
.verification-row input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(242, 184, 75, 0.35);
}

.checkout-field p,
.email-verification p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.email-warning {
  padding: 10px;
  border: 1px solid #e4c06a;
  border-radius: 6px;
  background: #fff8e6;
  color: #513b10;
}

.email-verification {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

#emailVerificationStatus.error {
  color: #a93226;
}

#emailVerificationStatus.verified {
  color: var(--accent-dark);
  font-weight: 700;
}

.terms-box {
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #e4c06a;
  border-radius: 6px;
  background: #fff8e6;
}

.terms-title {
  margin: 0 0 8px;
  color: #513b10;
  font-size: 0.86rem;
  font-weight: 800;
}

.terms-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: #513b10;
  font-size: 0.9rem;
  line-height: 1.4;
}

.terms-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.terms-check input:focus-visible {
  outline: 3px solid rgba(242, 184, 75, 0.45);
  outline-offset: 2px;
}

.paypal-buttons {
  min-height: 150px;
}

.paypal-buttons.hidden {
  display: none;
}

.paypal-buttons:empty {
  min-height: 0;
}

.status {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.status.error {
  color: #a93226;
}

.download-links {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  background: #17212b;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 28px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .section-title {
    display: block;
  }

  .checkout-drawer {
    width: 100%;
  }

  .photo-preview {
    top: 12px;
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
  }

  .cart-line {
    display: grid;
  }

  .cart-line-actions {
    justify-items: start;
    text-align: left;
    white-space: normal;
  }
}


/* Card inline thumbnail strip */
.card-thumbs {
  display: flex;
  gap: 4px;
  padding: 4px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.card-thumbs::-webkit-scrollbar {
  display: none;
}

.card-thumb {
  flex: 0 0 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.card-thumb:hover {
  border-color: var(--accent);
}

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


/* Footer */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 40px 24px;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

.site-footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
}

.site-footer-tagline {
  color: #64748b;
}

.site-footer-contact a {
  color: #0d766e;
  text-decoration: none;
}

.site-footer-contact a:hover {
  text-decoration: underline;
}

.site-footer-copy {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 0.8rem;
}


/* Header restructure */
.site-header-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.site-header-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px clamp(16px, 4vw, 48px);
}

.trust-badge {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 0.04em;
}

.trust-badge:last-child {
  border-right: none;
}



/* Discount badge & pricing */
.discount-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4rem;
  background: #121212;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.original-price {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: line-through;
}

.previously-purchased {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.refund-disclaimer {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.refund-disclaimer a {
  color: var(--accent);
}

/* Card stats (views / purchases) */
.card-stats {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  padding: 8px 12px 10px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.card-stats strong {
  color: var(--text);
}


/* ── Tab Navigation ── */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: #1e1e1e;
  border-bottom: 2px solid #333;
  padding: 0 16px;
}
.tab-btn {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active {
  color: #fff;
  border-bottom-color: #f0c040;
  background: rgba(255,255,255,0.05);
}
.tab-panel { display: block; }
.tab-panel.hidden { display: none; }

/* ── Hero Section ── */
.hero-section {
  padding: 56px 24px 40px;
  text-align: center;
}
.hero-tagline {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
  line-height: 1.2;
}
.hero-sub {
  color: #444;
  font-size: 1rem;
  margin: 0 0 40px;
}

/* ── Collection Showcase ── */
.collection-showcase {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.collection-showcase h3 {
  color: #111;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
  text-align: center;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.collection-thumb--single {
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 4/3;
}
.collection-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: #222;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.collection-thumb:hover {
  border-color: #f0c040;
  transform: scale(1.03);
}
.collection-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.collection-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 20px 8px 8px;
  text-align: center;
}

/* ── About Section ── */
.about-section {
  max-width: 800px;
  margin: 48px auto;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: #1a1a1a;
  line-height: 1.8;
  text-align: center;
}
.about-section h2 {
  color: #111;
  margin-bottom: 20px;
}
.about-section p { margin-bottom: 16px; }
.about-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  text-align: left;
}
.about-text { flex: 1; }
.about-brookie-photo {
  width: 220px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 600px) {
  .about-inner { flex-direction: column; text-align: center; }
  .about-brookie-photo { width: 100%; max-width: 320px; }
}


/* ── Contact Section ── */
.contact-section {
  max-width: 560px;
  margin: 48px auto;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: #1a1a1a;
}
.contact-section h2 { margin: 0 0 8px; color: #111; text-align: center; }
.contact-section > p { margin: 0 0 24px; color: #555; }
.contact-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.contact-field label { font-weight: 600; font-size: 0.9rem; color: #333; }
.contact-field input,
.contact-field textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  resize: vertical;
  transition: border-color 0.2s;
}
.contact-field input:focus,
.contact-field textarea:focus { border-color: #f0c040; outline: none; }
.contact-submit {
  background: #121212;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  transition: background 0.2s;
}
.contact-submit:hover { background: #333; }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-status { margin-top: 12px; font-size: 0.9rem; min-height: 1.2em; }
.contact-status--ok { color: #0a7c4e; }
.contact-status--error { color: #c0392b; }


/* ── Products sidebar layout ── */
.tab-container {
  position: relative;
  padding-left: 184px; /* sidebar width + gap */
  padding-right: 184px; /* mirror for true centering */
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  width: 160px;
  position: absolute;
  left: 0;
  top: 0;
}

.tab-link {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  border-radius: 0 4px 4px 0;
}

.tab-link:hover {
  color: var(--text);
  background: var(--line);
}

.tab-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(13,118,110,0.07);
}

.tab-container > .tab-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab-container > .tab-panel > * {
  width: 100%;
}

@media (max-width: 600px) {
  .tab-container {
    padding-left: 0;
    padding-right: 0;
  }
  .tab-list {
    flex-direction: row;
    width: 100%;
    position: static;
    border-bottom: 2px solid var(--line);
    padding-bottom: 4px;
  }
  .tab-link {
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    flex: 1;
    text-align: center;
  }
  .tab-link.active {
    border-bottom-color: var(--accent);
    background: rgba(13,118,110,0.07);
  }
}

/* ── Coming-soon banner ── */
.coming-soon-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
  border: 2px dashed var(--line);
  border-radius: 8px;
  margin: 8px 0;
}

.coming-soon-icon {
  font-size: 3rem;
  line-height: 1;
}

.coming-soon-banner h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.coming-soon-banner p {
  margin: 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 0.95rem;
}


.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-add-to-cart {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.preview-add-to-cart:hover { background: var(--accent-dark); }
.preview-add-to-cart.in-cart { background: #555; }


/* ============================================================
   RESPONSIVE — mobile-first breakpoints
   480px  = small phones
   768px  = tablets / large phones landscape
   820px  = existing tablet breakpoint (kept)
   1024px = small laptops / iPad landscape
   ============================================================ */

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  .site-header-inner {
    padding: 20px 16px 16px;
  }

  .site-brand-name {
    font-size: 1.8rem;
  }

  .tab-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tab-nav::-webkit-scrollbar { display: none; }

  .model-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px 12px;
  }

  .about-section,
  .contact-section {
    padding: 24px 20px;
    margin: 24px auto;
  }

  .drawer-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .drawer-header-actions {
    flex-wrap: wrap;
  }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
  .site-brand-name {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .site-name-tagline {
    font-size: 0.8rem;
  }

  .site-header-trust {
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .tab-btn {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .layout {
    margin: 16px auto;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .model-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }

  .model-card {
    font-size: 0.85rem;
  }

  .collection-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .about-section,
  .contact-section {
    padding: 20px 14px;
    margin: 16px auto;
    border-radius: 8px;
  }

  .about-brookie-photo {
    width: 100%;
    max-width: 260px;
  }

  .photo-preview {
    border-radius: 10px;
  }

  .photo-preview-body img {
    max-height: 38vh;
  }

  .checkout-drawer {
    border-radius: 0;
  }

  .tab-list {
    gap: 2px;
  }

  .tab-link {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .coming-soon-banner {
    padding: 36px 16px;
  }
}
