/* torque.news: shop area polish, loaded after custom.css */

/* My Account: cancel WooCommerce's own float/width layout (woocommerce-layout.css)
   so the nav and content columns fill the Tailwind grid tracks set in
   woocommerce/myaccount/my-account.php instead of floating at 30%/68%. */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}

/* My Account: WooCommerce ships this markup as a plain nav+div pair with no
   grid-column/row of their own, relying on the grid's auto-placement to put
   them side by side. On this page auto-placement puts the nav in track 2 and
   drops the content into an implicit second row instead of track 1 (visible
   as a swapped, stacked layout at the nv breakpoint). Pinning each child to
   its intended cell explicitly sidesteps that and matches designs/account.html. */
@media (min-width: 1100px) {
	.woocommerce-account.grid > .woocommerce-MyAccount-navigation {
		grid-column: 1;
		grid-row: 1;
	}
	.woocommerce-account.grid > .woocommerce-MyAccount-content {
		grid-column: 2;
		grid-row: 1;
	}
}

/* Login / register (myaccount/form-login.php): the template already lays the
   two panels out as tabs inside a Tailwind grid, but woocommerce-layout.css
   floats .col2-set .col-1 / .col-2 at 48% width and floats the "form-row-first"
   field and the login button, which leaves whichever tab is showing narrow
   and its button row squashed. Cancel all of that so the panels fill the card. */
.woocommerce-account #customer_login.col2-set .col-1,
.woocommerce-account #customer_login.col2-set .col-2 {
	float: none !important;
	width: auto !important;
	max-width: none !important;
}
.woocommerce-account #customer_login form .form-row,
.woocommerce-account #customer_login form .form-row-first,
.woocommerce-account #customer_login form .form-row-last {
	float: none !important;
	width: auto !important;
	padding: 0 !important;
	margin-bottom: 0 !important; /* margin-top stays: Tailwind space-y-3.5 sets it */
}
.woocommerce-account #customer_login form .form-row label {
	line-height: 1.3 !important;
}
.woocommerce-account #customer_login form .form-row .required {
	visibility: visible !important;
	color: inherit !important;
}
.woocommerce-account #customer_login .woocommerce-form-login .woocommerce-form-login__submit {
	float: none !important;
	margin-right: 0 !important;
}
/* Same sheet gives .col2-set a ::before/::after clearfix (display: table).
   In a grid those pseudo-elements become grid items and the ::before takes
   the first cell, pushing the two tab labels onto separate rows. */
.woocommerce-account #customer_login.col2-set::before,
.woocommerce-account #customer_login.col2-set::after {
	content: none !important;
	display: none !important;
}
/* And it boxes form.login / form.register with their own border, padding and
   2em margins, which double-frames the form inside the card. */
.woocommerce-account #customer_login form.login,
.woocommerce-account #customer_login form.register {
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 1.25rem 0 0 !important;
}

/* Login / register / "Email me a link" submit buttons: WooCommerce's own
   woocommerce.css paints any element carrying its .button class a flat grey
   (#e9e6ed on #515151) at higher specificity (.woocommerce :where(...)
   button.button) than this theme's single-class .btn, so the amber button
   this template asks for (class="... btn") never shows. #customer_login's id
   is enough specificity to win back the brand colour, in both modes (--accent
   is a fixed, not a flipping, token, like every other .btn on the site). */
.woocommerce-account #customer_login .btn {
	background: var(--accent);
	color: var(--accent-contrast);
}
.woocommerce-account #customer_login .btn:hover {
	background: var(--accent-deep);
}

/* /my-account/lost-password/ renders WooCommerce's own, un-overridden
   myaccount/form-lost-password.php (WC_Shortcode_My_Account::lost_password()
   always wins over the theme's form-login.php for that endpoint), so its
   "Reset password" button has no .btn to begin with; match it here instead. */
.woocommerce-account .woocommerce-ResetPassword .button {
	background: var(--accent);
	color: var(--accent-contrast);
}
.woocommerce-account .woocommerce-ResetPassword .button:hover {
	background: var(--accent-deep);
}

/* magazine hero: the four title tabs sit in an even 2 x 2 beside the cover fan
   (the sidebar leaves too little width for one row), one row again on wide screens */
.t-tabs--quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}

@media (min-width: 1800px) {
  .t-tabs--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }
}

/* ---------- magazine page hero: full-height cover slider ---------- */
.mh-bg { position: absolute; inset: 0; overflow: hidden; }
.mh-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); filter: blur(2px) saturate(0.9);
  transition: opacity 1.4s ease;
}
.mh-bg img.is-on { opacity: 0.42; animation: mhDrift 16s ease-out both; }
@keyframes mhDrift { from { transform: scale(1.12); } to { transform: scale(1.2) translate(-1.5%, 1%); } }

.mh-frame { display: grid; }
.mh-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; text-decoration: none; }
.mh-slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; }
.mh-cover {
  border-radius: 4px; overflow: hidden;
  transform: translateY(14px) scale(0.985); transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mh-slide.is-on .mh-cover { transform: none; }
.mh-slide:hover .mh-cover img { transform: scale(1.025); }
.mh-cover img { transition: transform 0.8s ease; }
.mh-slide:hover .mh-go { background: #fff; }
.mh-slide:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.mh-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid #32363e; border-radius: 2px; background: rgba(22, 24, 29, 0.6); color: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.mh-arrow:hover, .mh-arrow:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.mh-bar { flex: 1; max-width: 64px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.22); overflow: hidden; cursor: pointer; }
.mh-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.mh-bar.is-done i { width: 100%; }
/* one fill per slide; pausing freezes it where it is, and the slide changes when it ends */
.mh-bar.is-on i { animation: mhFill var(--mh-step, 6s) linear forwards; }
.mh.is-paused .mh-bar.is-on i { animation-play-state: paused; }
@keyframes mhFill { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .mh-bg img.is-on { animation: none; }
  .mh-bar.is-on i { animation: none; width: 100%; }
  .mh-cover { transform: none; transition: none; }
}

/* ---------- magazine page: side date selector (only where there is room beside the content) ---------- */
.yr-side {
  position: fixed; right: 14px; top: 50%; z-index: 66;
  transform: translate(12px, -50%); opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 76px;
}
.yr-side.is-shown { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.yr-side__head { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: #8a919c; margin: 0 0 8px 14px; }
.yr-side__years { list-style: none; margin: 0; padding: 6px 0; border-left: 1px solid #32363e; max-height: 70vh; }
.yr-side__year { position: relative; }
.yr-side__label {
  position: relative; display: block; padding: 4px 0 4px 14px;
  font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; line-height: 1.2;
  color: #8a919c; text-decoration: none; transition: color 0.2s, font-size 0.2s;
}
.yr-side__label::before {
  content: ""; position: absolute; left: -1px; top: 4px; bottom: 4px; width: 3px;
  background: var(--accent); transform: scaleY(0); transition: transform 0.2s;
}
.yr-side__year.is-active .yr-side__label { color: #fff; }
.yr-side__year.is-active .yr-side__label::before { transform: scaleY(1); }
.yr-side__year:hover .yr-side__label, .yr-side__year:focus-within .yr-side__label { color: var(--accent); font-size: 1.3rem; }
.yr-side__year:hover .yr-side__label::before, .yr-side__year:focus-within .yr-side__label::before { transform: scaleY(1); }

/* the year's issues open to the left of the rail */
.yr-side__issues {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(8px, -50%);
  list-style: none; margin: 0; padding: 8px; min-width: 190px;
  background: rgba(22, 24, 29, 0.97); border: 1px solid #32363e; border-radius: 4px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.yr-side__issues::after { content: ""; position: absolute; left: 100%; top: 0; bottom: 0; width: 12px; }
.yr-side__year:hover .yr-side__issues, .yr-side__year:focus-within .yr-side__issues {
  opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
.yr-side__issues a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 7px 10px; border-radius: 2px; text-decoration: none; color: #fff;
  font-family: Rajdhani, sans-serif; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
}
.yr-side__issues small { font-size: 0.7rem; letter-spacing: 0.12em; color: #8a919c; white-space: nowrap; }
.yr-side__issues a:hover, .yr-side__issues a:focus-visible { background: var(--accent); color: var(--accent-contrast); outline: none; }
.yr-side__issues a:hover small, .yr-side__issues a:focus-visible small { color: inherit; }
@media (prefers-reduced-motion: reduce) { .yr-side, .yr-side__issues { transition: none; } }

/* the issue a side-rail click lands on gets a brief outline */
.bi-flash .bi-card { outline: 2px solid var(--accent); outline-offset: 4px; transition: outline-color 1.2s ease; }

/* ---------- basket pop-up (assets/js/basket.js) ---------- */
html.bk-open { overflow: hidden; }
.bk { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.bk[hidden] { display: none; }
.bk__scrim { position: absolute; inset: 0; background: rgba(22, 24, 29, 0.72); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.22s ease; }
.bk__card {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: rgb(var(--sf-panel)); color: rgb(var(--tx-ink)); border-radius: 6px;
  border-top: 4px solid var(--accent);
  opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bk.is-on .bk__scrim { opacity: 1; }
.bk.is-on .bk__card { opacity: 1; transform: none; }
.bk__card:focus { outline: none; }
.bk__x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: rgb(var(--tx-sdark)); transition: background 0.2s, color 0.2s; }
.bk__x:hover, .bk__x:focus-visible { background: rgb(var(--sf-page)); color: rgb(var(--tx-ink)); outline: none; }
.bk__body { padding: 26px 28px 0; display: flex; flex-direction: column; min-height: min(560px, calc(100vh - 40px)); }
.bk-more { flex: 1; }
.bk-bottom { margin-top: auto; position: sticky; bottom: 0; background: rgb(var(--sf-panel)); padding: 2px 0 22px; z-index: 1; }
.bk-bottom .bk-total { margin-top: 16px; }
@media (max-width: 480px) { .bk__body { padding: 22px 18px 0; } }

.bk-head { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.bk-head h2 { font: 700 1.55rem/1 Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: 0.02em; margin: 0; }
.bk-tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); flex-shrink: 0; animation: bkPop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.bk-tick--err { background: #e03131; color: #fff; font: 700 1rem Rajdhani, sans-serif; }
@keyframes bkPop { from { transform: scale(0.3); opacity: 0; } to { transform: none; opacity: 1; } }
.bk-err { color: rgb(var(--tx-sdark)); margin: 14px 0 18px; }

.bk-kicker { display: block; font: 600 0.68rem/1.3 Rajdhani, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); }

.bk-hero { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 20px; padding: 16px; background: rgb(var(--sf-page)); border-radius: 4px; }
@media (max-width: 480px) { .bk-hero { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px; } }
.bk-hero__img img { display: block; width: 100%; aspect-ratio: 1600 / 1131; object-fit: cover; border-radius: 3px; }
.bk-hero__name { font: 700 1.15rem/1.1 Rajdhani, sans-serif; text-transform: uppercase; margin: 4px 0 0; }
.bk-hero__price { font: 700 1.3rem Rajdhani, sans-serif; margin: 8px 0 0; }
.bk-hero__price small { font: 500 0.8rem Barlow, sans-serif; color: rgb(var(--tx-sdark)); }

.bk-sub { font: 700 0.72rem Rajdhani, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(var(--tx-sdark)); margin: 22px 0 8px; }
.bk-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(var(--ln-ink) / 0.1); }
.bk-line { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgb(var(--ln-ink) / 0.1); transition: opacity 0.2s; }
.bk-line.is-going { opacity: 0.35; }
.bk-line__img img { display: block; width: 72px; aspect-ratio: 1600 / 1131; object-fit: cover; border-radius: 2px; }
.bk-line__txt { min-width: 0; flex: 1; }
.bk-line__name { display: block; font-weight: 600; font-size: 0.92rem; line-height: 1.25; color: rgb(var(--tx-ink)); text-decoration: none; }
.bk-line__name:hover { color: var(--accent-deep); }
.bk-line__meta { font-size: 0.85rem; color: rgb(var(--tx-sdark)); }
.bk-line__rm { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #8a919c; flex-shrink: 0; }
.bk-line__rm:hover, .bk-line__rm:focus-visible { background: rgb(var(--sf-page)); color: #e03131; outline: none; }

.bk-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 2px solid rgb(var(--tx-ink)); font: 700 1.05rem Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }
.bk-total small { font: 500 0.8rem Barlow, sans-serif; text-transform: none; letter-spacing: 0; color: rgb(var(--tx-sdark)); }
.bk-total b { font-size: 1.45rem; }
.bk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.bk-actions .btn { justify-content: center; text-align: center; }
.bk-actions__alt { display: grid; place-items: center; border: 2px solid rgb(var(--tx-ink)); border-radius: 2px; font: 700 0.85rem Rajdhani, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--tx-ink)); text-decoration: none; padding: 10px; transition: background 0.2s, color 0.2s; }
.bk-actions__alt:hover, .bk-actions__alt:focus-visible { background: rgb(var(--tx-ink)); color: rgb(var(--sf-panel)); outline: none; }
.bk-continue { display: block; margin: 14px auto 0; font: 600 0.8rem Rajdhani, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--tx-sdark)); text-decoration: underline; text-underline-offset: 3px; }
.bk-continue:hover { color: rgb(var(--tx-ink)); }
.bk-empty { color: rgb(var(--tx-sdark)); margin: 14px 0 0; }

.bk-more { margin-top: 22px; padding-top: 4px; border-top: 1px solid rgb(var(--ln-ink) / 0.1); }
.bk-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-more__img img { display: block; width: 100%; aspect-ratio: 1600 / 1131; object-fit: cover; border-radius: 2px; margin-bottom: 6px; transition: transform 0.25s; }
.bk-more__img:hover img { transform: translateY(-2px); }
.bk-more .bk-kicker { font-size: 0.6rem; letter-spacing: 0.12em; color: rgb(var(--tx-sdark)); }
.bk-more__row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font: 700 0.95rem Rajdhani, sans-serif; }
.bk-more__add { font: 700 0.7rem Rajdhani, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-contrast); background: var(--accent); padding: 4px 9px; border-radius: 2px; text-decoration: none; }
.bk-more__add:hover { background: #16181d; color: #fff; }

/* the button that was pressed: spinner while adding, tick once added */
.is-adding { position: relative; pointer-events: none; opacity: 0.75; }
.is-adding::after { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-left: 0.5em; vertical-align: -0.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: bkSpin 0.7s linear infinite; }
@keyframes bkSpin { to { transform: rotate(360deg); } }
#cart-count.is-bump { animation: bkPop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }

@media (prefers-reduced-motion: reduce) {
  .bk__card, .bk__scrim { transition: none; }
  .bk-tick, #cart-count.is-bump, .is-adding::after { animation: none; }
}

/* ---------- WooCommerce table resets (checkout, orders, account) ---------- */

/* WooCommerce's own shop_table CSS (woocommerce.css) wraps the whole table in
   a 1px grey border + 5px radius AND puts a grey border-top on every td, on
   top of our own .wc-table row dividers and the white card the table already
   sits inside (woocommerce/cart/cart.php) — the "grey borders ... look
   horrible" the client flagged. Strip WooCommerce's copies; .wc-table keeps
   its own subtle bottom border below. */
.shop_table.wc-table,
.shop_table.wc-table td,
.shop_table.wc-table th,
.shop_table.wc-totals,
.shop_table.wc-totals td,
.shop_table.wc-totals th {
  border: 0;
  border-radius: 0;
  margin: 0;
}
.wc-table td { border-top: 0; }
.wc-totals td, .wc-totals th { border-top: 0; }

/* Quantity stepper (woocommerce/global/quantity-input.php): lay the minus
   button / input / plus button out in a row (unstyled, they were stacking
   vertically) and drop the browser's own spinner arrows, which rendered
   alongside our buttons. */
.quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.quantity .qty {
  width: 2.5rem;
  padding: 5px 2px;
  border: 1px solid rgb(var(--ln-ink) / 0.2);
  border-radius: 3px;
  background: rgb(var(--sf-panel));
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}
.quantity .qty:focus {
  outline: none;
  border-color: var(--accent);
}
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity .qty[type="number"] {
  -moz-appearance: textfield;
}

/* Coupon field: match the rest of the form controls, no default look. */
.coupon .input-text {
  height: 40px;
}

/* Shipping method list in the totals panel (woocommerce core cart-shipping.php,
   not overridden here — just its default radio + spacing tidied up). */
#shipping_method {
  list-style: none;
  margin: 0;
  padding: 0;
}
#shipping_method li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
#shipping_method input[type="radio"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}
.woocommerce-shipping-destination,
.woocommerce-shipping-calculator {
  font-family: Barlow, sans-serif;
  font-size: 0.78rem;
  color: #8a919c;
  margin-top: 4px;
}
.shipping-calculator-button {
  font-family: Barlow, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent-deep);
}

/* ---------- basket page (woocommerce/cart/cart.php, cart-totals.php) ----------
   Items on the left, a dark sticky order summary on the right. No boxes with
   grey borders, no shadows: hairlines and one dark panel do the structuring. */
.bkp-wrap { max-width: 1344px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .bkp-wrap { padding: 0 36px; } }

.bkp-hero { position: relative; background: #16181d; color: #fff; overflow: hidden; }
.bkp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.bkp-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, #16181d 10%, rgba(22,24,29,.8) 55%, rgba(22,24,29,.45)); }
.bkp-hero__in { position: relative; z-index: 1; padding-top: 30px; padding-bottom: 36px; }
.bkp-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: 18px; }
.bkp-hero__h1 { margin: 0; font: 700 clamp(2.3rem, 4.4vw, 3.4rem)/.92 Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.bkp-hero__sum { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 0; font-size: .95rem; color: #aab0b9; }
.bkp-hero__sum b { font: 700 1.2rem Rajdhani, sans-serif; color: #fff; }

.bkp-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bkp-steps li { display: flex; align-items: center; gap: 8px; padding: 0 14px 0 0; font: 600 .72rem/1 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #7d848f; }
.bkp-steps li + li::before { content: ""; width: 22px; height: 1px; background: rgba(255,255,255,.18); margin-right: 8px; }
.bkp-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); font-size: .72rem; letter-spacing: 0; }
.bkp-steps .is-current { color: #fff; }
.bkp-steps .is-current b { background: var(--accent); border-color: var(--accent); color: #16181d; }
@media (max-width: 639px) { .bkp-steps li:not(.is-current) { font-size: 0; gap: 0; padding-right: 6px; } .bkp-steps li + li::before { width: 12px; margin-right: 6px; } }

.bkp-body { padding-top: 44px; padding-bottom: 80px; }
.bkp-body > .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 26px; }
.woocommerce-cart .woocommerce-message .button.wc-forward { display: none; }

.bkp-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1024px) { .bkp-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } }
@media (min-width: 1500px) { .bkp-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } }
.woocommerce .bkp-side .cart_totals, .bkp-side .cart_totals { float: none; width: auto; }

.bkp-form { position: relative; container-type: inline-size; background: rgb(var(--sf-panel)); border-radius: 6px; padding: 0 20px; }
@media (min-width: 640px) { .bkp-form { padding: 0 32px; } }
.bkp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 16px; border-bottom: 2px solid rgb(var(--tx-ink)); }
.bkp-kicker { margin: 0; font: 700 .8rem/1 Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--tx-ink)); }
.bkp-link { font: 600 .8rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep, #b55f00); text-decoration: underline; text-underline-offset: 4px; }
.bkp-link:hover { color: rgb(var(--tx-ink)); }

.bkp-items { list-style: none; margin: 0; padding: 0; }
.bkp-item {
  display: grid; align-items: start; gap: 14px 24px; padding: 24px 0;
  grid-template-columns: 128px minmax(0, 1fr) auto 36px;
  grid-template-areas: "cover info info rm" "cover qty sub sub";
  border-bottom: 1px solid rgb(var(--ln-ink) / .08);
  transition: opacity .25s ease;
}
.bkp-item__cover { grid-area: cover; }
.bkp-item__cover img { display: block; width: 100% !important; height: auto !important; max-width: none !important; border-radius: 3px; }
.bkp-item__info { grid-area: info; min-width: 0; }
.bkp-item__kicker { display: block; margin-bottom: 8px; font: 600 .7rem/1 Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep, #b55f00); }
.bkp-item__kicker > span { white-space: nowrap; }
.bkp-item__name { display: block; font: 700 1.3rem/1.1 Rajdhani, sans-serif; text-transform: uppercase; color: rgb(var(--tx-ink)); text-decoration: none; }
a.bkp-item__name:hover { color: var(--accent-deep, #b55f00); }
.bkp-item__data { margin-top: 6px; font-size: .8rem; line-height: 1.5; color: rgb(var(--tx-sdark)); }
.bkp-item__data dl { margin: 0; }
.bkp-item__data dt, .bkp-item__data dd { display: inline; margin: 0; }
.bkp-item__data dd p { display: inline; margin: 0; }
.bkp-item__data dd::after { content: "\A"; white-space: pre; } /* each detail on its own line */
.bkp-item__qty { grid-area: qty; align-self: center; }
.bkp-item__single { font: 600 .78rem Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--tx-sdark)); }
.bkp-item__sub { grid-area: sub; align-self: center; text-align: right; white-space: nowrap; font: 700 1.35rem/1 Rajdhani, sans-serif; color: rgb(var(--tx-ink)); }
.bkp-item__sub .subscription-details { font: 500 .9rem Barlow, sans-serif; color: rgb(var(--tx-sdark)); }
.bkp-item__rm { grid-area: rm; justify-self: end; margin-top: -6px; }

/* Remove: a quiet round button, red on hover. WooCommerce's own a.remove
   styling (red circle, huge x) is cancelled. */
.woocommerce .bkp-item a.remove.bkp-rm,
.bkp-rm { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: transparent; color: #8a919c !important; font-size: 0; line-height: 1; transition: background .2s, color .2s; }
.woocommerce .bkp-item a.remove.bkp-rm:hover,
.bkp-rm:hover, .bkp-rm:focus-visible { background: #fbeaea !important; color: #d0342c !important; outline: none; }
.bkp-rm svg { width: 15px; height: 15px; fill: currentColor; }
.bkp-rm span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Quantity stepper: one pill, the input sits flush between the two buttons. */
.bkp .quantity, .bkp-item .quantity { display: inline-flex; align-items: center; gap: 0; height: 42px; border: 1px solid rgb(var(--ln-ink) / .14); border-radius: 999px; background: rgb(var(--sf-panel)); }
.bkp-item .quantity .qty { width: 34px; height: 40px; padding: 0; border: 0; background: transparent; font: 700 1.05rem Rajdhani, sans-serif; color: rgb(var(--tx-ink)); text-align: center; }
.bkp-item .quantity .qty:focus { outline: none; }
.bkp-item .qty-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: rgb(var(--tx-ink)); font: 600 1.2rem/1 Barlow, sans-serif; transition: background .15s, color .15s; }
.bkp-item .qty-btn:hover { background: rgb(var(--sf-page)); color: rgb(var(--tx-ink)); }
.bkp-item .qty-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.bkp-actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px 0 28px; }
.bkp-coupon label { display: block; margin-bottom: 8px; font: 700 .72rem/1 Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--tx-sdark)); }
.bkp-coupon__row { display: flex; }
.bkp-coupon__row .input-text { width: 220px; max-width: 52vw; height: 46px; padding: 0 16px; border: 1px solid rgb(var(--ln-ink) / .18); border-right: 0; border-radius: 4px 0 0 4px; background: rgb(var(--sf-panel)); font: 500 .95rem Barlow, sans-serif; color: rgb(var(--tx-ink)); }
.bkp-coupon__row .input-text:focus { outline: none; border-color: rgb(var(--tx-ink)); }
.bkp-coupon__row button { height: 46px; padding: 0 22px; border: 0; border-radius: 0 4px 4px 0; background: rgb(var(--tx-ink)); color: rgb(var(--sf-panel)); font: 700 .8rem Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.bkp-coupon__row button:hover { background: var(--accent); color: #16181d; }
.bkp-update { height: 46px; padding: 0 20px; border: 1px solid rgb(var(--tx-ink)); border-radius: 4px; background: transparent; font: 700 .78rem Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--tx-ink)); cursor: pointer; }
.bkp-update:disabled { opacity: .35; cursor: default; }
.bkp-form.is-auto .bkp-update { display: none; }

/* Loading: WooCommerce blocks the form/totals with .blockUI while it updates;
   fade what is underneath and show one amber spinner. */
.bkp-grid .blockUI.blockOverlay { background: rgba(255,255,255,.55) !important; opacity: 1 !important; }
.bkp-sum .blockUI.blockOverlay { background: rgba(22,24,29,.55) !important; }
.woocommerce .bkp-grid .blockUI.blockOverlay::before,
.bkp-grid .blockUI.blockOverlay::before { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid rgba(244,151,49,.25); border-top-color: var(--accent); border-radius: 50%; background: none; animation: bkpSpin .7s linear infinite; }
@keyframes bkpSpin { to { transform: rotate(360deg); } }
.bkp-item.is-going { opacity: .3; }
@container (max-width: 560px) { .bkp-item { grid-template-columns: 96px minmax(0, 1fr) auto 36px; gap: 12px 18px; } }

.bkp-main { container-type: inline-size; }

/* Order summary: the one dark panel. */
.bkp-sum { position: relative; background: #16181d; color: #cfd3d9; border-radius: 6px; padding: 28px 24px; }
@media (min-width: 640px) { .bkp-sum { padding: 32px; } }
@media (min-width: 1024px) { .bkp-side { position: sticky; top: 24px; } }
.bkp-sum__h { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 2px solid var(--accent); font: 700 1.45rem/1 Rajdhani, sans-serif; text-transform: uppercase; color: #fff; }
.bkp-sum__table { width: 100%; border-collapse: collapse; margin: 0; }
.bkp-sum__table th, .bkp-sum__table td { padding: 13px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; background: none; }
.bkp-sum__table th { text-align: left; font: 600 .74rem/1.4 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8a919c; padding-right: 16px; white-space: nowrap; }
.bkp-sum__table td { text-align: right; font: 500 .95rem/1.4 Barlow, sans-serif; color: #fff; }
.bkp-sum__table td::before { display: none !important; }
.bkp-sum__table .cart-discount td { color: var(--accent); }
.bkp-sum__table .cart-discount a { margin-left: 6px; font-size: .75rem; color: #8a919c; }
.bkp-sum__table .order-total th, .bkp-sum__table .order-total td { border-bottom: 0; padding-top: 18px; }
.bkp-sum__table .order-total th { color: #fff; font-size: .85rem; }
.bkp-sum__table .order-total td { font: 700 2.1rem/1 Rajdhani, sans-serif; color: #fff; }
.bkp-sum__table .order-total td small { display: block; margin-top: 4px; font: 400 .75rem Barlow, sans-serif; color: #8a919c; }
/* Basket summary: each row is a line of its own, label left and figure right,
   so a long label never squeezes the figure. Shipping puts its choices under
   the label, left aligned, so the radio buttons line up. */
.woocommerce-cart .bkp-sum.cart_totals table.bkp-sum__table, .woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tbody { display: block; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr { display: flex; align-items: baseline; justify-content: space-between; column-gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr th, .woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr td { display: block; width: auto; border: 0; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr th { white-space: normal; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr td { flex: none; margin-left: auto; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr.order-total { border-bottom: 0; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr.woocommerce-shipping-totals { display: block; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr.woocommerce-shipping-totals th { padding-bottom: 0; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr.woocommerce-shipping-totals td { margin-left: 0; padding-top: 10px; text-align: left; }
.woocommerce-cart .bkp-sum.cart_totals #shipping_method li { justify-content: flex-start; padding: 3px 0; }
.woocommerce-cart .bkp-sum.cart_totals .woocommerce-shipping-destination, .woocommerce-cart .bkp-sum.cart_totals .woocommerce-shipping-calculator { text-align: left; }
.woocommerce-cart .bkp-sum.cart_totals .shipping-calculator-button::after { content: "+"; font: 600 1rem/1 Barlow, sans-serif; }
.woocommerce-cart .bkp-sum.cart_totals .shipping-calculator-button[aria-expanded="true"]::after { content: "\2212"; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr.recurring-total.order-total td { font: 500 .95rem/1.4 Barlow, sans-serif; color: #aab0b9; }
.woocommerce-cart .bkp-sum.cart_totals .bkp-sum__table tr.recurring-total.order-total td strong { font: 700 2.1rem/1 Rajdhani, sans-serif; color: #fff; }
.bkp-sum #shipping_method li { justify-content: flex-end; padding: 2px 0; color: #fff; }
.bkp-sum #shipping_method label { font-size: .9rem; }
.bkp-sum .woocommerce-shipping-destination, .bkp-sum .woocommerce-shipping-calculator, .bkp-sum .woocommerce-shipping-contents { font-size: .76rem; color: #8a919c; text-align: right; margin: 6px 0 0; }
.bkp-sum .shipping-calculator-button { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bkp-sum .shipping-calculator-button::after { display: none; }
.bkp-sum .shipping-calculator-form { text-align: left; margin-top: 12px; }
.bkp-sum .shipping-calculator-form p { margin: 0 0 8px; }
.bkp-sum .shipping-calculator-form .input-text, .bkp-sum .shipping-calculator-form select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; background: #1e2127; color: #fff; }
.bkp-sum .shipping-calculator-form button { height: 40px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 3px; background: transparent; color: var(--accent); font: 700 .75rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; }

.bkp-checkout { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 22px; padding: 18px 20px; border-radius: 4px; background: var(--accent); color: #16181d !important; font: 700 1rem/1 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; text-decoration: none; transition: background .2s; }
.bkp-checkout::after { content: "\2192"; font-size: 1.2rem; letter-spacing: 0; transition: transform .2s; }
.bkp-checkout:hover { background: rgb(var(--tx-ink)); color: rgb(var(--sf-panel)) !important; }
.bkp-checkout:hover::after { transform: translateX(4px); }
.bkp-sum__foot { margin-top: 20px; }
.bkp-sum__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font: 600 .74rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #aab0b9; }
.bkp-sum__secure svg { width: 14px; height: 14px; fill: var(--accent); }
.bkp-sum__note { margin: 12px 0 0; font-size: .78rem; line-height: 1.5; color: #7d848f; text-align: center; }

@media (max-width: 767px) {
  .bkp-item { grid-template-columns: 92px minmax(0, 1fr) 36px; grid-template-areas: "cover info rm" "cover qty qty" "cover sub sub"; gap: 10px 16px; padding: 20px 0; }
  .bkp-item__sub { text-align: left; font-size: 1.2rem; }
  .bkp-item__name { font-size: 1.1rem; }
  .bkp-actions { flex-direction: column; align-items: stretch; }
  .bkp-coupon__row .input-text { flex: 1; width: auto; max-width: none; }
}

/* ---------- default WooCommerce notices (.woocommerce-info / -message /
   -error): used sitewide for "no active subscriptions", "confirm your email
   address to link past orders" etc. WooCommerce's own CSS gives these a
   left icon from its bundled icon font; when that font is not loaded the
   icon collapses to a blank glyph box, which is the odd little square the
   client is seeing. Replace with the same amber-rule treatment already used
   for the lost-password notice on the login page. ---------- */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  list-style: none;
  background: rgb(var(--sf-page));
  border: 1px solid rgb(var(--ln-ink) / 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  padding: 14px 18px;
  margin: 0 0 20px;
  font-family: Barlow, sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgb(var(--tx-sdark));
}
.woocommerce-error {
  border-left-color: #e03131;
}
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  content: none;
}
.woocommerce-info .button,
.woocommerce-message .button,
.woocommerce-error .button {
  order: 2;
  display: inline-flex;
  align-items: center;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 2px;
  padding: 9px 16px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.woocommerce-info .button:hover,
.woocommerce-message .button:hover,
.woocommerce-error .button:hover {
  background: #16181d;
  color: #fff;
}

/* ---------- custom password-reveal toggle (assets/js/account.js), replacing
   the inconsistent native browser reveal icon on password fields ---------- */
.pw-field { position: relative; display: block; }
.pw-field .pw-input { padding-right: 2.6rem !important; }
.pw-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 3px;
  color: #8a919c;
  transition: color 0.15s ease, background 0.15s ease;
}
.pw-toggle svg { width: 1.05rem; height: 1.05rem; }
.pw-toggle:hover,
.pw-toggle:focus-visible {
  color: rgb(var(--tx-ink));
  background: rgba(22, 24, 29, 0.06);
  outline: none;
}
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

/* ==========================================================================
   Subscription / bundle product pages (template-parts/subscription-product.php)
   ========================================================================== */
.sp { --sp-ink: #16181d; font-family: 'Barlow', sans-serif; }
.sp-wrap { max-width: 1344px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .sp-wrap { padding: 0 36px; } }

.sp-hero { position: relative; background: var(--sp-ink); color: #fff; overflow: hidden; }
.sp-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.sp-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, #16181d 8%, rgba(22,24,29,.72) 55%, rgba(22,24,29,.35)), linear-gradient(0deg, #16181d, transparent 40%); }
.sp-hero__in { position: relative; z-index: 2; display: grid; gap: 32px; padding-top: 32px; padding-bottom: 120px; align-items: end; }
@media (min-width: 1100px) { .sp-hero__in { grid-template-columns: minmax(0, 1fr) 460px; padding-top: 48px; padding-bottom: 150px; } }
.sp-hero__logo { display: block; margin-top: 32px; }
/* Title logos: WooCommerce's `.woocommerce-page img { height: auto }` beats a
   single class, so these are scoped under .sp and fixed to one height. */
.sp .sp-hero__logo img { display: block; height: 56px !important; width: auto !important; max-width: min(100%, 420px) !important; object-fit: contain; object-position: left center; }
.sp-eyebrow { display: block; margin-top: 24px; font: 600 .74rem/1 'Rajdhani', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--accent, #f49731); }
.sp-eyebrow--dark { margin-top: 0; color: var(--accent-deep, #c76902); }
.sp-hero__h1 { margin: 14px 0 0; font: 700 clamp(2.1rem, 5vw, 3.8rem)/.95 'Rajdhani', sans-serif; text-transform: uppercase; max-width: 20ch; }
.sp-hero__lede { margin: 20px 0 0; max-width: 52ch; font: 400 1.08rem/1.6 'Lora', serif; color: #d5d8dd; }

/* Covers here are landscape (the front cover as photographed), so the stack is built on width and keeps its real ratio. */
.sp-fan { position: relative; height: 260px; }
@media (min-width: 1100px) { .sp-fan { height: 330px; } }
.sp-fan__c { position: absolute; width: 62%; height: auto; object-fit: contain; }
.sp-fan__c--0 { left: 0; bottom: 0; transform: rotate(-4deg); opacity: .8; }
.sp-fan__c--1 { left: 12%; bottom: 17%; transform: rotate(-1.5deg); opacity: .9; }
.sp-fan__c--2 { left: 24%; bottom: 34%; transform: rotate(1.5deg); }
.sp-fan__c--3 { left: 36%; bottom: 51%; transform: rotate(4deg); }

.sp-buy { position: relative; z-index: 3; margin-top: -84px; display: grid; gap: 0; background: rgb(var(--sf-panel)); border: 1px solid rgb(var(--ln-ink) / .1); border-radius: 6px; overflow: hidden; }
@media (min-width: 900px) { .sp-buy { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.sp-buy__main { padding: 28px 22px; }
@media (min-width: 640px) { .sp-buy__main { padding: 40px 44px; } }
.sp-price { margin: 14px 0 0; font: 700 4.6rem/1 'Rajdhani', sans-serif; color: rgb(var(--tx-ink)); display: flex; align-items: baseline; gap: 2px; }
.sp-price span { font-size: 2.2rem; }
.sp-price small { margin-left: 12px; font: 500 1rem 'Barlow', sans-serif; color: rgb(var(--tx-muted)); }
.sp-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.sp-facts li { font: 600 1.05rem/1.2 'Rajdhani', sans-serif; color: rgb(var(--tx-ink)); }
.sp-facts b { display: block; margin-bottom: 4px; font: 600 .66rem/1 'Rajdhani', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--tx-muted)); }
.sp-cta { margin-top: 30px; }
.sp-cta form.cart { display: block; margin: 0; }
.sp-cta .quantity { display: none; }
.sp .sp-cta .single_add_to_cart_button.button.alt, .sp .sp-cta .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 17px 28px; border: 0; border-radius: 3px; background: var(--accent, #f49731); color: var(--accent-contrast, #16181d); font: 700 1.1rem/1 'Rajdhani', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .15s, transform .15s; }
@media (min-width: 640px) { .sp .sp-cta .single_add_to_cart_button.button.alt, .sp .sp-cta .single_add_to_cart_button { width: auto; min-width: 280px; } }
.sp .sp-cta .single_add_to_cart_button.button.alt:hover { background: var(--accent-deep, #c76902); }
.sp-cta .single_add_to_cart_button:focus-visible { outline: 3px solid var(--sp-ink); outline-offset: 3px; }
.sp-cta .price, .sp-cta .subscription-details, .sp-cta .stock { display: none; }
.sp-trust { margin: 14px 0 0; font-size: .86rem; color: rgb(var(--tx-muted)); }

.sp-switch { background: var(--sp-ink); color: #fff; padding: 28px 22px; }
@media (min-width: 640px) { .sp-switch { padding: 40px 36px; } }
.sp-switch__h { margin: 0 0 18px; font: 700 1.3rem/1.1 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.sp-switch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-switch__i { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; color: #fff; text-decoration: none; transition: border-color .15s, background .15s; }
.sp-switch__i:hover { border-color: var(--accent, #f49731); text-decoration: none; }
.sp-switch__i.is-current { border-color: var(--accent, #f49731); background: rgba(244,151,49,.1); }
.sp-switch__n { font: 600 1.02rem 'Rajdhani', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.sp-switch__p { font: 700 1.4rem 'Rajdhani', sans-serif; color: var(--accent, #f49731); }
.sp-switch__all { display: inline-block; margin-top: 18px; font: 600 .82rem 'Rajdhani', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #c6cad1; }
.sp-switch__all:hover { color: #fff; }

.sp-sec { padding: 56px 0; }
.sp-sec--paper { background: rgb(var(--sf-sec)); }
.sp-gets { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .sp-gets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sp-gets { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .sp-gets--3 .sp-get:last-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .sp-gets--3 { grid-template-columns: repeat(3, 1fr); } }
.sp-get { padding: 24px; background: rgb(var(--sf-panel)); border: 1px solid rgb(var(--ln-ink) / .1); border-top: 3px solid var(--accent, #f49731); border-radius: 4px; }
.sp-get h3 { margin: 0; font: 700 1.3rem/1.1 'Rajdhani', sans-serif; text-transform: uppercase; }
.sp-get p { margin: 10px 0 0; font-size: .95rem; line-height: 1.55; color: rgb(var(--tx-mid)); }

.sp-faq { display: grid; gap: 0 56px; margin-top: 28px; }
@media (min-width: 900px) { .sp-faq { grid-template-columns: 1fr 1fr; } }
.sp-faq__col { border-top: 1px solid rgb(var(--ln-ink) / .15); }
@media (max-width: 899px) { .sp-faq__col + .sp-faq__col { border-top: 0; } }
.sp-faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; background: none; border: 0; border-bottom: 1px solid rgb(var(--ln-ink) / .15); font: 700 1.2rem/1.2 'Rajdhani', sans-serif; text-align: left; cursor: pointer; color: rgb(var(--tx-ink)); }
.sp-faq__q span { flex: none; width: 12px; height: 12px; border-right: 2px solid var(--sp-ink); border-bottom: 2px solid var(--sp-ink); transform: rotate(45deg); transition: transform .2s; }
.sp-faq__q[aria-expanded="true"] span { transform: rotate(-135deg); }
.sp-faq__a { padding: 4px 4px 20px; border-bottom: 1px solid rgb(var(--ln-ink) / .15); }
.sp-faq__a p { margin: 0; max-width: 62ch; line-height: 1.6; color: rgb(var(--tx-mid)); }

.sp-rel { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 700px) { .sp-rel { grid-template-columns: repeat(2, 1fr); } }
.sp-rel__c { display: grid; grid-template-columns: minmax(150px, 42%) 1fr; background: var(--sp-ink); color: #fff; border-radius: 6px; overflow: hidden; text-decoration: none; transition: transform .2s; }
.sp-rel__c:hover { transform: translateY(-3px); text-decoration: none; }
.sp-rel__cover { display: grid; place-items: center; padding: 18px; background: #0f1114; }
.sp-rel__cover img { width: 100%; height: auto; display: block; }
.sp-rel__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; }
.sp-rel__logo { display: flex; align-items: center; height: 40px; max-width: 100%; }
.sp .sp-rel__logo img { display: block; height: 34px !important; width: auto !important; max-width: 100% !important; object-fit: contain; object-position: left center; }
.sp-rel__n { margin-top: 8px; font: 600 .72rem 'Rajdhani', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #9ca3af; }
.sp-rel__p { font: 700 2.2rem/1 'Rajdhani', sans-serif; color: #fff; }
.sp-rel__p small { margin-left: 8px; font: 500 .85rem 'Barlow', sans-serif; color: #9ca3af; }
.sp-rel__body .btn { margin-top: 10px; }

/* Empty basket (woocommerce/cart/cart-empty.php) */
.bkp-empty { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .bkp-empty { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.bkp-empty__msg { background: rgb(var(--sf-panel)); border-radius: 6px; padding: 36px 28px; }
@media (min-width: 640px) { .bkp-empty__msg { padding: 44px 40px; } }
.bkp-empty__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #16181d; }
.bkp-empty__icon svg { width: 24px; height: 24px; fill: var(--accent); }
.bkp-empty__h { margin: 22px 0 0; font: 700 clamp(1.8rem, 3vw, 2.3rem)/1 Rajdhani, sans-serif; text-transform: uppercase; color: rgb(var(--tx-ink)); }
.bkp-empty__p { margin: 12px 0 0; max-width: 40ch; font-size: 1rem; line-height: 1.6; color: rgb(var(--tx-sdark)); }
.bkp-empty__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.bkp-empty__cta .bkp-checkout { width: auto; margin: 0; padding: 16px 26px; }
.bkp-empty__latest .bkp-kicker { padding-bottom: 14px; border-bottom: 2px solid rgb(var(--tx-ink)); }
.bkp-empty__latest ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bkp-empty__latest li { display: flex; flex-direction: column; }
.bkp-empty__cover { display: block; margin-bottom: 14px; }
.bkp-empty__cover img { display: block; width: 100% !important; height: auto !important; border-radius: 3px; transition: transform .3s ease; }
.bkp-empty__cover:hover img { transform: translateY(-4px); }
.bkp-empty__name { font: 700 1.1rem/1.1 Rajdhani, sans-serif; text-transform: uppercase; color: rgb(var(--tx-ink)); text-decoration: none; }
.bkp-empty__name:hover { color: var(--accent-deep, #b55f00); }
.bkp-empty__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.bkp-empty__row b { font: 700 1.15rem Rajdhani, sans-serif; color: rgb(var(--tx-ink)); }
/* Was background: rgb(var(--tx-ink)); color: rgb(var(--sf-panel)) - an
   "inverted" pair meant to flip with the page (dark chip on the light page,
   which the ink/panel swap then turns into a near-white chip on the dark
   page in dark mode: a light area the client's dark-mode rule does not
   allow, and it never matched how every other "add to basket" control on
   the site is styled). Fixed amber, like .single_add_to_cart_button and
   .bkp-checkout: reads clearly on the page in both modes and now matches
   them, instead of inverting against it. */
.bkp-empty__add { padding: 9px 14px; border-radius: 3px; background: var(--accent); color: var(--accent-contrast); font: 700 .72rem/1 Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.bkp-empty__add:hover { background: var(--accent-deep); }
@media (max-width: 639px) {
  .bkp-empty__latest ul { grid-template-columns: 1fr; }
  .bkp-empty__latest li { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; align-content: start; }
  .bkp-empty__cover { grid-row: 1 / span 3; margin: 0; }
}

/* Plan switcher loading state (assets/js/sub-switch.js): spinner on the
   chosen plan, the buy card fades while the new plan loads. */
.sp-buy__main, .sp-hero__in { transition: opacity .25s ease; }
.sp.is-switching .sp-buy__main, .sp.is-switching .sp-hero__in { opacity: .35; pointer-events: none; }
.sp.is-switching .sp-switch__i:not(.is-loading) { opacity: .5; pointer-events: none; }
.sp-switch__i { position: relative; }
.sp-switch__i.is-loading { border-color: var(--accent, #f49731); }
.sp-switch__i.is-loading .sp-switch__p { visibility: hidden; }
.sp-switch__i.is-loading::after { content: ""; position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid rgba(244,151,49,.25); border-top-color: var(--accent, #f49731); border-radius: 50%; animation: bkpSpin .7s linear infinite; }
.sp.is-arriving .sp-buy__main, .sp.is-arriving .sp-hero__in { opacity: 0; }

/* View order: "Order again" is a site button in a footer strip of the items card, on the same 18px
   side padding as the table cells above it, with a hairline between (Bugpot XYFPLB). The markup is
   woocommerce/order/order-again.php. */
.woocommerce-account .order-again { display: flex; justify-content: flex-start; margin: 0; padding: 16px 18px; border-top: 1px solid rgb(var(--ln-ink) / .1); }
/* WooCommerce's own table rule (.woocommerce table.shop_table) outranks the reset further up, so on this
   page the items table kept a 1px outline, rounded corners and a 24px gap underneath inside the card. */
.woocommerce-account .woocommerce table.shop_table.order_details { border: 0; border-radius: 0; margin: 0; }

/* My account > Subscriptions before the customer has one (woocommerce/myaccount/my-subscriptions.php):
   the pitch, three perks, the three magazines with their yearly price, and one button (Bugpot XLE81M).
   The wording is Site settings → My account. The magazine boxes stay dark in both modes because the
   logos are white. */
.nosub { background: rgb(var(--sf-panel)); border: 1px solid rgb(var(--ln-ink) / .1); border-radius: 6px; padding: 28px 22px 26px; }
@media (min-width: 640px) { .nosub { padding: 40px 40px 36px; } }
.nosub__kicker { display: block; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .72rem; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); }
.nosub__title { margin: 10px 0 0; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: rgb(var(--tx-ink)); }
@media (min-width: 640px) { .nosub__title { font-size: 2.4rem; } }
.nosub__text { max-width: 60ch; margin: 16px 0 0; font-size: 1rem; line-height: 1.65; color: rgb(var(--tx-copy)); }
.nosub__perks { display: flex; flex-direction: column; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.nosub__perks li { display: flex; align-items: center; gap: 10px; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--tx-ink)); }
.nosub__perks li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.nosub__mags { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .nosub__mags { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nosub__mag { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 20px 16px 18px; background: #16181d; border: 1px solid rgb(255 255 255 / .08); border-radius: 4px; text-decoration: none; transition: border-color .15s ease; }
.nosub__mag:hover, .nosub__mag:focus-visible { border-color: var(--accent); }
.nosub__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; }
.nosub__mag img { display: block; width: auto; height: auto; max-width: min(150px, 100%); max-height: 42px; object-fit: contain; }
.nosub__mag-name { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.nosub__mag-price { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #c6cad1; }
@media (max-width: 639px) {
	/* on a phone each magazine is one slim row: logo left, price right */
	.nosub__mag { flex-direction: row; justify-content: space-between; gap: 14px; padding: 12px 16px; }
	.nosub__logo { width: 128px; height: 38px; justify-content: flex-start; }
	.nosub__mag img { max-width: min(128px, 100%); max-height: 34px; }
	.nosub__mag-price { text-align: right; line-height: 1.25; }
}
.nosub__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.nosub__link { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); text-decoration: none; }
.nosub__link:hover { text-decoration: underline; }

/* Basket: no PayPal Pay Later line under the total (dark summary, black text). */
.woocommerce-cart .cart_totals .ppcp-messages { display: none !important; }
