/* ============================================================
   cmm styli — Frontend stylesheet
   High-end light theme · medical blue · fully responsive
   No SVG icons, no emoji — pure CSS shapes and typography
   ============================================================ */

:root {
  --blue: #1d6fff;
  --blue-dark: #0b5ad6;
  --blue-deep: #0b3a8f;
  --navy: #0b1f44;
  --ink: #16233c;
  --muted: #5b6b84;
  --bg: #f5f8fd;
  --line: #e3eaf5;
  --white: #ffffff;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(11, 58, 143, .10);
  --shadow-sm: 0 4px 14px rgba(11, 58, 143, .08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.preload * { animation: none !important; transition: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .18s; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 28px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; border: 0; border-radius: 10px;
  padding: 12px 26px; font-size: 15px; font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s;
  text-decoration: none;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29,111,255,.35); }
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost-light { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.24); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-ghost { background: #fff; color: var(--blue-deep); border: 1.5px solid var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(29,111,255,.28); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: #eef4ff; box-shadow: 0 10px 24px rgba(0,0,0,.15); color: var(--blue-deep); }
.ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.ghost:hover { background: #eef4ff; box-shadow: none; color: var(--blue-dark); }
.ghost.danger { color: var(--red); border-color: var(--red); }
.ghost.danger:hover { background: #fef2f2; }
.arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------- Announcement bar ---------------- */
/* ---------------- Topbar ---------------- */
.topbar { background: #0b1f44; color: #fff; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.tb-promo { display: inline-flex; align-items: center; font-weight: 600; letter-spacing: .02em; }
.tb-contacts { display: flex; align-items: center; gap: 22px; }
.tb-item { color: rgba(255,255,255,.92); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color .15s; }
.tb-item:hover { color: #fff; }
.tb-tag { display: inline-block; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 9px; border-radius: 20px; line-height: 1.5; }
@media (max-width: 640px) {
  .topbar-in { justify-content: center; text-align: center; }
  .tb-contacts { gap: 14px; }
  .tb-promo { width: 100%; justify-content: center; }
}

.announce {
  background: var(--blue-deep); color: #fff; text-align: center;
  font-size: 13px; font-weight: 500; letter-spacing: .2px;
  padding: 9px 16px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: auto; }
.brand-text { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand-text::after { content: "STYLI"; display: block; font-size: 8px; letter-spacing: .34em; color: var(--blue); font-weight: 700; margin-top: -3px; }

.main-nav { display: flex; align-items: center; gap: 10px; }
.nav-link {
  padding: 11px 18px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 15px;
}
.nav-link:hover { background: #eef4ff; color: var(--blue-dark); }
.nav-drop { position: relative; }
.caret { display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 6px; }
.drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.drop-menu a:hover { background: #eef4ff; color: var(--blue-dark); }
.drop-menu .drop-all { color: var(--blue); font-weight: 600; border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 8px 8px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.hact {
  display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 9px;
  color: var(--ink); font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); background: #fff;
}
.hact:hover { border-color: var(--blue); color: var(--blue); }
.cart-badge {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px;
  background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: none;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding-top: 8px; padding-bottom: 130px; }
.hero-badge {
  display: inline-block; background: rgba(11,31,68,.06); border: 1px solid rgba(11,31,68,.22);
  color: var(--blue-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 30px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero-title { color: var(--blue-deep); font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.hero-accent { color: var(--blue-deep); font-weight: 800; }
.hero-sub { color: rgba(11,31,68,.78); font-size: clamp(15.5px, 1.55vw, 18px); line-height: 1.65; letter-spacing: .01em; max-width: 520px; margin-bottom: 34px; }
.hero-sub-accent { color: var(--blue); font-weight: 700; font-size: 1.07em; }

/* FAQ page helpers */
.faq-help { margin-top: 44px; text-align: center; padding: 36px 24px; background: #f2f7ff; border: 1px solid var(--line); border-radius: 14px; }
.faq-help h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.faq-help p { color: var(--muted); margin-bottom: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.4);
}
.hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hstat { text-align: center; padding: 22px 10px; border-right: 1px solid var(--line); }
.hstat:last-child { border-right: 0; }
.hstat-num { font-size: 26px; font-weight: 800; color: var(--blue-deep); }
.hstat-label { font-size: 12.5px; color: var(--muted); margin-top: 2px; letter-spacing: .04em; text-transform: uppercase; }

/* fade-up entrance */
.anim-up { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.3,1) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; } .d4 { animation-delay: .46s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- Sections ---------------- */
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 16px; }
.sec-more { text-align: center; margin-top: 44px; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .22s, box-shadow .22s;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat-num { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .1em; margin-bottom: 16px; }
.feat-card h3 { font-size: 17px; margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: 14px; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-img { aspect-ratio: 1; overflow: hidden; background: #f2f6fc; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-name { padding: 16px 18px 4px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.cat-more { padding: 2px 18px 16px; font-size: 13px; color: var(--blue); font-weight: 600; }

/* product cards */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #f2f6fc; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .prod-img img { transform: scale(1.06); }
.stock-tag {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: .04em;
}
.stock-tag.in { background: #dcfce7; color: #15803d; }
.stock-tag.out { background: #fef3c7; color: #b45309; }
.prod-info { padding: 16px 18px 20px; }
.prod-sku { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.prod-name { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.35; }
.prod-price { font-size: 17px; font-weight: 800; color: var(--blue-deep); }

/* why us */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-media { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.why-media img { width: 100%; }
.why-body h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 18px; }
.why-text { color: var(--muted); margin-bottom: 26px; font-size: 16px; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-weight: 500; font-size: 15.5px; }
.ck {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blue); position: relative;
}
.ck::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px;
  border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(42deg);
}

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative;
}
.quote-mark { font-size: 46px; font-family: Georgia, serif; color: var(--blue); line-height: 1; height: 34px; }
.testi-text { color: var(--ink); font-size: 14.5px; margin: 12px 0 20px; }
.testi-name { font-weight: 700; font-size: 13.5px; color: var(--muted); }

/* faq */
.faq-wrap { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--navy);
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-plus { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .25s;
}
.faq-plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.open .faq-plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 22px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }

/* cta */
.cta-sec { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); padding: 84px 0; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; font-size: 16px; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  background: linear-gradient(135deg, #eaf1ff, #f6f9ff);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 46px;
}
.page-hero h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.breadcrumb { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--ink); font-weight: 600; }

/* ---------------- Shop page ---------------- */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.shop-count { font-weight: 600; color: var(--muted); font-size: 14px; }
.shop-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-search { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font); font-size: 14px; min-width: 220px; }
.shop-search:focus { outline: none; border-color: var(--blue); }
.shop-filters select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font); font-size: 14px; background: #fff; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pg { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.pg.on, .pg:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty-box { text-align: center; padding: 60px 20px; }
.empty-box h1, .empty-box h2 { margin-bottom: 10px; }
.empty-box p { color: var(--muted); margin-bottom: 22px; }

/* ---------------- Product detail ---------------- */
.pd-sec { padding-top: 56px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.pd-gallery { position: sticky; top: 96px; }
.pd-main-img { border-radius: 18px; overflow: hidden; background: #f2f6fc; aspect-ratio: 1; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; padding: 0; background: #f2f6fc; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.on { border-color: var(--blue); }
.pd-sku { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pd-name { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 14px; }
.pd-price { font-size: 28px; font-weight: 800; color: var(--blue-deep); margin-bottom: 12px; }
.pd-stock { margin-bottom: 16px; font-size: 14px; }
.st-in { color: var(--green); font-weight: 600; }
.st-out { color: #b45309; font-weight: 600; }
.pd-short { color: var(--muted); margin-bottom: 26px; }
.pd-buy { display: flex; gap: 14px; align-items: stretch; margin-bottom: 26px; flex-wrap: wrap; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-btn { width: 44px; height: 50px; background: #f8fafd; border: 0; font-size: 20px; cursor: pointer; color: var(--navy); }
.qty-box input { width: 56px; text-align: center; border: 0; font-size: 16px; font-weight: 600; font-family: var(--font); -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-usp li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; font-weight: 500; }
.pd-usp .ck { width: 18px; height: 18px; }
.pd-usp .ck::after { left: 6px; top: 3px; width: 5px; height: 9px; }
.pd-desc { margin-top: 72px; max-width: 860px; }
.pd-desc h2 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.pd-desc-body { color: #334155; line-height: 1.75; }
.pd-desc-body h3 { margin: 18px 0 10px; font-size: 18px; }
.pd-desc-body ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.pd-desc-body img { border-radius: 10px; margin: 12px 0; }
.pd-desc-body p { margin-bottom: 10px; }

/* ---------------- Cart ---------------- */
.cart-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.cart-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-head, .cart-row { display: grid; grid-template-columns: 2.2fr 1fr .8fr 1fr 44px; gap: 14px; align-items: center; padding: 14px 18px; }
.cart-head { background: #f8fafd; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cart-row { border-top: 1px solid var(--line); font-size: 14.5px; }
.cart-prod { display: flex; gap: 14px; align-items: center; }
.cart-prod img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; }
.cart-name { font-weight: 600; color: var(--navy); }
.cart-sku { font-size: 12px; color: var(--muted); }
.cart-qty input { width: 62px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-family: var(--font); }
.rm-btn { background: none; border: 0; font-size: 20px; color: var(--muted); cursor: pointer; width: 34px; height: 34px; border-radius: 8px; }
.rm-btn:hover { color: var(--red); background: #fef2f2; }
.cart-actions { display: flex; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cart-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.cart-summary h3 { margin-bottom: 18px; font-size: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 18px; font-weight: 800; color: var(--navy); }
.sum-hint { background: #fefce8; border: 1px solid #fde68a; color: #a16207; font-size: 12.5px; padding: 8px 12px; border-radius: 8px; margin: 8px 0; }
.cart-summary .btn { margin-top: 16px; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.pay-note.center { justify-content: center; }
.pb-shield { position: relative; width: 16px; height: 18px; flex: 0 0 auto; }
.pb-shield::before {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--green); border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
}
.pb-shield::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 3px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green);
}
.pay-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534;
  padding: 8px 14px; border-radius: 10px; font-size: 12.5px;
}

/* ---------------- Checkout ---------------- */
.co-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.co-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.co-form h2 { font-size: 20px; margin-bottom: 20px; }
.co-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.co-summary h2 { font-size: 18px; margin-bottom: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], textarea, select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 14px; background: #fbfdff; transition: .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,255,.13); background: #fff; }
textarea { resize: vertical; }
.co-acc { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.co-acc h3 { font-size: 15px; margin-bottom: 4px; }
.co-acc h3 small { color: var(--muted); font-weight: 400; }
.co-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.co-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.co-item-info { flex: 1; }
.co-item-name { font-size: 13.5px; font-weight: 600; }
.co-item-qty { font-size: 12px; color: var(--muted); }
.co-item-price { font-weight: 700; font-size: 14px; }
.co-pay { max-width: 640px; margin: 0 auto; }
.co-pay-head { display: flex; gap: 18px; align-items: flex-start; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.co-ok { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.co-pay-head h2 { font-size: 19px; margin-bottom: 6px; }
.co-pay-head p { color: var(--muted); font-size: 14px; }
.pay-now { width: 100%; justify-content: center; font-size: 17px; padding: 17px; }

/* ---------------- Order success ---------------- */
.os-wrap { max-width: 640px; margin: 0 auto; }
.os-box { border: 1px solid var(--line); border-radius: 18px; padding: 40px; text-align: center; }
.os-ok { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.os-box h2 { margin-bottom: 8px; }
.os-box > p { color: var(--muted); }
.os-status { display: inline-block; background: #eef4ff; color: var(--blue-deep); font-weight: 700; padding: 4px 14px; border-radius: 20px; font-size: 13px; margin-top: 10px; }
.os-details { text-align: left; margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.os-details h3 { font-size: 16px; margin-bottom: 12px; }
.os-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--muted); }
.os-item.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 800; color: var(--navy); font-size: 16px; }
.os-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Account ---------------- */
.acc-wrap { max-width: 900px; margin: 0 auto; }
.acc-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.acc-tab { padding: 11px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: var(--font); font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--muted); }
.acc-tab.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.acc-panel { display: none; }
.acc-panel.on { display: block; }
.acc-form { max-width: 420px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.acc-dash { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.acc-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.acc-user { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.acc-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.acc-user strong { display: block; }
.acc-user span { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.acc-orders h2 { font-size: 20px; margin-bottom: 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); }
.st-pill { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.st-pill.pending { background: #fef3c7; color: #b45309; }
.st-pill.paid { background: #dcfce7; color: #15803d; }
.st-pill.shipped { background: #dbeafe; color: #1d4ed8; }
.st-pill.completed { background: #e9d5ff; color: #7e22ce; }
.st-pill.cancelled { background: #fee2e2; color: #b91c1c; }

/* ---------------- Contact ---------------- */
.ct-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.ct-info h2 { font-size: 26px; margin-bottom: 14px; }
.ct-info > p { color: var(--muted); margin-bottom: 24px; }
.ct-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; }
.fc-ico { position: relative; width: 38px; height: 38px; border-radius: 10px; background: #eef4ff; flex: 0 0 auto; }
.fc-mail::before { content: ""; position: absolute; left: 11px; top: 12px; width: 16px; height: 12px; border: 2px solid var(--blue); border-radius: 2px; }
.fc-mail::after { content: ""; position: absolute; left: 13px; top: 15px; width: 12px; height: 2px; background: var(--blue); transform: rotate(-35deg); }
.fc-phone::before { content: ""; position: absolute; left: 12px; top: 10px; width: 14px; height: 18px; border: 2px solid var(--blue); border-radius: 8px 8px 3px 3px; }
.fc-pin::before { content: ""; position: absolute; left: 14px; top: 9px; width: 12px; height: 12px; border: 2px solid var(--blue); border-radius: 50%; }
.fc-pin::after { content: ""; position: absolute; left: 17px; top: 12px; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.ct-hours { margin-top: 26px; background: #f8fafd; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.ct-hours strong { display: block; margin-bottom: 6px; }
.ct-hours p { color: var(--muted); font-size: 14px; }
.ct-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }

/* ---------------- Legal ---------------- */
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal-wrap h2 { font-size: 20px; margin: 30px 0 12px; }
.legal-wrap p, .legal-wrap li { color: #334155; margin-bottom: 10px; }
.legal-wrap ul { padding-left: 22px; list-style: disc; }
.legal-date { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------------- Alerts ---------------- */
.alert-box { padding: 13px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.alert-box.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-box.good { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-box.warn { background: #fffbeb; border: 1px solid #fde68a; color: #a16207; }
.hint-sm { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #c7d2e8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 22px 44px; }
.footer-logo { height: 34px; margin-bottom: 16px; }
.f-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.f-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .03em; }
.f-col ul li { margin-bottom: 9px; }
.f-col a { color: #c7d2e8; font-size: 14px; }
.f-col a:hover { color: #fff; }
.f-about p { font-size: 13.5px; color: #9fb0cf; }
.f-contact li { display: flex; gap: 8px; font-size: 14px; align-items: flex-start; }
.fc-label { color: #9fb0cf; }
.footer-stats { background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-stats-inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 13px; padding-bottom: 13px; font-size: 13px; color: rgba(255,255,255,.72); flex-wrap: wrap; }
.footer-stats strong { color: #fff; font-weight: 700; }
.fs-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-size: 13px; color: #9fb0cf; flex-wrap: wrap; }
.fb-links { display: flex; gap: 18px; }
.fb-links a { color: #9fb0cf; }
.fb-links a:hover { color: #fff; }

/* ---------------- Cookie bar ---------------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: #ffffff; color: #334155;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(11,31,68,.16);
  transform: translateY(110%); transition: transform .4s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-inner { max-width: 1200px; margin: 0 auto; padding: 16px 22px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-inner p { font-size: 13px; max-width: 820px; }
.cookie-inner a { color: var(--blue); text-decoration: underline; }

/* ---------------- Live chat widget (round button + prompt bubble + breathing) ---------------- */
.chat-widget { position: fixed; right: 32px; bottom: 100px; z-index: 999; }
.chat-toggle {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff;
  border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(2,132,199,.4);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: btnPulseBlue 2s ease-in-out infinite;
}
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(2,132,199,.5); }
.chat-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(14,165,233,.75);
  animation: ringPulseStrong 2.5s ease-out infinite; pointer-events: none;
}
.chat-ring.r2 { animation-delay: 1.25s; }
.chat-prompt {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  background: #fff; color: #1e293b; padding: 12px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; box-shadow: 0 2px 12px rgba(0,0,0,.12);
  white-space: nowrap; pointer-events: none; z-index: 1;
  animation: promptFloat 10s ease-in-out infinite;
}
.chat-prompt::after {
  content: ''; position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%) rotate(45deg); width: 12px; height: 12px; background: #fff;
}
@keyframes promptFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-10px); }
}
@keyframes btnPulseBlue {
  0%, 100% { box-shadow: 0 8px 32px rgba(2,132,199,.4); }
  50% { box-shadow: 0 8px 52px rgba(2,132,199,.7); }
}
@keyframes btnPulseGreen {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,.4); }
  50% { box-shadow: 0 8px 52px rgba(37,211,102,.7); }
}
@keyframes ringPulseStrong {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: .9; }
  80%, 100% { transform: scale(1.28); opacity: 0; }
}
.chat-panel {
  position: absolute; right: 0; bottom: 165px;
  width: 340px; max-width: calc(100vw - 44px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(11,31,68,.22); overflow: hidden;
  display: flex; flex-direction: column; max-height: calc(100vh - 340px);
}
/* Hidden panel must actually be hidden (fixes HTML hidden attr being overridden) */
.chat-panel[hidden] { display: none; }
.chat-head {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff;
  padding: 16px 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
}
.chat-head strong { font-size: 15px; display: block; }
.chat-online { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; opacity: .92; margin-top: 3px; }
.chat-online .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: dotBlink 1.6s ease-in-out infinite; }
@keyframes dotBlink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.chat-close { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #f8fafd; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.chat-msg.admin { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.customer { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg .cm-name { font-size: 11px; opacity: .7; display: block; margin-bottom: 2px; }
.chat-form { border-top: 1px solid var(--line); padding: 12px; background: #fff; }
.chat-form input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-family: var(--font); font-size: 13.5px; margin-bottom: 8px; }
.chat-send-row { display: flex; gap: 8px; }
.chat-send-row input { margin-bottom: 0; }
.chat-send { background: var(--blue); color: #fff; border: 0; border-radius: 9px; padding: 0 18px; font-weight: 700; cursor: pointer; font-family: var(--font); }
.chat-send:hover { background: var(--blue-dark); }

/* ---------------- WhatsApp widget (round button + prompt bubble + breathing) ---------------- */
.wa-widget { position: fixed; right: 32px; bottom: 190px; z-index: 999; }
.wa-toggle {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,.4); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
  animation: btnPulseGreen 2s ease-in-out infinite .4s;
}
.wa-toggle:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,.5); }
.wa-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37,211,102,.8);
  animation: ringPulseStrong 2.5s ease-out infinite .4s; pointer-events: none;
}
.wa-ring.r2 { animation-delay: 1.65s; }
.wa-prompt {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  background: #fff; color: #1e293b; padding: 12px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; box-shadow: 0 2px 12px rgba(0,0,0,.12);
  white-space: nowrap; pointer-events: none; z-index: 1;
  animation: promptFloat 10s ease-in-out infinite .6s;
}
.wa-prompt::after {
  content: ''; position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%) rotate(45deg); width: 12px; height: 12px; background: #fff;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 82vw;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 90px 24px 30px; box-shadow: -10px 0 40px rgba(11,31,68,.18);
    transform: translateX(105%); transition: transform .3s ease; z-index: 950;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { width: 100%; font-size: 16px; padding: 12px 10px; }
  .nav-drop { width: 100%; }
  .nav-drop > .nav-link { display: flex; justify-content: space-between; align-items: center; }
  .drop-menu { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 14px; display: none; }
  .nav-drop.open .drop-menu { display: block; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .testi-grid { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; gap: 34px; }
  .pd-gallery { position: static; }
  .cart-wrap { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .ct-grid { grid-template-columns: 1fr; }
  .acc-dash { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hstat { border-bottom: 1px solid var(--line); }
  .hero { min-height: 86vh; }
}

@media (max-width: 560px) {
  .sec { padding: 60px 0; }
  .f-row { grid-template-columns: 1fr; }
  .cart-head { display: none; }
  .cart-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .cart-prod { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 22px 30px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hact-label { display: none; }
  .cookie-inner { justify-content: center; text-align: center; }
  .chat-widget { right: 16px; bottom: 84px; }
  .chat-toggle { width: 56px; height: 56px; }
  .chat-prompt { display: none; }
  .chat-panel { right: 0; bottom: 132px; max-width: calc(100vw - 32px); }
  .wa-widget { right: 16px; bottom: 158px; }
  .wa-toggle { width: 56px; height: 56px; }
  .wa-prompt { display: none; }
}
