/* ============================================
.site-nav .container {
  max-width: 100%;
  padding: 0 1.5rem;
}

   RARE LEAF & BRIAR — Main Stylesheet
   Premium Pipe, Tobacco & Cigar Marketplace
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  --mahogany:     #3D1C02;
  --mahogany-mid: #5C2E04;
  --heading-gray: #3A3A3A;
  --heading-gray-mid: #5C5C5C;
  --panel-gray: #D6D6D6;
  --panel-text: #3A3A3A;
  --panel-text-dim: #6B6B6B;
  --gold: #A63A2E;
  --gold-light: #D97362;
  --cream:        #ddd8d2;
  --cream-dark:   #d0cbc4;
  --charcoal:     #2C1A0E;
  --warm-gray:    #7A6658;
  --mid-gray:     #B0A090;
  --light-gray:   #D8CFC4;
  --white:        #FFFDF9;
  --red:          #B33A3A;
  --green:        #3A7D44;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:  0 1px 3px rgba(61,28,2,0.12);
  --shadow-md:  0 4px 16px rgba(61,28,2,0.15);
  --shadow-lg:  0 8px 32px rgba(61,28,2,0.20);
  --radius:     6px;
  --radius-lg:  12px;
  --transition: 0.22s ease;
  --max-width:  1240px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Full-screen background photo — fixed pseudo-element sized to the viewport
   (not the page's full scroll height) so the image is never stretched to
   cover a tall page; it stays correctly cropped and in proportion. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(240,232,218,0.22),rgba(240,232,218,0.22)),
              url('humidor-bg.jpg') center/cover no-repeat;
}
body.auth-page::before {
  background: linear-gradient(rgba(30,10,0,0.5),rgba(30,10,0,0.5)),
              url('humidor-bg.jpg') center/cover no-repeat;
}

img { display: block; max-width: 100%; }
a  { color: var(--heading-gray); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { font-family: var(--font-sans); cursor: pointer; }
input, select, textarea { font-family: var(--font-sans); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--heading-gray);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 0.75rem; color: var(--charcoal); }

.section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--heading-gray);
  margin-bottom: 0.35rem;
}
.section-subtitle {
  color: var(--warm-gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--light-gray);
}
.view-all-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading-gray);
  background: transparent;
  border: 2px solid var(--mahogany);
  border-radius: 4px;
  padding: 0.35rem 0.85rem;
  display: inline-block;
  transition: background var(--transition), color var(--transition);
}
.view-all-link:hover { background: var(--mahogany); color: var(--white); }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 3rem 0 4rem; }

/* White content box — wood background shows around it */
.section > .container {
  background: rgba(255, 253, 249, 0.96);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 48px rgba(30,10,0,0.38);
}
.section-alt > .container {
  background: rgba(240, 235, 226, 0.96);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--mahogany); color: var(--white); border-color: var(--mahogany); }
.btn-primary:hover { background: var(--mahogany-mid); border-color: var(--mahogany-mid); color: var(--white); }
.btn-gold { background: #1a1a1a; color: #FFFFFF; border-color: #1a1a1a; }
.btn-gold:hover { background: #333333; border-color: #333333; color: #FFFFFF; }
.btn-outline { background: transparent; color: var(--heading-gray); border-color: var(--mahogany); }
.btn-outline:hover { background: var(--mahogany); color: var(--white); }
.btn-outline-gold { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.btn-outline-gold:hover { background: #FFFFFF; color: #1a1a1a; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { padding: 0.55rem; border-radius: 50%; }

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14,8,1,0.97);
  box-shadow: inset 0 2px 0 0 rgba(201,168,76,0.22), 0 1px 40px 0 rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.nav-links {
  position: relative;
}
.nav-links::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 4px;
  background: #000;
  z-index: 2;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 64px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.nav-logo { display: flex; align-items: center; height: 100%; gap: 0; }
/* Plain large white wordmark, no crest icon. Sized so "Rare Leaf & Briar"
   spans roughly 3in (288px) wide on desktop, matching the treatment in
   main-v17.css for the auction-family pages. */
.logo-text {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  color: #fdf9f0;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: block;
  width: auto;
  height: auto;
  background: none;
  text-indent: 0;
  overflow: visible;
  margin-top: 0;
}
.nav-logo .logo-main {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(0,0,0,0.35);
}
.nav-logo .logo-sub {
  font-size: 0.62rem;
  color: rgba(61,28,2,0.65);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 1px;
}
.nav-logo:hover { opacity: 0.9; }

/* Plain text nav with a thin vertical divider between items, replacing
   the tan pill-button treatment -- reads as a cleaner, more upscale site
   nav instead of a row of buttons. Markup is <ul class="nav-links"><li>
   for each item, so the divider is a border on every li but the first. */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 0.25rem;
  flex-wrap: nowrap;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links li:not(:first-child) {
  border-left: 2px solid rgba(201,168,76,0.55);
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(240,232,213,0.85) !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  border-radius: 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
  box-shadow: none;
  transform: none;
}
.nav-links a.active {
  color: #fff !important;
  background: rgba(255,255,255,0.14);
}
.nav-links .nav-auction {
  background: var(--gold);
  color: var(--charcoal) !important;
  font-weight: 700;
  padding: 0.42rem 1.1rem !important;
  border-radius: 999px;
  margin: 0 0.15rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links .nav-auction:hover { background: var(--mahogany); color: #fff !important; }

/* Sell nav item made its own red call-to-action, matching the auction SPA's main-v17.css treatment, without affecting the shared .nav-auction gold styling still used by Auctions. Matches by href ending in "#/sell". */
.nav-links a.nav-auction[href$="#/sell"] { background: #c0392b !important; border-color: #922b21 !important; color: #ffffff !important; }
.nav-links a.nav-auction[href$="#/sell"]:hover { background: #d64535 !important; border-color: #a83a2a !important; color: #ffffff !important; }

/* Auctions dropdown: Sell / Browse Auctions revealed from the Auctions nav
   item, matching the auction SPA's own Auctions dropdown treatment. */
.nav-links li.nav-dropdown { position: relative; }
.nav-links .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 10px 0 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  min-width: 180px;
  z-index: 200;
}
.nav-links li.nav-dropdown:hover .nav-dropdown-menu,
.nav-links li.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-links .nav-dropdown-menu li { display: block; margin: 0; }
.nav-links .nav-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  color: var(--charcoal, #2b2b2b);
  background: none !important;
}
.nav-links .nav-dropdown-menu a:hover { background: rgba(0,0,0,0.06) !important; }
.nav-links .nav-dropdown-menu a[href$="#/sell"] { color: #c0392b !important; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-icon-btn {
  background: none;
  border: none;
  color: rgba(240,232,213,0.9);
  font-size: 1.15rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.nav-icon-btn:hover {
  color: #fff;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(61,28,2,0.12);
}
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.6rem;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid #fffefb;
  box-shadow: 0 1px 3px rgba(61,28,2,0.3);
  display: flex; align-items: center; justify-content: center;
}
.nav-mobile-toggle {
  color: rgba(240,232,213,0.95);
  /* Always visible now (not just on narrow screens) -- it opens the full
     site menu (shop pages + the separate auction system), not just the
     old mobile dropdown of the same handful of links already in .nav-links. */
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.2rem;
  padding: 0.42rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.nav-mobile-toggle:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* --- Top Bar --- */
.top-bar {
  background: linear-gradient(180deg, #f0e2c4 0%, #e2ceA0 100%);
  padding: 0.45rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: #3a2410;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(61,28,2,0.15);
}
.top-bar a { color: var(--heading-gray); font-weight: 700; }
.top-bar a:hover { color: var(--heading-gray-mid); }

/* --- Hero --- */
.hero {
  position: relative;
  background: none;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center center / cover no-repeat;
  filter: brightness(1.4);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,6,2,0.14) 0%, rgba(20,10,3,0.08) 60%, rgba(30,15,4,0.04) 100%),
    linear-gradient(to right, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.04) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero { --gold: #ffffff; --gold-light: #f5f5f5; }
.hero-content { position: relative; z-index: 2; max-width: 660px; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold); font-style: normal; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.hero p { color: rgba(245,240,232,0.8); font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; background: url('images/image.jpg') center/cover no-repeat; padding: 1.25rem; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
.hero-actions .btn { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; min-height: 60px; border: 4px solid #000000 !important; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.25);
}
.hero-stat-num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold); display: block; line-height: 1; }
.hero-stat-label { font-size: 0.75rem; color: var(--mid-gray); letter-spacing: 0.1em; text-transform: uppercase; }

/* --- Category Cards --- */
.category-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.category-card {
  background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-lg);
  padding: 1.75rem 1rem; text-align: center; cursor: pointer; transition: all var(--transition); display: block;
  flex: 0 1 180px;
}
.category-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.category-icon { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.category-card h4 { font-family: var(--font-serif); color: var(--heading-gray); font-size: 1rem; margin-bottom: 0.2rem; }
.category-card span { font-size: 0.78rem; color: var(--warm-gray); }

/* --- Product Cards --- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  position: relative;
  background: var(--white); border: 1px solid #c8b89a; border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(30,10,0,0.10);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-light); }
.product-card-image { position: relative; height: 210px; overflow: hidden; background: var(--cream-dark); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  padding: 0.25rem 0.6rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-new    { background: var(--green);    color: var(--white); }
.badge-sale   { background: var(--red);      color: var(--white); }
.badge-estate { background: var(--gold);     color: var(--heading-gray); }
.badge-featured { background: var(--charcoal); color: var(--gold); }
.badge-consign  { background: var(--mahogany); color: var(--white); }
.consign-ribbon {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: #c0392b;
  color: #ffffff;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 2;
}
.product-wish {
  position: absolute; top: 0.6rem; right: 0.6rem;
  background: var(--white); border: none; border-radius: 50%;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--mid-gray); box-shadow: var(--shadow-sm); cursor: pointer; transition: all var(--transition);
}
.product-wish:hover { color: var(--red); transform: scale(1.15); }
.product-card-body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-maker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a6a1a; margin-bottom: 0.25rem; }
.product-title { font-family: var(--font-serif); font-size: 1rem; color: #1a0800; margin-bottom: 0.4rem; line-height: 1.3; font-weight: 600; }
.product-meta { font-size: 0.8rem; color: #4a3020; margin-bottom: 0.75rem; flex: 1; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-size: 1.2rem; font-weight: 700; color: #1a0800; font-family: var(--font-serif); }
.product-price-original { font-size: 0.85rem; color: var(--mid-gray); text-decoration: line-through; margin-left: 0.4rem; }
.product-add-btn {
  background: var(--mahogany); color: var(--white); border: none; border-radius: var(--radius);
  padding: 0.4rem 0.8rem; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: background var(--transition);
}
.product-add-btn:hover { background: var(--gold); color: var(--heading-gray); }

/* --- Auction Cards --- */
.auction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.auction-card {
  background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; position: relative;
}
.auction-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-light); }
.auction-card-image { height: 210px; overflow: hidden; background: var(--cream-dark); position: relative; }
.auction-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.auction-card:hover .auction-card-image img { transform: scale(1.05); }
.auction-timer-badge {
  position: absolute; bottom: 0.6rem; left: 0.6rem;
  background: rgba(26,15,0,0.88); color: var(--gold); font-size: 0.78rem; font-weight: 700;
  padding: 0.3rem 0.7rem; border-radius: 20px; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 0.35rem; backdrop-filter: blur(4px);
}
.timer-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
.auction-card-body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.auction-seller { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 0.25rem; }
.auction-title { font-family: var(--font-serif); font-size: 1rem; color: var(--heading-gray); margin-bottom: 0.5rem; }
.auction-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--cream-dark); }
.auction-price-item label { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mid-gray); margin-bottom: 0.1rem; }
.auction-price-item .price-val { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--heading-gray); }
.auction-price-item .price-val.current { color: var(--green); }
.auction-price-item .price-val.buynow { color: var(--gold); }
.auction-bid-count { font-size: 0.78rem; color: var(--warm-gray); margin-bottom: 0.75rem; }
.auction-card-actions { display: flex; gap: 0.5rem; margin-top: auto; }

/* --- Page Header Banner --- */
.page-banner {
  background: transparent;
  padding: 0.75rem 0 0.6rem; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(30, 10, 0, 0.55);
}
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.1rem; }
.page-banner p { color: var(--mid-gray); font-size: 0.82rem; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 700; color: var(--mid-gray); margin-bottom: 0.5rem; }
.breadcrumb a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gold); opacity: 0.7; }

/* --- Shop Layout --- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; }
.sidebar-title { font-family: var(--font-serif); font-size: 1rem; color: var(--heading-gray); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--light-gray); }
.filter-list li { display: flex; align-items: center; justify-content: space-between; padding: 0.3rem 0; }
.filter-list label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; cursor: pointer; color: var(--charcoal); }
.filter-list input[type="checkbox"] { accent-color: var(--mahogany); }
.filter-count { font-size: 0.75rem; color: var(--mid-gray); background: var(--cream-dark); padding: 0.1rem 0.45rem; border-radius: 20px; }
.price-range-inputs { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.price-range-inputs input[type="number"] { width: 100%; padding: 0.4rem 0.5rem; border: 1px solid var(--light-gray); border-radius: var(--radius); font-size: 0.85rem; box-sizing: border-box; }
.price-range-inputs .price-range-label { font-size: 0.72rem; color: var(--mid-gray); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* --- Shop Toolbar --- */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.results-count { font-size: 0.88rem; color: var(--warm-gray); }
.shop-toolbar-right { display: flex; align-items: center; gap: 0.75rem; }
.sort-select { padding: 0.45rem 0.75rem; border: 1px solid var(--light-gray); border-radius: var(--radius); font-size: 0.85rem; background: var(--white); color: var(--charcoal); cursor: pointer; }
.view-toggle { display: flex; gap: 0.2rem; }
.view-btn { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 0.45rem 0.6rem; font-size: 0.85rem; color: var(--warm-gray); cursor: pointer; transition: all var(--transition); }
.view-btn.active { background: var(--mahogany); color: var(--white); border-color: var(--mahogany); }

/* --- Listing (Single Product) --- */
.listing-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start; }
.gallery-main { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-dark); position: relative; margin-bottom: 0.75rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.4rem; }
.gallery-thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); background: var(--cream-dark); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb:hover { border-color: var(--mahogany); }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(26,15,0,0.6); color: var(--white); border: none;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); z-index: 5; backdrop-filter: blur(4px);
}
.gallery-arrow:hover { background: var(--mahogany); }
.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }
.gallery-counter { position: absolute; bottom: 0.6rem; right: 0.75rem; background: rgba(26,15,0,0.65); color: var(--white); font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 20px; backdrop-filter: blur(4px); }

.listing-panel { position: sticky; top: 80px; }
.listing-maker-link { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #000000; }
.listing-title { font-family: var(--font-serif); font-size: 1.9rem; color: var(--heading-gray); margin: 0.4rem 0 0.75rem; line-height: 1.2; }
.listing-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.stars { color: var(--gold); font-size: 0.9rem; }
.rating-count { font-size: 0.82rem; color: var(--warm-gray); }
.listing-price { font-family: var(--font-serif); font-size: 2.2rem; color: var(--heading-gray); font-weight: 600; margin-bottom: 1.25rem; }
.listing-price .original-price { font-size: 1.2rem; color: var(--mid-gray); text-decoration: line-through; margin-left: 0.6rem; }
.listing-price .sale-label { font-size: 0.8rem; font-weight: 700; background: var(--red); color: var(--white); padding: 0.15rem 0.5rem; border-radius: 4px; margin-left: 0.5rem; vertical-align: middle; }
.listing-specs { background: var(--cream); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 0.85rem 1rem; margin-bottom: 1.25rem; }
.spec-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; padding: 0.3rem 0; border-bottom: 1px solid var(--light-gray); }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-key { color: var(--warm-gray); font-weight: 700; }
.spec-row .spec-val { color: var(--charcoal); text-align: right; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--light-gray); border-radius: var(--radius); overflow: hidden; }
.qty-btn { background: var(--cream); border: none; width: 36px; height: 36px; font-size: 1rem; cursor: pointer; color: var(--heading-gray); transition: background var(--transition); }
.qty-btn:hover { background: var(--light-gray); }
.qty-input { width: 44px; border: none; text-align: center; font-size: 0.9rem; color: var(--charcoal); padding: 0.3rem; }
.listing-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.listing-add-btn { font-size: 1rem; padding: 0.85rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--light-gray); }
.trust-badge { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--warm-gray); }
.trust-badge i { color: var(--gold); }

.product-tabs { margin-top: 3rem; }
.tab-nav { display: flex; border-bottom: 2px solid var(--light-gray); margin-bottom: 2rem; }
.tab-btn { padding: 0.7rem 1.5rem; background: none; border: none; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--warm-gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.tab-btn.active, .tab-btn:hover { color: var(--heading-gray); border-bottom-color: var(--mahogany); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* --- Auction Detail --- */
.auction-hero-banner { background: linear-gradient(135deg, #1A0F00 0%, var(--mahogany) 50%, #2C1A0E 100%); padding: 3rem 0 2.5rem; position: relative; overflow: hidden; }
.auction-hero-banner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23B8732E' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E"); }
.auction-banner-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.auction-banner-text h1 { color: var(--white); margin-bottom: 0.5rem; }
.auction-banner-text h1 span { color: var(--gold); }
.auction-banner-text p { color: var(--mid-gray); font-size: 0.95rem; margin: 0; }
.live-counter-box { background: rgba(0,0,0,0.35); border: 1px solid rgba(0,0,0,0.3); border-radius: var(--radius-lg); padding: 1.25rem 1.75rem; text-align: center; backdrop-filter: blur(8px); flex-shrink: 0; }
.live-counter-box .live-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.4rem; justify-content: center; }
.live-counter-box .live-num { font-family: var(--font-serif); font-size: 2rem; color: var(--white); line-height: 1; }

.auction-detail-panel { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: 80px; }
.auction-countdown-large { background: var(--charcoal); border-radius: var(--radius); padding: 1rem; text-align: center; margin-bottom: 1.25rem; }
.countdown-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 0.5rem; }
.countdown-timer { display: flex; justify-content: center; gap: 0.75rem; align-items: center; }
.countdown-unit { text-align: center; }
.countdown-num { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); line-height: 1; display: block; min-width: 2.5rem; }
.countdown-unit-label { font-size: 0.62rem; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.1em; }
.countdown-sep { color: var(--gold); font-size: 1.5rem; margin-top: -0.4rem; }

.auction-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.25rem; }
.price-box { background: var(--cream); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 0.75rem; text-align: center; }
.price-box .price-box-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mid-gray); display: block; margin-bottom: 0.2rem; }
.price-box .price-box-val { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--heading-gray); }
.price-box.price-box-current { border-color: var(--green); background: rgba(58,125,68,0.05); }
.price-box.price-box-current .price-box-val { color: var(--green); }
.price-box.price-box-buynow { border-color: var(--gold); background: rgba(0,0,0,0.05); }
.price-box.price-box-buynow .price-box-val { color: var(--gold); }
.price-box.price-box-reserve { grid-column: span 2; }

.bid-form-section { margin-bottom: 1.25rem; }
.bid-input-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.bid-input { flex: 1; padding: 0.65rem 1rem; border: 2px solid var(--light-gray); border-radius: var(--radius); font-size: 1rem; font-weight: 700; color: var(--heading-gray); transition: border-color var(--transition); }
.bid-input:focus { outline: none; border-color: var(--mahogany); }
.bid-min-note { font-size: 0.78rem; color: var(--warm-gray); }
.bid-history { max-height: 220px; overflow-y: auto; border: 1px solid var(--light-gray); border-radius: var(--radius); }
.bid-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--cream-dark); font-size: 0.82rem; }
.bid-row:last-child { border-bottom: none; }
.bid-row .bid-user { color: var(--charcoal); font-weight: 700; }
.bid-row .bid-amount { color: var(--green); font-weight: 700; font-family: var(--font-serif); }
.bid-row .bid-time { color: var(--mid-gray); }
.bid-row.top-bid { background: rgba(0,0,0,0.08); }

/* --- Payment --- */
.payment-strip { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.pay-badge { border: 1px solid var(--light-gray); border-radius: 4px; padding: 0.4rem 0.7rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.35rem; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.pay-badge.pb-visa { background: #1434CB; color: #ffffff; border-color: #1434CB; }
.pay-badge.pb-mc { background: #000000; color: #ffffff; border-color: #000000; }
.pay-badge.pb-amex { background: #006FCF; color: #ffffff; border-color: #006FCF; }
.pay-badge.pb-applepay { background: #000000; color: #ffffff; border-color: #000000; }
.pay-badge.pb-googlepay { background: #ffffff; color: #3c4043; border-color: #dadce0; }

/* --- Pagination --- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--light-gray); border-radius: var(--radius); font-size: 0.85rem; background: var(--white); color: var(--charcoal); cursor: pointer; transition: all var(--transition); }
.page-btn:hover { border-color: var(--mahogany); color: var(--heading-gray); }
.page-btn.active { background: var(--mahogany); color: var(--white); border-color: var(--mahogany); }
.page-btn.disabled { opacity: 1; color: #6b5a48; border-color: #d9d2c6; cursor: default; }

/* --- Footer --- */
.site-footer { background: var(--panel-gray); color: var(--panel-text-dim); padding: 0.1rem 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0.85rem; margin-bottom: 0.05rem; }
.footer-brand .logo-main { font-family: var(--font-serif); font-size: 1.5rem; color: var(--charcoal); }
.footer-brand .logo-sub { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm-gray); }
.footer-tagline { font-size: 0.72rem; line-height: 1.2; margin: 0.15rem 0 0.2rem; color: var(--panel-text-dim); }
.footer-socials { display: flex; gap: 0.4rem; }
.social-btn { width: 28px; height: 28px; border: 1px solid rgba(0,0,0,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--panel-text-dim); font-size: 0.8rem; transition: all var(--transition); }
.social-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.footer-col h5 { font-family: var(--font-serif); font-size: 0.8rem; color: var(--panel-text); margin-bottom: 0.15rem; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: 0.02rem; }
.footer-links a { font-size: 0.76rem; color: var(--panel-text-dim); transition: color var(--transition); }
.footer-links a:hover { color: var(--charcoal); }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.12); padding: 0.12rem 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.68rem; color: var(--panel-text-dim); flex-wrap: wrap; gap: 0.3rem; }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: var(--panel-text-dim); }
.footer-bottom-links a:hover { color: var(--charcoal); }

/* --- Newsletter --- */
.newsletter-section { background: var(--panel-gray); padding: 3.5rem 0; text-align: center; }
.newsletter-section h2 { color: var(--panel-text); margin-bottom: 0.5rem; }
.newsletter-section p { color: var(--panel-text-dim); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 460px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: 0.7rem 1rem; border: none; border-radius: var(--radius); font-size: 0.9rem; background: #ffffff; color: var(--panel-text); border: 1px solid rgba(0,0,0,0.2); }
.newsletter-input::placeholder { color: rgba(58,58,58,0.45); }
.newsletter-input:focus { outline: none; border-color: var(--gold); }

/* --- Toast --- */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--charcoal); color: var(--white); padding: 0.9rem 1.25rem; border-radius: var(--radius); border-left: 3px solid var(--gold); box-shadow: var(--shadow-lg); font-size: 0.88rem; z-index: 9999; transform: translateY(120%); transition: transform 0.3s ease; max-width: 320px; }
.toast.show { transform: translateY(0); }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-panel { position: static; }
  .gallery-thumbs { grid-template-columns: repeat(8, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .auction-banner-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .site-nav .container { padding: 0 1rem; }
  .logo-text { font-size: 1.6rem; }
  .nav-actions { gap: 0.15rem; }
  .nav-icon-btn { font-size: 0.95rem; padding: 0.35rem; }
  /* Hide the Login/Join Free text buttons (injected by banner.js) below
     769px -- next to 4 icon buttons + hamburger there isn't room for them
     without wrapping/crowding the nav row; mobile visitors can still reach
     login via the Auctions link. */
  #rlb-auth-links { display: flex !important; align-items: center; gap: 6px; }
  #rlb-auth-links a[href*="register"] { display: none !important; }
  #rlb-auth-links .btn-sm { padding: 6px 12px !important; font-size: 0.72rem !important; white-space: nowrap; }
  .nav-icon-btn[title="Cart"] { display: none !important; }
  .nav-links.open {
    display: block;
    list-style: none;
    margin: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fffefb;
    padding: 0.9rem;
    box-shadow: 0 16px 40px rgba(20,10,0,0.32);
    border-top: 3px solid var(--gold);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-links.open li {
    display: block;
    list-style: none;
    margin: 0 0 0.55rem;
    padding: 0;
  }
  .nav-links.open li:last-child { margin-bottom: 0; }
  .nav-links.open a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #fff !important;
    color: #2c1a0e !important;
    border: 1px solid #e6dac0 !important;
    border-radius: 9px;
    padding: 0.95rem 1.1rem;
    font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-transform: none;
    text-align: center;
    box-shadow: 0 1px 3px rgba(61,28,2,0.05);
    transition: all 0.18s ease;
  }
  .nav-links.open a:hover,
  .nav-links.open a:active {
    background: #faf3e2 !important;
    border-color: var(--gold) !important;
    color: var(--mahogany, #3D1C02) !important;
  }
  .nav-links.open a.active {
    background: linear-gradient(135deg, var(--mahogany, #3D1C02), var(--mahogany-mid, #5C2E04)) !important;
    color: #f5ead0 !important;
    border-color: var(--mahogany, #3D1C02) !important;
    box-shadow: 0 3px 10px rgba(61,28,2,0.25);
  }
  .nav-mobile-toggle { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .category-card { flex-basis: 28%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .auction-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-card { flex-basis: 42%; }
  .hero-actions { grid-template-columns: 1fr; }
    .hero-actions .btn-gold { order: 1; }
    .hero-actions .hero-auctions-btn { order: 2; }
    .hero-actions .hero-consignment-btn { order: 3; }
    .hero-actions .hero-estate-btn { order: 4; }
   .hero-actions .hero-tobacco-btn { order: 5; }
   .hero-actions .hero-cigars-btn { order: 6; }
  .logo-text { font-size: 1.04rem; }
}

/* --- Tobacco Lookup Page Header --- */
.lookup-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.lookup-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--heading-gray);
  background: rgba(255,253,249,0.97);
  padding: 1.5rem 2rem 0.65rem;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
  border: 1.5px solid rgba(200,184,154,0.7);
  border-bottom: none;
}
.lookup-subtitle {
  font-size: 0.88rem;
  color: #3a2a1a;
  background: rgba(255,253,249,0.97);
  padding: 0 2rem 1.4rem;
  border-radius: 0 0 10px 10px;
  margin-bottom: 2rem;
  border: 1.5px solid rgba(200,184,154,0.7);
  border-top: none;
  box-shadow: 0 4px 18px rgba(30,10,0,0.13);
}
.lookup-subtitle a { color: var(--heading-gray-mid); }

/* Nav category dropdowns (Pipes / Tobacco) */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-caret { font-size: 0.6rem; opacity: 0.65; transition: transform var(--transition); }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.4rem 0;
  margin: 0.4rem 0 0;
  list-style: none;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  z-index: 60;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.15rem;
  color: var(--cream);
  font-size: 0.85rem;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.06); color: var(--gold-light); }
.nav-links.open .nav-dropdown,
.nav-links.open .nav-dropdown > a { width: 100%; }
.nav-links.open .dropdown-menu {
  position: static;
  display: block;
  box-shadow: none;
  border: none;
  background: transparent;
  padding-left: 0.9rem;
  margin-top: 0.2rem;
}
.nav-links.open .dropdown-menu a { color: #2c1a0e !important; padding: 0.4rem 0.5rem; }

.pdp-consign-badge { display:inline-block; background:var(--mahogany); color:#fff; padding:2px 10px; border-radius:20px; font-size:0.75rem; font-weight:700; letter-spacing:0.04em; margin-left:0.5rem; vertical-align:middle; }


/* Force any inline multi-column grids to stack on phones. Several pages
   set grid-template-columns as an inline style for card/gallery/form
   layouts, which otherwise ignores all responsive rules in this file
   since inline styles win over normal stylesheet rules. */
@media (max-width: 640px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  html, body { overflow-x: hidden; }
}

/* --- Two-row nav on desktop: give the nav links their own row for more room --- */
@media (min-width: 769px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.65rem 0;
    row-gap: 0.5rem;
  }
  .nav-logo { order: 1; }
  .nav-create-cta-root { order: 1; margin-left: 1.25rem; }
  .nav-actions { order: 2; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.4rem 0 0 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.18);
  }
  .nav-links a {
    padding: 0.45rem 0.9rem;
  }
}

/* === Shop filter bar (.shf-*)  added 2026-09-13, was previously unstyled === */
.shf-bar{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-bottom:20px;}
.shf-group{position:relative;flex:0 0 auto;}
.shf-btn{padding:9px 14px;border:1px solid #d8d0c8;border-radius:8px;background:#fff;font-size:14px;line-height:1.2;cursor:pointer;display:inline-flex;align-items:center;gap:6px;color:#3D1C02;white-space:nowrap;transition:border-color .15s,background .15s,color .15s;}
.shf-btn:hover{border-color:#3D1C02;}
.shf-btn.active{background:#3D1C02;color:#fff;border-color:#3D1C02;}
.shf-btn.active i{color:#fff;}
.shf-panel{display:none;position:absolute;top:calc(100% + 8px);left:0;background:#fff;border:1px solid #e2dcd4;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.15);padding:14px;z-index:60;min-width:200px;}
.shf-panel.open{display:block;}
.shf-checks{display:flex;flex-direction:column;}
.shf-checks label{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:14px;cursor:pointer;white-space:nowrap;}
.shf-clear{padding:9px 14px;border:1px solid #d8d0c8;border-radius:8px;background:#fff;cursor:pointer;font-size:14px;color:#7a2e2e;white-space:nowrap;}
.shf-clear:hover{border-color:#7a2e2e;}
.shop-search-wrap{position:relative;margin-left:auto;}
.shop-search-wrap i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#999;font-size:13px;}
#shop-search-input{padding:9px 12px 9px 32px;border:1px solid #d8d0c8;border-radius:8px;font-size:14px;width:220px;box-sizing:border-box;}

@media (max-width:768px){
    .shf-bar{display:flex;flex-wrap:wrap;gap:8px;padding:2px 2px 8px;margin-bottom:14px;}
    .shf-bar::-webkit-scrollbar{height:4px;}
    .shf-group{flex:1 1 calc(50% - 4px);}
    .shf-btn,.shf-clear{width:100%;box-sizing:border-box;padding:12px 14px;font-size:14px;justify-content:space-between;}
    .shf-clear{flex:1 1 100%;}
    .shop-search-wrap{order:99;flex:1 1 100%;margin:0;width:100%;}
    #shop-search-input{width:100%;}
    .shf-panel.open{position:fixed;left:14px;right:14px;top:auto;bottom:14px;max-height:65vh;overflow-y:auto;z-index:1000;box-shadow:0 0 0 100vmax rgba(20,10,5,.45),0 10px 30px rgba(0,0,0,.25);}
}

/* --- Refined account pill (header) --- */
.rlb-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(255,255,255,0.05);
  color: rgba(240,232,213,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rlb-account-pill span:first-child { width: 56px !important; height: 56px !important; font-size: 1.05rem !important; }
.rlb-account-pill span + span { display: none !important; }
.rlb-account-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,168,76,0.6);
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
.rlb-logout-link {
  background: none;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  color: rgba(240,232,213,0.6);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
}
.rlb-logout-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,168,76,0.6);
  color: #fff;
  text-decoration: none;
}
.nav-divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  margin: 0 0.4rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55), transparent);
  flex-shrink: 0;
}

/* ===== HOMEPAGE PREMIUM REDESIGN (2026-09-13) ===== */
.trust-bar {
  background: linear-gradient(180deg, var(--white), var(--cream));
  border-top: 1px solid rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(0,0,0,0.35);
  padding: 0.9rem 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.trust-bar-item {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--heading-gray-mid);
  padding: 0.25rem 1.5rem;
}
.trust-bar-item:not(:last-child)::after {
  content: '';
  position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 18px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55), transparent);
}
.trust-bar-item i.fas { color: var(--gold); margin-right: 0.4rem; }

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.65rem;
}
.section-title::after {
  content: '';
  position: absolute; left: 0; bottom: 0; width: 46px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}
.section > .container, .section-alt > .container {
  position: relative;
  border: 1px solid rgba(0,0,0,0.22);
  box-shadow: 0 10px 40px rgba(61,28,2,0.12), 0 2px 8px rgba(61,28,2,0.06);
}
.section > .container::before, .section-alt > .container::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
  border-radius: 16px 16px 0 0;
}

.category-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(61,28,2,0.18);
}
.category-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold));
  color: var(--mahogany);
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.5);
  transition: transform var(--transition);
}
.category-card:hover .category-card-icon { transform: scale(1.08) rotate(-4deg); }
.category-card h4 { font-family: var(--font-serif); }

.newsletter-section {
  position: relative;
  background: var(--warm-gray);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(0,0,0,0.4);
}
.newsletter-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(0,0,0,0.15), transparent 40%), radial-gradient(circle at 85% 80%, rgba(0,0,0,0.12), transparent 40%);
  pointer-events: none;
}
.newsletter-section .container { position: relative; z-index: 1; }
.newsletter-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.5);
  color: var(--gold-light); font-size: 1.1rem; margin-bottom: 0.75rem;
}
.newsletter-section h2 { color: var(--white); font-family: var(--font-serif); }
.newsletter-section p { color: rgba(255,253,249,0.75); }
.newsletter-input {
  background: rgba(255,253,249,0.96) !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  color: #2a2018 !important;
}
.newsletter-input::placeholder { color: rgba(42,32,24,0.55); }
.newsletter-input:focus { border-color: var(--gold) !important; outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.2); }

.site-footer {
  background: var(--panel-gray) !important;
  color: rgba(0,0,0,0.68) !important;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold), transparent) 1;
}
.site-footer .logo-main { color: var(--charcoal); font-family: var(--font-serif); }
.site-footer .logo-sub { color: rgba(0,0,0,0.55); }
.site-footer .footer-tagline { color: rgba(0,0,0,0.6); }
.site-footer a { color: rgba(0,0,0,0.7); }
.site-footer a:hover { color: var(--charcoal); }
.site-footer .social-btn {
  border: 1px solid rgba(0,0,0,0.35);
  color: var(--gold-light);
  transition: all var(--transition);
}
.site-footer .social-btn:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}
.site-footer .footer-col h5 {
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 1;
}
.site-footer .footer-links a { color: rgba(0,0,0,0.68); }
.site-footer .footer-links a:hover { color: var(--charcoal); }

/* ===== Top divider line above nav (mirrors .nav-links::before) ===== */
.nav-inner {
  position: relative;
}
.nav-inner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 4px;
  background: #000;
  z-index: 2;
}

/* Auctions nav CTA (2026-09-14, Matt)  dropdown removed, plain link styled as a
   large red button with white text so it reads as the primary call-to-action. */
.nav-links a.nav-auction-cta {
  background: #c0392b !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 8px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}
.nav-links a.nav-auction-cta:hover {
  background: #a83226 !important;
  color: #ffffff !important;
}

/* Estate Pipes hero button: solid white fill, black text */
.hero-estate-btn {
  background: #cfe3f5 !important;
  color: #1a1a1a !important;
  border-color: #cfe3f5 !important;
}
.hero-estate-btn:hover {
  background: #bcd6ec !important;
  color: #1a1a1a !important;
  border-color: #bcd6ec !important;
}

/* Browse the Shop hero button: burgundy fill instead of the site-wide black .btn-gold */
.hero-actions .btn-gold {
  background: #f0e4c8 !important;
  border-color: #f0e4c8 !important;
  color: #1a1a1a !important;
}
.hero-actions .btn-gold:hover {
  background: #e6d5ac !important;
  border-color: #e6d5ac !important;
  color: #1a1a1a !important;
}

/* Consignment hero button: light forest green fill, black text */
.hero-consignment-btn {
  background: #cdead0 !important;
  color: #1a1a1a !important;
  border-color: #cdead0 !important;
}
.hero-consignment-btn:hover {
  background: #b8dfc0 !important;
  color: #1a1a1a !important;
  border-color: #b8dfc0 !important;
}

/* Large red/white Auctions call-to-action button in the hero area */
.hero-auctions-btn {
  background: #c0392b !important;
  border-color: #c0392b !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.hero-auctions-btn:hover {
  background: #a83226 !important;
  border-color: #a83226 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Header-integrated Create Auction button on root homepage nav -- added 2026-09-15 */
.nav-create-cta-root {
  display: flex;
  align-items: center;
  white-space: nowrap;
  background: #c0392b;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 50px;
  text-decoration: none;
  line-height: 1;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  margin-left: auto;
}
.nav-create-cta-root:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .nav-create-cta-root { display: none; }
}
@media (min-width: 769px) {
  #rlb-global-create-auction-btn { display: none !important; }
}

/* Hero logo banner image (rare leaf & briar ornate logo w/ smoke), placed below hero CTAs and above trust bar */
.hero-logo-banner{ display:flex; justify-content:center; align-items:center; padding:0.5rem 1rem 1rem; margin-top:60px; }
.hero-logo-banner-img{ display:block; width:100%; max-width:608px; height:auto; filter:drop-shadow(0 10px 26px rgba(0,0,0,0.55)); }
@media (max-width:600px){
  .hero-logo-banner{ padding:0.25rem 1rem 0.75rem; margin-top:50px; }
  .hero-logo-banner-img{ max-width:397px; }
}

/* Mobile: stack hero content and prevent horizontal overflow (fixes hero text/buttons being cut off on phones) */
@media (max-width: 768px) {
  .hero { flex-direction: column; }
  .hero-content { max-width: 100%; width: 100%; min-width: 0; box-sizing: border-box; }
  .hero h1 { font-size: 2rem; }
}

/* Mobile: keep the floating +Create Auction button from overlapping the currency switcher pill (both fixed bottom-right) */
@media (max-width: 768px) {
  #rlb-global-create-auction-btn { bottom: 86px; }
}

/* ===== Account icon dropdown (banner.js) ===== */
.rlb-account-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #d4c4a8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30,10,0,0.18);
  min-width: 190px;
  z-index: 500;
  overflow: hidden;
}
.rlb-account-menu.open { display: block; }
.rlb-account-menu a, .rlb-account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: #3a2410;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.rlb-account-menu a:hover, .rlb-account-menu button:hover { background: #f5ede2; }
.rlb-account-toggle.nav-icon-btn { display: flex; align-items: center; justify-content: center; }

/* ===== Mobile header: hamburger takes the old heart slot, search stays
   first, account icon moves further right past the hamburger. Logo gets a
   forced 2-line break so it takes less width (fixes accidental taps near
   search). ===== */
.logo-break { display: none; }
@media (max-width: 768px) {
  .nav-actions .nav-icon-btn { order: 1; }
  .nav-actions .nav-mobile-toggle { order: 2; }
  .nav-actions #rlb-auth-links { order: 3; margin-left: 0.35rem; }
  .nav-actions { margin-left: auto; }
  .logo-break { display: block; }
}

/* ===== Footer: shrink height dramatically, put SHOP/MY ACCOUNT/HELP side
   by side on mobile instead of stacked full-width ===== */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 0.4rem 0.6rem; }
  .footer-brand { grid-column: 1 / -1; text-align: center; margin-bottom: 0.4rem; }
  .footer-socials { justify-content: center; }
  .footer-col h5 { font-size: 0.62rem; margin-bottom: 0.3rem; }
  .footer-links li { margin-bottom: 0.15rem; }
  .footer-links a { font-size: 0.62rem; line-height: 1.3; }
  .site-footer { padding: 0.6rem 0 0; }
  .footer-tagline { display: none; }
  .footer-bottom { padding: 0.3rem 0; font-size: 0.6rem; }
  .footer-bottom-links { gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .footer-col h5 { font-size: 0.58rem; }
  .footer-links a { font-size: 0.58rem; }
}

/* --- Category cards restyled as colored tabs (icons removed) --- */
.category-grid .category-card { padding: 1.75rem 1rem; }
.category-grid .category-card:nth-child(1),
.category-grid .category-card:nth-child(5) { background: #4A4A4A; border-color: #4A4A4A; }
.category-grid .category-card:nth-child(1) h4,
.category-grid .category-card:nth-child(5) h4 { color: #fff; }
.category-grid .category-card:nth-child(1) span,
.category-grid .category-card:nth-child(5) span { color: rgba(255,255,255,0.75); }

.category-grid .category-card:nth-child(2),
.category-grid .category-card:nth-child(6) { background: #fff; border: 1px solid #1a1a1a; }
.category-grid .category-card:nth-child(2) h4,
.category-grid .category-card:nth-child(6) h4 { color: #1a1a1a; }

.category-grid .category-card:nth-child(3) { background: #c0392b; border-color: #c0392b; }
.category-grid .category-card:nth-child(3) h4 { color: #fff; }
.category-grid .category-card:nth-child(3) span { color: rgba(255,255,255,0.75); }

.category-grid .category-card:nth-child(4) { background: #8fbc8f; border-color: #8fbc8f; }
.category-grid .category-card:nth-child(4) h4 { color: #1a1a1a; }
.category-grid .category-card:nth-child(4) span { color: rgba(26,26,26,0.65); }

.category-grid .category-card:hover { filter: brightness(1.08); box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* --- New hero buttons: Pipe Tobacco / Cigars --- */
.hero-actions .hero-tobacco-btn { background: #e6d2b8 !important; border-color: #e6d2b8 !important; color: #1a1a1a !important; }
.hero-actions .hero-tobacco-btn:hover { background: #dcc4a0 !important; border-color: #dcc4a0 !important; }
.hero-actions .hero-cigars-btn { background: #e3ded4 !important; border-color: #e3ded4 !important; color: #1a1a1a !important; }
.hero-actions .hero-cigars-btn:hover { background: #d6cfc0 !important; border-color: #d6cfc0 !important; }


/* Force visible, consistent black outline on all 6 hero action buttons, overriding per-button border-color rules */
.hero-actions .btn-gold,
.hero-actions .hero-estate-btn,
.hero-actions .hero-auctions-btn,
.hero-actions .hero-consignment-btn,
.hero-actions .hero-tobacco-btn,
.hero-actions .hero-cigars-btn {
  border: 2px solid #000000 !important;
}
