/* Align365 — simple, bright single-product store. Colours come from the bottle. */
:root {
  --blue: #1F4FC4;         /* primary (white on it 7:1) */
  --blue-dark: #173E9E;
  --navy: #0E2A6B;         /* bottle band */
  --sky: #EEF3FF;
  --glow: #F5A13A;         /* the warm "joint glow" — always with ink text */
  --ink: #0F172A;
  --muted: #556178;
  --border: #8A94A8;
  --line: #E1E7F3;
  --bs-body-font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bs-body-color: #0F172A;
  --bs-link-color: #1F4FC4;
  --bs-link-color-rgb: 31, 79, 196;
  --bs-link-hover-color: #173E9E;
}
body { font-size: 1.06rem; line-height: 1.6; overflow-x: clip; }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.15rem; font-weight: 700; }
img { max-width: 100%; height: auto; }
.muted { color: var(--muted); }
.section { padding: clamp(56px, 7vw, 100px) 0; }
.bg-sky { background: var(--sky); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .7rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.blue { color: var(--blue); }
.fine-print { font-size: .82rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 2000; padding: .6rem 1rem; background: var(--blue); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }

.btn { --bs-btn-font-weight: 700; --bs-btn-border-radius: 10px; --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.6rem; --bs-btn-font-size: 1.02rem; letter-spacing: .02em; }
.btn-blue { --bs-btn-color: #fff; --bs-btn-bg: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--blue-dark); --bs-btn-hover-border-color: var(--blue-dark); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--blue-dark); --bs-btn-disabled-bg: var(--blue); --bs-btn-disabled-color: #fff; }
.btn-blue-outline { --bs-btn-color: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--blue); --bs-btn-hover-border-color: var(--blue); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--blue); }
.btn-glow { --bs-btn-color: var(--ink); --bs-btn-bg: var(--glow); --bs-btn-border-color: var(--glow); --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: #F7B460; --bs-btn-hover-border-color: #F7B460; --bs-btn-active-bg: #F7B460; }

/* header */
.top-note { background: var(--navy); color: #fff; font-size: .9rem; font-weight: 500; text-align: center; padding: .45rem 0; }
.top-note b { color: var(--glow); }
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; line-height: 1; }
.logo img { width: 44px; height: 37px; }
.logo .wm { display: flex; flex-direction: column; align-items: center; }
.logo .wm b { font-size: 1.55rem; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.logo .wm span { display: flex; align-items: center; gap: .3rem; font-size: .92rem; font-weight: 800; color: var(--blue); margin-top: 1px; }
.logo .wm span::before, .logo .wm span::after { content: ""; width: 12px; height: 2px; background: var(--blue); }
.site-header .nav-link { color: var(--ink); font-weight: 600; font-size: 1.02rem; padding: .5rem 1rem !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--blue); }
.site-header .nav-link.active { box-shadow: inset 0 -2px 0 var(--blue); }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; color: var(--ink); border: 1px solid var(--line); }
.cart-link:hover { border-color: var(--blue); color: var(--blue); }
.cart-n { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--glow); color: var(--ink); font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center; }
.cart-n[data-n="0"] { display: none; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; }
.burger:hover { background: var(--blue-dark); }
.offcanvas { --bs-offcanvas-width: min(86vw, 330px); }
.offcanvas .nav-link { color: var(--ink); font-weight: 700; font-size: 1.1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.offcanvas .nav-link.active { color: var(--blue); }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F4F7FF 0%, #E5EDFF 100%); padding: clamp(40px, 6vw, 88px) 0; }
.hero .lead { color: var(--muted); font-size: 1.2rem; max-width: 33rem; }
.hero-claims { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-claims li { font-weight: 600; font-size: .95rem; padding: .35rem .85rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.from { margin: 1.4rem 0 1.2rem; font-size: 1.05rem; color: var(--muted); }
.from b { font-size: 1.6rem; color: var(--ink); }
.stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; }
.stage::before { content: ""; position: absolute; width: min(420px, 86%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 60% 45%, rgba(245, 161, 58, .45) 0%, rgba(245, 161, 58, 0) 42%), radial-gradient(circle, #FFFFFF 0%, #DCE6FF 70%); box-shadow: 0 0 0 18px rgba(255, 255, 255, .5), 0 0 0 40px rgba(255, 255, 255, .25); }
.stage img { position: relative; width: 220px; filter: drop-shadow(0 24px 30px rgba(14, 42, 107, .28)); }
.stage .badge-round { position: absolute; right: 12%; top: 10%; width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: .78rem; font-weight: 600; line-height: 1.15; }
.stage .badge-round b { font-size: 1.5rem; color: var(--glow); }
@media (max-width: 575.98px) { .stage { min-height: 300px; } .stage img { width: 170px; } .stage .badge-round { right: 4%; width: 82px; height: 82px; font-size: .7rem; } .stage .badge-round b { font-size: 1.25rem; } }

/* trust strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip .item { display: flex; align-items: center; gap: .7rem; font-weight: 600; padding: 1.1rem 0; }
.strip .ic { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--sky); color: var(--blue); display: flex; align-items: center; justify-content: center; }

/* benefits */
.benefit { height: 100%; padding: 1.6rem; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.benefit .ic { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.benefit p { color: var(--muted); margin: 0; }

/* lifestyle */
.life { position: relative; border-radius: 18px; overflow: hidden; }
.life img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.life span { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: .95rem; padding: .35rem .8rem; border-radius: 8px; }
.photo { width: 100%; object-fit: cover; border-radius: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* packages */
.pack { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pack.hot { border: 2px solid var(--blue); box-shadow: 0 18px 40px rgba(31, 79, 196, .16); }
.pack-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--sky); color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .9rem; border-radius: 99px; }
.pack.hot .pack-tag { background: var(--blue); color: #fff; }
.pack h3 { font-size: 1.6rem; margin-bottom: .1rem; }
.pack-note { color: var(--muted); font-size: .95rem; margin-bottom: .6rem; }
.stack { display: flex; justify-content: center; align-items: flex-end; height: 170px; margin: .5rem 0 1rem; }
.stack img { width: 82px; height: auto; filter: drop-shadow(0 10px 12px rgba(14, 42, 107, .2)); }
.stack.s2 img + img, .stack.s3 img + img { margin-left: -26px; }
.stack.s3 img:nth-child(2) { width: 96px; position: relative; z-index: 1; }
.pack-price { font-size: 2.1rem; font-weight: 800; line-height: 1; }
.pack-price s { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pack-each { color: #17734A; font-weight: 600; font-size: .95rem; margin: .5rem 0 1rem; }
.pack .btn { margin-top: auto; }
.pack-perks { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .88rem; color: var(--muted); }

/* guarantee + faq */
.guarantee { background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.guarantee h2 { color: #fff; }
.guarantee p { color: #D3DDF5; }
.seal { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 50%; border: 3px dashed var(--glow); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05; font-weight: 700; font-size: .8rem; }
.seal b { font-size: 2.4rem; color: var(--glow); }
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(31, 79, 196, .25); --bs-accordion-active-bg: var(--sky); --bs-accordion-active-color: var(--ink); --bs-accordion-border-radius: 14px; --bs-accordion-inner-border-radius: 14px; }
.accordion-button { font-weight: 700; font-size: 1.08rem; }

/* product page */
.pd-stage { position: relative; border-radius: 24px; background: linear-gradient(180deg, #F4F7FF, #E5EDFF); min-height: 420px; display: flex; align-items: center; justify-content: center; }
.pd-stage .stack { height: 300px; }
.pd-stage .stack img { width: 140px; }
.pd-stage .stack.s3 img:nth-child(2) { width: 160px; }
.pd-stage .stack.s2 img + img, .pd-stage .stack.s3 img + img { margin-left: -46px; }
@media (max-width: 575.98px) { .pd-stage { min-height: 320px; } .pd-stage .stack { height: 230px; } .pd-stage .stack img { width: 104px; } .pd-stage .stack.s3 img:nth-child(2) { width: 118px; } .pd-stage .stack.s2 img + img, .pd-stage .stack.s3 img + img { margin-left: -36px; } }
.opt { display: block; margin-bottom: .6rem; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border: 2px solid var(--line); border-radius: 14px; }
.opt-box::before { content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); }
.opt input:checked + .opt-box { border-color: var(--blue); background: var(--sky); }
.opt input:checked + .opt-box::before { border: 6px solid var(--blue); }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--glow); outline-offset: 2px; }
.opt-main { flex: 1; min-width: 0; }
.opt-main b { display: block; font-size: 1.1rem; }
.opt-main small { color: var(--muted); }
.opt-side { text-align: right; }
.opt-side em { display: block; font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.opt-side b { font-size: 1.15rem; }
.qty { display: inline-flex; border: 2px solid var(--border); border-radius: 10px; overflow: hidden; }
.qty button { width: 44px; height: 48px; border: 0; background: #fff; font-size: 1.2rem; color: var(--blue); }
.qty button:hover { background: var(--sky); }
.qty input { width: 46px; border: 0; text-align: center; font-weight: 800; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 600; text-align: right; }

/* forms, cart, policies */
.form-control, .form-select { min-height: 50px; border: 1.5px solid var(--line); border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 79, 196, .18); }
.form-label { font-weight: 600; }
.panel { padding: 1.6rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.panel.sky { background: var(--sky); border-color: transparent; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.sum-total { display: flex; justify-content: space-between; margin-top: .5rem; padding-top: .8rem; border-top: 2px solid var(--navy); font-weight: 800; font-size: 1.2rem; }
.cart-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 76px; height: 76px; object-fit: contain; border-radius: 12px; background: var(--sky); padding: 4px; }
.cart-row > div { min-width: 0; }
.cart-row .d-flex { flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; min-height: 32px; }
@media (max-width: 575.98px) {
  .panel { padding: 1.1rem; }
  .cart-row { grid-template-columns: 64px 1fr; gap: .4rem .9rem; }
  .cart-row img { width: 64px; height: 64px; grid-row: span 2; }
  .cart-row > .fw-bold:last-child { grid-column: 2; }
}
.policy h2 { font-size: 1.5rem; margin-top: 2.6rem; scroll-margin-top: 100px; }
.policy h3 { font-size: 1.08rem; margin-top: 1.4rem; }
.policy p, .policy li { color: #2B3446; }
.policy-nav a { display: block; padding: .5rem .8rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.policy-nav a:hover { background: var(--sky); color: var(--blue); }

/* footer */
.site-footer { background: var(--navy); color: #C9D5F2; padding: 60px 0 26px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .logo .wm b { color: #fff; }
.site-footer .logo .wm span { color: #BFD0FF; }
.site-footer .logo .wm span::before, .site-footer .logo .wm span::after { background: #BFD0FF; }
.site-footer .logo img { background: #fff; border-radius: 10px; padding: 4px; width: 52px; height: 45px; }
.fda { margin-top: 2rem; padding: 1rem 1.2rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; font-size: .85rem; }
.legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 1.6rem; padding-top: 1.2rem; font-size: .84rem; }

.toast-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 1090; width: min(340px, calc(100vw - 32px)); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* shop cards, product options */
.pack h3 a::after { border-radius: 22px; }
.visual-img { width: 170px; max-width: 100%; height: auto; margin: .5rem 0 1rem; border-radius: 14px; }
.pd-stage .visual-img { width: min(70%, 380px); margin: 0; }
.opt-box.is-on { border-color: var(--blue); background: var(--sky); }
.opt-box.is-on::before { border: 6px solid var(--blue); }
.opt:focus-visible .opt-box { outline: 3px solid var(--glow); outline-offset: 2px; }

/* policy pages */
.policy-card { padding: 1.5rem; border-radius: 18px; background: var(--sky); }
.policy-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.policy-steps li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3.25rem; }
.policy-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; text-align: center; line-height: 2.25rem; }
.policy-steps h3, .policy-aside h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.policy-aside { list-style: none; margin: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; }
.policy-aside li + li { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.rate-table th, .rate-table td { padding: .85rem .75rem; }
.legal-doc h2 { scroll-margin-top: 6rem; }
.legal-doc ul { padding-left: 1.25rem; }
.descriptor { white-space: nowrap; }
.section-sm { padding: 3rem 0; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); }

/* cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; padding: 1rem 0; background: var(--navy); color: #fff; font-size: .95rem; box-shadow: 0 -8px 30px rgba(0, 0, 0, .25); }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: #fff; }
.link-btn--light { color: #C9D5F2; }
.link-btn--light:hover { color: #fff; }
.form-check-label a { white-space: nowrap; }
.btn:disabled { cursor: not-allowed; }
.legal a { text-decoration: underline; }
