:root {
  --blue: #2171e1;
  --blue-light: #1f96f4;
  --blue-dark: #0052b4;
  --blue-deep: #105dc9;
  --green: #008540;
  --green-dark: #036130;
  --green-light: #e8f8ef;
  --yellow: #fbea07;
  --yellow-dark: #fdcd0c;
  --red: #d80027;
  --red-dark: #bb1d29;
  --text: #202223;
  --muted: #6d7175;
  --border: #dfe3e6;
  --bg: #f8f9fb;
  --bg-alt: #eff2f4;
  --white: #fff;
  --shadow: 0 2px 8px rgba(32, 34, 35, 0.1);
  --header-h: 80px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--yellow);
  color: var(--text);
  padding: 8px 16px;
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, #2a86ef 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Top account bar */
.top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-locale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.flag-us {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(
    180deg,
    #b22234 0,
    #b22234 1.5px,
    #fff 1.5px,
    #fff 3px
  );
}

.flag-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 54%;
  background: #3c3b6e;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.top-links a:hover {
  text-decoration: underline;
}

/* Main header row */
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 46px;
  width: auto;
}

.search-form {
  display: flex;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.search-form input {
  flex: 1;
  border: 0;
  border-radius: 999px 0 0 999px;
  padding: 11px 20px;
  font-size: 14px;
  min-width: 0;
  outline: none;
}

.search-btn {
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--text);
  width: 40px;
  height: 40px;
  margin: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--yellow-dark);
}

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

.header-action {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  position: relative;
}

.header-action:hover {
  opacity: 0.85;
}

.cart-count {
  background: var(--yellow);
  color: var(--text);
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 0 4px;
  position: absolute;
  top: -6px;
  right: -10px;
}

/* Main navigation (inside blue header) */
.main-nav {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 4px;
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  padding: 8px 22px 14px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: #fff;
}

.main-nav a.nav-accent {
  color: var(--yellow);
}

/* Promo strip (white, below nav) */
.promo-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.promo-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
}

.promo-item svg {
  color: var(--blue);
  flex-shrink: 0;
}

main {
  min-height: 50vh;
  padding-bottom: 48px;
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  max-width: 1400px;
  margin: 16px auto 0;
  width: calc(100% - 32px);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-track {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 2;
}

.hero-nav:hover {
  background: var(--white);
}

.hero-prev { left: 12px; }
.hero-next { right: 12px; }

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
}

/* Sections */
.section {
  max-width: 1400px;
  margin: 28px auto 0;
  width: calc(100% - 32px);
}

.section-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

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

.section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.section-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumbs a:hover {
  color: var(--green);
  text-decoration: underline;
}

.breadcrumbs span.sep {
  color: #bbb;
}

/* Category tiles (homepage) */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.category-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-tile:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

/* Legacy category grid */
.category-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.category-quick-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-quick-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-quick-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.category-quick-card span {
  display: block;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

/* Age shop */
.age-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.age-btn {
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue-dark);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.age-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* Product carousel */
.product-rail {
  position: relative;
}

.product-rail-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.product-rail-track::-webkit-scrollbar {
  display: none;
}

.product-rail .product-card {
  min-width: 220px;
  max-width: 220px;
  flex-shrink: 0;
}

.rail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rail-nav:hover {
  border-color: var(--green);
  color: var(--green);
}

.rail-prev { left: -12px; }
.rail-next { right: -12px; }

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow);
}

.product-image-wrap {
  position: relative;
  background: #fafafa;
}

.product-image-wrap img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 10px;
}

.badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-lg {
  font-size: 12px;
  padding: 6px 10px;
}

.badge-exclusive {
  background: var(--blue);
}

.product-info {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-brand {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-title {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}

.product-title:hover {
  color: var(--green);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.stars {
  color: #f5a623;
  letter-spacing: 1px;
}

.review-count {
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.price-row strong {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.was-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 13px;
}

.btn-add-card {
  margin-top: 8px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-dark);
  padding: 9px 12px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}

.btn-add-card:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Category page header */
.category-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.category-header img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.category-header h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-header p {
  margin: 0;
  color: var(--muted);
}

.subcategory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.subcategory-tag {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.subcategory-tag:hover {
  border-color: var(--green);
  color: var(--green);
}

/* PDP */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}

.pdp-media-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pdp-bundle-showcase {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
}

.pdp-bundle-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.pdp-bundle-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pdp-bundle-item-featured {
  margin-bottom: 18px;
}

.pdp-bundle-shirts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pdp-bundle-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-bundle-image-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fafafa;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pdp-bundle-image-btn:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.12);
}

.pdp-bundle-image-btn img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.pdp-bundle-item-featured .pdp-bundle-image-btn img {
  aspect-ratio: 16 / 10;
}

.pdp-bundle-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
}

.pdp-bundle-caption strong {
  font-size: 14px;
}

.pdp-bundle-caption span {
  color: var(--muted);
}

.pdp-order-options-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 15px;
}

.pdp-option-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-option-preview {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pdp-option-preview:hover,
.pdp-option-preview.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.12);
}

.pdp-option-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.pdp-header .pdp-title {
  margin: 0;
  font-size: 26px;
}

.pdp-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pdp-header-meta .rating-row { margin: 0; }
.stars-empty { color: #c7ccd1; }

.pdp-gallery {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pdp-thumbs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 76px;
}

.thumb-scroll {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 4px;
}

.thumb-scroll:hover { color: var(--blue); background: var(--bg-alt); }
.pdp-thumbs-col.scrollable .thumb-scroll { display: flex; }

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
}

.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs-col.scrollable .pdp-thumbs { max-height: 350px; overflow-y: auto; }

.pdp-thumb {
  padding: 0;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s;
}

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

.pdp-thumb:hover { border-color: var(--blue-light); }
.pdp-thumb.active { border-color: var(--blue); }

.pdp-main-image {
  position: relative;
  flex: 1;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-main-image img {
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
  padding: 20px;
  cursor: zoom-in;
}

.pdp-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.pdp-zoom:hover { color: var(--blue); }

.pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}

.pdp-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.pdp-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.pdp-note {
  display: flex;
  gap: 10px;
  background: #eef4fb;
  border: 1px solid #d5e3f2;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #33475b;
  margin-bottom: 16px;
}

.pdp-note-icon { color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.pdp-note strong { color: var(--blue-dark); }

.delivery-icon { color: var(--text); flex-shrink: 0; margin-top: 1px; }
.delivery-text { display: flex; flex-direction: column; }
.tag-preorder {
  color: var(--green-dark) !important;
  font-weight: 700;
  font-size: 12px !important;
}

.delivery-store-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--blue);
  text-decoration: underline;
}

.pdp-buy-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}

.pdp-buy-row .btn-basket {
  flex: 1;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-basket.btn-preorder { background: var(--green); }
.btn-basket.btn-preorder:hover { background: var(--green-dark); }

.btn-wishlist-icon {
  width: 52px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-wishlist-icon:hover { color: var(--red); border-color: var(--red); }

.pdp-age {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 16px;
  font-size: 14px;
  color: var(--text);
}

.pdp-age svg { color: var(--muted); }

.panel-rows { border-top: 1px solid var(--border); }

.panel-row { border-bottom: 1px solid var(--border); }

.panel-row .acc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 2px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.panel-row .acc-head > span:nth-child(2) { flex: 1; }
.panel-row .acc-head svg { color: var(--blue); }
.panel-row .acc-chevron { transition: transform 0.2s; color: var(--muted); }
.panel-row .acc-chevron svg { color: var(--muted); }
.panel-row.open .acc-chevron { transform: rotate(90deg); }

.pdp-accordion {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: 0; }

.pdp-accordion .acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.acc-chevron {
  display: inline-flex;
  transition: transform 0.2s;
  color: var(--muted);
}

.pdp-accordion .acc-item .acc-chevron { transform: rotate(180deg); }
.pdp-accordion .acc-item.open .acc-chevron { transform: rotate(0deg); }

.acc-body {
  display: none;
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.acc-item.open > .acc-body { display: block; }
.panel-row .acc-body { padding: 0 2px 14px; color: var(--muted); font-size: 13px; }
.acc-body p { margin: 0 0 10px; }
.acc-body p:last-child { margin-bottom: 0; }
.detail-aisle { color: var(--muted); }
.safety-link { color: var(--blue); text-decoration: underline; }
.reviews-head { margin-bottom: 8px; }

.pdp-buy-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.pdp-ref {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--muted);
}

.pdp-brand {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.pdp-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.pdp-price-block {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pdp-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-was-inline {
  font-size: 22px;
  margin-right: 10px;
}

.pdp-price-label {
  font-size: 13px;
  color: var(--muted);
}

.pdp-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
}

.pdp-was-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

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

.save-badge {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.pdp-stock {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 14px;
}

.stock-in { color: var(--green-dark); }
.stock-preorder { color: #e67e00; }
.stock-low { color: var(--red); }

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}

.delivery-option:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
}

.delivery-option input { margin-top: 3px; }
.delivery-option strong { display: block; font-size: 14px; }
.delivery-option small { color: var(--muted); font-size: 12px; }

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pdp-qty-row label { font-weight: 600; font-size: 14px; }

.pdp-qty-row select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  min-width: 70px;
}

.pdp-order-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
}

.pdp-option-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-option-row label {
  font-weight: 600;
  font-size: 14px;
}

.pdp-option-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.pdp-option-select.pdp-option-error {
  border-color: #d93025;
  box-shadow: 0 0 0 1px #d93025;
}

.cart-line-options,
.checkout-line .cart-line-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 6px 0;
  font-size: 13px;
  color: var(--muted);
}

.cart-line-options span,
.checkout-line .cart-line-options span {
  display: block;
}

.btn-basket {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  margin-bottom: 8px;
}

.btn-basket:hover { background: var(--blue-dark); }
.btn-basket.added { background: var(--green); }

.btn-wishlist {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  padding: 11px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 16px;
}

.pdp-trust {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.pdp-trust li { padding: 4px 0; }

.pdp-tabs {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.pdp-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.pdp-tab {
  border: 0;
  background: none;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.pdp-tab.active {
  color: var(--green-dark);
  border-bottom-color: var(--green);
  background: var(--white);
}

.pdp-tab-panel {
  display: none;
  padding: 24px;
  font-size: 14px;
  line-height: 1.7;
}

.pdp-tab-panel.active { display: block; }

.pdp-tab-panel h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.pdp-tab-panel h3:first-child { margin-top: 0; }

.feature-list {
  margin: 0;
  padding-left: 20px;
}

.feature-list li { margin-bottom: 6px; }

.key-features {
  background: var(--green-light);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.key-features h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}

.related-section { margin-top: 40px; }

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.cart-list { display: grid; gap: 12px; }

.cart-line {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px;
}

.cart-line img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 4px;
  padding: 4px;
}

.cart-line-title {
  font-weight: 600;
  font-size: 15px;
}

.cart-line-title:hover { color: var(--green); }

.cart-line-ref {
  margin: 2px 0;
  font-size: 12px;
  color: var(--muted);
}

.cart-line-price {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.cart-line-total {
  font-size: 16px;
  color: var(--green-dark);
  min-width: 70px;
  text-align: right;
  font-weight: 700;
}

.qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-wrap button {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
}

.link-btn {
  border: 0;
  background: none;
  color: var(--red);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}

.cart-summary,
.checkout-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.cart-summary h3,
.checkout-summary h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.summary-total {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}

.delivery-note {
  font-size: 12px;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 8px 10px;
  border-radius: 4px;
  margin: 8px 0;
}

.continue-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

.continue-link:hover { text-decoration: underline; }

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}

.checkout-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-block h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid input {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.form-grid input.full { grid-column: 1 / -1; }

.payment-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.payment-placeholder {
  border: 2px dashed var(--border);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  background: #fafafa;
}

.payment-placeholder p { margin: 0 0 8px; color: var(--muted); }
.payment-hint { font-size: 12px !important; }

.payment-placeholder code {
  display: block;
  margin-top: 12px;
  padding: 10px;
  background: #eee;
  border-radius: 4px;
  font-size: 11px;
  word-break: break-all;
  text-align: left;
}

.checkout-items { margin-bottom: 16px; }

.checkout-line {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.checkout-line img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 4px;
}

.checkout-line span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

/* Info pages */
.info-page {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  max-width: 800px;
}

.info-page h1 {
  margin: 0 0 16px;
  font-size: 28px;
}

.info-page p {
  color: var(--muted);
  line-height: 1.7;
}

/* Empty state */
.empty-box {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
}

.empty-box h2,
.empty-box h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.empty-box.full-width { grid-column: 1 / -1; }

.inline { display: inline-block; margin-top: 12px; }

.btn-primary {
  display: inline-block;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #ccc;
  margin-top: 48px;
  padding: 40px 20px 24px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  color: #aaa;
}

.footer-col a:hover { color: #fff; }

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pay-icon {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ddd;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline;
  font-size: 13px;
  color: var(--yellow);
  font-weight: 600;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.footer-legal a { color: #aaa; }
.footer-legal a:hover { color: #fff; }
.footer-legal span { color: #555; }

.footer-copy {
  margin: 16px 0 0;
  font-size: 12px;
  text-align: center;
  color: #888;
}

/* Responsive */
@media (max-width: 1100px) {
  .category-quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .search-form { max-width: none; }

  .top-links a span,
  .top-locale { font-size: 11px; }

  .promo-inner {
    justify-content: center;
    gap: 12px 24px;
  }

  .pdp-bundle-shirts { grid-template-columns: 1fr; }
  .pdp-layout { grid-template-columns: 1fr; }

  .pdp-layout > * { min-width: 0; }

  .pdp-buy-panel { position: static; min-width: 0; }

  .pdp-gallery { flex-direction: column-reverse; min-width: 0; }

  .pdp-thumbs-col {
    flex-direction: row;
    width: 100%;
  }

  .pdp-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }

  .pdp-thumbs-col.scrollable .pdp-thumbs { max-height: none; }

  .pdp-header .pdp-title { font-size: 22px; }

  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }

  .cart-summary,
  .checkout-summary { position: static; }

  .category-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .cart-line {
    grid-template-columns: 72px 1fr;
    gap: 10px;
  }

  .cart-line-total,
  .qty-wrap,
  .link-btn { grid-column: 2; }

  .pdp-tab-nav { overflow-x: auto; }

  .pdp-tab {
    padding: 12px 16px;
    white-space: nowrap;
  }

  .form-grid { grid-template-columns: 1fr; }

  .form-grid input.full { grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-nav { display: none; }

  .rail-nav { display: none; }

  .top-bar-inner { padding: 5px 12px; }

  .top-links { gap: 12px; }

  .top-links a { font-size: 0; gap: 0; }

  .top-links a svg { width: 18px; height: 18px; }

  .header-inner { padding: 10px 12px; gap: 10px; }

  .logo-img { height: 38px; }

  .header-actions { gap: 14px; }

  .header-action span:not(.cart-count) { display: none; }

  .main-nav {
    justify-content: flex-start;
    gap: 2px;
    padding: 0 8px 4px;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a { padding: 8px 14px 12px; font-size: 14px; }

  .promo-item { font-size: 11px; }

  .promo-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .promo-inner::-webkit-scrollbar { display: none; }

  .promo-item { white-space: nowrap; flex-shrink: 0; }

  /* Product page mobile */
  .pdp-buy-row { flex-wrap: wrap; min-width: 0; }

  .pdp-buy-row .btn-basket {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pdp-note { min-width: 0; }
  .pdp-note > div { min-width: 0; }

  .pdp-header { flex-direction: column; }

  .pdp-header-meta { width: 100%; justify-content: space-between; }

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

  .pdp-accordion .acc-head { font-size: 16px; padding: 16px; }

  /* Prevent long strings (URLs, copyright) from widening layout */
  .acc-body,
  .acc-body p,
  .pdp-note,
  .info-page p { overflow-wrap: anywhere; word-break: break-word; }

  .pdp-price { font-size: 28px; }
  .pdp-was-inline { font-size: 18px; }
}

@media (max-width: 400px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .logo-img { height: 32px; }
  .search-form input { padding: 9px 14px; }
  .header-actions { gap: 10px; }
  .top-links { gap: 10px; }
}
