/* Ailenoir Store Mockup - Premium calm crew-life design
 * Palette: #0A0A0A (black), #3A3A3A (tonal), #FFFFFF (white), #E8641E amber accent
 * iPad-first (1180px landscape/portrait), then phone 390px. Touch targets 44px+.
 * System fonts only. Dark theme with subtle aviation lines. No network loads.
 */

:root {
  --black: #0A0A0A;
  --tonal: #3A3A3A;
  --white: #FFFFFF;
  --amber: #E8641E;
  --amber-light: #F2B705;
  --text: #F5F5F5;
  --text-muted: #AAAAAA;
  --border: #555555;
  --radius: 8px;
  --header-h: 80px;
  --preview-bar-h: 0px;
}

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.05rem;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1100;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  gap: 2rem;
}

.logo img {
  height: 42px;
  width: auto;
}

header > nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
}

nav a {
  padding: 8px 16px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--amber);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.menu-drawer {
  position: fixed;
  top: calc(var(--header-h) + var(--preview-bar-h));
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 1px solid var(--border);
  max-height: calc(100dvh - var(--header-h) - var(--preview-bar-h));
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 1050;
  padding: 2rem 5vw;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.25rem;
}

.menu-drawer.open {
  transform: translateY(0);
  display: flex;
}

.menu-drawer a {
  padding: 12px 0;
  flex-shrink: 0;
  border-bottom: 1px solid #222;
}

.cart-icon {
  position: relative;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  transition: background 0.2s;
}

.cart-icon:hover {
  background: #222;
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(135deg, #E8641E 0%, #F2B705 100%);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.preview-tab {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: auto;
  height: var(--preview-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E8641E 0%, #F2B705 100%);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0 12px;
  border-radius: 0;
  z-index: 1090; /* under header (1100), above content */
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  letter-spacing: 1.2px;
  pointer-events: none;
  white-space: nowrap;
}

.ship-note {
  /* Clear the fixed header and preview bar while keeping the note in flow. */
  position: relative;
  top: calc(var(--header-h) + var(--preview-bar-h));
  padding: 6px 12px;
  background: var(--black);
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

main {
  padding-top: calc(var(--header-h) + var(--preview-bar-h));
  min-height: 100vh;
}


.hero {
  min-height: 620px;
  background: #0a0a0a;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  color: white;
  overflow: hidden;
}

.hero-image {
  height: 100%;
  background: url('Ailenoir-pack-final-mock-3-4.png') center/cover no-repeat;
  background-position: 40% 30%;
  position: relative;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image {
    height: 380px;
    background-position: center 20%;
  }
}

.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero .accent {
  color: var(--amber);
}

.hero p {
  font-size: 1.35rem;
  max-width: 520px;
  margin-bottom: 2rem;
  color: #ddd;
}

.brand-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.benefit svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--amber);
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  text-align: center;
  min-width: 180px;
  border: 2px solid transparent;
}

.btn-primary {
  background-image: linear-gradient(135deg, #E8641E 0%, #F2B705 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #0A0A0A;
  border-color: transparent;
}

.btn-primary:hover {
  background-image: linear-gradient(135deg, #E8641E 0%, #F2B705 100%);
  background-size: 200% 200%;
  background-position: 100% 50%;
  color: #0A0A0A;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(232, 100, 30, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}

.section {
  padding: 100px 5vw;
  max-width: 1180px;
  margin: 0 auto;
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.product-card {
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
  border: 1px solid #222;
}

.product-card:hover {
  transform: translateY(-12px);
}

.product-card img, .product-card svg {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #1a1a1a;
  padding: 20px;
}

.product-card img.product-card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1074 / 1600;
  object-fit: contain;
  padding: 0;
  background: #111;
}

.product-info {
  padding: 1.5rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  margin: 0.5rem 0;
}


footer {
  background: #050505;
  padding: 80px 5vw 40px;
  border-top: 1px solid #222;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.company-legal {
  max-width: 1180px;
  margin: 0.75rem auto 0;
  color: #888;
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  max-width: 1180px;
  margin: 0 auto 4rem;
}

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #1a1a1a;
  border-radius: 50%;
  transition: all 0.2s;
  position: relative;
}

.social-links a:hover {
  background-image: linear-gradient(135deg, #E8641E 0%, #F2B705 100%);
  background-size: 200% 200%;
  background-position: 100% 0%;
  color: var(--black);
  transform: scale(1.1);
}

.social-links a[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
}

.payment-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 1.35rem;
  opacity: 0.75;
  margin-top: 2rem;
}

.payment-icons span {
  transition: opacity 0.2s;
}

.payment-icons span:hover {
  opacity: 1;
  color: var(--amber);
}

/* Checkout and form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #ccc;
}

input, select, textarea {
  width: 100%;
  padding: 16px;
  background: #111;
  border: 1px solid #444;
  color: white;
  border-radius: 6px;
  font-size: 1.05rem;
}

.mock-notice {
  background: linear-gradient(135deg, #E8641E 0%, #F2B705 100%);
  color: #000;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  margin: 2rem 0;
  font-size: 1.1rem;
}

.shipping-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.shipping-method:hover {
  border-color: var(--amber);
}

.shipping-method label {
  flex: 1;
  cursor: pointer;
  margin: 0;
}

.order-summary {
  background: #111;
  border-radius: 12px;
  padding: 2rem;
  position: sticky;
  top: 120px;
}

.order-summary h3,
.order-summary h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
  color: white;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #222;
  font-size: 0.98rem;
}

.cart-line:last-child {
  border-bottom: none;
  padding-top: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.size-selector {
  margin-bottom: 2rem;
}

.size-selector label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.size-options {
  display: flex;
  gap: 12px;
}

.size-option {
  padding: 12px 24px;
  border: 2px solid #444;
  border-radius: 6px;
  background: #111;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  min-width: 140px;
}

.size-option.selected {
  border-color: var(--amber);
  background: rgba(232, 100, 30, 0.1);
  color: var(--amber);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  padding: 0;
  background: transparent;
  border: 2px solid #333;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

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

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--amber);
  transform: scale(1.05);
}

@media (max-width: 1180px) {
  .hero h1 { font-size: 3.8rem; }
  header { padding: 0 4vw; }
}

@media (max-width: 820px) {
  .hamburger { display: flex; margin-left: auto; /* after currency dropdown removed */ }
  header > nav { display: none; }
  .hero { height: 65vh; min-height: 480px; }
  .hero h1 { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  main { padding-top: calc(var(--header-h) + var(--preview-bar-h) + 12px); }
}

@media (max-width: 480px) {
  .hero { min-height: 420px; height: auto; padding: 80px 5vw 60px; }
  .hero h1 { font-size: 2.4rem; }
  .section { padding: 60px 5vw; }
  .grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .preview-tab { top: var(--header-h); left: 0; right: 0; bottom: auto; height: var(--preview-bar-h); font-size: 0.62rem; padding: 0 10px; border-radius: 0; }
}

/* ---- QA pass (27 Oct 2026): layout safety for iPad 1180/820 and phone 390 ---- */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }
main { padding-top: calc(var(--header-h) + var(--preview-bar-h) + 8px) !important; margin-top: 0 !important; margin-bottom: 80px !important; box-sizing: border-box; width: 100%; }
body > main:first-of-type { }
main[style*="max-width: 720px"], main[style*="max-width: 760px"], main[style*="max-width: 780px"], main[style*="max-width: 820px"], main[style*="max-width: 620px"] { margin-left: auto !important; margin-right: auto !important; }
.hero ~ * , index-main { }
.cart-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; flex-shrink: 0; color: #fff; }
header .logo { flex-shrink: 1; min-width: 0; }
header .logo img { max-width: 100%; }
.draft-banner { background: linear-gradient(135deg, #E8641E 0%, #F2B705 100%); color: #000; font-weight: 700; text-align: center; padding: 12px 16px; border-radius: 6px; margin: 0 0 1.5rem; letter-spacing: .02em; }
.shipping-method { display: flex; align-items: center; gap: 16px; }
.shipping-method input[type="radio"] { width: 20px !important; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--amber, #E8641E); }
.shipping-method label { justify-content: flex-start; }
.footer-social a, footer a[aria-label] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.payment-icons span { border: 1px solid #444; border-radius: 4px; padding: 4px 10px; font-size: .75rem; letter-spacing: .06em; }
@media (max-width: 1180px) {
  main[style*="max-width: 1180px"] { padding-left: 4vw !important; padding-right: 4vw !important; }
}
@media (max-width: 820px) {
  main[style] { padding-left: 24px !important; padding-right: 24px !important; }
  .pdp-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .checkout-grid { grid-template-columns: 1fr !important; }
  .hero { height: auto !important; }
  .hero-content { padding: 40px 24px 56px !important; }
}
@media (max-width: 600px) {
  .co-two { grid-template-columns: 1fr !important; gap: 1rem !important; }
  header { gap: .75rem; padding: 0 16px; }
  header .logo img { height: 34px; width: auto; }
  main[style] { padding-left: 18px !important; padding-right: 18px !important; }
  [style*="grid-template-columns: repeat(auto-fit, minmax(340px"] { grid-template-columns: 1fr !important; }
  #cart-items > div, .cart-item { flex-wrap: wrap; gap: 12px; }
  .btn { white-space: normal; }
  h1 { word-break: normal; overflow-wrap: anywhere; }
}
main:not([style]) { padding-top: calc(var(--header-h) + var(--preview-bar-h)) !important; margin-bottom: 0 !important; }

/* Fixed-header clearance: in-page scroll / screenshot into-view must not cover leads */
main > section,
main > figure.banner,
.roster,
.knee,
.layover,
.intro {
  scroll-margin-top: calc(var(--header-h) + var(--preview-bar-h) + 16px);
}
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 3rem; align-items: start; }
#cart-items button, .qty-btn, .qty button { min-width: 44px; min-height: 44px; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.preview-tab { pointer-events: none; opacity: .9; }

.faq-group h2 {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 1.15rem;
}

.faq-item p {
  margin-top: 1rem;
  color: #bbb;
}

.faq-item summary + p {
  padding-top: 1rem;
  border-top: 1px solid #333;
}

.faq-todo {
  display: block;
  margin-top: 0.5rem;
  color: #F2B705;
}

body.theme-a .roster article {
  background: #1B1B1B;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   AILENOIR · V5 PHOTOS · GLASS CARDS (preview, 18 Nov 2026)
   Skin only, layered on the exact v5-photos layout. Two additions, both
   taken from v5-photos-shaded assets/shade.css, applied only to the three
   roster duty cards (Long-haul legs / Layover recovery / Day or night):
     1. glass-style card surface (warm gradient, hairline, inset highlight)
     2. orange glow under those cards
   No section shading, no header/CTA/footer/product-card changes, no
   photo filters. Photos stay full opacity; text colours are unchanged.
   ========================================================================== */

:root {
  --glass-surface: linear-gradient(165deg, #24201C 0%, #171412 100%);
  --glass-inset: inset 0 1px 0 rgba(255, 240, 220, 0.12),
                 inset 0 -12px 24px rgba(0, 0, 0, 0.22),
                 inset 8px -8px 24px -14px rgba(232, 100, 30, 0.16);
}

/* Glass surface + under-card orange glow — roster cards only */
body.theme-a .roster article {
  background: var(--glass-surface);
  border-color: rgba(232, 100, 30, 0.28);
  border-top-color: rgba(255, 210, 140, 0.40);
  box-shadow:
    var(--glass-inset),
    0 0 0 1px rgba(232, 100, 30, 0.12),
    0 18px 40px -20px rgba(232, 100, 30, 0.45);
}

body.theme-a .roster article:hover {
  border-color: rgba(242, 160, 40, 0.7);
  box-shadow:
    var(--glass-inset),
    0 0 0 1px rgba(242, 183, 5, 0.28),
    0 22px 44px -18px rgba(232, 100, 30, 0.55);
}

/* Photo toppers stay fully visible — no filter, no overlay, no opacity change */
.roster-photo,
.roster-photo img {
  filter: none;
  opacity: 1;
  position: relative;
  z-index: 1;
}

.roster-card-body {
  position: relative;
  z-index: 1;
}

:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 2px;
}

html {
  scroll-padding-top: calc(var(--header-h) + var(--preview-bar-h) + 8px);
}

input::placeholder {
  color: #7c7c7c;
  opacity: 1;
}

textarea::placeholder {
  color: #868686;
  opacity: 1;
}

main :is(p, li) a:not(.btn),
footer p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.size-guide-link {
  display: inline-block;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 700px) {
  .footer-grid > div:has(> .foot-link) {
    display: grid;
    align-content: start;
    justify-items: start;
  }

  footer .foot-link,
  footer .legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 820px) {
  .menu-drawer a,
  footer a[href*="/policies/"],
  footer a[href^="policies/"],
  footer a[href$="/size-guide"],
  footer a[href$="size-guide"],
  main a[href$="size-guide"],
  main p a[href$="why-compression"],
  main p a[href$="contact"],
  a[href="mailto:contact@ailenoir.com"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

.fit-line {
  color: #f2f2f2;
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}
.cart-returns-note { font-size: 0.85rem; color: #bdbdbd; margin-top: 1rem; }
.cart-returns-note a { color: #E8641E; text-decoration: underline; }
.btn[hidden] { display: none; }

.trust-line {
  color: #bdbdbd;
  font-size: 0.875rem;
  margin: 0.5rem 0 1.25rem;
}

.product-info .faq-item {
  padding: 0 1rem;
}

.product-info .faq-item[open] { padding-bottom: 1rem; }

.product-info summary {
  min-height: 44px;
  padding: 0.65rem 0;
}

.product-info summary + p {
  margin-top: 0;
}

.product-info a,

/* v6 QA touch-up (Grok Bot): 44px mobile tap targets for footer links and the currency select */
@media (max-width: 700px) {
  footer a { display: inline-flex; align-items: center; min-height: 44px; }
  footer a[style*="display: block"] { display: flex !important; margin-bottom: 0 !important; }
  footer p a, footer small a { display: inline; min-height: 0; }
  select { min-height: 44px; }
}

[hidden] { display: none !important; }

/* --- Currency selector (header) --- */

.not-found {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 5vw 96px;
}
.not-found h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
}
.not-found .not-found-lede {
  font-size: 1.15rem;
  color: #C9C3BB;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 38em;
}

/* Crew photo */
.crew-proof {
  margin-top: 2.2rem;
}
.crew-proof h2 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}
/* Match the home grid using the product main's content width plus its side padding. */
.crew-proof-strip {
  --main-side-padding: 5vw;
}
@media (max-width: 1180px) {
  .crew-proof-strip { --main-side-padding: 4vw; }
}
@media (max-width: 820px) {
  .crew-proof-strip { --main-side-padding: 24px; }
}
@media (max-width: 600px) {
  .crew-proof-strip { --main-side-padding: 18px; }
}
.crew-proof-strip figure {
  width: calc(100% + 2 * var(--main-side-padding) - 40px);
  margin: 0;
  text-align: center;
}
.crew-proof-strip picture { display: block; }
@media (min-width: 768px) {
  .crew-proof-strip figure {
    width: calc((100% + 2 * var(--main-side-padding) - 120px) / 2);
  }
}
.product-photo,
.crew-proof-strip picture {
  box-sizing: border-box;
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #2A2A2A;
  background: linear-gradient(165deg, #3c3834 0%, #2a2724 48%, #c9bbaa 100%);
}

.product-photo img,
.crew-proof-strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.crew-proof-strip figcaption {
  font-size: 0.78rem;
  color: #aaa;
  padding: 10px 2px 0;
}
@media (max-width: 700px) {
  .pdp-grid { --product-gallery-height: 420px; }
  header > nav { gap: 0.6rem; }
  header > nav a { padding: 8px 8px; font-size: 0.92rem; }
}

@media (max-width: 900px) {
  /* Existing hamburger already hides nav; keep selector compact. */
}

header > nav a { white-space: nowrap; }

@media (max-width: 1600px) and (min-width: 821px) {
  header > nav { gap: 0.25rem; }
  header > nav a { padding: 8px 6px; font-size: 0.88rem; }
  header { gap: 0.7rem; }
}
@media (max-width: 1100px) and (min-width: 821px) {
  header > nav { gap: 0.12rem; }
  header > nav a { padding: 8px 4px; font-size: 0.82rem; }
  header { gap: 0.5rem; padding: 0 3vw; }
}

header > nav a[aria-current="page"],
.menu-drawer a[aria-current="page"] {
  color: var(--amber);
}

.nav-home {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 0.5rem;
}

.story-columns {
  column-count: 1;
  column-gap: 3rem;
  column-fill: balance;
}

.story-columns p {
  line-height: 1.8;
  margin: 0 0 1.2em;
}

@media (min-width: 700px) {
  .story-columns { column-count: 2; }
}

@media (min-width: 1100px) {
  .story-columns { column-count: 3; }
}


/* Product gallery main image: the stage has a fixed height, so the page does not shift while the image loads.
   The image is contained inside it: no crop, no letterbox bars, any aspect ratio. */
.pdp-gallery-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: var(--product-gallery-height, 560px);
  background: transparent;
}
.pdp-gallery-stage picture {
  display: block;
  height: 100%;
  max-width: 100%;
  line-height: 0;
}
img.pdp-main-image,
#main-product-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 30px 70px -20px rgba(232,100,30,0.2);
}

/* Checkout order summary: keep labels and values apart, one row each. */
.order-summary .cart-line { gap: 1rem; align-items: baseline; }
.order-summary .cart-line > div:first-child { flex: 1 1 auto; min-width: 0; }
.order-summary .cart-line > div:last-child { flex: 0 1 auto; text-align: right; }
.order-summary .cart-line-value { max-width: 60%; }
.order-summary .cart-line-size { display: block; color: #bdbdbd; font-size: 0.85rem; margin-top: 2px; }
.checkout-legal { margin-top: 1rem; font-size: 0.85rem; line-height: 1.5; color: #bdbdbd; }
.checkout-legal a { color: var(--amber, #E8641E); text-decoration: underline; }

/* Product page on phones: a bottom Add to cart bar appears while the real button is below the screen.
   Created by assets/main.js; hidden on desktop. */
.mobile-atc-bar { display: none; }
@media (max-width: 820px) {
  .mobile-atc-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(10,10,10,0.97);
    border-top: 1px solid #333;
  }
  .mobile-atc-bar[hidden] { display: none; }
  .mobile-atc-bar .btn { width: 100%; padding: 16px; font-size: 1.1rem; }
}
.order-summary .cart-line-qty { white-space: nowrap; }

/* Section headings that must be h2 for heading order but keep the smaller h3 look. */
.h3-look { font-size: 1.17em; line-height: 1.25; font-weight: 700; }

/* Policy pages: section headings stay below the page title. */
main.policy h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: 1rem; }
