:root{--rxxp-blue:#1646FF;--rxxp-navy:#101828;--rxxp-lime:#B7F000;--rxxp-ice:#F3F6FA;--rxxp-text:#24364b;--rxxp-line:#dbe6f2;--rxxp-green:#0b7a43}

/* ==========================================================
   HERO REFINEMENTS
   ========================================================== */
.rxnx-hero-v15 .rxxp-hero-promise,
.rxnx-hero-v15 .rxxp-hero-pill{
  background:rgba(8,18,42,.46)!important;
  border:1px solid rgba(174,201,255,.18)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
}
.rxnx-hero-v15 .rxxp-hero-promise h3,
.rxnx-hero-v15 .rxxp-hero-promise strong,
.rxnx-hero-v15 .rxxp-hero-pill h3,
.rxnx-hero-v15 .rxxp-hero-pill strong{color:#fff!important}
.rxnx-hero-v15 .rxxp-hero-promise p,
.rxnx-hero-v15 .rxxp-hero-promise span,
.rxnx-hero-v15 .rxxp-hero-pill p,
.rxnx-hero-v15 .rxxp-hero-pill span{color:#d9e6ff!important}
.rxxp-hide{display:none!important}

/* ==========================================================
   VISUAL SECTION ENHANCEMENTS (images 2–5)
   ========================================================== */
.rxxp-enhance-section{position:relative}
.rxxp-enhance-section .rxxp-enhance-card{
  border:1px solid var(--rxxp-line)!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 18px 42px rgba(16,24,40,.06)!important;
  overflow:hidden!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.rxxp-enhance-section .rxxp-enhance-card:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 22px 46px rgba(16,24,40,.09)!important;
  border-color:#bfd2ec!important;
}
.rxxp-enhance-section .rxxp-enhance-card .wp-block-image,
.rxxp-enhance-section .rxxp-enhance-card .wp-block-media-text__media,
.rxxp-enhance-section .rxxp-enhance-card .rxxp-icon-wrap{
  background:linear-gradient(180deg,#f5f9ff 0%,#eef4ff 100%)!important;
  border-bottom:1px solid #e1ebf7!important;
  padding:24px 24px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.rxxp-enhance-section .rxxp-enhance-card img,
.rxxp-enhance-section .rxxp-enhance-card svg{
  max-height:120px!important;
  width:auto!important;
}
.rxxp-enhance-section .rxxp-enhance-card h3,
.rxxp-enhance-section .rxxp-enhance-card h4{
  font-size:clamp(22px,2vw,34px)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  margin:0 0 10px!important;
}
.rxxp-enhance-section .rxxp-enhance-card p{font-size:16px!important;line-height:1.65!important;color:#60738d!important}
.rxxp-enhance-section .rxxp-enhance-card .wp-block-buttons,
.rxxp-enhance-section .rxxp-enhance-card .wp-block-button{margin-top:12px!important}
.rxxp-enhance-section .rxxp-enhance-card .wp-block-button__link,
.rxxp-enhance-section .rxxp-enhance-card a.wp-element-button{
  background:transparent!important;color:var(--rxxp-blue)!important;border:0!important;padding:0!important;font-weight:800!important;text-decoration:none!important;
}
.rxxp-enhance-section .rxxp-feature-index{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:64px;height:64px;border-radius:20px;
  background:linear-gradient(180deg,#1646ff 0%,#3d69ff 100%);
  color:#fff!important;box-shadow:0 12px 24px rgba(22,70,255,.18);
  font-size:28px!important;font-weight:900!important;margin:0 0 18px!important;
}
.rxxp-enhance-section .rxxp-enhance-panel{
  border:1px solid var(--rxxp-line)!important;border-radius:24px!important;
  overflow:hidden!important;box-shadow:0 18px 42px rgba(16,24,40,.06)!important;
}
.rxxp-enhance-section .rxxp-enhance-panel table,
.rxxp-enhance-section .rxxp-enhance-panel .wp-block-table{margin:0!important}
.rxxp-enhance-section .rxxp-enhance-panel > *{padding:0}

/* ==========================================================
   HEADER CART LINK WITH COUNT
   ========================================================== */
.rxxp-header-cart-slot{display:flex!important;align-items:center!important;list-style:none!important;margin-left:8px!important}
.rxxp-header-cart-link{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  text-decoration:none!important;color:var(--rxxp-navy)!important;font-weight:800!important;
  background:#fff!important;border:1px solid #d7e3f0!important;border-radius:999px!important;
  padding:9px 13px!important;position:relative!important;box-shadow:0 8px 22px rgba(16,24,40,.05)!important;
}
.rxxp-header-cart-icon{font-size:15px;line-height:1}
.rxxp-header-cart-badge{
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  background:var(--rxxp-blue);color:#fff;font-size:11px;font-weight:900;line-height:1;
}
.rxxp-header-cart-text{font-size:13px;line-height:1}
@media(max-width:980px){.rxxp-header-cart-text{display:none}.rxxp-header-cart-link{padding:8px 10px!important}}

/* ==========================================================
   CART / CHECKOUT SUMMARY STRIP
   ========================================================== */
.rxxp-summary-strip{
  display:flex;justify-content:space-between;gap:24px;align-items:center;flex-wrap:wrap;
  background:linear-gradient(135deg,#0f1930 0%,#163565 65%,#1646FF 100%);
  color:#fff;border-radius:30px;padding:28px 30px;margin:0 0 28px;box-shadow:0 20px 45px rgba(16,24,40,.11)
}
.rxxp-summary-kicker{display:block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:#b8caec;margin-bottom:10px}
.rxxp-summary-strip h3{color:#fff!important;font-size:clamp(24px,2.6vw,38px)!important;line-height:1.05!important;letter-spacing:-.04em!important;margin:0 0 9px!important}
.rxxp-summary-strip p{margin:0;color:#dce8ff!important;max-width:780px;font-size:15px;line-height:1.65}
.rxxp-summary-stats{display:flex;gap:14px;flex-wrap:wrap}
.rxxp-summary-stat{min-width:160px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:18px 20px}
.rxxp-summary-stat strong{display:block;font-size:26px;line-height:1;font-weight:900;color:#fff}
.rxxp-summary-stat span{display:block;margin-top:7px;font-size:13px;color:#dce8ff}

/* ==========================================================
   UPSELLS
   ========================================================== */
.rxxp-upsell-section{margin:34px 0 12px;padding:28px;border:1px solid #e0e8f3;border-radius:30px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 18px 42px rgba(16,24,40,.05)}
.rxxp-upsell-head h3{font-size:clamp(26px,2.4vw,38px)!important;line-height:1.08!important;letter-spacing:-.04em!important;margin:0 0 8px!important}
.rxxp-upsell-head p{font-size:15px;line-height:1.65;color:#667990;margin:0 0 20px}
.rxxp-upsell-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.rxxp-upsell-card{border:1px solid #dde6f2;border-radius:24px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 12px 26px rgba(16,24,40,.04)}
.rxxp-upsell-media{position:relative;background:#f5f8fd;display:grid;place-items:center;aspect-ratio:1.08;padding:16px}
.rxxp-upsell-media a,.rxxp-upsell-media img{display:block;width:100%;height:100%;object-fit:contain}
.rxxp-upsell-badge{position:absolute;top:14px;right:14px;background:var(--rxxp-blue);color:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;line-height:1;letter-spacing:.03em}
.rxxp-upsell-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}
.rxxp-upsell-kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:#70809a}
.rxxp-upsell-body h4{font-size:21px!important;line-height:1.15!important;letter-spacing:-.03em!important;margin:0!important}
.rxxp-upsell-body h4 a{text-decoration:none!important;color:var(--rxxp-navy)!important}
.rxxp-upsell-pricing{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.rxxp-upsell-pricing strong{font-size:29px;font-weight:900;line-height:1;color:var(--rxxp-navy)}
.rxxp-upsell-pricing del{font-size:15px;color:#7d8a9d}
.rxxp-upsell-note{margin:0;color:#667990;font-size:14px;line-height:1.55}
.rxxp-upsell-button,
.woocommerce a.button.rxxp-upsell-button,
.woocommerce-page a.button.rxxp-upsell-button{
  margin-top:auto!important;background:var(--rxxp-blue)!important;color:#fff!important;border:0!important;border-radius:14px!important;padding:14px 16px!important;font-weight:900!important;text-align:center!important;text-decoration:none!important;line-height:1.25!important
}
.rxxp-upsell-added{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;padding:12px 14px;border-radius:14px;background:#edf7f1;color:#16683f;font-size:13px;font-weight:900}

/* Cart table polish and bundle price emphasis */
.woocommerce-cart table.shop_table.cart td,.woocommerce-cart table.shop_table.cart th{vertical-align:middle}
.woocommerce-cart .cart_totals{border:1px solid #e0e8f3;border-radius:24px;padding:24px;background:#fff;box-shadow:0 12px 26px rgba(16,24,40,.04)}
.woocommerce-cart table.shop_table.cart td.product-name,
.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.shop_table.cart td.product-subtotal{font-size:16px}

/* Checkout polish */
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #order_review{
  border:1px solid #e0e8f3;border-radius:26px;padding:22px;background:#fff;box-shadow:0 12px 26px rgba(16,24,40,.04)
}

@media(max-width:1200px){.rxxp-upsell-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
  .rxxp-summary-strip{padding:22px 18px;border-radius:24px}
  .rxxp-summary-stat{min-width:0;flex:1}
  .rxxp-upsell-section{padding:20px 16px;border-radius:24px}
  .rxxp-upsell-grid{grid-template-columns:1fr}
  .rxxp-enhance-section .rxxp-enhance-card h3,.rxxp-enhance-section .rxxp-enhance-card h4{font-size:28px!important}
  .rxxp-enhance-section .rxxp-enhance-card .wp-block-image,.rxxp-enhance-section .rxxp-enhance-card .wp-block-media-text__media,.rxxp-enhance-section .rxxp-enhance-card .rxxp-icon-wrap{padding:18px 16px 14px!important}
}

/* ===== RESEARCH X Experience Plus v1.1 ===== */
.rxxp-hide-badge-only{display:none!important}
.rxxp-rewards-panel{border-radius:25px;border:1px solid #cddaf2;background:linear-gradient(120deg,#f4f7ff 0%,#fff 68%);padding:22px 24px;margin:18px 0 26px;box-shadow:0 12px 26px rgba(16,24,40,.045);clear:both}
.rxxp-rewards-intro{display:flex;align-items:center;gap:18px}
.rxxp-rewards-symbol{width:54px;height:54px;min-width:54px;display:grid;place-items:center;border-radius:18px;background:var(--rxxp-navy);color:var(--rxxp-lime);font-size:30px;font-weight:900}
.rxxp-rewards-panel .rxxp-summary-kicker{color:#1646ff}
.rxxp-rewards-panel h3{font-size:clamp(21px,2vw,30px)!important;line-height:1.1!important;letter-spacing:-.035em!important;margin:0 0 7px!important;color:#101828!important}
.rxxp-rewards-panel p{font-size:14px;line-height:1.55;margin:0;color:#596e8a}
.rxxp-rewards-panel p a{color:#1646ff;font-weight:800}
.rxxp-rewards-balance{min-width:140px;background:#e8f0ff;border:1px solid #d2e1ff;border-radius:18px;padding:13px 18px;text-align:center;margin-left:auto;color:#101828}
.rxxp-rewards-balance strong{font-size:29px;line-height:1;display:block;font-weight:900;letter-spacing:-.04em}
.rxxp-rewards-balance span{font-size:12px;font-weight:700;display:block;margin-top:7px}
.rxxp-rewards-form{margin:20px 0 0;padding-top:17px;border-top:1px solid #dde7f4}
.rxxp-rewards-form label{display:block;font-weight:800;font-size:14px;color:#142237;margin-bottom:11px}
.rxxp-rewards-form label small{display:inline;font-size:12px;color:#60738d;font-weight:500}
.rxxp-rewards-actions{display:flex;flex-wrap:wrap;gap:9px}
.rxxp-rewards-actions input[type=number]{width:150px;min-width:120px;background:#fff;border:1px solid #cddaf2;border-radius:12px;padding:10px 13px;color:#101828}
.rxxp-rewards-actions button{background:#1646ff!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:12px 18px!important;font-size:13px!important;line-height:1.2!important;font-weight:800!important;cursor:pointer}
.rxxp-rewards-actions button:disabled{opacity:.45;cursor:not-allowed}
.rxxp-rewards-actions .rxxp-rewards-clear{color:#23354f!important;background:#e6edf6!important}
.rxxp-rewards-panel .rxxp-rewards-applied{margin:12px 0 0;color:#087447;font-weight:800}
.rxxp-rewards-panel .rxxp-rewards-fineprint{font-size:11px;margin:13px 0 0;color:#71839b}
.rxxp-rewards-account-teaser{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #d8e5f8;background:#f5f8ff;padding:17px 19px;border-radius:17px;margin-bottom:25px}
.rxxp-rewards-account-teaser span{color:#1646ff;font-weight:900;font-size:12px;letter-spacing:.08em}
.rxxp-rewards-account-teaser strong{color:#101828;font-size:20px}
.rxxp-rewards-account-teaser a{margin-left:auto;font-weight:800}
.rxxp-rewards-account h2{font-size:clamp(24px,3vw,40px)}
.rxxp-rewards-account>.rxxp-rewards-balance{margin:16px 0;max-width:230px}
.rxxp-rewards-history{overflow:auto}
.rxxp-rewards-history table{width:100%;min-width:440px;border-collapse:collapse}
.rxxp-rewards-history th,.rxxp-rewards-history td{text-align:left;border-bottom:1px solid #e2e9f3;padding:13px 10px}
.rxxp-rewards-history th{font-size:12px;text-transform:uppercase;letter-spacing:.07em}

/* Floating mobile navigation is hidden on desktop, visible only in cart/checkout. */
.rxxp-mobile-checkout-bar{display:none}
.rxxp-payment-focus{outline:3px solid rgba(22,70,255,.18);outline-offset:5px;border-radius:10px}

@media(max-width:767px){
  .woocommerce-cart .rxxp-upsell-grid,
  .woocommerce-checkout .rxxp-upsell-grid,
  .rxxp-upsell-section .rxxp-upsell-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .rxxp-upsell-section{padding:16px 12px!important}
  .rxxp-upsell-card{min-width:0!important;border-radius:16px!important}
  .rxxp-upsell-media{aspect-ratio:1/1!important;padding:8px!important}
  .rxxp-upsell-media img{width:100%!important;height:100%!important;object-fit:contain!important}
  .rxxp-upsell-badge{top:7px!important;right:7px!important;font-size:9px!important;padding:6px 7px!important}
  .rxxp-upsell-body{padding:11px!important;gap:7px!important;min-width:0!important}
  .rxxp-upsell-kicker{font-size:9px!important;line-height:1.35!important;letter-spacing:.05em!important}
  .rxxp-upsell-body h4{font-size:15px!important;line-height:1.25!important;overflow-wrap:anywhere!important}
  .rxxp-upsell-pricing{align-items:flex-start!important;gap:4px!important}
  .rxxp-upsell-pricing strong{font-size:20px!important;line-height:1.15!important}
  .rxxp-upsell-pricing del{font-size:11px!important}
  .rxxp-upsell-note{font-size:11px!important;line-height:1.35!important;display:none!important}
  .rxxp-upsell-button,.woocommerce a.button.rxxp-upsell-button,.woocommerce-page a.button.rxxp-upsell-button{padding:11px 8px!important;font-size:11px!important;line-height:1.25!important;border-radius:10px!important;white-space:normal!important}
  .rxxp-upsell-added{padding:9px 6px!important;font-size:10px!important}
  .rxxp-rewards-panel{border-radius:19px!important;padding:16px 13px!important}
  .rxxp-rewards-intro{align-items:flex-start;gap:9px;flex-wrap:wrap}
  .rxxp-rewards-symbol{width:37px;height:37px;min-width:37px;font-size:22px;border-radius:12px}
  .rxxp-rewards-intro>div:nth-child(2){flex:1;min-width:180px}
  .rxxp-rewards-balance{width:100%;margin:10px 0 0}
  .rxxp-rewards-actions input[type=number]{flex:1;min-width:90px;width:110px}
  .rxxp-rewards-actions button{flex:1}
  body.woocommerce-cart,body.woocommerce-checkout{padding-bottom:env(safe-area-inset-bottom, 0px)}
  .rxxp-mobile-checkout-bar{display:flex!important;position:fixed!important;z-index:2147483000!important;left:10px!important;right:10px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px 10px 16px;border-radius:18px;background:#101828;color:#fff;box-shadow:0 16px 45px rgba(0,0,0,.32)}
  .rxxp-mobile-checkout-bar>div{display:flex;flex-direction:column;gap:4px;min-width:80px}
  .rxxp-mobile-checkout-bar small{font-size:9px;letter-spacing:.08em;color:#aabddd;font-weight:800}
  .rxxp-mobile-checkout-bar strong{font-size:17px;letter-spacing:-.04em;line-height:1;color:#fff}
  .rxxp-mobile-checkout-button{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;flex:1;max-width:235px;min-height:46px;padding:10px 12px!important;background:#b7f000!important;border:0!important;color:#101828!important;text-decoration:none!important;border-radius:12px!important;font-size:12px!important;font-weight:900!important;letter-spacing:.02em!important;cursor:pointer;line-height:1.15!important}
  .rxxp-mobile-checkout-button span{font-size:19px;line-height:1}
  .woocommerce-cart .site-main,.woocommerce-checkout .site-main{padding-bottom:88px!important}
}
@media(max-width:380px){.rxxp-upsell-pricing strong{font-size:17px!important}.rxxp-upsell-body h4{font-size:13px!important}.rxxp-upsell-grid{gap:7px!important}}

/* ===== RESEARCH X Experience Plus v1.2 ===== */
.rxxp-mobile-category-strip{display:none}
.rxxp-rewards-page{margin:24px 0 48px}
.rxxp-rewards-page-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:24px;align-items:stretch;margin-bottom:24px}
.rxxp-rewards-page-copy,.rxxp-rewards-page-balance-card,.rxxp-rewards-step-card,.rxxp-rewards-rule,.rxxp-rewards-dashboard-card,.rxxp-rewards-progress-card{border:1px solid #dce7f5;border-radius:28px;background:linear-gradient(180deg,#fff 0%,#f7faff 100%);box-shadow:0 18px 40px rgba(16,24,40,.05)}
.rxxp-rewards-page-copy{padding:34px 34px 28px;background:linear-gradient(135deg,#101828 0%,#143365 60%,#1646ff 100%);color:#fff;border-color:rgba(185,209,255,.12)}
.rxxp-rewards-page-copy h1{font-size:clamp(34px,4vw,58px)!important;line-height:1!important;letter-spacing:-.05em!important;margin:0 0 14px!important;color:#fff!important}
.rxxp-rewards-page-copy p{font-size:16px;line-height:1.7;color:#dce7ff;margin:0;max-width:760px}
.rxxp-rewards-page-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.rxxp-rewards-page-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:16px;border:1px solid #cfe0ff;text-decoration:none!important;font-weight:900;background:#fff;color:#101828!important;box-shadow:0 10px 24px rgba(16,24,40,.04)}
.rxxp-rewards-page-button.is-primary{background:#b7f000;color:#101828!important;border-color:#b7f000}
.rxxp-rewards-page-balance-card{padding:28px 26px;display:flex;flex-direction:column;gap:14px}
.rxxp-rewards-page-balance-card small{font-size:11px;letter-spacing:.16em;font-weight:900;color:#1646ff}
.rxxp-rewards-page-balance-card strong{font-size:56px;line-height:.95;letter-spacing:-.05em;color:#101828}
.rxxp-rewards-page-balance-card>span{font-size:14px;color:#60738d}
.rxxp-rewards-page-balance-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.rxxp-rewards-page-balance-card li{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:16px;background:#f2f6fd;color:#526784;font-size:14px}
.rxxp-rewards-page-balance-card li span{font-weight:900;color:#101828}
.rxxp-rewards-page-grid,.rxxp-rewards-rules,.rxxp-rewards-stat-grid,.rxxp-rewards-dashboard-grid{display:grid;gap:18px}
.rxxp-rewards-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}
.rxxp-rewards-step-card,.rxxp-rewards-rule,.rxxp-rewards-dashboard-card{padding:24px}
.rxxp-rewards-step-card h3,.rxxp-rewards-rule h4,.rxxp-rewards-dashboard-card h3{margin:0 0 10px!important;color:#101828!important;letter-spacing:-.035em!important}
.rxxp-rewards-step-card h3{font-size:24px!important;line-height:1.1!important}
.rxxp-rewards-step-card p,.rxxp-rewards-rule p,.rxxp-rewards-dashboard-card p{margin:0;color:#60738d;line-height:1.65}
.rxxp-rewards-rules{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:26px}
.rxxp-rewards-account-hero{display:grid;grid-template-columns:minmax(0,1.3fr) 320px;gap:22px;align-items:stretch;margin:8px 0 22px}
.rxxp-rewards-account-copy{padding:30px;border-radius:30px;background:linear-gradient(135deg,#101828 0%,#143365 62%,#1646ff 100%);color:#fff;box-shadow:0 18px 42px rgba(16,24,40,.08)}
.rxxp-rewards-account-copy h2{color:#fff!important;margin:0 0 10px!important}
.rxxp-rewards-account-copy p{color:#dce7ff;margin:0 0 20px;line-height:1.7}
.rxxp-rewards-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.rxxp-rewards-stat-card{padding:18px;border-radius:20px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12)}
.rxxp-rewards-stat-card small{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:#dbe5ff;margin-bottom:6px}
.rxxp-rewards-stat-card strong{display:block;font-size:28px;line-height:1;color:#fff;letter-spacing:-.04em}
.rxxp-rewards-stat-card span{display:block;margin-top:7px;font-size:13px;color:#dbe5ff}
.rxxp-rewards-account-side{display:grid;gap:18px}
.rxxp-rewards-progress-card{padding:22px}
.rxxp-rewards-progress-card small{display:block;font-size:11px;letter-spacing:.14em;color:#1646ff;font-weight:900;margin-bottom:6px}
.rxxp-rewards-progress-card strong{display:block;font-size:24px;line-height:1.1;color:#101828;letter-spacing:-.035em;margin-bottom:12px}
.rxxp-rewards-progress{height:12px;background:#edf3ff;border-radius:999px;overflow:hidden;margin-bottom:10px}
.rxxp-rewards-progress span{display:block;height:100%;background:linear-gradient(90deg,#1646ff 0%,#b7f000 100%);border-radius:999px}
.rxxp-rewards-progress-card p{margin:0;color:#60738d;line-height:1.65}
.rxxp-rewards-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 24px}
.rxxp-rewards-dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}
.rxxp-rewards-bullets{margin:0;padding-left:18px;color:#60738d;line-height:1.7}
.rxxp-rewards-bullets strong{color:#101828}

@media(max-width:767px){
  .rxxp-mobile-category-strip{display:grid!important;grid-auto-flow:column;grid-auto-columns:max-content;gap:10px;overflow-x:auto;padding:8px 0 18px;scrollbar-width:none;-ms-overflow-style:none}
  .rxxp-mobile-category-strip::-webkit-scrollbar{display:none}
  .rxxp-mobile-category-pill{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;background:#f4f7ff;border:1px solid #d7e3f5;color:#163055!important;font-weight:800;font-size:12px;text-decoration:none!important;white-space:nowrap;box-shadow:0 8px 18px rgba(16,24,40,.04)}
  .rxxp-mobile-category-pill.is-active{background:#1646ff;border-color:#1646ff;color:#fff!important}
  .home ul.products,
  .home .wc-block-grid__products,
  .home .wc-block-product-template,
  .home .products.columns-4,
  .home .products.columns-3{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .home ul.products li.product,
  .home .wc-block-grid__product,
  .home .wc-block-product{width:auto!important;margin:0!important;float:none!important}
  .rxxp-rewards-page-hero,.rxxp-rewards-page-grid,.rxxp-rewards-rules,.rxxp-rewards-account-hero,.rxxp-rewards-stat-grid,.rxxp-rewards-dashboard-grid{grid-template-columns:1fr!important}
  .rxxp-rewards-page-copy,.rxxp-rewards-page-balance-card,.rxxp-rewards-step-card,.rxxp-rewards-rule,.rxxp-rewards-dashboard-card,.rxxp-rewards-progress-card,.rxxp-rewards-account-copy{border-radius:22px!important;padding:20px 18px!important}
  .rxxp-rewards-page-copy h1{font-size:38px!important}
  .rxxp-rewards-page-actions,.rxxp-rewards-dashboard-actions{display:grid!important;grid-template-columns:1fr!important}
  .rxxp-rewards-page-button{min-height:44px;width:100%}
  .rxxp-rewards-page-balance-card strong{font-size:42px}
}

/* =========================================================
   RESEARCH X Experience Plus v1.3 — category directory + nav + footer
   ========================================================= */
@media (max-width: 767px) {
  /* Show every nested product category as an independently scrollable chip. */
  body.woocommerce-shop .rxxp-mobile-category-strip,
  body.tax-product_cat .rxxp-mobile-category-strip,
  body .rxxp-mobile-category-strip {
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    gap:9px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:6px 0 20px!important;
    padding:7px 3px 14px!important;
    scroll-snap-type:x proximity;
    scroll-padding-left:2px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#b8caf1 transparent;
    touch-action:pan-x;
  }
  .rxxp-mobile-category-strip .rxxp-mobile-category-pill {
    display:inline-flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    max-width:260px!important;
    min-height:42px!important;
    padding:10px 16px!important;
    border-radius:999px!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    scroll-snap-align:start;
    box-sizing:border-box!important;
  }
  .rxxp-mobile-category-pill.is-subcategory:not(.is-active){background:#fff!important;border-color:#cbdcf5!important}
  #offcanvas li.rxxp-mobile-rewards:not([hidden]),
  .ct-panel li.rxxp-mobile-rewards:not([hidden]) { display:list-item!important; visibility:visible!important; opacity:1!important; }
  #offcanvas li.rxxp-mobile-rewards > a,
  .ct-panel li.rxxp-mobile-rewards > a {
    display:flex!important; min-height:48px!important; align-items:center!important;
    padding:12px 16px!important; font-size:16px!important; font-weight:750!important;
  }
  #offcanvas li.rxxp-mobile-rewards.rxmob-current > a,
  .ct-panel li.rxxp-mobile-rewards.rxmob-current > a { color:#B7F000!important; }
}

/* Four iconic infographic cards in the existing custom footer. */
.rxnx-footer-root .rxnx-footer-promises {
  gap:14px!important;
  padding:9px 0 30px!important;
}
.rxnx-footer-root .rxnx-footer-promises > .rxxp-footer-feature {
  display:flex!important;
  flex-direction:row!important;
  gap:13px!important;
  align-items:flex-start!important;
  min-width:0!important;
  padding:18px 15px!important;
  border:1px solid rgba(180,203,242,.17)!important;
  border-radius:19px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.072),rgba(255,255,255,.025))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 30px rgba(0,0,0,.10);
}
.rxnx-footer-root .rxxp-footer-feature-icon {
  display:grid!important;
  flex:0 0 48px!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  background:rgba(183,240,0,.11)!important;
  border:1px solid rgba(183,240,0,.22)!important;
  color:#B7F000!important;
}
.rxnx-footer-root .rxxp-footer-feature-icon svg {
  display:block!important;
  width:25px!important;
  height:25px!important;
  max-width:25px!important;
  max-height:25px!important;
}
.rxnx-footer-root .rxxp-footer-feature-copy {
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  min-width:0!important;
}
.rxnx-footer-root .rxxp-footer-feature-copy strong {
  font-size:14px!important;
  color:#f8fbff!important;
  font-weight:850!important;
  line-height:1.25!important;
}
.rxnx-footer-root .rxxp-footer-feature-copy > span {
  font-size:12px!important;
  color:#b4c3da!important;
  line-height:1.55!important;
}
.rxnx-footer-root .rxxp-footer-rewards {
  display:inline-flex!important;
  gap:7px!important;
  align-items:center!important;
  font-weight:800!important;
  color:#d9eaff!important;
}
.rxnx-footer-root .rxxp-footer-rewards::before {
  content:'★';
  color:#B7F000!important;
  font-size:15px!important;
}
@media (max-width: 1024px) {
  .rxnx-footer-root .rxnx-footer-promises {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width: 620px) {
  .rxnx-footer-root .rxnx-footer-promises > .rxxp-footer-feature {
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:10px!important;
    border-radius:16px!important;
    padding:14px 12px!important;
  }
  .rxnx-footer-root .rxxp-footer-feature-icon {
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }
  .rxnx-footer-root .rxxp-footer-feature-icon svg {width:23px!important;height:23px!important}
  .rxnx-footer-root .rxxp-footer-feature-copy strong {font-size:12px!important}
  .rxnx-footer-root .rxxp-footer-feature-copy > span {font-size:11px!important}
}
