/* Kingsreed Christmas boutique theme */
:root {
  --xmas-red: #c41e3a;
  --xmas-red-dark: #9b1830;
  --xmas-gold: #d4a017;
  --xmas-cream: #fff8f5;
  --xmas-soft: #fdf2f4;
  --xmas-ink: #1a1a1a;
  --xmas-muted: #6b6b6b;
}
.xmas-body { background: #fff; font-family: "Jost", system-ui, sans-serif; color: var(--xmas-ink); }
.top-bar { background: var(--xmas-red); color: #fff; font-size: 13px; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar a { color: #fff; text-decoration: none; opacity: .9; }
.top-bar a.active { font-weight: 700; text-decoration: underline; }
.xmas-header { background: #fff; border-bottom: 1px solid #f0e4e8; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(196,30,58,.06); }
.xmas-header .brand-text { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
.xmas-header .brand-text small { display: block; font-family: Jost, sans-serif; font-weight: 400; font-size: 11px; color: var(--xmas-muted); letter-spacing: .3px; }
.xmas-header .nav-main a.active, .xmas-header .nav-main a:hover { color: var(--xmas-red); }
.cart-badge { background: var(--xmas-red) !important; }

/* Hero */
.xmas-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; min-height: 420px;
  background: linear-gradient(135deg, #1a0a0c 0%, #4a1520 50%, #c41e3a 100%);
  color: #fff; overflow: hidden; border-radius: 0 0 24px 24px;
}
.xmas-hero-copy { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.xmas-hero-copy h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin: 0 0 16px; }
.xmas-hero-copy p { opacity: .9; font-size: 1.05rem; margin: 0 0 28px; max-width: 420px; }
.xmas-hero-art {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="180" fill="%23ffffff11"/><text x="200" y="210" text-anchor="middle" font-size="80" fill="%23fff">🎁</text></svg>') center/cover;
  min-height: 320px; display: flex; align-items: center; justify-content: center; font-size: 120px;
}
.btn-xmas {
  display: inline-block; background: #fff; color: var(--xmas-red); font-weight: 700;
  padding: 14px 28px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer;
  transition: .2s;
}
.btn-xmas:hover { background: var(--xmas-soft); transform: translateY(-1px); }
.btn-xmas-outline {
  display: inline-block; border: 2px solid #fff; color: #fff; font-weight: 600;
  padding: 12px 24px; border-radius: 999px; text-decoration: none; margin-left: 10px;
}

/* Sections */
.xmas-section { padding: 56px 0; }
.xmas-section h2 {
  text-align: center; font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem; margin: 0 0 8px;
}
.section-sub { text-align: center; color: var(--xmas-muted); margin: 0 0 36px; }

/* Categories */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cat-card {
  background: var(--xmas-soft); border-radius: 16px; padding: 24px 16px; text-align: center;
  text-decoration: none; color: inherit; transition: .2s; border: 1px solid transparent;
}
.cat-card:hover { border-color: var(--xmas-red); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(196,30,58,.12); }
.cat-card .emoji { font-size: 42px; margin-bottom: 10px; }
.cat-card h3 { margin: 0 0 4px; font-size: 1rem; }
.cat-card span { font-size: 13px; color: var(--xmas-muted); }

/* Offer banner */
.offer-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin: 20px 0 40px; }
.offer-banner {
  background: linear-gradient(120deg, #fff 0%, #ffe4e8 100%);
  border-radius: 16px; padding: 36px; border: 1px solid #fecdd3;
  display: flex; flex-direction: column; justify-content: center;
}
.offer-banner h3 { font-family: "Playfair Display", serif; font-size: 1.6rem; margin: 0 0 8px; color: var(--xmas-red); }
.testimonial-box {
  background: #1a0a0c; color: #fff; border-radius: 16px; padding: 32px;
}
.testimonial-box p { font-style: italic; opacity: .95; line-height: 1.6; }
.testimonial-box cite { display: block; margin-top: 12px; font-style: normal; color: #f9a8d4; font-size: 14px; }

/* Products */
.prod-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.prod-card {
  background: #fff; border: 1px solid #f0e4e8; border-radius: 14px; overflow: hidden;
  transition: .2s; text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.prod-card:hover { box-shadow: 0 14px 32px rgba(196,30,58,.12); transform: translateY(-3px); }
.prod-card .thumb {
  aspect-ratio: 1; background: var(--xmas-soft); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.prod-card h3 { font-size: .95rem; margin: 0 0 6px; font-weight: 600; line-height: 1.35; }
.prod-card .price { color: var(--xmas-red); font-weight: 700; font-size: 1.05rem; margin-top: auto; }
.prod-card .price s { color: var(--xmas-muted); font-weight: 400; font-size: .85rem; margin-left: 6px; }
.badge-sale { background: var(--xmas-red); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; font-weight: 600; }

/* Free ship strip */
.perks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--xmas-red); color: #fff; padding: 28px 0; margin-top: 20px;
}
.perk { text-align: center; font-size: 14px; }
.perk strong { display: block; font-size: 15px; margin-bottom: 4px; }

/* Footer */
.xmas-footer { background: #14080a; color: #e8e0e2; padding: 48px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { border-radius: 8px; }
.footer-about { font-size: 14px; opacity: .85; line-height: 1.55; }
.xmas-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.xmas-footer a { display: block; color: #d4c8cc; text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.xmas-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a1518; padding: 16px 0; font-size: 13px; opacity: .75; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 991px) {
  .xmas-hero { grid-template-columns: 1fr; }
  .xmas-hero-copy { padding: 40px 24px; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-row, .footer-grid, .perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .cat-grid, .prod-grid, .perks, .footer-grid, .offer-row { grid-template-columns: 1fr; }
  .btn-xmas-outline { margin-left: 0; margin-top: 10px; display: inline-block; }
}

/* Extra responsive safety */
@media (max-width: 768px) {
  .shop-layout { display: block !important; }
  .shop-filters { margin-bottom: 1.5rem; }
  .header-inner { flex-wrap: wrap; }
  .nav-main.open { display: flex; flex-direction: column; width: 100%; padding: 12px 0; }
  .prod-grid, .cat-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .prod-grid, .cat-grid { grid-template-columns: 1fr !important; }
  .top-bar-inner { font-size: 12px; }
}
