:root {
  --bg: #f7f3ee;
  --paper: rgba(255,255,255,0.82);
  --paper-strong: #fffdfa;
  --text: #2a1e19;
  --muted: #75655d;
  --line: rgba(107,78,61,0.12);
  --brand: #a45134;
  --brand-dark: #7f3b23;
  --gold: #d7a44e;
  --green: #2aa561;
  --shadow: 0 18px 48px rgba(62, 38, 26, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --sidebar: 290px;
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215,164,78,0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(164,81,52,0.08), transparent 24%),
    linear-gradient(180deg, #fbf8f3 0%, #f7f3ee 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(94%, var(--max)); margin: 0 auto; }


/* Remove extra left/right padding from the main layout container */
.container.layout {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}
/* Make the logo match the banner proportions */
.brand-logo {
  height: 72px;        /* matches the visual scale of your banner */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Ensure the brand container doesn't squeeze the logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

/* Prevent nav items from pushing the logo */
.navbar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 1.2rem;
}


.layout {
  display: grid;
  grid-template-columns: 260px 1fr; /* Sidebar + content */
  gap: 0; /* Remove spacing between them */
  width: 100%;
}

/* Make sidebar sticky */
.sidebar {
  position: sticky;
  top: 110px; /* Adjust depending on header + topbar height */
  align-self: start;
  height: fit-content;
}
.sidebar-card {
  width: 100%;
}
.sidebar {
  padding-left: 0;
  margin-left: 0;
}
main {
  padding: 1.5rem 2rem; /* clean spacing */
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  align-items: start;
}
.sidebar-card {
  height: auto;
}
@media (max-width: 768px) {
  .sidebar {
    position: static;
  }
}

/* Fullscreen loader */
#loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}
.brand-logo {
  height: 60px;   /* adjust to your actual logo size */
  width: auto;
  object-fit: contain;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

/* Logo styling */
.loader-logo img {
  width: 120px;
  height: auto;
  animation: logoPulse 1.4s infinite ease-in-out;
}

/* Toys container */
.loader-toys {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

/* Each toy */
.loader-toys span {
  font-size: 2.2rem;
  opacity: 0;
  transform: translateX(-50px) rotate(-90deg);
  animation: toyRoll 1.2s forwards ease;
}

/* Stagger toys */
.loader-toys span:nth-child(1) { animation-delay: 0.2s; }
.loader-toys span:nth-child(2) { animation-delay: 0.4s; }
.loader-toys span:nth-child(3) { animation-delay: 0.6s; }
.loader-toys span:nth-child(4) { animation-delay: 0.8s; }

/* Toy roll animation */
@keyframes toyRoll {
  0% { opacity: 0; transform: translateX(-50px) rotate(-90deg); }
  100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

/* Logo pulse animation */
@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* Fade out */
#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}


.topbar {
  background: #2c211d;
  color: #fff7ef;
  text-align: center;
  font-size: 14px;
  padding: 10px 18px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(251,248,243,0.86);
  border-bottom: 1px solid rgba(107,78,61,0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-dark);
}
.brand-tagline {
  color: var(--muted);
  font-size: 13px;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
  gap: 1.2rem;
}
.nav-links a {
  font-weight: 600;
  color: #453632;
}
.nav-links a.active,
.nav-links a:hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(62, 38, 26, 0.12); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #c76a48); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.7); color: var(--brand); border: 1px solid rgba(164,81,52,0.24); }
.btn-whatsapp { background: linear-gradient(135deg, #29d667, #1ba44f); color: #fff; }

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 28px 0 64px;
}

.sidebar {
  position: sticky;
  top: 108px;
}
.sidebar-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow);
}
.sidebar-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.category-group {
  border-top: 1px solid rgba(107,78,61,0.08);
}
.category-group:first-of-type { border-top: 0; }
.category-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 16px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.category-toggle span:last-child {
  color: var(--muted);
  font-size: 18px;
  transition: transform .2s ease;
}
.category-group.open .category-toggle span:last-child { transform: rotate(45deg); }
.submenu {
  display: none;
  padding: 0 4px 14px 10px;
}
.category-group.open .submenu { display: block; }
.submenu a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 15px;
}
.submenu a:hover,
.submenu a.active { color: var(--brand); }
.sidebar-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff3e6, #fff8f1);
  border: 1px solid rgba(164,81,52,0.12);
  color: var(--muted);
  font-size: 14px;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 430px;
  background:
    linear-gradient(100deg, rgba(44,28,22,0.82) 0%, rgba(44,28,22,0.42) 44%, rgba(44,28,22,0.18) 100%),
    radial-gradient(circle at 78% 18%, rgba(255,209,125,0.26), transparent 24%),
    linear-gradient(135deg, #c77a55 0%, #8f462a 48%, #5d2c1e 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(107,78,61,0.10);
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto 2% 0% auto;
  width: min(44vw, 420px);
  height: min(44vw, 520px);
  background: url('logo.png') center/contain no-repeat;
  opacity: 0.2;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.20));
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 52px 48px;
  max-width: 760px;
  color: #fff8f0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.hero-inner h1 {
  margin: 0 0 14px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-size: clamp(38px, 5vw, 66px);
}
.hero-inner p {
  margin: 0;
  max-width: 610px;
  color: rgba(255,248,240,0.9);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.offer-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.offer-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
}
.offer-card span { color: var(--muted); }

.section { margin-top: 28px; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}
.section-header h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}
.section-header p { margin: 6px 0 0; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-media {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff;
  font-weight: 700;
}
.media-toy { background: linear-gradient(135deg, #e8b15a, #b85c3f); }
.media-gift { background: linear-gradient(135deg, #c75c71, #824a73); }
.media-decor { background: linear-gradient(135deg, #79916d, #a45134); }
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(6px);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.product-media::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px auto;
  width: 95px;
  height: 95px;
  background: url('logo.png') center/contain no-repeat;
  opacity: 0.22;
}
.product-body { padding: 18px 18px 20px; }
.product-body h3 { margin: 0 0 8px; font-size: 22px; }
.product-body p { margin: 0 0 14px; color: var(--muted); }
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}
.price { font-weight: 800; color: var(--text); }

.callout {
  border-radius: 28px;
  padding: 30px;
  background: linear-gradient(135deg, #fff4ea, #fffaf4);
  border: 1px solid rgba(164,81,52,0.12);
  box-shadow: var(--shadow);
}
.callout h3,
.callout h2 { margin: 0 0 8px; }
.callout p { margin: 0; color: var(--muted); }
.callout-row {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}

.page-head {
  margin-bottom: 18px;
}
.page-head .kicker {
  color: var(--brand);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.page-head h1 { margin: 6px 0 8px; font-size: clamp(34px, 4vw, 50px); letter-spacing: -0.03em; }
.page-head p { margin: 0; color: var(--muted); }
.subcategory-section { margin-top: 24px; }
.subcategory-section h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tile {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tile strong { display: block; margin-bottom: 6px; }
.tile p { margin: 0 0 14px; color: var(--muted); }

.footer {
  margin-top: 46px;
  border-top: 1px solid rgba(107,78,61,0.08);
  background: rgba(255,255,255,0.36);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0 34px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-meta { color: var(--muted); font-size: 14px; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 30px rgba(34, 111, 66, 0.28);
  z-index: 120;
  font-size: 28px;
}

.contact-box {
  display: grid;
  gap: 14px;
}
.contact-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
}
.contact-item strong { display: block; margin-bottom: 4px; }

@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .offer-strip,
  .product-grid,
  .tile-grid,
  .callout-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .navbar { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 14px; }
  .hero-banner { min-height: auto; }
  .hero-inner { padding: 30px 22px; }
  .offer-strip,
  .product-grid,
  .tile-grid,
  .callout-row { grid-template-columns: 1fr; }
  .sidebar-card { padding: 14px; }
  .whatsapp-float { width: 56px; height: 56px; }
}
