/* ===========================================================
   KENDALL — Design System
   =========================================================== */
:root{
  --blue:        #0077B6;
  --blue-dark:   #003366;
  --blue-deep:   #001F3F;
  --blue-soft:   #e6f3fa;
  --blue-softer: #f3f9fc;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e8e8e8;
  --gray-50: #fafafa;
  --gray-100: #f3f3f4;
  --success: #00b27a;
  --discount: #D32F2F;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 6px 24px rgba(0,0,31,.07), 0 2px 6px rgba(0,0,31,.04);
  --shadow-lg: 0 20px 60px rgba(0,0,31,.18), 0 4px 12px rgba(0,0,31,.06);
  --radius: 14px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Poppins', system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
body.modal-open{overflow:hidden}
h1,h2,h3,h4{
  font-family:'Playfair Display', Georgia, serif;
  font-weight:700; color:var(--blue-deep);
  letter-spacing:-.01em; margin:0;
}
h1{font-size:clamp(1.8rem, 3vw, 2.8rem); line-height:1.1}
h2{font-size:clamp(1.5rem, 2.2vw, 2rem)}
h3{font-size:clamp(1.15rem, 1.4vw, 1.3rem)}
a{color:inherit;text-decoration:none}
img{max-width:100%; display:block}
button{font-family:inherit; cursor:pointer; border:none; background:none}

.container{max-width:1240px; margin:0 auto; padding:0 1.5rem}

/* ========== Announcement ========== */
.announcement{
  background:linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-deep) 50%, var(--blue) 100%);
  color:#fff; text-align:center;
  font-size:.82rem; letter-spacing:.04em;
  padding:.6rem 1rem; font-weight:500;
}
.announcement strong{font-weight:700}

/* ========== Header ========== */
.header{
  border-bottom:1px solid var(--border);
  background:#fff;
  position:sticky; top:0; z-index:50;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.header-inner{
  max-width:1240px; margin:0 auto;
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  padding:1rem 1.5rem;
  gap:2rem;
}
.brand{display:flex; align-items:center; gap:.9rem}
.brand-logo{height:28px; width:auto; filter:invert(1); mix-blend-mode:multiply}

.nav{display:flex; gap:1.75rem; justify-content:center}
.nav a{
  font-size:.88rem; font-weight:500; color:var(--text);
  padding:.4rem 0;
  position:relative;
  transition:color .2s ease;
}
.nav a::after{
  content:""; position:absolute; bottom:0; left:50%;
  width:0; height:2px; background:var(--blue);
  transition:width .25s ease, left .25s ease;
}
.nav a:hover, .nav a.active{color:var(--blue)}
.nav a:hover::after, .nav a.active::after{width:100%; left:0}

.header-actions{
  display:flex; align-items:center; gap:.5rem;
}
.icon-btn{
  width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--gray-50);
  color:var(--blue-deep);
  position:relative;
  transition:background .2s ease, color .2s ease;
}
.icon-btn:hover{background:var(--blue-soft); color:var(--blue)}
.cart-count{
  position:absolute; top:-2px; right:-2px;
  background:var(--blue);
  color:#fff;
  font-size:.65rem; font-weight:700;
  width:18px; height:18px;
  border-radius:50%;
  display:grid; place-items:center;
  border:2px solid #fff;
}
.cart-count.empty{display:none}

@media (max-width:900px){
  .header-inner{grid-template-columns:auto 1fr auto; gap:.75rem}
  .nav{display:none}
  .menu-toggle{display:grid !important}
}
.menu-toggle{display:none; width:42px; height:42px; border-radius:50%; place-items:center; background:var(--gray-50)}

/* Mobile nav */
.mobile-nav{
  position:fixed; inset:0;
  background:rgba(0,15,30,.7);
  z-index:99;
  opacity:0; visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.mobile-nav.show{opacity:1; visibility:visible}
.mobile-nav-panel{
  position:absolute; right:0; top:0; bottom:0;
  width:80%; max-width:340px;
  background:#fff;
  padding:1.5rem;
  transform:translateX(100%);
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
  display:flex; flex-direction:column; gap:.5rem;
}
.mobile-nav.show .mobile-nav-panel{transform:translateX(0)}
.mobile-nav-panel a{
  padding:.85rem 1rem;
  border-radius:10px;
  font-weight:500;
  transition:background .15s ease;
}
.mobile-nav-panel a:hover{background:var(--gray-50)}
.mobile-nav-close{
  align-self:flex-end;
  width:36px; height:36px; border-radius:50%;
  background:var(--gray-50);
  display:grid; place-items:center;
  margin-bottom:.5rem;
}

/* ========== Buttons ========== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  padding:.85rem 1.5rem;
  border-radius:12px;
  font-weight:600; font-size:.92rem;
  font-family:inherit;
  cursor:pointer;
  transition:background .2s ease, transform .15s ease, color .2s ease, border-color .2s ease;
  text-decoration:none;
  border:1.5px solid transparent;
  letter-spacing:.01em;
}
.btn-primary{background:var(--blue); color:#fff; box-shadow:0 4px 14px rgba(0,119,182,.32)}
.btn-primary:hover{background:var(--blue-dark); transform:translateY(-1px)}
.btn-outline{border-color:var(--blue-deep); color:var(--blue-deep)}
.btn-outline:hover{background:var(--blue-deep); color:#fff}
.btn-ghost{color:var(--blue); padding:.5rem 0}
.btn-ghost:hover{color:var(--blue-dark)}
.btn-lg{padding:1rem 1.75rem; font-size:1rem}

/* ========== Section helpers ========== */
.section{padding:4rem 0}
.section-sm{padding:2.5rem 0}
.section-eyebrow{
  font-size:.75rem; text-transform:uppercase; letter-spacing:.18em;
  color:var(--blue); font-weight:600;
  margin-bottom:.85rem;
}
.section-title{margin-bottom:.6rem}
.section-intro{
  color:var(--muted); margin:0 auto 2rem;
  max-width:600px; font-size:.95rem;
}
.section-head-center{text-align:center}

/* ========== Product Card ========== */
.product-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:1.5rem;
}
.product-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  display:flex; flex-direction:column;
  position:relative;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:#d3e6f1;
}
.product-card-img{
  aspect-ratio:1/1;
  background:var(--gray-50);
  overflow:hidden;
  position:relative;
}
.product-card-img img{
  width:100%; height:100%; object-fit:contain;
  background:#fff;
  transition:transform .4s ease;
}
.product-card:hover .product-card-img img{transform:scale(1.04)}
.product-card-badge{
  position:absolute; top:12px; left:12px;
  background:var(--blue); color:#fff;
  padding:.25rem .6rem; border-radius:999px;
  font-size:.66rem; font-weight:700;
  letter-spacing:.05em; text-transform:uppercase;
}
.product-card-discount{
  position:absolute; top:12px; right:12px;
  background:var(--discount); color:#fff;
  padding:.25rem .55rem; border-radius:6px;
  font-size:.7rem; font-weight:700;
}
.product-card-body{padding:1rem 1.1rem 1.2rem; flex:1; display:flex; flex-direction:column}
.product-card-vendor{
  font-size:.65rem; letter-spacing:.15em; text-transform:uppercase;
  color:var(--blue); font-weight:600; margin-bottom:.35rem;
}
.product-card-title{
  font-family:'Playfair Display', serif;
  color:var(--blue-deep);
  font-size:1rem; line-height:1.3;
  font-weight:700;
  margin:0 0 .6rem;
  min-height:2.6em;
}
.product-card-colors{
  display:flex; gap:.3rem; margin-bottom:.65rem;
  align-items:center;
}
.product-card-colors .swatch{
  width:14px; height:14px; border-radius:50%;
  border:1px solid rgba(0,0,0,.12);
}
.product-card-colors .more{
  font-size:.7rem; color:var(--muted);
  margin-left:.2rem;
}
.product-card-price{
  margin-top:auto;
  display:flex; align-items:baseline;
  gap:.55rem;
  flex-wrap:wrap;
}
.product-card-price .now{
  font-family:'Playfair Display', serif;
  color:var(--blue-deep);
  font-size:1.2rem; font-weight:700;
}
.product-card-price .was{
  color:var(--muted); font-size:.82rem;
  text-decoration:line-through;
}
.product-card-installment{
  font-size:.75rem; color:var(--muted);
  margin-top:.25rem;
}
.product-card-installment strong{color:var(--text); font-weight:600}

/* ========== Toast ========== */
.toast{
  position:fixed; bottom:24px; right:24px;
  background:var(--blue-deep); color:#fff;
  padding:1rem 1.25rem;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,31,63,.25);
  display:flex; gap:.7rem; align-items:flex-start;
  max-width:340px;
  transform:translateX(120%);
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
  z-index:100;
  border:1px solid rgba(255,255,255,.08);
}
.toast.show{transform:translateX(0)}
.toast svg{flex-shrink:0; color:#5ab9e3; width:22px; height:22px}
.toast .t-title{font-weight:600; font-size:.92rem; margin-bottom:2px}
.toast .t-sub{font-size:.8rem; color:#c4dcec}

/* ========== Footer ========== */
.footer{
  background:var(--blue-deep);
  color:#c4dcec;
  padding:3rem 0 1.5rem;
  font-size:.88rem;
  margin-top:4rem;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap:2.5rem;
  padding-bottom:2.5rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
@media (max-width:900px){ .footer-grid{grid-template-columns:1fr 1fr; gap:2rem} }
@media (max-width:600px){ .footer-grid{grid-template-columns:1fr} }
.footer-brand{display:flex; flex-direction:column; gap:1rem}
.footer .brand-logo{filter:none; mix-blend-mode:normal; height:36px; width:auto}
.footer-brand p{color:#a8c2d6; font-size:.85rem; line-height:1.6; margin:0; max-width:280px}
.footer h4{
  color:#fff; font-family:'Poppins', sans-serif;
  font-size:.85rem; text-transform:uppercase; letter-spacing:.1em;
  font-weight:600; margin:0 0 1rem;
}
.footer-col ul{list-style:none; padding:0; margin:0; display:grid; gap:.6rem}
.footer-col a{font-size:.85rem; color:#c4dcec; transition:color .2s ease}
.footer-col a:hover{color:#5ab9e3}
.footer-bottom{
  padding-top:1.5rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:.75rem;
  font-size:.75rem; color:#7c97b0;
}
.footer-social{display:flex; gap:.5rem; margin-top:.25rem}
.footer-social a{
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  display:grid; place-items:center;
  transition:background .2s ease, color .2s ease;
}
.footer-social a:hover{background:var(--blue); color:#fff}
.footer-social svg{width:16px; height:16px}

/* ========== Fade animation ========== */
.fade-in{animation:fadeIn .35s ease}
@keyframes fadeIn{from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:translateY(0)}}

/* ========== Responsive ========== */
@media (max-width:600px){
  .announcement{font-size:.72rem; padding:.45rem .75rem}
  .header-inner{padding:.85rem 1rem}
  .section{padding:2.5rem 0}
}
