/* Storefront-only spacing/scale tweaks: a little extra side gap and slightly smaller
   overall sizing, layered on top of the template stylesheet rather than editing it (the
   template CSS and pasted markup stay untouched per CLAUDE.md). Loaded only by
   app/(site)/layout.tsx, so app/admin/** is unaffected. */

/* style.min.css sets html{font-size:10px} (the template's intended base) AND a separate,
   higher-specificity :root{font-size:calc(16px + 4*(100vw - 320px)/960)} fluid-typography
   rule elsewhere in the same file. :root is a pseudo-class (specificity 0,1,0), which beats
   the plain `html` type selector (0,0,1) regardless of source order, so the fluid rule was
   silently winning everywhere — growing the whole site's rem scale up to 20px at 1280px
   viewport width instead of the intended ~9-10px. Matching the selector here (also :root)
   ties the specificity, so this later rule wins on source order instead. */
:root {
  font-size: 9.25px;
}

:root {
  --bs-gutter-x: 1.5rem;
}

/* Previously a fixed px max-width per breakpoint band (500/660/880/1060/1220) — flat within
   with zoom in   each band, then a hard jump at the next breakpoint. Two problems: (1) within a band the
   side gap only ever grew as the viewport widened toward the next jump, never shrinking
   back down, and (2) 1200-1399px and >=1400px both use the same 4-per-row product-card
   column (col-xl-3), so that specific jump (1220px container down to 1060px) changed the
   card's width and, since the container lost more width than the viewport did crossing that
   line, made the side gap suddenly bigger — even though the viewport had just gotten
   smaller. Zooming shrinks the effective CSS viewport the same way narrowing the window
   does, so an ordinary browser-zoom nudge could land on either side of that jump.
   One continuous min(94vw, 1280px) formula (no breakpoint gating) replaces the whole table:
   the container tracks 94vw smoothly everywhere below ~1362px viewport — so the gap is
   always a proportional ~3% of the viewport on each side, shrinking and growing continuously
stead of stepping — then flattens at a 1280px cap above that so it doesn't
   keep growing unbounded on very wide monitors. Deliberately wider than the old 1220px cap
   and every one of the old per-band values, per an explicit request to reduce the side
   padding and give cards more of the viewport — this does change today's 1280px/1440px
   render (narrower gap, wider container/cards than before), overriding CLAUDE.md's "Desktop
   >=1280 must not change visually" for this specific measurement on purpose. */
@media (min-width: 576px) {
  .container {
    max-width: min(94vw, 1280px);
  }
}

html body .container-page {
  max-width: 72rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* style.min.css floors .rbt-single-widget (the sidebar filter widgets) at min-width:270px
   between 1200-1599px viewport width, assuming stock Bootstrap's wider container at that
   breakpoint. Our .container override above is narrower there (1060px vs Bootstrap's stock
   1140px), so a 3-of-12 sidebar column (~261px) falls short of that floor and widget content
   (checkbox labels, counts) overflows past the sidebar's right edge. The widgets' actual
   content (short labels + a count) fits comfortably well under 261px, so the floor is just
   dropped for our narrower container rather than widening containers site-wide to fit it. */
@media (min-width: 1200px) and (max-width: 1599px) {
  .rbt-sidebar-widget-wrapper .rbt-single-widget {
    min-width: 0;
  }
}

@media (min-width: 640px) {
  html body .container-page {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Tailwind's preflight (globals.css, kept enabled per CLAUDE.md) forces every raw <svg>
   to display:block. The template's animated icon-buttons (e.g. category-tiles.tsx's
   "View All Categories") assume the browser default (inline) so the icon sits beside the
   button text instead of dropping to its own line below it. */
.animated-icon svg {
  display: inline-block;
  vertical-align: middle;
}

/* Same Preflight rule (this time targeting <img>, not <svg>) breaks the topbar's language
   switcher (header-topbar.tsx): the flag <img class="left-image"> becomes a block box, so it
   drops onto its own line above the "English" text/chevron instead of sitting inline beside
   them. style.min.css's own .left-image rule only sets width/height/margin, not display. */
.left-image {
  display: inline-block;
  vertical-align: middle;
}

/* Topbar right-side links (Store Location / Track Your Order / currency / language,
   header-topbar.tsx): style.min.css has a same-purpose font-size rule
   (.rbt-header-wrapper-one .header-info{font-size:var(--font-size-b3)}), but it's scoped to
   a ".rbt-header-wrapper-one" ancestor class this topbar variant doesn't use, so it never
   matches and these links fall back to the 16px body default — oversized next to the 12px
   ticker text on the topbar's left side. */
.rbt-topbar-section .rbt-header-right {
  font-size: var(--font-size-b3);
}

/* main-bar-search.tsx's category <select>: style.min.css's own dropdown-caret rules
   (.rbt-modern-select .bootstrap-select .dropdown-toggle::after) only fire on the
   button/dropdown markup the bootstrap-select JS plugin generates. We render a plain
   <select> instead (no jQuery plugin, per CLAUDE.md), so it needs its own caret — placed
   over the already-position:absolute .search-by-category container, pointer-events:none
   so clicks still reach the <select> beneath it. */
.search-by-category {
  display: flex;
  align-items: center;
}

.search-by-category .rbt-select-activation {
  padding-left: 20px;
}

.search-by-category-caret {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--color-gray-400);
  pointer-events: none;
}

/* main-bar-search.tsx: this template ships two demo looks for the same markup — the
   "uni-header-swc-one" variant (a bordered select+input box with a separate, gapped round
   button, style.min.css's own default for this modifier) and a plain "rbt-search-with-category"
   pill (border-radius:500px, no gap, button flush against the right edge) used elsewhere in the
   template's own demos. Re-pointed at the pill look here. .border-0 (Bootstrap utility) and
   .rbt-bg-color-primary (template utility) both carry !important, so beating them needs
   matching/higher specificity plus !important of our own, not just source order. */
.rbt-search-with-category.uni-header-swc-one .rbt-inner-search-field {
  gap: 0;
  border: 2px solid var(--color-gray-200) !important;
  border-radius: var(--radius-full);
  overflow: hidden;
  align-items: stretch;
}

.rbt-search-with-category.uni-header-swc-one .rbt-inner-search-field .rbt-search-input-section {
  border: 0;
  border-radius: 0;
}

.rbt-search-with-category.uni-header-swc-one .rbt-inner-search-field .rbt-search-input-section .search-by-category::after {
  display: none;
}

/* .rbt-inner-search-field's own align-items:center (from style.min.css) sizes flex items to
   their content by default, so a plain height:100% here can't resolve against the field's own
   auto (content-driven) height per the CSS percentage-height spec — it silently falls back to
   the button's intrinsic content height (~16px), leaving gaps above/below the blue background.
   align-items:stretch above + height:auto here let the flex algorithm stretch the button to the
   line's cross size instead, so the background fills the pill's full height flush to the edge. */
.rbt-search-with-category.uni-header-swc-one .rbt-inner-search-field .search-btn.rbt-bg-color-primary {
  color: var(--color-white);
  height: auto;
  border-radius: 0;
}

.rbt-search-with-category.uni-header-swc-one .rbt-inner-search-field .search-by-category,
.rbt-search-with-category.uni-header-swc-one .rbt-inner-search-field .rbt-select-activation {
  width: 150px;
}

.search-by-category .rbt-select-activation {
  padding-right: 28px;
}

.search-by-category-caret {
  left: auto;
  right: 12px;
}

/* main-bar.tsx's .logo renders the site name as plain text (t("site.name")) since there's
   no real logo image yet, so it just inherits body copy's font-size. Sized up here to read
   as a wordmark instead of a nav link. */
.logo a {
  font-size: 28px;
  font-weight: 700;
}

/* Blurs the page content behind the megamenu while it's open. nav-menu.tsx's dropdown is
   pure CSS (li.with-rbt-megamenu:hover .rbt-megamenu, no JS state per CLAUDE.md), so this
   stays CSS-only too via :has() rather than adding a hover listener. header and main/footer
   are siblings directly under <body> (app/layout.tsx), so :has() on body is what lets a
   hover deep inside <header> reach the content sitting outside it. */
body:has(.rbt-header .mainmenu > li.with-rbt-megamenu:hover) main,
body:has(.rbt-header .mainmenu > li.with-rbt-megamenu:hover) footer {
  filter: blur(6px);
  transition: filter 0.2s ease;
}

/* Same treatment for the cart side-nav (cart-side-nav.tsx): blurs header/main/footer while
   it's open. Its "side-menu-active" activation class is real style.min.css (not invented
   here) — see .rbt-cart-side-menu.side-menu-active. Unlike the megamenu, the drawer opens on
   click rather than hover, so header is included too (no risk of blurring the trigger you're
   still pointing at). */
body:has(.rbt-cart-side-menu.side-menu-active) header,
body:has(.rbt-cart-side-menu.side-menu-active) main,
body:has(.rbt-cart-side-menu.side-menu-active) footer {
  filter: blur(6px);
  transition: filter 0.2s ease;
}

/* Caps the Shop megamenu at 80% of viewport height instead of growing unbounded with its
   content. Without this, a tall menu (more categories/products than today's seed data) could
   reach the bottom of the screen, leaving no blurred page visible beneath it (see the
   body:has(...) blur rule above) — reading as a full takeover instead of an overlay, and
   making it easy to feel "lost". Scrolls internally if content still exceeds 80vh. */
.rbt-megamenu {
  max-height: 80vh;
  overflow-y: auto;
}

/* nav-menu.tsx's Shop megamenu uses style.min.css's rbt-width-fullscreen modifier
   (left:0/right:0/width:100%/margin:0) to span the full header width edge-to-edge with no
   side gap, and zeroes rbt-megamenu-wrapper's margin-top so it sits flush against the navbar.
   Per an explicit request to give it breathing room instead: insets it 24px from each side
   (width:auto + explicit left/right lets the browser compute the width, rather than fighting
   the 100% from style.min.css) and restores a 12px gap above the wrapper — the same top-margin
   value style.min.css already uses for its non-fullscreen megamenu variant. Selectors match
   style.min.css's own compound selectors exactly (2 classes each, both real ancestor contexts
   it defines this rule under — .rbt-main-navigation for the primary nav-bar.tsx bar, .mainbar-row
   for the sticky-header.tsx clone that reuses the same <NavMenu/>, which has no
   .rbt-main-navigation wrapper of its own) so this wins on source order (site-overrides.css
   loads after it) without needing extra specificity, on both the primary and sticky bars.
   Corners rounded on all four sides now that the wrapper floats below the navbar instead of
   sitting flush under it — style.min.css's own 10px radius value, just no longer bottom-only. */
.rbt-megamenu.rbt-width-fullscreen,
.rbt-main-navigation .rbt-mainmenu-nav .mainmenu li.with-rbt-megamenu .rbt-megamenu.rbt-width-fullscreen,
.mainbar-row .rbt-mainmenu-nav .mainmenu li.with-rbt-megamenu .rbt-megamenu.rbt-width-fullscreen {
  left: 24px;
  right: 24px;
  width: auto;
}

.rbt-megamenu.rbt-width-fullscreen .rbt-megamenu-wrapper,
.rbt-main-navigation .rbt-mainmenu-nav .mainmenu li.with-rbt-megamenu .rbt-megamenu.rbt-width-fullscreen .rbt-megamenu-wrapper,
.mainbar-row .rbt-mainmenu-nav .mainmenu li.with-rbt-megamenu .rbt-megamenu.rbt-width-fullscreen .rbt-megamenu-wrapper {
  margin-top: 12px;
  border-radius: 10px;
  /* style.min.css never gives this wrapper a box-shadow by default (only its unused
     menu-skin-dark variant sets one, to none) — against the page's near-white background the
     floating white panel had no visual edge, so the new side/top gaps didn't read as
     intentional. --shadow-1 is style.min.css's own soft-shadow token, already used elsewhere
     (e.g. the .submenu dropdown) for this exact "floating panel" look. */
  box-shadow: var(--shadow-1);
}

/* footer.tsx's three "quick contact info" blocks (phone / call center hours / email) in the
   footer's first column. style.min.css puts a flat 24px margin-top between each block
   (.rbt-quick-contact-info + .rbt-quick-contact-info) — reads as a dead gap next to the tight
   8px label-to-value spacing within each block. Tightened to 12px for this footer column only. */
.rbt-footer .rbt-quick-contact-info + .rbt-quick-contact-info {
  margin-top: 12px;
}

/* Shop megamenu now gives each category its own column (nav-menu.tsx's megaMenuColumnClass),
   narrower than the template's original 4-wide layout — sized down from the template's
   default b1 (16px) list items so a longer product name doesn't wrap inside the tighter
   column. --font-size-b4/line-height-b4 are style.min.css's own smallest body-text tokens. */
.rbt-megamenu .mega-menu-item li a {
  font-size: var(--font-size-b4);
  line-height: var(--line-height-b4);
}

/* Megamenu brand strip: logos bigger than style.min.css's own nav-brand-list sizing
   (max-height 12-14px, gap 4-32px depending on breakpoint, meant for a persistent header
   row) — !important beats those breakpoint-scoped rules, since this list sits in the
   roomier megamenu instead. gap is on the <ul> itself, not each <li>, since the list is
   left-aligned (justify-content-start in nav-menu.tsx) rather than spread edge to edge. */
.rbt-megamenu .rbt-nav-brand-list {
  gap: 20px !important;
}

/* padding:0 so the 20px gap above is the only space between logos — style.min.css's own
   padding:8px (each side, at >=1600px viewport) would otherwise stack on top of it. */
.rbt-megamenu .rbt-nav-brand-list li a {
  padding: 0 !important;
}

.rbt-megamenu .rbt-nav-brand-list li a img {
  max-height: 40px !important;
}

/* Promo card ("New Aurora Watch"): style.min.css's own default is min-height:140px on
   .mega-top-banner (the actual card box inside .rbt-menu-offer-card) — a modifier class
   exists for a taller card (.min-h-500, 500px/425px responsive) but nothing near 400px, so
   this sets it directly rather than reaching for the wrong preset. Scoped to .rbt-megamenu
   since mega-top-banner is only ever used in this card today. */
.rbt-megamenu .mega-top-banner {
  min-height: 400px;
}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
  .rbt-megamenu .mega-top-banner {
    min-height: 340px;
  }
}

/* "See All Our Products" link: style.min.css's .rbt-btn.rbt-btn-sm default is
   padding:0 32px with a fixed height/line-height:36px (built for a full-size CTA) — shrunk
   here to hug the text with ~5px padding instead, since this is a small in-menu link, with a
   bit more left/right breathing room than top/bottom. */
.rbt-see-all-products-btn.rbt-btn.rbt-btn-sm {
  padding: 7px 14px !important;
  height: auto !important;
  line-height: normal !important;
}

/* Skeleton loading primitives (components/ui/skeleton-box.tsx, skeleton-text.tsx): shimmer
   built from style.min.css's own gray tokens rather than hardcoded greys, so it sits on the
   template's palette. Kept here (not globals.css) so it's storefront-only like every other
   rule in this file — the fallback values after each var() keep it inert-but-visible if this
   class is ever reached from outside a page that loads the template stylesheet. */
.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-gray-150, #f6f6f6);
}

.skeleton-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, transparent, var(--color-gray-200, #e6e6e6), transparent);
  animation: skeleton-shimmer-sweep 1.6s ease-in-out infinite;
}

@keyframes skeleton-shimmer-sweep {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-shimmer::after {
    content: none;
    animation: none;
  }
}

/* Tailwind's utility scanner sees the literal class name "collapse" in the Bootstrap-collapse
   widgets we rebuild with useState (sidebar-filter.tsx, per CLAUDE.md's no-Bootstrap-JS rule)
   and generates its own `.collapse{visibility:collapse}` (Tailwind's table-row-hiding
   utility) — same name, unrelated purpose. That stylesheet loads before bootstrap.min.css/
   style.min.css, and neither of those sets `visibility` on `.collapse`/`.collapse.show`, so
   Tailwind's value silently wins and the widget content renders invisible (but still takes up
   layout space). Resets it to the default so `.collapse`/`.collapse.show` go back to only
   controlling `display`, as the template intends. */
.collapse {
  visibility: visible;
}

/* Product cards (product-card.tsx, product-list-card.tsx, product-alternative-item.tsx,
   order-confirmation.tsx): style.min.css's .rbt-card-title has no line-clamp/truncation of
   its own, so a long product name just wraps to a 2nd line, growing that card taller than
   its siblings in the row. Scoped to the .rbt-card .rbt-card-body ancestor (matching the
   template's own selector pattern for this class) so it only hits card-grid titles, not the
   unrelated product-detail.tsx page heading, which also reuses .rbt-card-title but sits
   outside .rbt-card-body and should still wrap normally. text-overflow:ellipsis needs the
   anchor to be a block box (its default is inline), since the h2 wrapping it doesn't get
   its own overflow/white-space rules — only the innermost element that's actually
   width-constrained can truncate. */
.rbt-card .rbt-card-body .rbt-card-title a {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Account sidebar (app/(site)/account/layout.tsx): style.min.css never gives
   .rbt-sidebar-nav-list's a/button rows an explicit width, so plain-content rows (no badge)
   were sizing to their own icon+label content instead of filling the sidebar — only the
   active row (which gets a background per .active) made its real width visible. Forces every
   row to the same full-width box regardless of active state or content length. */
.rbt-sidebar-nav-list a,
.rbt-sidebar-nav-list button {
  width: 100%;
}

/* Category tiles (category-tiles.tsx's .rbt-cat-box-7 grid, quick-link.tsx's .rbt-cat-box-1
   row): same problem as the product-card title above — style.min.css never gives .title or
   .quick-link-list li any truncation, so a long category or best-seller name wraps to a 2nd
   line and grows that one tile taller than its row siblings (which is what actually changes
   a tile's size across zoom levels/viewport widths — not the tile itself resizing, but its
   text reflowing). Both cat-box-7's h2.title and cat-box-1's p.title share the plain class
   name "title", so one rule scoped to the .rbt-cat-box ancestor (real class, template's own
   convention) covers both; unlike the card-title fix, no child `a` selector/display:block is
   needed here since .title itself is already the block-level element carrying the text (h2
   or p), not an inline anchor wrapping around it. */
.rbt-cat-box .content .title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rbt-cat-box .content .quick-link-list li a {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Product card's "Free shipping" / "7 Days Return Plicy" ticker (product-card-text-swiper.tsx):
   style.min.css fixes both the swiper slide and its .rbt-text-group at height:24px (16px
   below 480px) with overflow:hidden, but never sets white-space — so once the card narrows
   enough that icon+text don't fit on one line, the wrapped 2nd line just gets clipped by that
   fixed-height overflow:hidden box instead of the box growing to fit it. Forcing nowrap here
   keeps it on one line (matching the fixed-height box style.min.css already committed to);
   overflow/ellipsis stay as a backstop for any width narrower than the text itself. */
.rbt-product-card .rbt-card-rating .rbt-text-group {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* The nowrap fix above only stops "Free shipping" itself from wrapping internally — it was
   still dropping to a 2nd line below the star rating because the row it sits in
   (.rbt-card-rating: stars, "(0)", then the ticker) is the thing actually wrapping.
   style.min.css sets that row to flex-wrap:wrap at max-width:479px AND, seemingly
   unintentionally, at min-width:1200px and max-width:1399px too — a viewport band zooming
   in easily lands you in. Forcing nowrap keeps the ticker beside the stars at every width;
   .rbt-text-group is still a shrinkable flex child with its own overflow:hidden/ellipsis
   (rule above), so on genuinely tight widths it truncates instead of pushing the row wider
   than the card. No media query here, so this wins by source order over both of style.min.css's
   same-specificity flex-wrap rules (site-overrides.css loads after it). */
.rbt-card .rbt-card-body .rbt-card-rating {
  flex-wrap: nowrap;
}

/* /shop and /category/[slug] grids only (shop-listing.tsx and category-listing.tsx's shared
   .shop-product-grid wrapper class — not product-card.tsx itself, which is also rendered on
   home, /deals, search, wishlist, compare, none of which carry this wrapper). Caps these two
   pages at 3 cards per row instead of the card's own default 4-per-row at >=1200px
   (col-xl-3/col-xxl-3, both width:25%) by matching col-lg-4's real 33.33% width — same value
   bootstrap.min.css already uses for col-lg-4, just extended up through the two wider
   breakpoints. Each rule stays inside the same min-width its bootstrap.min.css counterpart
   uses so it doesn't also affect col-md-6/col-sm-6/col-6 below 1200px, where 3-or-fewer per
   row already holds without any override. */
@media (min-width: 1200px) {
  .shop-product-grid .col-xl-3 {
    width: 33.33333333%;
  }
}

@media (min-width: 1400px) {
  .shop-product-grid .col-xxl-3 {
    width: 33.33333333%;
  }
}

/* components/shop/quick-link.tsx's category circles (.rbt-cat-box-1-rounded is the
   style.min.css modifier that makes .rbt-image-portion a circle via width/height:100%,
   border-radius:full). ".inner" is display:grid with no explicit column width, so that 100%
   resolves against the grid track — which is sized to the widest cell in the column, i.e. the
   category name text below the image, not the image itself. A long name (e.g. "Air
   Conditioners") stretches the circle into an oval. Pinning the wrapper to the thumbnail's
   own fixed 110x110 (quick-link.tsx's THUMBNAIL_WIDTH/HEIGHT) keeps it a true circle
   regardless of sibling text width. Selector matches style.min.css's own
   .rbt-cat-box.rbt-cat-box-1.rbt-cat-box-1-rounded .rbt-image-portion specificity exactly
   (4 classes) — a shorter selector here loses to that rule's higher specificity even though
   this file loads after it.
   The grid column is capped at 110px but may shrink with its Bootstrap column (col-3 is ~85px
   on phones), and the circle fills that column with aspect-ratio keeping it round — a fixed
   110x110 overflowed the column and overlapped its neighbours on narrow screens. */
.rbt-cat-box.rbt-cat-box-1.rbt-cat-box-1-rounded .inner {
  grid-template-columns: minmax(0, 110px);
}

.rbt-cat-box.rbt-cat-box-1.rbt-cat-box-1-rounded .rbt-image-portion {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: auto;
}

/* Selected-category ring: quick-link.tsx adds is-active to the tile matching the current
   /category/[slug] page, or any category checked in the /shop sidebar filter. Ring sits
   outside the circle (outline, not border) so it doesn't eat into the 110x110 image box. */
.rbt-cat-box.rbt-cat-box-1.rbt-cat-box-1-rounded.is-active .rbt-image-portion {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Below 992px the quick-link row is style.min.css's horizontal scroller (.rbt-tablet-row /
   .rbt-mobile-row: overflow-x:auto, overflow-y:hidden), which clips the ring above's 6px
   (3px offset + 3px outline) off the top of the circle. Padding inside the scroller gives
   the ring room. Scoped via .pt--0 to quick-link.tsx (see the padding-top rule below), not
   category-tiles.tsx's rbt-mobile-row. */
@media (max-width: 991px) {
  .rbt-catagories-area.pt--0 .rbt-tablet-row,
  .rbt-catagories-area.pt--0 .rbt-mobile-row {
    padding-top: 8px;
  }
}

/* quick-link.tsx's own wrapper sets pt--0 (padding-top:0!important, active at >=992px — its
   pt_sm--16/pt_md--16 responsive classes already cover the gap below that) assuming whatever
   precedes it (PromoBanner on /shop, CategoryBanner on /category/[slug]) supplies its own
   bottom spacing. Neither does, so the category row sits flush against the banner above it
   with zero gap. .pt--0 alone is too generic to touch (it's also the base class other
   sections reset to 0 before their own responsive override) — pairing it with
   rbt-catagories-area scopes this to quick-link.tsx specifically, not
   components/home/category-tiles.tsx's unrelated rbt-catagories-area section (which already
   has its own rbt-section-gap2 spacing). Applied at every width: the pt_sm--16/pt_md--16
   16px left the circles reading as touching the banner on phones/tablets. */
.rbt-catagories-area.pt--0 {
  padding-top: 32px !important;
}

/* Product tabs (product-tabs.tsx: Description/Specifications/Reviews/Questions & Answers).
   style.min.css's own base reset sets button,input,select,textarea{max-width:100%}. These
   tab buttons use negative side margins (margin:0 calc(-.5 * var(--shape-width))) to create
   the overlapping folder-tab curve effect, which shrinks the box the browser resolves that
   100% against — so on narrow viewports the button gets clamped narrower than its own label
   needs, and the nowrap text spills into the padding strip where the decorative curve
   (painted after the text, so on top) gets drawn, visually chopping the label off (e.g.
   "Description" rendered as "Descrip"). The curve's own sizing (padding, negative margin)
   is untouched, so the folder-tab look is unaffected — only the artificial cap is lifted. */
.rbt-fshape-tab .nav-tabs .nav-link {
  max-width: none;
}

/* Checkout address-form.tsx's city/area <select>s vs. its text <input>s, both
   .form-control.form-control-lg: style.min.css gives text/tel/etc. inputs a fixed
   font-size:15px via a per-type attribute selector (input[type="text"], ...), specificity
   0,1,1 — high enough to beat .form-control-lg's own font-size:1.25rem (0,1,0). Plain
   `select` has no such attribute-selector escape hatch, so .form-control-lg's rem value wins
   there instead, rendering far smaller once combined with this site's 9.25px root font-size
   above. select.form-control-lg matches the input rule's 0,1,1 specificity and sets the same
   fixed 15px, so city/area render the same size as every other field in the form. */
select.form-control-lg {
  font-size: 15px;
}

/* Checkout step footer's Back/Continue buttons (checkout-flow.tsx's .rbt-btn-group): the
   template never defines a bare .rbt-btn-group rule (its only real rule is scoped to
   .rbt-cookies .rbt-content, unrelated here) — style.min.css's rbt-gap--N step utilities only
   go in multiples of 4 (8, 12, ...), none landing on the requested 10px, so this is a scoped
   rule instead of stretching an existing utility. .rbt-checkout-content-inner scopes it to
   checkout's own button row, leaving cart-side-nav.tsx's unrelated .rbt-btn-group (stacked
   d-block buttons) untouched. */
.rbt-checkout-content-inner .rbt-btn-group {
  display: flex;
  gap: 10px;
}

/* Megamenu category column headings (nav-menu.tsx: <p class="rbt-short-title h5"> wrapping the
   category Link). Category names come from the DB, so their length is unbounded — a long one
   wrapped onto a second line, which pushed that column's product list down and knocked the
   whole row of columns out of alignment with each other. The template's own .rbt-short-title
   rules set only spacing/border/colour, never a wrap or overflow behaviour, so nothing in
   style.min.css is being overridden here. Scoped to .rbt-megamenu because .rbt-short-title is
   reused outside the menu, where wrapping is correct. The heading is a block <p> and its <a>
   stays inline (no template rule makes megamenu title links display:block), so clamping and
   ellipsizing on the <p> truncates the link text itself. */
.rbt-megamenu .rbt-short-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Megamenu promo card's "View Details" button (nav-menu.tsx): its label sat visibly left of
   centre. Cause is a missing child combinator in the template's own nav CSS —

     .rbt-header-middle.rbt-bg-color-primary .rbt-mainmenu-nav .mainmenu>li:first-child a
       {padding-left:6px}

   is a DESCENDANT selector on `a`, where the matching last-child rule beside it correctly uses
   `>a`. The megamenu hangs off the first <li> in .mainmenu, so that rule reaches every link
   inside the open megamenu, not just the top-level "Shop" link it was written for. At (0,5,1)
   it outranks .rbt-btn.rbt-btn-sm's own padding:0 32px on the left side only, leaving the
   button padded 6px left / 32px right — hence the off-centre text.
   Restoring both sides to the template's own 32px re-centres it. !important rather than an
   even longer selector because the same nav is rendered again by the sticky header clone,
   which sits outside .rbt-header-middle, and one rule should cover both. Only the button is
   corrected: the 6px also lands on the category headings and product links, but it's
   invisible there and unpicking it would shift the whole menu's text 6px. The <768px/<479px
   .rbt-btn-sm padding steps are irrelevant here — nav-bar.tsx is d-none d-xl-block, so the
   megamenu only ever renders at >=1200px. */
.rbt-megamenu a.rbt-btn {
  padding-left: 32px !important;
  padding-right: 32px !important;
}

/* shadcn Sheet drawers (filter drawer, mobile nav) render at z-index 50, below the template's
   .rbt-header (z-index 99), so the header painted over the drawer's top. Lift both the overlay
   and the panel above it on storefront pages only. */
[data-slot="sheet-overlay"],
[data-slot="sheet-content"] {
  z-index: 100;
}

/* Homepage brand tiles: the logo is a non-fill next/image, so it sits in .brand-image's
   flex centering. Size it to the same box the template gives the tile (full width x 60px,
   and style.min.css's 50% max-width x 38px under 480px). */
.rbt-brand.style-one .brand-image img {
  width: 100%;
  height: 60px;
  object-fit: contain;
}

@media only screen and (max-width: 479px) {
  .rbt-brand.style-one .brand-image img {
    height: 38px;
  }
}

/* Product card price row (product-card.tsx): style.min.css switches .pricing-part to
   flex-wrap:wrap under 480px and at 1200-1399px, so a long price ("From Rs 1,234,567")
   pushes the "N in stock" badge onto its own line. Keep it on the price's line instead: the
   price never shrinks, and the badge takes whatever width is left and truncates with an
   ellipsis. The badge is inline-flex in the template, and text-overflow only applies to a
   block container's own text, so it's switched to block here. Scoped with :has() to rows
   carrying the stock badge, so other .rbt-product-card price rows (list card, order
   confirmation, alternatives) keep the template's wrapping. */
.rbt-product-card .rbt-card-body .pricing-part:has(> .rbt-badge) {
  flex-wrap: nowrap;
}

.rbt-product-card .rbt-card-body .pricing-part:has(> .rbt-badge) .price-text {
  flex-shrink: 0;
  white-space: nowrap;
}

.rbt-product-card .rbt-card-body .pricing-part:has(> .rbt-badge) .rbt-badge {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
