/*
Theme Name: ET Sweets Woo Shop
Theme URI: https://example.com/
Author: ET Sweets
Description: A bright WooCommerce-ready WordPress theme for ET Sweets, a sweets and toys shop.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: et-sweets
*/

:root {
  --red: #ef2b23;
  --yellow: #ffd43b;
  --green: #80d92b;
  --blue: #0b214a;
  --cream: #fff7df;
  --text: #1f2937;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  background: var(--blue);
  color: white;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; }
.logo-wrap img { width: 72px; border-radius: 14px; }
.nav { display: flex; gap: 18px; align-items: center; font-weight: 700; }
.nav a:hover { color: var(--yellow); }
.cart-link { background: var(--red); padding: 10px 16px; border-radius: 999px; }

.hero {
  background: radial-gradient(circle at top left, #58d8ff, transparent 30%), linear-gradient(135deg, #101b45, #182e70 55%, #e92727);
  color: white;
  padding: 80px 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); line-height: .95; margin: 0 0 18px; }
.hero p { font-size: 20px; line-height: 1.55; max-width: 620px; }
.hero-card { background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.25); border-radius: 34px; padding: 24px; text-align: center; backdrop-filter: blur(6px); }
.hero-card img { border-radius: 26px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 800; }
.btn-primary { background: var(--yellow); color: #101b45; }
.btn-secondary { background: white; color: var(--red); }

.section { padding: 64px 0; }
.section h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 12px; color: var(--blue); }
.lead { font-size: 18px; line-height: 1.6; max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.card { background: white; border-radius: 24px; padding: 26px; box-shadow: 0 12px 28px rgba(0,0,0,.08); border: 3px solid #fff; }
.card:hover { border-color: var(--yellow); transform: translateY(-2px); transition: .2s; }
.card h3 { margin-top: 0; color: var(--red); font-size: 24px; }
.card p { line-height: 1.6; }

.shop-strip { background: var(--red); color: white; text-align: center; }
.shop-strip h2 { color: white; }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: white;
  border-radius: 20px;
  padding: 16px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--red) !important;
  color: white !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}
.woocommerce span.onsale { background: var(--green) !important; color: #0b214a !important; }

.site-footer { background: #071126; color: white; padding: 34px 0; text-align: center; }
.footer-links { margin-top: 12px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

@media (max-width: 840px) {
  .hero-grid, .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 52px 0; }
}
