/* Home & Garden — the three shopping pages: category listing, product page, cart.
   Every colour is a theme token from shop.css (docs/THEME.md); no literal hex here, so the
   palette swap that U2 makes lands on these pages with no edit. Loaded after the bundle on
   purpose: it overrides the pet-era .pcat-* / .pd-* / cart rules, which stay in the bundle
   for the books portal and are not worth untangling. */

/* ── shared ───────────────────────────────────────────────────────────────── */
body:not(.books) .hg-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-muted); font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
body:not(.books) .hg-kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* ── decor product card (macros.decor_card) — 4:5 art, no stars, no laurel ─── */
body:not(.books) .dcard {
  display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--court-line); border-radius: 12px; overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
body:not(.books) .dcard:hover { box-shadow: 0 18px 40px -30px var(--court-deep); transform: translateY(-2px); }
body:not(.books) .dcard__media {
  position: relative; display: block; aspect-ratio: 4 / 5; background: var(--court); overflow: hidden;
}
body:not(.books) .dcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
body:not(.books) .dcard__media img.is-placeholder { object-fit: contain; padding: 22%; }
body:not(.books) .dcard__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 9px; border-radius: 999px; background: var(--highlight); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
body:not(.books) .dcard__badge--sale { background: var(--accent); color: #fff; }
body:not(.books) .dcard .card-wish-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--court-line); background: #fff; color: var(--ink-muted);
  display: grid; place-items: center; cursor: pointer;
}
body:not(.books) .dcard .card-wish-btn.wish-active { color: var(--accent); border-color: var(--accent-line); }
body:not(.books) .dcard__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 12px 14px 14px; }
body:not(.books) .dcard__cat { font-size: 11px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:not(.books) .dcard__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; min-height: 2.7em;
}
body:not(.books) .dcard__name:hover { color: var(--accent); }
body:not(.books) .dcard__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
body:not(.books) .dcard__price strong { font-size: 16px; font-weight: 800; color: var(--ink); }
body:not(.books) .dcard__price s { font-size: 12px; color: var(--ink-muted); }
body:not(.books) .dcard__add {
  width: 100%; min-height: 40px; margin-top: 6px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  border: 1.5px solid var(--accent); background: #fff; color: var(--accent);
  font: 600 13px/1 Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .15s, color .15s;
}
body:not(.books) .dcard__add:hover { background: var(--accent); color: #fff; }
body:not(.books) .dcard__oos {
  width: 100%; min-height: 40px; margin-top: 6px; border-radius: 8px;
  border: 1.5px solid var(--court-line); background: var(--court); color: var(--ink-muted);
  font: 600 12.5px/1 Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center;
}

/* ── category page ────────────────────────────────────────────────────────── */
body:not(.books) .hg-cat-head { padding: 26px 0 8px; }
body:not(.books) .hg-cat-head .container { max-width: 1240px; }
body:not(.books) .hg-cat-head__row { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: end; }
body:not(.books) .hg-cat-head h1 {
  margin: 10px 0 8px; font: 700 clamp(28px, 3.4vw, 40px)/1.08 Fraunces, Georgia, serif; letter-spacing: -.01em; color: var(--primary);
}
body:not(.books) .hg-cat-head p { max-width: 640px; margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
body:not(.books) .hg-cat-head__guide { margin-top: 10px; }
body:not(.books) .hg-cat-head__guide a { color: var(--primary); font-weight: 600; text-decoration: none; }
body:not(.books) .hg-cat-head__guide a:hover { color: var(--accent); }
body:not(.books) .hg-cat-head__count { margin-top: 12px; color: var(--ink-muted); font-size: 13px; }
body:not(.books) .hg-cat-head__count strong { color: var(--ink); font-size: 22px; font-weight: 800; margin-right: 4px; }
body:not(.books) .hg-cat-head__media { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--court); border: 1px solid var(--court-line); }
body:not(.books) .hg-cat-head__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* subcategory chips — the one row that replaces the pet shop's card grid */
body:not(.books) .hg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
body:not(.books) .hg-chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--court-line); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s;
}
body:not(.books) .hg-chips a small { color: var(--ink-muted); font-weight: 500; }
body:not(.books) .hg-chips a:hover { border-color: var(--primary); }
body:not(.books) .hg-chips a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }
body:not(.books) .hg-chips a[aria-current="page"] small { color: #fff; opacity: .8; }

/* listing: the engine's toolbar/filters/grid, restyled on tokens */
body:not(.books) .cat-products { padding: 22px 0 48px !important; }
body:not(.books) .cat-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 0 14px; border-bottom: 1px solid var(--court-line); margin-bottom: 18px;
}
body:not(.books) .cat-toolbar strong { color: var(--ink); font-size: 16px; }
body:not(.books) .cat-toolbar span, body:not(.books) .cat-toolbar-count { color: var(--ink-muted); font-size: 13px; }
body:not(.books) .sort-btn, body:not(.books) .ss-item {
  min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--court-line); background: #fff;
  color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
body:not(.books) .sort-btn.active, body:not(.books) .ss-item.ss-active { background: var(--primary); border-color: var(--primary); color: #fff; }

body:not(.books) .cat-products .cat-filters {
  width: 250px; background: #fff; border: 1px solid var(--court-line); border-radius: 12px; padding: 16px 16px 8px;
}
body:not(.books) .cf-head strong { color: var(--ink); font-size: 14px; }
body:not(.books) .cf-head small { color: var(--ink-muted); }
body:not(.books) .cf-group { border-top: 1px solid var(--court-line); padding: 12px 0; }
body:not(.books) .cf-title, body:not(.books) .cf-group > strong, body:not(.books) .cf-label {
  color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
body:not(.books) .cf-check { color: var(--ink); font-size: 13px; }
body:not(.books) .cf-check .cf-cnt, body:not(.books) .cf-check small { color: var(--ink-muted); }
body:not(.books) .cf-check input { accent-color: var(--accent); }
body:not(.books) .cf-price input, body:not(.books) .cf-range input {
  border: 1px solid var(--court-line); border-radius: 8px; background: #fff; color: var(--ink);
}
body:not(.books) .cf-apply, body:not(.books) .cat-filters button[type="submit"] {
  background: var(--primary); color: #fff; border: 0; border-radius: 8px; min-height: 40px; font-weight: 700;
}
body:not(.books) .cf-reset, body:not(.books) .cf-clear { color: var(--ink-muted); }
body:not(.books) .cf-choice.is-active { border-color: var(--accent); background: var(--accent-soft); }

body:not(.books) .cat-grid, body:not(.books) .products-grid, body:not(.books) #catalog-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 1100px) { body:not(.books) .cat-grid, body:not(.books) .products-grid, body:not(.books) #catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  body:not(.books) .hg-cat-head { padding-top: 14px; }
  body:not(.books) .hg-cat-head__row { grid-template-columns: 1fr; gap: 14px; }
  body:not(.books) .hg-cat-head__media { display: none; }
  body:not(.books) .hg-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  body:not(.books) .hg-chips a { flex: 0 0 auto; min-height: 44px; }
  body:not(.books) .cat-grid, body:not(.books) .products-grid, body:not(.books) #catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body:not(.books) .dcard__body { padding: 10px 10px 12px; }
  body:not(.books) .dcard__add, body:not(.books) .dcard__oos { min-height: 44px; }
}

/* ── product page ─────────────────────────────────────────────────────────── */
body:not(.books) .pd-section { padding: 22px 0 40px; }
/* Two equal columns, as on zoolia.pl. 7:5 with a 4:5 photo made the photo 956x1195 at
   1900px - taller than the screen, the price and the button pushed below it. */
body:not(.books) .pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
body:not(.books) .pd-main-wrap, body:not(.books) .pd-cover-box {
  background: var(--court); border: 1px solid var(--court-line); border-radius: 14px; overflow: hidden;
}
/* Square, and never taller than what is left of the window under the header. */
body:not(.books) .pd-main-img { aspect-ratio: 1 / 1 !important; max-height: calc(100vh - 220px); object-fit: contain; background: var(--court); transform: none !important; }
body:not(.books) .pd-no-img { aspect-ratio: 4 / 5; display: grid; place-items: center; }
body:not(.books) .pd-no-img svg { stroke: var(--ink-faint); }
body:not(.books) .pd-thumbs img { border: 1px solid var(--court-line); border-radius: 8px; background: var(--court); }
body:not(.books) .pd-thumbs img.active, body:not(.books) .pd-thumbs img:hover { border-color: var(--primary); }

body:not(.books) .pd-title {
  font: 700 clamp(24px, 2.6vw, 32px)/1.15 Fraunces, Georgia, serif; letter-spacing: -.01em; color: var(--primary); margin: 6px 0 10px;
}
body:not(.books) .pd-brand-line, body:not(.books) .pd-meta-line { color: var(--ink-muted); font-size: 13px; }
body:not(.books) .pd-price-block { margin: 10px 0 16px; }
body:not(.books) .pd-lead { margin: 4px 0 12px; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
body:not(.books) .pd-price { font-size: 30px; font-weight: 800; color: var(--ink); }
body:not(.books) .pd-old-price, body:not(.books) .pd-compare { color: var(--ink-muted); font-size: 15px; text-decoration: line-through; }
body:not(.books) .pd-discount-pill { background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
body:not(.books) .pd-stock { color: var(--ok); font-weight: 600; font-size: 13px; }
body:not(.books) .pd-stock--out { color: var(--danger); }

/* variants (size / frame) */
body:not(.books) .pd-variant { margin: 0 0 12px; }
body:not(.books) .pd-variant-label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
body:not(.books) .pd-variant-opt, body:not(.books) .pd-variant-options button, body:not(.books) .pd-variant-options label {
  min-height: 40px; padding: 0 14px; margin: 0 6px 6px 0; border-radius: 8px; border: 1px solid var(--court-line); background: #fff;
  color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer;
}
body:not(.books) .pd-variant-opt.active, body:not(.books) .pd-variant-opt[aria-pressed="true"], body:not(.books) .pd-variant-options .is-active {
  border-color: var(--primary); background: var(--primary); color: #fff;
}
body:not(.books) .pd-variant-opt.is-oos, body:not(.books) .pd-variant-opt:disabled { color: var(--ink-faint); text-decoration: line-through; cursor: not-allowed; }

body:not(.books) .pd-actions { display: flex; gap: 10px; align-items: stretch; margin: 16px 0 12px; }
body:not(.books) .pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--court-line); border-radius: 10px; background: #fff; }
body:not(.books) .pd-qty button { width: 44px; height: 48px; border: 0; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
body:not(.books) .pd-qty input { width: 44px; height: 48px; border: 0; text-align: center; font-weight: 700; color: var(--ink); background: transparent; }
body:not(.books) .pd-add-cart, body:not(.books) .btn-add-cart {
  flex: 1; min-height: 48px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--accent) !important; color: #fff !important; font: 700 14px/1 Inter, sans-serif; letter-spacing: .02em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transform: none !important; box-shadow: none !important;
}
body:not(.books) .pd-add-cart:hover, body:not(.books) .btn-add-cart:hover { background: color-mix(in srgb, var(--accent) 85%, #000) !important; }
body:not(.books) .pd-wishlist-btn {
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--court-line); background: #fff; color: var(--ink-muted); display: grid; place-items: center; cursor: pointer;
}
body:not(.books) .pd-wishlist-btn.wish-active { color: var(--accent); border-color: var(--accent-line); }

/* trust row under the button: shipping & returns, from the env-driven copy (U5) */
body:not(.books) .pd-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; }
body:not(.books) .pd-assure div { padding: 12px 14px; border: 1px solid var(--court-line); border-radius: 10px; background: var(--court); }
body:not(.books) .pd-assure strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
body:not(.books) .pd-assure span { color: var(--ink-muted); font-size: 12px; line-height: 1.45; }

/* details + shipping blocks below the fold */
body:not(.books) .pd-block { margin: 34px 0 0; padding-top: 26px; border-top: 1px solid var(--court-line); }
body:not(.books) .pd-block h2, body:not(.books) .pd-section-title {
  margin: 0 0 14px; font: 700 22px/1.2 Fraunces, Georgia, serif; color: var(--primary); letter-spacing: -.01em;
}
body:not(.books) .pd-specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
body:not(.books) .pd-specs-table th, body:not(.books) .pd-specs-table td { padding: 10px 12px; border-bottom: 1px solid var(--court-line); text-align: left; vertical-align: top; }
body:not(.books) .pd-specs-table th { width: 38%; color: var(--ink-muted); font-weight: 600; }
body:not(.books) .pd-specs-table td { color: var(--ink); }
body:not(.books) .pd-description, body:not(.books) .pd-block p { color: var(--ink); font-size: 15px; line-height: 1.65; }
body:not(.books) .pd-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 900px) { body:not(.books) .pd-grid { grid-template-columns: 1fr; gap: 22px; } body:not(.books) .pd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 768px) {
  body:not(.books) .pd-section { padding-top: 10px; }
  body:not(.books) .pd-assure { grid-template-columns: 1fr; }
  /* qty + button stay on one line at 390; the label must not wrap mid-word */
  body:not(.books) .pd-actions { flex-wrap: nowrap; }
  body:not(.books) .pd-add-cart, body:not(.books) .btn-add-cart { flex: 1 1 auto; min-width: 0; white-space: nowrap; font-size: 13px; padding: 0 12px; }
  body:not(.books) .pd-qty button { width: 38px; }
  body:not(.books) .pd-qty input { width: 36px; }
  /* on a phone the template turns the sidebar into a full-screen sheet (inset:0); do not pin its width */
  body:not(.books) .cat-products .cat-filters.cf-open { width: auto; }
}

/* ── cart ─────────────────────────────────────────────────────────────────── */
body:not(.books) .cart-page { padding: 22px 0 48px; }
body:not(.books) .cart-page .container { max-width: 1240px; }
body:not(.books) .cart-page h1 { font: 700 clamp(26px, 3vw, 34px)/1.1 Fraunces, Georgia, serif; color: var(--primary); margin: 0; }
body:not(.books) .cart-page h1 small, body:not(.books) #cart-items-count { color: var(--ink-muted); font: 600 14px/1 Inter, sans-serif; margin-left: 8px; }
body:not(.books) .cart-continue-link { color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }
body:not(.books) .cart-continue-link:hover { color: var(--accent); }

body:not(.books) #cart-layout { grid-template-columns: minmax(0, 1fr) 380px !important; }
body:not(.books) .cart-item-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 16px; background: #fff; border: 1px solid var(--court-line); border-radius: 12px;
}
body:not(.books) .cart-item-img { width: 96px; height: 120px; object-fit: cover; border-radius: 8px; background: var(--court); display: block; }
body:not(.books) .cart-item-card a { color: var(--ink); }
body:not(.books) .cart-remove-btn { width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink-muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
body:not(.books) .cart-remove-btn:hover { color: var(--danger); background: var(--court); }
body:not(.books) .cart-qty-wrap { display: inline-flex; align-items: center; border: 1px solid var(--court-line); border-radius: 10px; background: #fff; }
body:not(.books) .cart-qty-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
body:not(.books) .cart-qty-wrap input { width: 44px; height: 40px; border: 0; text-align: center; font-weight: 700; color: var(--ink); background: transparent; }
body:not(.books) .cart-line-unit { color: var(--ink-muted) !important; }
body:not(.books) .cart-line-total { color: var(--ink) !important; font-size: 17px !important; }

body:not(.books) #cart-sidebar > div, body:not(.books) .cart-summary-card {
  background: #fff; border: 1px solid var(--court-line); border-radius: 12px;
}
body:not(.books) .cart-summary-title { font: 700 18px/1.2 Fraunces, Georgia, serif; color: var(--primary); }
body:not(.books) .cart-summary-row { display: flex; justify-content: space-between; color: var(--ink-muted); font-size: 14px; padding: 6px 0; }
body:not(.books) .cart-summary-row strong { color: var(--ink); }
body:not(.books) .cart-summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--court-line); }
body:not(.books) .cart-summary-total span { color: var(--ink); font-weight: 700; }
body:not(.books) #cart-total { color: var(--ink) !important; font-size: 26px !important; font-weight: 800; }
body:not(.books) .cart-checkout-btn, body:not(.books) #cart-checkout-btn, body:not(.books) .btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 14px;
  border-radius: 10px; border: 0; background: var(--accent) !important; color: #fff !important; font: 700 15px/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
}
body:not(.books) .cart-shipping-note { margin-top: 10px; color: var(--ink-muted); font-size: 12.5px; text-align: center; }
body:not(.books) .cart-trust { list-style: none; margin: 0; padding: 16px; display: grid; gap: 12px; }
body:not(.books) .cart-trust li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
body:not(.books) .cart-trust svg { color: var(--ok); }
body:not(.books) .cart-trust strong { display: block; color: var(--ink); font-size: 13px; }
body:not(.books) .cart-trust span { color: var(--ink-muted); font-size: 12px; }
body:not(.books) .cart-empty-state { color: var(--ink-muted); }
body:not(.books) .cart-empty-state a.btn, body:not(.books) .cart-empty-state .cart-continue-link { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 10px; background: var(--primary); color: #fff; }

@media (max-width: 900px) {
  body:not(.books) #cart-layout { grid-template-columns: 1fr !important; }
  body:not(.books) #cart-sidebar { position: static !important; }
}
@media (max-width: 768px) {
  body:not(.books) .cart-item-card { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
  body:not(.books) .cart-item-img { width: 76px; height: 95px; }
  body:not(.books) .cart-qty-btn { width: 44px; height: 44px; }
  body:not(.books) .cart-qty-wrap input { height: 44px; }
}


/* ── breadcrumbs shared by the three pages ────────────────────────────────── */
body:not(.books) .hg-crumbs { background: #fff; border-bottom: 1px solid var(--court-line); padding: 10px 0; }
body:not(.books) .hg-crumbs .container { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); max-width: 1240px; }
body:not(.books) .hg-crumbs a { color: var(--primary); text-decoration: none; font-weight: 500; }
body:not(.books) .hg-crumbs a:hover { color: var(--accent); }
body:not(.books) .hg-crumbs span:last-child { color: var(--ink); font-weight: 600; }

/* ── cart: the pieces the markup rewrite introduced ───────────────────────── */
body:not(.books) .cart-state { text-align: center; padding: 56px 0; }
body:not(.books) .cart-state p { color: var(--ink-muted); font-size: 15px; }
body:not(.books) .cart-spinner { width: 36px; height: 36px; margin: 0 auto 14px; border: 3px solid var(--court-line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
body:not(.books) .cart-empty-state { max-width: 520px; margin: 0 auto; }
body:not(.books) .cart-empty-mark { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--court); border: 1px solid var(--court-line); display: grid; place-items: center; color: var(--ink-muted); }
body:not(.books) .cart-empty-state h1 { font: 700 26px/1.15 Fraunces, Georgia, serif; color: var(--primary); margin: 0 0 8px; }
body:not(.books) .cart-continue-link--btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; margin-top: 18px; border-radius: 10px; background: var(--primary); color: #fff !important; font-weight: 700; }
body:not(.books) .cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
body:not(.books) .cart-head .cart-continue-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
body:not(.books) #cart-layout { display: grid; gap: 28px; align-items: start; }
body:not(.books) #cart-sidebar { position: sticky; top: 80px; display: grid; gap: 12px; }
body:not(.books) .cart-lines { display: flex; flex-direction: column; gap: 12px; }
body:not(.books) .cart-reward { margin-bottom: 14px; padding: 14px 16px; border: 1px solid var(--court-line); border-radius: 12px; background: #fff; }
body:not(.books) #reward-bar-msg, body:not(.books) #sticky-reward-msg { color: var(--ink); font-size: 13.5px; line-height: 1.4; margin-bottom: 10px; }
body:not(.books) .cart-reward__track { position: relative; height: 6px; border-radius: 99px; background: var(--court-line); overflow: hidden; }
body:not(.books) .cart-reward__fill { height: 100%; background: var(--ok); border-radius: 99px; transition: width .5s ease; }
body:not(.books) .cart-reward__ticks { position: absolute; inset: 0; pointer-events: none; }
body:not(.books) .cart-promo { margin-top: 14px; background: #fff; border: 1px solid var(--court-line); border-radius: 12px; }
body:not(.books) .cart-promo summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; cursor: pointer; list-style: none; color: var(--ink); font-size: 14px; font-weight: 600; }
body:not(.books) .cart-promo summary svg:first-child { color: var(--accent); }
body:not(.books) .cart-promo__chev { margin-left: auto; color: var(--ink-muted); transition: transform .2s; }
body:not(.books) .cart-promo[open] .cart-promo__chev { transform: rotate(180deg); }
body:not(.books) .cart-promo__body { padding: 0 16px 16px; }
body:not(.books) .cart-promo__row { display: flex; gap: 8px; }
body:not(.books) .cart-promo__row input { flex: 1; min-height: 44px; padding: 0 14px; border: 1px solid var(--court-line); border-radius: 10px; font-size: 15px; text-transform: uppercase; color: var(--ink); }
body:not(.books) .cart-promo__row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
body:not(.books) .cart-promo__row button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; cursor: pointer; }
body:not(.books) .cart-promo__result { margin-top: 8px; font-size: 13px; color: var(--ink-muted); }
body:not(.books) .cart-summary-card { padding: 18px 20px; }
body:not(.books) .cart-summary-title { margin: 0 0 10px; }
body:not(.books) .cart-summary-row--saving, body:not(.books) .cart-summary-row--saving strong { color: var(--ok); }
body:not(.books) .cart-note { margin: 12px 0 0; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--court-line); background: var(--court); color: var(--ink); font-size: 13px; line-height: 1.45; }
body:not(.books) .cart-note--warn { border-color: var(--danger); color: var(--danger); background: #fff; }
body:not(.books) .cart-note--attn { border-color: var(--accent-line); background: var(--accent-soft); color: var(--ink); }
body:not(.books) .cart-trust { padding: 16px 18px; }
body:not(.books) .cart-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; background: #fff; border-top: 1px solid var(--court-line); box-shadow: 0 -8px 24px -18px var(--court-deep); padding-bottom: env(safe-area-inset-bottom); }
body:not(.books) .cart-sticky__reward { padding: 8px 16px 6px; border-bottom: 1px solid var(--court-line); }
body:not(.books) .cart-sticky__reward #sticky-reward-msg { font-size: 12px; margin-bottom: 6px; }
body:not(.books) .cart-sticky__row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
body:not(.books) .cart-sticky__total { flex: 1; min-width: 0; }
body:not(.books) .cart-sticky__total small { display: block; color: var(--ink-muted); font-size: 11px; }
body:not(.books) #sticky-total { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.1; }
body:not(.books) .cart-sticky .cart-checkout-btn { width: auto; margin: 0; padding: 0 22px; min-height: 48px; }

/* ── product: FAQ + shipping columns (decor details) ──────────────────────── */
body:not(.books) .pd-faq { border-top: 1px solid var(--court-line); }
body:not(.books) .pd-faq:last-of-type { border-bottom: 1px solid var(--court-line); }
body:not(.books) .pd-faq summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; list-style: none; color: var(--ink); font-size: 15px; font-weight: 600; }
body:not(.books) .pd-faq summary::after { content: "+"; margin-left: auto; color: var(--ink-muted); font-size: 20px; }
body:not(.books) .pd-faq[open] summary::after { content: "\2212"; }
body:not(.books) .pd-faq p { margin: 0 0 14px; color: var(--ink); font-size: 14.5px; line-height: 1.6; }
body:not(.books) .pd-shipping-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body:not(.books) .pd-shipping-cols h3 { margin: 0 0 6px; color: var(--ink); font-size: 15px; font-weight: 700; }
body:not(.books) .pd-shipping-cols p { margin: 0; font-size: 14px; }
body:not(.books) .pd-shipping-cols a { color: var(--primary); font-weight: 600; }
@media (max-width: 768px) { body:not(.books) .pd-shipping-cols { grid-template-columns: 1fr; } }
