/* ============================================================
   SHOP PAGE — Dirty Dawg First Drop
   Same brand tokens, product-focused layout
   ============================================================ */

/* --- Shop Nav --- */
.shop-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgb(20 44 49 / .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(210 79 18 / .3);
}

.shop-nav__back {
  color: var(--bone);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: .8;
  transition: opacity .2s, color .2s;
}

.shop-nav__back:hover {
  opacity: 1;
  color: var(--orange);
}

.shop-nav__cta {
  display: inline-flex;
  padding: 9px 18px;
  color: var(--bone);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s;
}

.shop-nav__cta:hover {
  background: #b8430f;
}

/* --- Shop Hero --- */
.shop-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: clamp(100px, 14vh, 160px) clamp(18px, 4vw, 64px) clamp(48px, 8vh, 80px);
  color: var(--bone);
  background: var(--teal);
  background-image: url("assets/site-bg-10.png");
  background-position: center center;
  background-size: cover;
  text-align: center;
}

/* Scrim over busy collage for text readability */
.shop-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(20 44 49 / .55);
  pointer-events: none;
}

/* Warm kraft scrim on join section — Iris recommendation */
.shop-join-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgb(230 214 186 / .78) 0%,
    rgb(247 242 231 / .85) 50%,
    rgb(247 242 231 / .82) 100%
  );
  pointer-events: none;
}

.shop-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.shop-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.shop-hero__title {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: .88;
  text-transform: uppercase;
}

.shop-hero__sub {
  margin: 24px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: rgb(244 241 232 / .85);
}

.shop-hero__note {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 800;
  color: rgb(244 241 232 / .55);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --- Product Sections --- */
.product-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(80px, 10vh, 120px) clamp(18px, 4vw, 64px);
  overflow: hidden;
  isolation: isolate;
}

/* Dark variant (default) */
.product-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--teal);
  background-position: center center;
  background-size: cover;
}

.product-section__bg--tee { background-image: url("assets/site-bg-04.png"); }
.product-section__bg--cap { background-image: url("assets/site-bg-05.png"); }
.product-section__bg--hoodie { background-image: url("assets/site-bg-06.png"); }

/* Light variant — alternate sections for tonal variety */
.product-section--alt {
  color: var(--gunmetal);
}

.product-section--alt .product-section__bg {
  background-color: var(--paper);
  /* Use a lighter bg or overlay for the alt sections */
}

.product-section--alt .product-section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(247 242 231 / .82);
}

.product-section--alt .product-tag {
  color: var(--orange);
}

.product-section--alt .product-name {
  color: var(--gunmetal);
}

.product-section--alt .product-positioning {
  color: rgb(48 53 52 / .82);
}

.product-section--alt .product-detail h3 {
  color: var(--gunmetal);
}

.product-section--alt .product-detail p {
  color: rgb(48 53 52 / .85);
}

.product-section--alt .product-detail__note {
  color: rgb(48 53 52 / .55);
}

.product-section--alt .product-cta__note {
  color: rgb(48 53 52 / .55);
}

.product-section--alt .size-list {
  color: var(--gunmetal);
}

.product-section--alt .swatch {
  border: 1px solid rgb(48 53 52 / .2);
}

/* Product inner layout */
.product-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  width: min(1200px, 100%);
  align-items: center;
}

/* Board image side */
.product-section__board {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-board-img {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 16px 48px rgb(0 0 0 / .2);
}

/* Info side */
.product-section__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  color: var(--orange);
  background: rgb(210 79 18 / .1);
  border: 1px solid rgb(210 79 18 / .3);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-name {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: .92;
  color: var(--bone);
  text-transform: uppercase;
}

.product-positioning {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  line-height: 1.6;
  color: rgb(244 241 232 / .8);
}

/* Detail grid */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.product-detail {
  padding: 14px;
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 3px;
}

.product-section--alt .product-detail {
  background: rgb(48 53 52 / .04);
  border-color: rgb(48 53 52 / .1);
}

.product-detail h3 {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-detail p {
  margin: 0;
  color: rgb(244 241 232 / .9);
  font-size: 14px;
  font-weight: 700;
}

.product-detail__note {
  margin-top: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgb(244 241 232 / .5) !important;
}

.product-price {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: var(--bone) !important;
  letter-spacing: .02em;
}

/* Colour swatches */
.colour-swatches {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.swatch {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .2);
}

.size-list {
  letter-spacing: .06em;
}

/* Product CTA */
.product-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.product-cta .button {
  align-self: flex-start;
  min-width: 180px;
  text-align: center;
}

.product-cta__note {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgb(244 241 232 / .5);
}

/* --- Join Section (shop page) --- */
.join-section {
  position: relative;
}

/* Warm kraft scrim over collage — Iris recommendation */
.join-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgb(230 214 186 / .78) 0%,
    rgb(247 242 231 / .85) 50%,
    rgb(247 242 231 / .82) 100%
  );
  pointer-events: none;
}

.join-form-column {
  display: grid;
  gap: 16px;
  min-width: 0;
}

/* --- Responsive --- */
@media (max-width: 820px) {
  .shop-nav {
    padding: 12px 16px;
  }

  .shop-nav__back {
    font-size: 9px;
  }

  .shop-nav__cta {
    padding: 7px 12px;
    font-size: 9px;
  }

  .shop-hero {
    min-height: 45vh;
    padding: 100px 16px 40px;
  }

  .product-section {
    min-height: auto;
    padding: 48px 16px;
  }

  .product-section__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-board-img {
    max-height: 50vh;
  }

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

  .product-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-nav__back,
  .shop-nav__cta,
  .product-cta .button {
    transition: none;
  }
}
