/* =====================================================================
   site.css - public facing website
   ===================================================================== */

/* ------------------------------------------------------------- topbar */
.topbar {
  background: var(--brand-darker);
  color: #cfe8f0;
  font-size: .82rem;
  padding: .48rem 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #cfe8f0; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-links { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }

/* Language switcher: made deliberately visible rather than tucked away,
   because a Bangla speaker landing on the English page needs to spot it
   at a glance. */
.lang-switch {
  display: inline-flex; align-items: center; gap: .34rem;
  padding: .12rem .55rem; border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px; line-height: 1.7; white-space: nowrap;
}
.lang-switch:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

/* Bengali glyphs carry taller ascenders and the matra headline, so the
   default Latin leading reads cramped. */
html[lang="bn-BD"] body { line-height: 1.75; }
html[lang="bn-BD"] h1,
html[lang="bn-BD"] h2,
html[lang="bn-BD"] h3 { line-height: 1.45; }
.topbar-item { display: inline-flex; align-items: center; gap: .38rem; }

@media (max-width: 767px) { .topbar { display: none; } }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  color: #fff;
  border-radius: 11px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--ink); font-size: 1.02rem; letter-spacing: -.02em; }
.brand-tag  { font-size: .7rem; color: var(--muted); letter-spacing: .02em; }

.header-search { flex: 1; max-width: 460px; position: relative; }
.header-search input {
  width: 100%;
  padding: .6rem 2.7rem .6rem 1rem;
  font-size: .9rem;
  font-family: inherit;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink);
}
.header-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 110, 140, .1);
}
.header-search button {
  position: absolute;
  right: 5px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

.header-actions { display: flex; align-items: center; gap: .45rem; margin-left: auto; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--body);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.icon-btn:hover { background: var(--brand-tint); color: var(--brand); text-decoration: none; }
.icon-btn .count {
  position: absolute;
  top: 4px; right: 3px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  display: grid; place-items: center;
  background: var(--teal);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid #fff;
}

.nav-toggle { display: none; }

/* ---------------------------------------------------------- main nav */
.main-nav { background: var(--brand); }
.main-nav .container { display: flex; align-items: center; gap: .2rem; }

.nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-list > li { margin: 0; position: relative; }
.nav-list > li > a {
  display: block;
  padding: .82rem .95rem;
  color: #dff0f5;
  font-size: .89rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav-list > li > a:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.nav-list > li.active > a { color: #fff; border-bottom-color: var(--teal); background: var(--brand-dark); }
.nav-caret::after { content: " \25be"; font-size: .7em; opacity: .8; }

.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 950;
  min-width: 560px;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.nav-list > li:hover .mega, .nav-list > li:focus-within .mega { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.2rem; }
.mega a {
  display: block;
  padding: .5rem .65rem;
  font-size: .875rem;
  color: var(--body);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.mega a:hover { background: var(--brand-tint); color: var(--brand-dark); text-decoration: none; }

.nav-cta { margin-left: auto; padding: .35rem 0; }

@media (max-width: 991px) {
  .header-search { display: none; }
  .nav-toggle { display: grid; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav .container { flex-direction: column; align-items: stretch; padding-block: .5rem; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a { padding: .75rem .4rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .mega { position: static; display: grid !important; grid-template-columns: 1fr; box-shadow: none; border: 0; border-radius: 0; background: var(--brand-dark); padding: .3rem 0 .6rem 1rem; }
  .mega a { color: #cfe8f0; }
  .mega a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .nav-cta { margin: .6rem 0; }
  .nav-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 84px 0 90px;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(18, 161, 154, .16), transparent 62%),
    radial-gradient(700px 380px at 8% 108%, rgba(13, 110, 140, .12), transparent 60%),
    linear-gradient(180deg, var(--brand-tint), #fff);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -60px;
  width: 420px; height: 420px;
  border: 44px solid rgba(13, 110, 140, .05);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-xs);
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.08rem; color: var(--body); max-width: 44ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-stat strong { display: block; font-size: 1.55rem; color: var(--brand); line-height: 1.1; }
.hero-stat span { font-size: .82rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.hero-list { list-style: none; padding: 0; margin: 0; }
.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .68rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9rem;
  margin: 0;
}
.hero-list li:last-child { border-bottom: 0; }
.hero-list .tick {
  width: 21px; height: 21px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 800;
  margin-top: 1px;
}

@media (max-width: 991px) {
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-sub { max-width: none; }
}

/* ------------------------------------------------------------- trust */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: .7rem; }
.trust-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 10px;
}
.trust-item strong { display: block; font-size: .88rem; color: var(--ink); line-height: 1.25; }
.trust-item span { font-size: .76rem; color: var(--muted); }

@media (max-width: 1100px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* -------------------------------------------------------- section head */
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-eyebrow {
  display: inline-block;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6rem;
}
.section-head p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head-row h2 { margin-bottom: .25rem; }
.section-head-row p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------- categories */
.cat-card {
  display: block;
  position: relative;
  padding: 1.6rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--teal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .22s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
  text-decoration: none;
}
.cat-card:hover::before { transform: scaleY(1); }
.cat-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 13px;
  margin-bottom: 1rem;
  transition: background .2s ease, color .2s ease;
}
.cat-card:hover .cat-icon { background: var(--brand); color: #fff; }
.cat-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.cat-card p { font-size: .85rem; color: var(--muted); margin-bottom: .7rem; }
.cat-meta { font-size: .78rem; color: var(--teal); font-weight: 700; }

/* A slightly tighter section, used on the home page so the category
   block does not dominate the fold. The cards themselves are the same
   as /categories.php - only the surrounding padding differs. */
.section-compact { padding-top: 52px; padding-bottom: 52px; }
.section-compact .section-head { margin-bottom: 30px; }

/* Below the 5-across breakpoint the tiles get narrower, so drop the blurb
   entirely rather than let it wrap to four cramped lines. */
@media (max-width: 575px) {
  .grid-cats { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .grid-cats .cat-card { padding: .85rem .75rem; }
  .grid-cats .cat-card p { display: none; }
  .grid-cats .cat-icon { width: 34px; height: 34px; margin-bottom: .45rem; }
}

/* ------------------------------------------------------- product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-light); }

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .3s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }

.product-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.flag {
  padding: .22em .55em;
  font-size: .68rem;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.flag-new { background: var(--teal); color: #fff; }
.flag-off { background: var(--danger); color: #fff; }

.product-quick {
  position: absolute;
  right: 10px; bottom: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.product-card:hover .product-quick { opacity: 1; transform: none; }

.product-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .73rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.product-title { font-size: .95rem; font-weight: 600; line-height: 1.4; margin-bottom: .4rem; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--brand); text-decoration: none; }
.product-sku { font-size: .76rem; color: var(--faint); margin-bottom: .6rem; }

.product-price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .3rem; }
.price-now { font-size: 1.16rem; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.price-was { font-size: .86rem; color: var(--faint); text-decoration: line-through; }
.price-quote { font-size: .95rem; font-weight: 700; color: var(--teal); }

.stock { font-size: .78rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-in  { color: var(--green); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }

.product-actions { display: flex; gap: .45rem; margin-top: auto; padding-top: .9rem; }
.product-actions .btn { flex: 1; padding-inline: .5rem; }

/* ------------------------------------------------------- why choose us */
.why-card {
  padding: 1.55rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}
.why-num {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 10px;
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: .95rem;
}
.why-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.why-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ----------------------------------------------------------------- cta */
.cta-band {
  background: linear-gradient(120deg, var(--brand-darker), var(--brand) 55%, var(--teal-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -90px;
  width: 300px; height: 300px;
  border: 40px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .86); margin: 0; max-width: 52ch; }
.cta-band .cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; position: relative; z-index: 1; }

@media (max-width: 767px) { .cta-band { padding: 32px 26px; } }

/* -------------------------------------------------------- breadcrumbs */
.breadcrumb-bar { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: .8rem 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.breadcrumb li { margin: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--faint); }
.breadcrumb .active { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ page head */
.page-head {
  padding: 46px 0;
  background: linear-gradient(180deg, var(--brand-tint), #fff);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: .5rem; }
.page-head p { color: var(--muted); max-width: 70ch; margin: 0; font-size: 1.02rem; }

/* -------------------------------------------------------------- shop */
.shop-layout { display: grid; grid-template-columns: 268px 1fr; gap: 30px; align-items: start; }

.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 14px);
  overflow: hidden;
}
.filter-block { padding: 1.1rem 1.15rem; border-bottom: 1px solid var(--line-soft); }
.filter-block:last-child { border-bottom: 0; }
.filter-block h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .8rem; }
.filter-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.filter-list li { margin: 0; }
.filter-list a {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .38rem .45rem;
  font-size: .875rem;
  color: var(--body);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.filter-list a:hover { background: var(--brand-tint); color: var(--brand-dark); text-decoration: none; }
.filter-list a.active { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
.filter-list .n { color: var(--faint); font-size: .78rem; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .85rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.shop-count { font-size: .88rem; color: var(--muted); }
.shop-count strong { color: var(--ink); }
.filter-toggle { display: none; }

@media (max-width: 991px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: none; }
  .filter-panel.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

/* ----------------------------------------------------- product detail */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

.pd-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.pd-main {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 22px;
}
.pd-main img { max-height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb {
  width: 72px; height: 72px;
  padding: 6px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: grid; place-items: center;
}
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 110, 140, .12); }

.pd-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .6rem; }
.pd-meta { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.pd-meta b { color: var(--ink); font-weight: 600; }

.pd-price-box {
  background: var(--brand-tint);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.3rem;
}
.pd-price { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.pd-price .now { font-size: 2rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.pd-price .was { font-size: 1.05rem; color: var(--faint); text-decoration: line-through; }
.pd-price .save { background: var(--danger); color: #fff; padding: .2em .55em; font-size: .78rem; font-weight: 700; border-radius: 4px; }
.pd-price-note { font-size: .82rem; color: var(--muted); margin-top: .4rem; }

.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.qty-box button {
  width: 40px; height: 44px;
  border: 0;
  background: var(--surface-alt);
  color: var(--body);
  font-size: 1.1rem;
  cursor: pointer;
}
.qty-box button:hover { background: var(--brand-light); color: var(--brand); }
.qty-box input {
  width: 60px; height: 44px;
  border: 0;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd-buy { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.3rem; }
.pd-assurances { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pd-assurance { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; }
.pd-assurance b { display: block; color: var(--ink); font-size: .87rem; }
.pd-assurance span { color: var(--muted); font-size: .8rem; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { padding: .68rem .9rem; border-bottom: 1px solid var(--line-soft); text-align: left; }
.spec-table th { width: 34%; color: var(--muted); font-weight: 600; background: var(--surface-alt); }

@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: static; }
  .pd-assurances { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- cart */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 28px; align-items: start; }

.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-row:last-child { border-bottom: 0; }
.cart-thumb {
  width: 88px; height: 88px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  padding: 7px;
}
.cart-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-name { font-weight: 600; color: var(--ink); font-size: .93rem; }
.cart-name a { color: inherit; }

.summary-card { position: sticky; top: calc(var(--header-h) + 14px); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .48rem 0; font-size: .92rem; }
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: .6rem;
  padding-top: .9rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
}
.summary-row.total span:last-child { color: var(--brand); }
.summary-row .muted { color: var(--muted); }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .cart-row { grid-template-columns: 66px 1fr auto; grid-template-areas: "img name name" "img qty total"; row-gap: .6rem; }
  .cart-thumb { grid-area: img; width: 66px; height: 66px; }
}

/* ---------------------------------------------------------- checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.checkout-step { margin-bottom: 1.6rem; }
.step-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.step-num {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-head h3 { margin: 0; font-size: 1.05rem; }

.pay-option {
  display: flex;
  gap: .8rem;
  padding: .95rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: .6rem;
  transition: border-color .16s ease, background .16s ease;
}
.pay-option:hover { border-color: var(--brand); background: var(--brand-tint); }
.pay-option.selected { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px rgba(13, 110, 140, .08); }
.pay-option input { margin-top: 3px; accent-color: var(--brand); }
.pay-option b { display: block; color: var(--ink); font-size: .92rem; }
.pay-option span { font-size: .82rem; color: var(--muted); }

.mini-line { display: flex; gap: .7rem; align-items: center; padding: .5rem 0; font-size: .86rem; border-bottom: 1px solid var(--line-soft); }
.mini-line:last-of-type { border-bottom: 0; }
.mini-qty {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 5px;
  font-size: .74rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ account */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-user { padding: 1.2rem; background: var(--brand-tint); border-bottom: 1px solid var(--line-soft); }
.account-avatar {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: .6rem;
}
.account-user b { display: block; color: var(--ink); font-size: .95rem; }
.account-user span { font-size: .8rem; color: var(--muted); word-break: break-all; }
.account-links { list-style: none; margin: 0; padding: .4rem; }
.account-links li { margin: 0; }
.account-links a {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem;
  font-size: .89rem;
  color: var(--body);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.account-links a:hover { background: var(--surface-alt); color: var(--brand); text-decoration: none; }
.account-links a.active { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }

@media (max-width: 900px) { .account-layout { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- order track */
.track-line { display: flex; gap: 0; margin: 1.5rem 0; overflow-x: auto; padding-bottom: .5rem; }
.track-step { flex: 1; min-width: 96px; text-align: center; position: relative; }
.track-step::before {
  content: "";
  position: absolute;
  top: 15px; left: -50%;
  width: 100%; height: 2.5px;
  background: var(--line);
  z-index: 0;
}
.track-step:first-child::before { display: none; }
.track-dot {
  position: relative;
  z-index: 1;
  width: 32px; height: 32px;
  margin: 0 auto .5rem;
  display: grid; place-items: center;
  background: #fff;
  border: 2.5px solid var(--line);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
  color: var(--faint);
}
.track-step.done .track-dot { background: var(--green); border-color: var(--green); color: #fff; }
.track-step.done::before { background: var(--green); }
.track-step.current .track-dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px rgba(13, 110, 140, .13); }
.track-step small { font-size: .76rem; color: var(--muted); display: block; }
.track-step.done small, .track-step.current small { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- faq */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; background: #fff; overflow: hidden; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 1.2rem;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: .96rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: var(--brand); }
.faq-q .chev { flex-shrink: 0; transition: transform .2s ease; color: var(--brand); font-size: 1.1rem; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.2rem 1.15rem; font-size: .92rem; color: var(--body); }
.faq-item.open .faq-a { display: block; }

/* --------------------------------------------------------------- blog */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-light), var(--teal-light)); overflow: hidden; display: grid; place-items: center; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.15rem; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .73rem; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .45rem; }
.post-card h3 { font-size: 1.02rem; margin-bottom: .5rem; line-height: 1.4; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); text-decoration: none; }
.post-card p { font-size: .87rem; color: var(--muted); margin-bottom: .9rem; }
.post-foot { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--faint); display: flex; justify-content: space-between; }

.article-body { font-size: 1.02rem; line-height: 1.8; color: var(--body); }
.article-body h2 { margin-top: 2rem; font-size: 1.4rem; }
.article-body h3 { margin-top: 1.6rem; font-size: 1.15rem; }
.article-body ul, .article-body ol { margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .5rem; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.3rem;
  border-left: 4px solid var(--brand);
  background: var(--brand-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}

/* ------------------------------------------------------------ contact */
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 11px;
}
.contact-card h4 { font-size: .95rem; margin-bottom: .25rem; }
.contact-card p, .contact-card a { font-size: .89rem; color: var(--muted); margin: 0; }
.contact-card a:hover { color: var(--brand); }

/* --------------------------------------------------------- auth pages */
.auth-wrap { display: grid; place-items: center; padding: 56px 20px; background: var(--canvas); min-height: 74vh; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 700px; }
.auth-head { text-align: center; margin-bottom: 1.6rem; }
.auth-head h1 { font-size: 1.5rem; margin-bottom: .3rem; }
.auth-head p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--brand-darker); color: #b8d6e1; padding-top: 56px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .92rem; margin-bottom: 1.1rem; letter-spacing: .03em; }
.site-footer a { color: #b8d6e1; font-size: .88rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-about { font-size: .89rem; line-height: 1.7; margin-bottom: 1.2rem; max-width: 40ch; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; font-size: .88rem; align-items: flex-start; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .09);
  border-radius: 9px;
  color: #d6ecf3;
}
.footer-social a:hover { background: var(--teal); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .83rem;
}
.footer-bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------- sticky contact bar */
.sticky-contact { display: none; }

@media (max-width: 767px) {
  .sticky-contact {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 940;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -3px 14px rgba(16, 51, 68, .09);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .sticky-contact a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: .55rem .3rem;
    font-size: .68rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
  }
  .sticky-contact a.accent { color: var(--green); }
  .sticky-contact a:active { background: var(--surface-alt); }
  body { padding-bottom: 62px; }
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 930;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }

@media (max-width: 767px) { .wa-float { bottom: 74px; width: 48px; height: 48px; } }

/* --------------------------------------------------------- empty state */
.empty-state { text-align: center; padding: 4rem 1.5rem; }
.empty-state .icon {
  width: 74px; height: 74px;
  margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  background: var(--surface-alt);
  color: var(--faint);
  border-radius: 50%;
}
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--muted); max-width: 44ch; margin: 0 auto 1.5rem; }

/* =====================================================================
   Banner slider
   ---------------------------------------------------------------------
   Slides are stacked in the same grid cell rather than laid out in a row,
   so the section height is set by the tallest slide and never jumps as
   the slider advances. The aspect-ratio on the image reserves the space
   before the picture arrives, which keeps the layout shift at zero.
   ===================================================================== */
.slider {
  position: relative;
  overflow: hidden;
  background: var(--ink, #17303f);
  isolation: isolate;
}

.slider-track { display: grid; }

.slide {
  grid-area: 1 / 1;                 /* every slide occupies the same cell */
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.slide img {
  display: block;
  width: 100%;
  height: clamp(260px, 46vw, 560px);
  object-fit: cover;
  aspect-ratio: 5 / 2;
}

/* Copy sits over the image, with a gradient so text stays readable
   whatever the photograph happens to be. */
.slide-body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(6, 57, 74, .88) 0%, rgba(6, 57, 74, .62) 45%, rgba(6, 57, 74, .12) 100%);
}
.slide-copy { max-width: 40rem; color: #fff; padding: 1rem 0; }
.slide-copy h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3.6vw, 2.6rem);
  line-height: 1.22;
  margin: 0 0 .6rem;
}
.slide-copy p {
  color: #dbeef5;
  font-size: clamp(.94rem, 1.6vw, 1.1rem);
  margin: 0 0 1.1rem;
  max-width: 46ch;
}

/* ---- effect: slide ---- */
.slider-slide .slide { transform: translateX(3rem); transition: opacity .6s ease, transform .6s ease; }
.slider-slide .slide.is-active { transform: translateX(0); }

/* ---- effect: zoom (slow Ken Burns push on the active slide) ---- */
.slider-zoom .slide img { transform: scale(1); transition: transform 7s linear; }
.slider-zoom .slide.is-active img { transform: scale(1.08); }

/* ---- arrows ---- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;          /* 44px: a comfortable tap target */
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: var(--ink, #17303f);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
}
.slider:hover .slider-arrow,
.slider:focus-within .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: #fff; }
.slider-arrow:focus-visible { opacity: 1; outline: 3px solid var(--teal, #12a19a); outline-offset: 2px; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

/* Touch devices have no hover, so the arrows would never appear. */
@media (hover: none) {
  .slider-arrow { opacity: 1; background: rgba(255, 255, 255, .7); }
}

/* ---- dots ---- */
.slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.slider-dot {
  width: 34px; height: 22px;          /* generous hit area, small visual */
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.slider-dot span {
  display: block;
  width: 100%; height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transition: background .25s ease;
}
.slider-dot.is-active span { background: #fff; }
.slider-dot:focus-visible { outline: 3px solid var(--teal, #12a19a); outline-offset: 2px; border-radius: 4px; }

/* ---- autoplay progress ---- */
.slider-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  z-index: 3;
  background: rgba(255, 255, 255, .18);
}
.slider-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--teal, #12a19a);
}
.slider-progress.is-running span { transition: width linear; }

@media (max-width: 640px) {
  .slide-body { background: linear-gradient(180deg, rgba(6, 57, 74, .35) 0%, rgba(6, 57, 74, .86) 100%); }
  .slide-copy { text-align: center; margin: 0 auto; }
  .slider-dots { bottom: 8px; }
}

/* Someone who has asked for less motion gets a static first slide: no
   autoplay (handled in JS), no transitions, no Ken Burns. */
@media (prefers-reduced-motion: reduce) {
  .slide,
  .slider-zoom .slide img,
  .slider-progress.is-running span { transition: none !important; }
  .slider-slide .slide { transform: none !important; }
  .slider-zoom .slide.is-active img { transform: none !important; }
}
