:root {
  --navy: #131921;
  --navy-2: #232f3e;
  --navy-3: #37475a;
  --orange: #febd69;
  --orange-2: #f3a847;
  --yellow: #ffd814;
  --yellow-2: #f7ca00;
  --blue: #007185;
  --green: #067d62;
  --red: #b12704;
  --ink: #111827;
  --muted: #565959;
  --line: #d5d9d9;
  --soft: #f3f3f3;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e3e6e6; color: var(--ink); min-width: 320px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #c7511f; text-decoration: underline; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.rp-topbar { height: 64px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 10px; padding: 8px 14px; position: sticky; top: 0; z-index: 50; }
.rp-logo-wrap { display: flex; align-items: center; justify-content: center; min-width: 138px; height: 48px; color: #fff; border: 1px solid transparent; border-radius: 2px; padding: 4px 8px; position: relative; }
.rp-logo-wrap:hover, .rp-toplink:hover, .rp-deliver:hover, .rp-cart-link:hover, .gift-balance-link:hover, .nav-pill:hover { border-color: #fff; text-decoration: none; color: #fff; }
.rp-logo { max-width: 128px; max-height: 40px; object-fit: contain; display: block; }
.rp-logo-fallback { display: none; color: #fff; font-size: 25px; font-weight: 800; letter-spacing: .2px; }
.rp-logo-wrap.logo-missing .rp-logo { display: none; }
.rp-logo-wrap.logo-missing .rp-logo-fallback { display: block; }
.rp-deliver { background: transparent; color: #fff; border: 1px solid transparent; border-radius: 2px; height: 48px; padding: 4px 9px; min-width: 110px; text-align: left; }
.tiny { display: block; font-size: 12px; line-height: 14px; color: #d6d6d6; font-weight: 400; }
.rp-search { display: flex; flex: 1; max-width: 1100px; height: 44px; border-radius: 5px; overflow: hidden; border: 3px solid transparent; background: #fff; }
.rp-search:focus-within { border-color: var(--orange); }
.rp-search select { width: 150px; border: none; border-right: 1px solid #cdcdcd; background: #f3f3f3; color: #111; padding: 0 10px; outline: none; }
.rp-search input { flex: 1; border: none; padding: 0 14px; outline: none; min-width: 0; font-size: 16px; }
.rp-search button { width: 56px; border: none; background: var(--orange); color: #111; font-size: 20px; }
.rp-search button:hover { background: var(--orange-2); }
.rp-toplink, .rp-cart-link, .gift-balance-link { color: #fff; height: 48px; display: flex; flex-direction: column; justify-content: center; border: 1px solid transparent; border-radius: 2px; padding: 4px 9px; line-height: 17px; white-space: nowrap; }
.rp-cart-link { position: relative; flex-direction: row; align-items: end; gap: 4px; }
.cart-icon { font-size: 28px; line-height: 28px; }
.cart-count { position: absolute; top: 3px; left: 24px; min-width: 20px; text-align: center; color: #f08804; font-weight: 800; font-size: 16px; }
.gift-balance-link { min-width: 116px; text-align: left; align-items: flex-start; }
.gift-balance-link strong { line-height: 16px; }
.gift-balance-action { color: #fef3c7; font-size: 11px; line-height: 12px; font-weight: 700; }
.gift-balance-link[hidden] { display: none !important; }
.rp-navline { min-height: 40px; background: var(--navy-2); color: #fff; display: flex; align-items: center; gap: 8px; padding: 0 14px; position: sticky; top: 64px; z-index: 45; }
.nav-pill { background: transparent; color: #fff; border: 1px solid transparent; border-radius: 2px; padding: 7px 9px; font-weight: 700; white-space: nowrap; }
.department-strip { display: flex; gap: 4px; overflow: auto hidden; scrollbar-width: thin; }
.department-strip a { color: #fff; padding: 8px 9px; border: 1px solid transparent; border-radius: 2px; white-space: nowrap; font-size: 14px; }
.department-strip a:hover { border-color: #fff; text-decoration: none; color: #fff; }
.rp-app { width: min(1680px, 100%); margin: 0 auto; min-height: 70vh; }
.loading-panel, .empty-state, .error-panel { background: #fff; margin: 22px; padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero { background: linear-gradient(180deg, rgba(35,47,62,.96) 0%, rgba(35,47,62,.88) 42%, rgba(227,230,230,0) 100%); min-height: 320px; color: #fff; padding: 28px 18px 95px; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: stretch; }
.hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 56px); letter-spacing: -1.2px; line-height: 1.04; }
.hero p { font-size: 18px; max-width: 720px; color: #edf2f7; line-height: 1.45; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.hero-card h2 { margin: 0 0 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { background: #f7fafa; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.stat strong { display: block; font-size: 24px; }
.home-panels { margin: -76px 18px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.home-card { background: #fff; border-radius: 2px; box-shadow: var(--shadow); padding: 18px; min-height: 260px; }
.home-card h2 { font-size: 21px; margin: 0 0 14px; }
.category-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.category-mini { display: block; background: #f7fafa; border: 1px solid #eef0f0; min-height: 76px; padding: 12px; color: var(--ink); border-radius: 4px; }
.category-mini:hover { text-decoration: none; color: var(--ink); border-color: #c7d2d2; }
.category-mini strong { display: block; font-size: 14px; }
.category-mini span { color: var(--muted); font-size: 12px; }
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li + li { border-top: 1px solid #eaeded; }
.panel-list a { display: block; padding: 9px 0; color: var(--ink); }
.panel-list a:hover { color: #c7511f; }
.section-wrap { margin: 18px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 12px; }
.section-title-row h2, .listing-header h1 { margin: 0; }
.product-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.product-card { background: #fff; border: 1px solid #eaeded; border-radius: 3px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 360px; box-shadow: 0 1px 1px rgba(0,0,0,.04); position: relative; }
.product-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.13); }
.product-card .image-box { height: 180px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 2px; overflow: hidden; }
.product-card img { max-width: 100%; max-height: 176px; object-fit: contain; }
.product-title { color: #0f1111; font-size: 15px; line-height: 1.35; max-height: 60px; overflow: hidden; }
.product-title:hover { color: #c7511f; }
.price { color: var(--red); font-size: 22px; line-height: 1; font-weight: 500; }
.price small { font-size: 13px; color: var(--muted); }
.rating-line { color: #f59e0b; font-size: 14px; }
.review-count { color: var(--blue); margin-left: 4px; }
.legacy-premium-badge { display: inline-flex; align-items: center; gap: 3px; color: var(--blue); font-weight: 700; font-size: 13px; }
.legacy-premium-badge::before { content: "✓"; color: var(--orange-2); font-weight: 900; }
.variant-badge { background: #eef6ff; color: #174ea6; border: 1px solid #cfe3ff; border-radius: 999px; padding: 3px 8px; font-size: 12px; display: inline-flex; width: fit-content; }
.rppn-line { color: var(--muted); font-size: 12px; margin-top: auto; }
.listing-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 18px; margin: 18px; }
.filter-rail { background: #fff; border-radius: 3px; padding: 16px; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 118px; max-height: calc(100vh - 130px); overflow: auto; }
.filter-rail h3 { margin: 0 0 10px; font-size: 18px; }
.filter-group { border-top: 1px solid #eaeded; padding: 12px 0; }
.filter-group:first-of-type { border-top: 0; }
.filter-group strong { display: block; margin-bottom: 8px; }
.filter-group label { display: block; margin: 7px 0; font-size: 14px; color: #111; }
.filter-group input[type="checkbox"] { margin-right: 6px; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.price-inputs input { width: 100%; padding: 7px; border: 1px solid var(--line); border-radius: 4px; }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { border: 1px solid #a88734; background: linear-gradient(#f7dfa5, #f0c14b); color: #111; border-radius: 999px; padding: 8px 14px; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; }
.btn:hover { text-decoration: none; background: linear-gradient(#f5d78e, #eeb933); color: #111; }
.btn.secondary { border-color: #adb1b8; background: linear-gradient(#fff, #e7e9ec); }
.btn.secondary:hover { background: linear-gradient(#f7f8fa, #d9dce1); }
.btn.yellow { border-color: #fcd200; background: var(--yellow); }
.btn.yellow:hover { background: var(--yellow-2); }
.btn.blue { border-color: #0f766e; background: #007185; color: #fff; }
.btn.blue:hover { background: #005f6b; color: #fff; }
.listing-main { min-width: 0; }
.listing-header { background: #fff; padding: 16px; border-radius: 3px; box-shadow: var(--shadow); margin-bottom: 14px; }
.breadcrumbs { display: flex; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.breadcrumbs span::after { content: "›"; margin-left: 6px; color: #888; }
.breadcrumbs span:last-child::after { content: ""; }
.listing-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.tool-left, .tool-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.listing-tools select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #f7fafa; }
.mode-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #f7fafa; }
.mode-toggle button { border: 0; background: transparent; padding: 8px 12px; }
.mode-toggle button.active { background: var(--navy-2); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.show-more-row { display: flex; justify-content: center; padding: 22px 0 34px; }
.product-detail { background: #fff; margin: 18px; padding: 18px; border-radius: 3px; box-shadow: var(--shadow); }
.detail-top { display: grid; grid-template-columns: minmax(280px, 42%) minmax(320px, 1fr) 290px; gap: 22px; align-items: start; }
.gallery { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; position: sticky; top: 118px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumb { width: 62px; height: 62px; border: 1px solid var(--line); background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 4px; }
.thumb.active, .thumb:hover { border-color: #e77600; box-shadow: 0 0 0 2px #fbd8b4; }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.main-image { min-height: 460px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #f0f2f2; border-radius: 6px; padding: 18px; }
.main-image img { max-width: 100%; max-height: 560px; object-fit: contain; }
.detail-title h1 { font-size: 25px; font-weight: 400; margin: 0 0 8px; line-height: 1.25; }
.meta-line { color: var(--muted); font-size: 14px; margin: 6px 0; }
.detail-price { margin: 18px 0; color: var(--red); font-size: 30px; font-weight: 500; }
.detail-price .currency { font-size: 18px; vertical-align: super; }
.variant-panel { border-top: 1px solid #eaeded; border-bottom: 1px solid #eaeded; padding: 14px 0; margin: 14px 0; }
.variant-dimension { margin: 14px 0; }
.variant-dimension h3 { font-size: 15px; margin: 0 0 8px; }
.variant-dimension h3 span { color: var(--muted); font-weight: 400; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option { border: 1px solid #888c8c; border-radius: 8px; background: #fff; padding: 7px 10px; min-height: 40px; display: inline-flex; align-items: center; gap: 7px; color: #111; }
.variant-option img { width: 34px; height: 34px; object-fit: cover; border-radius: 4px; }
.variant-option.selected { border-color: #e77600; box-shadow: 0 0 0 2px #fbd8b4; }
.variant-option.disabled { color: #767676; border-color: #d5d9d9; background: #f7f7f7; cursor: not-allowed; text-decoration: line-through; }
.buy-box { border: 1px solid var(--line); border-radius: 8px; padding: 16px; position: sticky; top: 118px; }
.buy-box .price { font-size: 25px; margin-bottom: 10px; }
.stock { color: var(--green); font-size: 18px; margin: 10px 0; }
.stock.unavailable { color: var(--red); }
.qty-select { margin: 10px 0; }
.qty-select select { border: 1px solid var(--line); border-radius: 8px; padding: 7px; background: #f0f2f2; }
.buy-actions { display: grid; gap: 9px; margin: 12px 0; }
.product-sections { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 18px; margin-top: 22px; }
.info-card { border-top: 1px solid #eaeded; padding-top: 18px; }
.info-card h2 { margin: 0 0 12px; }
.bullets { padding-left: 20px; }
.bullets li { margin: 7px 0; line-height: 1.45; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-table th, .detail-table td { padding: 9px 10px; border-bottom: 1px solid #eaeded; vertical-align: top; text-align: left; }
.detail-table th { background: #f7fafa; width: 38%; color: #333; }
.location-table { font-size: 12px; color: #555; word-break: break-word; }
.cart-page { margin: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.cart-list, .cart-summary { background: #fff; border-radius: 3px; box-shadow: var(--shadow); padding: 18px; }
.cart-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px; gap: 16px; border-top: 1px solid #eaeded; padding: 16px 0; }
.cart-item:first-of-type { border-top: 0; }
.cart-item img { max-width: 112px; max-height: 112px; object-fit: contain; }
.cart-item h3 { margin: 0 0 8px; font-size: 17px; font-weight: 400; }
.cart-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.cart-actions input { width: 64px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; display: none; }
.drawer-backdrop.open { display: block; }
.drawer { width: min(430px, 92vw); height: 100%; background: #fff; padding: 18px; overflow: auto; }
.drawer h2 { margin-top: 0; }
.drawer-close { float: right; border: 0; background: transparent; font-size: 26px; }
.drawer-category { border-top: 1px solid #eaeded; padding: 12px 0; }
.drawer-category > a { color: #111; font-weight: 700; }
.drawer-subcats { margin-top: 7px; display: grid; gap: 6px; }
.drawer-subcats a { color: #444; font-size: 14px; }
.placeholder-image { width: 100%; height: 100%; min-height: 150px; background: linear-gradient(135deg,#f7fafa,#e3e6e6); display: flex; align-items: center; justify-content: center; color: #667085; text-align: center; padding: 18px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.notice { background: #fff8e1; border: 1px solid #f3d27a; border-radius: 8px; padding: 10px 12px; color: #5f4500; font-size: 14px; line-height: 1.4; }
.rp-footer { background: var(--navy-2); color: #fff; margin-top: 30px; }
.footer-back { background: var(--navy-3); text-align: center; padding: 14px; cursor: pointer; }
.footer-back:hover { background: #485769; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto; gap: 28px; padding: 28px 20px 36px; }
.footer-cols h4 { margin: 0 0 10px; }
.footer-cols a, .footer-cols span { display: block; color: #ddd; margin: 7px 0; }
.footer-cols a:hover { color: #fff; }
@media (max-width: 1280px) {
  .product-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-top { grid-template-columns: minmax(280px, 42%) minmax(320px, 1fr); }
  .buy-box { grid-column: 2; position: static; }
}
@media (max-width: 900px) {
  .rp-topbar { height: auto; flex-wrap: wrap; position: static; }
  .rp-navline { top: 0; position: static; }
  .rp-logo-wrap { min-width: 120px; }
  .rp-deliver, .rp-toplink { display: none; }
  .rp-search { order: 10; flex-basis: 100%; }
  .rp-search select { width: 112px; }
  .hero-inner { grid-template-columns: 1fr; }
  .home-panels { margin-top: -60px; grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; margin: 12px; }
  .filter-rail { position: static; max-height: none; }
  .product-grid, .product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-top { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; overflow-x: auto; order: 2; }
  .main-image { min-height: 320px; }
  .buy-box { grid-column: auto; }
  .product-sections, .cart-page { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid, .product-row { grid-template-columns: 1fr; }
  .home-card { min-height: 0; }
  .category-mini-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 90px minmax(0, 1fr); }
  .cart-item .cart-price-col { grid-column: 2; }
  .footer-cols { grid-template-columns: 1fr; }
}
.image-box.image-error::before { content: "Image unavailable"; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 150px; color: #667085; background: linear-gradient(135deg,#f7fafa,#e3e6e6); text-align: center; padding: 18px; }

/* Local-server/live-database additions */
.loading-inline {
  padding: 22px;
  color: #565959;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.live-status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d5d9d9;
  background: #fff;
  color: #111827;
}
.live-status.ok {
  border-color: #9ad0a3;
  background: #f3fff5;
}
.live-status.warn {
  border-color: #f1c36d;
  background: #fff8e8;
}
.live-status span {
  display: block;
  margin-top: 4px;
  color: #565959;
}


/* ==========================================================
   RoxxPort Design 1: AURORA GRID
   Premium glass marketplace: rounded cards, luminous gradient hero,
   pill navigation, and airy product grids.
   ========================================================== */
:root {
  --navy: #17123a;
  --navy-2: #24164f;
  --navy-3: #34246f;
  --orange: #8b5cf6;
  --orange-2: #06b6d4;
  --yellow: #7c3aed;
  --yellow-2: #5b21b6;
  --blue: #2563eb;
  --green: #059669;
  --red: #c2410c;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f8f7ff;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(44, 35, 122, 0.14);
  --radius: 22px;
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
}
body {
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, .20), transparent 34rem),
    radial-gradient(circle at 80% 2%, rgba(6, 182, 212, .16), transparent 32rem),
    linear-gradient(180deg, #fbfbff 0%, #eef4ff 45%, #f7f8fc 100%);
}
a { color: #3b49df; }
a:hover { color: #7c3aed; text-decoration: none; }
.rp-topbar {
  min-height: 124px;
  height: auto;
  padding: 14px 22px;
  gap: 14px;
  background: rgba(17, 24, 39, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 44px rgba(17, 24, 39, .24);
  backdrop-filter: blur(18px);
}
.rp-logo-wrap {
  min-width: 324px;
  height: 100px;
  border-radius: 22px;
  padding: 8px 15px;
  background: linear-gradient(135deg, #8b5cf6 0%, #102061 100%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 34px rgba(0,0,0,.24);
}
.rp-logo { max-width: 304px; max-height: 88px; }
.rp-logo-fallback { color: #fff; font-size: 25px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.rp-logo-wrap:hover, .rp-toplink:hover, .rp-deliver:hover, .rp-cart-link:hover, .gift-balance-link:hover, .nav-pill:hover { border-color: rgba(255,255,255,.7); color: inherit; }
.rp-deliver,
.rp-toplink,
.rp-cart-link,
.gift-balance-link {
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.08);
  color: #ffffff;
  padding: 7px 12px;
}
.rp-deliver:hover,
.rp-toplink:hover,
.rp-cart-link:hover,
.gift-balance-link:hover { background: rgba(255,255,255,.14); color: #fff; }
.tiny { color: #c7d2fe; letter-spacing: .01em; }
.rp-search {
  height: 54px;
  max-width: 980px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.24);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0,0,0,.16);
}
.rp-search:focus-within {
  border-color: #a78bfa;
  box-shadow: 0 0 0 5px rgba(139, 92, 246, .22), 0 16px 44px rgba(0,0,0,.18);
}
.rp-search select {
  width: 168px;
  background: #f4f3ff;
  color: #312e81;
  border-right: 1px solid #ddd6fe;
  font-weight: 700;
}
.rp-search input { font-size: 16px; color: #111827; }
.rp-search button {
  width: 64px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
}
.rp-search button:hover { background: linear-gradient(135deg, #6d28d9, #0891b2); }
.cart-icon { filter: drop-shadow(0 4px 8px rgba(0,0,0,.26)); }
.cart-count {
  top: 1px;
  left: 23px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-radius: 999px;
  padding: 1px 5px;
  font-size: 12px;
  box-shadow: 0 5px 15px rgba(124, 58, 237, .35);
}
.rp-navline {
  min-height: 58px;
  top: 124px;
  padding: 10px 22px;
  gap: 12px;
  color: #101828;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(126, 87, 194, .14);
  box-shadow: 0 14px 28px rgba(44,35,122,.08);
  backdrop-filter: blur(16px);
}
.nav-pill {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #4c1d95);
  box-shadow: 0 10px 24px rgba(76, 29, 149, .22);
}
.department-strip { gap: 10px; }
.department-strip a {
  color: #344054;
  background: #ffffff;
  border: 1px solid #e9d5ff;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(44,35,122,.06);
}
.department-strip a:hover {
  color: #4c1d95;
  border-color: #a78bfa;
  background: #faf5ff;
}
.rp-app {
  width: min(1540px, calc(100% - 34px));
  margin: 0 auto;
}
.loading-panel,
.empty-state,
.error-panel {
  margin: 28px 0;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, .12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
  margin: 24px 0 0;
  min-height: 360px;
  padding: 46px 44px 118px;
  color: #fff;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(45, 212, 191, .45), transparent 20rem),
    radial-gradient(circle at 20% 15%, rgba(168, 85, 247, .62), transparent 26rem),
    linear-gradient(135deg, #111827 0%, #312e81 48%, #0e7490 100%);
  box-shadow: 0 28px 70px rgba(49, 46, 129, .34);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% 35%;
  height: 340px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  filter: blur(6px);
  transform: rotate(-8deg);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1370px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: 30px;
}
.hero h1 {
  max-width: 850px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: .96;
  letter-spacing: -2.4px;
}
.hero p { color: #e0f2fe; font-size: 19px; }
.hero .breadcrumbs { color: #c7d2fe; }
.hero-card {
  padding: 24px;
  border-radius: 28px;
  color: #111827;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 24px 60px rgba(0,0,0,.20);
  backdrop-filter: blur(12px);
}
.stat-grid { gap: 12px; }
.stat {
  background: linear-gradient(180deg, #fff, #f5f3ff);
  border: 1px solid #e9d5ff;
  border-radius: 18px;
  padding: 15px;
}
.stat strong { color: #4c1d95; font-size: 28px; }
.home-panels {
  margin: -84px 22px 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.home-card {
  min-height: 284px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, .12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.home-card h2,
.section-title-row h2,
.listing-header h1 { letter-spacing: -.04em; }
.category-mini-grid { gap: 12px; }
.category-mini {
  min-height: 92px;
  padding: 16px;
  border: 1px solid #ddd6fe;
  border-radius: 20px;
  color: #111827;
  background: linear-gradient(180deg, #ffffff, #f8f7ff);
}
.category-mini:hover {
  border-color: #a78bfa;
  box-shadow: 0 12px 24px rgba(124, 58, 237, .12);
  transform: translateY(-1px);
}
.panel-list li + li { border-top-color: #eef2ff; }
.panel-list a { color: #1f2937; font-weight: 600; }
.section-wrap { margin: 30px 4px; }
.section-title-row { margin-bottom: 16px; }
.product-row,
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
}
.product-card {
  min-height: 410px;
  padding: 16px;
  gap: 10px;
  border: 1px solid rgba(124, 58, 237, .12);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 28px rgba(44, 35, 122, .08);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, .30);
  box-shadow: 0 26px 52px rgba(44, 35, 122, .16);
}
.product-card .image-box {
  height: 220px;
  background: linear-gradient(145deg, #f9fafb, #eef2ff);
  border-radius: 24px;
  border: 1px solid #eef2ff;
}
.product-card img { max-height: 204px; }
.product-title {
  color: #111827;
  font-size: 15.5px;
  font-weight: 750;
  max-height: 64px;
}
.product-title:hover { color: #6d28d9; }
.price,
.detail-price { color: #c2410c; font-weight: 800; }
.rating-line { color: #d97706; font-weight: 700; }
.review-count { color: #2563eb; }
.legacy-premium-badge { color: #0284c7; }
.legacy-premium-badge::before { color: #7c3aed; }
.variant-badge {
  color: #4c1d95;
  background: #f3e8ff;
  border-color: #e9d5ff;
  border-radius: 999px;
  font-weight: 700;
}
.rppn-line,
.meta-line { color: #667085; }
.listing-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  margin: 28px 0;
}
.filter-rail,
.listing-header,
.product-detail,
.cart-list,
.cart-summary {
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, .12);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.filter-rail {
  top: 154px;
  padding: 22px;
}
.filter-rail h3 { color: #4c1d95; letter-spacing: -.02em; }
.filter-group { border-top-color: #eef2ff; }
.filter-group label { color: #344054; }
.price-inputs input,
.listing-tools select,
.qty-select select,
.cart-actions input {
  border-radius: 14px;
  border: 1px solid #d0d5dd;
  background: #fff;
}
.btn,
.primary-action {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, #312e81, #7c3aed);
  box-shadow: 0 12px 24px rgba(76, 29, 149, .18);
  font-weight: 800;
}
.btn:hover,
.primary-action:hover { color: #fff; background: linear-gradient(135deg, #1e1b4b, #6d28d9); transform: translateY(-1px); }
.btn.secondary {
  color: #344054;
  border: 1px solid #d0d5dd;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}
.btn.secondary:hover { color: #111827; background: #f8f7ff; }
.btn.yellow {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}
.btn.yellow:hover { background: linear-gradient(135deg, #6d28d9, #0891b2); }
.btn.blue { background: linear-gradient(135deg, #0e7490, #2563eb); }
.mode-toggle {
  border: 1px solid #ddd6fe;
  background: #f8f7ff;
  border-radius: 999px;
}
.mode-toggle button { color: #4b5563; font-weight: 700; }
.mode-toggle button.active { background: linear-gradient(135deg, #312e81, #7c3aed); color: #fff; }
.product-detail { margin: 28px 0; padding: 26px; }
.detail-top { grid-template-columns: minmax(320px, 44%) minmax(300px, 1fr) 330px; gap: 26px; }
.gallery { top: 154px; grid-template-columns: 76px minmax(0, 1fr); }
.thumb {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  border-color: #e4e7ec;
  background: #fff;
}
.thumb.active,
.thumb:hover { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.main-image {
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid #eef2ff;
  background: linear-gradient(145deg, #ffffff, #f6f4ff);
}
.detail-title h1 { font-size: clamp(25px, 2.2vw, 34px); font-weight: 750; letter-spacing: -.04em; }
.variant-panel { border-color: #eef2ff; }
.variant-option {
  border-radius: 999px;
  border-color: #d0d5dd;
  background: #fff;
  font-weight: 700;
}
.variant-option.selected { border-color: #8b5cf6; box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.buy-box {
  top: 154px;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, .18);
  background: linear-gradient(180deg, #fff, #f8f7ff);
  box-shadow: 0 20px 44px rgba(44,35,122,.12);
}
.product-sections { gap: 24px; }
.info-card {
  border-top-color: #eef2ff;
  border-radius: 24px;
}
.detail-table th,
.detail-table td { border-bottom-color: #eef2ff; }
.detail-table th { background: #f8f7ff; color: #312e81; }
.cart-page { margin: 28px 0; }
.cart-item { border-top-color: #eef2ff; }
.drawer-backdrop { background: rgba(17, 24, 39, .52); backdrop-filter: blur(6px); }
.drawer { border-radius: 0 30px 30px 0; background: #fff; box-shadow: 30px 0 70px rgba(17,24,39,.24); }
.drawer-category { border-top-color: #eef2ff; }
.placeholder-image,
.image-box.image-error::before { background: linear-gradient(135deg,#f9fafb,#eef2ff); color: #667085; }
.live-status { border-radius: 18px; border-color: #ddd6fe; background: #f8f7ff; }
.live-status.ok { border-color: #a7f3d0; background: #ecfdf3; }
.live-status.warn { border-color: #fed7aa; background: #fff7ed; }
.notice { border-radius: 18px; border-color: #fed7aa; background: #fff7ed; color: #7c2d12; }
.rp-footer {
  margin-top: 46px;
  background: linear-gradient(135deg, #111827, #312e81);
}
.footer-back { background: rgba(255,255,255,.08); }
.footer-back:hover { background: rgba(255,255,255,.14); }
@media (max-width: 1280px) {
  .home-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-top { grid-template-columns: minmax(280px, 42%) minmax(300px, 1fr); }
  .buy-box { grid-column: 2; position: static; }
}
@media (max-width: 900px) {
  .rp-app { width: min(100% - 22px, 100%); }
  .rp-topbar { height: auto; min-height: 0; padding: 12px; border-radius: 0; }
  .rp-navline { top: 0; padding: 10px 12px; }
  .rp-search { order: 10; flex-basis: 100%; max-width: none; }
  .hero { padding: 32px 22px 96px; border-radius: 26px; }
  .hero-inner { grid-template-columns: 1fr; }
  .home-panels { margin-top: -72px; grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; margin: 18px 0; }
  .filter-rail { position: static; max-height: none; }
  .product-row,
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .detail-top { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; overflow-x: auto; order: 2; }
  .buy-box { grid-column: auto; }
}
@media (max-width: 560px) {
  .product-row,
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -1.2px; }
  .rp-logo-wrap { min-width: 220px; height: 76px; }
  .rp-logo { max-width: 208px; max-height: 66px; }
  .rp-search select { width: 112px; }
}


/* ==========================================================
   Website1 + Website13 Motion Merge
   Base visual design: Website1 Aurora Grid.
   Motion system: Website13 Lumen-style ambient animation,
   scroll reveals, cursor glow, card lift, and light-sweep polish.
   The second department/nav bar is intentionally not restyled.
   ========================================================== */
body.motion-13 {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}
body.motion-13::before,
body.motion-13::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
body.motion-13::before {
  background:
    linear-gradient(90deg, rgba(76, 29, 149, .035) 1px, transparent 1px) 0 0 / 62px 62px,
    linear-gradient(180deg, rgba(6, 182, 212, .030) 1px, transparent 1px) 0 0 / 62px 62px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 84%);
}
body.motion-13::after {
  inset: -34%;
  background: conic-gradient(from 110deg at 50% 50%, rgba(124,58,237,.16), transparent 16%, rgba(6,182,212,.14), transparent 47%, rgba(167,139,250,.12), transparent 70%, rgba(124,58,237,.16));
  opacity: .34;
  filter: blur(14px);
  animation: lumenSpin 26s linear infinite;
}
body.motion-13 .motion-layer,
body.motion-13 .pointer-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
}
body.motion-13 .motion-layer {
  inset: 0;
  overflow: hidden;
}
body.motion-13 .motion-layer .orb {
  position: absolute;
  width: clamp(180px, 24vw, 360px);
  aspect-ratio: 1;
  left: calc(7% + var(--i) * 15%);
  top: calc(12% + (var(--i) % 4) * 18%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124,58,237,.22), transparent 64%);
  filter: blur(20px);
  opacity: .42;
  animation: lumenFloat calc(12s + var(--i) * 1.4s) ease-in-out infinite alternate;
}
body.motion-13 .motion-layer .orb:nth-child(2n) { background: radial-gradient(circle, rgba(6,182,212,.20), transparent 64%); }
body.motion-13 .motion-layer .orb:nth-child(3n) { background: radial-gradient(circle, rgba(167,139,250,.18), transparent 66%); }
body.motion-13 .motion-layer .beam {
  position: absolute;
  width: 42vw;
  height: 2px;
  left: -15vw;
  top: calc(28% + var(--i) * 13%);
  background: linear-gradient(90deg, transparent, rgba(6,182,212,.20), rgba(124,58,237,.14), transparent);
  transform: rotate(-12deg);
  animation: lumenBeam 9s linear infinite;
  animation-delay: calc(var(--i) * -2s);
}
body.motion-13 .pointer-glow {
  top: -220px;
  left: -220px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.16), rgba(6,182,212,.08) 42%, transparent 68%);
  filter: blur(8px);
  mix-blend-mode: multiply;
}
body.motion-13 .design-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: calc(var(--progress, 0) * 100%);
  height: 4px;
  z-index: 300;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #a78bfa);
  box-shadow: 0 0 22px rgba(124,58,237,.42);
}
body.motion-13 .rp-app,
body.motion-13 .rp-footer {
  position: relative;
  z-index: 1;
}
body.motion-13 .rp-topbar {
  position: sticky;
  z-index: 50;
}
body.motion-13 .rp-navline {
  position: sticky;
  z-index: 45;
}
body.motion-13 .rp-topbar {
  justify-content: center;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
body.motion-13 .rp-topbar > :not(.chrome-pulse) {
  position: relative;
  z-index: 1;
}
body.motion-13 .rp-topbar .chrome-pulse {
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), rgba(6,182,212,.12), transparent, rgba(124,58,237,.13), transparent);
  transform: translateX(-45%);
  animation: lumenSweep 8s ease-in-out infinite;
}
body.motion-13 .rp-search {
  flex: 0 1 clamp(320px, 42vw, 860px);
}
body.motion-13 .rp-deliver,
body.motion-13 .rp-toplink,
body.motion-13 .rp-cart-link,
body.motion-13 .rp-logo-wrap,
body.motion-13 .rp-search {
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease, filter .24s ease;
}
body.motion-13 .rp-deliver:hover,
body.motion-13 .rp-toplink:hover,
body.motion-13 .rp-cart-link:hover,
body.motion-13 .rp-logo-wrap:hover {
  transform: translateY(-2px);
}
body.motion-13 .cart-count.bump {
  animation: lumenBump .48s cubic-bezier(.2,1.6,.3,1);
}
body.motion-13 .hero,
body.motion-13 .home-card,
body.motion-13 .section-wrap,
body.motion-13 .listing-header,
body.motion-13 .filter-rail,
body.motion-13 .product-detail,
body.motion-13 .cart-list,
body.motion-13 .cart-summary,
body.motion-13 .buy-box,
body.motion-13 .info-card,
body.motion-13 .product-card,
body.motion-13 .category-mini,
body.motion-13 .btn,
body.motion-13 .primary-action {
  position: relative;
  isolation: isolate;
}
body.motion-13 .hero,
body.motion-13 .home-card,
body.motion-13 .section-wrap,
body.motion-13 .listing-header,
body.motion-13 .filter-rail,
body.motion-13 .product-detail,
body.motion-13 .cart-list,
body.motion-13 .cart-summary,
body.motion-13 .buy-box,
body.motion-13 .product-card {
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease, filter .32s ease;
}
body.motion-13 .hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.18) 43%, transparent 53% 100%);
  transform: translateX(-82%);
  animation: lumenSweep 9s ease-in-out infinite;
}
body.motion-13 .hero-inner,
body.motion-13 .hero-card {
  position: relative;
  z-index: 1;
}
body.motion-13 .home-card,
body.motion-13 .product-card,
body.motion-13 .category-mini,
body.motion-13 .btn,
body.motion-13 .primary-action {
  overflow: hidden;
}
body.motion-13 .home-card::after {
  content: "";
  position: absolute;
  width: 178px;
  aspect-ratio: 1;
  right: -74px;
  top: -74px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.16), transparent 66%);
  animation: lumenFloat 13s ease-in-out infinite alternate;
}
body.motion-13 .home-card > *,
body.motion-13 .product-card > *,
body.motion-13 .category-mini > * {
  position: relative;
  z-index: 1;
}
body.motion-13 .product-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124,58,237,.16), transparent 42%, rgba(6,182,212,.15));
  opacity: 0;
  transition: opacity .32s ease;
}
body.motion-13 .product-card::after,
body.motion-13 .btn::after,
body.motion-13 .primary-action::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.44), transparent);
  transform: translateX(-125%);
  transition: transform .62s ease;
}
body.motion-13 .product-card:hover::before { opacity: 1; }
body.motion-13 .product-card:hover::after,
body.motion-13 .btn:hover::after,
body.motion-13 .primary-action:hover::after { transform: translateX(125%); }
body.motion-13 .product-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 30px 70px rgba(44, 35, 122, .20), 0 0 42px rgba(6,182,212,.14);
}
body.motion-13 .product-card img {
  transition: transform .32s ease, filter .32s ease;
}
body.motion-13 .product-card:hover img {
  transform: scale(1.055) rotate(-1deg);
  filter: drop-shadow(0 18px 20px rgba(44,35,122,.20));
}
body.motion-13 .card-kicker {
  width: fit-content;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(124,58,237,.18);
}
body.motion-13 .category-mini,
body.motion-13 .variant-option,
body.motion-13 .thumb {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}
body.motion-13 .category-mini:hover,
body.motion-13 .variant-option:hover,
body.motion-13 .thumb:hover {
  transform: translateY(-4px);
}
body.motion-13 .btn,
body.motion-13 .primary-action {
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease, background .24s ease;
}
body.motion-13 .btn:hover,
body.motion-13 .primary-action:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}
body.motion-13 .filter-rail:hover,
body.motion-13 .listing-header:hover,
body.motion-13 .cart-summary:hover,
body.motion-13 .buy-box:hover,
body.motion-13 .info-card:hover {
  box-shadow: 0 28px 70px rgba(44, 35, 122, .16);
}
body.motion-13 .motion-ready {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  filter: blur(3px);
}
body.motion-13 .motion-ready.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,1,.25,1), filter .75s ease, box-shadow .32s ease, border-color .32s ease;
  transition-delay: calc(var(--motion-index, 0) * 36ms);
}
body.motion-13 .product-card.motion-ready.is-visible:hover {
  transform: translateY(-8px) scale(1.012);
}
body.motion-13 .category-mini.motion-ready.is-visible:hover,
body.motion-13 .variant-option.motion-ready.is-visible:hover,
body.motion-13 .thumb.motion-ready.is-visible:hover {
  transform: translateY(-4px);
}
body.motion-13 .btn.motion-ready.is-visible:hover,
body.motion-13 .primary-action.motion-ready.is-visible:hover {
  transform: translateY(-2px);
}
@keyframes lumenSpin { to { transform: rotate(360deg); } }
@keyframes lumenFloat { 0% { transform: translate3d(-4vw, -2vh, 0) scale(.96); } 100% { transform: translate3d(5vw, 4vh, 0) scale(1.12); } }
@keyframes lumenBeam { 0% { transform: translateX(-35vw) rotate(-12deg); opacity: 0; } 18%, 62% { opacity: 1; } 100% { transform: translateX(130vw) rotate(-12deg); opacity: 0; } }
@keyframes lumenSweep { 0%, 38% { transform: translateX(-72%); } 62%, 100% { transform: translateX(72%); } }
@keyframes lumenBump { 0% { transform: scale(1); } 50% { transform: scale(1.38) rotate(-8deg); } 100% { transform: scale(1); } }
@media (max-width: 900px) {
  body.motion-13 .rp-topbar,
  body.motion-13 .rp-navline { position: static; }
  body.motion-13 .rp-topbar { justify-content: flex-start; }
  body.motion-13 .rp-search { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body.motion-13 *,
  body.motion-13 *::before,
  body.motion-13 *::after {
    animation: none !important;
    transition: none !important;
  }
  body.motion-13 .motion-ready {
    opacity: 1;
    transform: none;
    filter: none;
  }
}


/* RoxxStar Premium badge image sizing. */
.roxxstar-premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 156px;
  min-height: 16px;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
}
.roxxstar-premium-logo {
  display: block;
  height: 16px;
  width: auto;
  max-width: 152px;
  object-fit: contain;
}
.roxxstar-premium-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(2,132,199,.12), rgba(124,58,237,.14));
  border: 1px solid rgba(2,132,199,.24);
  color: #0284c7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.roxxstar-premium-fallback[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .roxxstar-premium-badge { max-width: 140px; }
  .roxxstar-premium-logo { height: 15px; max-width: 136px; }
}

/* RoxxPort: hide broken/missing catalog images instead of showing broken icons or placeholders. */
.product-image-link:empty,
.cart-image-link:empty,
.image-box:empty,
.thumb:empty,
.main-image:empty,
.gallery:empty {
  display: none !important;
}

.product-card.no-image {
  min-height: 0;
}

.product-card.no-image .rppn-line {
  margin-top: 8px;
}

.detail-top.no-gallery {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.detail-top.no-gallery .buy-box {
  grid-column: auto;
}

.cart-item.no-image {
  grid-template-columns: minmax(0, 1fr) 120px;
}

.cart-item.no-image .cart-price-col {
  grid-column: auto;
}

@media (max-width: 1280px) {
  .detail-top.no-gallery {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

@media (max-width: 900px) {
  .detail-top.no-gallery,
  .cart-item.no-image {
    grid-template-columns: 1fr;
  }

  .cart-item.no-image .cart-price-col {
    grid-column: auto;
  }
}

/* RoxxPort live shipping panel: appears only after the product live refresh returns structured options. */
.buy-stack {
  align-self: start;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 154px;
}
.buy-stack .buy-box {
  position: static;
  top: auto;
  margin: 0;
}
.shipping-box {
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f8f7ff);
  box-shadow: 0 16px 34px rgba(44,35,122,.10);
}
.shipping-box h2 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -.02em;
}
.shipping-option-list {
  display: grid;
  gap: 0;
}
.shipping-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid #eef2ff;
}
.shipping-option:first-child {
  border-top: 0;
  padding-top: 0;
}
.shipping-option:last-child {
  padding-bottom: 0;
}
.shipping-option-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.shipping-option-main strong {
  color: #111827;
  font-size: 14px;
}
.shipping-detail {
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}
.shipping-option-premium-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shipping-speed {
  color: #047857;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}
.shipping-price {
  color: #111827;
  font-weight: 850;
  white-space: nowrap;
  text-align: right;
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .detail-top {
    grid-template-columns: minmax(260px, 36%) minmax(300px, 1fr) 300px;
  }
  .buy-stack {
    grid-column: auto;
    position: sticky;
    top: 154px;
  }
}
@media (max-width: 1100px) {
  .detail-top {
    grid-template-columns: minmax(280px, 42%) minmax(300px, 1fr);
  }
  .buy-stack {
    grid-column: 2;
    position: static;
  }
}
.detail-top.no-gallery .buy-stack {
  grid-column: auto;
}
@media (max-width: 900px) {
  .buy-stack {
    grid-column: auto;
    position: static;
  }
  .shipping-option {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .shipping-price {
    text-align: left;
    white-space: normal;
  }
  .shipping-speed {
    white-space: normal;
  }
}
.shipping-empty {
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* Premium shipping price wording can be longer than a dollar amount. */
.shipping-price.premium-price {
  max-width: 170px;
  white-space: normal;
  line-height: 1.25;
  color: #047857;
}

/* Shipping options live in the narrow buy column, so stack each option's price
   under its label/detail instead of squeezing it into a tiny right column. */
.shipping-box .shipping-option {
  grid-template-columns: 1fr;
  gap: 6px;
}
.shipping-box .shipping-price {
  text-align: left;
  white-space: normal;
}
.shipping-box .shipping-option-premium-line {
  align-items: flex-start;
}

/* Product detail layout guard: keep long titles/options from running behind the buy/shipping column. */
.detail-title,
.buy-stack,
.product-sections,
.customer-reviews {
  min-width: 0;
}
.detail-title h1,
.detail-title .meta-line,
.variant-dimension h3,
.variant-option span {
  overflow-wrap: anywhere;
}
@media (min-width: 1281px) {
  .detail-top {
    grid-template-columns: minmax(300px, 40%) minmax(0, 1fr) minmax(320px, 330px);
  }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .detail-top {
    grid-template-columns: minmax(250px, 34%) minmax(0, 1fr) minmax(290px, 310px);
  }
}

/* RoxxPort customer reviews replace marketplace-provided star ratings. */
.customer-rating-line {
  color: #f59e0b;
}
.customer-reviews {
  margin-top: 24px;
}
.customer-review-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.customer-review-summary strong {
  color: #111827;
  font-size: 18px;
}
.customer-review-summary span {
  color: #667085;
}
.customer-review-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.customer-review-card {
  border: 1px solid #eef2ff;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}
.customer-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #667085;
  font-size: 13px;
  margin-bottom: 6px;
}
.customer-review-meta strong {
  color: #111827;
}
.customer-review-stars {
  color: #f59e0b;
  font-weight: 850;
  margin-bottom: 6px;
}
.customer-review-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.customer-review-card p {
  margin: 0;
  color: #475467;
  line-height: 1.45;
}

/* Shipping must be selected before Add to Cart or Buy Now can continue. */
.shipping-box {
  position: relative;
}
.shipping-required-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 16px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}
.buy-box-shipping-message {
  margin: 12px 0 0;
}
.shipping-box .shipping-option {
  position: relative;
  cursor: pointer;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid transparent;
  border-top-color: #eef2ff;
  border-radius: 18px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.shipping-box .shipping-option:first-child {
  border-top-color: transparent;
}
.shipping-box .shipping-option:hover,
.shipping-box .shipping-option.selected {
  border-color: #8b5cf6;
  background: #f8f7ff;
  box-shadow: 0 0 0 3px rgba(139,92,246,.12);
}
.shipping-box .shipping-option.express {
  border-color: #e4c15f;
  background: #fffaf0;
}
.shipping-box .shipping-option.express:hover,
.shipping-box .shipping-option.express.selected {
  border-color: #b7791f;
  background: #fff7df;
  box-shadow: 0 0 0 3px rgba(183,121,31,.14);
}
.express-additional-cost small {
  display: block;
  color: #7a4b00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.shipping-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.shipping-option-check {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid #a5b4fc;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}
.shipping-option-input:checked + .shipping-option-check {
  background: #7c3aed;
  border-color: #7c3aed;
}
.shipping-option-input:focus-visible + .shipping-option-check {
  outline: 3px solid rgba(124,58,237,.28);
  outline-offset: 2px;
}
.shipping-box .shipping-option-main,
.shipping-box .shipping-price {
  grid-column: 2;
}
.shipping-box .shipping-price {
  text-align: left;
  white-space: normal;
}
.shipping-box.shipping-required {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.20), 0 18px 42px rgba(220,38,38,.18);
  animation: shippingRequiredPulse 1s ease-in-out infinite;
}
.shipping-box.shipping-required::before {
  content: "➜";
  position: absolute;
  left: -52px;
  top: 26px;
  color: #dc2626;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  animation: shippingArrowBlink .7s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(220,38,38,.28));
  pointer-events: none;
}
.buy-box.shipping-loading-required {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.18), 0 20px 44px rgba(44,35,122,.12);
}
@keyframes shippingRequiredPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(220,38,38,.18), 0 18px 42px rgba(220,38,38,.14); }
  50% { box-shadow: 0 0 0 8px rgba(220,38,38,.28), 0 18px 46px rgba(220,38,38,.22); }
}
@keyframes shippingArrowBlink {
  0%, 100% { opacity: 1; transform: translateX(0); }
  50% { opacity: .25; transform: translateX(8px); }
}
@media (max-width: 900px) {
  .shipping-box.shipping-required::before {
    left: 18px;
    top: -42px;
    transform: rotate(90deg);
    animation-name: shippingArrowBlinkMobile;
  }
}
@keyframes shippingArrowBlinkMobile {
  0%, 100% { opacity: 1; transform: rotate(90deg) translateX(0); }
  50% { opacity: .25; transform: rotate(90deg) translateX(8px); }
}
.variant-options {
  min-width: 0;
}
.variant-option {
  max-width: 100%;
  white-space: normal;
}

/* Account system, sign-up forms, terms modal, and tracking UI. */
.auth-page,
.account-page {
  max-width: 1100px;
  margin: 28px auto;
  padding: 0 18px;
}
.auth-card,
.account-card {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(44,35,122,.11);
  padding: clamp(20px, 3vw, 34px);
}
.auth-card {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.signup-card {
  max-width: 900px;
}
.auth-card h1,
.account-card h1 {
  margin: 0;
  letter-spacing: -.04em;
}
.auth-card h2 {
  margin: 8px 0 0;
  font-size: 18px;
}
.auth-card label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 750;
  font-size: 14px;
}
.auth-card input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 9px 12px;
  font: inherit;
  background: #fff;
}
.auth-card input:focus {
  outline: 3px solid rgba(124,58,237,.18);
  border-color: #8b5cf6;
}
.form-grid {
  display: grid;
  gap: 12px;
}
.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.optional {
  color: #667085;
  font-weight: 500;
}
.terms-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 9px !important;
  line-height: 1.35;
}
.terms-check input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}
.inline-link {
  border: 0;
  background: transparent;
  color: #2563eb;
  padding: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}
.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 800;
}
.auth-submit {
  width: fit-content;
  min-width: 180px;
}
.auth-switch {
  margin: 0;
  color: #667085;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.account-payment-methods {
  display: grid;
  gap: 10px;
}
.account-payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #eef2ff;
  border-radius: 16px;
  background: #f8fafc;
}
.account-payment-card small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-weight: 700;
}
.account-card-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.account-section-head h2 {
  margin: 0;
}
.account-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.account-remove-card {
  min-width: 0;
  padding: 7px 10px;
  font-size: 12px;
}
.account-add-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
}
.account-add-card[hidden] {
  display: none;
}
.account-add-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.account-card-element {
  margin-top: 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15,23,42,.52);
  z-index: 9999;
}
.modal-backdrop.open {
  display: flex;
}
.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, 92vh);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15,23,42,.35);
  padding: 26px;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.terms-scroll {
  max-height: 420px;
  overflow: auto;
  border: 1px solid #eef2ff;
  border-radius: 18px;
  padding: 14px;
  margin: 14px 0;
  color: #475467;
  line-height: 1.55;
}
.favorite-btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}
.favorite-btn.saved {
  border-color: #be185d;
  color: #be185d;
  background: #fff1f2;
}
.favorite-message {
  margin: 8px 0 0;
}
.cart-shipping-line {
  margin-top: 4px;
}

.cart-shipping-address-panel {
  margin: 8px 0 18px;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f8f7ff);
}

.cart-address-mode-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.cart-address-mode-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.cart-address-mode-option.selected {
  border-color: #8b5cf6;
  background: #f3e8ff;
  color: #312e81;
  box-shadow: 0 8px 20px rgba(124, 58, 237, .12);
}

.cart-address-mode-option input {
  accent-color: #7c3aed;
}

.cart-po-box-note {
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-address-row-wrap {
  display: grid;
  gap: 7px;
}

.cart-address-status,
.cart-tax-status {
  margin: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-address-status.is-error,
.cart-tax-status.is-error,
.cart-item-tax-line.is-error {
  color: #b42318;
}

.cart-address-status.is-ready,
.cart-tax-status.is-ready,
.cart-item-tax-line.is-ready {
  color: #111827;
}

.cart-address-status.is-pending,
.cart-tax-status.is-pending,
.cart-item-tax-line.is-pending {
  color: #111827;
}

.cart-item-tax-line {
  margin-top: 5px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.receipt-tax-row strong {
  color: #111827;
}

.receipt-tax-row.is-error strong {
  color: #b42318;
}


.cart-address-single-line {
  margin-top: 4px;
}

.cart-address-row {
  display: grid;
  grid-template-columns: minmax(84px, .85fr) minmax(84px, .85fr) minmax(150px, 1.45fr) minmax(120px, 1.05fr) minmax(96px, .9fr) 82px 98px;
  gap: 8px;
  align-items: end;
}

.cart-address-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.cart-address-field span {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.cart-address-field input,
.cart-address-field select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 7px 9px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 13px;
}

.cart-address-field input:focus,
.cart-address-field select:focus {
  outline: 0;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .16);
}

.cart-item-address-block {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  margin-top: -2px;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background: #f8f7ff;
}

.cart-item-address-heading {
  color: #312e81;
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .cart-address-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cart-address-row {
    grid-template-columns: 1fr;
  }

  .cart-address-mode-option {
    width: 100%;
  }
}

.cart-price-col {
  text-align: right;
}

.cart-price-col .meta-line {
  margin-top: 8px;
}

.cart-summary h2 {
  margin: 0 0 14px;
}

.receipt-lines {
  display: grid;
  gap: 8px;
}

.receipt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  color: #344054;
  font-size: 14px;
  line-height: 1.35;
}

.receipt-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.receipt-row strong {
  color: #111827;
  font-size: 14px;
  white-space: nowrap;
}

.receipt-shipping-row {
  color: #667085;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e4e7ec;
}

.receipt-shipping-row strong {
  color: #047857;
}

.receipt-divider {
  border-top: 1px solid #e4e7ec;
  margin: 14px 0;
}

.receipt-total {
  font-size: 18px;
}

.receipt-total strong {
  color: #c2410c;
  font-size: 20px;
}

@media (max-width: 560px) {
  .cart-price-col {
    text-align: left;
  }
}

/* Stronger product detail layout guard: keep title/option chips from sliding under the buy/shipping stack. */
.product-detail,
.detail-top,
.detail-title,
.variant-panel,
.variant-options {
  min-width: 0;
  max-width: 100%;
}
.detail-title {
  overflow: hidden;
}
.detail-title h1,
.variant-dimension h3,
.variant-option,
.variant-option span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.buy-stack {
  z-index: 2;
}
@media (min-width: 1180px) {
  .detail-top {
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr) minmax(330px, 340px) !important;
  }
}
@media (max-width: 760px) {
  .form-grid.two,
  .form-grid.three,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .auth-submit {
    width: 100%;
  }
}

/* RoxxStar Premium membership prompt for free premium delivery. */
.shipping-box.premium-membership-required {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124,58,237,.18), 0 22px 50px rgba(88,28,135,.18);
}
.shipping-box .shipping-option.premium.needs-membership,
.shipping-box.premium-membership-required .shipping-option.premium {
  border-color: #7c3aed;
  background: linear-gradient(135deg, rgba(124,58,237,.10), rgba(2,132,199,.08));
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.premium-membership-backdrop {
  background: radial-gradient(circle at 50% 20%, rgba(124,58,237,.35), transparent 32%), rgba(15,23,42,.60);
}
.premium-membership-card {
  width: min(760px, 100%);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
}
.premium-membership-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.45), transparent 34%),
    linear-gradient(135deg, #4c1d95, #7c3aed 48%, #0284c7);
  color: #fff;
}
.premium-membership-logo .roxxstar-premium-badge {
  min-width: 176px;
  height: 30px;
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.84);
  box-shadow: 0 10px 24px rgba(15,23,42,.22);
}
.premium-membership-logo .roxxstar-premium-logo {
  height: 22px;
  max-width: 170px;
}
.premium-free-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.36);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}
.premium-membership-card h2 {
  margin: 24px 26px 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -.045em;
  color: #111827;
}
.premium-membership-copy {
  margin: 0 26px 18px;
  color: #475467;
  line-height: 1.55;
  font-size: 15px;
}
.premium-benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 26px 22px;
}
.premium-benefit-list div {
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #faf5ff);
}
.premium-benefit-list strong {
  display: block;
  color: #4c1d95;
  margin-bottom: 5px;
  font-size: 14px;
}
.premium-benefit-list span {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}
.premium-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 26px 26px;
}
.premium-other-link {
  color: #4c1d95;
}
@media (max-width: 720px) {
  .premium-membership-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .premium-benefit-list {
    grid-template-columns: 1fr;
  }
  .premium-modal-actions .btn,
  .premium-other-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Wishlist prompt shown below the cart. */
.wishlist-cart-section {
  margin-top: 22px;
  border-top: 1px solid #eef2ff;
  padding-top: 18px;
}
.wishlist-cart-banner {
  border-radius: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255,216,20,.95), rgba(255,153,0,.92));
  box-shadow: 0 14px 34px rgba(17,24,39,.12);
  margin-bottom: 16px;
  color: #111827;
}
.wishlist-cart-banner strong {
  display: block;
  font-size: 20px;
  margin-bottom: 3px;
}
.wishlist-cart-banner span {
  display: block;
  font-size: 14px;
}
.wishlist-cart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.wishlist-cart-card {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}
.wishlist-cart-image {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wishlist-cart-image img {
  max-width: 78px;
  max-height: 78px;
  object-fit: contain;
}
.wishlist-cart-card.no-image {
  grid-template-columns: 1fr;
}
.wishlist-cart-info h3 {
  font-size: 14px;
  line-height: 1.25;
  max-height: 54px;
  overflow: hidden;
  margin: 0 0 6px;
}
.wishlist-cart-info .price {
  margin: 4px 0 8px;
  font-size: 17px;
}
.wishlist-cart-info .btn {
  width: 100%;
  padding: 8px 10px;
}
@media (max-width: 700px) {
  .wishlist-cart-grid { grid-template-columns: 1fr; }
  .wishlist-cart-card { grid-template-columns: 70px minmax(0, 1fr); }
}

/* Homepage recommendations and bestseller modules. */
.section-title-link {
  color: inherit;
  text-decoration: none;
}
.section-title-link:hover,
.section-title-link:focus-visible {
  text-decoration: underline;
}
.home-recommendation-note {
  margin: -4px 0 14px;
  color: #475569;
  font-size: 14px;
}
.recommendation-row {
  align-items: stretch;
}
.recommendation-reason {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  background: #fef3c7;
  color: #7c2d12;
  border: 1px solid rgba(245, 158, 11, .32);
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}
.recommendations-page {
  max-width: 1500px;
}
.recommendations-page .listing-header {
  margin-bottom: 18px;
}
.recommendations-page .product-grid {
  margin-top: 8px;
}
@media (max-width: 700px) {
  .home-recommendation-note {
    margin-top: 0;
  }
  .recommendation-reason {
    font-size: 11px;
  }
}

/* Homepage featured product rotator. Replaces the old catalog snapshot stats card. */
.product-rotator-card {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .92), rgba(255, 255, 255, .12) 26%, transparent 46%),
    radial-gradient(circle at 80% 16%, rgba(255, 213, 79, .48), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .88));
}
.product-rotator {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 315px;
  padding: 30px 18px 22px;
  isolation: isolate;
  overflow: hidden;
}
.product-rotator::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -3;
  background: conic-gradient(from 90deg, transparent, rgba(255, 216, 20, .38), transparent, rgba(20, 184, 166, .22), transparent);
  animation: productRotatorSpin 9s linear infinite;
}
.product-rotator::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -2;
  border-radius: 24px;
  background: rgba(255, 255, 255, .74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.product-rotator-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(15, 23, 42, .88);
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-rotator-orbit,
.product-rotator-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}
.product-rotator-orbit {
  z-index: -1;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 0 0 26px rgba(255, 216, 20, .10), 0 0 0 56px rgba(20, 184, 166, .08);
  animation: productRotatorPulse 2s ease-in-out infinite;
}
.product-rotator-glow {
  z-index: -1;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255, 216, 20, .42), transparent 68%);
  filter: blur(18px);
  transform: translate(38px, 36px);
}
.product-rotator-image {
  position: relative;
  z-index: 2;
  height: clamp(215px, 24vw, 300px);
  width: auto;
  max-width: 92%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, .26));
  transform-origin: center;
  animation: productRotatorFloat 1.8s ease-in-out infinite alternate;
  will-change: transform, opacity, filter;
}
.product-rotator.is-swapping .product-rotator-image {
  animation: productRotatorSwap .72s cubic-bezier(.2, .9, .22, 1) both;
}
.product-rotator.is-swapping .product-rotator-glow {
  animation: productRotatorPop .72s ease both;
}
.product-rotator.is-swapping::after {
  animation: productRotatorFlash .72s ease both;
}
.product-rotator-fallback {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 7px;
  max-width: 280px;
  text-align: center;
  color: #334155;
  line-height: 1.35;
}
.product-rotator-fallback strong {
  color: #0f172a;
  font-size: 18px;
}
.product-rotator-fallback span {
  font-size: 13px;
}
.product-rotator-fallback code {
  white-space: nowrap;
}
.product-rotator-fallback[hidden],
.product-rotator-image[hidden] {
  display: none;
}
@keyframes productRotatorSpin {
  to { transform: rotate(360deg); }
}
@keyframes productRotatorPulse {
  0%, 100% { transform: scale(.94); opacity: .62; }
  50% { transform: scale(1.04); opacity: .95; }
}
@keyframes productRotatorFloat {
  from { transform: translateY(7px) scale(.99); }
  to { transform: translateY(-8px) scale(1.02); }
}
@keyframes productRotatorSwap {
  0% { opacity: 1; transform: translateY(-4px) rotate(0deg) scale(1); filter: drop-shadow(0 24px 28px rgba(15, 23, 42, .26)); }
  35% { opacity: .2; transform: translateY(12px) rotate(-10deg) scale(.84); filter: drop-shadow(0 10px 16px rgba(15, 23, 42, .16)); }
  55% { opacity: .45; transform: translateY(-18px) rotate(8deg) scale(1.1); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); filter: drop-shadow(0 24px 28px rgba(15, 23, 42, .26)); }
}
@keyframes productRotatorPop {
  0%, 100% { transform: translate(38px, 36px) scale(1); opacity: .85; }
  45% { transform: translate(38px, 36px) scale(1.45); opacity: 1; }
}
@keyframes productRotatorFlash {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
  45% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 44px rgba(255, 216, 20, .62); }
}
@media (max-width: 760px) {
  .product-rotator-card,
  .product-rotator {
    min-height: 270px;
  }
  .product-rotator-image {
    height: clamp(190px, 48vw, 250px);
  }
}

/* Stripe tax live-calculation states used by the cart JavaScript. */
.cart-address-status.error,
.cart-tax-status.error,
.cart-item-tax-line.error {
  color: #b42318;
}

.cart-address-status.pending,
.cart-tax-status.pending,
.cart-item-tax-line.pending {
  color: #111827;
}

/* Secure checkout page. */
.checkout-page {
  margin: 28px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.checkout-main,
.checkout-step,
.checkout-confirmation-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(124, 58, 237, .12);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.checkout-main {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.checkout-header-row,
.checkout-step-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.checkout-header-row h1,
.checkout-step-title h2 {
  margin: 0;
}

.checkout-step {
  padding: 16px;
}

.checkout-step-title {
  margin-bottom: 12px;
}

.checkout-step-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3e8ff;
  color: #312e81;
  font-weight: 900;
  margin-right: 8px;
}

.checkout-step-title > div,
.checkout-step-title h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-address-list,
.checkout-review-list,
.checkout-saved-methods {
  display: grid;
  gap: 10px;
}

.checkout-address-summary,
.checkout-payment-choice,
.checkout-new-card,
.checkout-review-item,
.checkout-confirmation-grid > div {
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background: #fff;
}

.checkout-address-summary {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.checkout-address-summary strong,
.checkout-confirmation-grid strong {
  color: #312e81;
  font-size: 13px;
}

.checkout-address-summary span,
.checkout-confirmation-grid span {
  color: #344054;
  overflow-wrap: anywhere;
}

.checkout-payment-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
}

.checkout-payment-choice input {
  margin-top: 4px;
  accent-color: #7c3aed;
}

.checkout-payment-choice span {
  display: grid;
  gap: 3px;
}

.checkout-payment-choice small,
.checkout-secure-note {
  color: #667085;
}

.checkout-new-card {
  margin-top: 12px;
  padding: 14px;
}

.checkout-save-card {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  color: #344054;
  font-weight: 800;
  font-size: 14px;
}

.checkout-card-element {
  min-height: 44px;
  padding: 12px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #fff;
}

.checkout-payment-message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
}

.checkout-payment-message.is-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.checkout-payment-message.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.checkout-payment-message.is-pending {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.checkout-review-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px;
  align-items: center;
}

.checkout-review-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.checkout-review-image img {
  max-width: 78px;
  max-height: 78px;
  object-fit: contain;
}

.checkout-review-info h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
}

.checkout-review-price {
  color: #c2410c;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-summary {
  position: sticky;
  top: 118px;
}

.checkout-summary #placeOrderBtn {
  width: 100%;
  margin-top: 14px;
}

.checkout-blocking-note {
  margin-top: 12px;
}

.checkout-confirmation-page {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.checkout-confirmation-card {
  padding: clamp(22px, 4vw, 38px);
}

.checkout-confirmation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.checkout-confirmation-grid > div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

@media (max-width: 900px) {
  .checkout-page {
    grid-template-columns: 1fr;
    margin: 18px 0;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .checkout-header-row,
  .checkout-step-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-review-item {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .checkout-review-price {
    grid-column: 2;
  }

  .checkout-confirmation-grid {
    grid-template-columns: 1fr;
  }
}


/* Pre-sign-in checkout review required for a transparent, crawlable purchase flow. */
.checkout-account-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.checkout-account-actions .btn {
  width: 100%;
  text-align: center;
}

.checkout-delivery-estimate {
  margin-top: 7px;
  line-height: 1.45;
}

.checkout-guest-summary .receipt-value {
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: right;
}

.checkout-account-required > p {
  margin: 0;
  color: #344054;
  line-height: 1.6;
}

/* ==========================================================
   Category navigation update: hover subcategory bubbles,
   collapsible department drawer, and adult-section age gate.
   ========================================================== */
.department-strip {
  overflow: visible;
  align-items: center;
}
.department-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.department-nav-item > .department-main-link {
  display: inline-flex;
  align-items: center;
}
.department-flyout {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  display: none;
  min-width: 250px;
  max-width: min(360px, calc(100vw - 32px));
  max-height: min(460px, calc(100vh - 190px));
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(167, 139, 250, .32);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 64px rgba(44,35,122,.22);
  backdrop-filter: blur(14px);
}
.department-flyout::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.department-nav-item:hover .department-flyout,
.department-nav-item:focus-within .department-flyout {
  display: grid;
  gap: 7px;
}
.department-flyout-heading {
  display: block;
  padding: 2px 4px 8px;
  color: #312e81;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.department-strip .department-flyout a {
  display: block;
  color: #344054;
  background: #f8f7ff;
  border: 1px solid #ece9fe;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  box-shadow: none;
}
.department-strip .department-flyout a:hover,
.department-strip .department-flyout a:focus {
  color: #4c1d95;
  background: #faf5ff;
  border-color: #c4b5fd;
  text-decoration: none;
}
.drawer-help {
  margin: -6px 0 14px;
  color: #667085;
  font-size: 14px;
  line-height: 1.4;
}
.drawer-category {
  border-top: 1px solid #eef2ff;
  padding: 10px 0;
}
.drawer-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-category-link {
  flex: 1 1 auto;
  min-width: 0;
  color: #111827;
  font-weight: 800;
  line-height: 1.25;
}
.drawer-category-link:hover {
  color: #4c1d95;
}
.drawer-toggle {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4c1d95;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  transition: transform .18s ease, color .18s ease;
}
.drawer-toggle:hover,
.drawer-toggle:focus {
  color: #312e81;
  background: transparent;
}
.drawer-toggle:hover {
  transform: translateX(2px);
}
.drawer-submenu-view[hidden],
.drawer-main-view[hidden],
.drawer-submenu-panel[hidden] {
  display: none;
}
.drawer-submenu-panel {
  animation: drawerSubmenuIn .18s ease;
}
.drawer-back {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0 0 13px;
  border: 0;
  border-bottom: 1px solid #eef2ff;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}
.drawer-back:hover,
.drawer-back:focus {
  color: #4c1d95;
}
.drawer-submenu-heading {
  border-top: 0;
  padding: 0 0 10px;
}
.drawer-submenu-heading .drawer-category-link {
  display: block;
}
@keyframes drawerSubmenuIn {
  from { opacity: .7; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
.drawer-subcats[hidden] {
  display: none;
}
.drawer-subcats {
  margin-top: 10px;
  display: grid;
  gap: 7px;
  padding: 0 0 2px 12px;
}
.drawer-subcats a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #475467;
  background: #fbfbff;
  border: 1px solid #eef2ff;
  border-radius: 14px;
  padding: 9px 11px;
  font-size: 14px;
}
.drawer-subcats a:hover {
  color: #4c1d95;
  background: #faf5ff;
  border-color: #ddd6fe;
  text-decoration: none;
}
.drawer-category-adult {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #fecdd3;
  border-radius: 20px;
  background: #fff1f2;
}
.drawer-category-adult .drawer-category-link {
  color: #9f1239;
}
.drawer-category-adult .drawer-category-link:hover {
  color: #be123c;
}
.drawer-category-adult .drawer-toggle {
  color: #9f1239;
  background: transparent;
  border: 0;
}
.drawer-adult-note {
  margin-top: 6px;
  color: #9f1239;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.adult-gate-backdrop {
  z-index: 10000;
}
.adult-gate-modal {
  width: min(540px, 100%);
  text-align: left;
}
.adult-gate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
  font-weight: 900;
  letter-spacing: -.04em;
}
.adult-gate-modal h2 {
  margin: 0 0 10px;
}
.adult-gate-modal p {
  color: #475467;
  line-height: 1.55;
}
.adult-gate-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .department-strip {
    overflow: auto hidden;
  }
  .department-flyout {
    display: none !important;
  }
  .adult-gate-actions .btn {
    width: 100%;
  }
}
.department-nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

/* Department nav fixes: All button stays left; categories center, wrap, and close flyouts on leave/click. */
.rp-navline {
  display: grid;
  grid-template-columns: var(--department-side-width, 86px) minmax(0, 1fr) var(--department-side-width, 86px);
  align-items: start;
  column-gap: 12px;
  row-gap: 8px;
  min-height: 0;
  height: auto;
  overflow: visible;
}

.rp-navline .nav-pill {
  grid-column: 1;
  justify-self: start;
  align-self: start;
}

.department-strip {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  display: flex;
  flex: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  row-gap: 8px;
  overflow: visible;
}

.rp-navline::after {
  content: "";
  display: block;
  grid-column: 3;
  width: var(--department-side-width, 86px);
}

.department-nav-item {
  position: relative;
}

.department-nav-item::after {
  display: none;
  pointer-events: auto;
}

.department-nav-item.open::after {
  display: block;
}

.department-nav-item:hover .department-flyout,
.department-nav-item:focus-within .department-flyout {
  display: none;
  pointer-events: none;
}

.department-nav-item.open .department-flyout,
.department-nav-item.open:hover .department-flyout,
.department-nav-item.open:focus-within .department-flyout {
  display: grid;
  gap: 7px;
  pointer-events: auto;
}

.department-nav-item.open > .department-main-link,
.department-nav-item.open:focus-within > .department-main-link {
  color: #4c1d95;
  background: #faf5ff;
  border-color: #a78bfa;
  text-decoration: none;
}

@media (max-width: 900px) {
  .department-strip {
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .rp-navline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .rp-navline::after {
    display: none;
  }

  .department-strip {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Current visual cleanup: darker RoxxPort logo panel and bare hero product rotator. */
.product-rotator-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
}
.product-rotator {
  background: transparent !important;
  overflow: visible;
  padding: 0 18px;
}
.product-rotator::before,
.product-rotator::after,
.product-rotator-badge,
.product-rotator-orbit,
.product-rotator-glow {
  display: none !important;
}
.product-rotator-image {
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, .28));
}

/* Current department-bar fix: keep the bar to main categories only unless one flyout is intentionally opened. */
.department-nav-item > .department-main-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  text-align: center;
}
.department-flyout[hidden] {
  display: none !important;
}
.department-nav-item:not(.open) > .department-flyout {
  display: none !important;
  pointer-events: none !important;
}
.department-nav-item.open > .department-flyout {
  display: grid !important;
  gap: 7px;
  pointer-events: auto;
}

/* RoxxStar Premium splash, signup offer, and first-purchase discount UI. */
body.roxxstar-splash-open {
  overflow: hidden;
}
.roxxstar-splash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(124, 58, 237, .45), transparent 31rem),
    radial-gradient(circle at 82% 20%, rgba(6, 182, 212, .32), transparent 29rem),
    rgba(15, 23, 42, .66);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: roxxstarSplashIn .22s ease both;
}
.roxxstar-splash.closing {
  animation: roxxstarSplashOut .18s ease both;
}
.roxxstar-splash-shell {
  position: relative;
  width: min(980px, 96vw);
  max-height: min(820px, 90vh);
  overflow: auto;
  border-radius: 34px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: 0 38px 110px rgba(15, 23, 42, .42);
}
.roxxstar-splash-shell > [data-roxxstar-splash-content] {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr);
  min-height: 560px;
}
.roxxstar-splash-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #111827;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
}
.roxxstar-splash-close:hover {
  background: #fff;
}
.roxxstar-splash-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 46px 34px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .32), transparent 11rem),
    linear-gradient(135deg, #111827 0%, #4c1d95 48%, #0284c7 100%);
}
.roxxstar-splash-orb {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  filter: blur(1px);
  pointer-events: none;
}
.roxxstar-splash-orb.orb-one {
  width: 240px;
  height: 240px;
  top: -76px;
  left: -86px;
}
.roxxstar-splash-orb.orb-two {
  width: 310px;
  height: 310px;
  right: -150px;
  bottom: -130px;
}
.roxxstar-splash-welcome {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(310px, 100%);
  margin: 0 0 -2px;
}
.roxxstar-splash-welcome-label {
  display: block;
  color: #fff;
  font-size: clamp(23px, 3.1vw, 34px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.045em;
  text-shadow: 0 12px 30px rgba(15, 23, 42, .28);
}
.roxxstar-splash-roxxport-logo-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 13px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 45px rgba(15, 23, 42, .24);
}
.roxxstar-splash-roxxport-logo {
  display: block;
  width: min(258px, 58vw);
  max-height: 82px;
  object-fit: contain;
}
.roxxstar-splash-roxxport-logo-fallback {
  color: #4c1d95;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -.045em;
}
.roxxstar-splash-logo-wrap,
.signup-premium-logo-img-wrap,
.roxxstar-account-logo-img-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 45px rgba(15, 23, 42, .24);
}
.roxxstar-splash-logo-wrap {
  padding: 22px 24px;
}
.roxxstar-splash-logo {
  display: block;
  width: min(310px, 66vw);
  max-height: 112px;
  object-fit: contain;
}
.roxxstar-splash-logo-fallback,
.signup-premium-logo-img-fallback,
.roxxstar-account-logo-img-fallback {
  color: #4c1d95;
  font-weight: 900;
  letter-spacing: -.02em;
}
.roxxstar-splash-logo-fallback {
  font-size: clamp(26px, 4vw, 42px);
}
.roxxstar-splash-tagline {
  position: relative;
  z-index: 1;
  width: min(310px, 100%);
  margin: 0;
  color: #e0f2fe;
  font-size: 18px;
  line-height: 1.45;
}
.roxxstar-splash-progress {
  position: relative;
  z-index: 1;
  width: min(310px, 100%);
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  border: 1px solid rgba(255, 255, 255, .22);
}
.roxxstar-splash-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, #a5f3fc);
  animation: roxxstarSplashProgress 1.55s ease-in-out infinite;
}
.roxxstar-splash-left-discount {
  position: relative;
  z-index: 1;
  width: min(310px, 100%);
  margin: -6px 0 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -.02em;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.roxxstar-splash-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 54px);
}
.roxxstar-splash-eyebrow {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4c1d95;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.roxxstar-splash-copy h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: .98;
  letter-spacing: -.055em;
}
.roxxstar-splash-copy p {
  margin: 0;
  color: #475467;
  font-size: 16px;
  line-height: 1.55;
}
.roxxstar-splash-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.roxxstar-splash-benefit {
  padding: 14px;
  border: 1px solid #e9d5ff;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #faf5ff);
}
.roxxstar-splash-benefit strong,
.signup-premium-benefits span {
  display: block;
  color: #4c1d95;
  font-weight: 900;
}
.roxxstar-splash-benefit span {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.roxxstar-splash-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.roxxstar-splash-primary {
  min-width: 212px;
}
.roxxstar-splash-skip {
  color: #4c1d95;
}
.roxxstar-splash-copy.is-member {
  gap: 14px;
}
.roxxstar-splash-copy.is-member h2 {
  font-size: clamp(28px, 3.8vw, 44px);
}
.roxxstar-splash-member-picks-wrap {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}
.roxxstar-splash-member-picks {
  min-height: 238px;
}
.roxxstar-splash-picks-loading,
.roxxstar-splash-member-picks-empty {
  padding: 16px;
  border: 1px dashed #d8b4fe;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #faf5ff);
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}
.roxxstar-splash-member-picks-empty p {
  margin: 0;
}
.roxxstar-splash-picks-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.roxxstar-splash-picks-heading strong {
  color: #111827;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.025em;
}
.roxxstar-splash-picks-heading span {
  color: #667085;
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}
.roxxstar-splash-picks-list {
  display: grid;
  gap: 10px;
}
.roxxstar-splash-pick-link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #faf5ff);
  color: #111827;
  box-shadow: 0 12px 26px rgba(44, 35, 122, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.roxxstar-splash-pick-link:hover {
  color: #111827;
  text-decoration: none;
  border-color: #a78bfa;
  box-shadow: 0 18px 34px rgba(44, 35, 122, .14);
  transform: translateY(-2px);
}
.roxxstar-splash-pick-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2ff;
}
.roxxstar-splash-pick-img {
  display: block;
  max-width: 68px;
  max-height: 68px;
  object-fit: contain;
}
.roxxstar-splash-pick-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  color: #4c1d95;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #f5f3ff;
}
.roxxstar-splash-pick-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.roxxstar-splash-pick-info strong {
  color: #111827;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.roxxstar-splash-pick-price {
  color: #c2410c;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}
.roxxstar-splash-pick-price small {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}
.roxxstar-splash-pick-info small {
  color: #667085;
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.signup-premium-banner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid #e9d5ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(124, 58, 237, .15), transparent 18rem),
    linear-gradient(135deg, #fff, #f5f3ff);
}
.signup-premium-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.signup-premium-logo-img-wrap,
.roxxstar-account-logo-img-wrap {
  padding: 13px 15px;
  border: 1px solid #ede9fe;
  box-shadow: 0 16px 32px rgba(44, 35, 122, .14);
}
.signup-premium-logo-img,
.roxxstar-account-logo-img {
  display: block;
  width: 176px;
  max-height: 66px;
  object-fit: contain;
}
.signup-premium-banner h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.signup-premium-banner p {
  margin: 0;
  color: #475467;
  line-height: 1.45;
}
.signup-premium-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.signup-premium-benefits span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e9d5ff;
  font-size: 12px;
}
.receipt-row.receipt-discount-row span,
.receipt-row.receipt-discount-row strong,
.roxxstar-discount-note {
  color: #027a48;
}
.roxxstar-account-status {
  display: grid;
  gap: 10px;
}
.roxxstar-account-logo {
  display: flex;
  justify-content: flex-start;
}
@keyframes roxxstarSplashIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes roxxstarSplashOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes roxxstarSplashProgress {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(62%); }
  100% { transform: translateX(250%); }
}
@media (max-width: 820px) {
  .roxxstar-splash {
    padding: 14px;
    align-items: flex-start;
    overflow: auto;
  }
  .roxxstar-splash-shell > [data-roxxstar-splash-content] {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .roxxstar-splash-visual {
    min-height: 250px;
    padding: 34px 24px;
  }
  .roxxstar-splash-copy {
    padding: 26px;
  }
  .roxxstar-splash-benefits,
  .signup-premium-banner {
    grid-template-columns: 1fr;
  }
  .roxxstar-splash-picks-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .roxxstar-splash-picks-heading span {
    text-align: left;
  }
  .signup-premium-logo {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .roxxstar-splash-actions .btn,
  .roxxstar-splash-actions .inline-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .roxxstar-splash-logo {
    width: min(260px, 76vw);
  }
  .roxxstar-splash-roxxport-logo {
    width: min(222px, 70vw);
  }
  .roxxstar-splash-pick-link {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .roxxstar-splash-pick-image {
    width: 64px;
    height: 64px;
  }
  .roxxstar-splash-pick-img {
    max-width: 56px;
    max-height: 56px;
  }
  .signup-premium-logo-img,
  .roxxstar-account-logo-img {
    width: 148px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .roxxstar-splash,
  .roxxstar-splash.closing,
  .roxxstar-splash-progress span {
    animation: none !important;
  }
}

/* Drawer category drill-down fix: let subcategories open one level at a time. */
.drawer-dynamic-view {
  display: block;
}
.drawer-category-link-button,
.drawer-category-label {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}
.drawer-category-link-button:hover,
.drawer-category-link-button:focus {
  color: #4c1d95;
  background: transparent;
}
.drawer-submenu-heading > h2 {
  margin: 0;
}
.drawer-submenu-heading > .drawer-category-link,
.drawer-submenu-heading > .drawer-category-label {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -.02em;
}

/* ==========================================================
   Orders, Buy Again, and delivered-item reviews.
   ========================================================== */
.orders-page {
  max-width: 1180px;
  margin: 28px auto;
  padding: 0 18px;
}
.orders-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.orders-header h1 {
  margin: 0;
  letter-spacing: -.04em;
}
.orders-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #d0d5dd;
  margin-bottom: 18px;
  overflow-x: auto;
}
.orders-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 13px 18px 12px;
  color: #344054;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.orders-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
  font-size: 12px;
}
.orders-tab.active {
  border-bottom-color: #f59e0b;
  color: #111827;
}
.orders-tab.active span {
  background: #fff7ed;
  color: #c2410c;
}
.orders-panel[hidden] {
  display: none;
}
.orders-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid #eef2ff;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.orders-empty h2 {
  margin: 0;
}
.order-card {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #d0d5dd;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.07);
}
.order-card-header {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e4e7ec;
}
.order-card-header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.order-card-header span,
.order-card-subhead span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.order-card-header strong {
  color: #111827;
  overflow-wrap: anywhere;
}
.order-number-box strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}
.order-card-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef2ff;
}
.order-card-subhead > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.order-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
}
.order-status-pill.status-delivered {
  background: #ecfdf3;
  color: #027a48;
}
.order-status-pill.status-cancelled,
.order-status-pill.status-canceled,
.order-status-pill.status-refunded {
  background: #fef2f2;
  color: #b91c1c;
}
.order-items-list {
  display: grid;
}
.order-item-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) minmax(140px, auto);
  gap: 16px;
  padding: 18px 16px;
  border-top: 1px solid #f2f4f7;
}
.order-item-row:first-child {
  border-top: 0;
}
.order-item-image,
.buy-again-image,
.review-modal-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eef2ff;
  border-radius: 18px;
  background: #fff;
  min-height: 104px;
}
.order-item-img,
.buy-again-img,
.review-modal-img {
  max-width: 96px;
  max-height: 96px;
  object-fit: contain;
}
.order-image-fallback {
  color: #667085;
  font-weight: 900;
}
.order-item-main h3,
.buy-again-main h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.35;
}
.order-item-main h3 a,
.buy-again-main h3 a {
  color: #111827;
  text-decoration: none;
}
.order-item-main h3 a:hover,
.buy-again-main h3 a:hover {
  color: #2563eb;
  text-decoration: underline;
}
.order-item-actions,
.buy-again-actions,
.review-modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.order-action {
  min-width: 0;
  padding: 8px 12px;
  font-size: 13px;
}
.order-item-side {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 10px;
  text-align: right;
}
.order-item-side strong {
  color: #c2410c;
  font-size: 16px;
}
.order-review-note {
  margin: 8px 0 0;
  color: #475467;
  font-size: 13px;
  font-weight: 750;
}
.order-item-row.is-unavailable {
  background: #f9fafb;
}
.price-drop-banner {
  width: fit-content;
  margin: 9px 0 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 12px;
  font-weight: 950;
}
.buy-again-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.buy-again-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d0d5dd;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.07);
}
.buy-again-image {
  min-height: 150px;
}
.buy-again-img {
  max-width: 142px;
  max-height: 142px;
}
.buy-again-prices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
}
.buy-again-prices strong {
  color: #c2410c;
  font-size: 18px;
}
.buy-again-prices span {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}
.review-modal {
  width: min(680px, 100%);
}
.review-modal-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 12px 0 16px;
  padding: 12px;
  border: 1px solid #eef2ff;
  border-radius: 18px;
  background: #f8fafc;
}
.review-modal-thumb {
  min-height: 82px;
}
.review-modal-img {
  max-width: 74px;
  max-height: 74px;
}
.review-form {
  display: grid;
  gap: 12px;
}
.review-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 850;
}
.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.review-form textarea {
  min-height: 126px;
  resize: vertical;
}
.review-stars {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
}
.review-stars legend {
  padding: 0 6px;
  color: #344054;
  font-weight: 900;
}
.review-stars label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.review-stars input {
  width: auto;
  accent-color: #f59e0b;
}
.review-stars span {
  color: #f59e0b;
  font-weight: 950;
  letter-spacing: .04em;
}
.order-tracking-line {
  margin: 8px 0 0;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
.track-order-action {
  border-color: rgba(37,99,235,.28);
  background: #eff6ff;
  color: #1d4ed8;
}
.tracking-page {
  max-width: 1180px;
  margin: 28px auto;
  padding: 0 18px 38px;
}
.tracking-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.tracking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}
.tracking-map-card,
.tracking-summary-card,
.tracking-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d0d5dd;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}
.tracking-map-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 26px;
  background: linear-gradient(145deg, #eef6ff 0%, #f8f7ff 46%, #fff7ed 100%);
}
.tracking-map-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: linear-gradient(rgba(37,99,235,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.14) 1px, transparent 1px);
  background-size: 44px 44px;
}
.tracking-map-grid span {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 0 0 1px rgba(37,99,235,.08);
}
.tracking-map-grid span:nth-child(1) { width: 160px; height: 18px; left: 9%; top: 19%; transform: rotate(-13deg); }
.tracking-map-grid span:nth-child(2) { width: 230px; height: 20px; right: -3%; top: 38%; transform: rotate(20deg); }
.tracking-map-grid span:nth-child(3) { width: 180px; height: 18px; left: 16%; bottom: 28%; transform: rotate(12deg); }
.tracking-map-grid span:nth-child(4) { width: 110px; height: 16px; right: 18%; bottom: 17%; transform: rotate(-18deg); }
.tracking-route-line {
  position: absolute;
  left: 14%;
  right: 18%;
  top: 42%;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(37,99,235,.42) 0 16px, transparent 16px 26px);
  transform: rotate(-12deg);
}
.tracking-map-pin {
  position: absolute;
  left: 52%;
  top: 30%;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(17,24,39,.25);
}
.tracking-map-card p,
.tracking-map-card h2,
.tracking-map-card .tracking-eta {
  position: relative;
  z-index: 1;
}
.tracking-map-card p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tracking-map-card h2 {
  max-width: 680px;
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 4vw, 46px);
  line-height: .98;
  letter-spacing: -.05em;
}
.tracking-eta {
  width: fit-content;
  margin-top: 4px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255,255,255,.82);
  color: #c2410c;
  font-size: 13px;
  font-weight: 950;
}
.tracking-summary-card,
.tracking-card {
  padding: clamp(18px, 3vw, 26px);
}
.tracking-eyebrow {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tracking-summary-card h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.05em;
  line-height: 1;
}
.tracking-summary-text {
  margin: 12px 0 16px;
  color: #475467;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}
.tracking-number-panel {
  display: grid;
  gap: 5px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background: #f8fafc;
}
.tracking-number-panel span,
.tracking-meta-grid span,
.tracking-section-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tracking-number-panel strong {
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.tracking-number-panel p {
  margin: 0;
  color: #667085;
  font-size: 13px;
}
.tracking-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.tracking-meta-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.tracking-meta-grid strong {
  color: #111827;
  overflow-wrap: anywhere;
}
.tracking-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tracking-card {
  margin-top: 18px;
}
.tracking-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.tracking-section-head h2,
.tracking-items-card h2 {
  margin: 0;
  color: #111827;
  letter-spacing: -.03em;
}
.tracking-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.tracking-step {
  position: relative;
  display: grid;
  gap: 9px;
  align-content: start;
  color: #667085;
  font-weight: 850;
}
.tracking-step::before {
  content: "";
  position: absolute;
  left: 18px;
  right: calc(100% - 18px);
  top: 13px;
  height: 4px;
  background: #e4e7ec;
  transform: translateX(-100%);
}
.tracking-step:first-child::before { display: none; }
.tracking-step.is-complete::before,
.tracking-step.is-active::before {
  background: #2563eb;
}
.tracking-dot {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: inline-flex;
  border-radius: 999px;
  background: #e4e7ec;
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px #d0d5dd;
}
.tracking-step.is-complete .tracking-dot,
.tracking-step.is-active .tracking-dot {
  background: #2563eb;
  box-shadow: 0 0 0 1px rgba(37,99,235,.42);
}
.tracking-step.is-active .tracking-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245,158,11,.48), 0 0 0 6px rgba(245,158,11,.14);
}
.tracking-step strong {
  color: #111827;
}
.tracking-step small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}
.tracking-item-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.tracking-item-choice {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  color: #111827;
  text-decoration: none;
  background: #fff;
}
.tracking-item-choice:hover,
.tracking-item-choice.selected {
  border-color: rgba(37,99,235,.38);
  background: #eff6ff;
}
.tracking-item-choice span {
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}
.tracking-events {
  position: relative;
  display: grid;
  gap: 0;
}
.tracking-event {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 18px;
}
.tracking-event::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: #e4e7ec;
}
.tracking-event:last-child {
  padding-bottom: 0;
}
.tracking-event:last-child::before {
  display: none;
}
.tracking-event-dot {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #2563eb;
  border: 6px solid #eff6ff;
}
.tracking-event-main {
  display: grid;
  gap: 4px;
}
.tracking-event-main strong {
  color: #111827;
}
.tracking-event-main p {
  margin: 0;
  color: #475467;
  line-height: 1.45;
}
.tracking-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}
.tracking-empty-events {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: #667085;
  font-weight: 800;
}
@media (max-width: 900px) {
  .tracking-hero {
    grid-template-columns: 1fr;
  }
  .tracking-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tracking-step {
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
  }
  .tracking-step::before {
    left: 14px;
    right: auto;
    top: -12px;
    bottom: calc(100% - 2px);
    width: 4px;
    height: auto;
    transform: none;
  }
}
@media (max-width: 760px) {
  .orders-header,
  .order-card-subhead {
    align-items: flex-start;
    flex-direction: column;
  }
  .order-card-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-item-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }
  .order-item-image {
    min-height: 84px;
  }
  .order-item-img {
    max-width: 78px;
    max-height: 78px;
  }
  .order-item-side {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}
@media (max-width: 520px) {
  .order-card-header,
  .review-modal-product {
    grid-template-columns: 1fr;
  }
}

/* Variant availability: unavailable variants stay selectable and link to their product page. */
.variant-stock-label {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}
.variant-option.disabled .variant-stock-label,
.variant-option.unavailable .variant-stock-label {
  text-decoration: none;
}
.variant-option.disabled,
.variant-option.unavailable {
  text-decoration: none;
}
.variant-option.disabled > span,
.variant-option.unavailable .variant-value-text {
  text-decoration: line-through;
}
.variant-option.unavailable {
  cursor: pointer;
  opacity: 1;
}
.variant-option.unavailable .variant-stock-label {
  color: var(--red);
}
.product-detail-unavailable .buy-box {
  border-color: rgba(185, 28, 28, .28);
}
.product-detail-unavailable .buy-actions .btn:disabled,
.product-detail-unavailable .buy-actions .btn.ghosted {
  cursor: not-allowed;
  opacity: .45;
}
.product-unavailable-notice {
  margin-top: 10px;
}
.stock-alert-box {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(185, 28, 28, .18);
  border-radius: 14px;
  background: rgba(255, 247, 237, .75);
}
.stock-alert-btn {
  width: 100%;
}
.stock-alert-message {
  margin-bottom: 0;
}

/* RoxxPort product browsing updates: drilldown filters, all-products cards, and Buy It Now flow. */
.listing-notice {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #f3d27a;
  border-radius: 8px;
  background: #fff8e1;
  color: #5f4500;
  font-size: 14px;
}
.listing-notice[hidden] { display: none; }
.filter-help {
  margin: -2px 0 8px;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}
.drilldown-filter .meta-line {
  margin: 0;
  font-size: 12px;
}
.filter-drill-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
}
.filter-drill-link,
.filter-drill-arrow {
  display: flex;
  align-items: center;
  min-height: 30px;
  border-radius: 7px;
  color: inherit;
  text-decoration: none;
}
.filter-drill-link {
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  min-width: 0;
}
.filter-drill-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-drill-link small {
  flex: 0 0 auto;
  color: #667085;
  font-size: 11px;
}
.filter-drill-arrow {
  justify-content: center;
  border: 1px solid #d0d5dd;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
.filter-drill-link:hover,
.filter-drill-arrow:hover {
  background: #f2f4f7;
  color: #111827;
}
.product-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}
.product-card-actions .btn {
  width: 100%;
  min-height: 34px;
  padding: 7px 6px;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}
.product-card-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.cart-shipping-options {
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #f9fafb;
}
.cart-shipping-options legend,
.cart-shipping-options strong {
  margin-bottom: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}
.cart-shipping-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
  padding: 8px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.cart-shipping-option input { margin: 0; }
.cart-shipping-option strong { display: block; margin: 0; font-size: 13px; }
.cart-shipping-option small { display: block; color: #667085; font-size: 12px; }
.cart-shipping-option-price {
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}
.cart-shipping-option.premium {
  border-color: #f3d27a;
  background: #fffaf0;
}
.cart-shipping-option.express {
  border-color: #e4c15f;
  background: #fffaf0;
}
.cart-shipping-option.express:has(input:checked) {
  border-color: #b7791f;
  box-shadow: 0 0 0 2px rgba(183,121,31,.14);
}
.order-shipping-method {
  margin: 7px 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.45;
}
.cart-shipping-options-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cart-shipping-options-empty span {
  flex-basis: 100%;
  color: #667085;
  font-size: 12px;
}
.cart-load-shipping {
  margin-top: 6px;
  font-weight: 800;
}
.cart-load-shipping:disabled {
  cursor: wait;
  opacity: .7;
}
.cart-shipping-load-error {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-size: 12px;
}
.buy-now-cart-page .cart-summary h2,
.buy-now-cart-page .cart-list h1 {
  color: #111827;
}
@media (max-width: 640px) {
  .filter-drill-row {
    grid-template-columns: minmax(0, 1fr) 34px;
  }
  .product-card-actions {
    grid-template-columns: 1fr;
  }
  .cart-shipping-option {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .cart-shipping-option-price {
    grid-column: 2;
    text-align: left;
  }
}

/* Homepage panel content swapped to personalized / guest product tiles. */
.home-panel-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
}
.home-panel-card:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,.14);
}
.home-panel-card-head h2 {
  margin-bottom: 6px;
}
.home-card-title-link {
  color: var(--ink);
}
.home-card-title-link:hover {
  color: #c7511f;
}
.home-panel-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.home-panel-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.home-panel-product {
  color: var(--ink);
  display: grid;
  gap: 6px;
  min-width: 0;
}
.home-panel-product:hover {
  text-decoration: none;
  color: var(--ink);
}
.home-panel-product:hover .home-panel-product-title {
  color: #c7511f;
  text-decoration: underline;
}
.home-panel-product-image {
  align-items: center;
  background: #f7fafa;
  border: 1px solid #eef0f0;
  border-radius: 4px;
  display: flex;
  height: 105px;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}
.home-panel-product-img {
  max-height: 92px;
  max-width: 100%;
  object-fit: contain;
}
.home-panel-product-placeholder {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.home-panel-product-title {
  color: #0f1111;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.25;
  min-height: 32px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-panel-product-price {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}
.home-panel-product-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.home-panel-see-more {
  margin-top: auto;
  width: fit-content;
}
.home-panel-loading {
  color: var(--muted);
}
.home-gift-card-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.home-gift-card-tile {
  align-items: center;
  background: linear-gradient(135deg, #fff7d6, #f7fafa);
  border: 1px solid #f0c14b;
  border-radius: 10px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 105px;
  padding: 12px;
  text-align: center;
}
.home-gift-card-tile:hover {
  color: var(--ink);
  text-decoration: none;
  border-color: #c7511f;
}
.home-gift-card-tile strong {
  font-size: 24px;
}
.home-gift-card-tile span {
  color: var(--muted);
  font-size: 12px;
}
.home-collection-page .listing-header-row {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
}

/* Account gift-card balance header. */
.account-header-row {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.account-gift-balance {
  background: #f7fafa;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 6px;
  min-width: 245px;
  padding: 14px 16px;
  text-align: right;
}
.account-gift-balance span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.account-gift-balance strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.account-gift-balance a {
  font-weight: 700;
}

/* Gift card purchase page. */
.gift-card-page {
  margin: 28px auto;
  max-width: 1180px;
  padding: 0 18px;
}
.gift-card-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}
.gift-card-main-card,
.gift-card-info-card {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 34px);
}
.gift-card-main-card h1 {
  margin: 0 0 10px;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.gift-card-balance-banner {
  align-items: center;
  background: linear-gradient(135deg, #fff7d6, #f7fafa);
  border: 1px solid #f0c14b;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
}
.gift-card-balance-banner span {
  color: var(--muted);
  font-weight: 700;
}
.gift-card-balance-banner strong {
  font-size: 30px;
}
.gift-card-form {
  display: grid;
  gap: 16px;
}
.gift-card-form fieldset {
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}
.gift-card-form legend {
  font-weight: 800;
  padding: 0 6px;
}
.gift-card-radio {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 10px;
  padding: 12px;
}
.gift-card-radio small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.gift-card-radio.is-disabled {
  opacity: .62;
}
.gift-card-amount-label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}
.gift-card-amount-label input,
.gift-card-recipient-disabled input {
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 44px;
  padding: 9px 12px;
  width: 100%;
}
.gift-card-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gift-card-recipient-disabled {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.gift-card-recipient-disabled label {
  color: var(--muted);
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.gift-card-payment-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  padding: 16px;
}
.gift-card-payment-box h2 {
  margin: 0;
}
.gift-card-element {
  min-height: 90px;
}
.gift-card-info-card {
  display: grid;
  gap: 12px;
}
.gift-card-info-card h2,
.gift-card-info-card p {
  margin: 0;
}

/* Checkout gift-card balance application. */
.checkout-gift-card-choice {
  background: #f7fafa;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}
.checkout-gift-card-choice label {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}
.checkout-gift-card-choice small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.checkout-due-now {
  color: var(--red);
}

@media (max-width: 1100px) {
  .home-panel-products,
  .home-gift-card-tiles {
    gap: 10px;
  }
  .home-panel-product-image,
  .home-gift-card-tile {
    height: auto;
    min-height: 96px;
  }
  .gift-card-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .account-header-row,
  .home-collection-page .listing-header-row,
  .checkout-gift-card-choice,
  .gift-card-balance-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .account-gift-balance {
    min-width: 0;
    text-align: left;
  }
  .gift-card-recipient-disabled {
    grid-template-columns: 1fr;
  }
}

/* Email verification code screen. */
.email-verify-page {
  max-width: 900px;
}
.email-verify-card {
  max-width: 680px;
  text-align: left;
}
.email-verify-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 28px);
  flex-wrap: wrap;
  padding: 8px 0 4px;
}
.email-verify-roxxport-logo-wrap,
.email-verify-premium-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.email-verify-roxxport-logo {
  width: min(180px, 42vw);
  max-height: 76px;
  object-fit: contain;
}
.email-verify-premium-logo {
  width: min(220px, 52vw);
  max-height: 90px;
  object-fit: contain;
}
.email-verify-roxxport-logo-fallback,
.email-verify-premium-logo-fallback {
  font-weight: 900;
  color: #2c237a;
}
.email-verify-callout {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #e9d5ff;
  background: linear-gradient(135deg, rgba(250,204,21,.18), rgba(124,58,237,.08));
  border-radius: 18px;
  color: #344054;
  line-height: 1.45;
}
.email-verify-callout strong {
  color: #2c237a;
  font-size: 16px;
}
.verification-code-input {
  text-align: center;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: .22em;
  text-decoration: underline;
}
.form-success {
  margin: 0;
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 750;
}
@media (max-width: 620px) {
  .email-verify-logo-row {
    gap: 10px;
  }
  .verification-code-input {
    font-size: 22px !important;
    letter-spacing: .16em;
  }
}

/* Verified-account welcome screen shown after the six-digit code is accepted. */
.email-verified-splash {
  position: relative;
  min-height: min(760px, calc(100vh - 120px));
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 64px) 16px;
  overflow: hidden;
}
.email-verified-card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  text-align: center;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(44,35,122,.18);
  padding: clamp(28px, 5vw, 48px);
}
.email-verified-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 28px);
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.email-verified-roxxport-logo-wrap,
.email-verified-premium-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.email-verified-roxxport-logo {
  width: min(180px, 42vw);
  max-height: 76px;
  object-fit: contain;
}
.email-verified-premium-logo {
  width: min(220px, 52vw);
  max-height: 90px;
  object-fit: contain;
}
.email-verified-roxxport-logo-fallback,
.email-verified-premium-logo-fallback {
  font-weight: 900;
  color: #2c237a;
}
.email-verified-eyebrow {
  display: inline-flex;
  margin: 4px 0 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff8db;
  color: #2c237a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.email-verified-card h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
}
.email-verified-main {
  margin: 0 0 12px;
  font-size: clamp(19px, 3.2vw, 26px);
  font-weight: 900;
  color: #2c237a;
}
.email-verified-redirect {
  margin: 18px 0 0;
  color: #667085;
  font-weight: 750;
}
.email-verified-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.email-verified-confetti span {
  position: absolute;
  top: -24px;
  left: var(--left);
  width: 10px;
  height: 16px;
  border-radius: 3px;
  background: #facc15;
  opacity: .9;
  transform: translateY(-24px) rotate(0deg);
  animation: roxxport-confetti-fall 2.8s ease-in infinite;
  animation-delay: var(--delay);
}
.email-verified-confetti span:nth-child(3n+1) {
  background: #7c3aed;
}
.email-verified-confetti span:nth-child(3n+2) {
  background: #22c55e;
  width: 8px;
  height: 14px;
}
.email-verified-confetti span:nth-child(4n) {
  background: #38bdf8;
  border-radius: 999px;
}
@keyframes roxxport-confetti-fall {
  0% { transform: translate3d(0,-24px,0) rotate(0deg); opacity: 0; }
  10% { opacity: .95; }
  100% { transform: translate3d(var(--drift), calc(100vh + 44px), 0) rotate(540deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .email-verified-confetti span {
    animation: none;
    opacity: .25;
    top: 12%;
  }
}
@media (max-width: 620px) {
  .email-verified-card {
    border-radius: 22px;
  }
  .email-verified-logo-row {
    gap: 10px;
  }
}

/* Privacy Policy, Terms & Conditions, and Return & Refund Policy pages. */
.legal-topbar {
  justify-content: space-between;
}
.legal-topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.legal-topnav a {
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}
.legal-topnav a:hover {
  border-color: rgba(255,255,255,.8);
  color: #fff;
  text-decoration: none;
}
.legal-page {
  width: min(1120px, 100% - 28px);
  margin: 28px auto;
  min-height: auto;
}
.legal-card {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(44,35,122,.11);
  padding: clamp(20px, 4vw, 42px);
  line-height: 1.62;
}
.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -.05em;
}
.legal-card h2 {
  margin: 30px 0 10px;
  padding-top: 18px;
  border-top: 1px solid #eef2ff;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -.03em;
}
.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  color: #312e81;
}
.legal-card p {
  margin: 10px 0;
  color: #344054;
}
.legal-card ul,
.terms-scroll ul {
  margin: 10px 0 14px 24px;
  color: #344054;
}
.legal-card li,
.terms-scroll li {
  margin: 6px 0;
  line-height: 1.55;
}
.legal-card .legal-date {
  display: inline-flex;
  margin: 4px 10px 6px 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f8f7ff;
  color: #312e81;
  font-weight: 800;
}
.legal-label {
  margin-top: 16px !important;
  color: #111827 !important;
}
.legal-footer .footer-cols span {
  line-height: 1.35;
}
.terms-check a {
  color: #2563eb;
  font-weight: 900;
  text-decoration: underline;
}
.terms-modal {
  width: min(900px, 100%);
}
.terms-scroll h2,
.terms-scroll h3 {
  margin: 18px 0 8px;
  color: #111827;
}
.terms-scroll h2 {
  padding-top: 14px;
  border-top: 1px solid #eef2ff;
  font-size: 18px;
}
.terms-scroll h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.terms-scroll h3 {
  font-size: 16px;
  color: #312e81;
}
.terms-scroll p {
  margin: 9px 0;
}
.terms-scroll .legal-date {
  display: inline-flex;
  margin: 3px 8px 8px 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f8f7ff;
  color: #312e81;
  font-weight: 800;
}
.terms-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
}
.terms-modal-links a {
  color: #2563eb;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .legal-topbar {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-topnav {
    justify-content: flex-start;
    margin-left: 0;
  }
  .legal-topnav a {
    padding: 6px 9px;
  }
}


/* RoxxPort tweak pass: responsive department nav, price slider, and account recovery links. */
.auth-recovery-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
  font-size: 14px;
  font-weight: 800;
}
.auth-recovery-links a {
  color: #2563eb;
  text-decoration: underline;
}
.account-recovery-card .email-verify-callout {
  margin: 14px 0 16px;
}
.price-filter-group .filter-help {
  margin-bottom: 0;
}
.price-slider-wrap {
  position: relative;
  height: 34px;
  margin: 4px 0 10px;
}
.price-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 5px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.price-slider-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #312e81, #7c3aed);
}
.price-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.price-range::-webkit-slider-runnable-track {
  height: 5px;
  background: transparent;
}
.price-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #4c1d95;
  box-shadow: 0 4px 12px rgba(44,35,122,.28);
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
}
.price-range::-moz-range-track {
  height: 5px;
  background: transparent;
}
.price-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #4c1d95;
  box-shadow: 0 4px 12px rgba(44,35,122,.28);
  cursor: pointer;
  pointer-events: auto;
}
.price-range-min {
  z-index: 2;
}
.price-range-max {
  z-index: 3;
}
@media (max-width: 1024px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  .rp-navline {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    min-height: 50px;
    padding: 10px 12px;
  }
  .rp-navline::after {
    display: none !important;
    content: none !important;
  }
  .rp-navline .nav-pill {
    grid-column: auto;
    justify-self: start;
  }
  .department-strip {
    display: none !important;
  }
}

/* 2026-06-28 account/mobile/header/gallery polish */
.account-profile-section {
  grid-column: 1 / -1;
}
.account-profile-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 16px;
}
.account-profile-summary div,
.account-order-preview-card {
  border: 1px solid #eef2ff;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px 14px;
}
.account-profile-summary span,
.account-order-preview-head span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.account-profile-summary strong {
  display: block;
  color: #111827;
  font-size: 15px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.account-profile-section h3 {
  margin: 16px 0 8px;
}
.account-profile-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e9d5ff;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #faf5ff);
}
.account-profile-form[hidden],
.account-new-email-verification[hidden],
#accountProfileCurrentCodeWrap[hidden] {
  display: none !important;
}
.account-profile-form-head,
.account-profile-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.account-profile-form-head h3 {
  margin: 0 0 4px;
}
.account-profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.account-profile-fields label,
.account-verification-box label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}
.account-profile-fields input,
.account-verification-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #fff;
  padding: 9px 12px;
  font: inherit;
}
.account-profile-fields input:focus,
.account-verification-box input:focus {
  outline: 3px solid rgba(124, 58, 237, .18);
  border-color: #8b5cf6;
}
.account-profile-full {
  grid-column: 1 / -1;
}
.account-verification-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid #ddd6fe;
  border-radius: 18px;
  background: #fff;
}
.account-verification-box label {
  grid-column: 1 / -1;
}
.account-new-email-verification {
  margin-top: 4px;
  border-color: #bae6fd;
  background: #f0f9ff;
}
.account-orders-section {
  grid-column: 1 / -1;
}
.account-orders-preview {
  display: grid;
  gap: 12px;
}
.account-orders-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.account-order-preview-card {
  display: grid;
  gap: 10px;
}
.account-order-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.account-order-preview-head strong {
  display: block;
  margin-top: 3px;
}
.account-order-preview-items {
  margin: 0;
  padding-left: 18px;
  color: #344054;
  line-height: 1.35;
}
.account-order-preview-items span {
  color: #667085;
  font-weight: 800;
}
.account-view-all-orders {
  margin: 2px 0 0;
}
.account-orders-empty h3 {
  margin: 0 0 6px;
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
  .rp-topbar .rp-toplink {
    display: flex !important;
  }
  .department-strip {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .rp-topbar {
    align-items: center;
    gap: 8px;
  }
  .rp-deliver {
    display: none !important;
  }
  .rp-logo-wrap {
    flex: 0 1 190px;
    min-width: 170px !important;
    height: 68px !important;
    padding: 6px 10px;
  }
  .rp-logo {
    max-width: 170px;
    max-height: 58px;
  }
  .rp-topbar .rp-toplink,
  .rp-cart-link {
    height: 46px;
    padding: 5px 8px;
  }
  .rp-search {
    order: 20;
    flex: 1 1 100%;
  }
}

@media (max-width: 760px) {
  .account-profile-summary,
  .account-profile-fields,
  .account-orders-preview-list {
    grid-template-columns: 1fr;
  }
  .account-verification-box {
    grid-template-columns: 1fr;
  }
  .account-verification-box .btn {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .rp-topbar {
    justify-content: space-between;
  }
  .rp-logo-wrap {
    flex: 1 1 100%;
    min-width: 0 !important;
    max-width: none;
    height: 62px !important;
  }
  .rp-logo {
    max-width: 210px;
    max-height: 54px;
  }
  .rp-topbar .rp-toplink {
    flex: 1 1 92px;
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 5px 6px;
  }
  .rp-topbar .rp-toplink .tiny {
    font-size: 10px;
    line-height: 12px;
  }
  .rp-topbar .rp-toplink strong {
    font-size: 12px;
    line-height: 14px;
  }
  .rp-cart-link {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 5px 7px;
  }
  .cart-icon {
    font-size: 24px;
    line-height: 24px;
  }
}

/* Gift-card redemption, recipient send fields, and compact mobile/tablet refine layout. */
.auth-claim-notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  color: #075985;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 14px;
}
.gift-card-recipient-fields {
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  padding: 16px;
}
.gift-card-recipient-fields[hidden] { display: none !important; }
.gift-card-recipient-fields h2 { margin: 0; }
.gift-card-recipient-fields label { display: grid; gap: 6px; font-weight: 800; }
.gift-card-recipient-fields input,
.gift-card-recipient-fields textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}
.gift-card-redeem-card { gap: 14px; }
.gift-card-claim-amount {
  background: linear-gradient(135deg, #fff7d6, #eef2ff);
  border: 1px solid #f0c14b;
  border-radius: 22px;
  color: var(--ink);
  font-size: clamp(34px, 8vw, 58px);
  font-weight: 900;
  line-height: 1;
  padding: 22px;
  text-align: center;
}
.gift-card-claim-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .listing-layout {
    align-items: start;
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: minmax(132px, 34vw) minmax(0, 1fr) !important;
    margin: 8px 0 !important;
  }
  .filter-rail {
    align-self: start;
    border-radius: 16px !important;
    max-height: calc(100vh - 16px) !important;
    overflow: auto !important;
    padding: 10px !important;
    position: sticky !important;
    top: 8px !important;
  }
  .filter-rail h3 { font-size: 15px !important; margin-bottom: 8px !important; }
  .filter-group { padding: 8px 0 !important; }
  .filter-group strong { font-size: 13px !important; }
  .filter-group label { font-size: 12px !important; line-height: 1.25 !important; margin: 6px 0 !important; }
  .price-inputs { grid-template-columns: 1fr !important; }
  .filter-actions { gap: 6px !important; }
  .filter-actions .btn { min-height: 32px !important; padding: 6px 9px !important; width: 100%; }
  .listing-main { min-width: 0 !important; }
  .listing-header { margin-bottom: 8px !important; padding: 10px !important; }
  .listing-header h1 { font-size: clamp(18px, 5vw, 24px) !important; }
  .listing-tools { gap: 8px !important; }
  .listing-tools select { max-width: 100%; }
  .listing-main .product-grid,
  .listing-main .product-row {
    gap: 8px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .listing-main .product-card {
    border-radius: 16px !important;
    gap: 6px !important;
    min-height: 0 !important;
    padding: 8px !important;
  }
  .listing-main .product-card .image-box {
    border-radius: 14px !important;
    height: 108px !important;
  }
  .listing-main .product-card img { max-height: 100px !important; }
  .listing-main .product-title {
    font-size: 12px !important;
    line-height: 1.25 !important;
    max-height: 48px !important;
  }
  .listing-main .price { font-size: 14px !important; }
  .listing-main .badge-row { gap: 4px !important; }
  .listing-main .rating-line,
  .listing-main .meta-line,
  .listing-main .rppn-line { font-size: 11px !important; }
  .listing-main .product-card-actions {
    display: grid !important;
    gap: 5px !important;
    grid-template-columns: 1fr !important;
  }
  .listing-main .product-card-actions .btn {
    font-size: 11px !important;
    min-height: 30px !important;
    padding: 5px !important;
  }
}

@media (orientation: landscape) and (max-width: 1024px) {
  .listing-layout {
    gap: 12px !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    margin: 10px 0 !important;
  }
  .listing-main .product-grid,
  .listing-main .product-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 380px) {
  .listing-layout {
    grid-template-columns: 122px minmax(0, 1fr) !important;
  }
  .filter-rail { padding: 8px !important; }
  .listing-main .product-grid,
  .listing-main .product-row { gap: 6px !important; }
}

/* RoxxPort returns flow */
.premium-filter-group {
  border-top: 0;
  padding-top: 4px;
}
.premium-filter-group label {
  align-items: center;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 14px;
  display: flex;
  font-weight: 900;
  gap: 6px;
  margin: 0;
  padding: 10px 11px;
}
.order-return-note {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin: 9px 0 0;
  padding: 6px 10px;
}
.order-return-note.active {
  background: #eef2ff;
  color: #3730a3;
}
.order-return-note.hygiene {
  background: #fff7ed;
  color: #9a3412;
}
.order-return-note.muted {
  background: #f2f4f7;
  color: #475467;
}
.return-modal {
  width: min(700px, 100%);
}
.return-flow-summary {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 12px;
}
.return-flow-summary span {
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}
.return-form select {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.return-form .checkbox-row {
  align-items: center;
  display: flex;
  gap: 9px;
  grid-template-columns: none;
}
.return-form .checkbox-row input {
  width: auto;
}
.return-policy-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 12px;
}

/* RoxxPort contact page + global customer chat */
.footer-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.contact-hero {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(250, 204, 21, 0.12));
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  margin-bottom: 22px;
}

.contact-hero h1,
.contact-card h2,
.contact-mail-card h1 {
  margin-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.4fr);
  gap: 22px;
  align-items: start;
}

.contact-card,
.contact-mail-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.contact-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 12px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field {
  display: grid;
  gap: 7px;
  color: #1f2937;
  font-weight: 700;
}

.contact-field span {
  font-size: 0.94rem;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.72);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.13);
}

.contact-dynamic-block {
  border: 1px dashed rgba(124, 58, 237, 0.32);
  border-radius: 16px;
  padding: 14px;
  background: rgba(124, 58, 237, 0.045);
}

.contact-message-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.contact-message-counter {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.contact-form-message {
  min-height: 22px;
  margin: 0;
  font-weight: 700;
}

.contact-form-message.success {
  color: #047857;
}

.contact-form-message.error {
  color: #b91c1c;
}

.contact-mail-address {
  display: block;
  margin: 18px 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.06);
  color: #111827;
  line-height: 1.7;
  font-style: normal;
}

.rp-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147482000;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 18px 42px rgba(76, 29, 149, 0.38);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.rp-chat-launcher:hover,
.rp-chat-launcher:focus-visible {
  background: #6d28d9;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 48px rgba(76, 29, 149, 0.46);
}

.rp-chat-launcher::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.rp-chat-launcher:hover::before,
.rp-chat-launcher:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.rp-chat-plus {
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
  margin-top: -2px;
}

.rp-chat-shell {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 2147481999;
  width: min(400px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 126px));
  min-height: 390px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.rp-chat-shell.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.rp-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
}

.rp-chat-title {
  display: grid;
  gap: 1px;
}

.rp-chat-title strong {
  font-size: 15px;
}

.rp-chat-title span {
  font-size: 12px;
  opacity: 0.88;
}

.rp-chat-header-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.rp-chat-icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rp-chat-icon-button:hover,
.rp-chat-icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.rp-chat-frame {
  flex: 1;
  min-height: 0;
  background: #fff;
  overflow: hidden;
}

.rp-chat-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.rp-chat-loading,
.rp-chat-error {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 18px;
  text-align: center;
  color: #475569;
  font-weight: 700;
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .contact-page {
    padding: 22px 12px 42px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero,
  .contact-card,
  .contact-mail-card {
    border-radius: 18px;
    padding: 18px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .rp-chat-launcher {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .rp-chat-launcher::before {
    display: none;
  }

  .rp-chat-shell {
    left: 10px;
    right: 10px;
    bottom: 86px;
    width: auto;
    height: min(74vh, 590px);
    min-height: 360px;
    border-radius: 20px;
  }
}

/* RoxxPort chat input reliability v2: the open shell and iframe must always
   receive pointer and keyboard input, even when another page layer has a high
   stacking context. */
.rp-chat-shell.open,
.rp-chat-shell.open .rp-chat-frame,
.rp-chat-shell.open .rp-chat-frame iframe {
  pointer-events: auto !important;
}

.rp-chat-frame iframe {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
  user-select: text;
}

/* Shipping, cart checkout, and customer review updates (2026-07-14). */
.shipping-option-note {
  margin: -4px 0 12px;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}
.cart-shipping-blocking-note {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}
.cart-summary #checkoutBtn:disabled {
  cursor: not-allowed;
  opacity: .55;
  filter: grayscale(.18);
}
.premium-benefit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-card-badge-row {
  align-items: center;
}
.product-card-badge-row .product-card-rating-line {
  display: inline-flex;
  flex: 1 1 100%;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: #f59e0b;
  font-weight: 900;
  line-height: 1.25;
}
.product-card-rating-line .product-card-rating-value {
  color: #111827;
  font-weight: 900;
}
.product-card-rating-line .product-card-rating-stars {
  color: #f59e0b;
  letter-spacing: .02em;
  white-space: nowrap;
}
.product-card-rating-line .review-count {
  min-width: 0;
  overflow: hidden;
  color: #2563eb;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card-rating-line.is-unrated .product-card-rating-stars {
  color: #a1a1aa;
}
.product-card-rating-line.is-unrated .review-count {
  color: #667085;
}
.review-stars {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 10px;
}
.review-stars legend {
  margin-bottom: 2px;
}
.review-required-label,
.review-optional-label {
  display: inline;
  margin-left: 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}
.review-required-label {
  color: #b42318;
}
.review-stars .review-star-choice {
  display: grid;
  gap: 7px;
  align-content: start;
  justify-items: center;
  padding: 10px 8px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: center;
}
.review-stars .review-star-choice:hover,
.review-stars .review-star-choice:focus-within {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 0 0 3px rgba(245,158,11,.14);
}
.review-stars .review-star-label {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}
.review-stars .review-star-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.review-stars .review-star-icons {
  color: #f59e0b;
  font-weight: 950;
  letter-spacing: .025em;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .premium-benefit-list {
    grid-template-columns: 1fr;
  }
  .review-stars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-stars .review-star-choice:first-of-type {
    grid-column: 1 / -1;
  }
}


/* Google Merchant Center / Google Ads transparency and crawlable fallbacks */
.merchant-transparency-banner {
  display: block;
  padding: 10px 18px;
  border-bottom: 1px solid #d0d5dd;
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}
.merchant-transparency-banner strong { color: #101828; }
.merchant-transparency-banner a { color: #175cd3; text-decoration: underline; }
.footer-business-identity {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 28px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
}
.merchant-trust-box,
.checkout-merchant-disclosure {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  line-height: 1.5;
}
.merchant-trust-box strong,
.checkout-merchant-disclosure strong { color: #101828; }
.merchant-trust-box a,
.checkout-merchant-disclosure a { color: #175cd3; text-decoration: underline; }
.shipping-program-disclosure { margin-top: 10px; font-size: 12px; line-height: 1.5; color: #475467; }
.seo-product-fallback { display: grid; grid-template-columns: minmax(260px, 42%) minmax(0, 1fr); gap: 28px; align-items: start; }
.seo-product-fallback .seo-product-price { font-size: 1.5rem; font-weight: 800; margin: 10px 0; }
.seo-product-fallback .seo-stock { font-weight: 700; margin: 8px 0; }
.seo-product-fallback .seo-stock.in-stock { color: #067647; }
.seo-product-fallback .seo-stock.out-of-stock { color: #b42318; }
.seo-product-facts { margin: 12px 0; padding: 0; list-style: none; }
.seo-product-facts li { margin: 5px 0; }
.seo-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.seo-product-card { border: 1px solid #e4e7ec; background: #fff; border-radius: 12px; padding: 12px; }
.seo-product-card a { color: inherit; }
.seo-product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.seo-product-card h2 { font-size: 15px; line-height: 1.35; margin: 10px 0; }
.seo-product-card .price { font-weight: 800; }
.seo-product-card .seo-card-meta { color: #475467; font-size: 12px; line-height: 1.4; }
.seo-empty-category { padding: 18px; background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; }
.legal-card address { font-style: normal; }
.legal-card ol { margin: 12px 0 18px 22px; }
.legal-card a { text-decoration: underline; }
.legal-topnav { overflow-x: auto; }
@media (max-width: 700px) {
  .seo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-product-fallback { grid-template-columns: 1fr; }
  .merchant-transparency-banner { text-align: left; }
}


/* Product-page disclosure placement and shipping-card containment (2026-07-29). */
.product-description-card,
.product-description-card > p,
.product-description-disclosures,
.product-description-shipping-disclosures {
  min-width: 0;
}
.product-description-card > p {
  overflow-wrap: anywhere;
}
.product-description-disclosures {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.product-description-disclosures .merchant-trust-box {
  margin-top: 0;
}
.product-description-shipping-disclosures {
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #f8fafc;
}
.product-description-shipping-disclosures .shipping-option-note,
.product-description-shipping-disclosures .shipping-program-disclosure {
  margin: 0;
  overflow-wrap: anywhere;
}
.product-description-shipping-disclosures .shipping-program-disclosure {
  margin-top: 8px;
}
.shipping-box {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.shipping-box .shipping-option-list,
.shipping-box .shipping-option,
.shipping-box .shipping-option-main,
.shipping-box .shipping-option-premium-line,
.shipping-box .shipping-price,
.shipping-box .shipping-detail {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.shipping-box .shipping-option {
  width: 100%;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px 9px;
  overflow: hidden;
}
.shipping-box .shipping-option-main,
.shipping-box .shipping-price,
.shipping-box .shipping-detail {
  overflow-wrap: anywhere;
  word-break: normal;
}
.shipping-box .shipping-option-premium-line {
  display: block;
  overflow: hidden;
}
.shipping-box .shipping-option-premium-line .roxxstar-premium-badge {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
}
.shipping-box .shipping-option-premium-line .roxxstar-premium-logo {
  max-width: min(100%, 150px);
  height: auto;
  max-height: 20px;
}
.shipping-box .shipping-speed {
  display: block;
  margin-top: 6px;
  max-width: 100%;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .01em;
  white-space: normal;
  overflow-wrap: anywhere;
}
.shipping-box .shipping-price {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.25;
}
@media (max-width: 700px) {
  .product-description-shipping-disclosures,
  .product-description-disclosures .merchant-trust-box {
    padding: 11px 12px;
  }
}

/* Guest checkout and cart account-choice controls. */
.cart-account-choice {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.cart-account-choice .btn {
  width: 100%;
  text-align: center;
}
.cart-account-choice .inline-link {
  justify-self: center;
  text-align: center;
}
.guest-checkout-contact {
  display: grid;
  gap: 14px;
}
.checkout-guest-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #f8fafc;
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
}
.checkout-guest-terms input {
  margin-top: 3px;
  accent-color: #7c3aed;
}
.checkout-guest-terms a {
  color: #175cd3;
  text-decoration: underline;
}
.checkout-guest-mode .checkout-secure-note {
  margin: 0 0 12px;
}


/* RoxxPort Kitchen Stage 1: search is intentionally inactive until the
   dedicated Kitchen search service is built. */
.rp-search.kitchen-search-disabled {
  opacity: .72;
  cursor: not-allowed;
}
.rp-search.kitchen-search-disabled select,
.rp-search.kitchen-search-disabled input,
.rp-search.kitchen-search-disabled button {
  cursor: not-allowed;
}
.rp-search.kitchen-search-disabled input:disabled,
.rp-search.kitchen-search-disabled select:disabled,
.rp-search.kitchen-search-disabled button:disabled {
  color: #667085;
  -webkit-text-fill-color: #667085;
}
.kitchen-search-coming-soon {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
}
.kitchen-search-coming-soon h1,
.kitchen-search-coming-soon p {
  margin: 0;
}
.show-more-row {
  min-height: 72px;
  display: grid;
  place-items: center;
}
.show-more-row:empty::after {
  content: '';
  display: block;
  min-height: 1px;
}

/* Integrated account creation and guest choice inside checkout (2026-08-12). */
.cart-checkout-next-step {
  margin: 12px 2px 0;
  line-height: 1.45;
}
.checkout-account-main {
  gap: 18px;
}
.checkout-account-step {
  display: grid;
  gap: 16px;
}
.checkout-account-existing,
.checkout-guest-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid #dbe4ff;
  border-radius: 16px;
  background: #f8faff;
  color: #344054;
  font-weight: 700;
}
.checkout-account-existing .inline-link,
.checkout-guest-choice .inline-link {
  flex: 0 0 auto;
}
.checkout-account-form {
  display: grid;
  gap: 14px;
}
.checkout-account-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 750;
}
.checkout-account-form input,
.checkout-account-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 9px 12px;
  background: #fff;
  color: #101828;
  font: inherit;
}
.checkout-account-form input:focus,
.checkout-account-form select:focus {
  outline: 3px solid rgba(124,58,237,.18);
  border-color: #8b5cf6;
}
.checkout-account-form input[readonly] {
  background: #f8fafc;
  color: #475467;
}
.checkout-account-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e4e7ec;
}
.checkout-account-section-heading h3 {
  margin: 0;
  color: #101828;
  font-size: 18px;
}
.checkout-account-section-heading span,
.checkout-account-address-note,
.checkout-verification-copy,
.checkout-account-summary-note {
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}
.checkout-account-address-note {
  margin: -4px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}
.checkout-account-terms {
  padding: 13px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #f8fafc;
}
.checkout-account-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  font-size: 15px;
}
.checkout-verification-copy {
  margin: -4px 0 0;
  text-align: center;
}
.checkout-account-summary .receipt-lines {
  max-height: 310px;
  overflow: auto;
  padding-right: 3px;
}
.checkout-account-summary-note {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  background: #f8faff;
}
.guest-checkout-confirm-card {
  width: min(560px, 100%);
  overflow: visible;
  padding: 30px;
}
.guest-checkout-confirm-card h2 {
  margin: 6px 42px 12px 0;
  color: #101828;
  line-height: 1.2;
}
.guest-checkout-confirm-card > p {
  color: #475467;
  line-height: 1.55;
}
.guest-checkout-confirm-eyebrow {
  margin: 0;
  color: #6d28d9 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.guest-checkout-confirm-note {
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
  color: #92400e !important;
}
.guest-checkout-confirm-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.guest-checkout-confirm-actions .btn {
  width: 100%;
  min-height: 44px;
}
.guest-premium-switched-notice {
  margin: 0;
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.checkout-signin-page .auth-claim-notice,
.checkout-verification-page .email-verify-callout {
  border-color: #c7d2fe;
  background: #eef2ff;
}
@media (max-width: 700px) {
  .checkout-account-existing,
  .checkout-guest-choice,
  .checkout-account-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .checkout-account-existing .inline-link,
  .checkout-guest-choice .inline-link {
    align-self: flex-start;
  }
  .guest-checkout-confirm-card {
    padding: 24px 20px 20px;
  }
}
