/* ════════════════════════════════════════════════════════════
   SHOP — WMR Merch Page
   Dipende da: variables.css, base.css, components.css
   ════════════════════════════════════════════════════════════ */

/* ════════ PAGE HERO ════════ */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--page-pad) 80px;
  background: var(--bg-deep);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/wmr-hero-slide-ford-mustang-holographic-livery.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  filter: brightness(0.35) saturate(0.8);
  pointer-events: none;
}

/* Dark gradient overlay on hero */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.3) 60%, rgba(5,5,5,0.1) 100%),
    linear-gradient(to top, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0) 50%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 16px 0 24px;
}

.page-hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.55);
  max-width: 480px;
}

/* ════════ NOTICE BAR ════════ */
.shop-notice-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 11px var(--page-pad);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shop-notice-bar p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.shop-notice-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* ════════ SHOP SECTION ════════ */
.shop-section {
  padding: 80px var(--page-pad) 110px;
  background-color: var(--bg);   /* solid dark — no bleed-through */
}

.shop-header {
  text-align: center;
  margin-bottom: 60px;
}

.shop-section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 12px;
}

.shop-section-sub {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Grid ── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: 28px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ════════ CARD ════════ */
.shop-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.38s ease;
}

.shop-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(123, 47, 255, 0.35),
    0 0 40px rgba(123, 47, 255, 0.08);
}

/* ── Background image ── */
.shop-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 35%, #e8e8e8 0%, #b0b0b0 55%, #444 100%);
}

.shop-card-bg img {
  width: 100%;
  height: 75%;
  object-fit: contain;
  object-position: center top;
  padding: 20px 20px 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.shop-card:hover .shop-card-bg img {
  transform: scale(1.06) translateY(-6px);
}

/* ── Gradient overlay ── */
.shop-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 32px;
  background:
    linear-gradient(to top,
      rgba(5, 5, 5, 1)    0%,
      rgba(5, 5, 5, 0.98) 28%,
      rgba(5, 5, 5, 0.75) 50%,
      rgba(5, 5, 5, 0.15) 70%,
      rgba(5, 5, 5, 0)    85%
    ),
    linear-gradient(to bottom,
      rgba(5, 5, 5, 0.55) 0%,
      rgba(5, 5, 5, 0)    38%
    );
  transition: background 0.4s ease;
}

.shop-card:hover .shop-card-overlay {
  background:
    linear-gradient(to top,
      rgba(5, 5, 5, 1)        0%,
      rgba(5, 5, 5, 0.98)     30%,
      rgba(5, 5, 5, 0.80)     52%,
      rgba(20, 5, 60, 0.25)   72%,
      rgba(5, 5, 5, 0)        88%
    ),
    linear-gradient(to bottom,
      rgba(5, 5, 5, 0.65) 0%,
      rgba(5, 5, 5, 0)    40%
    );
}

/* ── Badge ── */
.shop-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
}

/* ── Card content ── */
.shop-card-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.shop-card-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 42px);
  letter-spacing: 0.04em;
  line-height: 0.92;
  color: #fff;
  margin-bottom: 20px;
}

.shop-card-name span {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72em;
  letter-spacing: 0.06em;
}

/* ── Product buttons ── */
.shop-card-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-product-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.shop-product-btn:hover {
  background: rgba(123, 47, 255, 0.18);
  border-color: rgba(123, 47, 255, 0.5);
  transform: translateX(3px);
}

.shop-product-type {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.shop-product-btn:hover .shop-product-type {
  color: rgba(255, 255, 255, 0.9);
}

.shop-product-price {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  transition: color 0.22s;
}

.shop-product-btn:hover .shop-product-price {
  color: var(--accent);
}

/* ── Coming soon ── */
.shop-coming-soon {
  text-align: center;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shop-coming-soon p { margin: 0; }

/* ════════ CTA SECTION ════════ */
.cta-section {
  position: relative;
  padding: 120px var(--page-pad);
  background: var(--accent);
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 20% 0%, rgba(255,255,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(0,0,0,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.cta-section .section-label::before {
  background: rgba(255, 255, 255, 0.5);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 20px 0 28px;
  color: var(--white);
}

.cta-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-bottom: 48px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-section .btn-primary.btn-xl {
  background: var(--white);
  color: var(--accent);
  font-weight: 600;
}

.cta-section .btn-primary.btn-xl:hover {
  background: #fff;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* ════════ COLLECTION PORTAL CARDS — vetrina ════════ */
.shop-coll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 520px));
  gap: 28px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.shop-coll-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.38s ease;
}

.shop-coll-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(123, 47, 255, 0.4),
    0 0 60px rgba(123, 47, 255, 0.12);
}

.shop-coll-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shop-coll-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5) saturate(0.75);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
}

.shop-coll-card:hover .shop-coll-bg img {
  transform: scale(1.07);
  filter: brightness(0.4) saturate(0.6);
}

.shop-coll-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px 40px;
  background:
    linear-gradient(to top,
      rgba(5, 5, 5, 1)    0%,
      rgba(5, 5, 5, 0.96) 28%,
      rgba(5, 5, 5, 0.55) 52%,
      rgba(5, 5, 5, 0)    75%
    ),
    linear-gradient(to bottom,
      rgba(5, 5, 5, 0.65) 0%,
      rgba(5, 5, 5, 0)    38%
    );
}

.shop-coll-num {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.28);
}

.shop-coll-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
}

.shop-coll-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.shop-coll-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 56px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: #fff;
  margin-bottom: 4px;
}

.shop-coll-title span {
  display: block;
  font-size: 0.66em;
  color: rgba(255, 255, 255, 0.35);
}

.shop-coll-types {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 16px 0 26px;
}

.shop-coll-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  align-self: flex-start;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.shop-coll-card:hover .shop-coll-cta {
  background: rgba(123, 47, 255, 0.22);
  border-color: rgba(123, 47, 255, 0.6);
  color: #fff;
}

/* ════════ COLLECTION PAGES — breadcrumb + hero overrides ════════ */
.coll-breadcrumb {
  padding: 20px var(--page-pad) 0;
  background: var(--bg);
}

.coll-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.coll-back-link:hover { color: rgba(255, 255, 255, 0.75); }
.coll-back-link svg { transition: transform 0.2s ease; }
.coll-back-link:hover svg { transform: translateX(-3px); }

/* Hero bg overrides per collection page */
.shop-hero-team-wmr .page-hero-bg {
  background-image: url('/assets/images/wmr-hero-slide-vw-golf-r-dark-livery.webp');
  background-position: center 35%;
}

.shop-hero-wmr-logo .page-hero-bg {
  background-image: url('/assets/images/wmr-lamborghini-custom-wrap-hero.webp');
  background-position: center 45%;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1024px) {
  .cta-section { padding: 160px 8vw; }
}

@media (max-width: 768px) {
  .shop-coll-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .shop-coll-overlay { padding: 28px 24px 32px; }
  .shop-coll-num { left: 24px; top: 24px; }
  .coll-breadcrumb { padding: 16px var(--page-pad-mobile) 0; }

  .page-hero {
    height: 50vh;
    min-height: 320px;
    padding: 0 var(--page-pad-mobile) 56px;
  }

  .shop-section {
    padding: 56px var(--page-pad-mobile) 80px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 24px;
  }

  .shop-notice-bar {
    font-size: 11px;
    padding: 9px 14px;
  }

  .cta-section { padding: 80px var(--page-pad-mobile); }

  .cta-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .shop-card-name { font-size: 30px; }
  .shop-card-overlay { padding: 22px 22px 26px; }
  .shop-product-btn { padding: 10px 14px; }
  .page-hero-title { font-size: 56px; }
}
