/* ============================================
   RIO FRESH COFFEE - Products Page Styles
   ============================================ */

.products-hero {
  padding: 160px 0 92px;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--off-white) 72%, var(--cream) 100%);
  overflow: hidden;
}

.products-hero__intro {
  max-width: 820px;
  margin: 0 auto 62px;
  text-align: center;
}

.products-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  background: rgba(232,160,32,0.12);
  border: 1px solid rgba(232,160,32,0.30);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.products-hero__eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brown);
}

.products-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.15rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--brown-dark);
  margin-bottom: 22px;
}

.products-hero__title em {
  color: var(--amber);
  font-style: italic;
}

.products-hero__sub {
  max-width: 650px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 auto 34px;
}

.product-shelf {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1.05fr;
  gap: 20px;
  align-items: end;
  position: relative;
}

.product-shelf::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -18px;
  height: 28px;
  border-radius: 50%;
  background: rgba(57,27,27,0.12);
  filter: blur(16px);
  pointer-events: none;
}

.shelf-product {
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(232,160,32,0.16);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.shelf-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.shelf-product--powder {
  min-height: 500px;
  background: var(--brown-dark);
  color: var(--amber-pale);
}

.shelf-product__visual {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(232,160,32,0.14), rgba(250,247,242,0.36));
  margin-bottom: 24px;
}

.shelf-product--powder .shelf-product__visual {
  background: linear-gradient(145deg, rgba(250,247,242,0.09), rgba(232,160,32,0.12));
}

.shelf-product--tea .shelf-product__visual {
  background: linear-gradient(145deg, rgba(168,200,128,0.2), rgba(250,247,242,0.42));
}

.shelf-product__image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 28px 60px rgba(107,45,45,0.14);
}

.shelf-product__image[src*="YOUR_"] {
  display: none;
}

.shelf-product__visual:has(.shelf-product__image[src*="YOUR_"])::after {
  content: 'product image URL ';
  color: var(--text-muted);
  border: 1.5px dashed rgba(107,45,45,0.22);
  border-radius: var(--radius-md);
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelf-product--powder .shelf-product__visual:has(.shelf-product__image[src*="YOUR_"])::after {
  color: rgba(245,240,220,0.64);
  border-color: rgba(245,192,96,0.38);
}

.shelf-product__label {
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.shelf-product--powder .shelf-product__label {
  color: rgba(245,192,96,0.72);
}

.shelf-product__title {
  color: var(--brown-dark);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.shelf-product--powder .shelf-product__title {
  color: var(--amber-pale);
}

.shelf-product__copy p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.shelf-product--powder .shelf-product__copy p {
  color: rgba(245,240,220,0.6);
}

.products-main {
  padding: 105px 0;
  background: var(--off-white);
}

.product-feature-stack {
  display: grid;
  gap: 28px;
  margin-top: 56px;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: stretch;
  background: var(--cream);
  border: 1px solid rgba(232,160,32,0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.product-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,160,32,0.28);
}

.product-feature__media {
  min-height: 320px;
  background: linear-gradient(145deg, var(--amber-pale), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.product-feature__image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.product-feature__image[src*="YOUR_"] {
  display: none;
}

.product-feature__media:has(.product-feature__image[src*="YOUR_"])::after {
  content: ' product image URL';
  width: 100%;
  min-height: 250px;
  border: 1.5px dashed rgba(107,45,45,0.24);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-feature--powder .product-feature__media {
  background: linear-gradient(145deg, #F0E8E0, #D4A880);
}

.product-feature--tea .product-feature__media {
  background: linear-gradient(145deg, #E8F0E0, #A8C880);
}

.product-feature__content {
  padding: 42px 42px 42px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-feature__label {
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product-feature__title {
  color: var(--brown-dark);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.product-feature__text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 24px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tags span {
  border-radius: var(--radius-pill);
  background: rgba(232,160,32,0.12);
  color: var(--brown);
  border: 1px solid rgba(232,160,32,0.22);
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
}

.quality-section {
  padding: 100px 0;
  background: var(--cream);
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 64px;
  align-items: start;
}

.quality-list {
  display: grid;
  gap: 2px;
  background: rgba(232,160,32,0.12);
  border: 1px solid rgba(232,160,32,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.quality-item {
  background: var(--off-white);
  padding: 28px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.quality-item__num {
  color: rgba(232,160,32,0.42);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.quality-item__title {
  color: var(--brown-dark);
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.quality-item__text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}


@media (max-width: 1024px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }

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

  .shelf-product,
  .shelf-product--powder {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding: 132px 0 72px;
  }

  .products-main,
  .quality-section,
  .products-cta {
    padding: 72px 0;
  }

  .product-feature {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-feature__content {
    padding: 32px 24px;
  }

  .product-feature__media {
    min-height: 260px;
  }

  .quality-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .products-hero__title {
    font-size: clamp(2.5rem, 12vw, 3.3rem);
  }

  .shelf-product {
    padding: 18px;
  }

  .shelf-product__visual {
    min-height: 220px;
  }
}
