/* ============================================================
   JFL Store — Storefront design system
   Modern marketplace layer on top of Bootstrap 5.
   One brand hue, warm price accent, soft neutral surfaces,
   real radius, consistent elevation.
   ============================================================ */

:root {
  /* Brand */
  --rk-brand: #0E7C6B;
  --rk-brand-2: #12A08A;
  --rk-brand-dark: #0A5F52;
  --rk-brand-soft: #E8F5F2;

  /* Accents */
  --rk-price: #E8590C;
  --rk-sale: #E5484D;
  --rk-gold: #F59E0B;
  --rk-green: #12A150;
  --rk-pink: #DB2777;

  /* Neutrals (tinted slightly toward the brand hue) */
  --rk-ink: #0F1D2B;
  --rk-ink-2: #33475B;
  --rk-gray: #64748B;
  --rk-line: #E6EBF1;
  --rk-line-2: #EFF3F7;
  --rk-bg: #F3F6F8;
  --rk-card: #FFFFFF;

  /* Edge + depth */
  --rk-radius: 14px;
  --rk-radius-sm: 10px;
  --rk-shadow: 0 1px 2px rgba(15, 29, 43, .05), 0 1px 3px rgba(15, 29, 43, .04);
  --rk-shadow-md: 0 6px 18px rgba(15, 29, 43, .08);
  --rk-shadow-hover: 0 12px 28px rgba(15, 29, 43, .12);

  /* Legacy alias tokens (templates reference these inline) */
  --rk-blue: var(--rk-brand);
  --rk-blue-soft: var(--rk-brand-soft);
  --rk-red: var(--rk-sale);
  --rk-amber: var(--rk-gold);
  --rk-purple: #7C3AED;
  --rk-teal: var(--rk-brand);

  /* Fixed header layer heights */
  --rk-topbar-h: 42px;
  --rk-header-h: 68px;
  --rk-catnav-h: 48px;
}
@media (max-width: 767.98px) {
  :root {
    --rk-topbar-h: 0;
    --rk-header-h: 118px;
    --rk-catnav-h: 0;
  }
}

body.storefront {
  background: var(--rk-bg);
  font-family: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
  color: var(--rk-ink);
  padding-bottom: 64px;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 992px) {
  body.storefront { padding-bottom: 0; }
}
body.storefront main { padding-top: calc(var(--rk-topbar-h) + var(--rk-header-h) + var(--rk-catnav-h)); }

/* Visible keyboard focus everywhere */
body.storefront a:focus-visible,
body.storefront button:focus-visible,
body.storefront input:focus-visible,
body.storefront select:focus-visible,
body.storefront textarea:focus-visible,
body.storefront [tabindex]:focus-visible {
  outline: 2px solid var(--rk-brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============================================================
   Header tiers (fixed-row "smart scroll hide")
   ============================================================ */
.rk-topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--rk-topbar-h);
  background: var(--rk-ink);
  color: #CBD5E1; font-size: 12.5px;
  z-index: 1035; display: flex; align-items: center;
  transition: transform .3s ease; will-change: transform;
}
.rk-topbar i { margin-right: 4px; }
.rk-topbar a { color: #CBD5E1; font-weight: 500; }
.rk-topbar a:hover { color: #fff; }

.rk-header-wrap { position: static; }

.rk-header {
  position: fixed; top: var(--rk-topbar-h); left: 0; right: 0;
  height: var(--rk-header-h);
  background: #fff; border-bottom: 1px solid var(--rk-line);
  box-shadow: var(--rk-shadow);
  z-index: 1025; display: flex; align-items: center;
  transition: top .3s ease, box-shadow .2s;
}
.rk-header .logo { font-weight: 800; color: var(--rk-ink); font-size: 21px; letter-spacing: -.01em; }
.rk-header .logo small { display: block; font-size: 10px; color: var(--rk-gray); letter-spacing: .16em; }

.rk-search { position: relative; flex: 1; max-width: 560px; }
.rk-search input {
  width: 100%; height: 44px;
  border: 1.5px solid var(--rk-line); border-radius: 999px;
  padding: 0 54px 0 18px; font-size: 14.5px;
  background: var(--rk-bg); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.rk-search input::placeholder { color: #94A3B8; }
.rk-search input:focus { border-color: var(--rk-brand); background: #fff; box-shadow: 0 0 0 4px rgba(14, 124, 107, .14); }
.rk-search button {
  position: absolute; right: 5px; top: 5px; bottom: 5px;
  width: 34px; border-radius: 50%; border: none;
  background: var(--rk-brand); color: #fff; font-size: 14px; cursor: pointer;
  transition: background .2s;
}
.rk-search button:hover { background: var(--rk-brand-dark); }

.rk-header-actions { display: flex; align-items: center; gap: 20px; }
.rk-header-actions a {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--rk-gray); font-size: 11px; font-weight: 600;
  text-decoration: none; position: relative; transition: color .2s;
}
.rk-header-actions a i { font-size: 21px; color: var(--rk-ink-2); transition: color .2s; }
.rk-header-actions a:hover { color: var(--rk-brand); }
.rk-header-actions a:hover i { color: var(--rk-brand); }
.rk-cart-badge {
  position: absolute; top: -6px; right: -9px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--rk-sale); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

.rk-catnav {
  position: fixed; top: calc(var(--rk-topbar-h) + var(--rk-header-h));
  left: 0; right: 0; height: var(--rk-catnav-h);
  background: #fff; border-bottom: 1px solid var(--rk-line);
  z-index: 1015; overflow: hidden;
  transition: top .3s ease, transform .3s ease, opacity .25s ease; will-change: transform;
}
.rk-catnav .container { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; align-items: center; }
.rk-catnav .container::-webkit-scrollbar { display: none; }
.rk-catnav a {
  white-space: nowrap; padding: 12px 14px; font-size: 14px; font-weight: 600;
  color: var(--rk-ink-2); border-bottom: 2px solid transparent; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s, border-color .2s;
}
.rk-catnav a i { color: var(--rk-brand); font-size: 13px; }
.rk-catnav a:hover, .rk-catnav a.active { color: var(--rk-brand); border-bottom-color: var(--rk-brand); }

/* Smart-scroll state (driven by storefront.js) */
body.storefront.rk-topbar-hide .rk-topbar { transform: translateY(-100%); }
body.storefront.rk-topbar-hide .rk-header { top: 0; }
body.storefront.rk-topbar-hide .rk-catnav { top: var(--rk-header-h); }
body.storefront.rk-catnav-hide .rk-catnav { transform: translateY(-100%); opacity: 0; pointer-events: none; }

/* ============================================================
   Hero
   ============================================================ */
.rk-hero { display: flex; gap: 16px; }
.rk-hero-slider {
  flex: 1; border-radius: var(--rk-radius); overflow: hidden; position: relative;
  background: var(--rk-brand-dark); min-height: 264px; box-shadow: var(--rk-shadow-md);
}
.rk-hero-slide {
  display: none; min-height: 264px; color: #fff;
  padding: clamp(24px, 4vw, 48px);
  flex-direction: column; justify-content: center;
  position: relative; isolation: isolate;
}
.rk-hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(620px 300px at 88% 10%, rgba(255,255,255,.22), transparent 62%),
    radial-gradient(520px 260px at 6% 96%, rgba(0,0,0,.22), transparent 60%);
}
.rk-hero-slide.active { display: flex; animation: rkFade .5s ease; }
.rk-hero-slide.s1 { background: linear-gradient(120deg, #0A5F52, #12A08A); }
.rk-hero-slide.s2 { background: linear-gradient(120deg, #7A2E16, #E8590C); }
.rk-hero-slide.s3 { background: linear-gradient(120deg, #12324F, #1E6FB8); }
.rk-hero-slide h2 { font-size: clamp(22px, 3vw, 33px); font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.rk-hero-slide p { opacity: .92; margin-bottom: 20px; max-width: 46ch; }
.rk-hero-slide .rk-btn { align-self: flex-start; }
.rk-hero-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.rk-hero-dots span { width: 22px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: .25s; }
.rk-hero-dots span.active { background: #fff; width: 30px; }

.rk-hero-side { width: 272px; display: flex; flex-direction: column; gap: 12px; }
.rk-hero-side .rk-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; cursor: pointer; padding: 16px; gap: 2px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rk-hero-side .rk-card:hover { transform: translateY(-2px); box-shadow: var(--rk-shadow-md); border-color: var(--rk-brand-soft); }
.rk-hero-side .rk-card i { font-size: 25px; margin-bottom: 4px; }
.rk-hero-side .rk-card small { color: var(--rk-gray); }

/* ============================================================
   Trust / service bar
   ============================================================ */
.rk-trust {
  background: #fff; border: 1px solid var(--rk-line); border-radius: var(--rk-radius);
  box-shadow: var(--rk-shadow); padding: 16px; margin-top: 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.rk-trust .t { display: flex; align-items: center; gap: 12px; }
.rk-trust .t i {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
  background: var(--rk-brand-soft); color: var(--rk-brand);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.rk-trust .t b { display: block; font-size: 13.5px; }
.rk-trust .t small { color: var(--rk-gray); font-size: 12px; }

/* ============================================================
   Section shell
   ============================================================ */
.rk-section {
  background: #fff; border: 1px solid var(--rk-line); border-radius: var(--rk-radius);
  padding: 20px; margin-top: 16px; box-shadow: var(--rk-shadow);
}
.rk-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.rk-section-head h2 {
  font-size: 19px; font-weight: 800; margin: 0; color: var(--rk-ink);
  display: flex; align-items: center; gap: 10px; letter-spacing: -.01em;
}
.rk-section-head h2::before { content: ""; width: 4px; height: 20px; border-radius: 999px; background: var(--rk-brand); }
.rk-section-head h2 i { color: var(--rk-brand); }
.rk-section-head .rk-ghost {
  border: 1.5px solid var(--rk-line); color: var(--rk-ink-2);
  border-radius: 999px; padding: 7px 15px; font-size: 12.5px; font-weight: 700;
  text-decoration: none; transition: .2s; white-space: nowrap;
}
.rk-section-head .rk-ghost:hover { border-color: var(--rk-brand); color: var(--rk-brand); background: var(--rk-brand-soft); }

/* Horizontal scroll row */
.rk-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
.rk-scroll::-webkit-scrollbar { height: 6px; }
.rk-scroll::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 999px; }
.rk-scroll > * { scroll-snap-align: start; }
.rk-scroll > .pcard { width: 178px; flex: 0 0 auto; }

/* ============================================================
   Product card
   ============================================================ */
.pcard {
  position: relative;
  width: 100%; background: #fff; border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.pcard:hover { box-shadow: var(--rk-shadow-hover); transform: translateY(-4px); border-color: #D7DFE8; }

/* Media (image + overlaid badges/action) */
.pcard .pmedia { position: relative; }
.pcard .pimg {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(180deg, #FBFCFD, #F3F6FA);
}
.pcard .pimg img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.pcard:hover .pimg img { transform: scale(1.07); }

.pcard .badge-new, .pcard .badge-disc {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  border-radius: 999px; padding: 4px 10px;
  font-size: 10.5px; font-weight: 800; color: #fff; letter-spacing: .04em;
  box-shadow: 0 3px 8px rgba(15, 29, 43, .18);
}
.pcard .badge-new { background: linear-gradient(135deg, var(--rk-brand), var(--rk-brand-2)); }
.pcard .badge-disc { background: linear-gradient(135deg, #F0575C, var(--rk-sale)); }

.pcard .wish {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--rk-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--rk-ink-2); cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 29, 43, .08);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.pcard .wish:hover { color: var(--rk-sale); border-color: var(--rk-sale); transform: scale(1.08); }
.pcard .wish.active { color: #fff; background: var(--rk-sale); border-color: var(--rk-sale); }

/* Body */
.pcard .pbody { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .pbrand {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rk-gray); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard .ptitle {
  font-size: 13.5px; font-weight: 600; color: var(--rk-ink); line-height: 1.45; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px;
  transition: color .2s;
}
.pcard .ptitle:hover { color: var(--rk-brand); }
.pcard .pprice { display: flex; align-items: baseline; gap: 7px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.pcard .pprice .now { font-size: 17px; font-weight: 800; color: var(--rk-price); letter-spacing: -.01em; }
.pcard .pprice .was { font-size: 12.5px; color: #94A3B8; text-decoration: line-through; }
.pcard .pmeta { display: flex; align-items: center; }
.pcard .pstock { font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.pcard .pstock.ok { color: var(--rk-green); }
.pcard .pstock.no { color: var(--rk-sale); }

/* CTA */
.pcard .pact { margin-top: 8px; }
.pcard .btn-cart-sm {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--rk-brand); color: #fff; border: none; border-radius: var(--rk-radius-sm);
  padding: 9px 10px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.pcard .btn-cart-sm:hover { background: var(--rk-brand-dark); color: #fff; box-shadow: 0 6px 14px rgba(14, 124, 107, .28); }
.pcard .btn-cart-sm:active { transform: translateY(1px); }
.pcard .btn-cart-sm:disabled { background: #E2E8EE; color: #90A0B0; cursor: not-allowed; box-shadow: none; }
.pcard.flash .pbody { background: linear-gradient(180deg, #fff, #FFF7F0); }

/* ============================================================
   Category circles
   ============================================================ */
.rk-cats { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.rk-cats::-webkit-scrollbar { display: none; }
.rk-cat { width: 96px; flex-shrink: 0; text-align: center; text-decoration: none; }
.rk-cat .ico {
  width: 96px; height: 96px; border-radius: 24px; margin-bottom: 8px;
  background: var(--rk-brand-soft); border: 1px solid #D6EBE6;
  display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--rk-brand);
  transition: transform .2s, box-shadow .2s;
}
.rk-cat:hover .ico { transform: translateY(-3px); box-shadow: var(--rk-shadow-md); }
.rk-cat .nm {
  font-size: 12.5px; font-weight: 600; color: var(--rk-ink-2); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Brand strip */
.rk-brands { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.rk-brand {
  flex-shrink: 0; min-width: 124px; height: 62px; padding: 0 18px;
  border: 1px solid var(--rk-line); border-radius: var(--rk-radius-sm); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--rk-ink-2); font-size: 14px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, color .2s, border-color .2s;
}
.rk-brand:hover { transform: translateY(-3px); box-shadow: var(--rk-shadow-md); border-color: var(--rk-brand); color: var(--rk-brand); }

/* ============================================================
   Generic surfaces + buttons
   ============================================================ */
.rk-card { background: #fff; border: 1px solid var(--rk-line); border-radius: var(--rk-radius); box-shadow: var(--rk-shadow); }
.rk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rk-brand); color: #fff; border: 1px solid transparent; border-radius: var(--rk-radius-sm);
  padding: 11px 22px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .1s, box-shadow .2s;
}
.rk-btn:hover { background: var(--rk-brand-dark); color: #fff; box-shadow: var(--rk-shadow-md); }
.rk-btn:active { transform: scale(.98); }
.rk-btn.block { width: 100%; }
.rk-btn.outline { background: #fff; border-color: var(--rk-line); color: var(--rk-ink-2); }
.rk-btn.outline:hover { background: var(--rk-brand-soft); border-color: var(--rk-brand); color: var(--rk-brand); box-shadow: none; }
.rk-btn.warm { background: var(--rk-price); }
.rk-btn.warm:hover { background: #C24A08; }
.rk-btn.red, .rk-btn-red { background: var(--rk-sale); }
.rk-btn.red:hover, .rk-btn-red:hover { background: #C3383C; }

/* ============================================================
   Mobile bottom app bar
   ============================================================ */
.rk-appbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030;
  background: #fff; border-top: 1px solid var(--rk-line);
  display: flex; justify-content: space-around; padding: 6px 0 env(safe-area-inset-bottom);
  box-shadow: 0 -4px 18px rgba(15, 29, 43, .07);
}
.rk-appbar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10.5px; font-weight: 600; color: var(--rk-gray); text-decoration: none; flex: 1;
  min-height: 44px; justify-content: center;
}
.rk-appbar a i { font-size: 20px; }
.rk-appbar a.active, .rk-appbar a:active { color: var(--rk-brand); }
.rk-appbar .rk-ctr {
  width: 52px; height: 52px; border-radius: 50%; margin-top: -24px;
  background: var(--rk-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  box-shadow: 0 6px 16px rgba(14, 124, 107, .38);
}
.rk-appbar .rk-ctr i { color: #fff; }
@media (min-width: 992px) { .rk-appbar { display: none; } }

/* ============================================================
   Mobile drawer
   ============================================================ */
.rk-drawer-mask { position: fixed; inset: 0; background: rgba(15, 29, 43, .5); z-index: 1040; display: none; opacity: 0; transition: opacity .25s; }
.rk-drawer-mask.show { display: block; opacity: 1; }
.rk-drawer {
  position: fixed; top: 0; bottom: 0; left: -300px; width: 288px; background: #fff; z-index: 1050;
  transition: left .28s cubic-bezier(.4, 0, .2, 1); display: flex; flex-direction: column;
}
.rk-drawer.open { left: 0; box-shadow: 4px 0 24px rgba(15, 29, 43, .18); }
.rk-drawer .drawer-head { background: linear-gradient(120deg, var(--rk-brand-dark), var(--rk-brand)); color: #fff; padding: 20px 18px; }
.rk-drawer .drawer-head .close { position: absolute; right: 14px; top: 14px; color: #fff; font-size: 20px; background: none; border: none; }
.rk-drawer nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.rk-drawer nav a {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px; min-height: 46px;
  color: var(--rk-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rk-line-2);
}
.rk-drawer nav a i { width: 22px; text-align: center; color: var(--rk-brand); }
.rk-drawer nav a:hover { background: var(--rk-brand-soft); color: var(--rk-brand); }
.rk-drawer .drawer-foot { border-top: 1px solid var(--rk-line); padding: 12px 18px; font-size: 12px; color: var(--rk-gray); }

/* ============================================================
   Toasts + motion
   ============================================================ */
#rk-toast-wrap { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2000; width: min(92vw, 360px); display: flex; flex-direction: column; gap: 8px; }
.rk-toast {
  background: #fff; border-radius: var(--rk-radius-sm); box-shadow: 0 12px 30px rgba(15, 29, 43, .18);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
  border-left: 4px solid var(--rk-brand); animation: rkToastIn .3s ease;
}
.rk-toast.success { border-left-color: var(--rk-green); }
.rk-toast.error { border-left-color: var(--rk-sale); }
.rk-toast.success i { color: var(--rk-green); }
.rk-toast.error i { color: var(--rk-sale); }
.rk-toast i { font-size: 18px; }
@keyframes rkToastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

@keyframes rkFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rk-reveal { opacity: 0; }
.rk-reveal.in { animation: rkFade .5s ease forwards; }

/* Countdown */
.rk-countdown { display: flex; gap: 6px; align-items: center; font-weight: 700; }
.rk-countdown .unit { background: var(--rk-ink); color: #fff; border-radius: 8px; padding: 4px 9px; font-size: 14px; min-width: 34px; text-align: center; }
.rk-countdown .sep { color: var(--rk-gray); }

/* Breadcrumb + tables */
.rk-breadcrumb { font-size: 13px; color: var(--rk-gray); padding: 14px 0; }
.rk-breadcrumb a { color: var(--rk-gray); text-decoration: none; }
.rk-breadcrumb a:hover { color: var(--rk-brand); }
.rk-table { width: 100%; border-collapse: collapse; background: #fff; }
.rk-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--rk-gray); padding: 12px; border-bottom: 2px solid var(--rk-line); }
.rk-table td { padding: 13px 12px; border-bottom: 1px solid var(--rk-line-2); font-size: 14px; vertical-align: middle; }

/* ============================================================
   Scoping overrides — neutralise legacy dashboard rules from
   jflit-ui.css (.sidebar, .main-content) on the storefront only,
   and give controls the new radius.
   ============================================================ */
body.storefront .main-content { margin-left: 0 !important; width: auto !important; display: flex !important; align-items: flex-start !important; }
body.storefront .sidebar {
  width: 250px; background: #fff !important; color: var(--rk-ink) !important;
  border-right: 1px solid var(--rk-line); font-size: 14px !important;
  position: static !important; height: auto !important; top: auto !important; left: auto !important;
  right: auto !important; z-index: auto !important;
}
body.storefront .sidebar a, body.storefront .sidebar .nav-link { color: var(--rk-ink-2) !important; }
body.storefront .sidebar ul li { border-bottom: 1px solid var(--rk-line-2); }
body.storefront .sidebar ul li a { color: var(--rk-ink-2) !important; }
@media (max-width: 768px) {
  body.storefront .sidebar {
    position: fixed !important; top: 0 !important; right: 0 !important; left: auto !important;
    height: 100% !important; width: 270px !important; z-index: 1060 !important; transform: translateX(100%);
  }
  body.storefront .sidebar.open { transform: translateX(0) !important; }
}

/* Consistent control radius (beats legacy jflit-ui rules) */
body.storefront .form-control,
body.storefront .form-select,
body.storefront .btn,
body.storefront input:not([type=checkbox]):not([type=radio]):not([type=file]),
body.storefront select,
body.storefront textarea { border-radius: 10px; }

/* Round exceptions re-asserted */
body.storefront .rk-search input { border-radius: 999px; }
body.storefront .rk-search button { border-radius: 50%; }
body.storefront .rk-appbar .rk-ctr { border-radius: 50%; }
body.storefront .pcard .pmedia .wish { border-radius: 50%; }
body.storefront .rk-hero-dots span,
body.storefront .rk-cart-badge { border-radius: 999px; }
body.storefront .rk-section-head .rk-ghost { border-radius: 999px; }

/* Bootstrap cards adopt the storefront edge language */
body.storefront .card { border-radius: var(--rk-radius) !important; border-color: var(--rk-line) !important; box-shadow: var(--rk-shadow) !important; }
body.storefront .card .card-header { border-radius: var(--rk-radius) var(--rk-radius) 0 0 !important; }
body.storefront .modal-content { border-radius: var(--rk-radius) !important; }

/* Map Bootstrap's primary to the storefront brand so every page shares one voice */
body.storefront .btn-primary { background: var(--rk-brand); border-color: var(--rk-brand); }
body.storefront .btn-primary:hover,
body.storefront .btn-primary:focus,
body.storefront .btn-primary:active { background: var(--rk-brand-dark); border-color: var(--rk-brand-dark); }
body.storefront .btn-outline-primary { color: var(--rk-brand); border-color: var(--rk-brand); }
body.storefront .btn-outline-primary:hover,
body.storefront .btn-outline-primary:focus { background: var(--rk-brand); border-color: var(--rk-brand); color: #fff; }
body.storefront .btn-warning { background: var(--rk-price); border-color: var(--rk-price); color: #fff; }
body.storefront .btn-warning:hover, body.storefront .btn-warning:focus { background: #C24A08; border-color: #C24A08; color: #fff; }
body.storefront .text-primary { color: var(--rk-brand) !important; }
body.storefront .bg-primary { background: var(--rk-brand) !important; }
body.storefront .border-primary { border-color: var(--rk-brand) !important; }
body.storefront .page-link { color: var(--rk-brand); }
body.storefront .page-item.active .page-link { background: var(--rk-brand); border-color: var(--rk-brand); }
body.storefront .form-control:focus,
body.storefront .form-select:focus { border-color: var(--rk-brand); box-shadow: 0 0 0 .2rem rgba(14, 124, 107, .15); }
body.storefront .form-check-input:checked { background-color: var(--rk-brand); border-color: var(--rk-brand); }
body.storefront .badge.bg-info { background: var(--rk-brand) !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  .rk-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .rk-section { padding: 14px; border-radius: 12px; margin-top: 12px; }
  .rk-section-head h2 { font-size: 16.5px; }
  .rk-hero-side { display: none; }
  .rk-hero-slide { padding: 22px; min-height: 178px; }
  .rk-hero-slider, .rk-hero-slide { min-height: 178px; }
  .rk-scroll > .pcard { width: 152px; }
  .rk-cat { width: 78px; }
  .rk-cat .ico { width: 78px; height: 78px; font-size: 27px; border-radius: 20px; }
  .rk-cat .nm { font-size: 12px; }
  .rk-trust { grid-template-columns: 1fr; padding: 12px; }
  /* iOS Safari: keep form fields at >=16px to avoid focus zoom */
  body.storefront input, body.storefront select, body.storefront textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body.storefront * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
