﻿/* ==========================================================================
   STOREX TECH â€” REFUBB-INSPIRED STOREFRONT THEME
   Loaded after the base stylesheet so these rules win without touching the
   original design system. Palette, spacing and card language mirror
   refubb.com while keeping every Storex Tech feature (cart, wishlist, auth,
   orders, reviews, admin settings) intact.
   ========================================================================== */

:root{
  --primary:#0d77b6;
  --secondary:#0a679f;
  --primary-container:#e7f3fb;
  --on-primary-container:#0b5c8c;
  --accent:#ffc107;
  --bg:#ffffff;
  --surface:#ffffff;
  --text:#1d2329;
  --text-2:#6b7280;
  --border:#e6e8eb;
  --rf-blue:#0d77b6;
  --rf-blue-dark:#0a5f93;
  --rf-ink:#111111;
  --rf-muted:#6f7378;
  --rf-green:#008d02;
  --rf-line:#e5e5e5;
  --rf-soft:#f5f7f9;
  --maxw:1200px;
}

html,body{background:#fff}
body{color:var(--rf-ink);font-size:15px;letter-spacing:0}
img{color:transparent}
.container{max-width:var(--maxw);padding:0 16px}
@media (min-width:1200px){.container{padding:0 20px}}

/* ---------------- Buttons ---------------- */
.btn{border-radius:8px;font-size:14px;font-weight:600;min-height:42px;letter-spacing:.1px;box-shadow:none}
.btn-primary{background:var(--rf-ink);color:#fff;border-color:var(--rf-ink)}
.btn-primary:hover{background:#2a2a2a;border-color:#2a2a2a;transform:none;box-shadow:none}
.btn-accent{background:var(--rf-ink);color:#fff}
.btn-accent:hover{background:#2a2a2a}
.btn-outline{background:#fff;border:1px solid #d9dde2;color:var(--rf-ink)}
.btn-outline:hover{border-color:var(--rf-ink);color:var(--rf-ink);background:#fff}
.btn-ghost{color:var(--rf-blue)}
.icon-btn{border-radius:8px;color:var(--rf-ink)}
.icon-btn:hover{background:#f1f4f7;color:var(--rf-blue)}
:focus-visible{outline:2px solid rgba(13,119,182,.55);outline-offset:2px;border-radius:4px}

/* ---------------- Announcement ---------------- */
.announce{background:#fff;color:#1f2933;border-bottom:1px solid #eceff2}
.announce-inner{min-height:36px;font-size:13.5px;letter-spacing:.1px;justify-content:center;gap:8px}
.announce .material-symbols-rounded{color:var(--rf-blue);font-size:17px}
.announce-links{display:none}

/* ---------------- Header (Refubb blue bar) ---------------- */
.header{
  position:sticky;top:0;z-index:90;
  background:var(--rf-blue);
  box-shadow:0 2px 8px rgba(0,0,0,.22);
  border:0;
}
.rf-header-inner{max-width:1200px;margin:0 auto;padding:0 16px}
.rf-header-top{display:flex;align-items:center;gap:24px;padding:10px 0}
.rf-logo{
  display:inline-flex;align-items:center;gap:8px;flex-shrink:0;
  color:#fff;font-weight:800;font-size:21px;letter-spacing:.4px;text-transform:uppercase;line-height:1;
}
.rf-logo .rf-logo-mark{
  width:34px;height:34px;border-radius:8px;background:#fff;color:var(--rf-blue);
  display:grid;place-items:center;font-size:20px;transform:skewX(-8deg);
}
.rf-logo .rf-logo-mark .material-symbols-rounded{transform:skewX(8deg);font-size:22px}
.rf-logo b{font-weight:800}
.rf-logo span{color:#cfe9fb;font-weight:600}

.rf-search{max-width:none;flex:1 1 auto;min-width:120px}
.rf-search .search-input{
  height:42px;border-radius:15px;border:0;background:#f5f5f5;color:#222;
  padding:0 46px 0 18px;font-size:14px;box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.rf-search .search-input::placeholder{color:#8a8f95}
.rf-search .search-input:focus{background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.35)}
.rf-search .search-icon{display:none}
.rf-search .search-clear{color:#666}
.rf-actions{display:flex;align-items:center;gap:16px;margin-left:0;flex-shrink:0}
.rf-act{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:34px;color:#fff;background:none;border:0;border-radius:6px;
  transition:opacity .18s;
}
.rf-act:hover{background:none;color:#fff;opacity:.75}
.rf-act .material-symbols-rounded{font-size:23px}
.rf-act .lbl{display:none}
.rf-act .count-badge{
  position:absolute;top:-2px;right:-7px;min-width:17px;height:17px;padding:0 4px;
  background:#ff3b30;color:#fff;border:2px solid var(--rf-blue);border-radius:99px;
  font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;
}
.rf-act.rf-wa .material-symbols-rounded{font-size:23px}
.rf-burger{
  display:none;width:32px;height:34px;color:#fff;background:none;border:0;
  align-items:center;justify-content:center;
}
.rf-burger .material-symbols-rounded{font-size:26px}

.rf-nav{background:transparent;border-top:1px solid rgba(255,255,255,.28)}
.rf-nav ul{display:flex;justify-content:center;align-items:center;gap:32px;margin:0;padding:0;overflow:visible}
.rf-nav a{
  display:flex;align-items:center;gap:5px;padding:13px 4px;font-size:15px;font-weight:400;
  color:#fff;position:relative;white-space:nowrap;
}
.rf-nav a:hover{color:#fff;opacity:.82}
.rf-nav a.active{color:#fff;font-weight:600}
.rf-nav a.active::after{content:'';position:absolute;left:4px;right:4px;bottom:6px;height:2px;background:#fff;border-radius:2px}
.rf-nav a .material-symbols-rounded{display:none}
.rf-nav .rf-caret{width:11px;height:11px;display:inline-flex;transition:transform .2s}
.rf-nav .has-sub{position:relative}
.rf-nav .has-sub:hover .rf-caret{transform:rotate(180deg)}
.rf-nav .rf-sub{
  position:absolute;top:100%;left:0;min-width:210px;background:#fff;border-radius:4px;
  box-shadow:0 8px 26px rgba(0,0,0,.16);padding:7px 0;display:block;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;z-index:120;
}
.rf-nav .has-sub:hover .rf-sub{opacity:1;visibility:visible;transform:none}
.rf-nav .rf-sub a{display:block;padding:9px 18px;color:#111;font-size:14px}
.rf-nav .rf-sub a:hover{background:#f5f5f5;color:var(--rf-blue);opacity:1}
.rf-nav .rf-sub a.active::after{display:none}

@media (max-width:900px){
  .rf-nav{display:none}
  .rf-burger{display:flex}
  .rf-header-top{gap:10px;padding:8px 0}
  .rf-logo{font-size:18px;margin:0 auto}
  .rf-logo .rf-logo-mark{width:30px;height:30px}
  .rf-logo b{display:inline}
  .rf-actions{gap:8px}
  .rf-act{width:28px}
  .rf-act .material-symbols-rounded{font-size:22px}
  .rf-search{order:4;flex-basis:100%;margin:0 0 9px}
  .rf-header-top{flex-wrap:wrap}
  .rf-act.rf-account{display:none}
}
@media (max-width:520px){
  .rf-logo{font-size:16px;gap:6px}
  .rf-logo .rf-logo-mark{width:27px;height:27px}
  .rf-actions .rf-wa{display:none}
}

/* Keep bottom navigation out of the Refubb layout (search lives in the header). */
.bottom-nav{display:none!important}

/* Drawer polish */
.drawer-head{background:var(--rf-blue);padding:20px 18px}
.drawer-head .logo{color:#fff}
.drawer-body a,.drawer-body button{border-radius:8px;font-size:14.5px}
.drawer-body a:hover,.drawer-body button:hover{background:#eef7fd;color:var(--rf-blue)}

/* ---------------- Page rhythm ---------------- */
.section{padding:34px 0}
.section-head{margin-bottom:16px;align-items:center}
.section-head h2{font-size:clamp(19px,2.2vw,26px);font-weight:600;letter-spacing:0;color:#151515}
.section-head h2 .material-symbols-rounded{display:none}
.section-head .sub{font-size:13px;color:#6f7378;margin-top:2px}
.link-more{font-size:13px;font-weight:600;color:#111;border-bottom:1px solid #111;padding-bottom:1px;gap:2px}
.link-more .material-symbols-rounded{font-size:15px}
.link-more:hover{text-decoration:none;color:var(--rf-blue);border-color:var(--rf-blue)}

/* ==========================================================================
   HOME â€” category strip
   ========================================================================== */
.rf-catbar{background:#fff;border-bottom:1px solid #f1f1f1;position:relative;z-index:5}
.rf-catbar-in{max-width:1200px;margin:0 auto;display:flex;align-items:flex-start;justify-content:center;gap:0;padding:12px 16px;overflow-x:auto;scrollbar-width:none}
.rf-catbar-in::-webkit-scrollbar{display:none}
.rf-cat{
  display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 auto;width:92px;
  color:#2b2b2b;text-align:center;padding:0 4px;
}
.rf-cat + .rf-cat{border-left:1px solid #efefef;margin-left:4px;padding-left:8px}
.rf-cat .rf-cat-ic{
  width:64px;height:64px;border-radius:50%;background:#d8e9ea;display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 6px rgba(0,0,0,.1);overflow:hidden;transition:transform .2s;
}
.rf-cat:hover .rf-cat-ic{transform:translateY(-2px)}
.rf-cat .rf-cat-ic img{width:100%;height:100%;object-fit:cover}
.rf-cat .rf-cat-ic .material-symbols-rounded{font-size:28px;color:#4b6b73}
.rf-cat b{font-size:11.5px;font-weight:500;line-height:1.25;color:#333}
.rf-cat:hover b{color:var(--rf-blue)}
.rf-sale-badge{
  width:58px;height:58px;border-radius:50%;background:#e8261d;color:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;
  border:2px solid #fff;box-shadow:0 0 0 1px #e8261d,0 3px 8px rgba(0,0,0,.2);transform:rotate(-8deg);
}
.rf-sale-badge b{font-size:18px;font-weight:800;letter-spacing:.5px}
.rf-sale-badge span{font-size:7.5px;font-weight:700;letter-spacing:.5px;margin-top:2px}
.rf-cat-sale-ic{background:transparent;box-shadow:none;overflow:visible}
.rf-cat-sale .rf-sale-badge{margin:0 auto}
@media (max-width:900px){
  .rf-catbar-in{justify-content:flex-start;padding:10px 8px}
  .rf-cat{width:72px}
  .rf-cat .rf-cat-ic{width:50px;height:50px}
  .rf-cat b{font-size:10px}
  .rf-sale-badge{width:46px;height:46px}
  .rf-sale-badge b{font-size:14px}
}

/* ==========================================================================
   HOME â€” hero
   ========================================================================== */
.rf-hero{
  position:relative;
  background:linear-gradient(100deg,#2f8fd0 0%,#57a9e2 42%,#9ed0f1 100%);
  overflow:hidden;
  border-bottom:1px solid #eaf1f6;
}
.rf-hero-slide--bg{background-size:cover;background-position:center}
.rf-hero-slide--bg .rf-hero-copy h1{text-shadow:0 2px 12px rgba(0,0,0,.28)}
.rf-hero-slide--bg .rf-hero-copy h1 strong{color:#0b4f75}
.rf-hero-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.rf-hero-track::-webkit-scrollbar{display:none}
.rf-hero-slide{flex:0 0 100%;scroll-snap-align:start;position:relative}
.rf-hero-inner{
  max-width:1200px;margin:0 auto;padding:30px 20px 38px;min-height:330px;
  display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);align-items:center;gap:20px;
}
.rf-hero-copy{position:relative;z-index:3;max-width:470px}
.rf-hero-copy .rf-eyebrow{
  display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;
  font-size:12px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;
  color:rgba(255,255,255,.94);text-shadow:0 1px 2px rgba(0,0,0,.14);
}
.rf-hero-copy h1{
  margin:0;font-size:clamp(27px,3.5vw,44px);line-height:1.06;letter-spacing:-.9px;
  font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.08);
}
.rf-hero-copy h1 span{display:block;color:#ff9f1a}
.rf-hero-copy h1 strong{
  display:block;width:fit-content;max-width:100%;margin-top:6px;background:#fff;color:#4b4b4b;font-weight:600;
  font-size:.6em;letter-spacing:-.2px;padding:5px 12px 6px;line-height:1.15;
}
.rf-hero-copy p{margin:15px 0 0;font-size:clamp(14px,1.5vw,18px);color:#fff;font-weight:500}
.rf-hero-copy .rf-hero-cta{
  display:inline-flex;align-items:center;gap:8px;margin-top:20px;background:#fff;color:#0d77b6;
  font-size:14px;font-weight:700;padding:10px 22px;border-radius:2px;border:1px solid #fff;
  transition:.18s;
}
.rf-hero-copy .rf-hero-cta .material-symbols-rounded{font-size:18px}
.rf-hero-copy .rf-hero-cta:hover{background:#0d77b6;color:#fff;border-color:#fff}

.rf-hero-art{position:relative;height:310px;display:flex;align-items:flex-end;justify-content:center;z-index:2;padding-bottom:18px}
.rf-hero-shelf{
  position:absolute;left:2%;right:2%;bottom:14px;height:58px;border-radius:6px;
  background:linear-gradient(#eaf6fe,#bfdcf2);
  box-shadow:inset 0 1px 0 #fff,0 12px 26px rgba(6,50,80,.14);
}
.rf-hero-item{
  position:relative;z-index:2;width:32%;max-width:200px;margin:0 -10px;object-fit:contain;
  border-radius:12px;filter:drop-shadow(0 14px 16px rgba(6,50,80,.24));
}
.rf-hero-item--1{transform:rotate(-2deg)}
.rf-hero-item--2{width:37%;max-width:240px;z-index:3;margin-bottom:8px}
.rf-hero-item--3{transform:rotate(2deg)}
.rf-hero-solo{
  position:relative;z-index:2;width:100%;max-width:330px;height:100%;object-fit:contain;
  border-radius:14px;filter:drop-shadow(0 16px 22px rgba(0,0,0,.28));
}
.rf-hero-chip{
  position:absolute;z-index:4;display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;
  padding:8px 12px;text-align:left;box-shadow:0 8px 22px rgba(6,50,80,.18);
}
.rf-hero-chip .material-symbols-rounded{font-size:20px;color:var(--rf-blue)}
.rf-hero-chip b{display:block;font-size:12.5px;font-weight:700;color:#16232e;line-height:1.2;white-space:nowrap}
.rf-hero-chip span{display:block;font-size:10.5px;color:#6f7378;line-height:1.3;white-space:nowrap}
.rf-hero-chip--a{left:0;top:14px}
.rf-hero-chip--b{right:0;top:70px}
.rf-hero-slide--2{background:linear-gradient(110deg,#0a5f93,#0d77b6 55%,#39a3d8)}
.rf-hero-slide--2 .rf-hero-inner{grid-template-columns:1fr 1fr;min-height:330px}
.rf-hero-slide--2 .rf-hero-copy h1{color:#fff;text-shadow:none}
.rf-hero-slide--2 .rf-hero-copy h1 span{color:#ffd54f}
.rf-hero-slide--2 .rf-hero-copy h1 strong{background:#ffd54f;color:#3a2b00}
.rf-hero-slide--2 .rf-eyebrow{color:#ffd54f;text-shadow:none}
.rf-hero-slide--2 .rf-hero-copy p{
  color:#ffd54f;font-style:italic;font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(16px,1.9vw,22px);font-weight:400;
}
.rf-hero-slide--2 .rf-hero-cta{background:#ffd54f;color:#302400;border-color:#ffd54f}
.rf-hero-slide--2 .rf-hero-cta:hover{background:#fff;border-color:#fff;color:#0a5f93}
.rf-hero-slide--2 .rf-hero-art{height:260px}
.rf-hero-slide--2 .rf-hero-chip--a{left:auto;right:0;top:auto;bottom:0}
.rf-hero-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px;z-index:5}
.rf-hero-dots button{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.75);border:0;padding:0;transition:.2s}
.rf-hero-dots button.on{width:18px;border-radius:4px;background:#fff}
@media (max-width:760px){
  .rf-hero-inner{grid-template-columns:1fr;min-height:0;padding:22px 16px 30px;gap:2px}
  .rf-hero-copy{max-width:none;text-align:left}
  .rf-hero-art{height:190px;margin-top:6px;padding-bottom:8px}
  .rf-hero-shelf{height:42px;bottom:6px}
  .rf-hero-item{max-width:120px;margin:0 -6px}
  .rf-hero-item--2{max-width:145px}
  .rf-hero-chip{display:none}
  .rf-hero-solo{max-width:200px}
  .rf-hero-slide--2 .rf-hero-inner{grid-template-columns:1fr;min-height:240px}
  .rf-hero-slide--2 .rf-hero-art{display:none}
  .rf-hero-dots{bottom:8px}
}
@media (max-width:520px){
  .rf-hero-copy h1{font-size:26px}
  .rf-hero-copy h1 strong{font-size:.62em;padding:4px 9px}
  .rf-hero-art{height:150px}
  .rf-hero-item{max-width:96px}
  .rf-hero-item--2{max-width:118px}
}

/* ==========================================================================
   HOME â€” trusted brands / product rail
   ========================================================================== */
.rf-brandsec{padding:26px 0 10px;background:#fff}
.rf-brandsec h2{text-align:center;font-size:clamp(23px,3vw,34px);font-weight:400;letter-spacing:-.4px;color:#1d1d1d;margin:0 0 18px}
.rf-brandrow{display:flex;justify-content:center;gap:14px;flex-wrap:nowrap;overflow-x:auto;padding:2px 4px 12px;scrollbar-width:none}
.rf-brandrow::-webkit-scrollbar{display:none}
.rf-brand{
  flex:0 0 auto;width:100px;background:#fff;border:1px solid #4caf50;border-radius:14px;
  padding:5px;text-align:center;cursor:pointer;transition:.18s;box-shadow:0 3px 8px rgba(0,0,0,.07);
}
.rf-brand:hover{transform:translateY(-2px)}
.rf-brand img{width:100%;height:62px;object-fit:contain;border-radius:10px;background:#fff}
.rf-brand span{display:block;font-size:11px;font-weight:500;color:#333;margin-top:3px}
.rf-brand.on{background:#ededed;border-color:#c89f6f}
.rf-brand.on span{font-weight:700}
.rf-brand-shelf{padding:0 0 8px;background:#fff}
.rf-prodrail{
  display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 4px 12px;
  scrollbar-width:thin;scrollbar-color:#cfd6dd transparent;
}
.rf-prodrail::-webkit-scrollbar{height:6px}
.rf-prodrail::-webkit-scrollbar-thumb{background:#d5dbe1;border-radius:9px}
.rf-prodrail .p-card{flex:0 0 235px;scroll-snap-align:start}
.rf-prodrail-empty{padding:26px;text-align:center;color:#777;font-size:14px}
.rf-brand-letter{
  display:grid;place-items:center;height:62px;width:100%;border-radius:10px;
  background:#eef7fd;color:var(--rf-blue);font-size:28px;font-weight:800;
}
.rf-rail-more{display:flex;justify-content:center;padding:4px 0 14px}
@media (max-width:900px){
  .rf-brand{width:82px}
  .rf-brand img{height:50px}
  .rf-brand-letter{height:50px;font-size:23px}
  .rf-brandrow{justify-content:flex-start;padding-left:6px}
  .rf-prodrail .p-card{flex:0 0 200px}
}

/* ==========================================================================
   HOME â€” Our Products category tiles
   ========================================================================== */
.rf-ours{padding:26px 0 10px;background:#fff}
.rf-ours h2{font-size:clamp(19px,2.3vw,25px);font-weight:600;margin:0;color:#202020}
.rf-ours-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.rf-ourgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.rf-ourcard{
  display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 8px 13px;
  background:#f7f9fa;border:1px solid #eef1f3;border-radius:12px;text-align:center;transition:.18s;
}
.rf-ourcard:hover{background:#fff;border-color:#dce6ec;box-shadow:0 6px 18px rgba(13,119,182,.10);transform:translateY(-2px)}
.rf-ourcard img{height:78px;width:100%;object-fit:contain;mix-blend-mode:darken}
.rf-ourcard b{font-size:13px;font-weight:600;color:#2b2b2b}
.rf-ourcard span{font-size:11px;color:#858b91}
.rf-ourcard-ic{
  height:78px;width:100%;display:grid;place-items:center;font-size:46px;color:var(--rf-blue);
  background:linear-gradient(140deg,#eaf5fd,#d8ecfa);border-radius:10px;
}
@media (max-width:900px){.rf-ourgrid{grid-template-columns:repeat(2,1fr);gap:8px}.rf-ourcard img,.rf-ourcard-ic{height:64px}}
@media (min-width:600px) and (max-width:900px){.rf-ourgrid{grid-template-columns:repeat(3,1fr)}}

/* ==========================================================================
   HOME â€” customer video rail
   ========================================================================== */
.rf-videos{padding:34px 0 24px;background:#fff;text-align:center}
.rf-videos h2{font-size:clamp(19px,2.4vw,25px);letter-spacing:.8px;font-weight:600;margin:0 0 6px;color:#1c1c1c;text-transform:uppercase}
.rf-videos .rf-sub{font-size:13.5px;color:#6f7378;margin:0 0 20px}
.rf-video-rail{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 14px;scroll-snap-type:x mandatory;scrollbar-width:none;text-align:left}
.rf-video-rail::-webkit-scrollbar{display:none}
.rf-video-card{
  flex:0 0 250px;background:#fff;border:1px solid #e6e9ec;border-radius:10px;overflow:hidden;
  box-shadow:0 3px 10px rgba(0,0,0,.06);scroll-snap-align:start;transition:.18s;
}
.rf-video-card:hover{box-shadow:0 12px 28px rgba(13,119,182,.14);transform:translateY(-2px)}
.rf-video-poster{position:relative;aspect-ratio:9/13;background:#e9eef2;overflow:hidden}
.rf-video-poster img{width:100%;height:100%;object-fit:cover}
.rf-video-poster::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.35),transparent 45%)}
.rf-video-play{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;
  width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.9);color:#111;
  display:grid;place-items:center;border:0;box-shadow:0 4px 14px rgba(0,0,0,.2);
}
.rf-video-play .material-symbols-rounded{font-size:28px;font-variation-settings:'FILL' 1}
.rf-video-body{padding:10px 12px 13px}
.rf-video-stars{display:flex;gap:1px;color:#ffc107;font-size:14px;margin-bottom:5px}
.rf-video-stars .material-symbols-rounded{font-size:15px;font-variation-settings:'FILL' 1}
.rf-video-body h4{font-size:13.5px;font-weight:600;margin:0 0 4px;color:#222;display:flex;align-items:center;gap:4px}
.rf-video-body h4 .material-symbols-rounded{font-size:15px;color:#2196f3;font-variation-settings:'FILL' 1}
.rf-video-body p{font-size:11.5px;line-height:1.45;color:#6f7378;margin:0}
@media (max-width:900px){.rf-video-card{flex-basis:210px}.rf-videos{padding:26px 0}}
@media (max-width:520px){.rf-video-card{flex-basis:68vw}}

/* Tested & Verified variant of the rail (product photos, no video claims) */
.rf-videos--tested .rf-video-poster{
  aspect-ratio:4/5;background:linear-gradient(150deg,#f2f9ff,#daecfa);
  display:grid;place-items:center;padding:12px;
}
.rf-videos--tested .rf-video-poster img{width:100%;height:100%;object-fit:contain}
.rf-videos--tested .rf-video-poster::after{display:none}
.rf-verified{
  position:absolute;left:8px;bottom:8px;z-index:2;display:inline-flex;align-items:center;gap:4px;
  background:#fff;color:#008d02;font-size:10px;font-weight:700;padding:4px 7px;border-radius:4px;
  box-shadow:0 2px 8px rgba(0,0,0,.14);
}
.rf-verified .material-symbols-rounded{font-size:13px;font-variation-settings:'FILL' 1}
.rf-videos--tested .rf-video-body h4{
  min-height:36px;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.rf-videos--tested .rf-video-body p{color:#84898f}

/* ==========================================================================
   HOME â€” review summary + blog
   ========================================================================== */
.rf-socialproof{padding:26px 0 36px;background:#fff;text-align:center;border-top:1px solid #f2f3f4}
.rf-socialproof h2{font-size:clamp(19px,2.4vw,26px);font-weight:400;margin:0 0 4px;color:#1c1c1c}
.rf-socialproof .rf-stars{display:inline-flex;gap:2px;color:#ffb300;margin:2px 0 6px}
.rf-socialproof .rf-stars .material-symbols-rounded{font-size:24px;font-variation-settings:'FILL' 1}
.rf-socialproof .rf-count{font-size:13.5px;color:#6f7378;margin-bottom:22px}
.rf-quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 60px;max-width:900px;margin:0 auto;text-align:center}
.rf-quote .rf-stars{display:flex;justify-content:center;gap:2px;color:#ffb300;margin-bottom:8px}
.rf-quote .rf-stars .material-symbols-rounded{font-size:21px;font-variation-settings:'FILL' 1}
.rf-quote p{font-size:14px;color:#565b61;margin:0 0 8px;line-height:1.5}
.rf-quote b{display:block;font-size:12.5px;font-weight:500;color:#888}
.rf-quote span{display:block;font-size:11.5px;color:#a3a8ae;margin-top:2px}
.rf-quote img{width:66px;height:40px;object-fit:contain;margin:10px auto 0;mix-blend-mode:darken}
@media (max-width:640px){.rf-quote-grid{grid-template-columns:1fr;gap:26px}}

.rf-blog{padding:34px 0 50px;background:#fff;border-top:1px solid #f2f3f4}
.rf-blog h2{font-size:clamp(19px,2.4vw,25px);font-weight:600;margin:0 0 18px;text-align:center;color:#1c1c1c}
.rf-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.rf-post{display:flex;flex-direction:column;align-items:flex-start}
.rf-post-img{
  aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:8px;border:0;padding:18px;
  background:linear-gradient(140deg,#f0f9ff,#d9edfb);display:grid;place-items:center;cursor:pointer;
}
.rf-post-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:darken;transition:transform .4s}
.rf-post:hover .rf-post-img img{transform:scale(1.04)}
.rf-post h3{font-size:21px;line-height:1.28;font-weight:500;margin:12px 0 8px;color:#1d1d1d}
.rf-post-title{
  border:0;background:none;padding:0;font:inherit;font-size:21px;line-height:1.28;font-weight:500;
  color:#1d1d1d;text-align:left;cursor:pointer;
}
.rf-post-title:hover{color:var(--rf-blue)}
.rf-post time{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#9aa0a6;font-weight:600}
.rf-post p{font-size:13.5px;line-height:1.65;color:#5f6469;margin:10px 0 0;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.rf-post-more{margin-top:12px;background:none;border:0;border-bottom:1px solid #111;padding:0 0 1px;cursor:pointer;font-size:13px}
@media (max-width:900px){.rf-blog-grid{grid-template-columns:1fr 1fr;gap:18px}.rf-blog-grid .rf-post:last-child{display:none}}
@media (max-width:600px){.rf-blog-grid{grid-template-columns:1fr}.rf-blog-grid .rf-post:last-child{display:flex}}

/* Journal article modal */
.rf-guide-img{
  margin:0 0 16px;border-radius:10px;padding:14px;display:grid;place-items:center;aspect-ratio:16/9;
  background:linear-gradient(140deg,#f0f9ff,#d9edfb);
}
.rf-guide-img img{max-height:220px;max-width:100%;object-fit:contain;mix-blend-mode:darken}
.rf-guide time{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#9aa0a6;font-weight:600}
.rf-guide p{font-size:14.5px;line-height:1.75;color:#4b5563;margin:14px 0}
.rf-guide .btn{margin-top:18px}

/* ==========================================================================
   PRODUCT CARDS â€” Refubb language
   ========================================================================== */
.product-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.p-card{
  background:#fff;border:.6px solid rgba(72,72,72,.5);border-radius:12px;overflow:hidden;
  box-shadow:0 3px 8px rgba(0,0,0,.05);transition:box-shadow .2s,transform .2s;
}
.p-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.10);border-color:rgba(72,72,72,.7)}
.p-media{background:#fff;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.p-media img{width:100%;height:100%;object-fit:contain;padding:8px;transition:transform .35s}
.p-card:hover .p-media img{transform:scale(1.03)}
.p-badges{top:8px;left:8px;right:auto;gap:4px}
.p-badges .badge{
  background:var(--rf-green);color:#fff;border-radius:4px;font-size:8.5px;font-weight:500;
  letter-spacing:.3px;padding:4px 5px;text-transform:none;line-height:1;
}
.p-badges .badge.badge-danger{background:#c62828}
.p-badges .badge.badge-success,.p-badges .badge.badge-used,.p-badges .badge.badge-new,
.p-badges .badge.badge-refurb,.p-badges .badge.badge-openbox{display:none}
.p-badges .badge.badge-offer{display:inline-flex}
.wish-btn{
  top:5px;right:5px;width:28px;height:28px;border:0;background:rgba(255,255,255,.92);
  box-shadow:0 1px 5px rgba(0,0,0,.12);color:#8b9197;
}
.wish-btn .material-symbols-rounded{font-size:17px}
.p-body{padding:9px 11px 11px;gap:6px}
.p-brand{display:none}
.p-name{font-size:14px;line-height:1.35;font-weight:600;min-height:38px;-webkit-line-clamp:2;color:#222}
.p-name:hover{color:var(--rf-blue)}
.p-rating{display:none}
.p-cond{display:none}
.p-price{margin-top:2px;gap:6px}
.p-price .now{font-size:15px;font-weight:500;color:#222}
.p-price .mrp{font-size:12px;color:#9aa0a6}
.p-price .off{display:none}
.stock{display:none}
.trust-line{display:none}
.p-actions{margin-top:auto;padding-top:4px;gap:0}
.p-actions .btn{
  width:100%;margin:0;min-height:36px;padding:8px 10px;border-radius:6px;
  background:#000;border:1px solid #000;color:#fff;font-size:13px;font-weight:500;
}
.p-actions .btn:hover{background:#1d1d1d;border-color:#1d1d1d;color:#fff;transform:none;box-shadow:none}
.p-actions .btn .material-symbols-rounded{font-size:18px}
.p-actions .buy{display:none}
@media (max-width:520px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .p-name{font-size:12.5px;min-height:34px}
  .p-price .now{font-size:13.5px}
  .p-price .mrp{font-size:11px}
  .p-actions .btn{font-size:11.5px;padding:7px 5px}
}

/* ==========================================================================
   FOOTER â€” Refubb light footer
   ========================================================================== */
.footer{background:#f8f9fa;color:#333;border-top:1px solid #eaeaea;padding:52px 0 0;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.25fr .8fr .9fr 1.25fr;gap:34px}
.footer h5{font-size:17px;font-weight:600;color:#333;margin:0 0 18px}
.footer a{font-size:14px;color:#333;display:block;margin-bottom:11px;line-height:1.4}
.footer a:hover{color:var(--rf-blue)}
.footer .about{font-size:13.5px;line-height:1.75;color:#333;margin:0 0 14px}
.footer .rf-f-address{font-size:13.5px;line-height:1.8;color:#333;margin:0 0 14px}
.footer .rf-f-address b{font-weight:700}
.footer .rf-f-logo{display:inline-flex;align-items:center;gap:7px;color:#111;font-weight:800;font-size:22px;letter-spacing:.4px;text-transform:uppercase;margin-bottom:16px}
.footer .rf-f-logo .material-symbols-rounded{width:32px;height:32px;border-radius:7px;background:#111;color:#fff;display:grid;place-items:center;font-size:19px}
.footer .socials{display:flex;gap:9px;margin-top:14px}
.footer .socials a{
  width:36px;height:36px;border:1px solid #333;border-radius:50%;display:grid;place-items:center;
  margin:0;color:#333;transition:.18s;
}
.footer .socials a:hover{background:#333;color:#f8f9fa}
.footer .socials .material-symbols-rounded{font-size:17px}
.rf-f-news{display:flex;border:1px solid #ccc;border-radius:3px;overflow:hidden;margin-top:12px;background:#fff}
.rf-f-news input{flex:1;min-width:0;border:0;padding:11px 13px;font-size:13px;outline:none;background:transparent}
.rf-f-news button{background:#000;color:#fff;border:0;padding:11px 18px;font-size:12px;font-weight:600;white-space:nowrap}
.rf-f-news button:hover{background:#222}
.footer-bottom{
  margin-top:36px;padding:20px 0 22px;border-top:1px solid rgba(0,0,0,.09);
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.footer-bottom .ft-credit{font-size:12.5px;color:#555}
.footer-bottom .pay-strip{gap:6px}
.footer-bottom .pay-strip span{
  background:#fff;border:1px solid #dfe3e7;border-radius:3px;color:#456;font-size:9.5px;
  letter-spacing:.4px;padding:4px 7px;font-weight:700;
}
@media (max-width:1000px){.footer-grid{grid-template-columns:1fr 1fr;gap:26px}}
@media (max-width:600px){.footer{padding-top:32px}.footer-grid{grid-template-columns:1fr;gap:8px}.footer h5{margin:14px 0 10px}.footer-bottom{flex-direction:column;align-items:flex-start;text-align:left}}

/* WhatsApp floating button (Refubb style) */
.rf-wa-float{
  position:fixed;right:16px;bottom:18px;z-index:130;width:56px;height:56px;border-radius:50%;
  background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.25);
  transition:transform .18s;border:0;
}
.rf-wa-float:hover{transform:scale(1.06);background:#25d366;color:#fff}
.rf-wa-float .material-symbols-rounded{font-size:30px}
@media (max-width:600px){.rf-wa-float{width:50px;height:50px;right:12px;bottom:14px}.rf-wa-float .material-symbols-rounded{font-size:27px}}

/* Other pre-existing home blocks that are no longer used */
.promo-row,.cat-scroll,.deal-banner,.why-grid,.review-grid,.newsletter{}

/* ---------------- Sub-pages: soften to the same language ---------------- */
.cat-scroll{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.cat-card{border-radius:12px;box-shadow:0 2px 7px rgba(0,0,0,.04);border-color:#e6e9ec;padding:16px 10px}
.cat-card .cat-ic{border-radius:50%;width:64px;height:64px;background:#d8e9ea;color:#3f6d75}
.cat-card:nth-child(2n) .cat-ic,.cat-card:nth-child(3n) .cat-ic{background:#d8e9ea;color:#3f6d75}
.cat-card b{font-size:13px;font-weight:600}
.why-card,.review-card{border-radius:12px;box-shadow:0 2px 7px rgba(0,0,0,.04)}
.newsletter{background:var(--rf-blue);border-radius:12px}
.newsletter h3{font-weight:600}
.pd-layout,.cart-layout,.co-layout,.auth-wrap,.card{border-radius:12px}
.rate-pill{background:#008d02;border-radius:4px}
.chip{border-radius:6px;border-width:1px}
.chip.active{background:#000;border-color:#000}
.filters{border-radius:12px}

/* Hide old mobile bottom bar spacing */
@media (max-width:900px){body{padding-bottom:0!important}.app-root{padding-bottom:0}}

/* Loading screen in the new palette */
.loading-screen{background:linear-gradient(150deg,#0a5f93,#0d77b6 60%,#3aa0d4)}
.loader-logo span{color:#ffd54f}
.loader-bar span{background:#ffd54f}

/* Refubb-style breadcrumb/title on category pages */
.page-head h1,.plp-head h1{letter-spacing:-.4px}

/* ==========================================================================
   RESPONSIVE HEADER TWEAKS
   ========================================================================== */
@media (max-width:900px){
  .announce-inner{font-size:12px;min-height:32px;padding:0 10px}
  .rf-header-inner{padding:0 10px}
  .header{box-shadow:0 2px 6px rgba(0,0,0,.2)}
}

