:root {
  --ruyee-ink: #17202b;
  --ruyee-muted: #5f6f82;
  --ruyee-line: #dbe3eb;
  --ruyee-paper: #f5f7fa;
  --ruyee-white: #fff;
  --ruyee-yellow: #ffc934;
  --ruyee-dark: #101820;
  --ruyee-blue: #1e5f9e;
  --ruyee-green: #16734f;
  --ruyee-amber: #8a6100;
}

body {
  color: var(--ruyee-ink);
  background: var(--ruyee-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  margin: 0;
}

.ruyee-storefront-body a {
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.ruyee-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.ruyee-bar {
  background: var(--ruyee-dark);
  color: #edf3f8;
  font-size: 13px;
}

.ruyee-bar .ruyee-wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ruyee-head {
  background: #fff;
  border-bottom: 1px solid var(--ruyee-line);
}

.ruyee-head .ruyee-wrap {
  min-height: 82px;
  display: grid;
  grid-template-columns: 240px minmax(240px, 1fr) 170px;
  gap: 22px;
  align-items: center;
}

.ruyee-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ruyee-ink);
  font-weight: 900;
  text-decoration: none;
}

.ruyee-brand small {
  display: block;
  color: var(--ruyee-muted);
  font-size: 12px;
  margin-top: 2px;
}

.ruyee-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ruyee-yellow);
  color: #111;
  font-size: 10px;
  line-height: .9;
}

.ruyee-search {
  display: grid;
  grid-template-columns: 1fr 116px;
  border: 2px solid var(--ruyee-dark);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.ruyee-search input[type="search"] {
  border: 0;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
}

.ruyee-search button {
  border: 0;
  background: var(--ruyee-yellow);
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.ruyee-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  font-weight: 800;
}

.ruyee-cart,
.ruyee-mini,
.ruyee-btn {
  min-height: 40px;
  border-radius: 6px;
  background: var(--ruyee-dark);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.ruyee-cart { min-width: 82px; }
.ruyee-mini { min-height: 38px; padding: 0 12px; }
.ruyee-btn { padding: 0 16px; }

.ruyee-nav {
  background: #fff;
  border-bottom: 1px solid var(--ruyee-line);
}

.ruyee-nav .ruyee-wrap {
  min-height: 48px;
  display: flex;
  gap: 26px;
  align-items: center;
  overflow-x: auto;
  font-weight: 900;
  font-size: 14px;
}

.ruyee-nav a { color: var(--ruyee-ink); text-decoration: none; }

.ruyee-page-hero,
.ruyee-guide-hero {
  background: #fff;
  border-bottom: 1px solid var(--ruyee-line);
}

.ruyee-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: end;
  padding: 28px 0 34px;
}

.ruyee-breadcrumb {
  padding: 18px 0 0;
  color: var(--ruyee-muted);
  font-size: 13px;
}

.ruyee-page-hero h1,
.ruyee-guide-hero h1,
.ruyee-detail-summary h1 {
  margin: 8px 0 10px;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
}

.ruyee-lead {
  max-width: 760px;
  color: var(--ruyee-muted);
  font-size: 18px;
  margin: 0;
}

.ruyee-hero-note,
.ruyee-callout {
  border-left: 5px solid var(--ruyee-yellow);
  background: #fff8df;
  padding: 16px;
}

.ruyee-hero-note {
  border: 1px solid var(--ruyee-line);
  border-left: 1px solid var(--ruyee-line);
  border-radius: 8px;
  background: #eef3f7;
  padding: 18px;
}

.ruyee-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0 56px;
  align-items: start;
}

.ruyee-shop-layout.no-sidebar {
  grid-template-columns: 1fr;
}

.ruyee-layout > * {
  min-width: 0;
}

.ruyee-filters,
.ruyee-panel,
.ruyee-product-card,
.ruyee-article,
.ruyee-toc,
.ruyee-product-detail,
.ruyee-product-info,
.ruyee-article-product-pick {
  background: #fff;
  border: 1px solid var(--ruyee-line);
  border-radius: 8px;
}

.ruyee-filters {
  align-self: start;
  padding: 18px;
  position: sticky;
  top: 12px;
}

.ruyee-filter-group {
  border-top: 1px solid var(--ruyee-line);
  padding-top: 14px;
  margin-top: 14px;
}

.ruyee-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

ul.products,
.products.ruyee-product-grid,
.ruyee-product-grid,
.ruyee-post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce ul.products,
body.woocommerce-page ul.products,
.ruyee-storefront-body ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.woocommerce ul.products::before,
body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after,
.ruyee-storefront-body ul.products::before,
.ruyee-storefront-body ul.products::after {
  content: none !important;
  display: none !important;
}

ul.products li.product.ruyee-product-card {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}

body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
.ruyee-storefront-body ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}

.ruyee-home-products.ruyee-product-grid,
.ruyee-storefront-body ul.products.ruyee-home-products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.ruyee-product-card {
  min-height: 365px;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
}

.ruyee-product-image {
  min-height: 170px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--ruyee-line);
  background: linear-gradient(135deg, #edf3f7, #fff);
}

.ruyee-product-image img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.ruyee-product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ruyee-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ruyee-badge {
  border-radius: 999px;
  padding: 3px 7px;
  background: #eef3f7;
  color: #46566b;
  font-size: 12px;
  font-weight: 800;
}

.ruyee-badge.green { background: #e4f5ee; color: var(--ruyee-green); }
.ruyee-badge.warn { background: #fff3ce; color: var(--ruyee-amber); }

.ruyee-product-card h2,
.ruyee-product-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.ruyee-product-card p {
  margin: 0;
  color: var(--ruyee-muted);
  font-size: 13px;
}

.ruyee-price-row,
.ruyee-buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ruyee-price,
.ruyee-detail-price {
  font-size: 22px;
  font-weight: 900;
}

.ruyee-content-stack { display: grid; gap: 18px; }
.ruyee-panel { padding: 18px; }

.ruyee-home-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 58%, rgba(255,255,255,.62) 100%),
    radial-gradient(circle at 82% 24%, rgba(255,201,52,.32), transparent 28%),
    linear-gradient(135deg, #f7fafc, #eef3f7);
  border-bottom: 1px solid var(--ruyee-line);
}

.ruyee-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: center;
  padding: 56px 0;
}

.ruyee-home-hero h1 {
  margin: 8px 0 14px;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

.ruyee-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ruyee-cta,
.ruyee-secondary {
  min-height: 46px;
  border-radius: 6px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.ruyee-cta { background: var(--ruyee-yellow); color: #111; }
.ruyee-secondary { background: var(--ruyee-dark); color: #fff !important; }

.ruyee-finder-card,
.ruyee-empty-products,
.ruyee-seo-section {
  background: #fff;
  border: 1px solid var(--ruyee-line);
  border-radius: 8px;
  padding: 22px;
}

.ruyee-finder-card {
  box-shadow: 0 18px 40px rgba(23, 32, 43, .08);
}

.ruyee-finder-card h2 { margin-top: 0; }

.ruyee-finder-form {
  display: grid;
  gap: 8px;
}

.ruyee-finder-form label {
  color: var(--ruyee-muted);
  font-size: 13px;
  font-weight: 800;
}

.ruyee-finder-form input {
  min-height: 44px;
  border: 1px solid var(--ruyee-line);
  border-radius: 6px;
  padding: 0 12px;
}

.ruyee-finder-form button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--ruyee-yellow);
  font-weight: 900;
}

.ruyee-section {
  padding: 38px 0;
}

.ruyee-home .ruyee-section + .ruyee-section {
  padding-top: 18px;
}

.ruyee-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.ruyee-section-head h2 { margin: 0; font-size: 32px; }
.ruyee-section-head p { max-width: 520px; margin: 0; color: var(--ruyee-muted); }

.ruyee-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ruyee-category-card {
  min-height: 130px;
  border: 1px solid var(--ruyee-line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  display: grid;
  align-content: space-between;
  color: var(--ruyee-ink);
  text-decoration: none;
}

.ruyee-category-card:hover {
  border-color: #b9c8d7;
  background: #fbfcfd;
}

.ruyee-category-card strong {
  font-size: 20px;
}

.ruyee-category-card span {
  color: var(--ruyee-muted);
  font-size: 14px;
}

.ruyee-category-card em {
  color: var(--ruyee-green);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.ruyee-page-shell {
  padding: 34px 0 56px;
}

.ruyee-policy-hero {
  padding: clamp(24px, 4vw, 42px);
  margin-bottom: 18px;
}

.ruyee-policy-hero h1 {
  margin: 6px 0 12px;
  max-width: 780px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
}

.ruyee-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ruyee-policy-grid .ruyee-panel,
.ruyee-page-content > .ruyee-panel:not(.ruyee-policy-hero) {
  padding: 22px;
}

.ruyee-page-content h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.ruyee-page-content h2 + p,
.ruyee-page-content p + h2,
.ruyee-page-content ul + h2 {
  margin-top: 24px;
}

.ruyee-page-content p,
.ruyee-page-content li {
  color: #344456;
  font-size: 16px;
}

.ruyee-phase-hero {
  background: #fff;
  border-bottom: 1px solid var(--ruyee-line);
}

.ruyee-phase-hero-grid {
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
}

.ruyee-phase-hero-main {
  min-height: 405px;
  border-radius: 8px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,14,22,.92), rgba(7,14,22,.68) 54%, rgba(7,14,22,.08)),
    var(--ruyee-hero-image) center / cover no-repeat;
}

.ruyee-phase-pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.1);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
}

.ruyee-phase-hero-main h1,
.ruyee-phase-hero-main .ruyee-hero-title {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

.ruyee-phase-hero-main p {
  max-width: 660px;
  margin: 0 0 22px;
  color: #e9eef5;
  font-size: 18px;
}

.ruyee-phase-side {
  display: grid;
  gap: 18px;
}

.ruyee-side-card {
  min-height: 193px;
  border: 1px solid var(--ruyee-line);
  border-radius: 8px;
  background: #edf3f7;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ruyee-side-card b {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.ruyee-side-card span {
  color: var(--ruyee-muted);
}

.ruyee-static-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ruyee-static-product,
.ruyee-note,
.ruyee-trust,
.ruyee-guide,
.ruyee-brand-card {
  background: #fff;
  border: 1px solid var(--ruyee-line);
  border-radius: 8px;
}

.ruyee-static-product {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
}

.ruyee-product-symbol {
  min-height: 132px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf3f7, #fff);
  border-bottom: 1px solid var(--ruyee-line);
  color: #46566b;
  font-weight: 900;
  font-size: 34px;
}

.ruyee-static-product h3 {
  margin: 0;
  font-size: 16px;
}

.ruyee-static-product p {
  margin: 0;
  color: var(--ruyee-muted);
  font-size: 13px;
}

.ruyee-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ruyee-brand-card {
  padding: 18px;
}

.ruyee-brand-card strong {
  display: block;
  margin-bottom: 10px;
}

.ruyee-brand-card a {
  display: block;
  color: var(--ruyee-blue);
  font-size: 13px;
  font-weight: 800;
  margin: 4px 0;
  text-decoration: none;
}

.ruyee-note {
  padding: 20px;
  border-left: 5px solid var(--ruyee-yellow);
}

.ruyee-note p,
.ruyee-trust p,
.ruyee-guide p {
  color: var(--ruyee-muted);
  margin-bottom: 0;
}

.ruyee-finder-band {
  background: var(--ruyee-dark);
  color: #fff;
}

.ruyee-finder-band .ruyee-section-head p {
  color: #c9d4df;
}

.ruyee-finder {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 140px;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.ruyee-finder select {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
}

.ruyee-trust-grid,
.ruyee-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ruyee-trust,
.ruyee-guide {
  padding: 18px;
}

.ruyee-empty-products {
  border-left: 5px solid var(--ruyee-yellow);
}

.ruyee-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 34px 0 56px;
}

.ruyee-article {
  padding: clamp(22px, 4vw, 42px);
}

.ruyee-article-content h2 {
  margin-top: 34px;
  font-size: 28px;
  line-height: 1.15;
}

.ruyee-article-content p,
.ruyee-article-content li {
  color: #344456;
}

.ruyee-toc {
  align-self: start;
  position: sticky;
  top: 12px;
  padding: 18px;
}

.ruyee-toc a {
  display: block;
  color: var(--ruyee-blue);
  font-weight: 800;
  margin: 8px 0;
}

.ruyee-article-product-pick {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  margin: 26px 0;
  overflow: hidden;
  background: #fbfcfd;
}

.ruyee-product-media {
  min-height: 100%;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--ruyee-line);
  background: linear-gradient(135deg, #eef3f7, #fff);
}

.ruyee-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ruyee-pick-body {
  padding: 18px 18px 18px 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ruyee-kicker {
  margin: 0 0 8px;
  color: var(--ruyee-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ruyee-buy {
  border-top: 1px solid var(--ruyee-line);
  padding-top: 16px;
}

.ruyee-buy small {
  display: block;
  color: var(--ruyee-muted);
  font-size: 12px;
  font-weight: 700;
}

.ruyee-single-product {
  padding: 24px 0 56px;
}

.ruyee-product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
}

.ruyee-detail-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--ruyee-line);
}

.ruyee-detail-summary {
  display: grid;
  align-content: start;
  gap: 16px;
}

.ruyee-purchase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.ruyee-detail-summary form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 0;
  width: auto;
  flex: 0 1 auto;
}

.ruyee-detail-summary form.cart::before,
.ruyee-detail-summary form.cart::after {
  content: none !important;
  display: none !important;
}

.ruyee-detail-summary form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}

.ruyee-detail-summary form.cart .quantity .qty {
  width: 72px;
  min-height: 50px;
  border: 2px solid var(--ruyee-dark);
  border-radius: 6px;
  background: #fff;
  color: var(--ruyee-ink);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.ruyee-detail-summary form.cart .single_add_to_cart_button,
.ruyee-detail-summary form.cart button.single_add_to_cart_button,
.ruyee-detail-summary .single_add_to_cart_button.button.alt {
  min-height: 50px;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 2px solid var(--ruyee-yellow) !important;
  border-radius: 6px !important;
  background: var(--ruyee-yellow) !important;
  color: #111 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(255, 201, 52, .22);
  white-space: nowrap;
}

.ruyee-detail-summary form.cart .single_add_to_cart_button:hover,
.ruyee-detail-summary form.cart button.single_add_to_cart_button:hover,
.ruyee-detail-summary .single_add_to_cart_button.button.alt:hover {
  background: #ffd85d !important;
  border-color: #ffd85d !important;
  color: #111 !important;
}

.ruyee-buy-now {
  width: fit-content;
  flex: 0 0 auto;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--ruyee-dark);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.ruyee-product-info {
  margin-top: 18px;
  padding: 24px;
}

.ruyee-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(16, 24, 32, .38);
  opacity: 0;
  transition: opacity .18s ease;
}

.ruyee-cart-overlay.is-open {
  opacity: 1;
}

.ruyee-cart-drawer {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: min(390px, 100vw);
  height: 100vh;
  padding: 26px;
  background: #fff;
  box-shadow: -18px 0 40px rgba(16, 24, 32, .18);
  transform: translateX(105%);
  transition: transform .22s ease;
  overflow-y: auto;
}

.ruyee-cart-drawer.is-open {
  transform: translateX(0);
}

.ruyee-cart-drawer h2 {
  margin: 0 44px 18px 0;
  font-size: 32px;
  line-height: 1.05;
}

.ruyee-cart-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ruyee-line);
  border-radius: 6px;
  background: #fff;
  color: var(--ruyee-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ruyee-cart-lines {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.ruyee-cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--ruyee-line);
  border-radius: 8px;
  padding: 10px;
}

.ruyee-cart-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.ruyee-cart-line strong,
.ruyee-cart-line small {
  display: block;
}

.ruyee-cart-line small {
  color: var(--ruyee-muted);
  margin-top: 4px;
}

.ruyee-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ruyee-footer {
  background: #0c1218;
  color: #cbd5df;
  padding: 36px 0;
  margin-top: 0;
}

.ruyee-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.ruyee-footer h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.ruyee-footer p {
  margin: 0;
  color: #cbd5df;
}

.ruyee-footer a {
  display: block;
  color: #cbd5df;
  margin: 6px 0;
  text-decoration: none;
}

.ruyee-footer a:hover {
  color: #fff;
}

@media (max-width: 920px) {
  .ruyee-head .ruyee-wrap,
  .ruyee-hero-grid,
  .ruyee-phase-hero-grid,
  .ruyee-layout,
  .ruyee-article-shell,
  .ruyee-product-detail {
    grid-template-columns: 1fr;
  }

  .ruyee-head .ruyee-wrap { padding: 14px 0; }
  .ruyee-head-actions { justify-content: flex-start; }
  .ruyee-filters,
  .ruyee-toc { position: static; }
  ul.products,
  .ruyee-product-grid,
  .ruyee-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.woocommerce ul.products,
  body.woocommerce-page ul.products,
  .ruyee-storefront-body ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ruyee-home-products.ruyee-product-grid,
  .ruyee-storefront-body ul.products.ruyee-home-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ruyee-home-grid { grid-template-columns: 1fr; }
  .ruyee-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ruyee-policy-grid { grid-template-columns: 1fr; }
  .ruyee-static-product-grid,
  .ruyee-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ruyee-trust-grid,
  .ruyee-guide-grid,
  .ruyee-finder { grid-template-columns: 1fr; }
  .ruyee-section-head { display: block; }
  .ruyee-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .ruyee-wrap { width: min(100% - 20px, 1180px); }
  .ruyee-bar .ruyee-wrap { display: block; padding: 8px 0; }
  .ruyee-head-actions {
    display: flex;
    justify-content: flex-start;
  }
  .ruyee-head-actions a:not(.ruyee-cart) {
    display: none;
  }
  .ruyee-search { grid-template-columns: 1fr; }
  .ruyee-search button { min-height: 40px; }
  .ruyee-nav .ruyee-wrap { gap: 16px; }
  .ruyee-nav a { flex: 0 0 auto; }
  .ruyee-page-hero h1,
  .ruyee-guide-hero h1,
  .ruyee-detail-summary h1 { font-size: 34px; overflow-wrap: anywhere; }
  .ruyee-policy-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
  .ruyee-lead { font-size: 16px; }
  .ruyee-toolbar { display: block; }
  ul.products,
  .ruyee-product-grid,
  .ruyee-post-grid { grid-template-columns: 1fr; }
  body.woocommerce ul.products,
  body.woocommerce-page ul.products,
  .ruyee-storefront-body ul.products { grid-template-columns: 1fr !important; }
  .ruyee-home-products.ruyee-product-grid,
  .ruyee-storefront-body ul.products.ruyee-home-products { grid-template-columns: 1fr !important; }
  .ruyee-home-grid { padding: 34px 0; }
  .ruyee-home-hero h1 { font-size: 38px; overflow-wrap: anywhere; }
  .ruyee-category-grid { grid-template-columns: 1fr; }
  .ruyee-static-product-grid,
  .ruyee-brand-grid { grid-template-columns: 1fr; }
  .ruyee-phase-hero-main {
    min-height: 360px;
    padding: 22px;
  }
  .ruyee-phase-hero-main h1 {
    max-width: 300px;
    font-size: 29px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .ruyee-phase-hero-main p {
    max-width: 300px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .ruyee-hero-actions .ruyee-cta,
  .ruyee-hero-actions .ruyee-secondary {
    width: 100%;
  }
  .ruyee-side-card,
  .ruyee-category-card,
  .ruyee-static-product,
  .ruyee-trust,
  .ruyee-guide,
  .ruyee-note {
    min-width: 0;
    max-width: 100%;
  }
  .ruyee-side-card {
    padding: 20px 22px;
    overflow: hidden;
  }
  .ruyee-footer-grid { grid-template-columns: 1fr; }
  .ruyee-article-product-pick { grid-template-columns: 1fr; }
  .ruyee-product-media {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--ruyee-line);
  }
  .ruyee-pick-body { padding: 16px; }
  .ruyee-buy { align-items: stretch; flex-direction: column; }
  .ruyee-buy .ruyee-btn { width: 100%; }
  .ruyee-detail-summary form.cart {
    flex: 0 1 auto;
    gap: 10px;
  }
  .ruyee-detail-summary form.cart .quantity .qty {
    width: 58px;
    min-height: 50px;
  }
  .ruyee-detail-summary form.cart .single_add_to_cart_button,
  .ruyee-detail-summary form.cart button.single_add_to_cart_button {
    flex: 0 0 132px;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .ruyee-buy-now {
    width: 96px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .ruyee-cart-drawer {
    padding: 22px 16px;
  }
  .ruyee-cart-actions {
    grid-template-columns: 1fr;
  }
}
