/* Black Friday offer: top strip, home section, badges. Uses the tokens from style.css. */

.bf-bar {
  display: block;
  background: var(--brand-deep);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.bf-bar:hover { background: #142019; }
.bf-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-block: 7px;
  text-align: center;
}
.bf-bar-tag {
  background: #c9f0d8;
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 1px 9px;
  border-radius: 6px;
  direction: ltr;
}
.bf-bar-countdown {
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 10px;
  border-radius: 999px;
}

.bf-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding-block: 56px 60px;
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0 70px, transparent 70px 170px),
    radial-gradient(circle at 50% 0%, rgba(201, 240, 216, 0.18), transparent 55%),
    linear-gradient(165deg, #4f8f6a 0%, #2f6b4a 45%, #1f4a33 100%);
}
.bf-inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.bf-sticker {
  position: absolute;
  inset-block-start: -18px;
  inset-inline-end: 20px;
  transform: rotate(-6deg);
  background: #c9f0d8;
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  direction: ltr;
  text-align: start;
}

.bf-title { font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 0 0 18px; font-weight: 800; }

.bf-flip { display: flex; gap: 14px; justify-content: center; }
.bf-flip-card {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(92px, 16vw, 130px);
  height: clamp(118px, 20vw, 168px);
  border-radius: 16px;
  background: linear-gradient(#f4f6f1 0 50%, #e9ede6 50% 100%);
  color: var(--brand-deep);
  font-size: clamp(5rem, 13vw, 8rem);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  font-variant-numeric: tabular-nums;
}
.bf-flip-card::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 3px;
  background: #2f6b4a;
  opacity: 0.85;
}

.bf-days { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin: 18px 0 0; }
.bf-clock {
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
}
.bf-subtitle { font-size: 1.1rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); margin: 10px 0 26px; }

.bf-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 820px;
  align-items: stretch;
}
.bf-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.bf-plan.is-featured {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(-6px);
}
.bf-plan-title { margin: 0 0 2px; font-size: 1.05rem; font-weight: 800; }
.bf-plan-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background 0.15s;
}
.bf-plan-option:hover { background: rgba(255, 255, 255, 0.14); }
.bf-plan.is-featured .bf-plan-option:hover { background: var(--brand-tint); }
.bf-plan-price { font-size: 1.9rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.bf-plan.is-featured .bf-plan-price { font-size: 2.4rem; }
.bf-plan-detail { font-size: 0.82rem; opacity: 0.85; }
button.bf-plan-option { font: inherit; border: 0; background: transparent; cursor: pointer; width: 100%; }
button.bf-plan-option:disabled { cursor: default; opacity: 0.6; }
.bf-plan-add {
  margin-top: 4px; font-size: 0.78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.bf-plan.is-featured .bf-plan-add { background: var(--brand); color: #fff; }
button.bf-plan-option:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.bf-plan-gift { font-size: 0.85rem; font-weight: 700; color: var(--brand); }

.bf-gifts { margin: 22px 0 18px; font-weight: 700; font-size: 0.98rem; }
.bf-cta {
  background: #fff;
  color: var(--brand-deep);
  font-weight: 800;
  border-radius: 999px;
  padding-inline: 28px;
}
.bf-cta:hover { background: var(--cream); color: var(--brand-deep); }

.badge-bf { background: var(--brand-deep); color: #c9f0d8; }

.bf-gift-note {
  margin: 6px 0 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
}
.bf-gift-note[hidden] { display: none; }

@media (max-width: 720px) {
  .bf-section { padding-block: 40px 44px; }
  .bf-sticker { position: static; font-size: 1.05rem; padding: 7px 14px; margin-bottom: 16px; }
  .bf-plans { grid-template-columns: 1fr; max-width: 360px; }
  .bf-plan.is-featured { transform: none; order: -1; }
}

/* WhatsApp number shown as text */
.contact-phone { margin: -6px 0 14px; font-weight: 700; }
.contact-phone a { color: #fff; text-decoration: none; font-size: 1.1rem; letter-spacing: 0.03em; unicode-bidi: isolate; }
.contact-phone a:hover { text-decoration: underline; }
.bf-phone { margin: 14px 0 0; font-weight: 700; color: rgba(255, 255, 255, 0.9); }
.bf-phone a { color: #fff; font-size: 1.15rem; letter-spacing: 0.03em; text-decoration: none; unicode-bidi: isolate; }
.contact-phone-inline { margin: 8px 0 0; font-weight: 700; }
.contact-phone-inline a { unicode-bidi: isolate; letter-spacing: 0.03em; }

/* Offer products with no listed price */
.bf-big-discount {
  margin: 6px 0 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-deep);
  color: #c9f0d8;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
}
.bf-big-discount-lg { font-size: 1.15rem; padding: 12px 16px; margin-top: 14px; }

.bf-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 22px;
  font-weight: 700;
}
.bf-more-chip {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 999px;
}
.bf-more-chip:hover { background: #fff; color: var(--brand-deep); }

/* Product logos shown whole (object-fit: contain) instead of cropped */
.product-visual img.img-fit { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; }

/* ---------- Loading skeletons ----------
   Grey placeholders shaped like the real cards, shown until the catalogue loads.
   The page scripts clear them by replacing the container's contents. */
.sk {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--border) 0%, var(--bg) 50%, var(--border) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite linear;
}
.sk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.sk-media { aspect-ratio: 16 / 10; border-radius: 0; }
.sk-body { padding: 16px; display: grid; gap: 12px; }
.sk-line { height: 12px; }
.sk-title { height: 22px; width: 220px; max-width: 70%; }
.w40 { width: 40%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w80 { width: 80%; }
.sk-pills { display: flex; gap: 8px; }
.sk-pill { height: 30px; width: 74px; border-radius: 999px; }
.sk-btn { height: 44px; border-radius: var(--radius-sm); }
.sk-price { height: 30px; width: 140px; }
.sk-row { overflow: hidden; }
.sk-feature {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.sk-tile { width: 56px; height: 56px; border-radius: 14px; }
.sk-detail-media { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.sk-detail-info { display: grid; gap: 14px; align-content: start; }
.sk-detail-info .sk-title { height: 30px; width: 80%; }

@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
}
