﻿/* Bookaro WP — design matched to original PHP storefront */

:root {
  --bg: #f6f8fc;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --text: #1b2430;
  --muted: #526273;
  --line: #d8e2ee;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ok: #047857;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(28, 53, 87, 0.14);
  --shadow-sm: 0 8px 24px rgba(28, 53, 87, 0.1);
  --font: 'Inter', system-ui, sans-serif;
  --container-max: 1240px;
  --gutter-inline: clamp(16px, 4vw, 24px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  direction: ltr;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.95rem, 0.33vw + 0.9rem, 1.04rem);
  line-height: 1.78;
  color: var(--text);
  background: radial-gradient(1100px 540px at 8% -10%, rgba(37, 99, 235, 0.12), transparent),
    radial-gradient(900px 480px at 100% 0%, rgba(14, 165, 233, 0.08), transparent), var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter-inline);
  width: 100%;
}

.main {
  flex: 1;
  width: 100%;
  padding: 24px 0 56px;
}

.container {
  width: min(var(--container-max), 100% - 32px);
  margin-inline: auto;
  padding-inline: var(--gutter-inline);
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

/* Header (original .top) */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 8px;
  flex-wrap: wrap;
}

.top-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 8px;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid #cde1fb;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 200px;
  color: inherit;
  text-decoration: none !important;
}

.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: #eef4ff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none !important;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
}

.badge {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0 6px;
  margin-inline-start: 4px;
}

.top-wa {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.06);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-block {
  width: 100%;
}

.btn-whatsapp,
.site-header__wa {
  background: var(--whatsapp);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ——— Home: Hero ——— */
.hero {
  padding: clamp(16px, 3vw, 28px) 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.hero-chip {
  display: inline-flex;
  margin-bottom: 10px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 4.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
}

.hero-tagline {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-lead {
  margin: 0 0 14px;
  color: #334155;
  font-weight: 600;
  line-height: 1.75;
}

.hero-benefits {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-benefit-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-actions .btn {
  min-height: 44px;
  min-width: 140px;
}

.hero-media {
  position: relative;
  min-height: 300px;
}

.hero-book {
  position: absolute;
  border-radius: 14px;
  border: 1px solid #cfe0f2;
  background: #fff;
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.18);
  object-fit: contain;
  z-index: 2;
}

.hero-book-main {
  width: min(72%, 300px);
  inset-inline-start: 8px;
  top: -4px;
  transform: rotate(-7deg);
  z-index: 4;
}

.hero-book-alt {
  width: min(62%, 260px);
  inset-inline-start: 38%;
  top: 72px;
  transform: rotate(10deg);
  z-index: 3;
}

.hero-book-float {
  width: min(48%, 180px);
  inset-inline-start: 0;
  top: 150px;
  transform: rotate(6deg);
  opacity: 0.92;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 150px;
  height: 150px;
  background: rgba(56, 189, 248, 0.24);
  inset-inline-start: 55%;
  top: 30px;
}

.hero-glow-2 {
  width: 120px;
  height: 120px;
  background: rgba(99, 102, 241, 0.22);
  inset-inline-start: 20%;
  top: 150px;
}

.hero-proof-card {
  position: absolute;
  inset-inline: 6px 50px;
  bottom: 8px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.hero-proof-card strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
}

.hero-proof-card span {
  font-size: 0.78rem;
  color: #64748b;
}

.hero__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero__stats li {
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hero__stats strong {
  display: block;
  font-size: 1rem;
  color: var(--accent);
}

.hero__stats span {
  font-size: 0.75rem;
  color: var(--muted);
}

.brand-story,
.reveal-up {
  scroll-margin-top: 88px;
}

.brand-story {
  padding-block: 20px 8px;
  text-align: center;
  max-width: 760px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 800;
  color: #0f172a;
}

.section-eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px auto 20px;
  width: min(var(--container-max), 100% - 32px);
  padding-inline: var(--gutter-inline);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.trust-item strong {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Promo gallery */
.promo-section {
  padding: 8px 0 20px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.promo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.promo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.promo-cap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
}

.promo-icon {
  font-size: 1.1rem;
}

/* Sections */
.section-head {
  text-align: center;
  margin-bottom: 20px;
}

.catalog-head h2 {
  margin: 0 0 6px;
}

.catalog-head p {
  margin: 0;
  color: var(--muted);
}

.delivery-badge {
  text-align: center;
  margin: 0 0 16px;
  padding: 8px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.products-section {
  padding: 12px 0 28px;
}

.product-grid,
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Product cards */
.product-card,
.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, 0.25);
}

.most-requested-badge {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  background: linear-gradient(180deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
}

.product-card__image-link,
.card-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__img,
.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  padding: 14px;
  transition: transform 0.35s ease;
}

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

.card-img-placeholder {
  display: grid;
  place-items: center;
  font-size: 3rem;
  color: #94a3b8;
  min-height: 200px;
}

.product-card__body,
.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__badge {
  display: inline-flex;
  align-self: flex-start;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card h3 a:hover {
  color: var(--accent);
}

.product-card__desc,
.desc {
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.65;
  flex: 1;
}

.product-card__price,
.price {
  margin: 0;
  color: #047857;
  font-weight: 800;
  font-size: 1.3rem;
  background: linear-gradient(90deg, #ecfeff, #eef2ff);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
}

.card-delivery-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.product-card__btn,
.card-btn {
  width: 100%;
  margin-top: 4px;
}

/* Family bundle */
.home-bundle-banner,
.bundle-promo {
  margin: 0 0 20px;
  scroll-margin-top: 88px;
}

.home-bundle-banner__inner,
.bundle-promo__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  border: 2px solid #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 55%, #fef3c7 100%);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.12);
  text-align: left;
}

.home-bundle-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: #92400e;
}

.home-bundle-banner p {
  margin: 0 0 12px;
  color: #78350f;
  font-weight: 600;
  line-height: 1.7;
}

.home-bundle-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.home-bundle-price-old {
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 700;
}

.home-bundle-price-new,
.bundle-promo__price {
  color: #047857;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 900;
}

.home-bundle-perks {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #78350f;
}

.home-bundle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-bundle-actions .btn {
  min-height: 44px;
}

.home-bundle-hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: #047857;
  font-weight: 600;
}

.home-bundle-hint.is-error {
  color: #b91c1c;
}

.home-bundle-books {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-bundle-book {
  border-radius: 12px;
  border: 1px solid #fde68a;
  background: #fff;
  box-shadow: 0 12px 24px rgba(120, 53, 15, 0.15);
  object-fit: contain;
}

.home-bundle-book--adult {
  transform: rotate(-8deg);
  z-index: 2;
}

.home-bundle-book--kids {
  margin-inline-start: -28px;
  transform: rotate(8deg);
  z-index: 3;
}

.home-bundle-plus {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
  z-index: 4;
}

/* Features */
.features-section {
  padding: 20px 0;
}

.features-grid,
.features {
  display: grid;
  gap: 14px;
}

.feature-card,
.feature {
  background: var(--surface);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.feature-icon {
  display: inline-flex;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.feature-card h3,
.feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #0f172a;
}

.feature-card p,
.feature p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Testimonials */
.testimonials-section {
  padding: 24px 0;
}

.home-testimonials-head {
  max-width: 640px;
  margin-inline: auto;
}

.testimonials-grid {
  display: grid;
  gap: 14px;
}

.testimonial-card {
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.testimonial-card__avatar,
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #dbeafe;
}

.testimonial-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-meta strong {
  display: block;
  font-size: 0.92rem;
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--muted);
}

.testimonial-verified {
  color: #059669;
  font-weight: 800;
  background: #ecfdf5;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.testimonial-stars,
.testimonial-card__stars {
  color: #f59e0b;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.testimonial-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #334155;
}

/* FAQ */
.faq-section {
  padding: 16px 0 24px;
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background: var(--surface);
  margin-bottom: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
  color: #475569;
  line-height: 1.7;
}

/* Home CTA */
.home-cta {
  padding: 8px 0 32px;
}

.home-cta__inner {
  text-align: center;
  padding: 24px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow-sm);
}

.home-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.home-cta p {
  margin: 0 0 16px;
  color: var(--muted);
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

@media (min-width: 600px) {
  .product-grid,
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .hero-media {
    min-height: 380px;
  }

  .features-grid,
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-bundle-banner__inner,
  .bundle-promo__inner {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 22px 24px;
  }

  .trust-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .promo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hero-media {
    min-height: 260px;
  }

  .hero-book-main {
    width: min(65%, 220px);
  }

  .hero-book-alt {
    width: min(55%, 190px);
    inset-inline-start: 42%;
    top: 58px;
  }

  .hero-book-float {
    display: none;
  }

  .hero-proof-card {
    inset-inline: 4px 4px;
    bottom: 0;
  }

  .hero-actions .btn,
  .home-bundle-actions .btn,
  .home-cta__actions .btn {
    width: 100%;
  }

  .home-bundle-book--kids {
    margin-inline-start: -18px;
  }
}

/* Product page */
.bookaro-product {
  padding-bottom: 100px;
}

.bookaro-product__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: 20px;
}

.bookaro-product__media,
.bookaro-product__info {
  width: 100%;
  min-width: 0;
}

.bookaro-product__hero {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  object-fit: contain;
}

.bookaro-product__video {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 16px auto;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: var(--radius);
}

.bookaro-product__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bookaro-product__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.bookaro-product__gallery img {
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1;
}

.bookaro-product__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.bookaro-product__highlights {
  padding-inline-start: 1.2rem;
}

.bookaro-product__specs {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}

.bookaro-product__specs th,
.bookaro-product__specs td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  text-align: start;
}

.bookaro-order-form {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.bookaro-order-form .field {
  display: block;
  margin-bottom: 12px;
}

.bookaro-order-form input[type='number'] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.bookaro-bundle-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  cursor: pointer;
}

.bookaro-bundle-hint {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

@media (min-width: 900px) {
  .bookaro-product__layout {
    flex-direction: row;
    align-items: flex-start;
  }
  .bookaro-product__media {
    flex: 0 0 45%;
  }
  .bookaro-product__info {
    flex: 1;
  }
}

/* Sticky bar */
.bookaro-sticky-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid #eee;
  padding: 12px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.25s;
}

.bookaro-sticky-bar.is-visible {
  transform: translateY(0);
}

.bookaro-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Shop page */
.shop-page {
  padding-block: 24px 48px;
}

.shop-page__grid {
  margin-top: 8px;
}

/* WooCommerce (cart / checkout) */
.woocommerce-wrap {
  padding-block: 24px;
}

.woocommerce table.shop_table {
  width: 100%;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.woocommerce-checkout #payment {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
}

.prose {
  max-width: 720px;
  margin: 24px auto;
  padding-inline: 16px;
}

.prose h1 {
  margin-top: 0;
}

.prose h2 {
  margin: 1.4em 0 0.6em;
  font-size: 1.1rem;
  color: #0f172a;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.25rem;
  line-height: 1.8;
}

.prose li {
  margin-bottom: 0.35em;
}

.prose-updated {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.legal-highlight {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 14px 16px;
  color: #9a3412;
  line-height: 1.75;
}

.legal-back-links {
  margin-top: 1.75rem;
}

.legal-inline-note {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.7;
}

.bookaro-wc-intro {
  margin-bottom: 20px;
}

.bookaro-wc-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
}

.bookaro-wc-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  direction: ltr;
  text-align: left;
}

.woocommerce table.shop_table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  text-align: left;
  padding: 12px 14px;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce #place_order {
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  font-size: 1.05rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 10px;
  text-align: left;
}

/* Footer (original .foot) */
.foot {
  margin-top: auto;
  padding: 18px 0 12px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(37, 99, 235, 0.08));
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  text-align: left;
}

.foot-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  box-shadow: 0 10px 24px rgba(28, 53, 87, 0.08);
}

.foot h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
  font-weight: 800;
}

.foot p,
.foot a {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.66;
}

.foot a {
  color: var(--accent);
}

.foot-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.foot-icon-btn {
  min-width: 92px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #cfe0f5;
  background: #f8fbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1e3a8a !important;
  padding-inline: 10px;
  text-decoration: none !important;
}

.foot-icon-btn:hover {
  background: #eaf2ff;
}

.foot-muted {
  color: #64748b !important;
  font-size: 0.78rem !important;
}

.foot-contact-note {
  color: #0f766e !important;
  font-weight: 700;
}

.foot-check {
  color: #16a34a;
  font-weight: 700;
}

.foot-legal-note {
  font-size: 0.82rem;
  margin-top: 8px;
}

.foot-bottom {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: #7d8a99;
  font-size: 0.78rem;
}

.fab-whatsapp {
  position: fixed;
  bottom: 88px;
  left: 16px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none !important;
}

/* Checkout (PHP style) */
.delivery-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 20px;
}

.bookaro-checkout__title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
}

.bookaro-checkout__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .bookaro-checkout__grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}

.checkout-form-card,
.checkout-order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.checkout-order-card h2,
.checkout-order-card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.bookaro-checkout .form-row label {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.bookaro-checkout input.input-text,
.bookaro-checkout textarea,
.bookaro-checkout select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  direction: ltr;
  text-align: left;
}

.bookaro-checkout #billing_country_field,
.bookaro-checkout #billing_state_field,
.bookaro-checkout #billing_postcode_field,
.bookaro-checkout #billing_address_2_field,
.bookaro-checkout .woocommerce-additional-fields,
.bookaro-checkout .woocommerce-form-coupon-toggle,
.bookaro-checkout .checkout_coupon,
.bookaro-checkout .woocommerce-form-login-toggle,
.bookaro-checkout .woocommerce-form-login,
.bookaro-checkout-page .entry-title,
.bookaro-checkout-page .page-title,
.bookaro-checkout-page .woocommerce-billing-fields > h3 {
  display: none !important;
}

.checkout-form-card__title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.bookaro-checkout .woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bookaro-checkout .form-row {
  margin-bottom: 14px;
}

.bookaro-checkout .form-row label .optional {
  display: none;
}

.bookaro-checkout #billing_phone_field label abbr.required {
  color: #dc2626;
}

.bookaro-checkout .woocommerce-checkout-review-order-table .product-name {
  font-weight: 600;
  line-height: 1.5;
}

.bookaro-checkout .cart-subtotal th,
.bookaro-checkout .fee th,
.bookaro-checkout .order-total th {
  font-weight: 700;
}

.bookaro-checkout #payment {
  background: #f8fbff;
  border-radius: 10px;
  padding: 14px;
  margin-top: 12px;
}

.bookaro-checkout #place_order {
  width: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent2)) !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
}

.bookaro-checkout .shop_table {
  width: 100%;
  border-collapse: collapse;
}

.bookaro-checkout .shop_table th,
.bookaro-checkout .shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.bookaro-checkout .order-total .amount {
  color: var(--ok);
  font-size: 1.25rem;
  font-weight: 800;
}

.notice {
  padding: 16px;
  background: #fff3cd;
  border-radius: var(--radius);
}

/* Hide default WC block wrappers on checkout */
.bookaro-checkout .wc-block-components-notice-banner {
  margin-bottom: 12px;
}

/* Thank-you page (matches original PHP) */
.woocommerce-order-received .entry-title,
.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received .woocommerce-order-overview,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  display: none !important;
}

.thankyou-page {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  direction: ltr;
}

.thankyou-card {
  background: #fff;
  border: 1px solid #dbe4f4;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(20, 45, 74, 0.1);
  padding: 24px;
}

.thankyou-hero {
  padding: 22px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e0f2fe, #eef2ff);
  border: 1px solid #bfdbfe;
  margin-bottom: 16px;
  text-align: center;
}

.thankyou-hero--warn {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border-color: #fecaca;
}

.thankyou-hero-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 8px;
}

.thankyou-card-title {
  margin: 0 0 6px;
  color: #27364d;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
}

.thankyou-card-subtitle {
  margin: 0;
  color: #64748b;
}

.thankyou-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.thankyou-steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.thankyou-steps h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.thankyou-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.thankyou-invoice {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 16px 0;
}

.thankyou-invoice-head,
.thankyou-invoice-line {
  display: grid;
  grid-template-columns: 1.7fr 0.5fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 12px 4px;
}

.thankyou-invoice-head {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.thankyou-invoice-line {
  border-top: 1px solid #edf2f7;
}

.thankyou-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.thankyou-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid #dbe4f4;
  object-fit: cover;
  background: #f8fbff;
  flex-shrink: 0;
}

.thankyou-item-thumb-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: #eef2f7;
}

.thankyou-item-text small {
  color: #64748b;
  font-size: 0.8rem;
}

.thankyou-totals > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.thankyou-totals .is-grand {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid #e2e8f0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ok);
}

.thankyou-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.thankyou-whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 12px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none !important;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(18, 140, 126, 0.32);
  max-width: 100%;
}

.thankyou-whatsapp-cta:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.thankyou-whatsapp-cta-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.thankyou-whatsapp-help {
  text-align: center;
  font-size: 0.88rem;
  color: #475569;
  margin: 0 0 18px;
}

.thankyou-upsell {
  margin: 22px 0 0;
  padding: 18px;
  background: linear-gradient(135deg, #fefce8 0%, #fff7ed 100%);
  border: 1px solid #fde68a;
  border-radius: 16px;
}

.thankyou-upsell-title {
  margin: 0 0 10px;
  font-weight: 800;
  color: #b45309;
}

.thankyou-upsell-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.thankyou-upsell-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #fcd34d;
}

.thankyou-upsell-name {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.thankyou-upsell-sub {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.thankyou-upsell-price {
  display: block;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.thankyou-more-products {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.thankyou-more-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 16px;
  text-align: center;
}

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

@media (min-width: 600px) {
  .product-grid--thankyou {
    grid-template-columns: repeat(2, 1fr);
  }
}

.thankyou-actions-center {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.thankyou-home-btn {
  min-width: 220px;
}

@media (max-width: 600px) {
  .thankyou-invoice-head,
  .thankyou-invoice-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .thankyou-invoice-head {
    display: none;
  }

  .thankyou-invoice-line {
    padding: 14px 0;
  }
}
