/* =========================================================
   SubhaniHub — Dropshipping sourcing storefront
   Design tokens
   ========================================================= */
:root {
  --ink: #212121;
  /* CJ brand near-black — primary text/dark panels */
  --ink-2: #3A3A3A;
  /* lighter charcoal for panels */
  --coral: #FF7700;
  /* CJ brand orange — Flush Orange, signature accent */
  --coral-dark: #E56700;
  --gold: #FFB880;
  /* CJ brand peach — Macaroni and Cheese, secondary accent */
  --cream: #F7F7F7;
  /* page background */
  --paper: #FFFFFF;
  --line: #E6E6E6;
  --text-soft: #6B6B6B;
  --success: #2E8B57;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 61, .06);
  --shadow: 0 12px 32px rgba(15, 42, 61, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* visible focus state for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.text-coral {
  color: var(--coral);
}

.bg-ink {
  background: var(--ink);
}

.text-soft {
  color: var(--text-soft);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 600;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-crate {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: .65rem 1.4rem;
  font-weight: 600;
  font-size: .92rem;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.btn-crate:hover {
  background: var(--ink-2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  border: 1px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: .65rem 1.4rem;
  font-weight: 600;
  font-size: .92rem;
  transition: transform .15s ease, background .2s ease;
}

.btn-coral:hover {
  background: var(--coral-dark);
  color: #fff;
  transform: translateY(-1px);
}

.track-action-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 576px) {
  .track-action-buttons {
    flex-direction: column;
  }

  .track-action-buttons a {
    width: 100%;
    text-align: center;
  }
}

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: .6rem 1.3rem;
  font-weight: 600;
  font-size: .92rem;
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: #fff;
}

.btn-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  position: relative;
  transition: background .2s ease, border-color .2s ease;
}

.btn-icon:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.count-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--coral);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

/* =========================================================
   Top announcement bar
   ========================================================= */
.site-topbar {
  background: var(--ink);
  color: #D9D9D9;
  font-size: .8rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.site-topbar i {
  font-size: .82rem;
  margin-right: .25rem;
}

.site-topbar a {
  color: #D9D9D9;
  transition: color .15s;
}

.site-topbar a:hover {
  color: #fff;
}

.site-topbar strong {
  color: var(--coral);
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .2);
  display: inline-block;
  vertical-align: middle;
}

/* nudge sticky top positions down by topbar height (~34px) */
.navbar-top {
  top: 34px;
}

.navbar-bottom {
  top: calc(34px + 61px);
}

/* =========================================================
   Navbar  — 2 rows (Drop Ship style)
   Row 1: logo | search bar | icons
   Row 2: orange bar — all categories | nav links | phone
   ========================================================= */

/* --- Row 1 --- */
.navbar-top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: var(--shadow-sm);
}

.navbar-top .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--coral);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
}

.nav-brand i {
  font-size: 1.5rem;
}

/* search bar (row 1) */
.nav-searchbar {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  max-width: 620px;
}

.nav-searchbar input {
  flex: 1;
  border: none;
  outline: none;
  padding: .6rem 1.1rem;
  font-size: .9rem;
  background: transparent;
}

.nav-searchbar .ns-divider {
  width: 1px;
  background: var(--line);
  height: 22px;
  flex: 0 0 auto;
}

.nav-searchbar select {
  border: none;
  outline: none;
  background: transparent;
  padding: .5rem .7rem;
  font-size: .85rem;
  color: var(--ink);
  flex: 0 0 auto;
  cursor: pointer;
}

.ns-btn {
  background: var(--coral);
  color: #fff;
  border: none;
  width: 52px;
  height: 42px;
  border-radius: 999px;
  margin: 3px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}

.ns-btn:hover {
  background: var(--coral-dark);
}

/* right icon group */
.nav-icons {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--ink);
  position: relative;
  transition: border-color .2s, color .2s;
}

.nav-icon-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  white-space: nowrap;
  transition: border-color .2s;
}

.nav-cart-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.nav-cart-btn i {
  font-size: 1rem;
}

/* mobile toggler (row 1) */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
}

/* --- Row 2 (orange bar) --- */
.navbar-bottom {
  background: var(--coral);
  position: sticky;
  top: 61px;
  /* height of row 1 */
  z-index: 1029;
}

.navbar-bottom .container {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.nb-categories {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1.3rem;
  border-right: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
}

.nb-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  padding: 0 .5rem;
}

.nb-nav a {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  font-size: .88rem;
  padding: .65rem .95rem;
  display: block;
  transition: color .15s, background .15s;
  border-radius: 4px;
}

.nb-nav a:hover,
.nb-nav a.active {
  color: #fff;
  background: rgba(0, 0, 0, .18);
}

.nb-phone {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: .4rem .6rem;
}

.nb-phone a {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  color: var(--coral);
  font-weight: 700;
  font-size: .82rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nb-phone a:hover {
  background: var(--ink);
  color: #fff;
}

/* Mobile: collapse the bottom nav */
.nb-nav-collapse {
  display: flex;
}

@media (max-width: 991px) {
  .nav-searchbar {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nb-nav-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--coral);
    flex-direction: column;
    padding: .5rem 1rem;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  }

  .nb-nav-collapse.open {
    display: flex;
  }

  .nb-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0;
  }

  .nb-nav a {
    padding: .55rem .5rem;
    width: 100%;
  }

  .nb-phone {
    display: none;
  }

  .navbar-bottom .container {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .nav-brand {
    font-size: 1.15rem;
  }

  .nav-icons .nav-icon-btn:not(:last-child) {
    display: none;
  }
}

/* =========================================================
   Hero search widget
   ========================================================= */
.hero-search-widget {
  background: rgba(42, 32, 22, .65);
  backdrop-filter: blur(12px) saturate(1.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 860px;
  margin: 2.5rem auto 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* Tabs */
.hsw-tabs {
  display: flex;
  padding: .6rem .6rem 0;
  gap: .3rem;
}

.hsw-tab {
  padding: .55rem 1.2rem;
  border-radius: 10px 10px 0 0;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  gap: .45rem;
  transition: background .2s, color .2s;
}

.hsw-tab.active {
  background: #fff;
  color: var(--ink);
}

.hsw-tab.ai.active {
  color: var(--coral);
}

.hsw-tab-body {
  background: #fff;
  margin: 0 .6rem;
  border-radius: var(--radius-sm);
  display: none;
}

.hsw-tab-body.active {
  display: block;
}

/* Search bar */
.hsw-bar {
  display: flex;
  align-items: center;
  padding: .5rem .5rem .5rem .8rem;
  gap: 0;
}

.hsw-dropdown {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  padding-right: .8rem;
  border-right: 1.5px solid var(--line);
  flex: 0 0 auto;
}

.hsw-dropdown select {
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  outline: none;
  padding: 0;
}

.hsw-input {
  flex: 1;
  border: none;
  outline: none;
  padding: .5rem .8rem;
  font-size: .95rem;
  color: var(--ink);
}

.hsw-input::placeholder {
  color: #aaa;
}

.hsw-camera {
  background: none;
  border: none;
  color: #888;
  font-size: 1.1rem;
  padding: .3rem .5rem;
  cursor: pointer;
}

.hsw-camera:hover {
  color: var(--coral);
}

.hsw-search-btn {
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .55rem 1.6rem;
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  transition: background .2s;
}

.hsw-search-btn:hover {
  background: var(--coral-dark);
}

/* Product carousel inside widget */
.hsw-products {
  padding: .6rem .8rem .8rem;
  position: relative;
}

.hsw-carousel {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .2rem;
}

.hsw-carousel::-webkit-scrollbar {
  display: none;
}

.hsw-card {
  flex: 0 0 calc(20% - .5rem);
  min-width: 130px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: box-shadow .2s;
}

.hsw-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.hsw-card-img {
  position: relative;
  aspect-ratio: 3/3.5;
  overflow: hidden;
  background: #f5f5f5;
}

.hsw-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hsw-card-play {
  position: absolute;
  bottom: .4rem;
  left: .4rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
}

.hsw-card-body {
  padding: .45rem .5rem;
}

.hsw-card-title {
  font-size: .72rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hsw-card-price {
  font-size: .72rem;
  color: var(--coral);
  font-weight: 700;
  margin-top: .15rem;
}

/* Carousel nav arrows */
.hsw-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  cursor: pointer;
}

.hsw-arrow:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* AI tab panel */
.hsw-ai-panel {
  padding: 1.2rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.hsw-ai-input {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .6rem 1.2rem;
  font-size: .9rem;
  outline: none;
  width: 100%;
}

.hsw-ai-input:focus {
  border-color: var(--coral);
}

.hsw-ai-send {
  align-self: flex-end;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .55rem 1.4rem;
  font-weight: 600;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.hsw-ai-send:hover {
  background: var(--coral-dark);
}

.hsw-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .8rem .7rem;
}

.hsw-view-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .2rem;
}

.hsw-view-more:hover {
  color: var(--coral);
}

.nav-links a {
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  padding: .4rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width .2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--coral-dark);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 107, 74, .25), transparent 60%),
    radial-gradient(500px 260px at 10% 90%, rgba(242, 181, 68, .18), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.hero .lead {
  color: #cfe0e8;
  font-size: 1.05rem;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stats .stat-label {
  font-size: .78rem;
  color: #aac2cd;
}

.hero-mosaic {
  position: relative;
  z-index: 2;
}

.hero-mosaic img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* =========================================================
   Category pills / strip
   ========================================================= */
.cat-strip {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
}

.cat-pill {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s ease;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* =========================================================
   Section headers
   ========================================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: 1.7rem;
  margin: 0;
}

/* =========================================================
   Product Card
   ========================================================= */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #F1EEE6;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.badge-crate {
  position: absolute;
  top: .6rem;
  left: .6rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .3rem .55rem;
  border-radius: 5px;
  color: #fff;
}

.badge-sale {
  background: var(--coral);
}

.badge-new {
  background: var(--ink);
}

.badge-low {
  background: var(--gold);
  color: var(--ink);
}

.product-quick-actions {
  position: absolute;
  top: .6rem;
  right: .6rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  opacity: 0;
  transform: translateX(8px);
  transition: all .25s ease;
}

.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: none;
}

.qa-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--ink);
}

.qa-btn:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.qa-btn.active {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.product-body {
  padding: .9rem 1rem 1.1rem;
}

.product-cat {
  font-size: .72rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.product-title {
  font-size: .92rem;
  font-weight: 600;
  margin: .25rem 0 .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.rating-stars {
  color: var(--gold);
  font-size: .78rem;
}

.rating-count {
  color: var(--text-soft);
  font-size: .76rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: .4rem;
}

.price-now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.price-old {
  font-size: .82rem;
  color: var(--text-soft);
  text-decoration: line-through;
}

.price-orders {
  font-size: .72rem;
  color: var(--text-soft);
  margin-left: auto;
}

.add-cart-btn {
  width: 100%;
  margin-top: .7rem;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .5rem;
  font-weight: 600;
  font-size: .85rem;
  transition: all .2s ease;
}

.add-cart-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* =========================================================
   Filters sidebar (shop page)
   ========================================================= */
.filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.filter-card h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .8rem;
}

.filter-card .form-check {
  margin-bottom: .45rem;
  font-size: .88rem;
}

.price-range-display {
  font-size: .82rem;
  color: var(--text-soft);
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  display: inline-block;
  cursor: pointer;
}

.swatch.active {
  box-shadow: 0 0 0 2px var(--coral);
}

/* =========================================================
   Footer
   ========================================================= */
footer.site-footer {
  background: var(--ink);
  color: #cfe0e8;
}

.site-footer h6 {
  font-family: var(--font-display);
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #aac2cd;
  font-size: .88rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
  color: #8fa9b5;
}

.newsletter-form input {
  border-radius: 999px 0 0 999px;
  border: none;
  padding: .6rem 1rem;
}

.newsletter-form button {
  border-radius: 0 999px 999px 0;
}

/* =========================================================
   Cart Slider (offcanvas)
   ========================================================= */
.cart-slider .offcanvas-header {
  border-bottom: 1px solid var(--line);
}

.cart-line {
  display: flex;
  gap: .8rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.cart-line .name {
  font-size: .86rem;
  font-weight: 600;
}

.cart-line .meta {
  font-size: .76rem;
  color: var(--text-soft);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.qty-stepper button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--ink);
}

.qty-stepper input {
  width: 32px;
  border: none;
  text-align: center;
  font-size: .85rem;
  -moz-appearance: textfield;
}

.remove-line {
  color: var(--coral);
  font-size: .78rem;
  font-weight: 600;
  background: none;
  border: none;
}

/* =========================================================
   Breadcrumb
   ========================================================= */
.crate-breadcrumb {
  font-size: .82rem;
  color: var(--text-soft);
}

.crate-breadcrumb a:hover {
  color: var(--coral);
}

/* =========================================================
   Product detail page
   ========================================================= */
.pd-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #F1EEE6;
}

.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumbs img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}

.pd-thumbs img.active {
  border-color: var(--coral);
}

.pd-title {
  font-size: 1.6rem;
}

.pd-price-now {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral-dark);
}

.pd-price-old {
  font-size: 1.1rem;
  color: var(--text-soft);
  text-decoration: line-through;
}

.variant-swatch {
  padding: .4rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  background: #fff;
}

.variant-swatch.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.tier-table {
  font-size: .85rem;
}

.tier-table th {
  font-weight: 700;
  background: #F4F1EA;
}

.trust-badges {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.trust-badges .item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-soft);
}

.trust-badges .item i {
  color: var(--success);
}

.nav-tabs-crate .nav-link {
  border: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: .9rem;
  padding: .8rem 1.2rem;
}

.nav-tabs-crate .nav-link.active {
  color: var(--ink);
  border-bottom: 2px solid var(--coral);
  background: transparent;
}

.review-row {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* =========================================================
   Auth pages (login / register)
   Signature: a "packing-tape seam" runs between the brand
   panel and the form, with a hanging swing-tag label —
   the site sells shipping/fulfillment, so the seam between
   "their store" and "the warehouse" is the visual thesis.
   ========================================================= */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.auth-panel-brand {
  flex: 1 1 50%;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image:
    radial-gradient(520px 320px at 85% 6%, rgba(255, 119, 0, .32), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 26px);
}

.route-flow {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.6rem;
}

.route-flow .node {
  padding: .35rem .7rem;
  border: 1px solid rgba(255, 184, 128, .4);
  border-radius: 20px;
  white-space: nowrap;
}

.route-flow .arrow {
  opacity: .5;
  font-size: .8rem;
}

/* ── tape seam ── */
.tape-seam {
  flex: 0 0 56px;
  position: relative;
  background: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tape-seam::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed rgba(255, 184, 128, .5);
  transform: translateX(-50%);
}

.swing-tag {
  position: relative;
  z-index: 2;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .7rem .35rem;
  border-radius: 6px;
  writing-mode: vertical-rl;
  box-shadow: var(--shadow-sm);
  transform: rotate(-6deg);
}

.swing-tag::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--ink-2);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px var(--gold);
}

/* ── form side ── */
.auth-panel-form {
  flex: 1 1 50%;
  display: flex;
  background: var(--cream);
}

.auth-card {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.auth-card .form-control {
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;
}
.auth-card .field-icon-group .form-control {
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
}

.auth-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 119, 0, .08);
  color: var(--coral-dark);
  border: 1px solid rgba(255, 119, 0, .25);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.field-icon-group {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
  background: #fff;
}
.field-icon-group:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,119,0,.10);
}
.field-icon-group .field-icon {
  display: flex;
  align-items: center;
  padding: 0 .75rem 0 .85rem;
  color: var(--text-soft);
  font-size: .95rem;
  background: transparent;
  flex-shrink: 0;
  pointer-events: none;
}
.field-icon-group input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: .65rem .9rem .65rem 0;
  background: transparent;
  min-width: 0;
}
.field-icon-group input:focus {
  border: none !important;
  box-shadow: none !important;
}
.field-icon-group .pw-toggle-btn {
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  background: transparent;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
  flex-shrink: 0;
}
.field-icon-group .pw-toggle-btn:hover { color: var(--coral); }

.pw-meter {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  margin-top: .55rem;
  overflow: hidden;
}

.pw-meter i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--line);
  transition: width .25s ease, background .25s ease;
}

.pw-meter-label {
  font-size: .72rem;
  color: var(--text-soft);
  margin-top: .3rem;
  display: block;
}

.auth-trust-row {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.auth-trust-row span {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: var(--text-soft);
}

.auth-trust-row i {
  color: var(--coral);
}

.divider-text {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--text-soft);
  font-size: .8rem;
  margin: 1.2rem 0;
}

.divider-text::before,
.divider-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.social-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .55rem;
  font-weight: 600;
  font-size: .85rem;
  background: #fff;
}

.social-btn:hover {
  background: #F4F1EA;
}

@media (max-width: 991.98px) {
  .auth-card {
    clip-path: none;
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-meter i {
    transition: none;
  }
}

/* =========================================================
   Checkout / steps
   ========================================================= */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-soft);
  font-size: .85rem;
  font-weight: 600;
}

.checkout-steps .step .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}

.checkout-steps .step.active {
  color: var(--ink);
}

.checkout-steps .step.active .num {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.checkout-steps .sep {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: 90px;
}

.method-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  cursor: pointer;
}

.method-card.active {
  border-color: var(--ink);
  background: #F4F1EA;
}

/* =========================================================
   Cart page table
   ========================================================= */
.cart-table img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-table th {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-soft);
  border-bottom: 2px solid var(--line);
}

.cart-table td {
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.coupon-box {
  background: #fff;
  border: 1px dashed var(--coral);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

/* =========================================================
   Wishlist
   ========================================================= */
.wishlist-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.wishlist-empty i {
  font-size: 3.5rem;
  color: var(--line);
}

/* =========================================================
   Misc utility
   ========================================================= */
.bg-cream {
  background: var(--cream);
}

.rounded-crate {
  border-radius: var(--radius);
}

.divider {
  height: 1px;
  background: var(--line);
}

.toast-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
}

@media (max-width: 991px) {
  .hero-mosaic {
    display: none;
  }

  .summary-card {
    position: static;
  }
}

/* =========================================================
   Shop product card — hover overlay (Image 2 style)
   ========================================================= */
.shop-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: box-shadow .25s;
}

.shop-card:hover {
  box-shadow: var(--shadow);
}

.shop-card-thumb {
  position: relative;
  aspect-ratio: 3/3.8;
  overflow: hidden;
  background: #F5F5F5;
}

.shop-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.shop-card:hover .shop-card-thumb img {
  transform: scale(1.06);
}

/* hover overlay */
.shop-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  opacity: 0;
  transition: opacity .25s ease;
}

.shop-card:hover .shop-card-overlay {
  opacity: 1;
}

.sco-btn {
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: .5rem 1.3rem;
  font-weight: 600;
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  transform: translateY(10px);
  transition: transform .25s ease, background .2s, color .2s;
  width: 155px;
  justify-content: center;
}

.shop-card:hover .sco-btn {
  transform: translateY(0);
}

.sco-btn:hover {
  background: var(--coral);
  color: #fff;
}

.sco-icon-row {
  display: flex;
  gap: .45rem;
  transform: translateY(10px);
  transition: transform .3s .05s ease;
}

.shop-card:hover .sco-icon-row {
  transform: translateY(0);
}

.sco-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.sco-icon:hover {
  background: var(--coral);
  color: #fff;
}

/* badge (new/sale/out-of-stock) */
.shop-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .25rem .6rem;
  border-radius: 4px;
  color: #fff;
  z-index: 1;
}

.shop-badge.new {
  background: var(--ink);
}

.shop-badge.sale {
  background: var(--coral);
}

.shop-badge.oos {
  background: #3A3A3A;
}

.shop-card-body {
  padding: .75rem .9rem .9rem;
  text-align: center;
}

.shop-card-body .sc-title {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-title a {
  color: var(--ink);
}

.sc-title a:hover {
  color: var(--coral);
}

.shop-stars {
  color: var(--coral);
  font-size: .78rem;
}

.sc-price {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  margin-top: .3rem;
}

.sc-price .old {
  color: var(--text-soft);
  text-decoration: line-through;
  font-weight: 400;
  font-size: .82rem;
  margin-left: .3rem;
}

.sc-price .sale-p {
  color: var(--coral);
}

/* Shop sidebar */
.shop-sidebar h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
}

.shop-sidebar .cat-link {
  display: block;
  padding: .25rem 0;
  font-size: .88rem;
  color: var(--ink);
}

.shop-sidebar .cat-link:hover {
  color: var(--coral);
}

.shop-sidebar .cat-sub {
  padding-left: 1rem;
  font-size: .84rem;
  color: var(--text-soft);
  display: block;
  padding: .2rem 0 .2rem 1rem;
}

.shop-sidebar .cat-sub:hover {
  color: var(--coral);
}

.shop-sidebar .form-check {
  font-size: .86rem;
  margin-bottom: .3rem;
}

.shop-sidebar .form-check-input:checked {
  background-color: var(--coral);
  border-color: var(--coral);
}

/* Kill Bootstrap's default white accordion background so the sidebar
   blends flat into the page instead of showing a boxed white panel */
.shop-sidebar,
.shop-sidebar .accordion,
.shop-sidebar .accordion-item,
.shop-sidebar .accordion-button,
.shop-sidebar .accordion-button:not(.collapsed),
.shop-sidebar .accordion-collapse,
.shop-sidebar .accordion-body {
  background-color: transparent;
  box-shadow: none;
}

.shop-sidebar .accordion-button::after {
  filter: opacity(.55);
}

/* Mobile filter trigger (opens sidebar as an offcanvas on small screens) */
.shop-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .85rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
}

.shop-filter-btn:hover {
  background: var(--ink);
  color: #fff;
}

/* On large screens the sidebar renders inline (Bootstrap's offcanvas-lg
   default already handles this) — just tidy the header that only shows
   on mobile drawer mode. */
.shop-sidebar-canvas .offcanvas-header {
  border-bottom: 1px solid var(--line);
}

/* =========================================================
   Shop pagination — circular brand-styled buttons
   ========================================================= */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-pagination .sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  background: transparent;
  transition: all .2s ease;
}

.shop-pagination .sp-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.shop-pagination .sp-btn.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.shop-pagination .sp-btn.disabled {
  opacity: .35;
  pointer-events: none;
}

.shop-pagination .sp-btn i {
  font-size: .85rem;
}

/* =========================================================
   Sourcing agents page
   ========================================================= */
.agent-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}

.agent-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.agent-level {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 4px;
}

.agent-level.senior {
  background: #FFF3E0;
  color: var(--coral-dark);
}

.agent-level.mid {
  background: #E8F5E9;
  color: #2E8B57;
}

.agent-level.junior {
  background: #E3F2FD;
  color: #1565C0;
}

.agent-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 4px;
  background: #F5F5F5;
  color: var(--ink);
  margin: .2rem .15rem 0 0;
}

.agent-from {
  font-size: .82rem;
  color: var(--text-soft);
}

.agent-from strong {
  color: var(--coral);
  font-size: .92rem;
}

.agent-btn {
  margin-top: 1rem;
  width: 100%;
  padding: .5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--coral);
  color: var(--coral);
  font-weight: 600;
  font-size: .85rem;
  background: #fff;
  transition: background .2s, color .2s;
}

.agent-btn:hover {
  background: var(--coral);
  color: #fff;
}

.agent-rating {
  color: var(--coral);
  font-size: .8rem;
  font-weight: 700;
}

/* =========================================================
   Track order page
   ========================================================= */
.track-hero {
  background: var(--ink);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.track-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 620px;
  margin: -2.5rem auto 3rem;
  box-shadow: var(--shadow);
}

.track-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px dashed var(--line);
}

.track-step:last-child {
  border-bottom: none;
}

.track-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
}

.track-dot.done {
  background: var(--coral);
  color: #fff;
}

.track-dot.pending {
  background: var(--line);
  color: var(--text-soft);
}

.track-step-text .title {
  font-weight: 600;
  font-size: .9rem;
}

.track-step-text .sub {
  font-size: .8rem;
  color: var(--text-soft);
  margin-top: .1rem;
}

/* =========================================================
   Compare sticky bar (shown on all pages when items queued)
   ========================================================= */
.cmp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--coral);
  padding: .75rem 0;
  z-index: 1040;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .10);
  display: none;
  transition: transform .25s ease;
}

.cmp-sticky-bar.active {
  display: block;
}

.cmp-mini-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .35rem .65rem;
  position: relative;
  min-width: 0;
}

.cmp-mini-card img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
}

.cmp-mini-card .mc-name {
  font-size: .75rem;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmp-mini-card .mc-price {
  font-size: .7rem;
  color: var(--coral-dark);
  font-weight: 700;
}

.cmp-mini-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.cmp-slot {
  min-width: 150px;
  height: 60px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: .78rem;
}

/* =========================================================
   Compare table page
   ========================================================= */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.cmp-table th,
.cmp-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.cmp-table th:first-child,
.cmp-table td:first-child {
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-soft);
  background: var(--cream);
  width: 130px;
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--line);
}

.cmp-col {
  min-width: 200px;
  text-align: center;
}

.cmp-col .cmp-title {
  font-weight: 600;
  font-size: .88rem;
  margin: .5rem 0 .2rem;
}

.cmp-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--coral-dark);
}

.cmp-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-soft);
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.cmp-remove:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.cmp-empty {
  text-align: center;
  padding: 5rem 1rem;
}

.cmp-empty i {
  font-size: 3.5rem;
  color: var(--line);
  display: block;
  margin-bottom: 1rem;
}

/* push page content up so sticky bar doesn't overlap footer */
body {
  padding-bottom: 0;
}

.cmp-sticky-bar.active~* {
  /* no-op, handled by the bar's own fixed position */
}

/* --- Added from Ashion Template --- */
Shop -----------------------*/ .shop {
  padding-top: 70px;
  padding-bottom: 80px;
}

.sidebar__categories {
  margin-bottom: 50px;
}

.sidebar__categories .section-title {
  margin-bottom: 35px;
}

.sidebar__categories .section-title h4 {
  font-size: 18px;
}

.categories__accordion .card {
  border: none;
  border-radius: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2f2f2 !important;
  margin-bottom: 12px;
}

.categories__accordion .card:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none !important;
}

.categories__accordion .card-heading {
  cursor: pointer;
}

.categories__accordion .card-heading a {
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  display: block;
}

.categories__accordion .card-body {
  padding-left: 0;
  padding-top: 6px;
  padding-bottom: 0;
}

.categories__accordion .card-body li {
  list-style: none;
  position: relative;
  padding-left: 16px;
}

.categories__accordion .card-body li:before {
  position: absolute;
  left: 4px;
  top: 14px;
  height: 1px;
  width: 4px;
  background: #666666;
  content: "";
}

.categories__accordion .card-body li a {
  font-size: 14px;
  color: #666666;
  line-height: 30px;
}

.categories__accordion .card-heading a:after,
.categories__accordion .card-heading>a.active[aria-expanded=false]:after {
  content: "";
  font-size: 14px;
  font-family: "FontAwesome";
  color: #666666;
  position: absolute;
  right: 30px;
  top: 0px;
}

.categories__accordion .card-heading.active a:after {
  content: "";
  font-size: 14px;
  font-family: "FontAwesome";
  color: #666666;
  position: absolute;
  right: 30px;
  top: -1px;
}

.categories__accordion .card-heading a[aria-expanded=true]:after,
.categories__accordion .card-heading>a.active:after {
  content: "";
  font-size: 14px;
  font-family: "FontAwesome";
  color: #666666;
  position: absolute;
  right: 30px;
  top: -1px;
}

.sidebar__filter {
  position: relative;
  margin-bottom: 60px;
}

.sidebar__filter .section-title {
  margin-bottom: 50px;
}

.sidebar__filter .section-title h4 {
  font-size: 18px;
}

.sidebar__filter a {
  font-size: 14px;
  color: #0d0d0d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  padding: 5px 16px 5px 24px;
  border: 2px solid #ff0000;
  position: absolute;
  right: 0;
  bottom: -5px;
  border-radius: 2px;
}

.filter-range-wrap .range-slider .price-input {
  position: relative;
}

.filter-range-wrap .range-slider .price-input p {
  font-size: 16px;
  color: #0d0d0d;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0;
}

.filter-range-wrap .range-slider .price-input:after {
  position: absolute;
  left: 81px;
  top: 12px;
  height: 1px;
  width: 5px;
  background: #0d0d0d;
  content: "";
}

.filter-range-wrap .range-slider .price-input input {
  font-size: 16px;
  color: #0d0d0d;
  max-width: 16%;
  border: none;
}

.filter-range-wrap .range-slider .price-input input:nth-child(1) {
  margin-right: 28px;
}

.filter-range-wrap .price-range {
  border-radius: 0;
  margin-bottom: 28px;
}

.filter-range-wrap .price-range.ui-widget-content {
  border: none;
  background: rgba(0, 0, 0, 0.1);
  height: 5px;
}

.filter-range-wrap .price-range.ui-widget-content .ui-slider-handle {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #ca1515;
  border: none;
  outline: none;
  cursor: pointer;
}

.filter-range-wrap .price-range .ui-slider-range {
  background: #ca1515;
  border-radius: 0;
}

.sidebar__sizes,
.sidebar__color {
  margin-bottom: 40px;
}

.sidebar__sizes .section-title,
.sidebar__color .section-title {
  margin-bottom: 35px;
}

.sidebar__sizes .section-title h4,
.sidebar__color .section-title h4 {
  font-size: 18px;
}

.sidebar__sizes .size__list label,
.sidebar__color .size__list label {
  display: block;
  padding-left: 20px;
  font-size: 14px;
  text-transform: uppercase;
  color: #444444;
  position: relative;
  cursor: pointer;
}

.sidebar__sizes .size__list label input,
.sidebar__color .size__list label input {
  position: absolute;
  visibility: hidden;
}

.sidebar__sizes .size__list label input:checked~.checkmark,
.sidebar__color .size__list label input:checked~.checkmark {
  border-color: #ca1515;
}

.sidebar__sizes .size__list label input:checked~.checkmark:after,
.sidebar__color .size__list label input:checked~.checkmark:after {
  border-color: #ca1515;
  opacity: 1;
}

.sidebar__sizes .size__list label .checkmark,
.sidebar__color .size__list label .checkmark {
  position: absolute;
  left: 0;
  top: 4px;
  height: 10px;
  width: 10px;
  border: 1px solid #444444;
  border-radius: 2px;
}

.sidebar__sizes .size__list label .checkmark:after,
.sidebar__color .size__list label .checkmark:after {
  position: absolute;
  left: 0px;
  top: -2px;
  width: 11px;
  height: 5px;
  border: solid #ffffff;
  border-width: 1.5px 1.5px 0px 0px;
  -webkit-transform: rotate(127deg);
  -ms-transform: rotate(127deg);
  transform: rotate(127deg);
  opacity: 0;
  content: "";
}

.sidebar__color .color__list label {
  text-transform: capitalize;
}

.pagination__option a {
  display: inline-block;
  height: 40px;
  width: 40px;
  border: 1px solid #f2f2f2;
  border-radius: 50%;
  font-size: 14px;
  color: #111111;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  -webkit-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  transition: all, 0.3s;
  margin-right: 6px;
}

.pagination__option a:last-child {
  margin-right: 0;
}

.pagination__option a i {
  font-weight: 600;
}

.pagination__option a:hover {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #ffffff;
}

/* --- End Added CSS --- */
/* =========================================================
   How-to Section  — translated from React component
   (CJ Dropshipping card style, responsive, animated)
   ========================================================= */
.howto-section {
  padding: 5rem 0;
  background: #fff;
}

/* Heading — orange underline */
.howto-heading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--ink);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2.5px solid var(--coral);
  margin: 0;
}

/* ── Grid ──
   1 col mobile → 2 col tablet → 4 col desktop
   Gap between cols houses the connector notch */
.howto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .howto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .howto-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ── Column wrapper (card + connector) ── */
.howto-col {
  position: relative;
}

/* ── Card ── */
.howto-card {
  background: #F7F7F7;
  border-radius: 24px;
  padding: 2rem 1.8rem 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, background .25s ease;

  /* scroll-in: start invisible + shifted down */
  opacity: 0;
  transform: translateY(32px);
}

.howto-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.howto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
  background: #fff;
}

/* Step badge — dark pill */
.howto-badge {
  display: inline-flex;
  align-items: center;
  background: #1A1A1A;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  align-self: flex-start;
  flex-shrink: 0;
}

/* Title */
.howto-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* SVG illustration — flush bottom */
.howto-img-wrap {
  margin: 0 -1.8rem;
  flex-shrink: 0;
  line-height: 0;
}

.howto-img-wrap svg {
  width: 100%;
  display: block;
}

/* ── Connector notch + arrow ──
   Absolutely positioned to straddle the right edge of this col
   and the gap between cols. Hidden below lg. */
.howto-connector {
  display: none;
}

@media (min-width: 992px) {
  .howto-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* center vertically on the card */
    top: 50%;
    right: -28px;
    /* half of 2rem gap + half of 48px circle */
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
  }
}

.howto-notch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E0E0E0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #444;
}

/* ── CTA button — outlined rounded pill ── */
.howto-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid #C8C8C8;
  border-radius: 999px;
  padding: .75rem 2.2rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.howto-cta span {
  font-size: 1.1rem;
  line-height: 1;
}

.howto-cta:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* =========================================================
   Mobile navbar — single row (hamburger / logo / search / cart)
   Visibility on mobile vs desktop is handled by the Bootstrap
   d-flex/d-none/d-lg-block utility classes on the markup itself.
   ========================================================= */
.navbar-mobile {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: .55rem .75rem;
  box-shadow: var(--shadow-sm);
  justify-content: space-between;
}

.nbm-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}

.nbm-brand i {
  font-size: 1.15rem;
}

.nbm-actions {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nbm-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  border-radius: 50%;
  position: relative;
  transition: background .15s, color .15s;
}

.nbm-icon-btn:hover,
.nbm-icon-btn:active {
  background: rgba(255, 119, 0, .08);
  color: var(--coral);
}

@media (max-width: 991px) {

  /* No fixed bottom bar anymore — the whole nav lives in .navbar-mobile */
  body {
    padding-bottom: 0;
  }

  .cmp-sticky-bar {
    bottom: 0;
  }
}

/* =========================================================
   Mobile menu drawer (hamburger) + search drawer
   ========================================================= */
.mob-menu-drawer,
.search-drawer {
  width: 300px;
  max-width: 85vw;
}

.mob-menu-drawer .offcanvas-title,
.search-drawer .offcanvas-title {
  font-weight: 700;
}

.mmd-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.25rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 1px solid var(--line);
  transition: background .15s, color .15s;
}

.mmd-link i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  color: var(--text-soft);
}

.mmd-link:hover,
.mmd-link.active {
  background: var(--cream);
  color: var(--coral);
}

.mmd-link:hover i,
.mmd-link.active i {
  color: var(--coral);
}

.mmd-divider {
  height: 10px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.search-drawer .sd-searchbar {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sd-searchbar input {
  flex: 1;
  border: none;
  outline: none;
  padding: .6rem 1.1rem;
  font-size: .9rem;
  background: transparent;
  min-width: 0;
}

.sd-searchbar .ns-btn {
  margin: 3px;
  flex: 0 0 auto;
}

.sd-popular-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}

.sd-popular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.sd-product {
  display: block;
  color: var(--ink);
}

.sd-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: .5rem;
  background: #fafafa;
}

.sd-product-name {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .15rem;
}

.sd-product-price {
  font-size: .85rem;
  font-weight: 700;
  color: var(--coral);
}

/* =========================================================
   Mobile View Overrides
   ========================================================= */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .section-head h2 {
    font-size: 1rem;
  }

  .product-title {
    font-size: .82rem;
  }

  .h3,
  h3 {
    font-size: 1rem;
  }

  .howto-cta {
    font-size: .74rem;
  }

  .filter-card h6 {
    font-size: 0.76rem;
  }

  .small,
  small {
    font-size: .8em;
  }
}

/*---------------------
  Shop
-----------------------*/

.shop {
  padding-top: 70px;
  padding-bottom: 80px;
}

.sidebar__categories {
  margin-bottom: 50px;
}

.sidebar__categories .section-title {
  margin-bottom: 35px;
}

.sidebar__categories .section-title h4 {
  font-size: 18px;
}

.categories__accordion .card {
  border: none;
  border-radius: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2f2f2 !important;
  margin-bottom: 12px;
}

.categories__accordion .card:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none !important;
}

.categories__accordion .card-heading {
  cursor: pointer;
}

.categories__accordion .card-heading a {
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  display: block;
}

.categories__accordion .card-body {
  padding-left: 0;
  padding-top: 6px;
  padding-bottom: 0;
}

.categories__accordion .card-body li {
  list-style: none;
  position: relative;
  padding-left: 16px;
}

.categories__accordion .card-body li:before {
  position: absolute;
  left: 4px;
  top: 14px;
  height: 1px;
  width: 4px;
  background: #666666;
  content: "";
}

.categories__accordion .card-body li a {
  font-size: 14px;
  color: #666666;
  line-height: 30px;
}

.categories__accordion .card-heading a:after,
.categories__accordion .card-heading>a.active[aria-expanded=false]:after {
  content: "";
  font-size: 14px;
  font-family: "bootstrap-icons";
  color: #666666;
  position: absolute;
  right: 30px;
  top: 0px;
}

.categories__accordion .card-heading.active a:after {
  content: "";
  font-size: 14px;
  font-family: "bootstrap-icons";
  color: #666666;
  position: absolute;
  right: 30px;
  top: -1px;
}

.categories__accordion .card-heading a[aria-expanded=true]:after,
.categories__accordion .card-heading>a.active:after {
  content: "";
  font-size: 14px;
  font-family: "bootstrap-icons";
  color: #666666;
  position: absolute;
  right: 30px;
  top: -1px;
}

.sidebar__filter {
  position: relative;
  margin-bottom: 60px;
}

.sidebar__filter .section-title {
  margin-bottom: 50px;
}

.sidebar__filter .section-title h4 {
  font-size: 18px;
}

.sidebar__filter a {
  font-size: 14px;
  color: #0d0d0d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  padding: 5px 16px 5px 24px;
  border: 2px solid #ff0000;
  position: absolute;
  right: 0;
  bottom: -5px;
  border-radius: 2px;
}

.filter-range-wrap .range-slider .price-input {
  position: relative;
}

.filter-range-wrap .range-slider .price-input p {
  font-size: 16px;
  color: #0d0d0d;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0;
}

.filter-range-wrap .range-slider .price-input:after {
  position: absolute;
  left: 81px;
  top: 12px;
  height: 1px;
  width: 5px;
  background: #0d0d0d;
  content: "";
}

.filter-range-wrap .range-slider .price-input input {
  font-size: 16px;
  color: #0d0d0d;
  max-width: 16%;
  border: none;
}

.filter-range-wrap .range-slider .price-input input:nth-child(1) {
  margin-right: 28px;
}

.filter-range-wrap .price-range {
  border-radius: 0;
  margin-bottom: 28px;
}

.filter-range-wrap .price-range.ui-widget-content {
  border: none;
  background: rgba(0, 0, 0, 0.1);
  height: 5px;
}

.filter-range-wrap .price-range.ui-widget-content .ui-slider-handle {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #ca1515;
  border: none;
  outline: none;
  cursor: pointer;
}

.filter-range-wrap .price-range .ui-slider-range {
  background: #ca1515;
  border-radius: 0;
}

.sidebar__sizes,
.sidebar__color {
  margin-bottom: 40px;
}

.sidebar__sizes .section-title,
.sidebar__color .section-title {
  margin-bottom: 35px;
}

.sidebar__sizes .section-title h4,
.sidebar__color .section-title h4 {
  font-size: 18px;
}

.sidebar__sizes .size__list label,
.sidebar__color .size__list label {
  display: block;
  padding-left: 20px;
  font-size: 14px;
  text-transform: uppercase;
  color: #444444;
  position: relative;
  cursor: pointer;
}

.sidebar__sizes .size__list label input,
.sidebar__color .size__list label input {
  position: absolute;
  visibility: hidden;
}

.sidebar__sizes .size__list label input:checked~.checkmark,
.sidebar__color .size__list label input:checked~.checkmark {
  border-color: #ca1515;
}

.sidebar__sizes .size__list label input:checked~.checkmark:after,
.sidebar__color .size__list label input:checked~.checkmark:after {
  border-color: #ca1515;
  opacity: 1;
}

.sidebar__sizes .size__list label .checkmark,
.sidebar__color .size__list label .checkmark {
  position: absolute;
  left: 0;
  top: 4px;
  height: 10px;
  width: 10px;
  border: 1px solid #444444;
  border-radius: 2px;
}

.sidebar__sizes .size__list label .checkmark:after,
.sidebar__color .size__list label .checkmark:after {
  position: absolute;
  left: 0px;
  top: -2px;
  width: 11px;
  height: 5px;
  border: solid #ffffff;
  border-width: 1.5px 1.5px 0px 0px;
  -webkit-transform: rotate(127deg);
  -ms-transform: rotate(127deg);
  transform: rotate(127deg);
  opacity: 0;
  content: "";
}

.sidebar__color .color__list label {
  text-transform: capitalize;
}

.pagination__option a {
  display: inline-block;
  height: 40px;
  width: 40px;
  border: 1px solid #f2f2f2;
  border-radius: 50%;
  font-size: 14px;
  color: #111111;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  -webkit-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  transition: all, 0.3s;
  margin-right: 6px;
}

.pagination__option a:last-child {
  margin-right: 0;
}

.pagination__option a i {
  font-weight: 600;
}

.pagination__option a:hover {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #ffffff;
}