/* ==========================================================================
   InkMall landing page — design system + layout (Phase 2)
   Mobile-first.
   ========================================================================== */

:root {
  /* Brand — kinuha mismo sa green ng InkMall logo (#1d6e48) */
  --brand: #1b6c46;
  --brand-dark: #124f33;
  --brand-deep: #0c3a25;
  --brand-tint: #e6f2ec;
  --cream: #eef6f1;            /* light green para sa maliliit na UI surfaces (dating beige) */
  --yellow: #f5c800;           /* CMYK yellow ng logo — accent sa ibabaw ng green */
  --yellow-hover: #ffd633;

  /* Text sa ibabaw ng green */
  --on-green: #ffffff;
  --on-green-muted: #cfe5d8;
  --on-green-soft: #a6cdb7;

  /* Neutrals */
  --bg: #ffffff;
  --text: #15201a;
  --muted: #52615a;
  --line: #dde6e0;

  /* Category accents (CMYK ng logo + violet para sa UV).
     Pang-marker lang ito — hindi pang-button. */
  --c-sublimation: #0e7fb8;
  --c-eco: #c2276b;
  --c-dtf: #2b2b2b;
  --c-uv: #6a4bc4;
  --c-desktop: #d99b00;

  /* Scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(23, 33, 27, .06), 0 4px 16px rgba(23, 33, 27, .06);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Inter din ang headings — mas makapal at mas siksik ang letter-spacing */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 64px;
  --container: 1120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s4)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1, h2, .brand__name, .product__title, .price, .type-card__name, .cart__head h2, .why-card h3 {
  font-family: var(--font-display); letter-spacing: -0.02em;
}
h1, h2 { font-weight: 800;
}p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s4); }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--brand); color: #fff; padding: var(--s2) var(--s4); border-radius: var(--radius);
}
.skip-link:focus { top: var(--s2); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  font: 700 16px/1 var(--font);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand-tint); }
.btn--sm { min-height: 44px; padding: 0 var(--s4); font-size: 15px; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: transparent; border: 0; color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- Placeholder marker (para kitang-kita kung alin ang hindi pa totoong data) ---------- */
.placeholder {
  border: 2px dashed #c9b98f;
  background: #fffaf0;
  border-radius: var(--radius);
  padding: var(--s4);
  color: var(--muted);
  font-size: 14px;
}
.placeholder strong {
  display: inline-block; margin-bottom: var(--s1);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a6d1f;
}

/* ---------- Announcement ticker ---------- */
.ticker {
  position: relative; display: flex; align-items: center;
  height: 36px; background: var(--brand-deep); color: #e6f2ec;
  font-size: 13px; font-weight: 600; overflow: hidden;
}
.ticker__viewport { flex: 1; overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track {
  display: flex; width: max-content; white-space: nowrap;
  animation: ticker-scroll var(--ticker-duration, 45s) linear infinite;
}
.ticker__track li { display: inline-flex; align-items: center; }
.ticker__track li::after { content: "✦"; margin: 0 22px; color: var(--yellow); font-size: 11px; }
.ticker__track a { color: var(--yellow); margin-left: 4px; }
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ticker__pause {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; background: rgba(255, 255, 255, .06); color: #e6f2ec; cursor: pointer;
}
.ticker__pause:hover { background: rgba(255, 255, 255, .14); }
.ticker__pause svg { width: 14px; height: 14px; }
.ticker__pause .i-play, .ticker.is-paused .ticker__pause .i-pause { display: none; }
.ticker.is-paused .ticker__pause .i-play { display: block; }
.ticker :focus-visible { outline-color: var(--yellow); outline-offset: -3px; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; scrollbar-width: none; }
  .ticker__pause { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: var(--s2); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; margin-right: auto; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand__name { font-weight: 800; font-size: 20px; color: var(--brand); letter-spacing: -0.02em; }

.site-nav { display: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: var(--radius-pill);
}
.site-nav a:hover { background: var(--cream); }

.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}

.header-cta { white-space: nowrap; }

/* Sa napakaliit na screen, logo lang muna para kasya ang "Shop Inks" CTA */
@media (max-width: 379px) {
  .brand__name { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: var(--s2) var(--s4) var(--s4);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: flex; align-items: center; min-height: 48px;
  color: var(--text); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: var(--s4); border-bottom: 0; color: #fff; }

@media (min-width: 1024px) {
  .site-nav { display: flex; gap: var(--s1); }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .brand { margin-right: var(--s5); }
  .site-nav { margin-right: auto; }
}

/* ---------- Hero (logo green) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s6) 0 calc(var(--s7) + 40px);
  color: var(--on-green);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .10), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(245, 200, 0, .10), transparent 40%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: var(--s6); align-items: center; }

.eyebrow {
  display: inline-flex; flex-wrap: wrap; gap: var(--s1) var(--s2); align-items: center;
  font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: var(--s3);
}
.hero .eyebrow {
  padding: 6px var(--s3); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18);
  color: var(--on-green);
}
.hero h1 { font-size: clamp(36px, 9.5vw, 64px); line-height: 1.05; color: var(--on-green); }
.hero h1 span { color: var(--yellow); }
.hero__lead { margin-top: var(--s4); font-size: 17px; color: var(--on-green-muted); max-width: 34em; }

.hero__ctas { display: grid; gap: var(--s3); margin-top: var(--s5); }
.hero .btn--primary { background: var(--yellow); color: var(--brand-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.hero .btn--primary:hover { background: var(--yellow-hover); }
.hero .btn--secondary { color: var(--on-green); border-color: rgba(255, 255, 255, .7); }
.hero .btn--secondary:hover { background: rgba(255, 255, 255, .10); border-color: #fff; }
.hero :focus-visible { outline-color: var(--yellow); }

.trust { display: grid; gap: var(--s2); margin-top: var(--s5); }
.trust li { display: flex; align-items: center; gap: var(--s2); font-weight: 600; font-size: 15px; color: var(--on-green); }
.trust svg { flex: none; width: 22px; height: 22px; color: var(--yellow); }

.hero__visual { position: relative; display: grid; justify-items: center; padding: var(--s4) 0; }
.hero__mascot {
  width: min(280px, 72vw); aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .10), 0 0 0 22px rgba(255, 255, 255, .05), 0 24px 48px rgba(0, 0, 0, .30);
}
/* CMYK ink drops sa paligid ng mascot */
.hero__drop {
  position: absolute; width: 22px; height: 30px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}
.hero__drop::before {
  content: ""; position: absolute; left: 50%; top: -8px; width: 12px; height: 12px;
  background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px 0 0 0;
}
.hero__drop--c { background: #00a0e0; top: 8%;  left: 12%; transform: rotate(-12deg); }
.hero__drop--m { background: #e0207a; top: 22%; right: 8%; transform: rotate(14deg) scale(.85); }
.hero__drop--y { background: var(--yellow); bottom: 14%; left: 8%; transform: rotate(10deg) scale(.75); }
.hero__drop--k { background: #111; bottom: 6%; right: 16%; transform: rotate(-8deg) scale(1.1); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; display: block; }

@media (min-width: 560px) {
  .hero__ctas { grid-auto-flow: column; justify-content: start; }
  .trust { grid-auto-flow: column; justify-content: start; gap: var(--s5); }
}
@media (min-width: 900px) {
  .hero { padding: var(--s8) 0 calc(var(--s8) + 40px); }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: var(--s7); }
  .hero__mascot { width: 340px; }
  .hero__drop { width: 28px; height: 38px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
.section__head { margin-bottom: var(--s5); max-width: 40em; }
.section__head h2 { font-size: clamp(28px, 6.5vw, 40px); }
.section__head p { margin-top: var(--s2); color: var(--muted); }
@media (min-width: 900px) { .section { padding: var(--s8) 0; } }

/* Green na section (dating beige) */
.section--tint {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .07), transparent 40%),
    var(--brand);
  color: var(--on-green);
}
.section--tint .section__head h2 { color: var(--on-green); }
.section--tint .section__head p { color: var(--on-green-muted); }
.section--tint > .container > .placeholder,
.section--tint .section__head + .placeholder {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: var(--on-green-muted);
}
.section--tint .placeholder strong { color: var(--yellow); }

/* ---------- Shop by ink type ---------- */
.types { display: grid; gap: var(--s3); }
.type-card {
  --accent: var(--brand);
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: var(--s3);
  min-height: 76px; padding: var(--s3) var(--s4);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.type-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.type-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
}
.type-card__icon svg { width: 24px; height: 24px; }
.type-card__name { font-weight: 700; font-size: 17px; }
.type-card__use { font-size: 14px; color: var(--muted); line-height: 1.4; }
.type-card__arrow { color: var(--muted); width: 20px; height: 20px; }

.type-card[data-type="sublimation"] { --accent: var(--c-sublimation); }
.type-card[data-type="eco-solvent"] { --accent: var(--c-eco); }
.type-card[data-type="dtf"]         { --accent: var(--c-dtf); }
.type-card[data-type="uv"]          { --accent: var(--c-uv); }

@media (min-width: 720px) {
  .types { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .types { grid-template-columns: repeat(4, 1fr); }
  .type-card {
    grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; align-items: start;
    padding: var(--s5) var(--s4); border-top: 4px solid var(--accent);
  }
  .type-card__arrow { display: none; }
}

/* ---------- Why InkMall ---------- */
.why {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .06), transparent 40%),
    linear-gradient(180deg, var(--brand-dark), var(--brand-deep));
  color: var(--on-green);
}
.why__grid { display: grid; gap: var(--s6); align-items: center; }
.why .eyebrow { color: var(--on-green-soft); }
.why h2 { font-size: clamp(36px, 9vw, 56px); line-height: 1.05; color: var(--on-green); }
.why h2 span { color: var(--yellow); }
.why__lead { margin-top: var(--s4); font-size: 17px; line-height: 1.65; color: var(--on-green-muted); max-width: 34em; }
.why__drops { display: flex; gap: 6px; margin-top: var(--s5); }
.why__drops i { display: block; width: 14px; height: 20px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.why__drops i:nth-child(1) { background: #00a0e0; }
.why__drops i:nth-child(2) { background: #e0207a; }
.why__drops i:nth-child(3) { background: #f5c800; }
.why__drops i:nth-child(4) { background: #111; }

.why__list { display: grid; gap: var(--s3); }
.why-card {
  display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s3); row-gap: var(--s1);
  padding: var(--s4); border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.why-card__icon {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--accent);
}
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: #fff; align-self: end; }
.why-card p { font-size: 15px; color: #c3d8ca; }

@media (min-width: 720px) {
  .why__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: .9fr 1.1fr; gap: var(--s7); }
}

/* ---------- Product filters ---------- */
.filters {
  display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: var(--s1);
  margin: 0 calc(var(--s4) * -1); padding-left: var(--s4); padding-right: var(--s4);
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s4);
  font: 600 15px/1 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-pill);
  cursor: pointer;
}
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 2px #fff; }
.filters__count { margin: var(--s3) 0 var(--s4); font-size: 14px; color: var(--muted); }

/* Filters sa ibabaw ng green */
.section--tint .chip { border-color: transparent; }
.section--tint .chip:hover { border-color: var(--yellow); }
.section--tint .chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--brand-deep); font-weight: 700; }
.section--tint .chip:focus-visible { outline-color: var(--yellow); }
.section--tint .filters__count { color: var(--on-green-muted); }

/* ---------- Product cards ---------- */
/* Pantay ang taas ng mga card sa iisang row; ang Add to Cart at Product details ay laging nasa ibaba */
.products { display: grid; gap: var(--s4); align-items: stretch; }
.product {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.section--tint .product { border-color: transparent; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); color: var(--text); }
.product[hidden] { display: none; }
.product__media {
  position: relative; aspect-ratio: 1 / 1; background: #fffdf6; border-bottom: 1px solid var(--line);
  overflow: hidden; touch-action: pan-y; user-select: none;   /* para sa slide animation at swipe */
}
.product__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  -webkit-user-drag: none; will-change: transform;
}
.product__media .rating { z-index: 2; }
.badge {
  position: absolute; top: var(--s3); left: var(--s3);
  padding: var(--s1) var(--s3); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
}
.badge--best { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow); }

/* Type + Best Seller sa iisang linya (para malinis ang photo — rating lang ang nasa ibabaw nito) */
.product__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.product__meta .product__type { margin-bottom: 0; }
.product__meta .badge {
  position: static; flex: none; padding: 3px var(--s2); font-size: 10px;
  background: var(--yellow); color: var(--brand-deep); box-shadow: none;
}

/* Rating badge — upper right */
.rating {
  position: absolute; top: var(--s3); right: var(--s3);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: var(--radius-pill);
  background: #fff; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1; color: var(--text);
}
.rating strong { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.rating small { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* 5 yellow stars: outline sa ilalim, filled sa ibabaw (lapad = rating) */
.stars { position: relative; display: inline-block; line-height: 0; }
.stars__row { display: inline-flex; gap: 1px; white-space: nowrap; }
.stars__row svg { width: 14px; height: 14px; flex: none; }
.stars__base svg { fill: none; stroke: #e8b400; stroke-width: 2; stroke-linejoin: round; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.stars__fill svg { fill: #f5c000; stroke: #e8b400; stroke-width: 2; stroke-linejoin: round; }

/* Price + stock */
.buy__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s3); flex-wrap: wrap; }
.stock { font-size: 14px; color: var(--muted); }
.stock[hidden] { display: none; }
.stock strong { font-weight: 700; }
.stock .is-in { color: #177a33; }
.stock .is-low { color: #b26a00; }
.stock .is-out { color: #b3261e; }

.product__body { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s4); flex: 1; }
/* Ito na ang nakikitang pangalan ng product (ang h3 title ay para sa screen readers lang) */
.product__type { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent, var(--brand)); }
.product__title { font-size: 20px; font-weight: 800; }

.product[data-type="sublimation"] { --accent: var(--c-sublimation); }
.product[data-type="eco-solvent"] { --accent: var(--c-eco); }
.product[data-type="dtf"]         { --accent: var(--c-dtf); }
.product[data-type="uv"]          { --accent: var(--c-uv); }

.highlights { display: grid; gap: var(--s2); font-size: 15px; font-weight: 600; }
.highlights li { position: relative; padding-left: 28px; }
.highlights li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b6b3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.specs { margin: 0; display: grid; gap: var(--s2); font-size: 15px; }
.specs > div { display: grid; grid-template-columns: 88px 1fr; gap: var(--s3); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.tbd { color: #8a6d1f; font-weight: 600; }

/* "Product details" — nakatago hangga't hindi pinipindot */
.more { border-top: 1px solid var(--line); font-size: 15px; margin-bottom: calc(var(--s4) * -1); }
.more summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  font-weight: 700; color: var(--brand); cursor: pointer; list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 22px; font-weight: 600; }
.more[open] summary::after { content: "−"; }
.more__body { display: grid; gap: var(--s4); padding-bottom: var(--s4); }
.more__body h4 { margin: 0; font-size: 15px; font-weight: 700; }
.more__body h4 + p, .more__body h4 + ul { margin-top: calc(var(--s3) * -1); }
.more__body p { color: var(--muted); line-height: 1.6; }
/* Compatible printers — iisang format sa lahat ng card */
.compat { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px dashed var(--line); }
.compat h4 { margin: 0; }
.more__body .compat h4 + p { margin-top: 0; }
.compat__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.heads { display: flex; flex-wrap: wrap; gap: 6px; }
.heads li {
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--brand-tint); color: var(--brand-deep);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.compat .list, .compat > p:not(.compat__label) { margin-top: var(--s1); font-size: 14px; }
.list { list-style: disc; padding-left: var(--s5); display: grid; gap: var(--s1); color: var(--muted); }

.price { font-size: 20px; font-weight: 800; }
.price.tbd { font-size: 15px; }

/* Color swatches — iisang row ng bilog; ang pangalan ng napiling kulay ay nasa legend */
.swatches { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 6px; }
.swatches legend { padding: 0; margin-bottom: var(--s2); font-size: 15px; color: var(--muted); }
.swatches legend span { color: var(--text); font-weight: 700; }
.swatch {
  position: relative; flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer; transition: border-color .15s;
}
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch__dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.swatch__dot--letter { display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff; }
.swatch:hover { border-color: var(--line); }
.swatch:has(input:checked) { border-color: var(--brand); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 1px; }

.buy { margin-top: auto; display: grid; gap: var(--s3); }
.buy__row { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); height: 48px; }
.qty button {
  width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer;
  font: 600 20px/1 var(--font); color: var(--text); border-radius: var(--radius-pill);
}
.qty button:hover { background: var(--cream); }
.qty input {
  width: 40px; height: 100%; border: 0; text-align: center; background: transparent;
  font: 700 16px/1 var(--font); color: var(--text); -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn:disabled { background: #c9d6cd; color: #4d5c53; cursor: not-allowed; }

.product--empty .product__body { justify-content: center; min-height: 220px; }

@media (min-width: 720px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .filters { margin: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; }
}
/* Desktop: 4 na card sa iisang row — compact na sukat para kasya pa rin ang 6 na kulay ng UV */
@media (min-width: 1024px) {
  #products .container { max-width: 1280px; }
  .products { grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
  .product__body { padding: 14px; gap: var(--s3); }
  .product__type { font-size: 13px; }
  .product__title { font-size: 18px; }
  .price { font-size: 18px; }
  .stock { font-size: 13px; }
  .rating { top: 10px; right: 10px; padding: 4px 8px 4px 6px; }
  .swatches { gap: 3px; }
  .swatch { width: 30px; height: 30px; }
  .swatch__dot { width: 22px; height: 22px; }
  .swatch__dot--letter { font-size: 11px; }
  .buy__row { gap: var(--s2); }
  .qty { height: 44px; }
  .qty button { width: 32px; font-size: 18px; }
  .qty input { width: 30px; font-size: 15px; }
  .add-to-cart { min-height: 44px; padding: 0 10px; font-size: 14px; }
}
@media (min-width: 1280px) {
  .product__body { padding: var(--s4); }
  .swatches { gap: 4px; }
  .swatch { width: 38px; height: 38px; }
  .swatch__dot { width: 28px; height: 28px; }
}

/* ---------- Welcome pop-up ---------- */
.welcome { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: var(--s4); }
.welcome[hidden] { display: none; }
.welcome__overlay { position: absolute; inset: 0; background: rgba(12, 30, 20, .62); opacity: 0; transition: opacity .25s; }
.welcome__card {
  position: relative; width: min(880px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr; border-radius: 18px; background: var(--bg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .25s;
}
.welcome.is-open .welcome__overlay { opacity: 1; }
.welcome.is-open .welcome__card { opacity: 1; transform: none; }

.welcome__x {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--text); box-shadow: var(--shadow);
}
.welcome__x:hover { background: #fff; }
.welcome__x svg { width: 18px; height: 18px; }

/* Kaliwang art panel (green + mascot + CMYK drops) */
.welcome__art {
  position: relative; display: grid; justify-items: center; align-content: center; gap: var(--s3);
  padding: var(--s5) var(--s4); overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .14), transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(245, 200, 0, .16), transparent 45%),
    linear-gradient(160deg, var(--brand), var(--brand-deep));
}
.welcome__art img {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover; background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .10), 0 16px 32px rgba(0, 0, 0, .3);
}
.welcome__tag { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.welcome__tag span { color: var(--yellow); }
.welcome__drop {
  position: absolute; width: 16px; height: 22px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
}
.welcome__drop--c { background: #00a0e0; top: 14%; left: 12%; transform: rotate(-12deg); }
.welcome__drop--m { background: #e0207a; top: 26%; right: 12%; transform: rotate(12deg) scale(.85); }
.welcome__drop--y { background: var(--yellow); bottom: 18%; left: 16%; transform: rotate(8deg) scale(.8); }
.welcome__drop--k { background: #111; bottom: 12%; right: 18%; transform: rotate(-6deg); }

.welcome__body { padding: var(--s5) var(--s5) var(--s5); }
.welcome__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.welcome__body h2 { margin-top: var(--s2); font-size: clamp(22px, 5.5vw, 30px); line-height: 1.15; color: var(--brand-deep); }
.welcome__lead { margin-top: var(--s2); color: var(--muted); font-size: 15px; }
.welcome__form { display: grid; gap: var(--s3); margin-top: var(--s4); }
.welcome__row { display: grid; gap: var(--s3); }
.welcome__field { display: grid; gap: 6px; }
.welcome__field label { font-size: 14px; font-weight: 600; }
.welcome__field .req { color: #b3261e; }
.welcome__err { font-size: 13px; font-weight: 600; color: #b3261e; }
.welcome__err[hidden] { display: none; }
.welcome__field .field[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.welcome__consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.welcome__consent a { color: var(--brand); font-weight: 600; }
.welcome__consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.welcome__submit { margin-top: var(--s1); }
.welcome__skip {
  justify-self: center; min-height: 40px; padding: 0 var(--s3); border: 0; background: none; cursor: pointer;
  font: 600 14px/1 var(--font); color: var(--muted); text-decoration: underline;
}
.welcome__skip:hover { color: var(--text); }
.welcome__done { display: grid; gap: var(--s2); outline: none; }
.welcome__done[hidden] { display: none; }
.welcome__done .btn { margin-top: var(--s3); }
.welcome__proto { margin-top: var(--s2); padding: var(--s2) var(--s3); border-radius: 8px; background: #fff6dd; color: #6b5414; font-size: 12px; }

@media (max-width: 559px) {
  .welcome { padding: 0; align-items: end; }
  .welcome__card { border-radius: 18px 18px 0 0; max-height: 92dvh; }
  .welcome__art { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: var(--s4); }
  .welcome__art img { width: 64px; height: 64px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .10); }
  .welcome__drop { display: none; }
  .welcome__body { padding: var(--s4); }
  .welcome__art { padding: var(--s3) var(--s4); }
  .welcome__form { gap: 10px; }
}
@media (min-width: 560px) {
  .welcome__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .welcome__card { grid-template-columns: 5fr 7fr; }
  .welcome__art { padding: var(--s6) var(--s4); }
  .welcome__art img { width: 200px; height: 200px; }
  .welcome__tag { font-size: 22px; }
  .welcome__body { padding: var(--s6) var(--s6) var(--s5); }
}

/* ---------- Legal pages (Privacy Policy) ---------- */
.legal-container { max-width: 780px; }
.legal-hero { padding: var(--s7) 0 var(--s6); background: linear-gradient(160deg, var(--brand), var(--brand-dark)); color: var(--on-green); }
.legal-hero .eyebrow { color: var(--on-green-soft); }
.legal-hero h1 { font-size: clamp(32px, 7vw, 48px); color: #fff; }
.legal-meta { margin-top: var(--s2); color: var(--on-green-muted); font-size: 15px; }
.legal { padding-top: var(--s6); padding-bottom: var(--s7); font-size: 16px; line-height: 1.7; }
.legal-lead { font-size: 17px; }
.legal a { color: var(--brand); text-underline-offset: 3px; }
.legal section { padding-top: var(--s5); scroll-margin-top: calc(var(--header-h) + var(--s4)); }
.legal h2 { font-size: 22px; margin-bottom: var(--s3); color: var(--brand-deep); }
.legal p + p { margin-top: var(--s3); }
.legal ul { list-style: disc; padding-left: var(--s5); display: grid; gap: var(--s2); margin-top: var(--s3); }
.legal ul + p { margin-top: var(--s3); }
.legal-toc { margin-top: var(--s5); padding: var(--s4) var(--s5); border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.legal-toc p { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-deep); }
.legal-toc ol { margin: var(--s2) 0 0; padding-left: var(--s5); display: grid; gap: 4px; font-size: 15px; }
.legal-contact { margin-top: var(--s3); padding: var(--s4) var(--s5); border-radius: var(--radius); border-left: 4px solid var(--brand); background: var(--cream); }
.legal-contact p + p { margin-top: 4px; }
.legal-footer { padding: var(--s5) 0; background: var(--brand-deep); color: #cfe5d8; font-size: 14px; }
.legal-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); }
.legal-footer a { color: #fff; }

/* ---------- Product details button (sa card) ---------- */
.more-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px;
  margin-bottom: calc(var(--s4) * -1); padding: 0; border: 0; border-top: 1px solid var(--line);
  background: none; cursor: pointer; font: 700 15px/1 var(--font); color: var(--brand); text-align: left;
}
.more-btn svg { width: 18px; height: 18px; transition: transform .15s; }
.more-btn:hover svg { transform: rotate(90deg); }
.more-btn:hover { color: var(--brand-dark); }

/* ---------- Product details pop-up ---------- */
.pmodal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: var(--s4); }
.pmodal[hidden] { display: none; }
.pmodal__overlay { position: absolute; inset: 0; background: rgba(12, 30, 20, .6); opacity: 0; transition: opacity .2s; }
.pmodal__card {
  position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: calc(100dvh - 32px);
  border-radius: 18px; background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .2s, transform .2s;
}
.pmodal.is-open .pmodal__overlay { opacity: 1; }
.pmodal.is-open .pmodal__card { opacity: 1; transform: none; }

.pmodal__head {
  display: grid; grid-template-columns: 72px 1fr 40px; align-items: center; gap: var(--s3);
  padding: var(--s4) var(--s4) var(--s4) var(--s5); border-bottom: 1px solid var(--line);
}
.pmodal__img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #fffdf6; border: 1px solid var(--line); }
.pmodal__type { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent, var(--brand)); }
.pmodal__heading h2 { margin-top: 2px; font-size: 20px; color: var(--brand-deep); }
.pmodal__x {
  display: grid; place-items: center; width: 40px; height: 40px; align-self: start; border-radius: 50%;
  border: 0; background: var(--cream); color: var(--text); cursor: pointer;
}
.pmodal__x:hover { background: var(--brand-tint); }
.pmodal__x svg { width: 18px; height: 18px; }

.pmodal__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--s4) var(--s5) var(--s5); font-size: 15px; }
.pmodal__body .more__body { padding-bottom: 0; }

.pmodal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--s5); border-top: 1px solid var(--line); background: #fafcfb;
}
.pmodal__variant { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pmodal__foot .btn { flex: none; }

@media (max-width: 559px) {
  .pmodal { padding: 0; align-items: end; }
  .pmodal__card { border-radius: 18px 18px 0 0; max-height: 88dvh; }
  .pmodal__head { grid-template-columns: 56px 1fr 40px; padding: var(--s3) var(--s3) var(--s3) var(--s4); }
  .pmodal__img { width: 56px; height: 56px; }
  .pmodal__heading h2 { font-size: 18px; }
  .pmodal__body, .pmodal__foot { padding-left: var(--s4); padding-right: var(--s4); }
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(23, 33, 27, .45);
  opacity: 0; transition: opacity .2s;
}
.cart-overlay.is-open { opacity: 1; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--bg); box-shadow: -8px 0 32px rgba(23, 33, 27, .18);
  transform: translateX(100%); transition: transform .25s ease;
}
.cart.is-open { transform: none; }
.cart[hidden], .cart-overlay[hidden] { display: none; }

.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) var(--s3) var(--s3) var(--s4); border-bottom: 1px solid var(--line);
}
.cart__head h2 { font-size: 20px; font-weight: 800; }
.cart__close { background: var(--cream); }

.cart__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.cart__items { padding: 0 var(--s4); }
.cart-item {
  display: grid; grid-template-columns: 76px 1fr; gap: var(--s3);
  padding: var(--s4) 0; border-bottom: 1px solid var(--line);
}
.cart-item__img { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; background: #fffdf6; border: 1px solid var(--line); }
.cart-item__name { font-weight: 700; line-height: 1.3; }
.cart-item__price { margin-top: var(--s1); font-weight: 800; }
.cart-item__price.tbd { font-weight: 600; font-size: 14px; }
.cart-item__meta { margin-top: var(--s1); font-size: 14px; color: var(--muted); }
.cart-item__controls { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.cart-item .qty { height: 40px; }
.cart-item .qty button { width: 38px; font-size: 18px; }
.cart-item .qty input { width: 34px; font-size: 15px; }
.cart-item__remove { color: var(--muted); }
.cart-item__remove:hover { color: #b3261e; background: #fbeaea; }
.cart-item__remove svg { width: 20px; height: 20px; }

.cart__empty { display: grid; justify-items: center; gap: var(--s4); padding: var(--s7) var(--s4); text-align: center; color: var(--muted); }
.cart__empty[hidden], .cart__extras[hidden], .cart__foot[hidden] { display: none; }

.cart__extras { padding: 0 var(--s4) var(--s4); }
.cart__row-details { border-bottom: 1px solid var(--line); }
.cart__row-details summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  font-weight: 700; cursor: pointer; list-style: none;
}
.cart__row-details summary::-webkit-details-marker { display: none; }
.cart__row-details summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.cart__row-details[open] summary::after { transform: rotate(-135deg); }
.cart__row-details textarea { margin-bottom: var(--s4); }

.field, .cart__row-details textarea {
  width: 100%; min-height: 48px; padding: var(--s3); border: 1px solid var(--line); border-radius: 8px;
  font: 400 16px/1.4 var(--font); color: var(--text); background: var(--bg); resize: vertical;
}
.field:focus, .cart__row-details textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field-label { display: block; margin: var(--s4) 0 var(--s2); font-weight: 700; font-size: 15px; }

.cart__actions { display: flex; align-items: center; gap: var(--s4); min-height: 52px; border-bottom: 1px solid var(--line); }
.link-btn {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0;
  border: 0; background: none; font: 600 15px/1 var(--font); color: var(--text); cursor: pointer;
  flex: none; white-space: nowrap;
}
.link-btn:hover { color: var(--brand); }
.link-btn svg { width: 20px; height: 20px; }
.cart__status { font-size: 14px; color: var(--brand); }

.delivery { border: 0; margin: var(--s4) 0 0; padding: var(--s4); background: var(--cream); border-radius: var(--radius); }
.delivery legend { float: left; width: 100%; margin-bottom: var(--s3); padding: 0; font-weight: 700; }
.delivery__options { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.delivery__opt {
  position: relative; display: grid; justify-items: center; gap: var(--s2);
  padding: var(--s4) var(--s2); border: 2px solid var(--line); border-radius: 8px; background: var(--bg);
  font-weight: 700; text-align: center; cursor: pointer;
}
.delivery__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.delivery__opt svg { width: 28px; height: 28px; }
.delivery__opt:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.delivery__opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.delivery__panel { margin-top: var(--s4); }
.delivery__panel[hidden] { display: none; }
.muted { color: var(--muted); font-size: 15px; }

.cart__foot { padding: var(--s4); border-top: 1px solid var(--line); display: grid; gap: var(--s3); background: var(--bg); }
.cart__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.cart__subtotal strong { font-size: 20px; }
.cart__subtotal strong.tbd { font-size: 15px; }
.cart__fine { font-size: 13px; color: var(--muted); text-align: center; }

body.cart-locked { overflow: hidden; }

.cart-item__controls .cart-item__total { margin-left: auto; font-weight: 700; font-size: 15px; }

/* Note para sa InkMall */
.cart-note summary { gap: var(--s3); }
.cart-note__title { display: inline-flex; align-items: center; gap: var(--s2); }
.cart-note__title svg { width: 20px; height: 20px; color: var(--brand); }
.cart-note__hint {
  margin-left: auto; padding: 2px var(--s2); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; color: var(--muted); background: var(--cream);
}
.cart-note__hint.has-note { color: var(--brand-dark); background: var(--brand-tint); }
.cart-note__body { display: grid; gap: var(--s3); padding-bottom: var(--s4); }
.cart-note__help { font-size: 14px; color: var(--muted); line-height: 1.5; }
.cart-note .cart-note__body textarea { margin: 0; }
.note-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.note-chip {
  min-height: 36px; padding: 0 var(--s3); border-radius: var(--radius-pill);
  border: 1px dashed var(--brand); background: var(--bg); color: var(--brand-dark);
  font: 600 13px/1 var(--font); cursor: pointer;
}
.note-chip:hover { background: var(--brand-tint); border-style: solid; }
.cart-note__count { font-size: 12px; color: var(--muted); text-align: right; margin-top: calc(var(--s2) * -1); }

.field-icon { position: relative; }
.field-icon svg { position: absolute; left: 12px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field-icon .field { padding-left: 42px; }
.optional { font-weight: 400; color: var(--muted); }
.small { font-size: 13px; margin-top: var(--s2); }

.cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.btn--muted { background: var(--brand-tint); color: var(--brand-deep); }
.btn--muted:hover { background: #d4e8dc; }
.cart__buttons .btn { padding: 0 var(--s3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #e6efe9; padding: var(--s7) 0 var(--s5); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: var(--s6); }
.footer__brand { display: flex; align-items: center; gap: var(--s3); }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.footer__brand span { font-weight: 800; font-size: 22px; color: #fff; }
.footer__note { margin-top: var(--s3); color: #bcd3c4; max-width: 28em; }
.footer__col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #bcd3c4; margin-bottom: var(--s3); }
.footer__col li a, .footer__col li span { display: inline-flex; align-items: center; min-height: 36px; }
.footer__col ul + .placeholder { margin-top: var(--s3); }
.footer__col .placeholder { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: #d5e3da; }
.footer__col .placeholder strong { color: #f2d48a; }
.footer__bottom {
  margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; color: #bcd3c4; font-size: 14px;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.2fr .9fr 1.2fr 1.3fr; } }

.footer__col h3 { color: var(--yellow); font-size: 14px; }

/* Follow us */
.fb-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px; font-weight: 600; font-size: 15px;
  white-space: nowrap; transition: background-color .15s, border-color .15s;
}
.fb-btn:hover { background: rgba(255, 255, 255, .08); border-color: #fff; text-decoration: none !important; }
.fb-btn__icon { width: 22px; height: 22px; flex: none; color: #cfe5d8; }

/* Contact us */
.contact-list { display: grid; gap: var(--s3); }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); align-items: start; }
.footer__col .contact-list li > span, .footer__col .contact-list li > a { display: block; min-height: 0; }
.contact-list svg { width: 20px; height: 20px; margin-top: 1px; color: #cfe5d8; }
.contact-list address { font-style: normal; color: #e6efe9; line-height: 1.5; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Find us — map */
.map { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); background: #dfe7e2; aspect-ratio: 16 / 10; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__open {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 6px; background: #fff; color: #1a73e8 !important;
  font-size: 14px; font-weight: 600; box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.map__open svg { width: 15px; height: 15px; }

/* Certifications */
.footer__certs {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5);
  margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer__certs h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); }
.footer__certs img { height: 48px; width: auto; opacity: .95; }

/* Policies (content ilalagay pa) */
.footer__policies {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s6);
  font-size: 14px; color: #cfe5d8;
}
.footer__policies em { color: #f2d48a; font-style: normal; font-size: 13px; }
