/* Arogya Plus — storefront styles. Mobile first; breakpoints at 720px and 1024px. */

:root {
  --ap-cream: #FFFBF3;
  --ap-paper: #FFFFFF;
  --ap-butter: #FFF1D6;
  --ap-sun: #FFC23D;       /* logo gold */
  --ap-mango: #FF914D;     /* logo orange */
  --ap-chilli: #C2410C;    /* buttons */
  --ap-chilli-deep: #8A2E08;
  --ap-cocoa: #2B1A0E;     /* text, dark panels */
  --ap-cocoa-2: #3D2817;
  --ap-cocoa-3: #5A3D25;
  --ap-brown: #5C4632;     /* body copy on cream */
  --ap-muted: #8A6A4C;
  --ap-line: #F1E2C8;
  --ap-line-2: #EAD7B7;
  --ap-leaf: #1F6B3A;
  --ap-leaf-soft: #DDF1DF;
  --ap-mint: #9FE0B0;
  --ap-danger: #B42318;
  --ap-radius: 20px;
  --ap-serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --ap-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ap-mr: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
  --ap-gutter: 16px;
  --ap-shadow: 0 14px 30px -18px rgba(90, 40, 10, .45);
}
@media (min-width: 720px) { :root { --ap-gutter: 28px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--ap-cream); color: var(--ap-cocoa); font: 400 16px/1.55 var(--ap-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ap-chilli); text-underline-offset: 3px; }
a:hover { color: var(--ap-chilli-deep); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ap-mango); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ap-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ap-cocoa); color: #fff; padding: 10px 16px; border-radius: 10px; }
.ap-skip:focus { top: 12px; }
.ap-wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--ap-gutter); padding-right: var(--ap-gutter); }
.ap-serif { font-family: var(--ap-serif); font-weight: 400; letter-spacing: -0.01em; }
.ap-mr { font-family: var(--ap-mr); color: var(--ap-muted); line-height: 1.3; }
.ap-lead { font-size: 18px; color: var(--ap-brown); }
.ap-lead p:last-child { margin: 0; }
.ap-small { font-size: 13px; color: var(--ap-muted); }
.ap-eyebrow { color: var(--ap-sun); font-weight: 700; }
.ap-icon { flex: 0 0 auto; }
.ap-ok { font-size: 12px; font-weight: 700; color: var(--ap-mint); white-space: nowrap; }

/* ---------- Buttons ---------- */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease; white-space: nowrap; }
.ap-btn:active { transform: translateY(2px); }
.ap-btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.ap-btn--block { display: flex; width: 100%; }
.ap-btn--grow { flex: 1 1 200px; }
.ap-btn--primary { background: var(--ap-chilli); color: #fff; box-shadow: 0 5px 0 var(--ap-chilli-deep); }
.ap-btn--primary:hover { background: #AE3A0A; color: #fff; }
.ap-btn--primary:active { box-shadow: 0 3px 0 var(--ap-chilli-deep); }
.ap-btn--soft { background: var(--ap-butter); color: var(--ap-cocoa); }
.ap-btn--soft:hover { background: #FFE7B8; color: var(--ap-cocoa); }
.ap-btn--dark { background: var(--ap-cocoa); color: var(--ap-butter); }
.ap-btn--dark:hover { background: #422A17; color: var(--ap-butter); }
.ap-btn--sun { background: var(--ap-sun); color: var(--ap-cocoa); }
.ap-btn--sun:hover { background: #FFCF63; color: var(--ap-cocoa); }
.ap-btn--green { background: var(--ap-leaf); color: #fff; }
.ap-btn--green:hover { background: #185A30; color: #fff; }
.ap-btn--wa { background: var(--ap-paper); color: var(--ap-leaf); border: 1.5px solid #BFE3C6; white-space: normal; text-align: center; }
.ap-btn--wa:hover { background: var(--ap-leaf-soft); color: var(--ap-leaf); }
.ap-btn.is-busy { opacity: .7; pointer-events: none; }
.ap-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ap-cocoa); cursor: pointer; }
.ap-iconbtn:hover { background: var(--ap-butter); color: var(--ap-cocoa); }
.ap-iconbtn--soft { background: var(--ap-butter); }

/* Meter (free delivery, lab values) */
.ap-meter { display: block; height: 8px; border-radius: 8px; background: #F6E9D2; overflow: hidden; }
.ap-meter > span { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--ap-sun); transition: width .35s ease, background-color .2s; }
.ap-meter.is-done > span { background: var(--ap-leaf); }
.ap-meter--dark { background: var(--ap-cocoa-3); }

/* ---------- Free-delivery bar & header ---------- */
.ap-freebar { background: var(--ap-cocoa); color: var(--ap-butter); font-size: 13px; font-weight: 500; padding: 8px var(--ap-gutter); display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.ap-freebar .ap-meter { width: 140px; height: 6px; }
@media (min-width: 720px) { .ap-freebar { font-size: 14px; } }

/* Solid background, no backdrop-filter: a filter would trap the fixed mobile menu inside the header. */
.ap-header { position: sticky; top: 0; z-index: 30; background: var(--ap-cream); border-bottom: 1px solid var(--ap-line); }
.admin-bar .ap-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .ap-header { top: 32px; } }
.ap-header__row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo actions" "search search search"; align-items: center; gap: 10px 8px; padding-top: 10px; padding-bottom: 8px; }
.ap-header__menu { grid-area: menu; }
.ap-logo { grid-area: logo; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.ap-logo__mark { width: 36px; height: auto; }
.ap-logo__word { width: 132px; height: auto; }
.ap-search { grid-area: search; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: #FFF4DF; border: 1.5px solid #F1DDB8; border-radius: 14px; color: #7A5B3E; }
.ap-search:focus-within { border-color: var(--ap-mango); background: var(--ap-paper); }
.ap-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--ap-cocoa); font-size: 16px; }
.ap-search input::-webkit-search-cancel-button { filter: grayscale(1); }
.ap-header__actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.ap-header__wa { display: none; align-items: center; gap: 8px; color: var(--ap-leaf); font-weight: 700; font-size: 15px; text-decoration: none; padding: 0 10px; height: 44px; border-radius: 12px; }
.ap-header__wa:hover { background: var(--ap-leaf-soft); color: var(--ap-leaf); }
.ap-cartbtn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; margin-left: 4px; border-radius: 14px; background: var(--ap-cocoa); color: var(--ap-butter); text-decoration: none; font-weight: 700; }
.ap-cartbtn:hover { background: #422A17; color: var(--ap-butter); }
.ap-cartbtn__icon { position: relative; display: flex; }
.ap-cartbtn__count { position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ap-sun); color: var(--ap-cocoa); font-size: 11px; line-height: 19px; text-align: center; }
.ap-cartbtn__total { display: none; }
.ap-cartbtn.is-bump { animation: ap-bump .45s ease; }
@keyframes ap-bump { 30% { transform: scale(1.08); } 60% { transform: scale(.97); } }

.ap-shopnav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; font-weight: 600; font-size: 15px; padding-top: 0; padding-bottom: 0; }
.ap-shopnav::-webkit-scrollbar { display: none; }
.ap-shopnav__close { display: none; }
@media (max-width: 719px) { .ap-shopnav__close { display: inline-flex; } }
.ap-shopnav a { flex: 0 0 auto; padding: 8px 12px 12px; color: var(--ap-cocoa); text-decoration: none; border-radius: 10px 10px 0 0; }
.ap-shopnav a:hover { color: var(--ap-chilli); }
.ap-shopnav a[aria-current="page"] { color: var(--ap-chilli); box-shadow: inset 0 -3px 0 var(--ap-chilli); }

@media (max-width: 719px) {
  .ap-shopnav { position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px); z-index: 50; flex-direction: column; gap: 0; background: var(--ap-cream); padding: 76px 12px 24px; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 20px 0 40px -20px rgba(0,0,0,.3); overflow-y: auto; }
  .ap-shopnav a { padding: 14px 14px; font-size: 18px; border-radius: 12px; border-bottom: 1px solid var(--ap-line); }
  .ap-shopnav a[aria-current="page"] { box-shadow: none; background: var(--ap-butter); }
  body.ap-menu-open .ap-shopnav { transform: none; }
  body.ap-menu-open .ap-header { z-index: 55; }
  .ap-shopnav__close { position: absolute; top: 16px; right: 12px; }
}
@media (min-width: 720px) {
  .ap-header__row { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search actions"; gap: 12px 24px; padding-top: 14px; padding-bottom: 4px; }
  .ap-header__menu { display: none; }
  .ap-logo__mark { width: 44px; } .ap-logo__word { width: 170px; }
  .ap-cartbtn { padding: 0 16px 0 12px; }
  .ap-cartbtn__total { display: inline; }
  .ap-shopnav { padding-top: 6px; }
}
@media (min-width: 1024px) { .ap-header__wa { display: inline-flex; } }

/* ---------- Sections ---------- */
.ap-section { padding-top: 48px; padding-bottom: 8px; }
.ap-section h2.ap-serif, .ap-section__head h2 { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.ap-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 22px; }
.ap-section__head p { margin: 6px 0 0; color: var(--ap-brown); }
.ap-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
@media (min-width: 720px) { .ap-section { padding-top: 72px; } }

.ap-rail { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 6px; }
.ap-rail::-webkit-scrollbar { display: none; }

/* ---------- Hero ---------- */
.ap-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.ap-hero__copy { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.ap-hero__kicker { font-size: 20px; color: var(--ap-chilli); }
.ap-hero h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.02; margin: 0; }
.ap-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.ap-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--ap-brown); }
.ap-ticks li { display: flex; align-items: center; gap: 8px; }
.ap-ticks li::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--ap-leaf); }
.ap-hero__art { position: relative; min-height: 360px; border-radius: 32px; background: var(--ap-sun); overflow: hidden; isolation: isolate; }
.ap-hero__drop { position: absolute; right: -16%; bottom: -24%; width: 85%; fill: var(--ap-mango); opacity: .42; z-index: -1; }
.ap-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-hero__packs { position: absolute; inset: 0; }
.ap-hero__pack { position: absolute; display: block; width: 46%; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--ap-cream); box-shadow: 0 24px 40px -24px rgba(60, 25, 5, .6); transition: transform .3s ease; }
.ap-hero__pack img { width: 100%; height: 100%; object-fit: cover; }
.ap-hero__pack:hover { transform: rotate(0) scale(1.03) !important; }
.ap-hero__pack--0 { left: 7%; top: 14%; transform: rotate(-6deg); z-index: 2; }
.ap-hero__pack--1 { right: 7%; top: 8%; width: 40%; transform: rotate(5deg); }
.ap-hero__pack--2 { right: 15%; bottom: 7%; width: 42%; transform: rotate(-2deg); z-index: 3; }
.ap-seal { position: absolute; left: 18px; bottom: 18px; width: 116px; height: 116px; z-index: 4; }
.ap-seal svg { width: 100%; height: 100%; animation: ap-spin 24s linear infinite; }
.ap-seal circle { fill: var(--ap-cocoa); }
.ap-seal text { fill: var(--ap-butter); font: 700 17px var(--ap-sans); letter-spacing: 3px; }
.ap-seal img { position: absolute; left: 50%; top: 50%; width: 40px; transform: translate(-50%, -50%); }
@keyframes ap-spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .ap-hero { grid-template-columns: 1fr 1.05fr; gap: 40px; padding-top: 44px; padding-bottom: 32px; }
  .ap-hero__art { min-height: 540px; border-radius: 40px; }
  .ap-seal { left: 26px; bottom: 26px; width: 150px; height: 150px; }
  .ap-seal img { width: 52px; }
}

/* ---------- Categories ---------- */
.ap-cats { padding-top: 12px; }
.ap-cat { flex: 0 0 108px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; text-decoration: none; color: var(--ap-cocoa); }
.ap-cat__img { width: 96px; height: 96px; border-radius: 50%; background: var(--tint); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; transition: transform .18s ease; }
.ap-cat__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ap-cat:hover .ap-cat__img { transform: scale(1.05); }
.ap-cat__name { font-weight: 700; line-height: 1.2; }
.ap-cat .ap-mr { font-size: 13px; }
@media (min-width: 720px) { .ap-cat { flex-basis: 132px; } .ap-cat__img { width: 120px; height: 120px; } }

/* ---------- Product cards ---------- */
.ap-grid, ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none !important; }
.ap-li { display: flex; margin: 0 !important; width: auto !important; float: none !important; }
.ap-li > .ap-card { width: 100%; }
@media (min-width: 720px) { .ap-grid, ul.products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; } }

.ap-card { position: relative; display: flex; flex-direction: column; background: var(--ap-paper); border: 1px solid var(--ap-line); border-radius: var(--ap-radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.ap-card:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow); }
.ap-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--tint); overflow: hidden; }
.ap-card__img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .35s ease; }
.ap-card:hover .ap-card__img { transform: scale(1.04); }
.ap-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .55; }
.ap-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--ap-cream); color: var(--ap-cocoa); font-size: 12px; font-weight: 700; }
.ap-badge--dark { background: var(--ap-cocoa); color: var(--ap-butter); top: 16px; left: 16px; font-size: 13px; padding: 6px 12px; }
.ap-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.ap-card__name .ap-mr { display: block; font-size: 13px; }
.ap-card__title { margin: 0; font: 800 16px/1.25 var(--ap-sans); letter-spacing: 0; }
.ap-card__title a { color: var(--ap-cocoa); text-decoration: none; }
.ap-card__size { margin: 0; font-size: 14px; color: var(--ap-muted); }
.ap-buy { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.ap-chip { position: relative; }
.ap-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ap-chip span { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--ap-line-2); background: var(--ap-cream); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ap-chip input:checked + span { background: var(--ap-cocoa); border-color: var(--ap-cocoa); color: var(--ap-butter); }
.ap-chip input:focus-visible + span { outline: 3px solid var(--ap-mango); outline-offset: 2px; }
.ap-chip input:disabled + span { opacity: .4; text-decoration: line-through; }
.ap-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ap-price { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.ap-price__now { font-weight: 800; font-size: 19px; }
.ap-price__unit { font-size: 12px; color: var(--ap-muted); }
.ap-btn--add { min-height: 44px; padding: 0 18px; background: var(--ap-chilli); color: #fff; border-radius: 12px; }
.ap-btn--add:hover { background: #AE3A0A; color: #fff; }
.ap-soldout { font-size: 14px; font-weight: 700; color: var(--ap-muted); }
.ap-soldout--big { background: var(--ap-butter); padding: 14px 16px; border-radius: 14px; color: var(--ap-brown); font-weight: 600; }
.is-soldout .ap-card__img { filter: grayscale(.6); opacity: .7; }
@media (min-width: 720px) {
  .ap-card__body { padding: 16px 18px 18px; gap: 12px; }
  .ap-card__title { font-size: 18px; }
  .ap-price__now { font-size: 21px; }
  .ap-chip span { height: 34px; padding: 0 12px; font-size: 14px; }
  .ap-btn--add { min-height: 46px; padding: 0 22px; }
}

/* Quantity steppers */
.ap-step { display: inline-flex; align-items: center; border-radius: 12px; overflow: hidden; }
.ap-step button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 20px; font-weight: 700; cursor: pointer; color: inherit; }
.ap-step [data-ap-qty] { min-width: 22px; text-align: center; font-weight: 800; }
.ap-step--solid { background: var(--ap-leaf); color: #fff; }
.ap-step--solid button:hover { background: rgba(255,255,255,.12); }
.ap-step--line { border: 1.5px solid var(--ap-line-2); background: var(--ap-paper); border-radius: 16px; }
.ap-step--line button { width: 48px; height: 54px; }
.ap-step--line input { width: 40px; border: 0; text-align: center; font-weight: 800; font-size: 18px; background: transparent; -moz-appearance: textfield; }
.ap-step--line input::-webkit-outer-spin-button, .ap-step--line input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ap-step--sm button { width: 34px; height: 36px; font-size: 18px; }

/* ---------- Uses tiles ---------- */
.ap-uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ap-use { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 200px; padding: 22px; border-radius: 26px; background: var(--bg); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.ap-use:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow); color: var(--ink); }
.ap-use .ap-mr { color: inherit; opacity: .85; font-size: 17px; }
.ap-use__name { display: block; font-size: 30px; line-height: 1.1; }
.ap-use__items { display: block; font-size: 14px; opacity: .9; margin-bottom: 8px; }
.ap-use__cta { font-weight: 700; }
@media (min-width: 720px) { .ap-use { min-height: 250px; padding: 26px; } .ap-use__name { font-size: 32px; } }

/* ---------- Lab ---------- */
.ap-labband { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; background: var(--ap-cocoa); color: var(--ap-butter); border-radius: 32px; padding: 32px 22px; }
.ap-labband h2 { color: var(--ap-cream); font-size: clamp(32px, 4vw, 46px) !important; margin: 8px 0 12px !important; }
.ap-labband p { color: #E6D3B8; }
.ap-labband__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ap-labcard { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--ap-cocoa-2); color: #C9B08F; text-decoration: none; font-size: 13px; }
.ap-labcard:hover { background: #4A321E; color: #C9B08F; }
.ap-labcard__top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ap-labcard__top strong { color: var(--ap-cream); font-size: 15px; }
.ap-labcard__num .ap-serif { font-size: 32px; color: var(--ap-sun); margin-right: 4px; line-height: 1; }
@media (min-width: 900px) { .ap-labband { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 56px 48px; border-radius: 40px; gap: 40px; } }

.ap-labpanel { background: var(--ap-cocoa); color: var(--ap-butter); border-radius: 26px; padding: 24px 20px; }
.ap-labpanel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.ap-labpanel h2 { color: var(--ap-cream); font-size: 28px; margin: 0; }
.ap-labpanel h2 a { color: inherit; text-decoration: none; }
.ap-labpanel > p { color: #E6D3B8; font-size: 15px; margin: 8px 0 16px; }
.ap-labpanel .ap-small { color: #C9B08F; margin: 14px 0 0; }
.ap-labpanel .ap-small a { color: var(--ap-sun); font-weight: 700; }
.ap-labpanel__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ap-labpanel__grid > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--ap-cocoa-2); }
.ap-labpanel__grid span { font-size: 13px; color: #C9B08F; }
.ap-labpanel__grid strong { font-size: 18px; color: var(--ap-sun); }
.ap-labpanel__grid small { font-size: 12px; color: #C9B08F; }
@media (min-width: 720px) { .ap-labpanel { padding: 30px; border-radius: 28px; } }
.ap-labs__list { display: grid; gap: 18px; padding-bottom: 64px; }

/* ---------- Steps ---------- */
.ap-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: none; }
.ap-steps li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "art art" "n title" "n text"; gap: 4px 14px; }
.ap-steps__art { grid-area: art; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--tint); margin-bottom: 12px; }
.ap-steps__art svg { width: 72px; height: 72px; }
.ap-steps__n { grid-area: n; font-size: 44px; line-height: 1; color: var(--ap-mango); }
.ap-steps strong { grid-area: title; font-size: 19px; font-weight: 800; }
.ap-steps li > span:last-child { grid-area: text; color: var(--ap-brown); }

/* ---------- WhatsApp + FAQ ---------- */
.ap-help { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 64px; }
@media (min-width: 900px) { .ap-help { grid-template-columns: 1fr 1.4fr; gap: 32px; padding-bottom: 88px; } }
.ap-wacard { background: var(--ap-leaf-soft); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ap-wacard h2 { color: #12452A; font-size: 32px !important; margin: 0 !important; }
.ap-wacard p { color: #2E5A40; margin: 0 0 6px; }
.ap-faq h2, .ap-faq > h2 { font-size: 32px !important; margin: 0 0 8px !important; }
.ap-faq details, .ap-accordion details { border-bottom: 1px solid var(--ap-line-2); }
.ap-faq summary, .ap-accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; cursor: pointer; }
.ap-faq summary::-webkit-details-marker, .ap-accordion summary::-webkit-details-marker { display: none; }
.ap-plus { font-size: 26px; line-height: 1; color: var(--ap-chilli); transition: transform .2s ease; }
details[open] > summary .ap-plus { transform: rotate(45deg); }
.ap-faq p { color: var(--ap-brown); max-width: 42em; margin: 0 0 18px; }

/* ---------- Footer ---------- */
.ap-footer { background: var(--ap-cocoa); color: #E6D3B8; padding: 48px 0 28px; font-size: 15px; }
.ap-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.ap-footer h2 { font: 700 15px var(--ap-sans); color: var(--ap-cream); margin: 0 0 10px; }
.ap-footer nav, .ap-footer__cols > div { display: flex; flex-direction: column; gap: 8px; }
.ap-footer a { color: #E6D3B8; text-decoration: none; }
.ap-footer a:hover { color: var(--ap-sun); }
.ap-footer li { list-style: none; }
.ap-footer p { margin: 0; }
.ap-footer__brand .ap-logo { margin-bottom: 8px; }
.ap-footer__legal { margin-top: 36px !important; padding-top: 18px; border-top: 1px solid #4A3422; font-size: 13px; color: #C9B08F; }

/* ---------- Drawer & toast ---------- */
.ap-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(43, 26, 14, .45); opacity: 0; transition: opacity .25s ease; }
.ap-scrim.is-on { opacity: 1; }
body.ap-menu-open .ap-scrim { z-index: 45; }
.ap-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--ap-cream); transform: translateX(105%); transition: transform .3s ease; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .35); }
.ap-drawer.is-open { transform: none; }
.ap-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--ap-line); }
.ap-drawer__head h2 { font-size: 26px; margin: 0; }
.ap-drawer__free { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; background: var(--ap-butter); font-weight: 700; font-size: 14px; }
.ap-drawer__free .ap-meter { background: #F6E0B8; }
.ap-drawer__lines { flex: 1; overflow-y: auto; padding: 4px 18px; }
.ap-drawer__empty { padding: 32px 0; color: var(--ap-brown); text-align: center; }
.ap-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ap-line); }
.ap-line__img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--ap-butter); }
.ap-line__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ap-line__name { font-weight: 700; line-height: 1.25; color: var(--ap-cocoa); text-decoration: none; }
.ap-line__meta { display: block; font-size: 13px; color: var(--ap-muted); }
.ap-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ap-line__price { font-weight: 800; }
.ap-line .ap-step { border: 1.5px solid var(--ap-line-2); background: var(--ap-paper); border-radius: 10px; }
.ap-line .ap-step span { min-width: 20px; text-align: center; font-weight: 800; font-size: 14px; }
.ap-drawer__foot { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ap-line); display: flex; flex-direction: column; gap: 10px; background: var(--ap-cream); }
.ap-drawer__sum { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; }
.ap-drawer__foot .ap-small { margin: 0; }
.ap-drawer__cartlink { text-align: center; font-weight: 600; font-size: 14px; }
body.ap-drawer-open, body.ap-menu-open { overflow: hidden; }

.ap-toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 16px; background: var(--ap-cocoa); color: var(--ap-butter); font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); transition: opacity .25s ease, transform .25s ease; }
.ap-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ap-toast.is-error { background: var(--ap-danger); color: #fff; }
.single-product .ap-toast { bottom: 92px; }
@media (min-width: 720px) { .single-product .ap-toast { bottom: 24px; } }

/* ---------- Archive ---------- */
.ap-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; font-size: 14px; color: var(--ap-muted); }
.ap-crumbs a { color: var(--ap-muted); text-decoration: none; }
.ap-crumbs a:hover { color: var(--ap-chilli); }
.ap-archive__head { margin: 16px 0 18px; padding: 26px 22px; border-radius: 28px; background: var(--tint, var(--ap-butter)); }
.ap-archive__head .ap-mr { font-size: 20px; color: var(--ap-chilli); }
.ap-archive__head h1 { font-size: clamp(36px, 5vw, 56px); margin: 2px 0 0; }
.ap-archive__head[style*="#2B1A0E"], .ap-archive__head[style*="#C2410C"], .ap-archive__head[style*="#1F6B3A"] { color: #FFFBF3; }
.ap-archive__head[style*="#2B1A0E"] .ap-mr, .ap-archive__head[style*="#C2410C"] .ap-mr, .ap-archive__head[style*="#1F6B3A"] .ap-mr { color: inherit; opacity: .85; }
.ap-archive__desc { max-width: 46em; margin-top: 10px; color: inherit; opacity: .9; }
.ap-archive__desc p:last-child { margin: 0; }
@media (min-width: 720px) { .ap-archive__head { padding: 36px 40px; } }
.ap-pills { gap: 8px; margin-bottom: 16px; }
.ap-pills a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ap-paper); border: 1.5px solid var(--ap-line-2); color: var(--ap-cocoa); font-weight: 600; text-decoration: none; }
.ap-pills a span { font-size: 12px; color: var(--ap-muted); }
.ap-pills a[aria-current="page"] { background: var(--ap-cocoa); border-color: var(--ap-cocoa); color: var(--ap-butter); }
.ap-pills a[aria-current="page"] span { color: #C9B08F; }
.ap-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.ap-toolbar .woocommerce-result-count { margin: 0; color: var(--ap-muted); font-size: 14px; }
.ap-toolbar .woocommerce-ordering { margin: 0; }
.ap-toolbar select, .orderby { height: 42px; padding: 0 36px 0 14px; border: 1.5px solid var(--ap-line-2); border-radius: 12px; background: var(--ap-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232B1A0E' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; font-weight: 600; }
.woocommerce-pagination { margin: 32px 0 64px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; margin: 0; padding: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--ap-paper); border: 1.5px solid var(--ap-line-2); color: var(--ap-cocoa); text-decoration: none; font-weight: 700; }
.woocommerce-pagination .current { background: var(--ap-cocoa); color: var(--ap-butter); border-color: var(--ap-cocoa); }
.ap-archive { padding-bottom: 64px; }
.ap-empty { text-align: center; padding: 56px 16px 80px; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ap-empty h1, .ap-empty h2 { font-size: clamp(32px, 5vw, 48px); margin: 0; }
.ap-empty .ap-mr { font-size: 22px; color: var(--ap-chilli); }
.ap-search--big { width: 100%; height: 54px; margin: 8px 0; }

/* ---------- Product page ---------- */
.ap-product__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 14px 0 40px; }
.ap-product__top > *, .ap-product__details > *, .ap-hero > *, .ap-help > *, .ap-labband > * { min-width: 0; }
@media (min-width: 960px) { .ap-product__top { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; } .ap-buybox { position: sticky; top: 150px; } }
.ap-gallery { display: flex; flex-direction: column; gap: 10px; }
.ap-gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: var(--tint); }
.ap-gallery__main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: opacity .2s ease; }
.ap-gallery__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .5; }
.ap-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.ap-gallery__thumbs button { flex: 0 0 72px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--tint); cursor: pointer; }
.ap-gallery__thumbs button[aria-pressed="true"] { border-color: var(--ap-cocoa); }
.ap-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; }
@media (min-width: 960px) {
  .ap-gallery { flex-direction: row-reverse; gap: 14px; }
  .ap-gallery__main { flex: 1; border-radius: 32px; }
  .ap-gallery__thumbs { flex-direction: column; flex: 0 0 84px; }
  .ap-gallery__thumbs button { flex-basis: auto; width: 84px; }
}
.ap-buybox { display: flex; flex-direction: column; gap: 18px; }
.ap-buybox__title .ap-mr { font-size: 20px; color: var(--ap-chilli); }
.ap-buybox h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.02; margin: 2px 0 8px; }
.ap-labchip { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: var(--ap-leaf-soft); color: #12452A; text-decoration: none; font-size: 14px; }
.ap-labchip:hover { color: #12452A; background: #CFEAD3; }
.ap-buybox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.ap-price__big { font-size: 36px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
.ap-buyform { display: flex; flex-direction: column; gap: 16px; }
.ap-sizes { border: 0; margin: 0; padding: 0; min-width: 0; }
.ap-sizes legend { font-weight: 700; padding: 0 0 10px; }
.ap-sizes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ap-size { position: relative; display: flex; }
.ap-size input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ap-size__box { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--ap-line-2); background: var(--ap-paper); transition: background-color .15s, border-color .15s; }
.ap-size__box strong { font-size: 18px; font-weight: 800; }
.ap-size__box span { font-weight: 700; }
.ap-size__box small { font-size: 12px; color: var(--ap-muted); min-height: 1.2em; }
.ap-size input:checked + .ap-size__box { background: var(--ap-cocoa); border-color: var(--ap-cocoa); color: var(--ap-butter); }
.ap-size input:checked + .ap-size__box small { color: #C9B08F; }
.ap-size input:focus-visible + .ap-size__box { outline: 3px solid var(--ap-mango); outline-offset: 2px; }
.ap-size input:disabled + .ap-size__box { opacity: .45; }
.ap-buybox__single { margin: 0; color: var(--ap-brown); }
.ap-buyform__row { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-deliver { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: var(--ap-paper); border: 1px solid var(--ap-line); }
.ap-deliver__free { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ap-pin { display: flex; gap: 8px; }
.ap-pin input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid var(--ap-line-2); border-radius: 12px; background: var(--ap-cream); font-size: 16px; }
.ap-pin .ap-btn { min-height: 46px; }
.ap-deliver .ap-small { margin: 0; font-size: 14px; }
.ap-deliver .ap-small.is-ok { color: var(--ap-leaf); font-weight: 600; }
.ap-deliver .ap-small.is-error { color: var(--ap-danger); }
.ap-deliver__trust { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--ap-line); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ap-brown); }
.ap-deliver__trust li { display: flex; align-items: center; gap: 6px; }

.ap-together { background: var(--ap-butter); }
.ap-together__in { display: grid; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.ap-together__head h2 { font-size: 32px; margin: 0 0 4px; }
.ap-together__head p { margin: 0; color: var(--ap-brown); }
.ap-together__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ap-tick { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--ap-paper); border: 2px solid #F1DDB8; cursor: pointer; transition: border-color .15s, opacity .15s; }
.ap-tick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ap-tick__img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--tint); }
.ap-tick__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ap-tick__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ap-tick__text span { font-size: 13px; color: var(--ap-muted); }
.ap-tick__box { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 1.5px solid var(--ap-line-2); color: transparent; background: var(--ap-cream); }
.ap-tick:has(input:checked) { border-color: var(--ap-cocoa); }
.ap-tick:has(input:checked) .ap-tick__box { background: var(--ap-leaf); border-color: var(--ap-leaf); color: #fff; }
.ap-tick:has(input:not(:checked)) { opacity: .7; }
.ap-tick:has(input:focus-visible) { outline: 3px solid var(--ap-mango); outline-offset: 2px; }
.ap-together__sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ap-together__sum .ap-price__big { font-size: 28px; }
@media (min-width: 1024px) {
  .ap-together__in { grid-template-columns: 220px 1fr 220px; align-items: center; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .ap-together__sum { flex-direction: column; align-items: stretch; gap: 8px; }
}

.ap-product__details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 8px; }
@media (min-width: 960px) { .ap-product__details { grid-template-columns: 1.4fr 1fr; gap: 48px; padding-top: 56px; } }
.ap-product__main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.ap-prose h2 { font-size: 32px; }
.ap-prose p, .ap-prose li { color: var(--ap-brown); max-width: 42em; }
.ap-usechips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ap-usechips a { padding: 8px 14px; border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.ap-accordion details > p { color: var(--ap-brown); margin: 0 0 18px; }
.ap-dl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px 14px; margin: 0 0 18px; font-size: 15px; }
.ap-dl dt { color: var(--ap-muted); }
.ap-dl dd { margin: 0; font-weight: 600; }

.ap-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ap-cream); border-top: 1px solid var(--ap-line); transform: translateY(110%); transition: transform .25s ease; }
.ap-mbar.is-on { transform: none; }
.ap-mbar > div { display: flex; flex-direction: column; line-height: 1.2; }
.ap-mbar strong { font-size: 18px; }
@media (min-width: 960px) { .ap-mbar { display: none; } }

/* Reviews (WooCommerce markup) */
.ap-reviews .commentlist { list-style: none; margin: 0; padding: 0; }
.ap-reviews .comment_container { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ap-line); }
.ap-reviews .avatar { width: 40px; height: 40px; border-radius: 50%; }
.ap-reviews .star-rating { color: var(--ap-sun); }
.ap-reviews .woocommerce-noreviews, .ap-reviews .woocommerce-verification-required { color: var(--ap-brown); }
.ap-reviews #reply-title { font: 700 17px var(--ap-sans); }

/* ---------- Generic pages, notices, forms ---------- */
.ap-page { padding: 24px 0 72px; }
.ap-page__title { font-size: clamp(36px, 5vw, 52px); margin: 8px 0 20px; }
.ap-page .ap-prose { max-width: 760px; }
.ap-page--wide .ap-page__content { max-width: none; }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { list-style: none; margin: 0 0 16px !important; padding: 14px 18px !important; border-radius: 14px !important; border: 0 !important; background: var(--ap-butter) !important; color: var(--ap-cocoa) !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 500; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error, .wc-block-components-notice-banner.is-error { background: #FDECEA !important; color: var(--ap-danger) !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; }

.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; font-weight: 600; margin-bottom: 6px; }
.woocommerce form .form-row .required { color: var(--ap-chilli); text-decoration: none; }
/* Classic forms only (My account, sign-in, reviews); the block checkout styles its own inputs. */
.woocommerce form input.input-text, .woocommerce form textarea, .woocommerce form select, .comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"] { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--ap-line-2); border-radius: 12px; background: var(--ap-paper); font-size: 16px; }
.woocommerce form input.input-text:focus, .woocommerce form textarea:focus { border-color: var(--ap-mango); outline: none; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .comment-form .submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--ap-chilli); color: #fff !important; font-weight: 700; text-decoration: none; cursor: pointer; }
.woocommerce .button:hover { background: #AE3A0A; }
.woocommerce .button.alt { background: var(--ap-cocoa); }

/* My account */
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 240px 1fr; gap: 40px; align-items: start; } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-wrap: wrap; gap: 4px; background: var(--ap-paper); border: 1px solid var(--ap-line); border-radius: 18px; }
@media (min-width: 900px) { .woocommerce-MyAccount-navigation ul { flex-direction: column; } }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ap-cocoa); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ap-cocoa); color: var(--ap-butter); }
.woocommerce-MyAccount-navigation a:hover { background: var(--ap-butter); }
.woocommerce-MyAccount-navigation .is-active a:hover { background: var(--ap-cocoa); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce table.shop_table, .woocommerce-MyAccount-content table { width: 100%; border-collapse: collapse; background: var(--ap-paper); border: 1px solid var(--ap-line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--ap-line); text-align: left; }
.woocommerce table.shop_table th { background: var(--ap-butter); font-weight: 700; }
#customer_login { display: grid; gap: 24px; }
@media (min-width: 900px) { #customer_login { grid-template-columns: 1fr 1fr; } }
#customer_login > div { background: var(--ap-paper); border: 1px solid var(--ap-line); border-radius: 22px; padding: 24px; }
#customer_login h2 { font-family: var(--ap-serif); font-weight: 400; font-size: 28px; }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--ap-muted); }

/* Block cart & checkout */
.wc-block-cart, .wc-block-checkout { font-family: var(--ap-sans); }
.wp-block-woocommerce-cart.alignwide, .wp-block-woocommerce-checkout.alignwide { margin: 0; max-width: none; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--ap-chilli) !important; color: #fff !important; border-radius: 14px !important; min-height: 54px; font-weight: 700 !important; border: 0 !important; box-shadow: 0 5px 0 var(--ap-chilli-deep); }
.wc-block-components-button:not(.is-link):hover { background: #AE3A0A !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .wc-block-components-textarea { border-radius: 12px !important; border-color: var(--ap-line-2) !important; background: var(--ap-paper) !important; }
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--ap-mango) !important; box-shadow: none !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar, .wp-block-woocommerce-checkout-order-summary-block { background: var(--ap-paper); border-radius: 22px; }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary { border-color: var(--ap-line) !important; }
.wc-block-components-product-name { color: var(--ap-cocoa) !important; font-weight: 700; text-decoration: none !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--ap-cocoa) !important; border-radius: 14px; }
.wc-block-components-title.wc-block-components-title { font-family: var(--ap-serif); font-weight: 400; }
.wc-block-cart-items__header, .wc-block-components-checkout-step__heading { color: var(--ap-cocoa); }
.wc-block-components-formatted-money-amount { font-weight: 700; }
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { color: var(--ap-chilli); }

/* Franchise plugin (midind-franchise) bar and storefront, re-skinned */
.mf-bar { background: var(--ap-butter) !important; border-bottom: 1px solid var(--ap-line) !important; color: var(--ap-cocoa) !important; }
.mf-store { max-width: 1280px !important; padding: 0 var(--ap-gutter) 4rem !important; }
.mf-hero { background: var(--ap-sun) !important; border-radius: 32px !important; }
.mf-section h2 { font-family: var(--ap-serif); font-weight: 400; font-size: 32px !important; }
.mf-btn { background: var(--ap-chilli) !important; color: #fff !important; border-radius: 14px !important; }
.mf-cats ul.products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mf-cats li.product-category a { display: block; text-align: center; color: var(--ap-cocoa); text-decoration: none; font-weight: 700; }
.mf-cats li.product-category img { border-radius: 20px; background: var(--ap-butter); }

/* WooCommerce "demo store" notice (staging) */
.woocommerce-store-notice, p.demo_store { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; margin: 0; padding: 10px 16px; background: var(--ap-chilli); color: #fff; text-align: center; font-size: 14px; font-weight: 600; }
.woocommerce-store-notice a { color: #fff; text-decoration: underline; margin-left: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Sign-in page: one narrow column when there's no registration form beside it */
.woocommerce-account:not(.logged-in) .woocommerce { max-width: 520px; }
.woocommerce-account:not(.logged-in) .woocommerce:has(#customer_login) { max-width: none; }
.woocommerce-form-login { background: var(--ap-paper); border: 1px solid var(--ap-line); border-radius: 22px; padding: 24px; }
.woocommerce-form-login .password-input { display: block; position: relative; }
.woocommerce-form-login .show-password-input { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; }
.woocommerce-form-login .show-password-input::after { content: "👁"; font-size: 16px; opacity: .6; }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 14px; }
