﻿/*
Theme Name: YRS Modern
Theme URI: https://store.yrsmidi.com/
Author: YRS MIDI
Description: Modern WooCommerce theme for high-conversion music retail.
Version: 1.0.0.2
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: yrs-modern
*/

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6778;
  --primary: #0f62fe;
  --primary-strong: #0043ce;
  --accent: #11a37f;
  --ring: rgba(15, 98, 254, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
  /* Sizing tuned to feel closer to Sweetwater's density at 100% zoom. */
  /* Wider, Sweetwater-like layout on desktop. */
  --container: min(1640px, 98vw);
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #0f172a;
  --text: #e5e7eb;
  --muted: #a3b0c2;
  --primary: #3b82f6;
  --primary-strong: #2563eb;
  --accent: #11a37f;
  --ring: rgba(59, 130, 246, 0.28);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: radial-gradient(circle at top right, #e8f0ff 0%, #f6f8fb 46%, #f3f6fb 100%);
  line-height: 1.55;
}
:root[data-theme="dark"] body {
  background: radial-gradient(circle at top right, rgba(59,130,246,.18) 0%, #0b1220 45%, #070b14 100%);
}
a { color: inherit; text-decoration: none; }
.yrs-container {
  width: var(--container);
  margin: 0 auto;
  padding-left: clamp(12px, 1.6vw, 22px);
  padding-right: clamp(12px, 1.6vw, 22px);
}
.yrs-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 251, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(17,24,39,.08); transition: box-shadow .2s ease; }
.yrs-header.is-scrolled { box-shadow: 0 8px 24px rgba(17,24,39,.08); }
:root[data-theme="dark"] .yrs-header { background: rgba(11, 18, 32, 0.92); border-bottom-color: rgba(229,231,235,.12); }
:root[data-theme="dark"] .yrs-header.is-scrolled { box-shadow: 0 12px 30px rgba(0,0,0,.55); }
:root[data-theme="dark"] .yrs-search form { background: rgba(15,23,42,.75); border-color: rgba(229,231,235,.16); }
:root[data-theme="dark"] .yrs-search input[type="search"] { color: var(--text); }
:root[data-theme="dark"] .yrs-cart { background: #0b1220; }
:root[data-theme="dark"] .yrs-cart span { background: #e5e7eb; color: #0b1220; }
.yrs-theme-toggle {
  border: 1px solid rgba(17,24,39,.12);
  background: var(--surface);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.yrs-theme-toggle:hover { box-shadow: 0 8px 20px rgba(17,24,39,.10); }
.yrs-theme-toggle:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.yrs-theme-toggle__icon {
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.64 13.65A9 9 0 0 1 10.35 2.36a.75.75 0 0 0-1.06-.86A10.5 10.5 0 1 0 22.5 14.71a.75.75 0 0 0-.86-1.06Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.64 13.65A9 9 0 0 1 10.35 2.36a.75.75 0 0 0-1.06-.86A10.5 10.5 0 1 0 22.5 14.71a.75.75 0 0 0-.86-1.06Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
:root[data-theme="dark"] .yrs-theme-toggle { border-color: rgba(229,231,235,.16); background: rgba(15,23,42,.8); }
:root[data-theme="dark"] .yrs-theme-toggle:hover { box-shadow: 0 10px 24px rgba(0,0,0,.45); }
:root[data-theme="dark"] .yrs-theme-toggle__icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0-14.25a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 12 2.75Zm0 18.5a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 12 21.25ZM2.75 12a.75.75 0 0 1 .75-.75v0h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 2.75 12Zm18.5 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM5.05 5.05a.75.75 0 0 1 1.06 0l.35.35a.75.75 0 1 1-1.06 1.06l-.35-.35a.75.75 0 0 1 0-1.06Zm12.49 12.49a.75.75 0 0 1 1.06 0l.35.35a.75.75 0 1 1-1.06 1.06l-.35-.35a.75.75 0 0 1 0-1.06ZM18.95 5.05a.75.75 0 0 1 0 1.06l-.35.35a.75.75 0 1 1-1.06-1.06l.35-.35a.75.75 0 0 1 1.06 0ZM6.46 17.54a.75.75 0 0 1 0 1.06l-.35.35a.75.75 0 0 1-1.06-1.06l.35-.35a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0-14.25a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 12 2.75Zm0 18.5a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 12 21.25ZM2.75 12a.75.75 0 0 1 .75-.75v0h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 2.75 12Zm18.5 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM5.05 5.05a.75.75 0 0 1 1.06 0l.35.35a.75.75 0 1 1-1.06 1.06l-.35-.35a.75.75 0 0 1 0-1.06Zm12.49 12.49a.75.75 0 0 1 1.06 0l.35.35a.75.75 0 1 1-1.06 1.06l-.35-.35a.75.75 0 0 1 0-1.06Zm1.41-12.49a.75.75 0 0 1 0 1.06l-.35.35a.75.75 0 1 1-1.06-1.06l.35-.35a.75.75 0 0 1 1.06 0ZM6.46 17.54a.75.75 0 0 1 0 1.06l-.35.35a.75.75 0 0 1-1.06-1.06l.35-.35a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.yrs-header-top { background: #111827; color: #fff; font-size: 13px; padding: 8px 0; }
.yrs-header-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}
.yrs-header-top-grid > span { white-space: nowrap; }
.yrs-header-top-grid > span:nth-child(1) { justify-self: start; text-align: left; }
.yrs-header-top-grid > span:nth-child(2) { justify-self: center; text-align: center; }
.yrs-header-top-grid > span:nth-child(3) { justify-self: end; text-align: right; }
@media (max-width: 900px) {
  .yrs-header-top-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .yrs-header-top-grid > span { justify-self: center; text-align: center; white-space: normal; }
}
.yrs-header-main { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 20px; padding: 16px 0; }
.yrs-logo { font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; }
.yrs-nav-list { margin: 0; padding: 0; list-style: none; display: flex; gap: 20px; font-weight: 600; color: var(--muted); }
.yrs-nav-list a:hover { color: var(--text); }
.yrs-header-tools { display: flex; align-items: center; gap: 12px; }
.yrs-search form { display: flex; align-items: center; background: var(--surface); border: 1px solid rgba(17,24,39,.12); border-radius: 999px; overflow: hidden; }
.yrs-search input[type="search"] { border: 0; background: transparent; padding: 10px 12px; width: 200px; outline: 0; }
.yrs-search button { border: 0; background: var(--primary); color: #fff; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.yrs-cart { background: #111827; color: #fff; padding: 10px 14px; border-radius: 999px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.yrs-cart span { background: #fff; color: #111827; min-width: 22px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; }
.yrs-main { min-height: 60vh; }
.yrs-hero { padding: 44px 0 20px; }
.yrs-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; }
.yrs-kicker { color: var(--primary-strong); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.yrs-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 8px 0 14px; }
.yrs-hero p { color: var(--muted); max-width: 62ch; }
.yrs-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.yrs-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border-radius: 12px; font-weight: 800; border: 1px solid transparent; }
.yrs-btn-primary { background: var(--primary); color: #fff; }
.yrs-btn-primary:hover { background: var(--primary-strong); }
.yrs-btn-ghost { background: transparent; border-color: rgba(17,24,39,.2); }
.yrs-hero-panel { background: linear-gradient(140deg, #111827, #1f2f49); color: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.yrs-hero-panel h2 { font-family: 'Sora', sans-serif; margin-top: 0; font-size: 1.3rem; }
.yrs-hero-panel ul { margin: 0; padding-left: 18px; }
.yrs-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px auto 36px; }
.yrs-strip-grid article { background: var(--surface); border-radius: var(--radius-sm); padding: 18px; border: 1px solid rgba(17,24,39,.08); }
.yrs-strip-grid h3 { margin: 0 0 8px; font-family: 'Sora', sans-serif; }
.yrs-strip-grid p { margin: 0; color: var(--muted); }
.yrs-section { margin: 28px auto; }
.yrs-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.yrs-section-head h2 { margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.yrs-section-head a { color: var(--primary-strong); font-weight: 700; }
.woocommerce ul.products { margin: 0 !important; display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--surface); border: 1px solid rgba(17,24,39,.08); border-radius: var(--radius-sm); padding: 12px; transition: transform .18s ease, box-shadow .18s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img { border-radius: 10px; margin-bottom: 12px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; line-height: 1.35; min-height: 2.7em; }
.woocommerce ul.products li.product .price { color: #111827 !important; font-weight: 800 !important; }
.woocommerce ul.products li.product a.button { width: 100%; text-align: center; background: var(--primary) !important; color: #fff !important; border-radius: 10px !important; font-weight: 800 !important; padding: 10px 12px !important; }
.woocommerce .quantity .qty, .woocommerce input[type="number"], .woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="password"], .woocommerce textarea, .woocommerce select { border-radius: 10px; border: 1px solid rgba(17,24,39,.2); padding: 10px 12px; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button { border-radius: 10px !important; font-weight: 800 !important; }
.single-product div.product { background: var(--surface); border: 1px solid rgba(17,24,39,.08); border-radius: var(--radius); padding: 20px; }
.yrs-content { background: var(--surface); margin: 28px auto; border-radius: var(--radius); padding: 24px; border: 1px solid rgba(17,24,39,.08); }
.yrs-newsletter { margin: 42px 0 18px; background: linear-gradient(125deg, #0f62fe, #11a37f); color: #fff; padding: 42px 0; }
.yrs-newsletter h2 { margin: 0 0 8px; font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
.yrs-newsletter p { margin-top: 0; max-width: 56ch; }
.yrs-footer { margin-top: 30px; background: #0f172a; color: #d7deea; }
.yrs-footer-grid { display: grid; grid-template-columns: 1.25fr .85fr .85fr 1.15fr; gap: 24px; padding: 34px 0; }
.yrs-footer h3 { color: #fff; margin: 0 0 8px; font-family: 'Sora', sans-serif; }
.yrs-footer ul { list-style: none; padding: 0; margin: 0; }
.yrs-footer li { margin: 6px 0; }
.yrs-footer-bottom { border-top: 1px solid rgba(255,255,255,.14); text-align: center; font-size: 13px; padding: 14px 12px; }
@media (max-width: 1100px) {
  .yrs-header-main { grid-template-columns: 1fr; gap: 12px; }
  .yrs-nav-list { flex-wrap: wrap; }
  .yrs-search input[type="search"] { width: 100%; }
  .yrs-hero-grid, .yrs-footer-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1700px) {
  :root { --container: min(1760px, 98vw); }
}
@media (max-width: 700px) {
  .yrs-strip-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .yrs-hero { padding-top: 26px; }
}

.yrs-urgency { background: linear-gradient(90deg, #0f62fe, #0043ce); color: #fff; }
.yrs-urgency .yrs-container { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 10px 0; }
.yrs-urgency p { margin: 0; font-size: 14px; }
.yrs-urgency a { color: #fff; font-weight: 800; text-decoration: underline; }
.yrs-certified-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  color: #17345f;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(238,244,252,.96)),
    repeating-linear-gradient(135deg, rgba(191,143,45,.16) 0 1px, transparent 1px 7px);
  border: 1px solid rgba(255,255,255,.9);
  outline: 1px solid rgba(191,143,45,.62);
  outline-offset: -4px;
  box-shadow: 0 10px 24px rgba(0,35,95,.22), inset 0 1px 0 rgba(255,255,255,.95);
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}
.yrs-certified-text { white-space: nowrap; }
.yrs-certified-seal {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #fff8dd 0 30%, transparent 31%),
    repeating-conic-gradient(from 0deg, #d7a83b 0deg 10deg, #f6d987 10deg 20deg);
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.82), inset 0 0 0 6px rgba(105,53,9,.18), 0 5px 13px rgba(0,29,79,.24);
}
.yrs-certified-seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 25%, #fff7d8, #d29b2e 78%);
  border: 1px solid rgba(105,53,9,.34);
}
.yrs-certified-seal::after {
  content: "Y";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 1000;
  color: #17345f;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}
@media (max-width: 700px) {
  .yrs-certified-badge { padding: 7px 11px 7px 8px; gap: 8px; font-size: 13px; }
  .yrs-certified-seal { width: 28px; height: 28px; flex-basis: 28px; }
}
.yrs-social-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px auto 20px; }
.yrs-social-proof article { background: #fff; border: 1px solid rgba(17,24,39,.08); border-radius: 12px; padding: 18px; text-align: center; }
.yrs-social-proof h3 { margin: 0; font-family: 'Sora', sans-serif; font-size: 1.75rem; }
.yrs-social-proof p { margin: 6px 0 0; color: var(--muted); }

.yrs-ebay-proof { margin: 16px auto 36px; }
.yrs-ebay-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.yrs-ebay-head h2 { margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.yrs-ebay-link { color: var(--primary-strong); font-weight: 800; }
.yrs-ebay-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yrs-ebay-card { background: #fff; border: 1px solid rgba(17,24,39,.08); border-radius: 12px; padding: 18px; text-align: center; }
.yrs-ebay-card h3 { margin: 0; font-family: 'Sora', sans-serif; font-size: 1.75rem; }
.yrs-ebay-card p { margin: 6px 0 0; color: var(--muted); }
.yrs-ebay-note { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }
.yrs-newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.yrs-newsletter-form input[type="email"] { min-width: 270px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.17); color: #fff; border-radius: 10px; padding: 11px 12px; }
.yrs-newsletter-form input::placeholder { color: rgba(255,255,255,.85); }
.yrs-newsletter-msg { margin-top: 10px; font-weight: 700; }
.yrs-page-hero { padding: 30px 0 12px; }
.yrs-page-hero h1 { margin: 4px 0 6px; font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.yrs-flow-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; margin: 6px auto 28px; }
.yrs-flow-main { background: #fff; border: 1px solid rgba(17,24,39,.08); border-radius: 16px; padding: 20px; }
.yrs-flow-aside { background: linear-gradient(140deg, #111827, #1f2f49); color: #fff; border-radius: 16px; padding: 20px; }
.yrs-flow-aside h3 { margin-top: 0; font-family: 'Sora', sans-serif; }
.yrs-flow-aside ul { margin: 0; padding-left: 18px; }
.yrs-product-shell { margin: 8px auto 26px; }
.yrs-product-shell .product { background: #fff; border: 1px solid rgba(17,24,39,.08); border-radius: 16px; padding: 22px; }
.yrs-product-shell div.product .images img { border-radius: 12px; }
.yrs-product-shell div.product .summary .price { font-size: 1.25rem; font-weight: 800; color: #111827; }
.yrs-single-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.yrs-single-highlights span { background: rgba(17,24,39,.06); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; color: #243042; }
.woocommerce-cart table.shop_table,
.woocommerce-checkout .woocommerce table.shop_table,
.woocommerce-checkout form.checkout,
.woocommerce-cart .cart_totals,
.woocommerce-checkout #payment {
  border: 1px solid rgba(17,24,39,.1) !important;
  border-radius: 14px !important;
  background: #fff;
}
.woocommerce-cart .cart_totals,
.woocommerce-checkout #payment { padding: 16px !important; }
.woocommerce .checkout-button,
.woocommerce #payment #place_order { background: var(--primary) !important; color: #fff !important; font-weight: 800 !important; border-radius: 10px !important; }
.yrs-utility-banner { margin: 0 0 14px; }
.yrs-utility-banner .yrs-container { background: #e9f2ff; color: #0c3d93; border: 1px solid #c9dcff; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
@media (max-width: 920px) {
  .yrs-social-proof, .yrs-flow-grid, .yrs-ebay-cards { grid-template-columns: 1fr; }
  .yrs-urgency .yrs-container { flex-direction: column; align-items: flex-start; }
}


.yrs-logo .custom-logo { width: auto; height: 70px; max-width: 351px; }
.yrs-nav-core { align-items: center; }
.yrs-mega-toggle {
  border: 0;
  background: #111827;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.yrs-mega-toggle:hover { background: #1f2937; }

.yrs-mega-panel {
  border-top: 1px solid rgba(17,24,39,.08);
  border-bottom: 1px solid rgba(17,24,39,.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.yrs-mega-panel .yrs-container { padding: 16px 0 20px; }
.yrs-mega-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.yrs-mega-head h2 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
}
.yrs-mega-head a { color: var(--primary-strong); font-weight: 700; }
.yrs-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  align-items: stretch;
}
.yrs-mega-card {
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 12px;
  padding: 12px;
  min-height: 100%;
}
.yrs-mega-card h3 {
  margin: 0;
  font-size: 15px;
  font-family: 'Sora', sans-serif;
}
.yrs-mega-card h3 a { color: #111827; }
.yrs-mega-card__meta {
  margin: 4px 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.yrs-mega-card ul { list-style: none; margin: 0; padding: 0; }
.yrs-mega-card li { margin: 6px 0; }
.yrs-mega-card li a { color: #4b5563; font-size: 14px; }
.yrs-mega-card li a:hover { color: var(--primary-strong); }
.yrs-mega-card.is-featured {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-color: rgba(63,109,173,.22);
}
.yrs-mega-card.is-featured .yrs-mega-card__meta { color: #3f6dad; }

.yrs-brand-strip-wrap {
  border-top: 1px solid rgba(17,24,39,.08);
  background: rgba(255,255,255,.9);
}
.yrs-brand-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.yrs-brand-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 800;
  color: #334155;
  white-space: nowrap;
}
.yrs-brand-links {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}
.yrs-brand-links a {
  white-space: nowrap;
  border: 1px solid rgba(17,24,39,.14);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}
.yrs-brand-links a:hover { border-color: var(--primary); color: var(--primary-strong); }

.yrs-brand-marquee {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.yrs-brand-marquee::before,
.yrs-brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 1;
}
.yrs-brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.yrs-brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.yrs-brand-marquee__track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  will-change: transform;
  animation-name: yrsBrandMarquee;
  animation-duration: var(--yrs-brand-marquee-duration, 320s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
}
.yrs-brand-marquee:hover .yrs-brand-marquee__track,
.yrs-brand-marquee:focus-within .yrs-brand-marquee__track {
  animation-play-state: paused;
}
.yrs-brand-logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.75);
  text-decoration: none;
}
.yrs-brand-logo img {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) saturate(.35);
  opacity: .72;
  transition: filter .18s ease, opacity .18s ease, transform .18s ease;
}
.yrs-brand-logo:hover img,
.yrs-brand-logo:focus-visible img {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}
.yrs-brand-logo__fallback {
  display: none;
  font-size: 12px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}
.yrs-brand-logo.is-missing .yrs-brand-logo__fallback { display: inline; }
.yrs-brand-logo.is-missing { background: rgba(248,250,252,.85); }

.yrs-stream-wrap {
  position: relative;
}
.yrs-stream-tap {
  position: absolute;
  inset: auto 12px 12px 12px;
  z-index: 5;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(11,18,32,.85);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.yrs-stream-tap:focus-visible { outline: 3px solid rgba(59,130,246,.6); outline-offset: 2px; }

.yrs-newsletter-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes yrsBrandMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 820px) {
  /* Mobile default: very slow. JS will fine-tune per device. */
  .yrs-brand-marquee__track {
    animation-duration: var(--yrs-brand-marquee-duration, 420s);
  }
}

@media (prefers-reduced-motion: reduce) {
  .yrs-brand-marquee { overflow-x: auto; scrollbar-width: none; }
  .yrs-brand-marquee::-webkit-scrollbar { display: none; }
  /* Keep it moving, but slower, even when reduce-motion is enabled. */
  .yrs-brand-marquee__track { animation-duration: 700s; padding-right: 24px; }
  .yrs-brand-marquee::before, .yrs-brand-marquee::after { display: none; }
}

@media (max-width: 1100px) {
  .yrs-logo .custom-logo { height: 57px; }
  .yrs-nav-core { flex-wrap: wrap; }
  .yrs-mega-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .yrs-header-tools { flex-direction: column; align-items: stretch; }
  .yrs-search input[type="search"] { width: 100%; }
  .yrs-mega-grid { grid-template-columns: 1fr; }
  .yrs-brand-strip { gap: 10px; }
  .yrs-brand-label { font-size: 11px; }
  .yrs-brand-logo { height: 32px; padding: 6px 10px; }
  .yrs-brand-logo img { height: 22px; max-width: 120px; }
}

/* Hide SKU numbers */
.sku_wrapper,
.woocommerce .sku_wrapper,
.product_meta .sku_wrapper,
.woocommerce-product-details__short-description .sku_wrapper {
  display: none !important;
}

/* HEADER POLISH V4 */
.yrs-header-top {
  font-size: 12px;
  padding: 7px 10px;
}
.yrs-header-main {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 10px 0;
}
.yrs-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}
.yrs-logo-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.yrs-logo-mark .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.yrs-logo-mark .custom-logo {
  height: clamp(62px, 6.75vw, 86px);
  width: auto;
  max-width: none;
  border-radius: 10px;
}
.yrs-logo-fallback {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
}
.yrs-nav {
  min-width: 0;
}
.yrs-nav-core {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
}
.yrs-mega-toggle {
  padding: 9px 14px;
}
.yrs-nav-core > a {
  font-size: 14px;
  color: #334155;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
}
.yrs-nav-core > a:hover {
  color: #0f62fe;
  background: #eaf1ff;
}
.yrs-header-tools {
  justify-self: end;
  gap: 8px;
}
.yrs-search form {
  border-radius: 999px;
}
.yrs-search input[type="search"] {
  width: 165px;
  padding: 9px 11px;
}
.yrs-search button {
  padding: 9px 12px;
}
.yrs-cart {
  padding: 9px 13px;
}
@media (max-width: 1100px) {
  .yrs-header-main {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .yrs-logo-mark .custom-logo {
    height: clamp(57px, 13.5vw, 76px);
  }
  .yrs-header-tools {
    justify-self: stretch;
  }
  .yrs-search input[type="search"] {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .yrs-nav-core {
    gap: 8px;
  }
  .yrs-nav-core > a {
    font-size: 13px;
    padding: 6px 9px;
  }
}


/* HEADER CONTRAST V5 */
.yrs-header-main {
  background: linear-gradient(90deg, rgba(15,23,42,0.98) 0%, rgba(15,23,42,0.92) 240px, rgba(255,255,255,0) 360px);
  border-radius: 14px;
  padding-left: 10px;
  padding-right: 10px;
}
.yrs-logo {
  padding: 6px 8px;
  border-radius: 12px;
}
.yrs-logo-mark .custom-logo-link {
  background: linear-gradient(145deg, #0b1220, #1e293b);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(15,23,42,.35);
}
.yrs-logo-mark .custom-logo {
  border-radius: 8px;
}
.yrs-nav-core > a {
  color: #1f2937;
}
.yrs-mega-toggle {
  box-shadow: 0 3px 10px rgba(17,24,39,.18);
}
@media (max-width: 1100px) {
  .yrs-header-main {
    background: linear-gradient(180deg, rgba(15,23,42,0.98) 0%, rgba(15,23,42,0.9) 76px, rgba(255,255,255,0) 160px);
  }
}


/* HEADER NO-HSCROLL V6 */
.yrs-header-main {
  overflow: visible;
}
.yrs-nav,
.yrs-nav-list,
.yrs-nav-core,
.yrs-brand-strip,
.yrs-brand-links {
  min-width: 0;
}
.yrs-nav-core {
  overflow-x: visible !important;
  white-space: normal !important;
  flex-wrap: nowrap !important;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 6px;
}
.yrs-nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.yrs-nav-row--top,
.yrs-nav-row--bottom {
  line-height: 1;
}
.yrs-nav-spacer {
  flex: 0 0 var(--yrs-nav-offset, 0px);
  width: var(--yrs-nav-offset, 0px);
  height: 1px;
}
.yrs-nav-row > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  font-size: 14px;
  line-height: 1;
  color: #334155;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.yrs-nav-row > a:hover {
  color: #0f62fe;
  background: #eaf1ff;
}
.yrs-nav-row > a,
.yrs-nav-row > button {
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  /* On narrow screens, let it wrap naturally. */
  .yrs-nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .yrs-nav-spacer { display: none; }
}
.yrs-brand-strip {
  flex-wrap: wrap;
  align-items: flex-start;
}
.yrs-brand-links {
  overflow-x: visible !important;
  white-space: normal !important;
  flex-wrap: wrap !important;
  row-gap: 8px;
}
.yrs-brand-links a {
  flex: 0 0 auto;
}
@media (max-width: 1100px) {
  .yrs-header-tools {
    flex-wrap: wrap;
  }
}


/* HEADER STATIC V7 */
.yrs-header {
  position: relative !important;
  top: auto !important;
  z-index: 10;
  backdrop-filter: none;
}
.yrs-header.is-scrolled {
  box-shadow: none;
}


/* HERO MEDIA V8 */
.yrs-hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.yrs-hero-media,
.yrs-hero-panel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
}
.yrs-slider-container,
.yrs-hero-panel .video-container {
  width: 100%;
  max-width: none !important;
}
.yrs-slider-container {
  background: linear-gradient(145deg, #0f172a, #253756);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}
.yrs-slider-image,
#store-video-loop {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  background: #0b1220;
}
.yrs-hero-panel {
  padding: 22px;
  border-radius: 28px;
}
#store-video-loop {
  min-height: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 920px) {
  .yrs-hero-grid {
    grid-template-columns: 1fr;
  }
}


/* UX TUNE V9 */
.yrs-skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: #0f62fe;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 9999;
}
.yrs-skip-link:focus {
  top: 12px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15,98,254,.35);
  outline-offset: 2px;
}
.yrs-header-top p {
  margin: 0;
}
.yrs-header-top {
  background: linear-gradient(90deg, #0f62fe, #0a4ec4);
  font-weight: 700;
}
.yrs-nav-core > a,
.yrs-brand-links a,
.yrs-btn,
.woocommerce ul.products li.product,
.woocommerce ul.products li.product a.button {
  transition: all .18s ease;
}
.yrs-btn:hover {
  transform: translateY(-1px);
}
.yrs-quick-help {
  margin-top: 8px;
  margin-bottom: 12px;
}
.yrs-quick-help-card {
  background: linear-gradient(135deg, #ffffff, #f5f9ff);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 16px;
}
.yrs-quick-help-card h2 {
  margin: 4px 0 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.25;
}
.yrs-quick-help-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.yrs-slider-image {
  opacity: 1;
}
.yrs-slider-image.is-loading {
  opacity: .7;
}
.yrs-flow-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yrs-flow-steps li {
  border: 1px solid rgba(17,24,39,.16);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  background: #fff;
}
.yrs-flow-steps li.is-active {
  color: #fff;
  background: #0f62fe;
  border-color: #0f62fe;
}
@media (max-width: 920px) {
  .yrs-quick-help-card {
    grid-template-columns: 1fr;
  }
  .yrs-quick-help-actions {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yrs-btn,
  .yrs-slider-image,
  .woocommerce ul.products li.product {
    transition: none !important;
  }
}


/* PRODUCT LISTING UX V10 */
.yrs-shop-toolbar {
  background: linear-gradient(160deg, #ffffff, #f6f9ff);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 14px;
}
.yrs-shop-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.yrs-shop-filter-title {
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 800;
  color: #334155;
  margin-right: 4px;
}
.yrs-filter-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17,24,39,.16);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  background: #fff;
}
.yrs-filter-chip:hover {
  border-color: #0f62fe;
  color: #0f62fe;
  background: #f1f6ff;
}
.yrs-filter-chip.is-active {
  background: #0f62fe;
  color: #fff;
  border-color: #0f62fe;
}
.yrs-shop-sort-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.woocommerce .yrs-shop-sort-row .woocommerce-result-count {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}
.woocommerce .yrs-shop-sort-row .woocommerce-ordering {
  float: none;
  margin: 0;
}
.woocommerce .yrs-shop-sort-row .orderby {
  border: 1px solid rgba(17,24,39,.18);
  border-radius: 10px;
  padding: 9px 12px;
  min-width: 220px;
  background: #fff;
  font-weight: 600;
}
.yrs-loop-cat {
  margin: 0 0 4px;
  color: #3b82f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f8fbff;
  border: 1px solid rgba(17,24,39,.06);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.woocommerce ul.products li.product .price {
  margin-top: auto;
  margin-bottom: 10px !important;
}
.woocommerce ul.products li.product a.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px !important;
}
@media (max-width: 920px) {
  .woocommerce .yrs-shop-sort-row .orderby {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .yrs-shop-toolbar {
    padding: 10px;
  }
  .yrs-filter-chip {
    min-height: 38px;
    font-size: 12px;
  }
  .woocommerce ul.products li.product {
    padding: 12px;
  }
  .woocommerce ul.products li.product a.button {
    min-height: 48px;
    font-size: 15px !important;
    font-weight: 800 !important;
  }
}

/* DARK MODE POLISH V13 - WCAG layered charcoal spec */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212;
  --surface: #1e1e1e;
  --surface-soft: #242424;
  --surface-raised: #2c2c2c;
  --surface-muted: #191919;
  --text: #e8e8e8;
  --text-strong: #f0f0f0;
  --muted: #a0a0a0;
  --muted-2: #6c6c6c;
  --primary: #8bb8ff;
  --primary-strong: #b7d0ff;
  --accent: #7fd8bf;
  --accent-warm: #e2bd77;
  --border-soft: rgba(232, 232, 232, .12);
  --border-strong: rgba(232, 232, 232, .24);
  --ring: rgba(139, 184, 255, .62);
  --shadow: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --bg: #121212;
    --surface: #1e1e1e;
    --surface-soft: #242424;
    --surface-raised: #2c2c2c;
    --surface-muted: #191919;
    --text: #e8e8e8;
    --text-strong: #f0f0f0;
    --muted: #a0a0a0;
    --muted-2: #6c6c6c;
    --primary: #8bb8ff;
    --primary-strong: #b7d0ff;
    --accent: #7fd8bf;
    --accent-warm: #e2bd77;
    --border-soft: rgba(232, 232, 232, .12);
    --border-strong: rgba(232, 232, 232, .24);
    --ring: rgba(139, 184, 255, .62);
    --shadow: none;
  }
}

:root[data-theme="dark"] body {
  background: #121212;
  color: var(--text);
}
:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4,
:root[data-theme="dark"] .entry-title,
:root[data-theme="dark"] .product_title { color: var(--text-strong) !important; }
:root[data-theme="dark"] p,
:root[data-theme="dark"] li,
:root[data-theme="dark"] .woocommerce-result-count { color: var(--muted); }
:root[data-theme="dark"] a {
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
:root[data-theme="dark"] .yrs-content a,
:root[data-theme="dark"] .entry-content a,
:root[data-theme="dark"] .woocommerce-product-details__short-description a { text-decoration: underline; }
:root[data-theme="dark"] a:hover { color: var(--primary-strong); }
:root[data-theme="dark"] a:focus-visible,
:root[data-theme="dark"] button:focus-visible,
:root[data-theme="dark"] input:focus-visible,
:root[data-theme="dark"] select:focus-visible,
:root[data-theme="dark"] textarea:focus-visible {
  outline: 3px solid var(--ring) !important;
  outline-offset: 3px;
}

:root[data-theme="dark"] .yrs-header {
  background: #121212;
  border-bottom-color: var(--border-soft);
}
:root[data-theme="dark"] .yrs-header-top {
  background: #1e1e1e;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
:root[data-theme="dark"] .yrs-header-main {
  background: #1e1e1e;
  border: 1px solid var(--border-soft);
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-logo-mark .custom-logo-link {
  background: #242424;
  border-color: var(--border-strong);
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-nav-row > a,
:root[data-theme="dark"] .yrs-nav-core > a {
  color: var(--text);
  background: #242424;
  border: 1px solid var(--border-soft);
}
:root[data-theme="dark"] .yrs-nav-row > a:hover,
:root[data-theme="dark"] .yrs-nav-core > a:hover {
  color: var(--text-strong);
  background: #2c2c2c;
  border-color: rgba(139, 184, 255, .42);
}
:root[data-theme="dark"] .yrs-mega-toggle {
  background: #345f9f;
  color: #f4f7fb;
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-mega-toggle:hover { background: #3f6dad; }
:root[data-theme="dark"] .yrs-theme-toggle,
:root[data-theme="dark"] .yrs-search form,
:root[data-theme="dark"] .woocommerce .yrs-shop-sort-row .orderby,
:root[data-theme="dark"] .woocommerce input[type="number"],
:root[data-theme="dark"] .woocommerce input[type="text"],
:root[data-theme="dark"] .woocommerce input[type="email"],
:root[data-theme="dark"] .woocommerce input[type="password"],
:root[data-theme="dark"] .woocommerce textarea,
:root[data-theme="dark"] .woocommerce select {
  background: #2c2c2c;
  border-color: var(--border-strong);
  color: var(--text);
}
:root[data-theme="dark"] .yrs-search input[type="search"] { color: var(--text); }
:root[data-theme="dark"] .yrs-search input::placeholder,
:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder { color: var(--muted-2); }
:root[data-theme="dark"] .yrs-search button,
:root[data-theme="dark"] .yrs-btn-primary,
:root[data-theme="dark"] .woocommerce ul.products li.product a.button,
:root[data-theme="dark"] .woocommerce .checkout-button,
:root[data-theme="dark"] .woocommerce #payment #place_order {
  background: #3f6dad !important;
  color: #f4f7fb !important;
  border: 1px solid rgba(183, 208, 255, .28) !important;
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-search button:hover,
:root[data-theme="dark"] .yrs-btn-primary:hover,
:root[data-theme="dark"] .woocommerce ul.products li.product a.button:hover { background: #4c7bbb !important; }
:root[data-theme="dark"] .yrs-btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: #242424;
}
:root[data-theme="dark"] .yrs-cart {
  background: #e0e0e0;
  color: #121212;
}
:root[data-theme="dark"] .yrs-cart span {
  background: #2c2c2c;
  color: #e8e8e8;
}

:root[data-theme="dark"] .yrs-brand-strip-wrap {
  background: #1a1a1a;
  border-top-color: var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
:root[data-theme="dark"] .yrs-brand-label,
:root[data-theme="dark"] .yrs-shop-filter-title { color: var(--muted); }
:root[data-theme="dark"] .yrs-brand-marquee::before { background: linear-gradient(90deg, #1a1a1a, rgba(26, 26, 26, 0)); }
:root[data-theme="dark"] .yrs-brand-marquee::after { background: linear-gradient(270deg, #1a1a1a, rgba(26, 26, 26, 0)); }
:root[data-theme="dark"] .yrs-brand-logo,
:root[data-theme="dark"] .yrs-brand-links a,
:root[data-theme="dark"] .yrs-filter-chip,
:root[data-theme="dark"] .yrs-flow-steps li,
:root[data-theme="dark"] .yrs-single-highlights span {
  background: #242424;
  border-color: var(--border-soft);
  color: var(--text);
}
:root[data-theme="dark"] .yrs-brand-logo__fallback { color: var(--text); }
:root[data-theme="dark"] .yrs-brand-logo img {
  filter: grayscale(100%) saturate(.45) brightness(1.06) contrast(.94);
  opacity: .82;
}
:root[data-theme="dark"] .yrs-brand-logo:hover img,
:root[data-theme="dark"] .yrs-brand-logo:focus-visible img { filter: none; opacity: 1; }
:root[data-theme="dark"] .yrs-filter-chip:hover,
:root[data-theme="dark"] .yrs-brand-links a:hover {
  background: #2c2c2c;
  color: var(--text-strong);
  border-color: rgba(139, 184, 255, .42);
}
:root[data-theme="dark"] .yrs-filter-chip.is-active,
:root[data-theme="dark"] .yrs-flow-steps li.is-active {
  background: #3f6dad;
  border-color: #3f6dad;
  color: #f4f7fb;
}

:root[data-theme="dark"] .yrs-social-proof article,
:root[data-theme="dark"] .yrs-ebay-card,
:root[data-theme="dark"] .yrs-flow-main,
:root[data-theme="dark"] .yrs-product-shell .product,
:root[data-theme="dark"] .single-product div.product,
:root[data-theme="dark"] .yrs-content,
:root[data-theme="dark"] .yrs-strip-grid article,
:root[data-theme="dark"] .woocommerce ul.products li.product,
:root[data-theme="dark"] .woocommerce-cart table.shop_table,
:root[data-theme="dark"] .woocommerce-checkout .woocommerce table.shop_table,
:root[data-theme="dark"] .woocommerce-checkout form.checkout,
:root[data-theme="dark"] .woocommerce-cart .cart_totals,
:root[data-theme="dark"] .woocommerce-checkout #payment {
  background: #1e1e1e;
  border-color: var(--border-soft) !important;
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-quick-help-card,
:root[data-theme="dark"] .yrs-mega-panel,
:root[data-theme="dark"] .yrs-shop-toolbar {
  background: #242424;
  border-color: var(--border-soft);
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-mega-card,
:root[data-theme="dark"] .woocommerce ul.products li.product:hover {
  background: #2c2c2c;
  border-color: var(--border-strong) !important;
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-mega-card.is-featured {
  background: linear-gradient(180deg, #223048 0%, #1f2937 100%);
  border-color: rgba(96,165,250,.28) !important;
}
:root[data-theme="dark"] .woocommerce ul.products li.product:nth-child(even) { background: #212121; }
:root[data-theme="dark"] .woocommerce ul.products li.product:hover { border-color: rgba(139, 184, 255, .42) !important; }
:root[data-theme="dark"] .yrs-mega-card h3 a,
:root[data-theme="dark"] .woocommerce ul.products li.product .woocommerce-loop-product__title,
:root[data-theme="dark"] .woocommerce-loop-product__title { color: var(--text-strong) !important; }
:root[data-theme="dark"] .yrs-mega-card__meta { color: #9fb4d8; }
:root[data-theme="dark"] .yrs-mega-card li a,
:root[data-theme="dark"] .woocommerce .yrs-shop-sort-row .woocommerce-result-count { color: var(--muted); }
:root[data-theme="dark"] .woocommerce ul.products li.product a img,
:root[data-theme="dark"] .yrs-slider-container {
  background: #2c2c2c;
  border-color: var(--border-soft);
}
:root[data-theme="dark"] .woocommerce ul.products li.product a img { filter: brightness(.94) contrast(.98); }
:root[data-theme="dark"] .woocommerce ul.products li.product .price,
:root[data-theme="dark"] .yrs-product-shell div.product .summary .price,
:root[data-theme="dark"] .price,
:root[data-theme="dark"] .amount { color: var(--accent-warm) !important; }
:root[data-theme="dark"] .yrs-loop-cat,
:root[data-theme="dark"] .yrs-kicker,
:root[data-theme="dark"] .yrs-section-head a,
:root[data-theme="dark"] .yrs-ebay-link,
:root[data-theme="dark"] .yrs-mega-head a {
  color: var(--primary-strong);
  font-weight: 800;
}
:root[data-theme="dark"] .yrs-hero-panel,
:root[data-theme="dark"] .yrs-flow-aside {
  background: #2c2c2c;
  border: 1px solid var(--border-soft);
  box-shadow: none;
}
:root[data-theme="dark"] .yrs-newsletter {
  background: #345f9f;
}
:root[data-theme="dark"] .yrs-urgency {
  background: #345f9f;
  color: #f4f7fb;
}
:root[data-theme="dark"] .yrs-certified-badge {
  color: #17345f;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(224,234,249,.96)),
    repeating-linear-gradient(135deg, rgba(191,143,45,.2) 0 1px, transparent 1px 7px);
  border-color: rgba(255,255,255,.88);
  outline-color: rgba(246,217,135,.72);
  box-shadow: 0 10px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.92);
}
:root[data-theme="dark"] .yrs-certified-seal { box-shadow: inset 0 0 0 2px rgba(255,255,255,.82), inset 0 0 0 6px rgba(105,53,9,.18), 0 5px 13px rgba(0,0,0,.28); }
:root[data-theme="dark"] .yrs-utility-banner .yrs-container {
  background: #242424;
  color: var(--text);
  border-color: var(--border-strong);
}
:root[data-theme="dark"] table,
:root[data-theme="dark"] .shop_table,
:root[data-theme="dark"] .woocommerce table.shop_table td,
:root[data-theme="dark"] .woocommerce table.shop_table th {
  color: var(--text);
  border-color: var(--border-soft) !important;
}
:root[data-theme="dark"] mark,
:root[data-theme="dark"] ins {
  background: rgba(226, 189, 119, .16);
  color: #f0d49a;
}

/* DARK MODE AUTO DEALS V14 */
:root[data-theme="dark"] .yrs-auto-deals {
  color: var(--text) !important;
}
:root[data-theme="dark"] .yrs-auto-deals h2 {
  color: var(--text-strong) !important;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-card {
  background: #1e1e1e !important;
  border-color: var(--border-soft) !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-card:hover {
  background: #242424 !important;
  border-color: rgba(139, 184, 255, .42) !important;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-image {
  background: #2c2c2c !important;
  border: 1px solid var(--border-soft) !important;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-image img {
  filter: brightness(.94) contrast(.98) !important;
}
:root[data-theme="dark"] .yrs-auto-deals h3,
:root[data-theme="dark"] .yrs-auto-deals h3 a {
  color: var(--text-strong) !important;
}
:root[data-theme="dark"] .yrs-auto-deals h3 a:hover {
  color: var(--primary-strong) !important;
  text-decoration: underline;
  text-underline-offset: .18em;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-sku {
  color: var(--muted) !important;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-price {
  color: var(--accent-warm) !important;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-cta a {
  background: #3f6dad !important;
  color: #f4f7fb !important;
  border: 1px solid rgba(183, 208, 255, .28) !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-cta a:hover,
:root[data-theme="dark"] .yrs-auto-deals .yrs-deal-cta a:focus-visible {
  background: #4c7bbb !important;
  color: #ffffff !important;
}

/* DARK MODE HOMEPAGE BESTSELLERS */
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bestsellers-page {
  background: transparent !important;
  color: var(--text) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-tabs-container {
  color: var(--text) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-tab {
  background: rgba(15, 23, 42, .82) !important;
  border-color: var(--border-soft) !important;
  color: var(--muted) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-tab:hover {
  background: #242424 !important;
  border-color: rgba(139, 184, 255, .36) !important;
  color: var(--text-strong) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-tab.active {
  background: #3f6dad !important;
  border-color: rgba(183, 208, 255, .38) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-card {
  background: #1e1e1e !important;
  border-color: var(--border-soft) !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-card:hover {
  background: #242424 !important;
  border-color: rgba(139, 184, 255, .42) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-image {
  background: #2c2c2c !important;
  border-color: var(--border-soft) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-image img {
  filter: brightness(.94) contrast(.98) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-card h3,
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-card h3 a {
  color: var(--text-strong) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-card h3 a:hover {
  color: var(--primary-strong) !important;
  text-decoration: underline;
  text-underline-offset: .18em;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-tagline {
  color: var(--muted) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-price-row {
  border-top-color: var(--border-soft) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-price,
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-price-now {
  color: var(--accent-warm) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-price-old {
  color: var(--muted-2) !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-cta a {
  background: #3f6dad !important;
  color: #f4f7fb !important;
  border: 1px solid rgba(183, 208, 255, .28) !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-cta a:hover,
:root[data-theme="dark"] .yrs-home-bestsellers-source .yrs-bs-cta a:focus-visible {
  background: #4c7bbb !important;
  color: #ffffff !important;
}



@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .yrs-container {
    width: 100%;
    max-width: 100%;
  }

  .yrs-header-top-grid,
  .yrs-urgency .yrs-container,
  .yrs-quick-help-card,
  .yrs-hero-grid {
    min-width: 0;
  }
}


@media (max-width: 420px) {
  .yrs-header-top-grid {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}


.yrs-footer-install {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255,255,255,.06);
}
.yrs-footer-install p {
  margin: 0 0 12px;
  color: #b9c5d8;
}
.yrs-pwa-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #f6d987;
  color: #17345f;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.yrs-pwa-install-btn:hover,
.yrs-pwa-install-btn:focus-visible {
  background: #ffe6a8;
}
.yrs-pwa-install-btn:focus-visible {
  outline: 3px solid rgba(246,217,135,.45);
  outline-offset: 2px;
}
.yrs-pwa-install-status {
  margin-top: 10px !important;
  font-size: 13px;
  line-height: 1.45;
}
:root[data-theme="dark"] .yrs-footer-install {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
@media (max-width: 700px) {
  .yrs-footer-install {
    padding: 14px;
  }
  .yrs-pwa-install-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .yrs-mobile-hidden-stream,
  .yrs-mobile-hidden-stream .yrs-stream-wrap,
  .yrs-mobile-hidden-stream #store-video-loop,
  .yrs-mobile-hidden-stream .yrs-stream-tap {
    display: none !important;
  }
}



/* YRS user-supplied 36 years badge image */
.yrs-certified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
.yrs-certified-badge-image {
  display: block;
  width: auto;
  height: 48px;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.18));
}
@media (max-width: 700px) {
  .yrs-certified-badge-image {
    height: 46px;
    max-width: min(300px, 100%);
  }
}


/* HEADER NAV STABILITY V10 */
:root {
  --yrs-nav-button-width: clamp(150px, 15vw, 184px);
}

.yrs-nav {
  align-self: center;
}

.yrs-nav-core {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px !important;
  width: 100%;
  min-width: 0;
  overflow: visible !important;
  white-space: normal !important;
}

.yrs-nav-row {
  display: grid !important;
  align-items: center;
  gap: 10px !important;
  width: 100%;
}

.yrs-nav-row--top {
  grid-template-columns: minmax(150px, var(--yrs-nav-button-width)) repeat(2, minmax(0, max-content));
}

.yrs-nav-row--bottom {
  grid-template-columns: minmax(150px, var(--yrs-nav-button-width)) repeat(3, minmax(0, max-content));
}

.yrs-nav-spacer {
  display: block !important;
  width: 100%;
  min-width: 0;
  height: 1px;
}

.yrs-nav-row > a,
.yrs-nav-row > button {
  min-height: 40px;
}

.yrs-mega-toggle {
  width: 100%;
  justify-content: center;
  padding-inline: 14px;
}

@media (max-width: 1320px) {
  .yrs-header-main {
    grid-template-columns: 164px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .yrs-search input[type="search"] {
    width: min(210px, 100%);
  }

  .yrs-nav-row--top {
    grid-template-columns: minmax(146px, 174px) repeat(2, minmax(0, max-content));
  }

  .yrs-nav-row--bottom {
    grid-template-columns: minmax(146px, 174px) repeat(3, minmax(0, max-content));
  }
}

@media (max-width: 980px) {
  .yrs-header-main {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .yrs-nav {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .yrs-nav::-webkit-scrollbar {
    display: none;
  }

  .yrs-nav-core {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    min-width: max-content !important;
  }

  .yrs-nav-row {
    display: contents !important;
  }

  .yrs-nav-spacer {
    display: none !important;
  }

  .yrs-header-tools {
    justify-self: stretch;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .yrs-nav-row {
    gap: 8px !important;
  }

  .yrs-nav-row > a,
  .yrs-nav-row > button {
    min-height: 38px;
    padding: 7px 9px !important;
    font-size: 13px !important;
  }

  .yrs-nav-row--top,
  .yrs-nav-row--bottom {
    justify-content: start;
  }
}

@media (max-width: 700px) {
  .yrs-nav-core {
    gap: 7px !important;
  }

  .yrs-nav-row > a,
  .yrs-nav-row > button {
    min-height: 36px;
    padding: 7px 11px !important;
    font-size: 13px !important;
  }
}


/* BEST SELLERS DARK MODE */
:root[data-theme="dark"] .yrs-bestsellers-page {
  background: transparent !important;
  color: var(--text) !important;
}

:root[data-theme="dark"] .yrs-bs-header h1 {
  color: var(--text-strong) !important;
}

:root[data-theme="dark"] .yrs-bs-header p,
:root[data-theme="dark"] .yrs-bs-tagline {
  color: var(--muted) !important;
}

:root[data-theme="dark"] .yrs-bs-tab {
  background: #242424 !important;
  border-color: var(--border-soft) !important;
  color: var(--text) !important;
}

:root[data-theme="dark"] .yrs-bs-tab:hover {
  background: #2c2c2c !important;
  border-color: var(--border-strong) !important;
  color: var(--text-strong) !important;
}

:root[data-theme="dark"] .yrs-bs-tab.active {
  background: #3f6dad !important;
  border-color: #3f6dad !important;
  color: #f4f7fb !important;
  box-shadow: 0 8px 22px rgba(63, 109, 173, .28) !important;
}

:root[data-theme="dark"] .yrs-bs-card {
  background: #1e1e1e !important;
  border-color: var(--border-soft) !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] .yrs-bs-card:hover {
  background: #2c2c2c !important;
  border-color: rgba(139, 184, 255, .42) !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] .yrs-bs-image {
  background: #2c2c2c !important;
  border-color: var(--border-soft) !important;
}

:root[data-theme="dark"] .yrs-bs-image img {
  filter: brightness(.94) contrast(.98);
}

:root[data-theme="dark"] .yrs-bs-card h3 a {
  color: var(--text-strong) !important;
}

:root[data-theme="dark"] .yrs-bs-card h3 a:hover {
  color: var(--primary-strong) !important;
}

:root[data-theme="dark"] .yrs-bs-price-row {
  border-top-color: var(--border-soft) !important;
}

:root[data-theme="dark"] .yrs-bs-price {
  color: var(--accent-warm) !important;
}

:root[data-theme="dark"] .yrs-bs-price-now {
  color: #ff8aa5 !important;
}

:root[data-theme="dark"] .yrs-bs-price-old {
  color: var(--muted-2) !important;
}

:root[data-theme="dark"] .yrs-bs-cta a {
  background: #3f6dad !important;
  color: #fff !important;
}

:root[data-theme="dark"] .yrs-bs-cta a:hover {
  background: #4c7bbb !important;
}

/* MOBILE PROOF SECTION REORDER */
.yrs-mobile-proof-relocated {
  display: none;
}

@media (max-width: 767px) {
  .yrs-mobile-proof-original {
    display: none !important;
  }

  .yrs-mobile-proof-relocated.yrs-social-proof {
    display: grid;
    margin-top: 26px;
    margin-bottom: 14px;
  }

  .yrs-mobile-proof-relocated.yrs-ebay-proof {
    display: block;
    margin-top: 14px;
    margin-bottom: 26px;
  }
}

