*, *::before, *::after { box-sizing: border-box; }
:root {
  --primary: #e0198c;
  --primary-dark: #17161a;
  --primary-light: #fff0f8;
  --accent: #ffb33a;
  --section: #faf4ef;
  --border: #ecd9d6;
  --radius: 28px;
  --shadow: 0 20px 40px -24px rgba(23,22,26,.35);
  --cream: #faf4ef;
  --head: 'Syne', 'Montserrat', sans-serif;
}
body { background: var(--cream); font-family: 'Nunito', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
[id] { scroll-margin-top: 80px; }
.nav-brand, .hero-title, .about-title, .features-title, .products-title, .cart-title, .legal-title, .contact-title, .product-name, .feature-title, .footer-brand {
  font-family: var(--head);
}


.navbar { background: var(--cream); border-bottom: 1px solid var(--border); box-shadow: none; }
.nav-logo img { border-radius: 50%; border: 2px solid var(--primary-dark); box-shadow: none; }
.nav-brand { color: var(--primary-dark); font-size: 1.15em; letter-spacing: 0; }
.nav-links a { font-weight: 700; font-size: .98em; }
.nav-links a:hover, .nav-links a:focus { color: var(--primary); border-bottom-color: var(--primary); }
.nav-cart-btn { background: var(--primary-dark); box-shadow: none; }
.nav-cart-btn:hover { background: var(--primary); }
.nav-cart-btn .cart-qty { background: var(--accent); color: var(--primary-dark); }
.nav-burger span { background: var(--primary-dark); }
.mobile-menu { background: var(--cream); }
.mobile-menu a { color: var(--primary-dark); }


.hero {
  display: grid; grid-template-columns: 1.4fr .6fr; grid-template-rows: auto auto auto; align-content: center; justify-items: start; column-gap: 3rem;
  background: radial-gradient(circle at 85% 30%, rgba(224,25,140,.55) 0, transparent 42%), radial-gradient(circle at 10% 100%, rgba(255,179,58,.25) 0, transparent 38%), var(--primary-dark);
  text-align: left; min-height: 580px; padding: calc(var(--nav-height) + 3rem) max(6vw, calc((100vw - 1120px) / 2)) 5rem;
}
.hero-logo { grid-column: 2; grid-row: 1 / span 3; margin: 0; justify-self: center; align-self: center; }
.hero-logo img { width: 240px; height: 240px; border-radius: 50%; border: none; padding: 1.6rem; object-fit: contain; box-shadow: 0 0 0 10px rgba(255,255,255,.1), 0 0 0 22px rgba(255,255,255,.05); }
.hero-title { grid-column: 1; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; text-shadow: none; margin: 0 0 1.2rem; font-weight: 800; }
.hero-subtitle { grid-column: 1; text-shadow: none; color: #f0e6e8; max-width: 520px; font-size: 1.15em; }
.hero-cta { grid-column: 1; background: var(--accent); color: var(--primary-dark); border-radius: 0; box-shadow: none; text-transform: uppercase; letter-spacing: .12em; font-size: .9em; padding: 1.1em 2.4em; }
.hero-cta:hover, .hero-cta:focus { background: #fff; color: var(--primary-dark); }


main { max-width: 1120px; margin-top: 0; padding: 0 5vw 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
main > section { margin: 0 !important; max-width: none !important; grid-column: 1 / -1; }
main > .legal-section { grid-column: auto; }
main > .about-section { margin-top: 5rem !important; }
main > .features-section, main > .products-section, main > .cart-section, main > .contact-section { margin-top: 3rem !important; }
main > .legal-section:first-of-type { }
#privacy-policy { margin-top: 3rem !important; }
#terms, #return-policy { margin-top: 3rem !important; }


.about-section { background: none; border: none; box-shadow: none; padding: 0; text-align: left; display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; align-items: start; }
.about-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.05; color: var(--primary-dark); text-transform: none; margin: 0; position: sticky; top: 100px; }
.about-title::after { content: ''; display: block; width: 70px; height: 6px; background: var(--primary); margin-top: 1.1rem; }
.about-body { text-align: left; max-width: none; font-size: 1.08em; }
.about-list { max-width: none; padding: 0; list-style: none; display: grid; gap: .7rem; margin-top: 1.4rem; }
.about-list li { background: #fff; border-left: 5px solid var(--primary); padding: .8rem 1.1rem; margin: 0; color: var(--primary-dark); }


.features-section { background: var(--primary); border: none; border-radius: var(--radius); box-shadow: none; color: #fff; padding: 3rem 2rem 2.4rem; }
.features-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.6rem; }
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.feature-card { background: transparent; border: none; box-shadow: none; max-width: none; margin: 0; padding: .5rem 1.2rem; }
.feature-card + .feature-card { border-left: 1px solid rgba(255,255,255,.35); }
.feature-title { color: #fff; font-size: 1em; }
.feature-desc { color: #ffe3f3; font-size: .88em; }


.products-section { background: none; border: none; box-shadow: none; padding: 0; text-align: left; }
.products-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--primary-dark); margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1.2rem; }
.products-title::after { content: ''; flex: 1; height: 3px; background: var(--primary-dark); }
.product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.product-card { max-width: none; margin: 0; padding: 0 0 1.2rem; border: none; border-radius: 0; background: #fff; box-shadow: none; align-items: stretch; text-align: left; min-height: 0; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 var(--primary); }
.product-img { width: 100%; height: 230px; border-radius: 0; margin: 0 0 .9rem; background: var(--primary-light); }
.product-img img { width: 100%; height: 100%; border: none; border-radius: 0; object-fit: cover; }
.product-name, .product-price, .product-stock { padding: 0 1rem; }
.product-name { color: var(--primary-dark); font-size: 1em; text-transform: uppercase; letter-spacing: .03em; }
.product-price { color: var(--primary); font-size: 1.15em; font-weight: 800; }
.product-stock { color: #857a7c; font-size: .85em; }
.add-cart-btn { margin: .4rem 1rem 0; border-radius: 0; background: var(--primary-dark); box-shadow: none; text-transform: uppercase; letter-spacing: .1em; font-size: .78em; padding: .9em 1em; }
.add-cart-btn:hover:not(:disabled) { background: var(--primary); }


.cart-section { background: #fff; border: 2px dashed var(--primary-dark); border-radius: var(--radius); box-shadow: none; max-width: 820px !important; justify-self: center; width: 100%; }
.cart-title { color: var(--primary-dark); }
.cart-action-btn { border-radius: 0; background: var(--primary-dark); text-transform: uppercase; letter-spacing: .1em; font-size: .8em; }
.cart-action-btn:hover { background: var(--primary); color: #fff; }


.contact-section { background: var(--primary-dark); color: #fff; border: none; border-radius: var(--radius); box-shadow: none; padding: 3rem clamp(1.4rem, 4vw, 3.5rem); display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; }
.contact-title { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; list-style: none; padding: 0; margin: 0; max-width: none; color: #ddd3d5; }
.contact-list strong { display: block; color: var(--accent); font-size: .74em; letter-spacing: .18em; text-transform: uppercase; }
.contact-list a { color: #fff; }


.legal-section { background: #fff; border: none; border-top: 5px solid var(--primary); border-radius: 0; box-shadow: none; padding: 1.4rem 1.3rem 1rem; }
.legal-content { opacity: .85; font-style: normal; font-size: .95em; }


footer { background: #0e0d10; border-top: none; margin-top: 2rem; }
.footer-brand { color: #fff; font-size: 1.3em; }
.footer-links a { color: var(--accent); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-logo img { border: none; border-radius: 50%; background: #fff; }


.container, .summary-container { background: #fff; border: 1px solid var(--border); border-top: 6px solid var(--primary); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.container h1, .summary-container h1 { font-family: var(--head); color: var(--primary-dark); }
.container h2 { font-family: var(--head); color: var(--primary); }
.submit-btn, .back-btn { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem 0; }
  .feature-card:nth-child(odd) { border-left: none; }
  main { grid-template-columns: minmax(0, 1fr); }
  main > .legal-section { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: left; min-height: 0; padding-bottom: 3.5rem; }
  .hero-logo { grid-column: 1; grid-row: auto; justify-self: start; order: -1; }
  .hero-logo img { width: 110px; height: 110px; padding: .8rem; }
  .about-section, .contact-section { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .about-title { position: static; }
  .contact-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .product-img { height: 150px; }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card + .feature-card { border-left: none; border-top: 1px solid rgba(255,255,255,.3); }
}
@media (max-width: 600px) {
  .hero-title { font-size: 1.9rem; }
  .about-title, .products-title, .features-title, .contact-title { font-size: 1.45rem; }
  .products-title { gap: .6rem; }
}
