@import url("../fonts/fonts.css");

:root{
  --bg: oklch(99% 0.003 240);
  --text: oklch(24% 0.03 255);
  --primary: oklch(48% 0.13 240);
  --primary-dark: oklch(40% 0.14 240);
  --yellow: oklch(88% 0.16 95);
  --blue-light: oklch(96% 0.025 235);
  --pink-light: oklch(90% 0.05 350);
  --green-light: oklch(90% 0.06 150);
  --muted: oklch(45% 0.02 255);
  --muted-2: oklch(35% 0.02 255);
  --muted-3: oklch(50% 0.02 255);
  --border: oklch(90% 0.01 240);
  --border-2: oklch(85% 0.01 255);
  --footer-text: oklch(75% 0.01 255);
  --footer-text-dim: oklch(65% 0.01 255);
  --footer-border: oklch(35% 0.01 255);
  --shadow-sm: 0 2px 10px oklch(20% 0.02 255 / 0.05);
  --shadow-md: 0 4px 16px oklch(20% 0.02 255 / 0.06);
  --shadow-lg: 0 -4px 24px oklch(20% 0.02 255 / 0.15);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  font-family:'Inter',sans-serif;
  color:var(--text);
}
a{color:var(--primary);text-decoration:none;}
a:hover{color:var(--primary-dark);}
img{max-width:100%;display:block;}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;}
button{font-family:inherit;}

.wrap{max-width:1440px;margin:0 auto;}

/* promo bar */
.promo-bar{
  background:var(--primary);color:#fff;font-size:13px;padding:8px 24px;
  display:flex;justify-content:center;gap:32px;flex-wrap:wrap;font-weight:500;
}

/* header */
.site-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;background:#fff;position:sticky;top:0;z-index:50;
  box-shadow:0 1px 0 var(--border);gap:16px;
}
.logo{
  display:flex;align-items:center;gap:8px;font-family:'Poppins',sans-serif;
  font-weight:800;font-size:26px;color:var(--text);
}
.logo-dot{width:14px;height:14px;border-radius:50%;background:var(--yellow);display:inline-block;}
.main-nav{display:flex;gap:28px;font-weight:600;font-size:15px;flex-wrap:wrap;}
.main-nav a{color:var(--text);}
.main-nav a.active,.header-actions a.active{color:var(--primary);}
.header-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.contact-link{font-weight:600;color:var(--text);}
.cart-link{
  position:relative;display:flex;align-items:center;gap:6px;background:var(--blue-light);
  padding:10px 16px;border-radius:100px;font-weight:700;color:var(--primary);
}
.cart-badge{
  background:var(--yellow);color:var(--text);border-radius:100px;width:20px;height:20px;
  display:inline-flex;align-items:center;justify-content:center;font-size:12px;
}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:10px;padding:8px 10px;font-size:18px;cursor:pointer;}

/* simple header (legal pages) */
.simple-header{
  display:flex;align-items:center;justify-content:space-between;padding:20px 24px;
  background:#fff;box-shadow:0 1px 0 var(--border);
}
.back-link{font-weight:600;}

/* hero sections */
.hero{
  display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;
  padding:56px 24px;border-radius:0 0 40px 40px;
}
.hero--home{padding:64px 24px;background:var(--blue-light);}
.hero--blue{background:var(--blue-light);}
.hero--yellow{background:var(--yellow);}
.hero--pink{background:var(--pink-light);}
.hero--green{background:var(--green-light);}
.eyebrow{
  background:#fff;color:var(--text);font-weight:700;font-size:13px;
  padding:6px 14px;border-radius:100px;display:inline-block;
}
.hero--home .eyebrow{background:var(--yellow);}
.hero h1{font-size:42px;font-weight:800;line-height:1.15;margin:20px 0;}
.hero--home h1{font-size:52px;line-height:1.1;}
.hero p{font-size:17px;color:var(--muted-2);line-height:1.6;max-width:520px;}
.hero--home p{font-size:18px;color:var(--muted);}
.hero-actions{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap;}
.hero-img{width:100%;height:340px;object-fit:cover;border-radius:28px;}
.hero--home .hero-img{height:420px;}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;padding:16px 28px;
  border-radius:100px;font-weight:700;border:none;cursor:pointer;font-size:15px;
}
.btn-primary{background:var(--primary);color:#fff;}
.btn-primary:hover{background:var(--primary-dark);color:#fff;}
.btn-outline{background:#fff;color:var(--text);border:1px solid var(--border);}
.btn-dark{background:var(--text);color:#fff;}
.btn-yellow{background:var(--yellow);color:var(--text);}

/* category grid (home) */
.section{padding:72px 24px;}
.section h2{font-family:'Poppins',sans-serif;font-size:32px;text-align:center;margin-bottom:8px;}
.section-sub{text-align:center;color:var(--muted);margin-bottom:40px;}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;}
.category-card{border-radius:20px;padding:28px 20px;text-align:center;color:var(--text);}
.category-card .icon{font-size:36px;margin-bottom:10px;}
.category-card .label{font-weight:700;}
.category-card.c1{background:var(--pink-light);}
.category-card.c2{background:var(--blue-light);}
.category-card.c3{background:var(--yellow);}
.category-card.c4{background:var(--green-light);}
.category-card.c5{background:var(--blue-light);}

/* featured / product grids */
.featured-section{background:var(--blue-light);padding:64px 24px;border-radius:32px;margin:0 24px 72px;}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.featured-section .product-grid{gap:24px;}
.product-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-md);}
.product-img{width:100%;height:170px;object-fit:cover;}
.featured-section .product-img{height:180px;}
.product-body{padding:16px;}
.product-name{font-weight:700;font-size:15px;}
.product-desc{color:var(--muted);font-size:13px;margin:6px 0 12px;}
.product-footer{display:flex;justify-content:space-between;align-items:center;}
.product-price{font-weight:800;color:var(--primary);}
.add-cart-btn{
  border:none;border-radius:100px;padding:8px 14px;font-weight:700;font-size:13px;cursor:pointer;
  background:var(--yellow);
}
.category-page .add-cart-btn.tint-blue{background:var(--blue-light);}
.category-page .add-cart-btn.tint-pink{background:var(--pink-light);}
.category-page .add-cart-btn.tint-green{background:var(--green-light);}
.category-page .add-cart-btn.tint-yellow{background:var(--yellow);}

/* benefits (home) */
.benefits{padding:0 24px 72px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center;}
.benefit{padding:24px;}
.benefit .icon{font-size:34px;}
.benefit .title{font-weight:700;margin:10px 0 6px;}
.benefit .desc{color:var(--muted);font-size:14px;}

/* newsletter */
.newsletter{padding:0 24px 72px;}
.newsletter-box{
  background:var(--yellow);border-radius:32px;padding:48px;display:grid;
  grid-template-columns:1.2fr 1fr;gap:32px;align-items:center;
}
.newsletter-box h2{font-size:28px;margin:0 0 10px;}
.newsletter-box p{color:var(--text);margin:0;}
.newsletter-form{display:flex;gap:10px;}
.newsletter-form input{flex:1;padding:14px 18px;border-radius:100px;border:none;font-size:14px;}
.newsletter-form button{background:var(--text);color:#fff;border:none;padding:14px 24px;border-radius:100px;font-weight:700;cursor:pointer;}
.form-msg{margin-top:14px;font-weight:600;font-size:14px;}
.form-msg.ok{color:oklch(45% 0.12 150);}
.form-msg.err{color:oklch(50% 0.18 25);}

/* category intro banners */
.category-tips{padding:0 24px 64px;}
.tips-box{border-radius:28px;padding:40px;display:grid;grid-template-columns:1fr 1fr;gap:32px;}
.tips-box h3{font-size:22px;margin:0 0 12px;}
.tips-box p{color:var(--muted-2);line-height:1.7;margin:0 0 12px;}
.tips-box a{font-weight:700;}
.tips-box.tint-pink{background:var(--pink-light);}
.tips-box.tint-green{background:var(--green-light);}
.tips-box.tint-blue{background:var(--blue-light);}

.products-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:28px;flex-wrap:wrap;gap:12px;}
.products-header h2{font-size:28px;margin:0;}
.products-count{color:var(--muted);font-size:14px;}

/* footer */
.site-footer{background:var(--text);color:oklch(85% 0.01 255);padding:56px 24px 24px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:32px;max-width:1392px;margin:0 auto;}
.footer-brand{font-family:'Poppins',sans-serif;font-weight:800;font-size:22px;color:#fff;margin-bottom:12px;}
.footer-about{font-size:14px;line-height:1.6;color:var(--footer-text);}
.footer-col-title{font-weight:700;color:#fff;margin-bottom:14px;}
.footer-links{display:flex;flex-direction:column;gap:10px;font-size:14px;}
.footer-links a{color:var(--footer-text);}
.footer-contact{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--footer-text);}
.footer-bottom{
  max-width:1392px;margin:32px auto 0;padding-top:20px;border-top:1px solid var(--footer-border);
  display:flex;justify-content:space-between;font-size:13px;color:var(--footer-text-dim);flex-wrap:wrap;gap:8px;
}

/* cookie banner */
.cookie-banner{
  position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:var(--shadow-lg);
  padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;
  z-index:100;flex-wrap:wrap;
}
.cookie-banner p{margin:0;font-size:14px;max-width:640px;}
.cookie-actions{display:flex;gap:10px;}
.btn-cookie-reject{background:#fff;border:1px solid var(--border-2);padding:10px 18px;border-radius:100px;font-weight:600;cursor:pointer;}
.btn-cookie-accept{background:var(--primary);color:#fff;border:none;padding:10px 18px;border-radius:100px;font-weight:700;cursor:pointer;}

/* legal pages */
.legal-section{max-width:760px;margin:0 auto;padding:56px 24px 96px;line-height:1.7;}
.legal-section h1{font-family:'Poppins',sans-serif;font-size:34px;margin:0 0 8px;}
.legal-lead{color:var(--muted-3);margin:0 0 36px;}
.legal-section h3{font-family:'Poppins',sans-serif;}
.legal-section table{border-collapse:collapse;width:100%;margin:16px 0;}
.legal-section th,.legal-section td{border:1px solid oklch(88% 0.01 255);padding:10px 12px;font-size:14px;text-align:left;}
.legal-section th{background:var(--blue-light);}
.legal-wide{max-width:900px;}
.declaration-box{background:var(--blue-light);border-radius:20px;padding:28px;margin:24px 0;}
.simple-footer{background:var(--text);color:var(--footer-text);padding:32px 24px;text-align:center;font-size:13px;}
.simple-footer a{color:var(--footer-text);}

/* contact page */
.contact-section{padding:56px 24px;}
.contact-section h1{font-family:'Poppins',sans-serif;font-size:36px;font-weight:800;text-align:center;margin:0 0 12px;}
.contact-section .lead{text-align:center;color:var(--muted);margin:0 0 40px;}
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:32px;max-width:1100px;margin:0 auto;}
.contact-info{background:var(--blue-light);border-radius:24px;padding:36px;}
.contact-info .item{margin-bottom:24px;}
.contact-info .item:last-child{margin-bottom:0;}
.contact-info .label{font-weight:700;margin-bottom:6px;}
.contact-info .value{color:var(--muted-2);}
.contact-form{background:#fff;border-radius:24px;padding:36px;box-shadow:var(--shadow-md);display:flex;flex-direction:column;gap:14px;}
.contact-form input,.contact-form textarea{
  padding:14px 16px;border-radius:12px;border:1px solid oklch(88% 0.01 255);font-size:14px;font-family:inherit;
}
.contact-form textarea{resize:vertical;}
.contact-form button{background:var(--primary);color:#fff;border:none;padding:14px;border-radius:100px;font-weight:700;cursor:pointer;}
.contact-map-wrap{padding:0 24px 72px;}
.contact-map-img{width:100%;height:280px;max-width:1100px;margin:0 auto;display:block;border-radius:24px;object-fit:cover;}

/* about page */
.about-hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:64px 24px;}
.about-hero h1{font-size:38px;font-weight:800;margin:20px 0;}
.about-hero p{color:var(--muted-2);font-size:16px;line-height:1.7;}
.about-img{width:100%;height:380px;object-fit:cover;border-radius:28px;}
.about-values{padding:0 24px 64px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.value-card{border-radius:20px;padding:32px;text-align:center;}
.value-card .icon{font-size:32px;margin-bottom:10px;}
.value-card .title{font-weight:700;margin-bottom:8px;}
.value-card .desc{font-size:14px;line-height:1.6;}
.value-card.v1{background:var(--blue-light);}
.value-card.v1 .desc{color:var(--muted);}
.value-card.v2{background:var(--yellow);color:var(--text);}
.value-card.v3{background:var(--pink-light);}
.about-cta{padding:0 24px 72px;}
.about-cta-box{background:var(--text);border-radius:32px;padding:48px;text-align:center;}
.about-cta-box h2{color:#fff;font-size:26px;margin:0 0 12px;}
.about-cta-box p{color:var(--footer-text);margin:0 0 24px;}

/* tips / articles */
.tips-hero{padding:56px 24px 32px;text-align:center;}
.tips-hero h1{font-size:40px;font-weight:800;margin:20px 0 12px;}
.tips-hero p{color:var(--muted);max-width:640px;margin:0 auto;font-size:17px;}
.articles-grid{padding:24px 24px 72px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.article-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-md);display:block;color:var(--text);}
.article-img{width:100%;height:170px;object-fit:cover;}
.article-body{padding:22px;}
.article-tag{background:var(--blue-light);color:var(--primary);font-size:12px;font-weight:700;padding:4px 10px;border-radius:100px;}
.article-title{font-family:'Poppins',sans-serif;font-size:19px;margin:14px 0 8px;}
.article-excerpt{color:var(--muted);font-size:14px;line-height:1.6;margin:0;}
.guide-section{padding:0 24px 72px;}
.guide-box{background:var(--blue-light);border-radius:32px;padding:48px;}
.guide-box h2{font-size:26px;text-align:center;margin:0 0 32px;}
.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.guide-card{background:#fff;border-radius:16px;padding:22px;}
.guide-card .icon{font-size:28px;margin-bottom:8px;}
.guide-card .title{font-weight:700;margin-bottom:6px;}
.guide-card .desc{font-size:13px;color:var(--muted);line-height:1.5;}

/* shipping page */
.shipping-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:40px;}
.shipping-card{border-radius:20px;padding:28px;}
.shipping-card .icon{font-size:28px;margin-bottom:10px;}
.shipping-card h3{font-family:'Poppins',sans-serif;margin:0 0 10px;}
.shipping-card p{margin:0;font-size:14px;}
.shipping-card.tint-blue{background:var(--blue-light);}
.shipping-card.tint-yellow{background:var(--yellow);}

/* cart page */
.cart-section{padding:48px 24px 80px;}
.cart-section h1{font-family:'Poppins',sans-serif;font-size:32px;margin:0 0 32px;}
.cart-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:32px;}
.cart-item{
  display:flex;align-items:center;gap:16px;background:#fff;border-radius:16px;padding:16px;
  margin-bottom:14px;box-shadow:var(--shadow-sm);
}
.cart-item-thumb{width:64px;height:64px;border-radius:12px;background:var(--blue-light);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:22px;}
.cart-item-info{flex:1;}
.cart-item-name{font-weight:700;font-size:15px;}
.cart-item-price{color:var(--muted);font-size:13px;}
.qty-control{display:flex;align-items:center;gap:10px;background:var(--blue-light);border-radius:100px;padding:6px 10px;}
.qty-control button{border:none;background:#fff;width:26px;height:26px;border-radius:50%;font-weight:700;cursor:pointer;}
.qty-value{font-weight:700;min-width:16px;text-align:center;}
.cart-item-subtotal{font-weight:800;color:var(--primary);min-width:90px;text-align:right;}
.cart-item-remove{border:none;background:none;color:oklch(55% 0.02 255);cursor:pointer;font-size:18px;}
.order-summary{background:var(--blue-light);border-radius:20px;padding:28px;align-self:start;}
.order-summary h3{font-family:'Poppins',sans-serif;margin:0 0 18px;font-size:19px;}
.summary-row{display:flex;justify-content:space-between;margin-bottom:10px;font-size:14px;}
.summary-total{border-top:1px solid var(--border-2);padding-top:14px;display:flex;justify-content:space-between;font-weight:800;font-size:17px;margin-bottom:20px;}
.order-form-fields{display:flex;flex-direction:column;gap:10px;margin-bottom:16px;}
.order-form-fields input{padding:12px 14px;border-radius:10px;border:1px solid var(--border-2);font-size:14px;font-family:inherit;}
.consent-label{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--muted-2);margin-bottom:16px;}
.consent-label input{margin-top:2px;}
.place-order-btn{width:100%;background:var(--primary);color:#fff;border:none;padding:14px;border-radius:100px;font-weight:700;cursor:pointer;font-size:15px;}
.secure-note{font-size:12px;color:var(--muted-3);text-align:center;margin:12px 0 0;}
.empty-cart{text-align:center;padding:64px 24px;}
.empty-cart .icon{font-size:48px;margin-bottom:16px;}
.empty-cart h2{font-family:'Poppins',sans-serif;margin:0 0 10px;}
.empty-cart p{color:var(--muted);margin:0 0 24px;}
.order-success{padding:96px 24px;text-align:center;}
.order-success .icon{font-size:56px;margin-bottom:16px;}
.order-success h1{font-family:'Poppins',sans-serif;font-size:32px;margin:0 0 12px;}
.order-success p{color:var(--muted);max-width:520px;margin:0 auto 28px;}
.hidden{display:none !important;}

@media (max-width: 980px){
  .main-nav{display:none;}
  .nav-toggle{display:inline-flex;align-items:center;justify-content:center;}
  .main-nav.open{
    display:flex;flex-direction:column;gap:4px;position:absolute;top:100%;left:0;right:0;
    background:#fff;padding:16px 24px;box-shadow:var(--shadow-md);
  }
  .hero,.about-hero{grid-template-columns:1fr;}
  .category-grid{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .benefits{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .newsletter-box{grid-template-columns:1fr;}
  .tips-box{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .about-values{grid-template-columns:1fr;}
  .articles-grid{grid-template-columns:1fr 1fr;}
  .guide-grid{grid-template-columns:1fr 1fr;}
  .shipping-cards{grid-template-columns:1fr;}
  .cart-layout{grid-template-columns:1fr;}
}
@media (max-width: 600px){
  .category-grid{grid-template-columns:1fr 1fr;}
  .product-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .articles-grid{grid-template-columns:1fr;}
  .guide-grid{grid-template-columns:1fr;}
  .hero h1{font-size:32px;}
  .hero--home h1{font-size:34px;}
}
