@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  --primary: 262 83% 58%;
  --primary-hex: #7c3aed;
  --accent: 172 66% 50%;
  --accent-hex: #2dd4bf;
  --background: 220 20% 97%;
  --bg-hex: #f4f5f8;
  --foreground: 220 25% 12%;
  --fg-hex: #181c2a;
  --card: 0 0% 100%;
  --card-hex: #ffffff;
  --muted: 220 14% 92%;
  --muted-hex: #e5e7ef;
  --muted-fg: #6b7280;
  --border-hex: #dde1ed;
  --radius: 0.75rem;
  --gold: hsl(262, 83%, 58%);
  --gold-light: hsl(262, 70%, 72%);

  /* Z-Index Hierarchy */
  --z-index-content: 1;
  --z-index-loader: 10;
  --z-index-announcement: 1090;
  --z-index-nav: 1100;
  --z-index-nav-sticky: 1105;
  --z-index-dropdown: 1110;
  --z-index-mobile-menu: 1120;
  --z-index-float-cart: 1130;
  --z-index-modal-backdrop: 1190;
  --z-index-modal: 1200;
  --z-index-preloader: 2000;
  --z-index-age-gate: 3000;
}

/* ===========================
   CHECKOUT DROPDOWNS OVERRIDE
   =========================== */
/* Targets native <select> and Select2 elements within the checkout container */

/* 1. Native Select Dropdowns (State, City) */
.checkout_section select.form-control,
#shippingDetail select.form-control {
  background-color: var(--card-hex) !important;
  color: var(--fg-hex) !important;
  border: 1px solid var(--border-hex) !important;
  border-radius: var(--radius) !important;
  appearance: auto !important;
}

.checkout_section select.form-control option,
#shippingDetail select.form-control option {
  background-color: var(--card-hex) !important;
  color: var(--fg-hex) !important;
}

.checkout_section select.form-control:focus,
#shippingDetail select.form-control:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.15) !important;
  outline: none !important;
}

/* 2. Select2 Containers (Country) within Checkout */
.checkout_section .select2-container--default .select2-selection--single,
#shippingDetail .select2-container--default .select2-selection--single {
  background-color: var(--card-hex) !important;
  border: 1px solid var(--border-hex) !important;
  border-radius: var(--radius) !important;
  height: calc(1.5em + 0.75rem + 2px) !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
}

.checkout_section .select2-container--default .select2-selection--single .select2-selection__rendered,
#shippingDetail .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--fg-hex) !important;
  padding-left: 0.75rem !important;
  line-height: normal !important;
}

.checkout_section .select2-container--open .select2-selection--single,
#shippingDetail .select2-container--open .select2-selection--single {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.15) !important;
}

.checkout_section .select2-container--default .select2-selection--single .select2-selection__arrow,
#shippingDetail .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 0.5rem !important;
}

/* 3. Global Select2 Dropdown List */
/* Prevent the dropdown list itself from becoming black when opened */
.select2-dropdown {
  background-color: var(--card-hex) !important;
  border: 1px solid var(--border-hex) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.select2-search--dropdown .select2-search__field {
  background-color: #f8f9fa !important;
  border: 1px solid var(--border-hex) !important;
  color: var(--fg-hex) !important;
  border-radius: 4px !important;
}

.select2-results__option {
  background-color: var(--card-hex) !important;
  color: var(--fg-hex) !important;
  padding: 0.5rem 1rem !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected],
.select2-container--default .select2-results__option:hover {
  background-color: hsl(var(--muted) / 0.4) !important;
  color: var(--fg-hex) !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: var(--muted-hex) !important;
  color: var(--gold) !important;
  font-weight: 500 !important;
}

/* ===========================
   BASE RESET
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-hex);
  color: var(--fg-hex);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   ANNOUNCEMENT BAR
   =========================== */
.announcement-bar {
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  height: 36px;
  display: flex;
  align-items: center;
  z-index: var(--z-index-announcement);
}

.announcement-bar .container-fluid,
.announcement-bar .ann-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement-bar .ann-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.announcement-bar .ann-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.announcement-bar a {
  color: #fff;
  opacity: 0.9;
  font-size: 0.72rem;
  transition: opacity 0.2s;
}

.announcement-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===========================
   NAVBAR
   =========================== */
.tev-navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-index-nav);
  background: rgba(244, 245, 248, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hex);
}

.tev-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tev-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  white-space: nowrap;

  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  margin: 0;
}

.tev-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.tev-nav-links li {
  display: flex;
  align-items: center;
  height: 100%;
}

.tev-nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.tev-nav-links a:hover,
.tev-nav-links a.active {
  color: var(--gold);
}

.tev-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== Category bar + category dropdowns ===== */
/* ===========================
   PREMIUM CATEGORY BAR
   =========================== */

.tev-category-bar {
  width: 100%;
  position: relative;
  z-index: var(--z-index-nav-sticky);
  /* higher than product sections */
  overflow: visible;
  border-top: 1px solid var(--border-hex);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.tev-category-bar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 42px;
  white-space: nowrap;
  position: relative;
}

/* Category item */
.tev-cat-item {
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
}

/* Hover buffer (VERY IMPORTANT) */
.tev-cat-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 12px;
}

/* Top link */
.tev-cat-item>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 0.9rem;
  height: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
  transition: color 0.2s ease, transform 0.2s ease;
}

.tev-cat-item>a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

/* ===========================
   DROPDOWN (premium)
   =========================== */

.tev-cat-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;

  min-width: 240px;
  padding: 0.4rem 0;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);

  border: 1px solid var(--border-hex);
  border-radius: 0.75rem;

  box-shadow:
    0 18px 60px rgba(24, 28, 42, 0.18),
    0 6px 18px rgba(24, 28, 42, 0.08);

  z-index: var(--z-index-dropdown);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease;
}

/* OPEN ON HOVER (smooth + stable) */
.tev-cat-item:hover>.tev-cat-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Dropdown links */
.tev-cat-dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: var(--muted-fg);
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.tev-cat-dropdown a:hover {
  color: var(--gold);
  background: hsl(var(--muted) / 0.45);
  transform: translateX(3px);
}

.tev-cat-dropdown-item {
  position: relative;
}

.tev-cat-dropdown-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tev-cat-dropdown-row i {
  font-size: 0.72rem;
}

.tev-cat-flyout {
  position: absolute;
  top: -0.4rem;
  left: calc(100% - 2px);
  min-width: 240px;
  padding: 0.4rem 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-hex);
  border-radius: 0.75rem;
  box-shadow:
    0 18px 60px rgba(24, 28, 42, 0.18),
    0 6px 18px rgba(24, 28, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.18s ease;
}

.tev-cat-has-flyout:hover>.tev-cat-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

/* ===========================
   MOBILE
   =========================== */
@media (max-width: 991px) {
  .tev-category-bar {
    display: none;
  }
}

/* Cart icon */
.tev-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.5rem;
  color: var(--fg-hex);
  transition: background 0.2s;
  font-size: 1.2rem;
  line-height: 1;
}

.tev-cart-btn:hover {
  background: hsl(var(--primary)/0.08);
  color: var(--gold);
}

.tev-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}



/* Hamburger */
.tev-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 0.5rem;
  color: var(--fg-hex);
  font-size: 1.3rem;
  line-height: 1;
  transition: background 0.2s;
}

.tev-hamburger:hover {
  background: var(--muted-hex);
}

/* Mobile menu */
.tev-mobile-menu {
  display: none;
  background: rgba(244, 245, 248, 0.98);
  border-top: 1px solid var(--border-hex);
  max-height: 70vh;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}


.tev-mobile-menu a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-fg);
  border-bottom: 1px solid var(--border-hex);
  transition: color 0.2s;
}

.tev-mobile-menu a:hover {
  color: var(--gold);
}



/* User dropdown */
/* ===========================
   USER DROPDOWN (BASE)
   =========================== */

.tev-user-dropdown {
  position: relative;
}

.tev-user-dropdown .tev-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 0.25rem;
  /* reduced gap */
  min-width: 160px;

  background: var(--card-hex);
  border: 1px solid var(--border-hex);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

  z-index: var(--z-index-dropdown);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(8px) scale(0.98);
  transform-origin: top right;

  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

/* ===========================
   DESKTOP HOVER BEHAVIOR
   =========================== */

@media (min-width: 769px) {

  /* 🔥 HOVER BRIDGE (prevents flicker) */
  .tev-user-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 12px;
  }

  /* OPEN ON HOVER */
  .tev-user-dropdown:hover .tev-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}

.tev-user-dropdown.show .tev-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.tev-user-dropdown .tev-dropdown a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.8rem;
  color: var(--muted-fg);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.tev-user-dropdown .tev-dropdown a:hover {
  color: var(--gold);
  background: hsl(var(--muted) / 0.4);
}

.tev-user-btn {
  background: none;
  border: 1px solid var(--border-hex);
  border-radius: 0.5rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-hex);
  cursor: pointer;
  transition: all 0.2s;
}

.tev-user-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}


/* ===========================
   HERO SECTION
   =========================== */
.tev-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0533 0%, #0f172a 60%, #0c1a3a 100%);
}

.tev-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.tev-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 7, 40, 0.92) 0%, rgba(15, 7, 40, 0.6) 60%, transparent 100%);
}

.tev-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
}

.tev-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.tev-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 520px;
  margin-bottom: 1.25rem;
}

.tev-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tev-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary-tev {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 0.625rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary-tev:hover {
  background: hsl(262, 90%, 50%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
}

.btn-outline-tev {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.625rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-tev:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ===========================
   CATEGORY BAR (Homepage)
   =========================== */
.tev-cat-pills {
  border-bottom: 1px solid var(--border-hex);
  background: rgba(255, 255, 255, 0.5);
}

.tev-cat-pills .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.tev-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.625rem;
  border: 1px solid var(--border-hex);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: all 0.2s;
}

.tev-cat-pill:hover {
  color: var(--gold);
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.05);
}

/* ===========================
   SECTION HEADINGS
   =========================== */
.tev-section {
  padding: 4rem 0;
}

.tev-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tev-section-heading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.tev-heading-bar {
  width: 4px;
  height: 1.5rem;
  background: var(--gold);
  border-radius: 9999px;
  flex-shrink: 0;
}

.tev-section-heading h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tev-heading-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.tev-heading-flex a {
  font-size: 0.8rem;
  color: var(--gold);
}

.tev-heading-flex a:hover {
  text-decoration: underline;
}

/* ===========================
   PRODUCT GRID
   =========================== */
.tev-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 1rem;
  justify-content: start;
}

.tev-product-grid>* {
  min-width: 0;
}


/* Product Card */
.tev-product-card {
  background: var(--card-hex);
  border: 1px solid var(--border-hex);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tev-product-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.tev-product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted-hex);
  width: 100%;
}

.tev-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.tev-sale-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: var(--z-index-content);
}

.tev-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(124, 58, 237, 0.92);
  color: #fff;
  text-align: center;
  padding: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.tev-product-card:hover .tev-quick-view {
  transform: translateY(0);
}

.tev-product-card-info {
  padding: 0.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.tev-product-meta {
  font-size: 0.7rem;
  color: var(--muted-fg);
}

.tev-product-meta a:hover {
  color: var(--gold);
}

.tev-product-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-hex);
  line-height: 1.35;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tev-product-card:hover .tev-product-name {
  color: var(--gold);
}

.tev-product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.tev-price-current {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

.tev-price-old {
  font-size: 0.78rem;
  color: var(--muted-fg);
  text-decoration: line-through;
}

.tev-variant-availability {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-fg);
}

.inline-cart-control {
  display: grid;
  grid-template-columns: 34px minmax(44px, 1fr) 34px;
  align-items: center;
  width: 100%;
  max-width: 150px;
  margin: 0.45rem auto 0;
  border: 1px solid var(--border-hex);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.inline-cart-btn,
.inline-cart-qty {
  height: 34px;
  border: 0;
  border-radius: 0;
}

.inline-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--muted-hex);
  color: var(--fg-hex);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.inline-cart-btn:hover {
  background: var(--gold);
  color: #fff;
}

.inline-cart-qty {
  min-width: 0;
  text-align: center;
  font-weight: 600;
  color: var(--fg-hex);
  border-left: 1px solid var(--border-hex);
  border-right: 1px solid var(--border-hex);
  -moz-appearance: textfield;
}

.inline-cart-qty::-webkit-outer-spin-button,
.inline-cart-qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.inline-cart-control.is-updating {
  opacity: 0.75;
}

.tev-inline-cart-feedback-container {
  position: fixed;
  z-index: 1140;
  width: 280px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
  pointer-events: none;
}

.tev-inline-cart-feedback-item {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-hex);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  color: var(--fg-hex);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.tev-inline-cart-feedback-item.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tev-inline-cart-feedback__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.tev-inline-cart-feedback__inner.has-image {
  grid-template-columns: 48px minmax(0, 1fr);
}

.tev-inline-cart-feedback__image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border-hex);
  object-fit: cover;
  background: var(--muted-hex);
}

.tev-inline-cart-feedback__body {
  min-width: 0;
}

.tev-inline-cart-feedback__action,
.tev-inline-cart-feedback__qty {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.tev-inline-cart-feedback__action {
  color: var(--gold);
}

.tev-inline-cart-feedback__name {
  margin-top: 0.18rem;
  color: var(--fg-hex);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tev-inline-cart-feedback__variant {
  margin-top: 0.1rem;
  color: var(--muted-fg);
  font-size: 0.72rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.tev-features {
  background: var(--bg-hex);
  border-bottom: 1px solid var(--border-hex);
}

.tev-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .tev-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tev-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tev-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.625rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tev-feature-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tev-feature-item p {
  font-size: 0.8rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

/* ===========================
   PRODUCT SLIDER
   =========================== */
.tev-slider-wrap {
  overflow: hidden;
}

.tev-slider-wrap .swiper {
  overflow: visible;
}

/* ===========================
   FOOTER
   =========================== */
.tev-footer {
  border-top: 1px solid var(--border-hex);
  background: rgba(255, 255, 255, 0.6);
}

.tev-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .tev-footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.tev-footer-brand h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.tev-footer-brand p {
  font-size: 0.8rem;
  color: var(--muted-fg);
  line-height: 1.7;
  max-width: 240px;
}

.tev-footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-hex);
  margin-bottom: 1rem;
}

.tev-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tev-footer-col a {
  font-size: 0.82rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.tev-footer-col a:hover {
  color: var(--gold);
}

.tev-footer-bottom {
  border-top: 1px solid var(--border-hex);
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tev-footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.tev-social-links {
  display: flex;
  gap: 0.75rem;
}

.tev-social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-hex);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-fg);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.tev-social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================
   AGE VERIFICATION GATE
   =========================== */
.tev-age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 25, 0.95);
  backdrop-filter: blur(12px);
  z-index: var(--z-index-age-gate);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.tev-age-gate-box {
  background: var(--card-hex);
  border-radius: 1.25rem;
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border-hex);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  animation: age-gate-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes age-gate-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.tev-age-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tev-age-gate-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tev-age-gate-box p {
  font-size: 0.85rem;
  color: var(--muted-fg);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.tev-age-buttons {
  display: flex;
  gap: 0.75rem;
}

.tev-age-buttons .btn-primary-tev,
.tev-age-buttons .btn-deny {
  flex: 1;
  justify-content: center;
}

.btn-deny {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--muted-hex);
  color: var(--fg-hex);
  border: none;
  border-radius: 0.625rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-deny:hover {
  background: #d1d5db;
}

.tev-age-disclaimer {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 1.25rem;
}

/* ===========================
   BREADCRUMB
   =========================== */
.tev-breadcrumb {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-hex);
  background: var(--card-hex);
}

.tev-breadcrumb .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tev-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted-fg);
}

.tev-breadcrumb li+li::before {
  content: "/";
  margin-right: 0.25rem;
}

.tev-breadcrumb a:hover {
  color: var(--gold);
}

/* ===========================
   SEARCH BAR
   =========================== */
.tev-search-bar {
  background: var(--bg-hex);
  border-bottom: 1px solid var(--border-hex);
  padding: 0.75rem 0;
}

.tev-search-bar .inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.tev-search-bar input {
  flex: 1;
  border: 1px solid var(--border-hex);
  border-radius: 0.625rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  background: var(--card-hex);
  outline: none;
  transition: border-color 0.2s;
}

.tev-search-bar input:focus {
  border-color: var(--gold);
}

/* ===========================
   PAGE LAYOUT (Login/Register etc.)
   =========================== */
.tev-page-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.tev-page-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.tev-signup-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tev-signup-link:hover {
  color: var(--primary-hex);
  text-decoration: underline;
}

#topbarlogin .modal-content {
  border: 1px solid rgba(221, 225, 237, 0.9);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(24, 28, 42, 0.22);
}

#topbarlogin .modal-header {
  background: linear-gradient(135deg, var(--primary-hex), #6366f1) !important;
  border-bottom: 0;
  padding: 1rem 1.25rem;
}

#topbarlogin .modal-title h5 {
  margin: 0;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
}

#topbarlogin .btn-close {
  opacity: 0.9;
  box-shadow: none;
}

#topbarlogin .modal-body {
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 252, 0.96));
}

#topbarlogin label.form-label {
  color: var(--muted-fg);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

#topbarlogin .form-control {
  height: 52px;
  border: 1px solid #cfd6e4;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--fg-hex);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#topbarlogin .form-control::placeholder {
  color: #9aa3b2;
}

#topbarlogin .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
}

#topbarlogin #sitelogin {
  min-width: 112px;
  height: 48px;
  border: 0;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #0b0b18, #000);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#topbarlogin #sitelogin:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

#topbarlogin .text-muted {
  color: #7b8496 !important;
  font-size: 0.92rem;
}

#topbarlogin .tev-signup-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

#topbarlogin .tev-signup-link:hover {
  color: var(--primary-hex);
  text-decoration: underline;
}

/* ===========================
   MENU ITEM ANIMATIONS
   =========================== */
@keyframes tevMenuItemIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animate-reveal-up {
  animation: reveal-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.stagger-1 {
  animation-delay: 80ms;
}

.stagger-2 {
  animation-delay: 160ms;
}

.stagger-3 {
  animation-delay: 240ms;
}

.stagger-4 {
  animation-delay: 320ms;
}

/* ===========================
   REUSABLE LOADERS
   =========================== */
.myloader,
.tev-inline-loader,
.ajax-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 35px;
  height: 35px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: var(--z-index-loader);
}

.tev-inline-loader__ring {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 3px solid var(--border-hex);
  border-top-color: var(--gold);
  border-right-color: var(--fg-hex);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.82), 0 8px 22px rgba(24, 28, 42, 0.14);
  animation: tevLoaderSpin 0.82s linear infinite;
}

@keyframes tevLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ===========================
   PRELOADER
   =========================== */
#loading {
  position: fixed;
  inset: 0;
  z-index: var(--z-index-preloader);
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.1), var(--bg-hex) 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}

#loading .tev-inline-loader--page {
  position: relative;
  left: auto;
  top: auto;
  width: 56px;
  height: 56px;
  transform: none;
}

#loading .tev-inline-loader--page .tev-inline-loader__ring {
  border-width: 4px;
  animation-duration: 0.9s;
}

#loading.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ===========================
   WRAPPER / LAYOUT HELPERS
   =========================== */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper>main {
  flex: 1;
}

/* Remove old theme overrides */
.header-height-bar {
  display: none;
}

.loading-preloader {}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 991px) {
  .tev-nav-links {
    display: none;
  }

  .tev-category-bar {
    display: none;
  }

  .tev-hamburger {
    display: flex;
    align-items: center;
  }

  .tev-hero h1 {
    font-size: 2.25rem;
  }

  .tev-hero {
    min-height: 55vh;
  }
}

@media (max-width: 575px) {
  .tev-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .tev-section {
    padding: 2.5rem 0;
  }
}

/* ===== About Page ===== */
.text-sm-uppercase-tev {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.about-title-tev {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--fg-hex);
}

.about-lead-tev {
  font-size: 1.08rem;
  color: var(--muted-fg);
  line-height: 1.9;
  max-width: 760px;
}

.about-section-title-tev {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg-hex);
}

.about-body-tev {
  font-size: 0.98rem;
  color: var(--muted-fg);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.about-values-grid-tev {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-value-card-tev {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--card-hex);
  border: 1px solid rgba(221, 225, 237, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-value-card-tev:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.22);
}

.about-value-card-tev h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.about-value-card-tev p {
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .about-values-grid-tev {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Cart ===== */
.tev-mini-cart-header h5 {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg-hex);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tev-mini-cart-header h5 span {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.tev-mini-cart-empty {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-fg);
  text-align: center;
  padding: 1.5rem 0;
}

.tev-mini-cart-product-name {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-hex);
  line-height: 1.4;
}

.tev-mini-cart-product-name:hover {
  color: var(--gold);
}

.tev-mini-cart-price {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.tev-mini-cart-remove {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-fg);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.tev-mini-cart-remove:hover {
  color: #ef4444;
}

/* ===============================
   PRODUCT DETAIL GALLERY
   =============================== */
#pdGallery .swiper_gallery .swiper-slide {
  height: clamp(320px, 48vw, 560px);
}

#pdGallery .pd-gallery-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border-hex);
  border-radius: var(--radius);
  overflow: hidden;
}

#pdGallery .pd-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

#pdGallery .product-thumb .swiper-slide {
  height: 90px;
}

#pdGallery .pd-gallery-slide-thumb {
  height: 100%;
  border: 1px solid var(--border-hex);
  border-radius: 0.5rem;
  overflow: hidden;
}

#pdGallery .pd-gallery-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  #pdGallery .swiper_gallery .swiper-slide {
    height: clamp(260px, 70vw, 440px);
  }

  #pdGallery .product-thumb .swiper-slide {
    height: 72px;
  }
}

/* ===============================
   PRODUCT PAGE - ADD TO CART FIX
   Keeps quantity and add-to-cart aligned
   after removing old made-to-measure section
   =============================== */
.product-detail-actions {
  border-top: 1px solid #eee;
  margin-top: 15px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-qty {
  max-width: 120px;
}

/* ===============================
   PREMIUM ERROR UI SYSTEM
   =============================== */
.tev-alert {
  display: flex;
  position: relative;
  width: 100%;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background-color: var(--card-hex);
  border: 1px solid var(--border-hex);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.tev-alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
}

.tev-alert--error {
  background-color: #fef2f2;
  border-color: #fca5a5;
}

.tev-alert--error::before {
  background-color: #ef4444;
}

.tev-alert--error .tev-alert__icon {
  color: #ef4444;
}

.tev-alert--error .tev-alert__title {
  color: #991b1b;
}

.tev-alert--error .tev-alert__list {
  color: #b91c1c;
}

.tev-alert--warning {
  background-color: #fffbeb;
  border-color: #fcd34d;
}

.tev-alert--warning::before {
  background-color: #f59e0b;
}

.tev-alert--warning .tev-alert__icon {
  color: #f59e0b;
}

.tev-alert--warning .tev-alert__title {
  color: #92400e;
}

.tev-alert--warning .tev-alert__list {
  color: #b45309;
}

.tev-alert--info {
  background-color: #eff6ff;
  border-color: #93c5fd;
}

.tev-alert--info::before {
  background-color: #3b82f6;
}

.tev-alert--info .tev-alert__icon {
  color: #3b82f6;
}

.tev-alert--info .tev-alert__title {
  color: #1e40af;
}

.tev-alert--info .tev-alert__list {
  color: #1d4ed8;
}

.tev-alert--success {
  background-color: #f0fdf4;
  border-color: #86efac;
}

.tev-alert--success::before {
  background-color: #22c55e;
}

.tev-alert--success .tev-alert__icon {
  color: #22c55e;
}

.tev-alert--success .tev-alert__title {
  color: #166534;
}

.tev-alert--success .tev-alert__list {
  color: #15803d;
}

/* Compact variant for modals */
.tev-alert--compact {
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.75rem;
}

.tev-alert--compact .tev-alert__icon {
  font-size: 1rem;
  padding-top: 0.15rem;
}

.tev-alert--compact .tev-alert__list li {
  font-size: 0.82rem;
}

.tev-alert__icon {
  flex-shrink: 0;
  margin-right: 0.875rem;
  font-size: 1.25rem;
  padding-top: 0.125rem;
}

.tev-alert__content {
  flex-grow: 1;
}

.tev-alert__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.tev-alert__list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.tev-alert__list li {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
}

.tev-alert__list li+li {
  margin-top: 0.2rem;
}

/* Inline Field Error */
.tev-field-error {
  margin-top: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ef4444;
}

/* Invalid State for Inputs */
.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Empty State Component */
.tev-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: var(--card-hex);
  border: 1px dashed var(--border-hex);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.tev-empty-state__icon {
  font-size: 2.5rem;
  color: var(--muted-fg);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.tev-empty-state__message {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg-hex);
}

/* ===========================
   MOBILE NAVBAR FIXES
   =========================== */

/* ---- Global overflow prevention ---- */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .tev-navbar {
    overflow: visible;
    /* keep dropdowns visible */
  }

  /* Tighter inner bar */
  .tev-nav-inner {
    padding: 0 0.75rem;
    height: 52px;
    gap: 0;
  }

  /* Brand shrinks gracefully */
  .tev-brand {
    font-size: 1rem;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Hide desktop nav links on mobile */
  .tev-nav-links-top {
    display: none;
  }

  /* Right cluster — tight, no wrap */
  .tev-nav-right {
    gap: 0.3rem;
    flex-shrink: 0;
  }

  /* ---- Currency selector: compact pill on mobile ---- */
  .tev-user-dropdown:first-child {
    margin-right: 0 !important;
  }

  /* Currency button — strip the border box to icon-like compact */
  .tev-nav-right .tev-user-dropdown:first-of-type .tev-user-btn {
    padding: 0.2rem 0.45rem;
    font-size: 0.68rem;
    border-color: transparent;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 0.4rem;
    letter-spacing: 0;
  }

  /* Currency dropdown panel — constrained to viewport */
  .currency-dropdown {
    position: fixed !important;
    top: 56px !important;
    right: 8px !important;
    left: auto !important;
    min-width: calc(100vw - 16px) !important;
    max-width: 340px !important;
    max-height: 60vh;
    overflow-y: auto;
    z-index: var(--z-index-dropdown) !important;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  }

  /* User dropdown panel — also fixed on mobile */
  .tev-user-dropdown .tev-dropdown:not(.currency-dropdown) {
    position: fixed !important;
    top: 56px !important;
    right: 8px !important;
    left: auto !important;
    min-width: 180px !important;
    z-index: var(--z-index-dropdown) !important;
  }

  /* Login / Register buttons: shrink */
  .tev-user-btn[data-bs-target="#topbarlogin"] {
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
  }

  .btn-primary-tev[href*="register"] {
    padding: 0.2rem 0.55rem !important;
    font-size: 0.68rem !important;
  }

  /* Hamburger: show on mobile */
  .tev-hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    font-size: 1.25rem;
  }

  /* Hide the inline cart button on mobile (floating widget replaces it) */
  .tev-cart-btn#cartIconMenu {
    display: none !important;
  }

  /* ---- Mobile menu panel ---- */
  .tev-mobile-menu {
    position: fixed;
    top: 52px;
    left: 8px;
    width: calc(100vw - 16px);
    max-width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    border: 1px solid var(--border-hex);
    border-radius: 0.75rem;
    background: rgba(244, 245, 248, 0.98);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    z-index: var(--z-index-mobile-menu);

    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.985);
    transform-origin: top center;
    transition:
      opacity 0.28s ease,
      transform 0.34s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.28s ease;
    will-change: opacity, transform;
  }

  .tev-mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .tev-mob-cat-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1rem 0 0.45rem;
    padding: 0.35rem 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    position: relative;
    opacity: 0.95;
  }

  .tev-mob-cat-heading::before {
    content: "";
    width: 28px;
    height: 2px;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }

  .tev-mob-cat-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-top: 1px;
    background: linear-gradient(90deg,
        rgba(124, 58, 237, 0.28),
        rgba(124, 58, 237, 0.08),
        transparent);
  }

  .tev-mobile-menu a,
  .tev-mobile-menu .tev-mob-cat-heading,
  .tev-mobile-menu .tev-mobile-parent {
    opacity: 0;
    transform: translateY(10px);
  }

  .tev-mobile-menu.open a,
  .tev-mobile-menu.open .tev-mob-cat-heading,
  .tev-mobile-menu.open .tev-mobile-parent {
    animation: tevMenuItemIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 1) * 22ms);
  }

  /* ===========================
   PREMIUM MOBILE SUBMENU
   =========================== */
  .tev-mobile-group {
    position: relative;
    border-bottom: 1px solid rgba(221, 225, 237, 0.75);
  }

  .tev-mobile-parent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 0;
    background: transparent;
    border: 0;
    color: var(--fg-hex);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition:
      color 0.2s ease,
      transform 0.2s ease;
  }

  .tev-mobile-parent:hover {
    color: var(--gold);
  }

  .tev-mobile-parent span:first-child {
    min-width: 0;
  }

  .tev-mobile-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.16);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    transform: rotate(0deg);
    transition:
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
  }

  .tev-mobile-group.is-open .tev-mobile-chevron {
    transform: rotate(90deg);
    background: rgba(124, 58, 237, 0.14);
    border-color: rgba(124, 58, 237, 0.28);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.14);
  }

  .tev-mobile-submenu {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      height 0.34s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.22s ease;
    will-change: height, opacity;
  }

  .tev-mobile-group.is-open .tev-mobile-submenu {
    opacity: 1;
  }

  .tev-mobile-submenu a {
    display: block;
    position: relative;
    margin-left: 0.25rem;
    padding: 0.72rem 0 0.72rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted-fg);
    border-bottom: 1px solid rgba(221, 225, 237, 0.45);
    opacity: 0;
    transform: translateY(6px);
    transition:
      color 0.2s ease,
      opacity 0.24s ease,
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .tev-mobile-submenu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 1px;
    background: rgba(124, 58, 237, 0.4);
    transform: translateY(-50%);
  }

  .tev-mobile-submenu a:hover {
    color: var(--gold);
  }

  .tev-mobile-nested-group {
    margin-left: 0.25rem;
    border-bottom: 1px solid rgba(221, 225, 237, 0.45);
  }

  .tev-mobile-child-parent {
    position: relative;
    padding: 0.72rem 0 0.72rem 1rem;
    color: var(--muted-fg);
    font-size: 0.88rem;
    font-weight: 600;
  }

  .tev-mobile-child-parent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 1px;
    background: rgba(124, 58, 237, 0.4);
    transform: translateY(-50%);
  }

  .tev-mobile-nested-group .tev-mobile-submenu a {
    padding-left: 1.75rem;
  }

  .tev-mobile-group.is-open .tev-mobile-submenu a {
    opacity: 1;
    transform: translateY(0);
  }

  .tev-mobile-group.is-open .tev-mobile-submenu a:nth-child(1) {
    transition-delay: 0.04s;
  }

  .tev-mobile-group.is-open .tev-mobile-submenu a:nth-child(2) {
    transition-delay: 0.07s;
  }

  .tev-mobile-group.is-open .tev-mobile-submenu a:nth-child(3) {
    transition-delay: 0.10s;
  }

  .tev-mobile-group.is-open .tev-mobile-submenu a:nth-child(4) {
    transition-delay: 0.13s;
  }

  .tev-mobile-group.is-open .tev-mobile-submenu a:nth-child(5) {
    transition-delay: 0.16s;
  }

  .tev-mobile-group.is-open .tev-mobile-submenu a:nth-child(6) {
    transition-delay: 0.19s;
  }

  /* Single mobile category links should look like parent rows too */
  .tev-mobile-single {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 0 !important;
    color: var(--fg-hex) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-align: left;
    border-bottom: 1px solid rgba(221, 225, 237, 0.75);
    transition:
      color 0.2s ease,
      transform 0.2s ease,
      background 0.2s ease;
  }

  .tev-mobile-single:hover {
    color: var(--gold) !important;
  }

  .tev-mobile-single span {
    display: inline-flex;
    align-items: center;
  }

  .tev-mobile-menu a[href*="sale=1"] {
    color: var(--gold) !important;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .tev-mobile-menu a[href*="sale=1"]::after {
    content: " SALE";
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 6px;
    color: #ff0000;

  }

}

/* ===========================
   FLOATING CART WIDGET (mobile only)
   =========================== */
@media (max-width: 768px) {
  .tev-float-cart {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: var(--z-index-float-cart);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: var(--gold, #7c3aed);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
  }

  .tev-float-cart:hover,
  .tev-float-cart:active {
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(124, 58, 237, 0.55), 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
  }

  /* Badge on floating widget — identical logic to .tev-cart-count */
  .tev-float-cart .tev-cart-count {
    top: 0px;
    right: 0px;
    font-size: 0.58rem;
    min-width: 17px;
    height: 17px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
}

/* Desktop: hide the floating cart widget entirely */
@media (min-width: 769px) {
  .tev-float-cart {
    display: none !important;
  }
}

/* Color attribute fix */
.detail_pd_attribute .radio-text {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.detail_pd_attribute .radio-text-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid var(--border-hex);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.detail_pd_attribute .attr_value_name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-hex);
}

.detail_pd_attribute .attr_value_name.color_attr {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.detail_pd_attribute .form-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.detail_pd_attribute .form-check-input:checked+.radio-text-label {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.detail_pd_attribute .form-check-input:checked+.radio-text-label .color_attr {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Shop filter panel */
#shop_filter .tev-shop-filter-panel {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(221, 225, 237, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 14px 34px rgba(24, 28, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#shop_filter .tev-shop-filter-panel:hover {
  border-color: rgba(24, 28, 42, 0.18);
  box-shadow: 0 18px 42px rgba(24, 28, 42, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#shop_filter .tev-shop-filter-panel .shop-sidebar-block {
  margin-bottom: 1.35rem;
}

#shop_filter .tev-shop-filter-panel .shop-sidebar-block:last-of-type {
  margin-bottom: 1.15rem;
}

#shop_filter .tev-shop-filter-panel .shop-sidebar-title .h5,
#shop_filter .tev-shop-filter-panel .shop-sidebar-title h5 {
  border-bottom-color: rgba(221, 225, 237, 0.95);
}

#shop_filter .tev-shop-filter-panel #filterShopProducts {
  min-width: 8rem;
}

@media (max-width: 991.98px) {
  #shop_filter.shop-mob-toggle {
    padding: 0.75rem;
    background: rgba(248, 250, 252, 0.98);
    box-shadow: 18px 0 48px rgba(24, 28, 42, 0.18);
  }

  #shop_filter .tev-shop-filter-panel {
    min-height: calc(100vh - 1.5rem);
    padding: 2.75rem 1rem 1rem;
    box-shadow: 0 18px 44px rgba(24, 28, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  #shop_filter .tev-shop-filter-panel .shop-sidebar-toggle-btn {
    top: 0.85rem;
    right: 0.85rem;
  }
}

/* Shop filter checkbox polish */
#shop_filter .custom-checkbox {
  cursor: pointer;
}

#shop_filter .custom-checkbox .custom-control-input {
  top: 0.125rem;
  left: 0;
  z-index: 1;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  cursor: pointer;
}

#shop_filter .custom-checkbox .custom-control-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding-left: 2.15rem;
  color: var(--fg-hex);
  line-height: 1.45;
  cursor: pointer;
}

#shop_filter .custom-checkbox .custom-control-label::before {
  top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid rgba(24, 28, 42, 0.42);
  border-radius: 4px;
  background-color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(24, 28, 42, 0.08);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#shop_filter .custom-checkbox .custom-control-label::after {
  top: 0.48rem;
  left: 0.35rem;
  bottom: auto;
  width: 0.56rem;
  height: 0.34rem;
  margin: 0;
  border: 0;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  transition: opacity 0.16s ease;
}

#shop_filter .custom-checkbox:hover .custom-control-label::before {
  border-color: var(--fg-hex);
  background-color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 3px 8px rgba(24, 28, 42, 0.12);
}

#shop_filter .custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
  border-color: var(--fg-hex);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#shop_filter .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--fg-hex);
  background-color: var(--fg-hex);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 12px rgba(24, 28, 42, 0.2);
}

#shop_filter .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  opacity: 1;
}

#shop_filter .custom-checkbox .custom-control-input:checked:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 12px rgba(24, 28, 42, 0.2);
}


#loading {
  position: fixed;
  inset: 0;
  z-index: var(--z-index-preloader);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(124, 58, 237, 0.14), transparent 35%),
    linear-gradient(180deg, #f8f8fb 0%, #f2f3f8 100%);
  backdrop-filter: blur(10px);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tev-preloader-shell {
  position: relative;
  min-width: 240px;
  padding: 2rem 1.75rem 1.5rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(221, 225, 237, 0.9);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 20px 60px rgba(24, 28, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.tev-preloader-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(124, 58, 237, 0.08),
      rgba(124, 58, 237, 0.02) 35%,
      transparent 60%);
  pointer-events: none;
}

.tev-preloader-orb {
  position: absolute;
  top: -30px;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), rgba(124, 58, 237, 0.02) 70%);
  filter: blur(8px);
  animation: tevPreloaderFloat 2.8s ease-in-out infinite;
}

.tev-preloader-ring-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  margin-bottom: 1rem;
  z-index: 1;
}

.tev-preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 3px solid rgba(124, 58, 237, 0.12);
  border-top-color: var(--gold);
  border-right-color: rgba(124, 58, 237, 0.45);
  animation: tevPreloaderSpin 0.95s linear infinite;
}

.tev-preloader-ring--delay {
  inset: 8px;
  border-width: 2px;
  border-top-color: rgba(124, 58, 237, 0.45);
  border-right-color: rgba(124, 58, 237, 0.18);
  animation-duration: 1.35s;
  animation-direction: reverse;
}

.tev-preloader-brand {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.tev-preloader-text {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-fg);
  letter-spacing: 0.03em;
}

@keyframes tevPreloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tevPreloaderFloat {

  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.9;
  }

  50% {
    transform: translateY(8px) scale(1.05);
    opacity: 1;
  }
}

.modal {
  z-index: var(--z-index-modal) !important;
}

.modal-backdrop {
  z-index: var(--z-index-modal-backdrop) !important;
}
