/* Boost Distributors: shop, product and cart pages. Loaded after styles.css and home.css. */
body[data-page="shop"], body[data-page="product"], body[data-page="cart"] { background: #fff; --brand: var(--navy); --brand-dark: var(--night, #17153F); }
.p-section { padding: 56px 0 80px; }
.p-soft { background: var(--soft, #F5F4FA); padding-top: 80px; }

/* ---------- Page hero ---------- */
.p-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(600px circle at 92% 0%, rgba(241, 90, 60, .3), transparent 60%),
    radial-gradient(700px circle at 0% 120%, rgba(108, 99, 255, .28), transparent 60%),
    linear-gradient(180deg, #17153F, #221F58);
}
.p-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.p-hero-inner { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.p-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04; margin: 14px 0 10px; }
.p-hero .lead { color: #C9C7E6; font-size: 1.08rem; max-width: 34em; margin: 0; }
.p-hero-sm .p-hero-inner { padding-top: 40px; padding-bottom: 40px; }
.p-hero-sm h1 { margin-bottom: 0; }
.p-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: #A9A7CC; }
.p-crumbs a { color: #fff; text-decoration: none; }
.p-crumbs a:hover { text-decoration: underline; }
.p-crumbs span { opacity: .5; }
.p-crumbs.dark { color: var(--muted); margin-bottom: 24px; }
.p-crumbs.dark a { color: var(--ink); }
.p-hero-side { display: grid; gap: 10px; }
.p-side-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #FF9C86; }

/* Brand store pills */
.p-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.p-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .2s, border-color .2s, transform .2s; }
.p-pills a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.p-pills a:hover { background: var(--c); border-color: var(--c); transform: translateY(-2px); }
.p-pills.light a { color: var(--ink); background: #fff; border-color: var(--line); }
.p-pills.light a::before { box-shadow: none; }
.p-pills.light a:hover { color: #fff; }
.p-pills.light a:hover::before { background: #fff; }

/* ---------- Shop ---------- */
.shop-layout { grid-template-columns: 260px 1fr; gap: 36px; }
.filters { border-radius: 22px; padding: 22px; top: 96px; box-shadow: 0 20px 40px -34px rgba(38, 35, 95, .5); }
.filters h2 { font-size: .72rem; letter-spacing: .16em; }
.filter-list button { border-radius: 10px; padding: 9px 12px; align-items: center; }
.filter-list .fl { display: inline-flex; align-items: center; gap: 10px; }
.filter-list button[aria-pressed="true"] { background: var(--navy); }
.filter-list button .n { background: rgba(38, 35, 95, .07); border-radius: 999px; padding: 1px 8px; font-size: .75rem; opacity: 1; }
.filter-list button[aria-pressed="true"] .n { background: rgba(255, 255, 255, .18); }
.fdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.p-tools { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px; margin-bottom: 22px; }
.p-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.p-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.p-search input { padding-left: 42px; border-radius: 999px; background: var(--soft, #F5F4FA); border-color: transparent; }
.p-search input:focus { background: #fff; }
.p-tools select { width: auto; border-radius: 999px; }
#shop-brand-banner { margin-bottom: 22px; }

/* Store banner (shop + product pages) */
.p-store {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 22px; color: #fff; text-decoration: none;
  background: radial-gradient(circle at 95% 0%, rgba(255, 255, 255, .22), transparent 50%), linear-gradient(140deg, var(--c), var(--cd));
  box-shadow: 0 24px 44px -30px var(--c); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.p-store:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -28px var(--c); }
.p-store-icon { width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; }
.p-store-icon svg { width: 32px; height: 32px; }
.p-store > span:nth-child(2) { display: grid; gap: 2px; }
.p-store small { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.p-store strong { font-size: 1.3rem; letter-spacing: -.02em; }
.p-store > span:nth-child(2) > span { font-size: .9rem; opacity: .85; }
.p-store-go { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.p-store-go .arr { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--c); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s; }
.p-store:hover .p-store-go .arr { transform: translateX(4px); }

/* Product cards (shop, product, cart pages) */
body[data-page="shop"] .product-card, body[data-page="product"] .product-card { border-radius: 20px; }
body[data-page="shop"] .product-card:hover, body[data-page="product"] .product-card:hover { box-shadow: 0 24px 50px -32px rgba(38, 35, 95, .55); transform: translateY(-3px); }
.product-card { transition: box-shadow .3s, transform .3s, border-color .3s; }
.product-card .art { background-image: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .2), transparent 55%); }

/* ---------- Product page ---------- */
.pdp-wrap { padding-top: 36px; }
.pdp { grid-template-columns: 1.05fr .95fr; gap: 56px; }
.pdp-media { position: relative; }
.pdp-media .art { border-radius: 28px; aspect-ratio: 1 / 1; background-image: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .25), transparent 55%), linear-gradient(150deg, var(--brand), var(--brand-dark)) !important; box-shadow: 0 40px 70px -40px var(--brand); }
.pdp-media .art svg { width: 34%; }
.pdp-media .art-brand { left: 22px; bottom: 18px; font-size: .8rem; }
.b-rank { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); background: #fff; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.b-rank::before { content: "★"; color: var(--plane); }
.pdp-info { padding-top: 8px; }
.pdp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--ink); padding: 6px 14px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 9%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 18%, #fff); }
.pdp-brand-go { font-weight: 600; font-size: .82rem; color: var(--brand); }
.pdp-brand:hover { border-color: var(--brand); }
.pdp h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.03em; line-height: 1.08; margin: 18px 0 10px; }
.pdp-short { font-size: 1.1rem; color: var(--muted); }
.pdp-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0; margin: 6px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price .price { font-size: 2rem; letter-spacing: -.02em; }
.pdp ul.features { list-style: none; padding: 0; display: grid; gap: 10px; }
.pdp ul.features li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.pdp ul.features li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326235F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pdp .qty { height: 54px; }
.pdp .qty button, .pdp .qty input { height: 52px; }
.pdp-trust { list-style: none; margin: 8px 0 18px; padding: 16px 18px; display: grid; gap: 10px; border-radius: 16px; background: var(--soft, #F5F4FA); font-size: .92rem; font-weight: 600; color: var(--ink); }
.pdp-trust li { display: flex; align-items: center; gap: 10px; }
.pdp-trust svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }
.pdp .note-box { border-radius: 16px; background: color-mix(in srgb, var(--brand) 8%, #fff); }

/* ---------- Cart ---------- */
.p-steps { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.p-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; font-weight: 600; color: #C9C7E6; }
.p-steps li span { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); font-size: .78rem; font-weight: 800; }
.p-steps li.on { background: #fff; color: var(--navy); }
.p-steps li.on span { background: var(--plane); color: #fff; }
.cart-layout { grid-template-columns: 1.25fr 1fr; gap: 28px; }
.p-panel { border-radius: 24px; padding: 26px; box-shadow: 0 24px 50px -40px rgba(38, 35, 95, .5); }
.p-panel h2 { font-size: 1.3rem; margin-bottom: 14px; }
.p-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-panel-head a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.cart-line { grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px 0; }
.cart-line .art { width: 84px; border-radius: 14px; aspect-ratio: 1 / 1; }
.p-checkout { position: relative; }
.p-checkout .totals { background: var(--soft, #F5F4FA); border-radius: 16px; padding: 16px 18px; margin: 0 0 8px; }
.p-step-title { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin: 26px 0 14px; }
.p-step-title span { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.choice { border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.p-secure { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.p-secure svg { flex-shrink: 0; margin-top: 2px; color: var(--ok); }
.p-more { margin-top: 18px; padding: 20px 22px; border-radius: 20px; background: var(--soft, #F5F4FA); display: grid; gap: 12px; }
.p-more > span { font-weight: 700; color: var(--ink); font-size: .95rem; }
.p-empty { text-align: center; max-width: 980px; margin: 0 auto; }
.p-empty-ico { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; background: var(--plane-soft); color: var(--plane-dark); display: flex; align-items: center; justify-content: center; }
.p-empty-ico svg { width: 34px; height: 34px; }
.p-empty h2 { font-size: 1.8rem; letter-spacing: -.02em; }
.p-empty .brand-grid { text-align: left; margin-top: 28px; }
.confirm.panel { border-radius: 28px; padding: 44px 36px; box-shadow: 0 30px 60px -44px rgba(38, 35, 95, .6); }
.order-text { border-radius: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .filters h2:nth-of-type(2) { margin-top: 0; }
  .filters h2:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .filters h2:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .filters #filter-brands { grid-column: 1; grid-row: 2; }
  .filters #filter-cats { grid-column: 2; grid-row: 2; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .pdp-media .art { aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .p-hero-inner { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 600px) {
  .filters { grid-template-columns: 1fr; }
  .filters h2:nth-of-type(2) { grid-column: 1; grid-row: 3; margin-top: 16px; }
  .filters #filter-cats { grid-column: 1; grid-row: 4; }
  .p-store { flex-wrap: wrap; padding: 20px; }
  .p-store-go { margin-left: 0; }
  .p-steps li { padding: 6px 10px 6px 6px; font-size: .78rem; }
  .p-panel { padding: 20px; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line .art { width: 64px; }
  .cart-line > .price { grid-column: 2; }
  .p-search { max-width: none; }
  .p-tools { flex-direction: column; align-items: stretch; }
}

/* Mobile: filters become two swipeable rows so products show straight away */
@media (max-width: 860px) {
  .filters, .filters { display: block; padding: 14px 0 14px 14px; border-radius: 18px; overflow: hidden; }
  .filters h2 { margin: 0 0 8px !important; }
  .filters h2:nth-of-type(2) { margin-top: 12px !important; }
  .filter-list { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-right: 14px; scrollbar-width: none; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list button { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; gap: 8px; }
  .filter-list button[aria-pressed="true"] { border-color: var(--navy); }
}
@media (max-width: 600px) {
  .p-tools { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
  .p-tools .p-search { grid-column: 1 / -1; flex: none; }
}

/* ---------- Info pages: wholesale, about, contact, policies, 404 ---------- */
body[data-page="wholesale"], body[data-page="about"], body[data-page="contact"], body[data-page="policies"], body[data-page="404"] { background: #fff; }
.info-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.info-h2, .prose .info-h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.03em; margin: 0 0 18px; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: box-shadow .3s, transform .3s; }
.info-card:hover { box-shadow: 0 24px 50px -32px rgba(38, 35, 95, .5); transform: translateY(-3px); }
.info-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.info-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.info-card.wide { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; background: var(--soft, #F5F4FA); border-color: transparent; }
.info-card.wide .find-ico { margin: 0; }
.info-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.info-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: var(--soft, #F5F4FA); }
.info-steps li > span { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px rgba(38, 35, 95, .1); }
.info-steps li:last-child > span { background: var(--plane); box-shadow: 0 0 0 5px rgba(241, 90, 60, .15); }
.info-steps h3 { font-size: 1.05rem; margin: 2px 0 2px; }
.info-steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.info-form { position: sticky; top: 96px; }
.info-form h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.info-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-stats div { border-radius: 22px; padding: 26px; background: var(--soft, #F5F4FA); display: grid; gap: 4px; }
.info-stats div:first-child { background: linear-gradient(150deg, var(--navy), var(--night, #17153F)); color: #fff; }
.info-stats div:first-child strong { color: #fff; }
.info-stats div:first-child span { color: #B9B7DA; }
.info-stats div:nth-child(4) { background: var(--plane); }
.info-stats div:nth-child(4) strong, .info-stats div:nth-child(4) span { color: #fff; }
.info-stats strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.info-stats span { color: var(--muted); font-weight: 600; }
.about .prose { font-size: 1.05rem; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 24px 50px -40px rgba(38, 35, 95, .5); }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.contact-card a { font-weight: 700; text-decoration: none; }
.contact-card .find-ico svg { width: 22px; height: 22px; }
.info-find { padding: 8px 0; }
.info-find p { color: var(--text); }
.info-quick { margin-top: 26px; padding: 22px; border-radius: 20px; background: var(--soft, #F5F4FA); display: grid; gap: 12px; }
.info-quick > span { font-weight: 700; color: var(--ink); }

/* Policies */
.policy-layout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
.policy-toc { position: sticky; top: 96px; display: grid; gap: 2px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; }
.policy-toc span { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.policy-toc a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .93rem; padding: 7px 10px; border-radius: 10px; }
.policy-toc a:hover { background: var(--soft, #F5F4FA); color: var(--navy); }
.policy-body { max-width: 780px; }
.policy-draft { background: var(--plane-soft); color: var(--plane-dark); font-weight: 700; padding: 14px 18px; border-radius: 14px; }
.policy-card { border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; margin-bottom: 16px; scroll-margin-top: 100px; }
.prose .policy-card h2 { margin: 0 0 10px; font-size: 1.3rem; }
.policy-card p:last-child, .policy-card ul:last-child { margin-bottom: 0; }

/* 404 */
.nf-inner { display: grid; justify-items: center; text-align: center; gap: 6px; padding-top: 96px; padding-bottom: 110px; }
.nf-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(90deg, #FF7A59, var(--plane)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .lead { margin: 0 auto 18px; }
.nf .p-pills { justify-content: center; }

@media (max-width: 1024px) {
  .info-split, .policy-layout { grid-template-columns: 1fr; }
  .info-form, .policy-toc { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .policy-toc { display: flex; flex-wrap: wrap; }
  .policy-toc span { width: 100%; }
}
@media (max-width: 600px) {
  .info-cards, .contact-cards { grid-template-columns: 1fr; }
  .info-card.wide { flex-direction: column; align-items: flex-start; }
  .policy-card { padding: 20px; }
}
