:root {
  --black: #050505;
  --near-black: #0a0a0a;
  --dark: #101010;
  --card: #151515;
  --card-2: #202020;
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);
  --red: #e11919;
  --red-dark: #8f0909;
  --red-soft: rgba(225, 25, 25, 0.16);
  --red-glow: rgba(225, 25, 25, 0.42);
  --white: #f7f3ed;
  --muted: #b6afa8;
  --muted-2: #7d7770;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  background:
    radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.42), transparent 22rem),
    radial-gradient(circle at 10% 18%, rgba(225, 25, 25, 0.32), transparent 20rem),
    radial-gradient(circle at 92% 12%, rgba(225, 25, 25, 0.20), transparent 22rem),
    linear-gradient(145deg, #3b3b3b 0%, #111 24%, #070707 50%, #180404 76%, #3c0505 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 18px),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.88), rgba(0,0,0,0.22));
}

#navbar {
  min-height: 76px;
  background: #050505;
  position: sticky;
  top: 0;
  z-index: 950;
}

/* Extra navbar hover polish. Keeps working even when nav.html has inline CSS. */
#navbar .nav-menu a {
  overflow: hidden;
  isolation: isolate;
}

#navbar .nav-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(225,25,25,.42), rgba(120,0,0,.25));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

#navbar .nav-menu a:hover::before {
  transform: scaleX(1);
}

#navbar .nav-menu a:hover {
  color: #fff !important;
  border-color: rgba(225,25,25,.75) !important;
  box-shadow: 0 0 18px rgba(225,25,25,.35);
  transform: translateY(-2px);
}

.apparel-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  margin-bottom: 7px;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.breadcrumb:hover {
  color: #fff;
  transform: translateX(-3px);
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(340px, 1.08fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero-glow {
  position: absolute;
  inset: -90px -80px auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(225,25,25,0.52), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.product-media-card,
.product-info-card,
.details-panel,
.related-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02) 38%, rgba(225,25,25,0.09)),
    rgba(12,12,12,0.96);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-media-card {
  min-height: 410px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 5px solid var(--red);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  color: #fff;
  background: linear-gradient(180deg, #ff2020, #9d0808);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(225,25,25,0.34);
}

.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 315px;
   background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.72), transparent 0 24%, transparent 54%),
    radial-gradient(circle at 18% 18%, rgba(225,25,25,0.34), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(225,25,25,0.22), transparent 36%),
    linear-gradient(135deg, #f6f4ef 0%, #c7c7c7 18%, #8f8f8f 38%, #f8f4ee 58%, #6f0707 79%, #180202 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
}

.product-image {
  width: min(86%, 360px);
  max-height: 315px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,0.72));
  transition: transform .35s ease, filter .35s ease;
}

.product-media-card:hover .product-image {
  transform: scale(1.045) rotate(-1deg);
  filter:
    drop-shadow(0 28px 34px rgba(0,0,0,0.78))
    drop-shadow(0 0 22px rgba(225,25,25,0.34));
}

.image-note {
  margin-top: 10px;
  color: var(--muted-2);
  text-align: center;
  font-size: 13px;
}

.product-info-card {
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category,
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.eyebrow.small {
  font-size: 12px;
  letter-spacing: .22em;
}

h1,
h2 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .045em;
}

h1 {
  font-size: clamp(42px, 6.5vw, 74px);
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(34px, 4.2vw, 50px);
  margin-bottom: 12px;
}

h1 span,
h2 span {
  color: var(--red);
}

.product-rule {
  width: 100%;
  height: 2px;
  margin: 6px 0 14px;
  background: linear-gradient(90deg, var(--red), rgba(255,255,255,0.18), transparent);
}

.price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  width: fit-content;
  margin-bottom: 7px;
  padding: 12px 16px;
  background: rgba(225,25,25,0.10);
  border: 1px solid rgba(225,25,25,0.34);
  border-radius: 5px;
}

.price-label {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.product-price {
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: .06em;
  line-height: 1;
}

.product-desc {
  max-width: 680px;
  color: #efe8df;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.52;
  margin-bottom: 14px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.feature-pills span {
  padding: 7px 10px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 13px;
}

.product-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.detail-box {
  padding: 10px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 5px;
}

.detail-box span {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.detail-box strong {
  color: #fff;
  font-size: 14px;
}

.product-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-main,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.btn-main {
  color: #fff;
  background: linear-gradient(180deg, #ff2020, #a90606);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 14px 36px rgba(225,25,25,0.34);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.24);
}

.btn-main:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
}

.btn-main:hover {
  box-shadow: 0 20px 48px rgba(225,25,25,0.48);
}

.btn-secondary:hover {
  background: rgba(225,25,25,0.14);
  border-color: rgba(225,25,25,0.45);
}

.details-panel,
.related-panel {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.details-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: center;
  border-top: 3px solid var(--red);
}

.details-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: 8px;
  list-style: none;
}

.detail-list li {
  padding: 10px 13px;
  color: var(--muted);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.13);
  border-left: 3px solid rgba(225,25,25,0.76);
  border-radius: 5px;
  line-height: 1.55;
}

.detail-list strong {
  color: #fff;
}

.section-heading.compact {
  text-align: center;
  margin-bottom: 14px;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 14px;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225,25,25,0.62);
  box-shadow: 0 18px 45px rgba(0,0,0,0.44), 0 0 24px rgba(225,25,25,0.20);
}

.mini-card img {
  width: min(80%, 190px);
  height: 110px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.55));
  transition: transform .24s ease;
}

.mini-card:hover img {
  transform: scale(1.08);
}

.mini-card span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}

.page-footer {
  padding: 22px 20px 32px;
  color: var(--muted-2);
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .product-hero,
  .details-panel {
    grid-template-columns: 1fr;
  }

  .product-media-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .apparel-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .product-info-card,
  .product-media-card,
  .details-panel,
  .related-panel {
    padding: 18px;
  }

  .product-image-wrap {
    min-height: 260px;
  }

  .product-image {
    max-height: 250px;
  }

  .product-details-grid,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-main,
  .btn-secondary {
    width: 100%;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }
}


/* Compact product-page overrides */
.apparel-shell {
  padding-top: 24px;
}

.product-hero {
  gap: 18px;
}

.product-info-card {
  justify-content: flex-start;
}

.product-category,
.eyebrow {
  margin-bottom: 7px;
}

.product-info-card h1 {
  font-size: clamp(42px, 6.5vw, 74px);
  line-height: .9;
  margin-bottom: 8px;
}

.product-media-card {
  min-height: 410px;
}

.product-image-wrap {
  min-height: 315px;
}

.product-image {
  max-height: 315px;
}

.product-desc {
  max-width: 620px;
}

.details-panel,
.related-panel {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .product-hero {
    gap: 16px;
  }

  .product-info-card {
    order: 1;
  }

  .product-media-card {
    order: 2;
  }
}
