/* ----------------------------------------─
   SHOP PAGE
----------------------------------------─ */

/* Interior nav */
.nav {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(18, 44, 58, 0.08);
}
.logo-top {
  color: #163f56 !important;
  text-shadow: none !important;
}
#navLinks a {
  color: #1a4055 !important;
}
.nav-hamburger span {
  background: #163f56 !important;
}

/* ----------------------------------------─
   HERO
----------------------------------------─ */
.shop-hero {
  padding: 148px 48px 88px;
  background: radial-gradient(ellipse at 8% 0%, rgba(244, 184, 168, 0.5) 0%, transparent 34%), radial-gradient(ellipse at 92% 12%, rgba(90, 143, 168, 0.16) 0%, transparent 28%), #fdf8f4;
  border-bottom: 1px solid rgba(78, 143, 168, 0.1);
  text-align: center;
}

.shop-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5a8fa8;
  font-weight: 600;
  margin-bottom: 20px;
}

.shop-title {
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: #163f56;
  margin: 0 auto 20px;
}

.shop-title em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  letter-spacing: -1.5px;
  text-transform: none;
  color: #5a8fa8;
}

.shop-intro {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.8;
  color: #496a7a;
  max-width: 460px;
  margin: 0 auto;
}

/* ----------------------------------------─
   PRODUCTS SECTION
----------------------------------------─ */
.shop-section {
  padding: 88px 48px 100px;
  background: #fff;
}

.shop-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5a8fa8;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

/* card fills tall like homepage flavor cards */
.product-card {
  /* aspect handled by content, not fixed ratio — jar + scrim + meta */
}

/* ----------------------------------------─
   PRODUCT CARD — homepage flavor card style
----------------------------------------─ */
.product-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
  min-height: 430px;
}

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

.product-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.product-card-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -6px;
}

/* full-bleed gradient fills — same palette as homepage cards */
.product-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-bg {
  transform: scale(1.04);
}

.product-card-raw .product-card-bg {
  background: radial-gradient(circle at 50% 24%, rgba(247, 241, 233, 0.96) 0%, rgba(247, 241, 233, 0.72) 18%, rgba(247, 241, 233, 0.28) 34%, rgba(247, 241, 233, 0) 52%), radial-gradient(circle at 50% 34%, rgba(197, 185, 171, 0.34) 0%, rgba(197, 185, 171, 0) 42%), radial-gradient(ellipse at 56% 74%, #ddd1c4 0%, #b5a798 42%, #8f8173 100%);
}

.product-card-wm .product-card-bg {
  background: radial-gradient(circle at 50% 24%, rgba(255, 244, 228, 0.96) 0%, rgba(255, 244, 228, 0.7) 18%, rgba(255, 244, 228, 0.26) 34%, rgba(255, 244, 228, 0) 52%), radial-gradient(circle at 50% 34%, rgba(255, 184, 176, 0.44) 0%, rgba(255, 184, 176, 0) 42%), radial-gradient(ellipse at 56% 74%, #f19e8f 0%, #de7468 42%, #bc544d 100%);
}

.product-card-gc .product-card-bg {
  background: radial-gradient(circle at 50% 24%, rgba(255, 250, 218, 0.96) 0%, rgba(255, 250, 218, 0.7) 18%, rgba(255, 250, 218, 0.25) 34%, rgba(255, 250, 218, 0) 52%), radial-gradient(circle at 50% 34%, rgba(255, 222, 120, 0.42) 0%, rgba(255, 222, 120, 0) 42%), radial-gradient(ellipse at 56% 74%, #f7d261 0%, #efb534 42%, #d58b19 100%);
}

.product-card-rl .product-card-bg {
  background: radial-gradient(circle at 50% 24%, rgba(255, 235, 244, 0.97) 0%, rgba(255, 235, 244, 0.72) 18%, rgba(255, 235, 244, 0.28) 34%, rgba(255, 235, 244, 0) 52%), radial-gradient(circle at 50% 34%, rgba(235, 146, 190, 0.4) 0%, rgba(235, 146, 190, 0) 42%), radial-gradient(ellipse at 56% 74%, #e28ab8 0%, #cf5d98 42%, #a43774 100%);
}

/* jar sits in the upper portion of the card */
.product-img-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 24px;
  flex: 1 1 auto;
  min-height: 180px;
  pointer-events: none;
}

.product-jar-image {
  width: min(66%, 250px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
  transition: transform 0.5s ease;
}

.product-card:hover .product-jar-image {
  transform: translateY(-6px) scale(1.02);
}

.product-jar-image-gc {
  margin-top: -6px;
}

.product-jar-image-rl {
  margin-top: -10px;
}

.product-jar-image-raw {
  width: min(68%, 258px);
}

/* scrim + content pinned to bottom, like homepage */
.product-card-content {
  position: relative;
  z-index: 2;
  padding: 0 28px 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42) 0%, transparent 100%);
  pointer-events: none;
}

.product-card-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.product-card-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.product-name {
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.1;
}

.product-size {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 14px;
}

/* frosted glass CTA — same as homepage "Shop now" */
.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  padding: 9px 20px;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.product-card:hover .product-cta {
  background: rgba(255, 255, 255, 0.35);
}

/* price + rating live below the card, clean on white */
.product-meta {
  position: relative;
  z-index: 2;
  padding: 16px 18px 18px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.product-meta-top {
  display: none;
}

.amazon-logo {
  font-style: normal;
  opacity: 0.85;
}

/* center CTA in lower card area */
.meta-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: auto;
}

.meta-cta-bwp {
  flex-direction: column;
  gap: 10px;
}

.meta-cta .product-cta {
  margin: 0;
  min-width: 138px;
}

.buy-with-prime-widget {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}
/* ----------------------------------------─
   CLOSING
----------------------------------------─ */
.shop-note {
  background: #163f56;
  padding: 64px 48px;
  text-align: center;
}

.shop-note-inner {
  max-width: 520px;
  margin: 0 auto;
}
.shop-note .section-kicker {
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 14px;
}

.shop-note p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.shop-note-cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #163f56;
  border-radius: 100px;
  padding: 13px 28px;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ----------------------------------------─
   MOBILE
----------------------------------------─ */
@media (max-width: 900px) {
  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .shop-hero {
    padding: 124px 24px 72px;
  }
  .shop-title {
    font-size: 52px;
    letter-spacing: -2px;
  }
  .shop-title em {
    font-size: 46px;
    display: block;
  }
  .shop-intro {
    font-size: 17px;
  }
  .shop-section {
    padding: 64px 24px 80px;
  }
  .shop-note {
    padding: 56px 24px;
  }
  .product-img-wrap {
    padding: 40px 24px 16px;
    min-height: 210px;
  }
  .product-jar-image {
    width: min(48%, 235px);
  }
  .product-jar-image-raw {
    width: min(50%, 245px);
  }
}

@media (max-width: 540px) {
  .product-grid-4 {
    grid-template-columns: 1fr;
  }
}
