

.store-body { background: var(--color-bg); }

.store-search { background: var(--color-bg); padding: 104px 0 8px; }
@media (max-width: 640px) { .store-search { padding-top: 86px; } }
.store-search__box {
  display: flex; align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 4px 4px 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.store-search__box:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(224,164,74,.12);
}
.store-search__box input {
  flex: 1; min-width: 0; height: 44px;
  border: none; background: transparent; outline: none;
  font: inherit; font-size: 15px; color: var(--color-text);
}
.store-search__box input::placeholder { color: var(--color-text-faint); }
.store-search__btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  border: none; cursor: pointer;
  color: var(--color-on-primary);
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
  transition: filter var(--transition);
}
.store-search__btn:hover { filter: brightness(1.06); }
.store-search__btn svg { width: 20px; height: 20px; }

/* Search is hidden ($SHOW_SEARCH in store.php) but the page still needs the
   room it used to take, otherwise the hero slides up under the fixed navbar.
   54px = the search box's own height (46px control + 4px padding each side). */
.store-search--ghost::before { content: ""; display: block; height: 54px; }

.store-hero2 { padding: 8px 0 6px; }
.store-carousel { position: relative; }
.store-carousel__viewport { overflow: hidden; border-radius: calc(var(--radius) + 4px); }
.store-carousel__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
@media (prefers-reduced-motion: reduce) { .store-carousel__track { transition: none; } }

.store-slide {
  flex: 0 0 100%;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: 20px;
  min-height: 340px;
  padding: 40px 48px;
  color: #2a2016;
  background:
    radial-gradient(120% 140% at 90% 10%, rgba(224,164,74,.14), transparent 45%),
    linear-gradient(135deg, #f6f1e7 0%, #ece2d0 100%);
}
.store-slide__eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-primary-strong);
}
.store-slide__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.02; letter-spacing: .5px;
  color: #241a10;
}
.store-slide__sub {
  margin: 14px 0 22px; max-width: 40ch;
  font-size: 16px; line-height: 1.55; color: #6a5c46;
}
.store-slide__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  color: #fff; background: #201811;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  transition: transform var(--transition), background var(--transition);
}
.store-slide__cta:hover { transform: translateY(-2px); background: #2c2115; }

.store-slide__art { display: grid; place-items: center; }
.store-slide__svg { width: 100%; max-width: 360px; height: auto; color: #2a2016; }
.store-slide__svg .brush { fill: var(--color-primary); opacity: .92; }
.store-slide__svg .notecurve { stroke: #c7b085; stroke-width: 2; opacity: .5; }
.store-slide__svg .flownotes text { fill: #241a10; }
.store-slide__svg .box, .store-slide__svg .helmet { fill: var(--color-primary); }
.store-slide__svg--disc { max-width: 260px; }
.store-slide__svg .disc { fill: rgba(224,164,74,.20); }

.store-slide__svg--gift .giftlid {
  transform-box: fill-box;
  transform-origin: 0% 100%;
  animation: giftOpen 6s ease-in-out infinite;
}
@keyframes giftOpen {
  0%   { transform: rotate(0deg)   translateY(0); }
  25%  { transform: rotate(-24deg) translateY(-10px); }
  75%  { transform: rotate(-24deg) translateY(-10px); }
  92%  { transform: rotate(0deg)   translateY(0); }
  100% { transform: rotate(0deg)   translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .store-slide__svg--gift .giftlid { animation: none; }
}

.store-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: #241a10;
  border: 1px solid rgba(0,0,0,.08); cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: background var(--transition), transform var(--transition);
}
.store-carousel__arrow:hover { background: #fff; }
.store-carousel__arrow svg { width: 22px; height: 22px; }
.store-carousel__arrow--prev { inset-inline-start: 14px; }
.store-carousel__arrow--next { inset-inline-end: 14px; }
[dir="rtl"] .store-carousel__arrow svg { transform: scaleX(-1); }

.store-carousel__dots {
  position: absolute; inset-inline-start: 48px; bottom: 22px; z-index: 3;
  display: flex; gap: 8px;
  background: rgba(255,255,255,.85); padding: 8px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}
.store-carousel__dot {
  width: 9px; height: 9px; border-radius: 999px; padding: 0;
  border: none; cursor: pointer; background: #c9bda6;
  transition: width var(--transition), background var(--transition);
}
.store-carousel__dot.is-active { width: 24px; background: #201811; }

@media (max-width: 720px) {
  .store-slide {
    grid-template-columns: 1fr; text-align: center;
    min-height: 0; padding: 30px 22px 60px;
  }
  .store-slide__art { order: -1; }
  .store-slide__svg { max-width: 230px; }
  .store-slide__sub { margin-inline: auto; }
  .store-carousel__dots { inset-inline-start: 50%; transform: translateX(-50%); }
  [dir="rtl"] .store-carousel__dots { transform: translateX(50%); }
  .store-carousel__arrow { width: 38px; height: 38px; }
}

.store-services { padding: 10px 0 6px; }

.store-services__viewport { overflow: hidden; }
.store-services__track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.store-services__track > .store-service { flex: 0 0 50%; }

@media (prefers-reduced-motion: reduce) {
  .store-services__track { flex-wrap: wrap; transform: none !important; transition: none; }
  .store-services__track > .store-service { flex: 0 0 33.333%; }
}
.store-service {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px;
  padding: 22px 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.store-service:hover {
  transform: translateY(-4px);
  border-color: var(--color-border);
  background: var(--color-surface);
}
.store-service__icon {
  display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  color: var(--color-primary-strong);
  background: var(--color-surface);
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 0 0 5px rgba(224,164,74,.08);
  transition: background var(--transition), color var(--transition);
}
.store-service:hover .store-service__icon {
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
  color: var(--color-on-primary);
}
.store-service__icon svg { width: 28px; height: 28px; }
.store-service__title {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--color-text); line-height: 1.2;
}
.store-service__sub { font-size: 13px; color: var(--color-text-muted); }

@media (max-width: 560px) {
  .store-service { padding: 16px 8px; }
  .store-service__icon { width: 54px; height: 54px; }
}

.store-cats2 { padding: 34px 0 8px; }
.store-secthead--left { text-align: start; }
.store-secthead--left::before { margin-inline: 0 auto; }
.store-secthead--left h2 { letter-spacing: .5px; text-transform: uppercase; }
.store-cats2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 44px; row-gap: 0;
}
.store-cat2 {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 6px;
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition);
}
.store-cat2:hover { border-color: var(--color-primary); }
.store-cat2__thumb {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border: 1px solid var(--color-border); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.store-cat2__thumb--icon {
  display: grid; place-items: center;
  background: linear-gradient(150deg, #f7f1e6 0%, #ece1cb 100%);
  color: #7a6647;
}
.store-cat2__thumb--icon svg { width: 32px; height: 32px; }
.store-cat2:hover .store-cat2__thumb { transform: translateY(-2px); border-color: var(--color-primary); }
.store-cat2__label {
  font-size: 16px; font-weight: 600; color: var(--color-text);
  transition: color var(--transition);
}
.store-cat2:hover .store-cat2__label { color: var(--color-primary-strong); }

@media (max-width: 900px) { .store-cats2__grid { grid-template-columns: repeat(2, 1fr); column-gap: 28px; } }
@media (max-width: 480px) { .store-cats2__grid { grid-template-columns: 1fr; } }

.cat-page { padding-top: 104px; padding-bottom: 20px; }
.store-cats a.store-cat, .store-cat2 { text-decoration: none; }
.cat-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 0 14px; }
.cat-crumbs a { color: var(--color-text-muted); }
.cat-crumbs a:hover { color: var(--color-primary-strong); }
.cat-crumbs__sep { color: var(--color-text-faint); }
.cat-crumbs__here { color: var(--color-primary-strong); font-weight: 600; }
.cat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 4px 0 20px;
}
.cat-head__title { font-family: var(--font-display); font-size: clamp(30px, 5vw, 48px); line-height: 1.05; }
.cat-head__blurb { margin-top: 8px; color: var(--color-text-muted); font-size: 16px; max-width: 60ch; }
.cat-head__photo {
  flex-shrink: 0; width: 120px; height: 120px; border-radius: var(--radius);
  background: #0b0805 center / cover no-repeat; border: 1px solid var(--color-border);
}
.cat-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 4px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border);
}
.cat-toolbar__count { font-size: 14px; color: var(--color-text-muted); }
.cat-toolbar__count strong { color: var(--color-text); font-size: 16px; }
.cat-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text-muted); }
.cat-sort select {
  font: inherit; font-size: 14px; color: var(--color-text);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
  transition: border-color var(--transition);
}
.cat-sort select:hover { border-color: var(--color-primary); }
.cat-empty {
  display: grid; place-items: center; gap: 16px; text-align: center;
  padding: 64px 0; color: var(--color-text-muted);
}
.cat-empty svg { width: 46px; height: 46px; color: var(--color-primary); opacity: .6; }

.store-cats {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 6px 0 34px;
}
.store-cat {
  min-height: 40px; padding: 8px 20px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--color-text-muted);
  background: transparent; border: 1px solid var(--color-border);
  cursor: pointer; transition: color .18s, border-color .18s, background .18s;
}
.store-cat:hover { color: var(--color-primary-strong); border-color: var(--color-primary); }
.store-cat.is-active {
  color: var(--color-on-primary);
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
  border-color: transparent;
}

.store-secthead { text-align: center; margin: 8px 0 26px; }
.store-secthead::before {
  content: ""; display: block; width: 42px; height: 3px; margin: 0 auto 16px;
  border-radius: 3px; background: var(--color-primary);
}
.store-secthead h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 36px); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #f7f1e6 0%, #ece1cb 100%);
  overflow: hidden;
}
.product-card__media svg {
  width: 46%; height: 46%;
  color: #7a6647;
  transition: transform var(--transition);
}
.product-card:hover .product-card__media svg { transform: scale(1.08) rotate(-2deg); }

.product-card__photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--transition);
}
.product-card:hover .product-card__photo { transform: scale(1.05); }
.product-card__badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  padding: 3px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--color-on-primary);
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
}
/* Out of stock. Neutral grey rather than the gold gradient, so it reads as a
   status rather than a promotion like the "New" badge it sits in place of. */
.product-card__badge--soldout {
  color: #fff;
  background: rgba(38, 30, 20, .88);
  border: 1px solid rgba(255, 255, 255, .22);
}
.product-card.is-soldout .product-card__photo,
.product-card.is-soldout .product-card__media > svg { opacity: .45; }
.product-card__cart:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .5;
}
/* The hover lift would otherwise still fire on a button that does nothing. */
.product-card__cart:disabled:hover { transform: none; filter: grayscale(1); }

.product-card__body { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px 18px; flex-grow: 1; }
.product-card__brand {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-primary-strong);
}
.product-card__name { font-size: 16.5px; font-weight: 600; color: var(--color-text); }
.product-card__desc {
  font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 6px;
}
.product-card__price {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--color-primary-strong); font-variant-numeric: tabular-nums;
}
.product-card__opts {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--color-text-faint);
}
.product-card__opts::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: conic-gradient(#e0a44a, #9fdca2, #e57a6c, #7aa8e5, #e0a44a);
}
.product-card__cart {
  margin-top: 14px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  color: var(--color-on-primary);
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
  border: none; transition: transform var(--transition), filter var(--transition);
}
.product-card__cart:hover { transform: translateY(-2px); filter: brightness(1.05); }
.product-card__cart:active { transform: translateY(0); }
.product-card__cart svg { width: 17px; height: 17px; }

.cart-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--color-text); border: 1px solid var(--color-border);
  background: transparent; cursor: pointer; transition: color .2s, border-color .2s;
}
.cart-btn:hover { color: var(--color-primary-strong); border-color: var(--color-primary); }
.cart-btn__count {
  position: absolute; top: -4px; inset-inline-end: -4px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; line-height: 1;
  color: var(--color-on-primary); background: var(--color-primary);
  transform: scale(0); transition: transform .2s var(--transition);
}
.cart-btn__count.is-shown { transform: scale(1); }

.store-toast {
  position: fixed; inset-inline: 0; bottom: 26px; margin: 0 auto; width: max-content; max-width: 90vw;
  z-index: 200; padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: var(--color-on-primary);
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.store-toast.is-shown { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  .store-hero__promo { grid-template-columns: 1fr; }
  .store-hero__promo__photo { min-height: 150px; order: -1; }
  .store-hero__promo__photo::before {
    background: linear-gradient(180deg, transparent 55%, var(--color-primary) 100%);
  }
}
@media (max-width: 640px) {
  .store-hero { min-height: 72vh; padding: 96px 0 96px; }
  .store-bridge { margin-top: -80px; }
  .store-hero__promo__text { padding: 22px 24px; }
  /* auto-FIT, not auto-fill. auto-fill keeps empty column tracks alive, so at
     430px this resolved to two 184px tracks and a catalogue with one product
     left the right-hand half of the row permanently blank — it read as a
     broken layout rather than a short list. auto-fit collapses the unused
     track so a lone card fills the row, while two or more still sit side by
     side exactly as before.

     The wider rule above deliberately keeps auto-fill: with a roomy container
     auto-fit would stretch a single card across the entire page width, which
     is worse than a normal-sized card with space beside it. */
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .product-card__body { padding: 13px 14px 15px; }
}

.cart-page, .checkout-page { padding-top: 104px; padding-bottom: 40px; }
.cart-page__title, .checkout-page__title {
  font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 42px); margin: 6px 0 24px;
}

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.cart-line {
  display: grid; grid-template-columns: 66px 1fr auto auto auto; align-items: center; gap: 16px;
  padding: 14px; border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-surface);
}
.cart-line__img {
  width: 66px; height: 66px; border-radius: 12px; flex-shrink: 0;
  background: center / cover no-repeat; border: 1px solid var(--color-border);
}
.cart-line__img--icon {
  display: grid; place-items: center; color: var(--color-primary-strong);
  background: linear-gradient(150deg, #f7f1e6 0%, #ece1cb 100%);
}
.cart-line__img--icon svg { width: 34px; height: 34px; }
.cart-line__brand { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary-strong); }
.cart-line__name { font-weight: 600; font-size: 15px; color: var(--color-text); }
.cart-line__unit { font-size: 13px; color: var(--color-text-muted); }
.cart-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.cart-line__qty button {
  width: 34px; height: 36px; border: none; background: transparent; cursor: pointer;
  font-size: 17px; color: var(--color-text); transition: background var(--transition);
}
.cart-line__qty button:hover { background: rgba(224,164,74,.14); color: var(--color-primary-strong); }
.cart-line__qty input {
  width: 40px; height: 36px; border: none; background: transparent; text-align: center;
  font: inherit; font-size: 14px; color: var(--color-text); outline: none;
  -moz-appearance: textfield; font-variant-numeric: tabular-nums;
}
.cart-line__total { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--color-primary-strong); font-variant-numeric: tabular-nums; min-width: 68px; text-align: end; }
.cart-line__remove { width: 32px; height: 32px; border: none; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; color: var(--color-text-faint); border-radius: 8px; transition: color var(--transition), background var(--transition); }
.cart-line__remove:hover { color: #d9534f; background: rgba(217,83,79,.1); }

.cart-summary, .checkout-summary {
  position: sticky; top: 96px;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-surface); padding: 22px;
}
.cart-summary__head, .checkout-summary__head { font-family: var(--font-display); font-size: 20px; margin-bottom: 16px; }
.cart-summary__row, .checkout-summary__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 0; font-size: 15px; color: var(--color-text);
}
.cart-summary__row strong, .checkout-summary__row strong { font-family: var(--font-display); font-size: 20px; color: var(--color-primary-strong); font-variant-numeric: tabular-nums; }
.cart-summary__row--muted, .checkout-summary__note { color: var(--color-text-muted); font-size: 13px; }
.cart-summary__cod { margin: 10px 0; font-size: 12px; color: var(--color-text-faint); }
.cart-summary__cta, .checkout-form__submit { width: 100%; margin-top: 12px; justify-content: center; }
.cart-summary__continue { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--color-text-muted); }
.cart-summary__continue:hover { color: var(--color-primary-strong); }

.cart-empty { display: grid; place-items: center; gap: 14px; text-align: center; padding: 60px 0; color: var(--color-text-muted); }
.cart-empty svg { width: 46px; height: 46px; color: var(--color-primary); opacity: .55; }

.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.checkout-form { border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); padding: 24px; }
.checkout-form__head { font-family: var(--font-display); font-size: 20px; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 12px;
  padding: 11px 14px; outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(224,164,74,.12); }
.field textarea { resize: vertical; }
.field__err { display: block; margin-top: 5px; font-size: 12px; color: #d9534f; min-height: 0; }
.checkout-alert { margin: 4px 0 14px; padding: 11px 14px; border-radius: 12px; font-size: 14px; color: #b02a26; background: rgba(217,83,79,.12); border: 1px solid rgba(217,83,79,.3); }
#turnstileHolder { margin: 6px 0 14px; }

.checkout-summary__line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 6px 0; font-size: 14px; border-bottom: 1px dashed var(--color-border); }
.checkout-summary__qty { color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.checkout-summary__name { color: var(--color-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-summary__amt { color: var(--color-primary-strong); font-variant-numeric: tabular-nums; }
.checkout-summary__row { margin-top: 12px; border-top: 1px solid var(--color-border); padding-top: 14px; }

.checkout-done { text-align: center; padding: 50px 20px; max-width: 520px; margin: 0 auto; }
.checkout-done__badge { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary)); }
.checkout-done h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 12px; }
.checkout-done p { color: var(--color-text-muted); margin-bottom: 8px; }
.checkout-done strong { color: var(--color-primary-strong); font-variant-numeric: tabular-nums; }
.checkout-done__note { font-size: 13px; margin-bottom: 20px; }

@media (max-width: 820px) {
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 54px 1fr auto; row-gap: 10px; }
  .cart-line__img { width: 54px; height: 54px; }
  .cart-line__qty { grid-column: 2; }
  .cart-line__total { grid-column: 3; }
  .cart-line__remove { grid-row: 1; grid-column: 3; justify-self: end; }
}

[hidden] { display: none !important; }

.product-card__media { text-decoration: none; }
.product-card__name a { color: inherit; text-decoration: none; transition: color var(--transition); }
.product-card__name a:hover { color: var(--color-primary-strong); }

.pdp { padding-top: 104px; padding-bottom: 40px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.pdp-gallery { position: sticky; top: 96px; }
.pdp-main {
  aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--color-border);
  background: linear-gradient(150deg, #f7f1e6 0%, #ece1cb 100%); color: #7a6647;
}
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-main svg { width: 42%; height: 42%; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb {
  width: 68px; height: 68px; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer;
  border: 1px solid var(--color-border); background: #f7f1e6; transition: border-color var(--transition);
}
.pdp-thumb:hover { border-color: var(--color-primary); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-title { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 36px); line-height: 1.15; }
.pdp-brand {
  margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-primary-strong);
}
.pdp-price {
  margin: 18px 0 14px; font-family: var(--font-display); font-size: 32px; font-weight: 700;
  color: var(--color-primary-strong); font-variant-numeric: tabular-nums;
}
.pdp-desc { color: var(--color-text-muted); line-height: 1.65; margin-bottom: 12px; }
.pdp-desc--long { font-size: 14px; }
.pdp-ship { font-size: 13px; color: var(--color-text-faint); margin: 6px 0 22px; padding-top: 14px; border-top: 1px solid var(--color-border); }

.pdp-colors { margin-bottom: 24px; }
.pdp-colors__label { display: block; font-size: 13px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 10px; }
.pdp-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-swatch {
  width: 30px; height: 30px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--sw, #b8801c); border: 2px solid var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border); transition: box-shadow var(--transition), transform var(--transition);
}
.pdp-swatch:hover { transform: translateY(-2px); }
.pdp-swatch.is-active { box-shadow: 0 0 0 2px var(--color-primary-strong); }

.pdp-buy { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.pdp-qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.pdp-qty button { width: 40px; height: 46px; border: none; background: transparent; cursor: pointer; font-size: 18px; color: var(--color-text); transition: background var(--transition); }
.pdp-qty button:hover { background: rgba(224,164,74,.14); color: var(--color-primary-strong); }
.pdp-qty input { width: 46px; height: 46px; border: none; background: transparent; text-align: center; font: inherit; font-size: 15px; color: var(--color-text); outline: none; font-variant-numeric: tabular-nums; }
.pdp-add { flex: 1; min-width: 180px; justify-content: center; height: 48px; font-size: 15px; }
.pdp-add:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.4); }
.pdp-sku { font-size: 13px; color: var(--color-text-faint); }
.pdp-sku span { color: var(--color-text-muted); font-variant-numeric: tabular-nums; }

@media (max-width: 820px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
}

/* Floating WhatsApp contact button — store pages only.
   The music toggle is fixed at right:18px / bottom:18px, 54px tall
   (see .music-toggle in style.css). This clears it: 18 + 54 + 12 gap = 84px. */
.store-wa {
  position: fixed;
  right: 18px;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;                 /* WhatsApp brand green */
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.store-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
}
.store-wa:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .store-wa { transition: none; }
  .store-wa:hover { transform: none; }
}

/* Same mobile-toolbar problem as .music-toggle — see the long comment beside
   it in style.css. This button sits one slot higher, so its offset is
   100svh - 84px gap - 54px button = 100svh - 138px. The two must stay in
   step: if one is anchored to svh and the other to `bottom`, they overlap
   as soon as the browser UI appears. */
@supports (height: 100svh) {
  .store-wa {
    top: calc(100svh - 138px - env(safe-area-inset-bottom, 0px));
    bottom: auto;
  }
}

/* --- Store search results mode ---------------------------------------
   While a query is active (body.store-searching, set by store.php JS),
   hide everything that is not a product result so the page reads as a
   real search. Restored the moment the field is cleared. */
body.store-searching .store-hero2,
body.store-searching .store-services,
body.store-searching .store-cats2,
body.store-searching #new { display: none; }

.store-noresults {
  text-align: center;
  padding: 40px 16px;
  color: var(--color-text-muted);
  font-size: 16px;
}
