/* HolisticWellnessStore.com — black & white + digital blue (Marcus's palette, v2) */
:root {
  --teal-deep: #0b0e12; --teal: #1479ab; --teal-bright: #2ea8e0;
  --ink: #101418; --paper: #ffffff; --wash: #f4f6f8; --line: rgba(10,13,17,.14);
  --disp: "Sora", -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; }
h1,h2,h3,h4 { font-family: var(--disp); line-height: 1.15; color: var(--teal-deep); }
img { max-width: 100%; display: block; }
a { color: var(--teal); }

/* nav */
.nav { position: sticky; top: 0; z-index: 100; background: var(--teal-deep); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav__brand { font-family: var(--disp); font-weight: 700; font-size: 1.05rem; color: #fff; text-decoration: none; margin-right: auto; }
.nav__brand span { color: var(--teal-bright); }
.nav a.nlink { color: #e8ecef; text-decoration: none; font-size: .82rem; letter-spacing: .4px; }
.nav a.nlink:hover { color: #fff; text-decoration: underline; }
.nav a.ncart { color: #fff; font-weight: 600; font-size: .82rem; text-decoration: none; border: 1px solid var(--teal-bright); border-radius: 999px; padding: 6px 16px; }
.nav a.ncart:hover { background: var(--teal-bright); color: var(--teal-deep); }

/* hero — layered, animated */
.hero { position: relative; min-height: 66vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff; padding: 90px 24px; background: #0b0e12; }
.hero__bg, .hero__bokeh, .hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bokeh { animation: drift2 40s ease-in-out infinite alternate; opacity: .9; }
.hero__fx { pointer-events: none; }
@keyframes drift2 { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,10,.5), rgba(5,7,10,.12) 40%, rgba(5,7,10,.6)); }
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__kicker { text-transform: uppercase; letter-spacing: 3px; font-size: .72rem; margin-bottom: 16px; color: #d8f4fa; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.6rem); text-shadow: 0 2px 30px rgba(0,0,0,.35); margin-bottom: 10px; }
.hero__tag { font-size: clamp(1.05rem, 2.4vw, 1.45rem); color: #eafcff; margin-bottom: 32px; }
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-family: var(--disp); font-weight: 600; font-size: .85rem; text-decoration: none; cursor: pointer; border: 0; }
.btn--solid { background: var(--teal-bright); color: var(--teal-deep); }
.btn--solid:hover { background: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.8); margin-left: 10px; }
.btn--ghost:hover { background: rgba(255,255,255,.16); }

/* sections */
.section { padding: 76px 24px; }
.section--wash { background: var(--wash); }
.section--deep { background: var(--teal-deep); color: #e8f7fa; }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.shell { max-width: var(--maxw); margin: 0 auto; }
.shell--narrow { max-width: 820px; margin: 0 auto; }
.section__kicker { display: block; font-family: var(--disp); font-weight: 600; font-size: .78rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; text-align: center; }
.section--deep .section__kicker { color: var(--teal-bright); }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); text-align: center; margin-bottom: 34px; }
.section h3 { font-size: 1.25rem; margin: 1.6em 0 .45em; }
.section p { margin-bottom: 1.15em; }
.lead { font-size: 1.12rem; text-align: center; max-width: 800px; margin: 0 auto 30px; }

/* video embed */
.vidwrap { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(7,50,67,.25); }
.vidwrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* programs grid */
.programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 10px; }
.programs div { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px; font-size: .9rem; }
.section--wash .programs div { background: #fff; }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px 16px 20px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 14px 40px rgba(7,50,67,.14); transform: translateY(-3px); }
.card a.imglink { display: block; }
.card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; margin-bottom: 12px; background: #fff; }
.card h4 { font-size: 1rem; margin-bottom: 6px; }
.card h4 a { color: var(--teal-deep); text-decoration: none; }
.card h4 a:hover { text-decoration: underline; }
.card .price { font-family: var(--disp); font-weight: 700; font-size: 1.2rem; margin: 4px 0 12px; color: var(--teal-deep); }
.card .row { display: flex; gap: 10px; margin-top: auto; }
.card .details { font-size: .82rem; }
.qty { width: 56px; padding: 8px 4px; font-size: .95rem; border: 1px solid var(--teal-deep); border-radius: 8px; text-align: center; }
.addbtn { flex: 1; padding: 10px 12px; font-family: var(--disp); font-weight: 600; font-size: .8rem; background: var(--teal-deep); color: #fff; border: 0; border-radius: 999px; cursor: pointer; }
.addbtn:hover { background: var(--teal); }

/* product page */
.pgrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 800px) { .pgrid { grid-template-columns: 1fr; } }
.gallery img.main { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; aspect-ratio: 1; object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.gmain { position: relative; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(10,13,17,.55); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.gnav:hover { background: var(--teal); }
.gnav--prev { left: 10px; } .gnav--next { right: 10px; }
.contra { margin-top: 26px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; background: var(--wash); padding: 18px 22px; }
.contra h3 { font-size: 1rem; margin-bottom: 10px; }
.contra ul { margin: 0 0 10px 20px; }
.contra li { margin-bottom: 6px; font-size: .92rem; }
.contra p { font-size: .88rem; color: #445; margin: 0; }
.thumbs img { width: 74px; height: 74px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff; }
.thumbs img.on { border-color: var(--teal); border-width: 2px; }
.pinfo h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 10px; }
.pinfo .price { font-family: var(--disp); font-weight: 700; font-size: 1.7rem; color: var(--teal-deep); margin-bottom: 18px; }
.pinfo .buy { display: flex; gap: 12px; margin: 18px 0 26px; }
.pdesc h4 { margin: 1.3em 0 .35em; }
.pdesc li { margin-left: 20px; margin-bottom: .4em; }
.freeship { background: var(--wash); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-size: .88rem; margin-bottom: 18px; }

/* cart box (corner) */
.cartbox { position: fixed; top: 64px; right: 16px; width: 330px; max-width: 92vw; max-height: calc(100vh - 84px); overflow-y: auto; background: #fff; border: 2px solid var(--teal-deep); border-radius: 14px; z-index: 200; padding: 14px 16px; box-shadow: 0 14px 44px rgba(7,50,67,.28); display: none; }
.cartbox.show { display: block; }
.cartbox__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--teal-deep); padding-bottom: 8px; margin-bottom: 4px; }
.cartbox__head h3 { font-size: 1rem; margin: 0; }
.cartbox__min { border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--teal-deep); }
.citem { display: flex; gap: 9px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.citem img { width: 42px; height: 42px; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; }
.citem__info { flex: 1; min-width: 0; }
.citem__name { font-family: var(--disp); font-weight: 600; font-size: .76rem; line-height: 1.25; }
.citem__meta { font-size: .7rem; color: #4a6b78; }
.citem__qty { width: 42px; padding: 4px 2px; font-size: .85rem; border: 1px solid var(--teal-deep); border-radius: 6px; text-align: center; }
.citem__line { font-family: var(--disp); font-weight: 600; font-size: .8rem; min-width: 60px; text-align: right; }
.citem__rm { border: 0; background: none; cursor: pointer; color: var(--teal-deep); }
.cartbox__totals { margin-top: 10px; font-size: .88rem; }
.cartbox__totals .trow { display: flex; justify-content: space-between; padding: 2px 0; }
.cartbox__totals .trow.big { font-family: var(--disp); font-weight: 700; font-size: .98rem; border-top: 1px solid var(--teal-deep); margin-top: 5px; padding-top: 7px; }
.cartbox__fine { font-size: .7rem; color: #4a6b78; margin-top: 6px; }
.cartbox .btn--solid { display: block; text-align: center; margin-top: 10px; background: var(--teal-deep); color: #fff; }
.cartbox .btn--solid:hover { background: var(--teal); }
.cartpill { position: fixed; top: 64px; right: 16px; z-index: 200; display: none; padding: 10px 20px; font-family: var(--disp); font-weight: 600; font-size: .8rem; background: var(--teal-deep); color: #fff; border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cartpill.show { display: block; }

/* cart page */
.carttable { width: 100%; border-collapse: collapse; margin: 10px 0 18px; }
.carttable th { text-align: left; font-family: var(--disp); font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--teal-deep); padding: 8px 6px; }
.carttable td { border-bottom: 1px solid var(--line); padding: 12px 6px; vertical-align: middle; }
.carttable img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }

/* testimonial cards */
.quote { background: #fff; border-left: 4px solid var(--teal-bright); border-radius: 10px; padding: 20px 26px; max-width: 720px; margin: 0 auto; font-size: 1.02rem; }
.quote footer { margin-top: 10px; font-size: .85rem; color: #4a6b78; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; }
.tcard .stars { color: #f5b301; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 8px; }
.tcard .ttext { font-size: .93rem; flex: 1; }
.tcard .twho { display: flex; align-items: center; gap: 12px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.tcard .twho img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.tcard .twho .tprod { font-family: var(--disp); font-weight: 600; font-size: .82rem; }
.tcard .twho .tauth { font-size: .76rem; color: #4a6b78; }

/* slideshow */
.slideshow { position: relative; max-width: 900px; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.35); background: #000; }
.slideshow .slide { display: none; width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #000; }
.slideshow .slide.on { display: block; }
.slideshow .dots { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; }
.slideshow .dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); margin: 0 4px; cursor: pointer; padding: 0; }
.slideshow .dots button.on { background: var(--teal-bright); }
.slideshow .arr { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(11,14,18,.55); color: #fff; font-size: 1.6rem; line-height: 1; padding: 10px 14px; cursor: pointer; border-radius: 10px; }
.slideshow .arr:hover { background: var(--teal); }
.slideshow .arr.prev { left: 12px; }
.slideshow .arr.next { right: 12px; }

/* responsive helpers for inline grids */
@media (max-width: 780px) {
  .vidgrid { grid-template-columns: 1fr !important; }
  #care div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  #care img { max-width: 220px; }
}

/* footer */
.footer { background: var(--teal-deep); color: #cfeaf1; padding: 46px 24px 30px; font-size: .88rem; }
.footer a { color: #9fdbe8; }
.footer .shell { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer .shell { grid-template-columns: 1fr; } }
.footer h5 { color: #fff; font-family: var(--disp); margin-bottom: 8px; font-size: .9rem; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.2); margin-top: 18px; padding-top: 16px; font-size: .78rem; color: #a8ccd6; }
