/* === SHOP PAGES SHARED STYLES === */

/* Offset fixed header */
.shop-page {
  padding-top: 64px;
}

/* Back link */
.back-link {
  display: inline-block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.back-link:hover {
  color: white;
}

/* ─── SHOP HERO ─── */
.shop-hero {
  background: var(--bg-warm);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.shop-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.shop-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 16px 0 20px;
}

.shop-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 560px;
}

/* ─── BRAND HERO ─── */
.brand-hero {
  padding: 80px 0 60px;
}

.brand-hero .shop-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-hero-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}

.brand-hero-tagline {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 32px;
}

.brand-hero-cta {
  display: inline-block;
  padding: 12px 24px;
  background: white;
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
}

.brand-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ─── CATEGORY HERO ─── */
.category-hero {
  padding: 80px 0 60px;
}

.category-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
}

.category-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.6;
}

.category-desc {
  margin-top: 16px;
  font-size: 15px !important;
  color: rgba(255,255,255,0.65) !important;
}

/* ─── BRAND STORY ─── */
.brand-story {
  padding: 60px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.story-box {
  max-width: 800px;
}

.story-box .label-tag {
  margin-bottom: 16px;
  display: inline-block;
}

.story-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-muted);
}

/* ─── SHOP CONTENT ─── */
.shop-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ─── BRAND LIST ─── */
.brand-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.brand-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
  transition: background 0.2s;
}

.brand-list-item:last-child {
  border-bottom: none;
}

.brand-list-item:hover {
  background: var(--bg-warm);
}

.brand-list-info h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 4px;
}

.brand-list-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

.brand-list-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.product-count {
  font-size: 13px;
  color: var(--fg-faint);
  font-weight: 500;
}

.visit-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}

/* ─── CATEGORY LIST ─── */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 6px;
  background: var(--card-bg);
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-list-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.category-list-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.category-list-info h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 8px;
}

.category-list-info p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.category-list-arrow {
  font-size: 20px;
  color: var(--fg-faint);
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── PRODUCTS HEADER ─── */
.products-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.products-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--fg);
}

.products-subtitle {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ─── PRODUCT GRID ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-info {
  padding: 20px;
}

.product-brand {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(201, 110, 58, 0.1);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}

.product-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-description {
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--forest);
}

.shop-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}

.shop-btn:hover {
  background: var(--forest-mid);
  transform: translateY(-1px);
}

/* ─── AFFILIATE DISCLAIMER ─── */
.affiliate-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--fg-faint);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ─── PRODUCT DETAIL ─── */
.product-detail-hero {
  padding: 80px 0 60px;
}

.product-detail-hero .shop-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-brand-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.product-detail-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.product-detail-image img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-detail-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 20px;
}

.product-detail-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.product-detail-pfas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.pfas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(45, 125, 70, 0.1);
  border: 1px solid rgba(45, 125, 70, 0.25);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #2D7D46;
}

.pfas-sub {
  font-size: 12px;
  color: var(--fg-faint);
}

.product-shop-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.product-shop-btn:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
}

.product-affiliate-note {
  font-size: 12px;
  color: var(--fg-faint);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ─── FEATURED IN GUIDES ─── */
.featured-in-guide {
  margin-bottom: 40px;
}

.featured-in-guide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.featured-in-guide-link:hover {
  background: var(--bg);
  border-color: var(--forest);
  transform: translateX(3px);
}

.featured-in-guide-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.03em;
}

.featured-in-guide-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--forest-mid);
}

.featured-in-guide-link:hover .featured-in-guide-cta {
  color: var(--forest);
}

/* ─── RELATED PRODUCTS ─── */
.related-section {
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .brand-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .brand-list-meta {
    width: 100%;
    justify-content: space-between;
  }

  .category-list-item {
    padding: 24px;
  }

  .category-list-icon {
    font-size: 28px;
  }
}

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

  .shop-hero {
    padding: 60px 0 40px;
  }
}