/* Sakhi Collective: magenta, marigold and indigo with a block-print pattern. Yeseva One for headings, Mulish for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF8EE;
  --surface: #FFFFFF;
  --soft: #FCE4EC;
  --ink: #2A1B5C;
  --muted: #5A4F72;
  --line: #EED9DF;
  --line-strong: #D9B8C4;
  --brand: #C2185B;
  --brand-hover: #A0124A;
  --brand-ink: #FFFFFF;
  --brand-text: #AD1457;
  --marigold: #F9A825;
  --eyebrow: #AD1457;
  --head: "Yeseva One", Georgia, serif;
  --body: "Mulish", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 22px;
  --btn-radius: 12px;
  --wrap: 1200px;
  --gap: 22px;
  --out-bg: #2A1B5C;
  --out-btn: #F9A825;
  --out-btn-ink: #2A1B5C;
  --print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='%23F9A825' opacity='.22'%3E%3Ccircle cx='24' cy='24' r='5'/%3E%3Cpath d='M24 6l4 8h-8ZM24 42l4-8h-8ZM6 24l8-4v8ZM42 24l-8-4v8Z'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='48' cy='0' r='3'/%3E%3Ccircle cx='0' cy='48' r='3'/%3E%3Ccircle cx='48' cy='48' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
h3 { font-family: var(--body); font-weight: 800; }
.btn { font-weight: 800; }
.btn-primary:hover { background: var(--brand-hover); }

/* header */
.header { background: var(--bg); border-bottom: 2px solid var(--ink); }
.logo b { font: 400 1.7rem/1 var(--head); color: var(--brand); }
.logo small { font-size: .74rem; font-weight: 800; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; }
.nav a { font-weight: 800; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--marigold); color: var(--ink); }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 84px); background: var(--brand) var(--print); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--marigold); font-weight: 800; font-size: .86rem; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1.02; margin: 18px 0 18px; }
.hero h1 span { color: var(--marigold); }
.hero .lede { color: #FDE3EC; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: var(--marigold); color: var(--ink); }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; border: 3px solid var(--ink); background: var(--bg); text-decoration: none; }
.tile:nth-child(1) { transform: rotate(-2deg); } .tile:nth-child(4) { transform: rotate(2deg); }
.tile svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.tile span { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: .78rem; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .tile { transform: none !important; } }
.ribbon { overflow: hidden; background: var(--marigold); color: var(--ink); border-block: 2px solid var(--ink); }
.ribbon div { white-space: nowrap; padding: 12px 0; font: 400 1.2rem var(--head); animation: slide 40s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }

/* products */
.prods { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--gap); }
.prods li { scroll-margin-top: 90px; }
.prod { display: flex; flex-direction: column; height: 100%; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; }
.prod-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; border-bottom: 2px solid var(--ink); }
.prod-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.prod-cat { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.prod-body h3 { font-size: 1.05rem; }
.prod-by { font-size: .88rem; color: var(--muted); }
.prod-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.prod-buy b { font: 400 1.4rem var(--head); }
.split-money { background: var(--ink) var(--print); color: #fff; }
.money-bar { display: flex; border-radius: var(--radius); overflow: hidden; border: 2px solid #fff; }
.money-bar div { display: grid; gap: 2px; min-width: 0; padding: 14px 12px; background: var(--brand); }
.money-bar div:nth-child(2) { background: var(--marigold); color: var(--ink); }
.money-bar div:nth-child(3) { background: #7E57C2; }
.money-bar div:nth-child(4) { background: #fff; color: var(--ink); }
.money-bar b { font: 400 1.3rem var(--head); }
.money-bar span { font-size: .82rem; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 640px) { .money-bar { flex-direction: column; } }
.split-money .form-note { color: #CFC6E8; margin-top: 10px; }
.stats { border: 2px solid var(--ink); background: var(--ink); }
.stats b { color: var(--brand); }
.p-card, .s-card, .quotes li { border: 2px solid var(--ink); }

/* shop */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 980px) { .shop { grid-template-columns: minmax(0, 1fr); } }
.shop-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.chips button { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cart-mini { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.cart { position: sticky; top: 92px; display: grid; gap: 14px; border: 2px solid var(--ink); scroll-margin-top: 90px; }
@media (max-width: 980px) { .cart { position: static; } }
.cart h2 { font-size: 1.6rem; margin: 0; }
.cart-items { list-style: none; display: grid; gap: 10px; }
.cart-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); }
.cart-items b { grid-column: 2; text-align: right; }
.ci-name { display: grid; font-weight: 700; font-size: .94rem; grid-column: 1; grid-row: span 2; }
.ci-name small { font-weight: 500; color: var(--muted); }
.cart-empty { color: var(--muted); }
.choice-col { flex-direction: column; }
.cart .form { gap: 14px; }
.cart .out-lines dt { color: var(--muted); opacity: 1; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 2px solid var(--ink); }
.cart-total b { font: 400 1.9rem var(--head); color: var(--brand); }
.cart .btn-primary { width: 100%; }
.cart .btn.is-off { opacity: .55; }
.cart [data-cart-clear] { justify-self: start; }

/* inner pages */
.page-head { background: var(--ink) var(--print); color: #fff; margin-bottom: clamp(24px, 4vw, 40px); }
.page-head .eyebrow { color: var(--marigold); }
.page-head .lede { color: #D9D2F0; }
.cta-band { background: var(--marigold); }
.cta-band .btn-ghost { border-color: var(--ink); }
.footer { background: var(--brand); color: #FDE3EC; --footer-line: rgba(255,255,255,.25); }
.footer .logo b, .footer h2 { color: #fff; }
.footer .logo small { color: var(--marigold); }
.footer .credit a { color: #fff; }
.prods-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
