/* ==========================================================================
   TonnyCaan Infotech — Main stylesheet
   Brand: navy + red (from logo), sky-blue accent
   ========================================================================== */

:root {
  --navy: #1f2a7c;
  --navy-700: #182163;
  --navy-900: #0c1238;
  --red: #d7262e;
  --red-600: #b91c23;
  --sky: #3d9be0;
  --sky-50: #eaf4fc;

  --ink: #10162f;
  --text: #3c4459;
  --muted: #6b7388;
  --line: #e4e8f1;
  --soft: #f5f7fb;
  --white: #ffffff;

  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 22, 47, .06), 0 1px 3px rgba(16, 22, 47, .05);
  --shadow: 0 10px 30px -12px rgba(16, 22, 47, .18);
  --shadow-lg: 0 24px 60px -20px rgba(16, 22, 47, .28);

  --container: 1200px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; } /* layout classes (grid/flex) must never override hidden */
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(215, 38, 46, .7); }
.btn-primary:hover { background: var(--red-600); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.78); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.topbar-list li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--sky); flex-shrink: 0; }
@media (max-width: 860px) { .topbar .hide-sm { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  position: relative;
  padding: .55rem .9rem;
  font-weight: 600; font-size: .95rem;
  color: var(--ink);
  border-radius: 999px;
}
.main-nav a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 700;
  background: var(--red); color: #fff; border-radius: 999px;
  border: 2px solid #fff;
}
.cart-count[data-empty="true"] { display: none; }
.nav-toggle { display: none; }
.nav-cta { display: inline-flex; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-grid; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    padding: .75rem 16px 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: .9rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--red); }
  .brand img { height: 44px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  color: #fff;
  background: var(--navy-900) url("../assets/img/satellite.jpg") center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(12,18,56,.96) 0%, rgba(12,18,56,.85) 42%, rgba(31,42,124,.45) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -180px; bottom: -220px; z-index: -1;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,155,224,.35), transparent 65%);
}
.hero-inner { padding: 5rem 0; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #ff8a8f; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--sky); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Inner-page banner */
.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  color: #fff;
  background: var(--navy-900) url("../assets/img/satellite.jpg") center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(12,18,56,.95), rgba(31,42,124,.78));
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; list-style: none; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy-900); color: rgba(255,255,255,.8); }
.section-navy h2, .section-navy h3 { color: #fff; }
@media (max-width: 760px) { .section { padding: 4rem 0; } }

.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }

.lead { font-size: 1.1rem; color: var(--text); }
.muted { color: var(--muted); }

/* Split layout: image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split + .split { margin-top: 6rem; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}
.split-media.contain img { object-fit: contain; background: #fff; padding: 1.5rem; }
.split-media::before {
  content: ""; position: absolute; z-index: -1;
  width: 55%; height: 55%;
  left: -18px; bottom: -18px;
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, var(--sky-50) 0 8px, transparent 8px 16px);
}
.split.reverse .split-media::before { left: auto; right: -18px; }
.split-badge {
  position: absolute; right: -14px; top: 24px;
  background: var(--red); color: #fff;
  padding: .8rem 1.1rem; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; box-shadow: var(--shadow);
}
.split-badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 4rem; }
  .split-badge { right: 12px; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--sky-50); color: var(--navy);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.red { background: #fdecec; color: var(--red); }

/* Image card (services on home) */
.media-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); transition: transform .5s var(--ease); }
.media-card:hover img { transform: scale(1.04); }
.media-card .media-wrap { overflow: hidden; }
.media-card-body { padding: 1.6rem 1.75rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.media-card-body p { color: var(--muted); flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--red); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Check list */
.check-list { list-style: none; display: grid; gap: .8rem; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
@media (max-width: 640px) { .check-list.cols-2 { grid-template-columns: 1fr; } }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: ""; flex-shrink: 0; margin-top: .2rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a7c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section-navy .check-list li { color: #fff; }
.section-navy .check-list li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d9be0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Feature pill list */
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.pill-list li {
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--sky-50); color: var(--navy);
  font-size: .88rem; font-weight: 600;
}

/* ---------- Brands strip ---------- */
.brands {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem; align-items: center;
}
.brand-logo {
  height: 96px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem;
  transition: box-shadow .25s, transform .25s;
}
.brand-logo:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-logo img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: filter .3s, opacity .3s; }
.brand-logo:hover img { filter: none; opacity: 1; }

/* ---------- Partners text band ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; list-style: none; }
.partners li { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: rgba(255,255,255,.55); letter-spacing: .02em; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  isolation: isolate;
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215,38,46,.45), transparent 65%);
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band p { margin: 0; max-width: 560px; }
@media (max-width: 600px) { .cta-band { padding: 2.25rem 1.5rem; } }

/* ---------- Service detail blocks ---------- */
.service-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: #fff; border-bottom: 1px solid var(--line);
}
.service-nav .container { display: flex; gap: .4rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; scrollbar-width: none; }
.service-nav .container::-webkit-scrollbar { display: none; }
.service-nav a {
  flex-shrink: 0; padding: .45rem 1rem; border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--text);
  border: 1px solid var(--line);
}
.service-nav a:hover, .service-nav a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.service-block { scroll-margin-top: calc(var(--header-h) + 70px); }
.service-num { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--red); letter-spacing: .1em; margin-bottom: .5rem; display: block; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-flow: dense; }
.gallery a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.gallery a.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,18,56,.55), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(8, 11, 32, .92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--soft); font-weight: 700; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr:hover { background: #fafbfe; }
.table .total { font-weight: 700; color: var(--navy); }

/* ---------- Prose / legal ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.notice {
  border-left: 4px solid var(--red);
  background: #fff6f6;
  padding: 1.25rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.notice.info { border-left-color: var(--sky); background: var(--sky-50); }
.declaration {
  border: 1px dashed #c6cde0; border-radius: var(--radius); padding: 2rem; background: #fff;
}
.signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.signature-grid div { border-bottom: 1px solid var(--muted); padding: 1.6rem 0 .3rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) { .signature-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--red); }
.input, .field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #d6dbe7;
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(31,42,124,.12);
}
.form-status { margin-top: 1rem; font-size: .92rem; font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy-900); color: rgba(255,255,255,.8); border-radius: var(--radius-lg); padding: 2.5rem; }
.contact-card h3 { color: #fff; }
.contact-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .ci-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--sky); display: grid; place-items: center; }
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item h4 { color: #fff; margin: 0 0 .2rem; font-size: .95rem; }
.contact-item a { color: rgba(255,255,255,.85); display: block; word-break: break-word; }
.contact-item a:hover { color: #fff; }
.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.socials a:hover { background: var(--red); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card, .contact-card { padding: 1.75rem 1.25rem; } }
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); display: block; filter: grayscale(.3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.68); font-size: .93rem; }
.footer-top { padding-top: 4.5rem; padding-bottom: 3rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; }
@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: .6rem .9rem; margin-bottom: 1.2rem; }
.footer-logo img { height: 48px; width: auto; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1.2rem; letter-spacing: .02em; }
.footer-links { list-style: none; display: grid; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.68); }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sky); flex-shrink: 0; margin-top: .25rem; }
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .83rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}
.shop-search { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.shop-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.shop-search input { padding-left: 2.6rem; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .5rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: .87rem; font-weight: 600; color: var(--text); cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.shop-sort { width: auto; min-width: 180px; border-radius: 999px; padding: .6rem 1rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-thumb {
  position: relative; aspect-ratio: 1; background: var(--soft);
  display: grid; place-items: center; overflow: hidden; cursor: pointer;
  border: 0; padding: 0; width: 100%;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; transition: transform .45s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb .placeholder { width: 64px; height: 64px; color: #c3cadb; }
.badge {
  display: inline-flex; align-items: center;
  padding: .25rem .65rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--sky-50); color: var(--navy);
}
.badge.red { background: #fdecec; color: var(--red); }
.badge.green { background: #e7f7ee; color: var(--success); }
.badge.amber { background: #fdf3e2; color: var(--warning); }
.badge.grey { background: #eef0f5; color: var(--muted); }
.product-thumb .badge { position: absolute; top: 12px; left: 12px; }
.product-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.product-name { font-size: 1.05rem; margin-bottom: .5rem; }
.product-name button { all: unset; cursor: pointer; }
.product-name button:hover { color: var(--navy); }
.product-desc { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.price small { font-size: .75rem; font-weight: 600; color: var(--muted); margin-left: .2rem; }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); grid-column: 1 / -1; }
.empty-state svg { width: 56px; height: 56px; color: #c3cadb; margin: 0 auto 1rem; }
.empty-state h3 { color: var(--ink); }

.skeleton { background: linear-gradient(90deg, #eef1f7 25%, #f7f9fc 50%, #eef1f7 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
.skeleton-card { height: 400px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.shop-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.perk { display: flex; gap: .9rem; align-items: center; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.perk svg { width: 28px; height: 28px; color: var(--red); flex-shrink: 0; }
.perk strong { display: block; color: var(--ink); font-size: .93rem; }
.perk span { font-size: .82rem; color: var(--muted); }
@media (max-width: 1020px) { .shop-perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-perks { grid-template-columns: 1fr; } }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.qty button:hover { background: var(--soft); }
.qty input { width: 40px; text-align: center; border: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Modal (product quick view) */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(8, 11, 32, .6);
  backdrop-filter: blur(3px);
}
.modal.open { display: flex; }
.modal-dialog {
  position: relative;
  width: 100%; max-width: 900px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: pop .25s var(--ease);
}
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft);
  display: grid; place-items: center; cursor: pointer;
}
.modal-close:hover { background: var(--line); }
.modal-close svg { width: 18px; height: 18px; }
.quickview { display: grid; grid-template-columns: 1fr 1fr; }
.quickview-media { background: var(--soft); display: grid; place-items: center; min-height: 320px; padding: 2rem; }
.quickview-media img { max-height: 420px; object-fit: contain; }
.quickview-body { padding: 2.5rem 2.25rem; }
.quickview-body .price { font-size: 1.7rem; display: block; margin: .5rem 0 1rem; }
.quickview-actions { display: flex; gap: .8rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }
@media (max-width: 760px) { .quickview { grid-template-columns: 1fr; } .quickview-body { padding: 1.75rem 1.25rem; } }

/* Cart drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 250; background: rgba(8,11,32,.5);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 260;
  width: min(420px, 100%);
  background: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.15rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.25rem 1.5rem 1.5rem; background: var(--soft); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: .35rem; font-size: .93rem; }
.drawer-foot .row.total { font-weight: 800; font-size: 1.1rem; color: var(--ink); margin: .6rem 0 1rem; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line img, .cart-line .ph { width: 72px; height: 72px; object-fit: contain; background: var(--soft); border-radius: 10px; padding: 6px; }
.cart-line h4 { font-size: .93rem; margin: 0 0 .2rem; }
.cart-line .unit { font-size: .82rem; color: var(--muted); }
.cart-line .line-total { font-weight: 700; color: var(--ink); text-align: right; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty svg { width: 52px; height: 52px; margin: 0 auto 1rem; color: #c3cadb; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.summary-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.summary-card .row { display: flex; justify-content: space-between; margin: .4rem 0; }
.summary-card .row.total { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.secure-note { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--muted); margin-top: 1rem; justify-content: center; }
.secure-note svg { width: 16px; height: 16px; color: var(--success); }

.result-card { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 3rem 2rem; box-shadow: var(--shadow); }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.5rem; background: #e7f7ee; color: var(--success); }
.result-icon.err { background: #fdecec; color: var(--danger); }
.result-icon svg { width: 38px; height: 38px; }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 500; display: grid; gap: .5rem; width: max-content; max-width: calc(100% - 32px); }
.toast {
  display: flex; align-items: center; gap: .75rem;
  background: var(--ink); color: #fff; padding: .85rem 1.2rem; border-radius: 12px;
  box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500;
  animation: toastIn .3s var(--ease);
}
.toast svg { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; }
.toast.err svg { color: #f87171; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }

.setup-banner { background: #fff8e6; border: 1px solid #f3dfae; color: #7a5a12; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: .92rem; }

/* ==========================================================================
   CUSTOMER ACCOUNT
   ========================================================================== */
.icon-btn.active { border-color: var(--navy); color: var(--navy); background: var(--sky-50); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }

.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; } }

.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem;
}
@media (max-width: 900px) { .account-nav { position: static; } }
.account-user { display: flex; gap: .85rem; align-items: center; padding-bottom: 1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line); min-width: 0; }
.account-user > div:last-child { min-width: 0; }
.account-user strong { display: block; color: var(--ink); line-height: 1.3; }
.account-user span { display: block; font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800;
}
.account-nav nav { display: grid; gap: .2rem; }
@media (max-width: 900px) { .account-nav nav { grid-template-columns: repeat(2, 1fr); } }
.account-nav button {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  padding: .7rem .8rem; border: 0; border-radius: 10px; background: transparent;
  font-weight: 600; font-size: .92rem; color: var(--text); text-align: left; cursor: pointer;
}
.account-nav button svg { width: 18px; height: 18px; flex-shrink: 0; }
.account-nav button:hover { background: var(--soft); color: var(--navy); }
.account-nav button.active { background: var(--sky-50); color: var(--navy); }
#signOutBtn { color: var(--muted); }
#signOutBtn:hover { color: var(--danger); background: #fff6f6; }

.acct-tab { display: none; }
.acct-tab.active { display: block; animation: fadeUp .25s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.acct-head h2 { margin: 0; font-size: 1.5rem; }
.danger-zone { border-color: #f3c7c7; }
.danger-zone h3 { color: var(--danger); }

/* Order history */
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 1.25rem; overflow: hidden; }
.order-card-head {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; background: var(--soft); border-bottom: 1px solid var(--line);
}
.order-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.order-meta div { font-size: .82rem; color: var(--muted); }
.order-meta strong { display: block; font-size: .95rem; color: var(--ink); }
.order-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.order-items { list-style: none; display: grid; gap: .5rem; margin: 1.25rem 0; }
.order-items li { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; }
.order-items li span:first-child { color: var(--ink); }
.order-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .88rem; color: var(--muted); }
.order-foot .order-total { font-weight: 800; color: var(--ink); font-size: 1rem; }

.tracker { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin: .25rem 0 .5rem; }
.tracker::before { content: ""; position: absolute; top: 13px; left: 12.5%; right: 12.5%; height: 3px; background: var(--line); }
.tracker .fill { position: absolute; top: 13px; left: 12.5%; height: 3px; background: var(--success); transition: width .4s var(--ease); }
.tracker .step { position: relative; text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); }
.tracker .dot {
  width: 29px; height: 29px; margin: 0 auto .4rem; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--line); position: relative; z-index: 1;
}
.tracker .step.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.tracker .step.done { color: var(--ink); }
.tracker .step.current .dot { box-shadow: 0 0 0 5px rgba(22,163,74,.18); }
.tracker .dot svg { width: 14px; height: 14px; }

/* Order status badges (shared with admin) */
.st-pending { background: #eef0f5; color: var(--muted); }
.st-paid { background: #e0f0fd; color: #1d6fb8; }
.st-processing { background: #fdf3e2; color: var(--warning); }
.st-shipped { background: #ede9fe; color: #6d28d9; }
.st-completed { background: #e7f7ee; color: var(--success); }
.st-cancelled, .st-refunded { background: #fdecec; color: var(--danger); }

/* Checkout account notice */
.acct-notice { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--sky-50); color: var(--navy); font-size: .92rem; margin-bottom: 1.5rem; }
.acct-notice svg { width: 20px; height: 20px; flex-shrink: 0; }
.check-row { display: flex; gap: .6rem; align-items: center; font-size: .92rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--navy); }

/* ==========================================================================
   LEGAL PAGES (privacy, terms)
   ========================================================================== */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 1.5rem; } }
.legal-toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: grid; gap: .15rem; padding: 1.25rem; font-size: .9rem;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
}
@media (max-width: 900px) { .legal-toc { position: static; } }
.legal-toc strong { color: var(--ink); margin-bottom: .4rem; }
.legal-toc a { color: var(--text); padding: .3rem .5rem; border-radius: 6px; }
.legal-toc a:hover { background: #fff; color: var(--navy); }
.legal .prose { max-width: 780px; }
.legal .prose h2 { scroll-margin-top: calc(var(--header-h) + 20px); font-size: 1.45rem; padding-top: .5rem; }
.legal .prose h2:first-of-type { margin-top: 1rem; }
.legal .prose h3 { font-size: 1.08rem; margin: 1.5rem 0 .4rem; }
.legal .prose td { vertical-align: top; }
.legal-updated { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }
mark.placeholder { background: #fff1b8; color: #6b4e00; padding: .05rem .35rem; border-radius: 4px; font-weight: 600; }

/* Email verification / reset codes */
.verify-card { max-width: 480px; margin: 0 auto; text-align: center; }
.verify-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); }
.verify-icon svg { width: 30px; height: 30px; }
.code-input {
  text-align: center; font-family: Consolas, "Courier New", monospace;
  font-size: 1.9rem; font-weight: 700; letter-spacing: .6em; padding: .7rem .5rem .7rem 1.1rem;
}
.code-input::placeholder { color: #c6cde0; letter-spacing: .5em; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.pdp-section { padding-top: 2.5rem; }
.breadcrumb-dark { color: var(--muted); margin-bottom: 1.75rem; flex-wrap: wrap; }
.breadcrumb-dark a { color: var(--navy); }
.breadcrumb-dark a:hover { color: var(--red); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 2rem; } }
.pdp-main { aspect-ratio: 1; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.pdp-main .placeholder { width: 80px; height: 80px; color: #c3cadb; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .6rem; margin-top: .8rem; }
.pdp-thumb { aspect-ratio: 1; padding: 0; border: 2px solid var(--line); border-radius: 12px; background: var(--soft); cursor: pointer; overflow: hidden; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--navy); }
.pdp-info h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .2rem 0 .6rem; }
.pdp-price .price { font-size: 1.9rem; }
.pdp-desc { color: var(--text); margin-bottom: 1.5rem; }
.pdp-perks { list-style: none; display: grid; gap: .7rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .92rem; }
.pdp-perks li { display: flex; gap: .7rem; align-items: center; color: var(--ink); }
.pdp-perks svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.product-thumb { text-decoration: none; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--navy); }

/* Cart change notice (checkout) */
.cart-changes { border: 1px solid #f3dfae; background: #fff8e6; color: #7a5a12; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: .92rem; }
.cart-changes ul { margin: .4rem 0 0 1.1rem; }
