:root {
  --primary: #2b3a67;
  --secondary: #ff7a59;
  --accent: #ffd166;
  --bg: #fff9f0;
  --text: #2a3350;
  --muted: #667092;
  --radius: 1.6rem;
  --shadow: 0 18px 36px -20px rgba(43,58,103,.32);
  --border: 1px solid #f0e6d6;
  --mint: #d8f3e6;
  --sky: #dcecff;
  --blush: #ffe3e6;
  --sun: #fff0bf;
}
body { font-family: 'Nunito', 'Inter', Arial, sans-serif; background: var(--bg); }
h1, h2, .hero-title, .section-title, .loft-logo-text, .info-title, .product-name, .cart-sidebar-title, .contact-title, .footer-brand, .footer-links-title {
  font-family: 'Fredoka', 'Nunito', sans-serif; letter-spacing: 0;
}
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }


.header { background: #fff; border-bottom: 3px solid var(--accent); box-shadow: none; }
.loft-logo-text { color: var(--primary); font-weight: 600; line-height: 1.1; }
.loft-logo-img { border-radius: 50%; }
.nav-link { font-weight: 700; color: var(--primary); }
.nav-link.active, .nav-link:hover { color: var(--secondary); }
.nav-action-btn { background: var(--sun); color: var(--primary); border-radius: 50%; }
.nav-action-btn:hover { background: var(--secondary); color: #fff; }


.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center;
  background: var(--sky); border-radius: 3rem; box-shadow: none; padding: clamp(2rem, 5vw, 4.2rem);
}
.hero::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--sun); top: -90px; right: -60px; }
.hero::after { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--blush); bottom: -50px; left: 38%; }
.hero-content, .hero-img-container { position: relative; z-index: 1; }
.hero-title { color: var(--primary); font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.05; }
.hero-title span { color: var(--secondary); display: block; }
.hero-desc { color: #45507a; font-size: 1.08rem; }
.btn-primary, .btn-secondary { border-radius: 999px; font-weight: 800; }
.btn-primary { background: var(--secondary); color: #fff; box-shadow: 0 10px 20px -8px rgba(255,122,89,.7); }
.btn-primary:hover { background: var(--primary); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.hero-img-container { justify-content: center; }
.hero-img { width: min(320px, 100%); aspect-ratio: 1; object-fit: contain; background: #fff; padding: 2rem; border-radius: 50%; border: 10px solid #fff; box-shadow: var(--shadow); }


.hero + .info-sections {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--primary); color: #fff;
  border-radius: 999px; padding: 1.2rem 1rem; margin: 1.5rem 0 4rem; max-width: none;
}
.hero + .info-sections .info-card { flex: none; max-width: none; background: none; box-shadow: none; border-radius: 0; display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; text-align: left; padding: .3rem 1.4rem; align-items: center; }
.hero + .info-sections .info-card + .info-card { border-left: 2px dotted rgba(255,255,255,.35); }
.hero + .info-sections .info-icon { grid-row: 1 / span 2; margin: 0; font-size: 1.9rem; color: var(--accent); flex: none; }
.hero + .info-sections .info-title { color: #fff; font-size: 1rem; margin: 0; }
.hero + .info-sections .info-desc { color: #cdd6f5; font-size: .82rem; line-height: 1.4; }
.hero + .info-sections .info-card > div:not(.info-icon) { }


.section-title { color: var(--primary); font-size: clamp(1.9rem, 4vw, 2.7rem); text-align: left; }
#shop > .section-title { text-align: center; }
#shop > .section-title::after { content: ''; display: block; width: 90px; height: 8px; margin: .7rem auto 0; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--secondary) 0 18px, var(--accent) 18px 36px); }
.products-grid { gap: 1.6rem; margin-top: 2.2rem; }
.product-card {
  border: none; border-radius: 2rem; padding: 1rem 1rem 1.4rem; background: #fff; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.product-img { width: 100%; height: 190px; object-fit: contain; border-radius: 1.5rem; padding: .8rem; margin-bottom: 1rem; background: var(--mint); }
.product-card:nth-child(3n+2) .product-img { background: var(--sky); }
.product-card:nth-child(3n+3) .product-img { background: var(--blush); }
.product-badge { background: var(--secondary); color: #fff; border-radius: 999px; transform: rotate(6deg); font-weight: 800; box-shadow: 0 6px 12px -4px rgba(255,122,89,.6); }
.product-price { font-family: 'Fredoka', sans-serif; color: var(--secondary); font-size: 1.35rem; }
.product-qty { color: var(--muted); font-size: .88rem; }
.product-add { background: var(--primary); color: #fff; border-radius: 999px; padding: .7rem 1.4rem; }
.product-add:hover { background: var(--secondary); color: #fff; }


#shop + .info-sections { counter-reset: step; gap: 1.4rem; margin: 4.5rem 0; position: relative; }
#shop + .info-sections .info-card { background: transparent; box-shadow: none; position: relative; padding-top: 3.6rem; counter-increment: step; }
#shop + .info-sections .info-card::before {
  content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--primary); font-family: 'Fredoka', sans-serif; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
#shop + .info-sections .info-card + .info-card::after {
  content: ''; position: absolute; top: 24px; right: 50%; width: 100%; border-top: 3px dashed #e5c983; z-index: -1;
}
#shop + .info-sections .info-icon { color: var(--secondary); }


#about-section { margin-top: 1rem; }
.about-section {
  background: var(--sun); border-radius: 2.4rem 2.4rem 2.4rem .5rem; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: none; max-width: 860px; margin: 0 auto 4.5rem;
  color: #46410f; font-size: 1.05rem; position: relative;
}
.about-section ul { margin: 1rem 0; }
.about-section li { background: #fff; border-radius: 1rem; padding: .7rem 1rem; margin-bottom: .6rem; }
.about-section em { display: block; font-family: 'Fredoka', sans-serif; font-size: 1.25rem; color: var(--primary); border-top: 2px dashed #e4c96a; padding-top: 1rem; }


.contact-section { background: var(--primary); color: #fff; border-radius: 2.4rem; box-shadow: none; padding: clamp(1.6rem, 4vw, 3rem); }
.contact-section .contact-title { color: var(--accent); }
.contact-section .contact-label, .contact-section .contact-form label { color: #dbe2ff; }
.contact-section .contact-link { color: #fff; }
.contact-section .contact-form input, .contact-section .contact-form textarea { border-radius: 1rem; background: #fff; }
.contact-section .contact-form button { background: var(--secondary); color: #fff; border-radius: 999px; }
.contact-section .contact-form button:hover { background: var(--accent); color: var(--primary); }


#newsletter { margin: 4.5rem 0 1rem; }
#newsletter .info-card { max-width: none !important; flex: 1 1 100% !important; background: var(--blush); border-radius: 2.4rem; box-shadow: none; padding: 2.4rem 1.6rem; }
#newsletter .info-icon { color: var(--secondary); }
#newsletter .newsletter-input { border-radius: 999px !important; border: 2px solid #fff !important; background: #fff !important; }
#newsletter .newsletter-btn { border-radius: 999px !important; }


.footer { background: var(--primary); border-radius: 2.4rem 2.4rem 0 0; }
.footer-links-title { color: var(--accent); }
.scroll-top-btn { border-radius: 50%; background: var(--secondary); color: #fff; }


.cart-sidebar { border-radius: 1.6rem 0 0 1.6rem; }
.cart-sidebar-footer .checkout-btn, .checkout-btn { border-radius: 999px; }
.policy-container, .summary-container, .order-container, .container, .legal-container {
  border-radius: 2rem; box-shadow: var(--shadow); border-top: 6px solid var(--accent);
}
h1 { color: var(--primary); }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; border-radius: 2rem; }
  .hero-btns { justify-content: center; }
  .hero + .info-sections { grid-template-columns: minmax(0, 1fr); border-radius: 2rem; gap: .8rem; }
  .hero + .info-sections .info-card + .info-card { border-left: none; border-top: 2px dotted rgba(255,255,255,.3); padding-top: .9rem; }
  #shop + .info-sections .info-card + .info-card::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.order-form-btn { border-radius: 999px; background: var(--secondary); color: #fff; }
.order-form-btn:hover { background: var(--primary); }
.order-form-input, .order-form-select, .order-form-textarea { border-radius: 1rem; }
.order-table th { background: var(--sky); color: var(--primary); }
.order-total-row td { background: var(--sun); color: var(--primary); }
.highlight { background: var(--sun); border-radius: 1rem; }
.nav-close { display: none; }
