/* =========================================================
   vialth — clean minimal site
   palette core: #808080 (brand gray)
   fonts: embedded woff2
   ========================================================= */

/* ---------- embedded fonts (match your exact filenames) ---------- */
@font-face{
  font-family:"CMU Serif";
  src:url("assets/fonts/CMU-Serif-Medium.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"CMU Serif";
  src:url("assets/fonts/CMU-Serif-Bold.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"DM Sans";
  src:url("assets/fonts/DM-Sans-Regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"DM Sans";
  src:url("assets/fonts/DM-Sans-Medium.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

/* ---------- tokens ---------- */
:root{
  --brand-gray:#808080;

  --bg:#fbfaf8;
  --paper:#ffffff;
  --ink:#121212;

  --muted:rgba(18,18,18,.62);
  --line:rgba(128,128,128,.22);

  --radius:22px;
  --shadow:0 18px 55px rgba(18,18,18,.08);

  --glow1:rgba(128,128,128,.14);
  --glow2:rgba(255,255,255,.85);
}

/* ---- slogan style ---- */
.slogan{
  margin-top: 28px;
  margin-bottom: 20px;
  font-family: "CMU Serif", serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.4px;
  line-height: 1.6;
  opacity: 1;
  color: rgba(18,18,18,.70);
}

.slogan__author{
  display:block;        /* forces it to next line */
  margin-top: 0px;
  font-size: 15px;
  font-weight: 500;
  opacity: .8;
  font-style: italic;
  text-align: right;
  padding: 15px;
}

/* ---------- reset ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(1100px 700px at 15% -10%, var(--glow1), transparent 60%),
    radial-gradient(900px 600px at 85% 0%, rgba(0,0,0,.06), transparent 58%),
    var(--bg);
  line-height:1.45;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.85}

.container{max-width:1100px;margin:0 auto;padding:0 18px}
.section{padding:46px 0}
.section--soft{
  background:rgba(255,255,255,.45);
  border-top:1px solid var(--line);
}

.grid{display:grid;gap:12px}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid--gallery{grid-template-columns:repeat(3,minmax(0,1fr))}

.row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.small{font-size:13px}
.muted{color:var(--muted)}
.tip{margin-top:10px}

/* headings */
h1,h2,h3{
  font-family:"CMU Serif","Times New Roman",serif;
  letter-spacing:-.4px;
}
h1{font-size:52px;line-height:1.02;margin-bottom:12px;font-weight:500}
h2{font-size:28px;font-weight:500}
h3{font-size:16px;font-weight:500}

/* ---------- nav ---------- */
.nav{
  position:sticky;top:0;z-index:10;
  background:rgba(251,250,248,.72);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;padding:14px 0;
}
.brand__logo{
  height: 52px;
  width: auto;
  display: block;
}

@media (max-width: 920px){
  .brand__logo{
    height: 42px;
  }
}
html{ scroll-behavior:smooth; }

.nav{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav__inner{
  position:relative;
  display:flex;
  align-items:center;
  padding: 18px 0;
}

.brand{ z-index:2; }

/* centered nav */
.nav__links{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:26px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
  max-width: 70%;
}

.nav__links a{
  text-decoration:none;
  font-size:13px;
  letter-spacing:0.6px;
  opacity:0.9;
  position:relative;
  padding: 6px 2px;
  white-space:nowrap;
}

/* subtle underline */
.nav__links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:2px;
  width:0;
  height:1px;
  background:currentColor;
  transition:width .22s ease;
}
.nav__links a:hover::after{ width:100%; }

/* mobile: prevent overcrowding */
@media (max-width: 860px){
  .nav__links{
    position:static;
    transform:none;
    max-width:100%;
    margin-left:auto;
    justify-content:flex-end;
    gap:16px;
  }

}
.nav__cta{
  border:1px solid var(--line);
  background:rgba(255,255,255,.85);
  padding:10px 14px;
  border-radius:999px;
  font-weight:500;
  font-size:13px;
}

/* ---------- hero ---------- */
.hero{padding:58px 0 34px}
.hero__grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:start;
}
.kicker{color:var(--brand-gray);font-size:14px;margin-bottom:10px}
.sub{
  max-width:60ch;
  margin-bottom:18px;
  font-size:15.5px;
  line-height:1.7;
  color: rgba(18,18,18,.88);
}

.sub strong{
  font-weight:600;
}

.hero__cta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.btn{
  border-radius:999px;
  padding:12px 16px;
  border: 1px solid #545454;
  background:#737373;
  color:#fff;
  font-weight:500;
  font-size:13px;
  cursor:pointer;
}
.btn--ghost{
  background:transparent;
  color:var(--ink);
  border-color:var(--line);
}
.btn:active{transform:translateY(1px)}

.chips{display:flex;gap:10px;flex-wrap:wrap}
.chip{
  border:1px solid var(--line);
  background:rgba(255,255,255,.86);
  border-radius:999px;
  padding:10px 12px;
  font-size:13px;
  color:var(--brand-gray);
  font-weight:500;
}

/* ---------- cards ---------- */
.card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.86);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* hero card */
.hero__card{position:relative;overflow:hidden;padding:18px}
.glow{
  position:absolute;inset:-40%;
  background:
    radial-gradient(circle at 30% 30%, var(--glow2), transparent 45%),
    radial-gradient(circle at 62% 58%, rgba(128,128,128,.18), transparent 52%);
  transform:rotate(12deg);
  pointer-events:none;
}
.hero__card-inner{position:relative;display:grid;gap:12px}
.badge{
  width:max-content;
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  font-size:12px;
  font-weight:500;
  color:var(--brand-gray);
}
.badge__dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--brand-gray);
}
.heroShot{
  height:190px;
  border-radius:18px;
  border:1px solid var(--line);
  background:linear-gradient(135deg, rgba(128,128,128,.10), rgba(255,255,255,.95));
  display:flex;
  align-items:flex-end;
  padding:14px;
}
.heroShot__brand{font-weight:500}
.heroShot__desc{font-size:11px;color:var(--brand-gray);font-weight:600}

/* section header */
.section__head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;margin-bottom:14px;
}

/* products */
.product{padding:14px;display:flex;flex-direction:column;gap:10px}
.price{font-weight:600}
.product__swatch{
  height:150px;border-radius:18px;border:1px solid var(--line);
}
.swatch--1{background:linear-gradient(135deg, rgba(128,128,128,.12), #fff)}
.swatch--2{background:linear-gradient(135deg, rgba(128,128,128,.18), #fff)}
.swatch--3{background:linear-gradient(135deg, rgba(255,255,255,.70), rgba(128,128,128,.10))}

.mini{
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  padding:8px 12px;
  border-radius:999px;
  font-weight:600;
  font-size:13px;
  cursor:pointer;
}
.mini:active{transform:translateY(1px)}

/* posters */
.poster{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:var(--paper);
}
.poster img{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  display:block;
}

/* why + reviews */
.feature{padding:16px}

.feature p{
  font-size: 14px;
  line-height: 1.6;
  opacity: .75;
}

.quote{padding:16px}
blockquote{font-size:15px}

/* shop now */
.shop-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  background:#fff;

  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
}

.shop-card__content{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.shop-card__links{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:14px;
}

.shop-card__links a{
  text-decoration:none;
}

.shop-card__links .dot{
  opacity:0.4;
  font-size:12px;
}

.shop-card__cta{
  display:flex;
  justify-content:flex-end;
}

/* mobile */
@media (max-width:760px){
  .shop-card{
    grid-template-columns:1fr;
  }
  .shop-card__cta{
    justify-content:flex-start;
  }
}

/* footer */
.footer{
  border-top:1px solid var(--line);
  padding: 0;
}

.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 0;     /* equal top/bottom */
}

/* make text blocks same height */
.footer__inner .muted.small{
  margin:0;
  line-height:1;
}

/* links also same line-height */
.footer__links a{
  line-height:1;
}

/* toast */
.toast{
  position:fixed;left:50%;bottom:20px;transform:translateX(-50%);
  background:var(--ink);color:#fff;
  padding:10px 14px;border-radius:999px;
  font-size:13px;
  opacity:0;pointer-events:none;
  transition:opacity .18s ease;
}

/* sr-only */
.sr-only{
  position:absolute;width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

/* responsive */
@media (max-width:920px){

  /* keep hero text + card stacked on phone */
  .hero__grid{ grid-template-columns: 1fr; }
  h1{ font-size: 38px; }

  /* ✅ MOBILE NAV (same as desktop): logo left, links centered, cta right */
.nav__inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
}

.brand__logo{
  height: 34px;
}

/* center navigation */
.nav__links{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 70%;
}

.nav__links a{
  font-size: 12px;
  letter-spacing: 0.4px;
  padding: 6px 2px;
  white-space: nowrap;
}

.nav__cta{
  padding: 8px 13px;
  font-size: 12px;
}

  /* ✅ 3 columns for products + posters */
  .grid--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--gallery{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* reviews 1 column */
  .grid--2{
    grid-template-columns: 1fr;
  }

  /* tighten product cards for 3-col */
  .product{
    padding: 10px;
    gap: 8px;
  }

  .product p.muted{
    font-size: 12px;
    line-height: 1.45;
  }

  .mini{
    padding: 6px 8px;
    font-size: 11px;
  }
}
@media (max-width: 920px) and (min-width: 700px){
  .hero__grid{
    grid-template-columns: 1fr 1fr;
  }
}

  .nav__links a{
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 6px 2px;
  }

  .nav__cta{
    padding: 8px 13px;
    font-size: 12px;
  }

  /* ✅ 3 columns on mobile (shop + posters) */
  .grid--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--gallery{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* reviews still 1 column for readability */
  .grid--2{
    grid-template-columns: 1fr;
  }

  /* ✅ tighten product cards for 3-col layout */
  .product{
    padding: 10px;
    gap: 8px;
  }

  .product p.muted{
    font-size: 12px;
    line-height: 1.45;
  }

  .price{
    font-size: 13px;
  }

  .mini{
    padding: 6px 8px;
    font-size: 11px;
  }
}
.poster img{
  cursor: pointer;
  transition: transform .35s ease;
  will-change: transform;
  transform: translateZ(0); /* helps mobile/low-end smoothness */
}

.poster img:hover{
  transform: scale(1.03);
}

/* === custom adjustments === */

.footer__links{
  display:flex;
  align-items:center;
}

.footer__links a{
  text-decoration:none;
}

.footer__links a + a::before{
  content:"•";
  margin: 0 16px;  /* controls spacing */
  color: var(--brand-gray);
  opacity: 0.4;
  font-size: 13px; /* slightly smaller than text */
}

.footer__links a:hover{
  opacity:.75;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* ============================= */
/* scroll reveal (fade in) */
/* ============================= */

.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* optional: slightly stagger children inside grids */
.reveal .card{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible .card{
  opacity: 1;
  transform: translateY(0);
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal .card{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

#posters.section--soft{
  border-bottom:1px solid var(--line);
}

/* ============================= */
/* FAQ accordion */
/* ============================= */

.faq{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.86);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.faq__title{
  font-family:"CMU Serif", serif;
  font-size:22px;        /* smaller than h2 */
  font-weight:500;
  letter-spacing:-0.2px;
  margin:20px 0 16px;
  opacity:.85;
  padding:0 16px;
}

.faq__q{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:500;
}

.faq__extra{
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  opacity: .50;
}

/* ---------- about ---------- */
.about{
  padding:22px;
}

.about__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:start;
}

.about__copy p{
  margin-top:12px;
  max-width:70ch;
}

.about__lead{
  font-weight:600;
  letter-spacing:.2px;
}

.about__tagline{
  font-family:"CMU Serif","Times New Roman",serif;
  font-weight:600;
}

.about__foot{
  margin-top:16px;
  font-size:13px;
}

.about__aside{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.about__pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  font-size:13px;
  color:var(--brand-gray);
  font-weight:500;
}

.about__cta{
  width:max-content;
  margin-top:6px;
}

/* responsive */
@media (max-width: 920px){
  .about__grid{ grid-template-columns:1fr; }
}

.product:hover .shade__dot{
  transform: scale(1.08);
  transition: transform .25s ease;
}

.shade{
  display:flex;
  align-items:center;
  gap:10px;
}

.shade__dot{
  width:12px;
  height:12px;
  border-radius:999px;
  background: var(--swatch);
  border:1px solid var(--line);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  flex: 0 0 auto;
}

.faq__q::-webkit-details-marker{ display:none; }

.faq__q::after{
  content:"+";
  font-weight:400;
  color:#444444;
  opacity:.9;
  transition: transform .18s ease;
}

.faq__item[open] .faq__q::after{
  content:"–";
}

.faq__a{
  padding:0 16px 14px;
  line-height:1.6;
}

.faq__q{
  transition: background .18s ease;
}
.faq__q:hover{
  background: rgba(255,255,255,.55);
}

.faq__q::after{
  transition: transform .18s ease, opacity .18s ease;
}

.faq__item[open] .faq__q::after{
  transform: rotate(180deg); /* turns + into x-ish */
  opacity: .8;
}

.faq__q{
  border-radius: 14px;
}

.shade__dot{
  width:12px;
  height:12px;
  border-radius:999px;
  background: var(--swatch);
  border:1px solid var(--line);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  flex: 0 0 auto;
}

.product:hover .shade__dot{
  transform: scale(1.08);
  transition: transform .25s ease;
}

/* ================= HERO LOGO CARD (balanced + justified) ================= */

.hero__card--logo{
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow);
  overflow: hidden;

  /* new layout */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* center logo */
.heroLogo{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top: 20px;
}

.heroLogo__img{
  max-width: 240px;
  width: 100%;
  height: auto;
  opacity: .95;
}

/* meta (now normal flow) */
.heroLogo__meta{
  display:flex;
  flex-direction:column;
  gap:6px;
  max-width: 95%;
}

.heroLogo__meta strong{
  font-size:16px;
  font-weight:600;
}

.heroLogo__meta span{
  font-size:13px;
  line-height:1.5;
  text-align: justify;
  text-justify: inter-word;
}

/* note (now normal flow) */
.heroLogo__note{
  font-size:13px;
  line-height:1.6;
  margin:0;

  text-align: justify;
  text-justify: inter-word;
}

/* subtle hover */
.hero__card--logo{
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero__card--logo:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(18,18,18,.12);
}

/* tag stays pinned */
.heroTag{
  position:absolute;
  top:18px;
  left:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:500;
  color:var(--brand-gray);
}

strong{
  font-weight: 600;  /* medium-bold */
}

.heroLogo__tagline{
  font-size: 20px;
  font-weight: 600;
  color: #808080; /* dark gray, not black */
  letter-spacing: .5px;
}

/* product card hover lift */
.product{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.product:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 65px rgba(18,18,18,.10);
  border-color: rgba(128,128,128,.30);
}

/* shade line + dot refinement */
.shade{
  transition: transform .22s ease, opacity .22s ease;
}

.product:hover .shade{
  transform: translateY(-1px);
}

.shade__dot{
  transition: transform .22s ease, box-shadow .22s ease;
}

.product:hover .shade__dot{
  transform: scale(1.10);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

/* description slightly clearer on hover (optional) */
.product > p.muted{
  transition: opacity .22s ease;
}
.product:hover > p.muted{
  opacity: .9;
}

.heroTag{
  transition: box-shadow .25s ease, transform .25s ease, background .25s ease;
}

/* glow when you hover the whole card */
.hero__card--logo:hover .heroTag{
  box-shadow: 0 10px 28px rgba(128,128,128,.22);
  transform: translateY(-1px);
  background: rgba(255,255,255,.98);
}

.product{
  overflow: hidden; /* important para hindi lumabas zoom sa border */
}

.product__image{
  transition: transform .35s ease, filter .35s ease;
}

.product:hover .product__image{
  transform: scale(1.05);
  filter: brightness(1.03);
}

/* subtle divider + soft fade at top of each section */
.section{
  position: relative;
}

.section:not(:last-of-type)::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:0;
  height: 18px;
  background: linear-gradient(to bottom, rgba(0,0,0,.03), transparent);
  opacity: .35;
  pointer-events:none;
}

/* softer look for section--soft */
.section--soft{
  background: rgba(255,255,255,.38);
  border-top: 1px solid rgba(128,128,128,.18);
}

/* smooth transitions */
.shade,
.shade__dot{
  transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease;
}

/* slight lift on shade name */
.product:hover .shade{
  transform: translateY(-2px);
}

/* dot becomes more alive */
.product:hover .shade__dot{
  transform: scale(1.12);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* optional: slight opacity shift for elegance */
.product:hover .shade{
  opacity: .95;
}
 /* why vialth cards */
.feature{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.feature:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(18,18,18,.10);
  border-color: rgba(128,128,128,.30);
  cursor: default;
}

/* faq items feel clickable */
.faq__q{
  transition: background .18s ease, transform .18s ease;
}

.faq__q:hover{
  background: rgba(255,255,255,.62);
  transform: translateX(2px);
}

.faq__q{
  cursor: pointer;
}

/* about card hover */
.about.card{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.about.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(18,18,18,.10);
  border-color: rgba(128,128,128,.30);
}

@media (prefers-reduced-motion: reduce){
  .feature,
  .about.card,
  .faq__q{
    transition: none !important;
    transform: none !important;
  }
}

/* reviews hover */
.quote{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.quote:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(18,18,18,.10);
  border-color: rgba(128,128,128,.30);
}

.quote blockquote{
  transition: opacity .22s ease;
}

.quote:hover blockquote{
  opacity: .95;
}

/* shop now hover */
.shop-card{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.shop-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(18,18,18,.10);
  border-color: rgba(128,128,128,.30);
}

.shop-card:hover .btn{
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* shop now hover */
.shop-card{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.shop-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(18,18,18,.10);
  border-color: rgba(128,128,128,.30);
}

.shop-card:hover .btn{
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* floating cart button */
.floating-cart{
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 999px;

  background: #ffffff;  /* white */
  border: 1px solid rgba(0,0,0,.08);

  cursor: pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
  z-index: 999;
}

.floating-cart:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

/* cart counter badge */
.cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  background:#808080;
  color:#ffffff;
  font-size:11px;
  padding:3px 6px;
  border-radius:999px;
  font-weight:600;
}

/* cart png icon */
.cart-icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0); /* makes icon black */
}

/* cart drawer */
.cart{
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,.12);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: right .3s ease;
  z-index: 1000;
}

.cart.open{ right: 0; }

.cart__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}

.cart__items{
  flex:1;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cart__item{
  display:flex;
  justify-content:space-between;
  font-size:14px;
}

.cart__footer{
  border-top:1px solid rgba(0,0,0,.08);
  padding-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cart-close{
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}

.cart__item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  padding:6px 0;
}

.cart__info{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.cart__controls{
  display:flex;
  align-items:center;
  gap:8px;
}

.cart__controls button{
  width:24px;
  height:24px;
  border-radius:6px;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  cursor:pointer;
  font-size:14px;
}

.cart__controls button:hover{
  background:rgba(0,0,0,.05);
}

/* backdrop */
.cart-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999;
}

.cart-backdrop.open{
  opacity: 1;
  pointer-events: auto;
}

/* cart drawer */
.cart{
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100%;

  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: -10px 0 40px rgba(0,0,0,.12);
  padding: 20px;
  display: flex;
  flex-direction: column;

  transform: translateX(110%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
  z-index: 1000;
  will-change: transform;
}

.cart.open{
  transform: translateX(0);
  opacity: 1;
}

.cart.open{ right: 0; }

.cart__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}

.cart-close{
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}

.cart__items{
  flex:1;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-right: 4px;
}

/* cart item row */
.cart__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cart__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  border-color: rgba(128,128,128,.22);
}

.cart__info{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width: 0;
}

.cart__name{
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.cart__meta{
  font-size: 12px;
  opacity: .7;
}

/* qty controls */
.cart__controls{
  display:flex;
  align-items:center;
  gap:8px;
}

.cart__controls button{
  width:26px;
  height:26px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  font-size:14px;
  line-height:1;
}

.cart__controls button:hover{
  background: rgba(0,0,0,.04);
}

.qty{
  min-width: 18px;
  text-align:center;
  font-weight:600;
  font-size: 13px;
}

/* remove */
.remove-btn{
  width:26px;
  height:26px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  opacity:.8;
}

.remove-btn:hover{
  background: rgba(0,0,0,.04);
  opacity: 1;
}

/* footer */
.cart__footer{
  border-top:1px solid rgba(0,0,0,.08);
  padding-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cart__actions{
  display:flex;
  gap:10px;
}

.cart__total{
  font-weight:600;
}

/* mobile */
@media (max-width: 420px){
  .cart{ width: 92vw; }
}

.qty{
  display:inline-block;
  transition: transform .15s ease;
}

.qty.bump{
  transform: scale(1.12);
}

/* fly-to-cart bubble */
.fly-dot{
  position: fixed;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(128,128,128,.85);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  pointer-events: none;
  z-index: 2000;
  transform: translate(-50%,-50%) scale(1);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .55s ease;
  opacity: 1;
}

/* cart icon micro-bounce */
.floating-cart.bump{
  transform: translateY(-3px) scale(1.06);
}

.fly-dot{
  position: fixed;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(128,128,128,.85);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  pointer-events: none;
  z-index: 2000;
  transform: translate(-50%,-50%) scale(1);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .55s ease;
  opacity: 1;
}

.floating-cart.bump{
  transform: translateY(-3px) scale(1.06);
}

.cart-empty{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:14px 4px;
}

.cart-empty__btn{
  width:max-content;
}

.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 2000;
}

.modal.open{
  opacity: 1;
  pointer-events: auto;
}

.modal__panel{
  width: min(520px, 96vw);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.modal__close{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  width:34px;
  height:34px;
  border-radius: 12px;
  cursor:pointer;
  opacity:.85;
}

.modal__box{
  width: 100%;
  min-height: 180px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  resize: none;
}

.modal__actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

.cart__left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.cart__thumb{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  object-fit:cover;
  flex:0 0 auto;
  background: rgba(255,255,255,.9);
}

.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding: 22px 0 22px; 
  /* top 22px, bottom 18px */
}

/* ✅ footer mobile — keep left/right but add breathing room */
@media (max-width: 920px){

  .footer__inner{
    padding: 24px 22px 0 !important;  /* stronger side padding */
    justify-content: space-between !important;
  }

  /* make sure both sides don’t stick to edges */
  .footer__inner > p{
    margin-left: 4px !important;
  }

  .footer__links{
    margin-right: 4px !important;
  }
}

/* ===== lightbox ===== */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 6000;

  display: grid;
  place-items: center;

  padding: 56px 18px;
  background: rgba(0,0,0,.82);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .22s ease, visibility .22s ease;
}

.lightbox.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* image animation */
.lightbox-img{
  max-width: min(920px, 92vw);
  max-height: 85vh;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
  display: block;

  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
  will-change: transform, opacity;
}

.lightbox.is-open .lightbox-img{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lightbox-close{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 6100;

  width: 36px;
  height: 36px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);

  color: #fff;
  font-size: 16px;
  font-weight: 400;

  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.lightbox-close:hover{
  background: rgba(255,255,255,.15);
  transform: scale(1.05);
}

.lightbox-close{
  text-shadow: 0 4px 12px rgba(0,0,0,.35);
}

.poster img.lightbox-trigger{
  transition: transform .35s ease !important;
  will-change: transform;
}

.poster img.lightbox-trigger:hover{
  transform: scale(1.03);
}

/* prevent the broken-image flash */
.lightbox-img:not([src]),
.lightbox-img[src=""]{
  display: none;
}

:focus-visible{
  outline: 2px solid rgba(128,128,128,.55);
  outline-offset: 3px;
  border-radius: 12px;
}

.btn, .mini{
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover, .mini:hover{
  transform: translateY(-1px);
}

.nav__links a:active{
  transform: translateY(1px);
  opacity: .75;
}

.toast{
  transform: translateX(-50%) translateY(6px);
}
.toast[style*="opacity: 1"]{
  transform: translateX(-50%) translateY(0);
}

.about__pillGroup{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}

.about__pillMini{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.85);
  color:var(--brand-gray);
  font-weight:500;
  letter-spacing:.3px;
}

/* about cards spacing */
.about.card{
  padding: 22px;
  margin-bottom: 18px;
}

/* make sections look clean */
.about.card h3{
  margin-bottom: 10px;
}

/* nicer paragraph rhythm inside about cards */
.about.card p{
  margin-top: 12px;
  max-width: 72ch;
  line-height: 1.75;
}

/* tagline display (cmu serif, premium) */
.about__tagline{
  font-family:"CMU Serif","Times New Roman",serif;
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  letter-spacing: .2px;
  margin-top: 4px;
  margin-bottom: 10px;
  color: rgba(18,18,18,.78);
}

/* inline tagline style */
.about__taglineInline{
  font-family:"CMU Serif","Times New Roman",serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: .2px;
}

/* about cards: split layout */
.aboutSplit{
  display:grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items:start;
}

/* right column pills */
.aboutPills{
  display:flex;
  justify-content:flex-end;
}

.about__pillGroup{
  justify-content:flex-end;
  margin: 0;            /* remove top spacing since nasa side na */
}

/* make header feel like header */
.aboutBody h3{
  font-size: 22px;
  margin-bottom: 10px;
}

/* optional: make body text wider para less “empty space” */
.aboutBody p{
  max-width: 78ch;      /* pwede 72ch / 78ch / 85ch */
}

/* tagline styling already cmu serif — keep it */

/* keep desktop-like layout on mobile */
@media (max-width: 920px){
  .aboutSplit{
    grid-template-columns: minmax(0,1fr) 150px;
    gap: 14px;
  }

  .aboutPills{
    justify-content:flex-end;
    margin-top: 0;
    align-self: start;
  }

  .about__pillGroup--stack{
    align-items:flex-end;
    gap:10px;
  }

  .about__pillMini{
    width: 100%;
    font-size: 11px;
    padding: 9px 12px;
  }

  .aboutBody p{
    max-width: 100%;
  }
}

/* stacked pills */
.about__pillGroup--stack{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

/* pill bigger + dot + hover */
.about__pillMini{
  display:inline-flex;
  align-items:center;
  gap:10px;

  font-size:12px;
  padding:10px 14px;
  border-radius:999px;

  border:1px solid var(--line);
  background:rgba(255,255,255,.90);
  color:var(--brand-gray);

  font-weight:500;
  letter-spacing:.35px;

  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  cursor: default;
}

.about__pillDot{
  width:6px;
  height:6px;
  border-radius:999px;
  background: var(--brand-gray);
  opacity:.85;
  box-shadow: 0 6px 14px rgba(0,0,0,.10);
  flex:0 0 auto;

  transition: transform .2s ease, opacity .2s ease;
}

.about__pillMini:hover{
  transform: translateY(-2px);
  border-color: rgba(128,128,128,.32);
  box-shadow: 0 18px 45px rgba(18,18,18,.08);
  background: rgba(255,255,255,.97);
}

.about__pillMini:hover .about__pillDot{
  transform: scale(1.15);
  opacity: 1;
}

/* about header */
.aboutBody h3{
  font-size:26px;
  font-weight:500;
  letter-spacing:-0.3px;
  margin-bottom:10px;
}

/* about text justify (default) */
.aboutBody p{
  text-align: justify;
  text-justify: inter-word;
}

/* tiny screens: revert to left (optional safety) */
@media (max-width: 360px){
  .aboutBody p{
    text-align: left;
    text-justify: auto;
  }
}


