/* Rising Love Merch: storefront layout on top of the main site's site.css (same tokens, light/dark aware). */
:root { --shop-ink: var(--cream); --shop-bg: var(--ink-2); --shop-muted: var(--cream-muted); --shop-line: var(--hair); --shop-accent: var(--magenta); --shop-accent-ink: #fff; --shop-radius: 12px; }
body { font-family: var(--sans); }
main { min-height: 60vh; }
h1, h2 { letter-spacing: -0.02em; line-height: 1.1; }
.lead { color: var(--cream-muted); font-size: 1.08rem; line-height: 1.6; max-width: 38rem; }
.eyebrow-sm { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-soft); }

/* header additions: Merch is the active item, cart button, store bar */
.rl-nav a.is-active { color: var(--cream); }
.rl-nav a.is-active::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--grad); }
.store-cart-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: var(--cream); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.store-cart-btn:hover { background: var(--tint); }
.store-cart-btn svg { width: 18px; height: 18px; }
.store-cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--magenta); color: #fff; font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; }
.store-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.store-bar-inner { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.store-bar a { color: var(--cream-muted); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.store-bar a:hover, .store-bar a[aria-current="page"], .store-bar a.is-active { color: var(--cream); }
.store-bar a[aria-current="page"], .store-bar a.is-active { box-shadow: inset 0 -2px 0 var(--magenta); }
.store-bar-home { color: var(--cream) !important; font-weight: 800 !important; padding-right: 14px; border-right: 1px solid var(--hair); }
.store-bar-links { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 13px 0; }
.store-bar-links::-webkit-scrollbar { display: none; }
.store-bar-track { margin-left: auto; }
@media (max-width: 720px) { .store-cart-label, .store-bar-track { display: none; } .store-bar-inner { gap: 12px; } }

.store-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .85rem; color: var(--cream-muted); }
.store-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.store-crumbs a { color: var(--cream-muted); text-decoration: none; } .store-crumbs a:hover { color: var(--cream); }

.store-section { padding: clamp(36px, 6vw, 64px) var(--gutter) 0; }
.store-section:last-child { padding-bottom: clamp(48px, 8vw, 96px); }
.store-section--first { padding-top: 24px; }
.store-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.store-head h1, .store-head h2 { margin: 4px 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.store-head a { color: var(--cream-muted); text-decoration: none; font-weight: 600; white-space: nowrap; } .store-head a:hover { color: var(--cream); }

/* hero */
.store-hero { padding: clamp(32px, 6vw, 72px) 0 0; }
.store-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.store-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin: 10px 0 14px; }
.store-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store-hero-art { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); box-shadow: var(--shadow-soft); }
.store-hero-art img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
.store-hero-art:hover img { transform: scale(1.03); }
@media (max-width: 820px) { .store-hero-inner { grid-template-columns: 1fr; } .store-hero-art { max-width: 420px; } }

/* collection cards */
.cgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ccard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--cream); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.ccard-img { aspect-ratio: 4 / 5; background: var(--ink-3); overflow: hidden; }
.ccard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccard-body { display: grid; gap: 2px; padding: 12px 14px 16px; }
.ccard-name { font-weight: 800; font-size: 1.05rem; } .ccard-count { color: var(--cream-muted); font-size: .85rem; }
@media (max-width: 980px) { .cgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { display: flex; flex-direction: column; color: var(--cream); text-decoration: none; }
.pcard[hidden] { display: none; }
.pcard-img { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: #fff; border: 1px solid var(--line-dark); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { display: grid; gap: 2px; padding: 10px 2px 0; }
.pcard-who { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-muted); }
.pcard-name { font-weight: 700; line-height: 1.3; } .pcard-price { color: var(--cream-muted); }
@media (max-width: 980px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: var(--cream); cursor: pointer; }
.chip.is-on { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* feature band */
.feature { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--panel-bg); border: 1px solid var(--line-dark); }
.feature-art { width: 100%; border-radius: var(--r-sm); display: block; }
.feature h2 { margin: 8px 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.feature p { color: var(--cream-muted); line-height: 1.6; max-width: 36rem; }
.feature-price { color: var(--cream) !important; font-weight: 800; font-size: 1.25rem; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature-art { max-width: 320px; } }

.trust { list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-radius: var(--r-lg); border: 1px solid var(--line-dark); }
.trust li { display: grid; gap: 2px; } .trust strong { font-size: .95rem; } .trust span { color: var(--cream-muted); font-size: .85rem; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* collection hero */
.coll-hero { padding: 28px 0 0; }
.coll-hero-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.coll-hero-img { width: clamp(120px, 18vw, 220px); height: clamp(120px, 18vw, 220px); object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line-dark); }
.coll-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 8px 0 10px; }
@media (max-width: 560px) { .coll-hero-inner { grid-template-columns: 1fr; } }

/* product detail */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 56px); padding-top: 20px; padding-bottom: 8px; }
.pd-main { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-dark); }
.pd-main img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: contain; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; width: 72px; height: 72px; }
.thumb.is-on { border-color: var(--magenta); } .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 10px 0 6px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--cream); text-decoration: none; }
.tag:hover { background: var(--hair); }
.pd-price { font-size: 1.35rem; font-weight: 800; margin: 0; }
.pd-info:has(.shop-price) .pd-price { display: none; }
.pd-note { color: var(--cream-muted); font-size: .9rem; margin: 4px 0 18px; }
.pd-desc { color: var(--cream-muted); line-height: 1.65; } .pd-desc h2, .pd-desc h3, .pd-desc h4 { color: var(--cream); font-size: 1.05rem; margin: 18px 0 6px; } .pd-desc ul { padding-left: 1.2em; }
.pd-more { margin-top: 16px; border-top: 1px solid var(--line-dark); padding-top: 12px; } .pd-more summary { cursor: pointer; font-weight: 700; } .pd-more p { color: var(--cream-muted); }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } }

/* picker + cart drawer tuned to the main site look */
.shop-picker { margin: 18px 0 6px; }
.shop-chips span { background: transparent; color: var(--cream); border-color: var(--hair); border-radius: 10px; }
.shop-chips input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.shop-btn { border-radius: 999px; padding: 13px 26px; }
.shop-btn--ghost { border-color: var(--hair-strong); color: var(--cream) !important; }
.shop-qtyin input { background: transparent; color: var(--cream); }
.shop-drawer__panel { background: var(--ink-2); color: var(--cream); }
.shop-summary { background: var(--ink-2); border: 1px solid var(--line-dark); }
.shop-addr input, .shop-addr select, .shop-contact input, .shop-contact select, .shop-contact textarea, .shop-status-form input { background: var(--ink-2); color: var(--cream); }
.shop-addr input:disabled, .shop-addr select:disabled { background: var(--ink-3); }

/* text pages (policies, checkout, contact, status) */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: clamp(48px, 8vw, 96px); }
.doc h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 8px 0 18px; }
.doc h2 { font-size: 1.2rem; margin: 28px 0 8px; } .doc p, .doc li { color: var(--cream-muted); line-height: 1.7; } .doc a { color: var(--cream); }
.doc--wide { max-width: 1100px; }
