/* Checkout / donation additions (kept separate from main.css). */
.sp-donation-block { margin-top: 18px; padding: 0; background: transparent; }
.sp-donation-block p { font-size: 12.5px; line-height: 1.5; color: #1a1a1a; margin: 0 0 6px; }
.sp-donation-block p:last-child { margin-bottom: 0; }
.sp-donation-block__lead { font-weight: 500; }
.sp-donation-block__heart { flex: 0 0 auto; margin-top: 2px; }
.sp-donation-block__thanks { color: #4a4a4a; }
.sp-checkout-donation { margin: 14px 0 6px; }
.sp-checkout-donation .sp-donation-block { margin-top: 0; padding: 0; max-width: 660px; }
.sp-checkout-donation .sp-donation-block p { margin-bottom: 4px; }
.sp-thankyou-donation { margin: 22px 0 28px; }
.sp-thankyou-donation .sp-donation-block { max-width: 640px; }

@media (max-width: 780px) {
  .sp-payment-icons,
  .sp-paybox .sp-payment-icons {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 0;
    max-width: 100%;
  }
  .sp-payment-icons__item { height: 32px; padding: 3px; }
  .cart-pay .sp-payment-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* promo bar rotator */
.promo-bar { position: relative; height: 50px; overflow: hidden; }
.promo-rotator { position: absolute; inset: 0; }
.promo-slide {
	position: absolute; inset: 0; margin: 0; padding: 6px 16px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
	text-align: center; opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.promo-slide.is-active { opacity: 1; pointer-events: auto; }
.promo-slide .promo-bar__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.promo-slide .promo-bar__sub, .promo-slide .promo-bar__line { font-size: 15px; line-height: 1.3; }
@media (max-width: 780px) {
	.promo-bar { height: 44px; }
	.promo-slide .promo-bar__title, .promo-slide .promo-bar__sub, .promo-slide .promo-bar__line { font-size: 12.5px; line-height: 1.25; }
}
/* mobile polish */
@media (max-width: 780px) {
  .plp__filter-toggle { width: auto; align-self: flex-start; height: 40px; padding: 0 18px; font-size: 14px; border-radius: 22px; }
  .plp__toolbar { gap: 14px; }
  .plp__hero { border-radius: 6px; }
  .rail__promo { display: none; }
  .rail__viewport { display: block; padding-left: 14px; padding-right: 14px; }
  .rail__track { padding-bottom: 2px; }
  .rail__track > .card { flex: 0 0 calc((100% - 14px) / 2.1); }
  .rail__scroll { margin-top: 10px; }
}
/* checkout: ship-to-different-address should read as a normal checkbox label */
#ship-to-different-address, .woocommerce-checkout #ship-to-different-address {
  font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; margin: 6px 0 14px;
}
#ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-transform: none; cursor: pointer; }
#ship-to-different-address input[type='checkbox'] { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; }
/* mobile: bigger tap targets + readable micro text */
@media (max-width: 780px) {
  .footer-col__list a { display: block; padding: 10px 0; font-size: 14px; }
  .footer-col__list li { border-bottom: 1px solid #1e1e1e; }
  .footer-legal li a { display: inline-block; padding: 7px 0; font-size: 12px; }
  .footer-col__toggle, .footer-col__static { padding: 16px 0; font-size: 15px; }
  .footer-mail { margin-top: 6px; }
  .card__note, .card__unit, .card__was, .card__variants { font-size: 10.5px; }
  .store-badge__small { font-size: 10px; }
  .store-badge__big { font-size: 13px; }
  .crumbs a, .page-doc__back { display: inline-block; padding: 6px 0; }
  .header-tool--icon, .icon-btn { padding: 6px; }
  .pdp__perks li, .pdp__delivery { font-size: 13px; }
}
/* mobile drawer: secondary links */
.nav-list--secondary { margin-top: 0; border-top: 0; padding-top: 0; }
.nav-list--secondary .nav-list__link { font-size: 15px; font-weight: 500; }
/* account flyout */
.account-wrap { display: inline-flex; }
.account-flyout {
  position: absolute; top: calc(100% + 6px);
  left: max(18px, calc((100vw - 1380px) / 2 + 18px));
  width: min(1060px, calc(100vw - 36px));
  background: #fff; border: 1px solid #ececec; box-shadow: 0 26px 44px rgba(0, 0, 0, .13); z-index: 75;
}
.account-flyout[hidden] { display: none; }
.account-flyout__inner { display: grid; grid-template-columns: 40% 60%; }
.account-flyout__promo { padding: 26px 28px 30px; border-right: 1px solid #ececec; }
.account-flyout__hi { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.account-flyout__text { font-size: 13.5px; line-height: 1.5; color: #1a1a1a; margin-bottom: 18px; }
.account-flyout__cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; font-size: 13px; }
.account-flyout__links { list-style: none; margin: 0; padding: 22px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; align-content: start; }
.account-flyout__links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 14px; color: #1a1a1a; }
.account-flyout__links a:hover { text-decoration: underline; }
.account-flyout__links svg { flex: 0 0 auto; }
@media (max-width: 1024px) { .account-flyout { display: none !important; } }
/* header must stay sticky (position also anchors the account flyout) */
.site-header { position: sticky; top: 0; z-index: 60; }
/* stock quantity stays in the admin; the PDP keeps its single availability line */
.single-product .product .stock, .single-product .pdp .stock { display: none; }
/* product thumbnails in the checkout order review */
.woocommerce-checkout-review-order-table td.product-name { padding-top: 10px; padding-bottom: 10px; }
.sp-ci__img { float: left; width: 44px; height: 44px; margin: 0 12px 0 0; }
.sp-ci__img img { width: 44px; height: 44px; object-fit: contain; background: #f7f7f7; border-radius: 3px; display: block; }
.sp-ci__name { display: inline; }
.woocommerce-order-details .sp-ci__img { display: inline-block; vertical-align: middle; float: none; margin-right: 10px; }
.sp-ci-row { display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; max-width: 100%; }
.sp-ci-row .sp-ci__img { float: none; margin: 0; }
/* free gift tag */
.sp-gift-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 10px; background: #f2f2f2; color: #1a1a1a; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }.cart-row__free { color: var(--muted, #6b6b6b); font-weight: 600; }.sp-gift-was { color: #8a8a8a; font-size: 12px; margin-left: 6px; }
/* PDP variation swatches */
.variations { position: absolute !important; left: -9999px; }
.sp-var__label { font-size: 13px; font-weight: 600; margin: 18px 0 8px; }
.sp-var__selected { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: 1px solid #c9c9c9; border-radius: 6px; font-size: 13px; margin-bottom: 10px; }
.sp-var__selected[hidden] { display: none; }
.sp-var__dot { width: 26px; height: 26px; border-radius: 50%; background: #eee center/cover no-repeat; flex: 0 0 auto; }
.sp-var__name { font-weight: 600; }
.sp-var__unit { color: #6b6b6b; font-size: 12px; margin-left: auto; }
.sp-var__chev { flex: 0 0 auto; color: #1a1a1a; }
.sp-var__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.sp-swatch { width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #f2f2f2 var(--sw) center/cover no-repeat; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); position: relative; }
.sp-swatch.is-active { box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 0 0 2px #fff, 0 0 0 3px #1a1a1a; }
.sp-swatch.is-out::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(to top left, transparent 46%, #fff 46%, #fff 54%, transparent 54%); }
.pdp__buy .reset_variations { display: inline-block; font-size: 12px; margin-left: 8px; }
@media (max-width: 780px) { .sp-swatch { width: 26px; height: 26px; } .sp-var__list { gap: 8px; } }
/* variable product buy form: stack swatches, qty and button */
.pdp__buy form.cart.variations_form { display: block; }
.pdp__buy form.cart.variations_form .woocommerce-variation-price { display: none; }
.pdp__buy .single_variation_wrap, .pdp__buy .woocommerce-variation-add-to-cart { display: block; width: 100%; }
.pdp__buy .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pdp__buy .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1 1 auto; }
/* search overlay */
.search-panel { position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: #fff; border-bottom: 1px solid #e6e6e6; box-shadow: 0 22px 40px rgba(0,0,0,.10); z-index: 70; }
.search-panel[hidden] { display: none; }
.search-panel__inner { max-width: 1380px; margin: 0 auto; padding: 32px 18px 36px; display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; }
.search-panel__title { font-size: 19px; font-weight: 700; margin: 0 0 16px; }
.search-panel__products { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.sp-result { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 14px; align-items: start; color: #1a1a1a; }
.sp-result__img img { width: 56px; height: 56px; object-fit: contain; background: #f7f7f7; border-radius: 3px; }
.sp-result__body { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.35; }
.sp-result__body strong { font-size: 14px; font-weight: 700; }
.sp-result__price { text-align: right; font-size: 13px; white-space: nowrap; }
.sp-result__price b { display: block; color: #990000; font-size: 14px; }
.sp-result__price s { color: #8a8a8a; font-size: 12px; }
.search-panel__all { display: inline-flex; align-items: center; justify-content: center; margin-top: 26px; min-height: 48px; padding: 0 26px; background: #111; color: #fff; font-weight: 700; font-size: 14px; border-radius: 4px; }
.search-panel__side { position: relative; }
.search-panel__chips { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 14px; margin: 0 0 22px; }
.search-panel__chips a { color: #1a1a1a; }
.search-panel__chips a:hover { text-decoration: underline; }
.search-panel__close { position: absolute; top: -6px; right: 0; background: none; border: 0; cursor: pointer; padding: 6px; }
@media (max-width: 900px) {
  .search-panel__inner { grid-template-columns: 1fr; gap: 24px; padding: 20px 14px 26px; }
  .search-panel__products { grid-template-columns: 1fr; gap: 14px; }
}
/* size row + sheet */
.sp-size-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 1px solid #c9c9c9; border-radius: 6px; background: #fff; font-size: 13px; cursor: pointer; text-align: left; }
.sp-size-row__img { width: 34px; height: 34px; border-radius: 3px; background: #f2f2f2 center/cover no-repeat; flex: 0 0 auto; }
.sp-size-row__name { font-weight: 700; }
.sp-size-row__unit { color: #6b6b6b; font-size: 12px; }
.sp-size-row .sp-var__chev { margin-left: auto; }
.sp-size-sheet { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); background: #fff; box-shadow: -14px 0 40px rgba(0,0,0,.18); z-index: 120; overflow-y: auto; padding: 22px 22px 28px; }
.sp-size-sheet[hidden] { display: none; }
.sp-size-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sp-size-sheet__head h3 { font-size: 20px; font-weight: 700; margin: 0; }
.sp-size-sheet__close { background: none; border: 0; cursor: pointer; padding: 4px; }
.sp-size-sheet__count { font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.sp-size-opt { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 12px; align-items: start; width: 100%; padding: 12px 14px; margin-bottom: 10px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; cursor: pointer; text-align: left; }
.sp-size-opt.is-active { border-color: #1a1a1a; box-shadow: inset 0 0 0 1px #1a1a1a; }
.sp-size-opt__img img { width: 40px; height: 40px; object-fit: contain; }
.sp-size-opt__body { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.sp-size-opt__unit { color: #6b6b6b; font-size: 12px; }
.sp-size-opt__availability { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.sp-size-opt__availability i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; display: inline-block; }
.sp-size-opt__availability.is-out i { background: #d0021b; }
.sp-size-opt__price { text-align: right; font-size: 13px; font-weight: 700; white-space: nowrap; color: #990000; }
.sp-size-opt__price s { display: block; color: #8a8a8a; font-weight: 400; font-size: 12px; }
.sp-size-sheet__note { margin-top: 14px; font-size: 11.5px; color: #6b6b6b; }
/* search results page */
.plp__hero--search h1 { font-size: 30px; font-weight: 700; }
.card__cta--cart { width: 100%; background: #fff; color: #1a1a1a; border: 1px solid #1a1a1a; font-weight: 600; cursor: pointer; min-height: 46px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.card__cta--cart:hover { background: #1a1a1a; color: #fff; }
/* the header .search rule must not squeeze the search results page */
body.search, body.search-results, body.archive.search { max-width: none; }
/* payment method rows (Stripe style, mirrors the reference checkout) */
#payment ul.payment_methods { display: block; list-style: none; margin: 0 0 14px; padding: 0; }
#payment ul.payment_methods li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 16px 18px; }
#payment ul.payment_methods li label { display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: #1a1a1a; margin: 0; cursor: pointer; }
#payment ul.payment_methods li input[type="radio"],
#payment ul.payment_methods li input.input-radio { display: inline-block !important; width: 18px; height: 18px; accent-color: #1a1a1a; margin: 0; }
#payment ul.payment_methods li .payment_box { display: inline !important; background: transparent; border: 0; padding: 0; margin: 0; }
#payment ul.payment_methods li .payment_box p { margin: 0; font-weight: 400; color: #6b6b6b; font-size: 15px; }
#payment ul.payment_methods li .payment_box::before { display: none; }