/* =============================================
   ALVAR FRESH — 9/10 storefront polish
   Shop · Checkout · Copy blocks · Product grid
============================================= */

/* —— Shop promo strip —— */
.shop-promo-strip {
  background: linear-gradient(90deg, var(--green) 0%, #3d6b1f 100%);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 500;
}

.shop-promo-strip strong {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.shop-promo-strip code {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* —— Shop hero upgrade —— */
.shop-hero.shop-hero--premium {
  padding: 48px 0 40px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 148, 42, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.shop-hero.shop-hero--premium h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

.shop-hero__lead {
  font-size: 1.05rem !important;
  color: var(--text-mid) !important;
  max-width: 580px !important;
}

.shop-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 28px;
}

/* —— Why shop with us (on shop page) —— */
.shop-promise {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 16px;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
}

.shop-promise h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--earth);
  text-align: center;
  margin-bottom: 20px;
}

.shop-promise__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shop-promise__item {
  text-align: center;
  padding: 12px 8px;
}

.shop-promise__item span.shop-promise__icon {
  font-size: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  min-height: 36px;
}

.shop-promise__item .shop-promise__icon .af-ui-icon--img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.shop-promise__item span:not(.shop-promise__icon) {
  font-size: 1rem;
}

.shop-promise__item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--earth);
  margin-bottom: 4px;
}

.shop-promise__item p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.45;
  margin: 0;
}

/* —— Product grid density —— */
.shop-main .products-grid--premium {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px 18px;
}

.shop-section-desc {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  color: var(--text-mid) !important;
  margin: -8px 0 24px !important;
  max-width: 640px;
}

.shop-section-head h2 {
  font-size: 1.5rem !important;
}

/* —— Checkout 9/10 —— */
.checkout-page .page-hero {
  padding: 36px 0 28px;
  text-align: left;
}

.checkout-page .page-hero .container {
  max-width: 1100px;
}

.checkout-page .page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.checkout-page .page-hero p {
  margin-top: 8px;
  color: rgba(253, 246, 236, 0.8);
  font-size: 0.95rem;
}

.checkout-steps {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(253, 246, 236, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.checkout-step.active {
  color: var(--gold-light);
}

.checkout-step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.checkout-step.active .checkout-step__num {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--earth);
}

.checkout-page .page-content {
  padding-top: 40px !important;
  padding-bottom: 100px !important;
  background: var(--cream);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.checkout-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.checkout-panel h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--earth);
  margin: 0 0 6px;
}

.checkout-panel .panel-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 22px;
  line-height: 1.5;
}

.checkout-summary-sticky {
  position: sticky;
  top: 88px;
}

.checkout-summary-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.checkout-summary-box h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--earth);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.checkout-guarantee {
  margin-top: 16px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.checkout-guarantee li {
  list-style: none;
  padding: 4px 0 4px 22px;
  position: relative;
}

.checkout-guarantee li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.checkout-trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-mid);
}

.checkout-trust-pill {
  background: var(--cream);
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

.btn-checkout-primary {
  width: 100%;
  padding: 16px !important;
  font-size: 1rem !important;
  margin-top: 8px;
  justify-content: center;
}

.btn-checkout-wa {
  width: 100%;
  margin-top: 10px;
  padding: 14px !important;
  justify-content: center;
  border-color: #25d366 !important;
  color: #0d6b4f !important;
  font-weight: 700 !important;
}

/* —— Cart drawer polish —— */
.cart-drawer .cart-header h3 {
  font-family: var(--font-display);
  color: var(--earth);
}

.cart-drawer .btn-checkout {
  width: 100%;
  justify-content: center;
  padding: 14px !important;
  font-size: 0.95rem !important;
}

/* —— Home hero copy emphasis —— */
.hero--premium .hero-text h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-subline {
  font-size: 1rem;
  color: var(--text-mid);
  margin-top: -8px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* —— Newsletter shop/home —— */
.newsletter h2 {
  font-family: var(--font-display);
}

.newsletter p {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .shop-promise__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary-sticky {
    position: static;
    order: -1;
  }
}

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