/* Cozastore Component Harmony Stylesheet
 * Integrates application components (checkout, account, auth, order track, and SVG icons)
 * seamlessly with the Cozastore typography and color palette.
 */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-card: #f9f9f9;
  --surface-muted: #f2f2f2;
  --ink: #222222;
  --ink-2: #555555;
  --muted: #888888;
  --line: #e6e6e6;
  --line-subtle: #f0f0f0;
  --line-strong: #cccccc;

  --accent: #111827;
  --accent-hover: #1f2937;
  --accent-light: rgba(17, 24, 39, 0.06);
  --primary: #111827;
  --primary-hover: #1f2937;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

  --duration-fast: 0.15s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* 1. SVG Icons sizing */
svg.i {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  fill: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

.btn-pw-toggle svg.i,
.btn-pw-toggle svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  fill: currentColor !important;
}

.btn-pw-toggle {
  border: 1px solid #e5e7eb;
  border-left: 0;
  background: #f9fafb;
  color: #64748b;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.btn-pw-toggle:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* 2. Cozastore Palette & Button Harmonization */
.btn-primary,
.btn-editorial-primary {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-editorial-primary:hover,
.btn-editorial-primary:focus {
  background-color: #1f2937 !important;
  border-color: #1f2937 !important;
  color: #ffffff !important;
}

.btn-outline-primary {
  color: #111827 !important;
  border-color: #e5e7eb !important;
  background-color: #ffffff !important;
}

.btn-outline-primary:hover {
  background-color: #f9fafb !important;
  border-color: #d1d5db !important;
  color: #111827 !important;
}

.btn-editorial-secondary {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.btn-editorial-secondary:hover {
  background-color: #f9fafb;
  color: #111827;
}

/* Cozastore Core Color Utility Harmonization */
.bg1 {
  background-color: #111827 !important;
}

.cl1 {
  color: #111827 !important;
}

.bor1 {
  border-color: #111827 !important;
}

.hov-cl1:hover {
  color: #111827 !important;
}

.hov-btn1:hover {
  background-color: #1f2937 !important;
  border-color: #1f2937 !important;
  color: #ffffff !important;
}

.hov-btn3:hover {
  background-color: #1f2937 !important;
  border-color: #1f2937 !important;
  color: #ffffff !important;
}

.hov1:hover {
  color: #111827 !important;
}

.how-active1 {
  border-bottom: 2px solid currentColor !important;
}

.how-active1::after {
  background-color: currentColor !important;
}

/* ==========================================================================
   Navbar High-Contrast Architecture for Light & Dark Themes
   ========================================================================== */

/* Navbar Container Separation from White Background */
.wrap-menu-desktop {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.fix-menu-desktop .wrap-menu-desktop {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

/* Brand Logo Definition */
.brand-text-logo {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  text-transform: uppercase !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  transition: color 0.2s ease !important;
}

.brand-text-logo .brand-dot {
  color: #ef4444 !important;
  margin-left: 1px !important;
  font-weight: 900 !important;
}

/* Main Menu Navigation Links */
.limiter-menu-desktop {
  flex-wrap: nowrap !important;
  gap: 12px;
}

.menu-desktop {
  flex: 1 1 auto;
  min-width: 0;
}

.main-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 2px;
}

.main-menu>li {
  padding: 12px 2px !important;
  margin: 0 2px !important;
  flex-shrink: 0 !important;
}

.main-menu>li>a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 8px 12px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.wrap-icon-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* Redesigned Category Showcase Grid (Desktop + Mobile) */
.jp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.jp-cat-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.jp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.jp-cat-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.jp-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.jp-cat-card:hover .jp-cat-media img {
  transform: scale(1.04);
}

.jp-cat-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jp-cat-monogram {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.jp-cat-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jp-cat-info {
  min-width: 0;
}

.jp-cat-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jp-cat-sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jp-cat-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jp-cat-card:hover .jp-cat-arrow {
  background: #0f172a;
  color: #ffffff;
  transform: translateX(2px);
}

@media (max-width: 767.98px) {
  .jp-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .jp-cat-body {
    padding: 10px 12px;
  }
  .jp-cat-title {
    font-size: 13.5px;
  }
  .jp-cat-sub {
    font-size: 11.5px;
  }
  .jp-cat-arrow {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

[data-theme="dark"] .jp-cat-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .jp-cat-media,
[data-theme="dark"] .jp-cat-placeholder {
  background: #0f172a;
  border-color: #334155;
}
[data-theme="dark"] .jp-cat-monogram {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
[data-theme="dark"] .jp-cat-title {
  color: #f8fafc;
}
[data-theme="dark"] .jp-cat-sub {
  color: #94a3b8;
}
[data-theme="dark"] .jp-cat-arrow {
  background: #334155;
  color: #f8fafc;
}

.main-menu>li>a:hover {
  color: #ef4444 !important;
}

.main-menu>li.active-menu>a {
  color: #0f172a !important;
  font-weight: 700 !important;
  position: relative;
}

.main-menu>li.active-menu>a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0px;
  left: 18px;
  right: 18px;
  height: 2.5px;
  background-color: #0f172a;
  border-radius: 2px;
}

/* Desktop Sub-menu Dropdown */
.sub-menu {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
  padding: 6px 0 !important;
  min-width: 195px !important;
  z-index: 1200 !important;
}

.sub-menu a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #334155 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 8px 18px !important;
  transition: all 0.15s ease !important;
}

.sub-menu a:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  padding-left: 22px !important;
}

/* Navbar Icons (High Contrast) */
.icon-header-item {
  color: #0f172a !important;
  font-size: 20px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.icon-header-item:hover {
  color: #ef4444 !important;
  transform: translateY(-1px);
}

/* Theme Toggle Button */
[data-theme-toggle] {
  cursor: pointer;
  transition: transform 0.2s ease !important;
}

[data-theme-toggle]:hover {
  transform: scale(1.15) !important;
}

[data-theme-toggle] i {
  display: inline-block;
  line-height: 1;
}

[data-theme-toggle] .theme-icon-sun {
  display: none !important;
}

[data-theme-toggle] .theme-icon-moon {
  display: inline-block !important;
}

[data-theme="dark"] [data-theme-toggle] .theme-icon-sun {
  display: inline-block !important;
}

[data-theme="dark"] [data-theme-toggle] .theme-icon-moon {
  display: none !important;
}

/* Notification Badge (Vibrant Red Pill Badge) */
.icon-header-noti {
  position: relative !important;
}

.icon-header-noti::after {
  content: attr(data-notify);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 15px !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: -4px !important;
  right: 2px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  border-radius: 9999px !important;
  background-color: #ef4444 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

/* Topbar Text & Clean Spacing (No ugly vertical cage lines) */
.top-bar {
  background-color: var(--top-bar-bg, #0f172a) !important;
  border-bottom: 1px solid var(--top-bar-border, rgba(255, 255, 255, 0.08)) !important;
  height: 40px !important;
}

.top-bar .left-top-bar {
  color: var(--top-bar-text-muted, #94a3b8) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}

.top-bar a,
.right-top-bar a,
.right-top-bar a:first-child {
  color: var(--top-bar-text, #cbd5e1) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  border: none !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  transition: color 0.15s ease !important;
}

.top-bar a:hover,
.right-top-bar a:hover {
  color: var(--top-bar-text-hover, #ffffff) !important;
}

.top-bar a.active,
.right-top-bar a.active {
  color: var(--top-bar-text-hover, #ffffff) !important;
  font-weight: 600 !important;
}

.topbar-track-btn i {
  font-size: 13px !important;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar-track-btn:hover i {
  opacity: 1;
  transform: translateX(1px);
}

/* Mobile Header Clean Ergonomics (Active ONLY on screens < 992px) */
@media (max-width: 991.98px) {
  .container-menu-desktop {
    display: none !important;
  }

  .wrap-header-mobile {
    height: 60px !important;
    padding: 0 12px 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  }

  .wrap-header-mobile .logo-mobile {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    padding: 0 !important;
    height: auto !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .wrap-header-mobile .logo-mobile a {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }

  .wrap-header-mobile .brand-text-logo {
    font-size: 17px !important;
    letter-spacing: -0.4px !important;
    white-space: nowrap !important;
  }

  .wrap-header-mobile .wrap-icon-header {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    margin-right: 6px !important;
    margin-left: auto !important;
  }

  .wrap-header-mobile .icon-header-item {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 19px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #0f172a !important;
  }

  .wrap-header-mobile .icon-header-noti::after {
    top: -3px !important;
    right: -3px !important;
    min-width: 15px !important;
    height: 15px !important;
    font-size: 9px !important;
    line-height: 13px !important;
    padding: 0 3px !important;
    border-width: 1.5px !important;
  }

  .wrap-header-mobile .btn-show-menu-mobile {
    flex-shrink: 0 !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: scale(0.72) !important;
    transform-origin: center center !important;
    cursor: pointer !important;
  }

  .hamburger-inner,
  .hamburger-inner::after,
  .hamburger-inner::before {
    background-color: #0f172a !important;
    border-radius: 2px !important;
  }

  .btn-show-menu-mobile.is-active .hamburger-inner,
  .btn-show-menu-mobile.is-active .hamburger-inner::after,
  .btn-show-menu-mobile.is-active .hamburger-inner::before {
    background-color: #0f172a !important;
  }

  /* Mobile Menu Slide-out Styling */
  .menu-mobile {
    background-color: #ffffff !important;
    border-bottom: 2px solid #e5e7eb !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  }

  .topbar-mobile {
    background-color: var(--top-bar-bg, #0f172a) !important;
    border-bottom: 1px solid var(--top-bar-border, rgba(255, 255, 255, 0.08)) !important;
  }

  .topbar-mobile .left-top-bar {
    color: var(--top-bar-text-muted, #94a3b8) !important;
    font-size: 12px !important;
  }

  .topbar-mobile a {
    color: var(--top-bar-text, #cbd5e1) !important;
    font-size: 12px !important;
    border: none !important;
  }

  .topbar-mobile a:hover {
    color: var(--top-bar-text-hover, #ffffff) !important;
  }

  .main-menu-m {
    background-color: #ffffff !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .main-menu-m>li>a {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    line-height: 2.6 !important;
    padding: 6px 20px !important;
    transition: all 0.15s ease !important;
  }

  .main-menu-m>li>a:hover {
    color: #ef4444 !important;
    padding-left: 24px !important;
  }

  .arrow-main-menu-m {
    color: #64748b !important;
  }

  .sub-menu-m {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 8px 15px 8px 30px !important;
  }

  .sub-menu-m a {
    color: #334155 !important;
    font-size: 13.5px !important;
    line-height: 2.2 !important;
  }

  .sub-menu-m a:hover {
    color: #ef4444 !important;
    font-weight: 600 !important;
  }
}

/* Strictly hide Mobile Header and Mobile Menu on Desktop Screens (>= 992px) */
@media (min-width: 992px) {

  .wrap-header-mobile,
  .menu-mobile {
    display: none !important;
  }
}

/* Customer Commitments (Trust Strip) Architecture */
.sec-trust-bar {
  background-color: #fcfcfd !important;
  border-top: 1px solid #e5e7eb !important;
}

.trust-bar-container {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.trust-bar-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background-color: #f3f4f6 !important;
  color: #111827 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.trust-bar-container:hover .trust-bar-icon-box {
  background-color: #e5e7eb !important;
}

.trust-bar-title {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #111827 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  margin-bottom: 3px !important;
  line-height: 1.25 !important;
}

.trust-bar-desc {
  font-size: 12px !important;
  color: #6b7280 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}


/* 3. Form controls */
.form-control,
.form-select {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  padding: 10px 14px;
  height: 44px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* 4. Auth Pages (Login, Register, Forgot Password) */
.auth-page-wrapper {
  background-color: #f7f7f7;
  min-height: calc(100vh - 200px);
  padding: 60px 15px;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

@media (max-width: 575.98px) {
  .auth-page-wrapper {
    padding: 30px 14px !important;
  }

  .auth-card {
    border-radius: 14px !important;
    padding: 24px 18px !important;
  }

  .input-group {
    display: flex !important;
    width: 100% !important;
  }

  .input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
  }

  .input-group-append {
    display: flex !important;
  }

  .input-group-append .btn-pw-toggle {
    height: 100% !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* 5. Checkout & Progress */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #888888;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #f2f2f2;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.progress-step.is-active {
  color: #222222;
}

.progress-step.is-active .step-number {
  background-color: #222222;
  color: #ffffff;
  border-color: #222222;
}

.progress-line {
  flex-grow: 1;
  height: 1px;
  background-color: #e6e6e6;
  max-width: 80px;
  margin: 0 12px;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .checkout-card {
    padding: 18px 16px;
    margin-bottom: 16px;
  }
}

.checkout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e6e6;
}

.checkout-card-title {
  font-size: 16px;
  font-weight: 650;
  color: #222222;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #222222;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.checkout-summary-box {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 24px;
  position: sticky;
  top: 90px;
}

.shipping-method-card {
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  margin-bottom: 8px;
  transition: all 0.18s ease;
}

.shipping-method-card:hover {
  border-color: #888888 !important;
}

.shipping-method-card.border-primary {
  border-color: #111827 !important;
  background-color: #f9fafb !important;
}

/* 6. Account Portal */
.account-wrapper {
  padding: 40px 0 60px;
  background: #f7f7f7;
}

.account-nav-mobile {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .account-nav-mobile {
    display: none;
  }
}

.account-nav-pill {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  color: #555555;
  text-decoration: none;
  white-space: nowrap;
}

.account-nav-pill.active {
  background: #222222;
  border-color: #222222;
  color: #ffffff;
}

.account-sidebar-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.account-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #222222;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e6e6e6;
}

.account-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #555555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.account-nav-link:hover,
.account-nav-link.active {
  background: #f2f2f2;
  color: #222222;
}

.account-card,
.account-welcome-banner {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.account-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eef0f3;
}

.account-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.account-stat-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 7. Order Tracking Timeline */
.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 24px;
  border-left: 2px solid #e6e6e6;
}

.timeline-item:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #888888;
}

.timeline-item.is-done .timeline-dot {
  background: #222222;
  border-color: #222222;
}

.timeline-item.is-current .timeline-dot {
  background: #111827;
  border-color: #111827;
}

/* 8. Bootstrap 5 Utility Polyfills for BS4 Compatibility */
.fs-1 {
  font-size: 2.5rem !important;
}

.fs-2 {
  font-size: 2rem !important;
}

.fs-3 {
  font-size: 1.75rem !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

.fs-6 {
  font-size: 1rem !important;
}

.fs-2xl {
  font-size: 1.85rem !important;
}

.g-1 {
  margin-right: -0.25rem;
  margin-left: -0.25rem;
}

.g-1>* {
  padding-right: 0.25rem;
  padding-left: 0.25rem;
}

.g-2 {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.g-2>* {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.g-3 {
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.g-3>* {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.g-4 {
  margin-right: -1rem;
  margin-left: -1rem;
}

.g-4>* {
  padding-right: 1rem;
  padding-left: 1rem;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.d-grid {
  display: grid !important;
}

.bg-soft {
  background-color: #f7f7f7 !important;
}

.text-ink {
  color: #222222 !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

/* 9. Brand Logo Precision Alignment */
.brand-text-logo {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #222222;
  text-decoration: none !important;
}

.logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.logo-mobile {
  display: flex !important;
  align-items: center !important;
}

.logo-mobile a {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  text-decoration: none !important;
}

.logo-mobile img {
  position: static !important;
  margin: 0 !important;
}

/* Progressive enhancement: Ensure hero slider typography is visible without delay */
.layer-slick1,
.layer-slick1.visible-false {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 10. Modern Dropdown Menu Styling */
.main-menu>li>.sub-menu {
  border-radius: 10px;
  overflow: visible;
  z-index: 1200;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #eef0f3;
  padding: 8px 0;
  min-width: 200px;
}

.main-menu>li>.sub-menu li a {
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
}

.main-menu>li>.sub-menu li a:hover {
  background-color: #f8f9fa;
  color: #111827;
  padding-left: 26px;
}

/* 11. Unified Input Group Styling (Password Toggle & Appended Addons) */
.input-group {
  position: relative !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
}

.input-group>.form-control {
  position: relative !important;
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  margin-bottom: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-color: #e6e6e6 !important;
  height: 44px !important;
}

.input-group-append {
  display: flex !important;
  align-items: stretch !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.input-group>.btn-pw-toggle,
.input-group-append .btn-pw-toggle,
.input-group>.btn.btn-pw-toggle,
.input-group-append .btn {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  width: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
  border: 1px solid #e6e6e6 !important;
  border-left: 0 !important;
  background-color: #f8f9fa !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.input-group>.btn-pw-toggle:hover,
.input-group-append .btn-pw-toggle:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #d1d5db !important;
}

.input-group:focus-within>.form-control {
  border-color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08) !important;
  z-index: 3 !important;
}

.input-group:focus-within>.btn-pw-toggle,
.input-group:focus-within .input-group-append .btn-pw-toggle {
  border-color: #111827 !important;
  color: #111827 !important;
  z-index: 4 !important;
}

/* 11b. Empty Products State Styling */
.empty-products-state {
  padding: 60px 20px 80px 20px !important;
  width: 100% !important;
  clear: both !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 320px !important;
}

.empty-products-state .empty-state-icon i {
  color: #94a3b8 !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.empty-products-state h4 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px !important;
}

.empty-products-state p {
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.empty-products-state a.hov-btn1 {
  background: #111827 !important;
  color: #ffffff !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 28px !important;
  height: 46px !important;
}

.empty-products-state a.hov-btn1:hover {
  background: #374151 !important;
  color: #ffffff !important;
}

/* 11b. Empty Products State Styling */
.empty-products-state {
  padding: 60px 20px 80px 20px !important;
  width: 100% !important;
  clear: both !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 320px !important;
}

.empty-products-state .empty-state-icon i {
  color: #94a3b8 !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.empty-products-state h4 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px !important;
}

.empty-products-state p {
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.empty-products-state a.hov-btn1 {
  background: #111827 !important;
  color: #ffffff !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 28px !important;
  height: 46px !important;
}

.empty-products-state a.hov-btn1:hover {
  background: #374151 !important;
  color: #ffffff !important;
}

/* 12. Mobile Responsive Shopping Cart (< 768px) */
@media (max-width: 768px) {
  .wrap-table-shopping-cart {
    border: none !important;
    overflow: visible !important;
  }

  .table-shopping-cart {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }

  .table-shopping-cart tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .table-shopping-cart tr.table_head {
    display: none !important;
  }

  .table-shopping-cart tr.table_row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
  }

  .table-shopping-cart tr.table_row td {
    padding: 0 !important;
    border: none !important;
    height: auto !important;
  }

  .table-shopping-cart tr.table_row td.column-1 {
    width: 72px !important;
    flex-shrink: 0 !important;
    margin-right: 14px !important;
  }

  .table-shopping-cart tr.table_row td.column-1 .how-itemcart1 {
    width: 72px !important;
    height: 72px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    border: 1px solid #f1f3f5 !important;
    margin: 0 !important;
  }

  .table-shopping-cart tr.table_row td.column-1 .how-itemcart1 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .table-shopping-cart tr.table_row td.column-2 {
    flex: 1 !important;
    min-width: 0 !important;
    padding-right: 32px !important;
    /* Space for remove button */
    font-size: 14px !important;
  }

  .table-shopping-cart tr.table_row td.column-3 {
    display: none !important;
  }

  .table-shopping-cart tr.table_row td.p-r-20 {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: auto !important;
    padding: 0 !important;
    z-index: 2 !important;
  }

  .table-shopping-cart tr.table_row td.column-4 {
    margin-left: 86px !important;
    /* Align under title (72px + 14px) */
    margin-top: 12px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }

  .table-shopping-cart tr.table_row td.column-4 .wrap-num-product {
    width: 104px !important;
    height: 36px !important;
    margin: 0 !important;
    border-radius: 6px !important;
  }

  .table-shopping-cart tr.table_row td.column-5 {
    margin-left: auto !important;
    margin-top: 12px !important;
    width: auto !important;
    padding: 0 !important;
    text-align: right !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
  }

  /* Cart Bottom Buttons on Mobile */
  .wrap-table-shopping-cart+div {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px 0 !important;
    border: none !important;
  }

  .wrap-table-shopping-cart+div>div {
    display: flex !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  .wrap-table-shopping-cart+div>div>a,
  .wrap-table-shopping-cart+div>div>button {
    flex: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    height: 44px !important;
    border-radius: 8px !important;
  }

  .wrap-table-shopping-cart+div>button {
    width: 100% !important;
    margin: 0 !important;
    height: 44px !important;
    border-radius: 8px !important;
  }

  /* Coupon form on Mobile */
  .size-117 {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    height: 46px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
  }

  .size-118 {
    width: 100% !important;
    height: 46px !important;
    border-radius: 8px !important;
  }

  /* Cart Totals Box on Mobile */
  .col-sm-10.col-lg-7.col-xl-5 .bor10 {
    border-radius: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 24px 18px !important;
  }

  .size-116.bg3 {
    border-radius: 10px !important;
    height: 50px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
}

/* ==========================================================================
   Homepage & Storefront Obsidian Monochrome Color Palette & Contrast Enhancements
   ========================================================================== */

/* 1. Hero Slider Proportions & Obsidian Shop Button */
.item-slick1 {
  min-height: 440px !important;
  max-height: 560px !important;
  height: 56vh !important;
}

.item-slick1.jp-hero-has-media {
  aspect-ratio: 3 / 1;
  height: auto !important;
  min-height: 300px !important;
  max-height: 600px !important;
}

@media (max-width: 991px) {
  .item-slick1 {
    min-height: 380px !important;
    max-height: 480px !important;
    height: 50vh !important;
  }
  .item-slick1.jp-hero-has-media {
    aspect-ratio: 16 / 7;
    height: auto !important;
    min-height: 260px !important;
    max-height: 440px !important;
  }
}

.jp-hero-content {
  padding-top: 40px;
  padding-bottom: 30px;
}

.jp-hero-sub {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
}

.jp-hero-title {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -1px;
  padding-top: 12px;
  padding-bottom: 26px;
  line-height: 1.15;
  margin: 0;
}

@media (max-width: 767px) {
  .item-slick1.jp-hero-has-media {
    aspect-ratio: 16 / 9;
    min-height: 210px !important;
    max-height: 300px !important;
  }
  .jp-hero-content {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    max-width: 78%;
  }
  .jp-hero-sub {
    font-size: 10.5px;
    letter-spacing: 1.4px;
  }
  .jp-hero-title {
    font-size: 24px !important;
    letter-spacing: -0.4px;
    padding-top: 6px;
    padding-bottom: 14px;
    line-height: 1.15;
  }
  .hero-shop-btn {
    height: 38px !important;
    min-width: 130px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
  }
}

/* Promo Strip Cards (Viable-inspired rounded dual/single promo cards) */
.jp-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.jp-promo-grid.jp-promo-grid-single {
  grid-template-columns: 1fr;
}

.jp-promo-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 230px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jp-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.jp-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.4s ease;
}

.jp-promo-card:hover .jp-promo-bg {
  transform: scale(1.03);
}

.jp-promo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.48) 58%, rgba(15, 23, 42, 0.12) 100%);
}

.jp-promo-content {
  position: relative;
  z-index: 3;
  padding: 32px 36px;
  max-width: 75%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.jp-promo-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.jp-promo-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.jp-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.jp-promo-card:hover .jp-promo-btn {
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .jp-promo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .jp-promo-card {
    min-height: 145px;
    border-radius: 14px;
  }
  .jp-promo-content {
    padding: 18px 20px;
    max-width: 82%;
    gap: 6px;
  }
  .jp-promo-eyebrow {
    font-size: 10.5px;
    letter-spacing: 1.4px;
  }
  .jp-promo-title {
    font-size: 18px;
    line-height: 1.2;
  }
  .jp-promo-btn {
    margin-top: 4px;
    padding: 7px 18px;
    font-size: 12.5px;
  }
}

.hero-shop-btn {
  height: 48px;
  min-width: 175px;
  padding: 0 24px;
  background: #111827;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.18);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-shop-btn:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.28);
  color: #ffffff !important;
}

/* 2. Category Banner Cards Modernization */
.sec-banner .block1 {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  background: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sec-banner .block1:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
  border-color: #d1d5db !important;
}

.sec-banner .block1 img {
  transition: transform 0.4s ease !important;
}

.sec-banner .block1:hover img {
  transform: scale(1.05) !important;
}

.sec-banner .block1-txt {
  background-color: transparent !important;
}

.sec-banner .block1-txt:hover {
  background-color: rgba(17, 24, 39, 0.15) !important;
}

.sec-banner .block1-txt-child1 {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: inline-flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.sec-banner .block1:hover .block1-txt-child1 {
  background: #111827;
  border-color: #111827;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.25);
}

.sec-banner .block1-name {
  color: #111827 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.2 !important;
  transition: color 0.2s ease !important;
}

.sec-banner .block1:hover .block1-name {
  color: #ffffff !important;
}

.sec-banner .block1-info {
  color: #6b7280 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.sec-banner .block1:hover .block1-info {
  color: #d1d5db !important;
}

.sec-banner .block1-txt-child2 {
  border-bottom: none !important;
}

.sec-banner .block1-link {
  background: #111827;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 3. Product Cards Typography, Image Hover & High Contrast */
.block2-pic {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f8fafc;
}

.block2-pic .block2-img-primary {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.block2-pic .block2-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.block2:hover .block2-pic .block2-img-hover,
.block2-pic:hover .block2-img-hover {
  opacity: 1;
  transform: scale(1.05);
}

.block2:hover .block2-pic .block2-img-primary,
.block2-pic:hover .block2-img-primary {
  transform: scale(1.05);
}

/* Product Card Quick Actions (Add to Cart / Buy Now) */
.block2-pic {
  position: relative;
  overflow: hidden;
}

.block2-action-wrap {
  bottom: -60px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: bottom 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.block2:hover .block2-action-wrap,
.block2-pic:hover .block2-action-wrap {
  bottom: 0px;
  opacity: 1;
  pointer-events: auto;
}

.btn-card-action {
  height: 38px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-card-cart {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #111827 !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-card-cart:hover {
  background: #111827 !important;
  color: #ffffff !important;
  border-color: #111827 !important;
}

.btn-card-buynow {
  background: #111827 !important;
  color: #ffffff !important;
  border: 1px solid #111827 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.btn-card-buynow:hover {
  background: #374151 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

.btn-card-soldout {
  background: rgba(243, 244, 246, 0.95) !important;
  color: #4b5563 !important;
  border: 1px solid #d1d5db !important;
  font-size: 12.5px;
}

[data-theme="dark"] .btn-card-cart {
  background: rgba(30, 41, 59, 0.95) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .btn-card-cart:hover {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .btn-card-buynow {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .btn-card-buynow:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
}

@media (max-width: 768px) {
  /* On mobile touch screens, ensure actions are reachable */
  .block2-action-wrap {
    position: relative;
    bottom: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 6px 4px 0 4px !important;
  }
  .btn-card-action {
    height: 32px;
    font-size: 11px;
    padding: 0 4px;
    border-radius: 4px;
  }
}

.block2-txt {
  min-height: 54px;
}

.block2-txt .js-name-b2 {
  color: #111827 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  transition: color 0.18s ease;
}

.block2-txt .js-name-b2:hover {
  color: #000000 !important;
}

.block2-txt .price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  min-height: 24px;
}

.block2-txt .price-wrap .cl3 {
  color: #111827 !important;
  font-weight: 700 !important;
}

.block2-txt .price-wrap .cl1 {
  color: #dc2626 !important;
  font-weight: 700 !important;
}

@media (max-width: 575.98px) {

  .isotope-grid>.col-6,
  .isotope-item.col-6 {
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-bottom: 18px !important;
  }

  .block2-pic {
    border-radius: 8px;
    overflow: hidden;
  }

  .block2-txt {
    padding-top: 8px !important;
  }

  .block2-txt .js-name-b2 {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .block2-txt .price-wrap {
    font-size: 13px !important;
    gap: 5px !important;
  }
}

/* 4. Product Overview Tabs & Category Links */
.filter-tope-group a,
.filter-tope-group button {
  color: #4b5563 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  padding-bottom: 4px !important;
  border-bottom: 2px solid transparent !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.filter-tope-group a:hover,
.filter-tope-group button:hover {
  color: #111827 !important;
}

.filter-tope-group a.how-active1,
.filter-tope-group button.how-active1 {
  color: #111827 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #111827 !important;
}

.filter-tope-group a.how-active1::after,
.filter-tope-group button.how-active1::after {
  background-color: #111827 !important;
}

/* 5. Filter & Search Controls */
.js-show-filter,
.js-show-search {
  background: #ffffff !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 8px !important;
  color: #374151 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  height: 42px !important;
  padding: 0 16px !important;
  transition: all 0.2s ease !important;
}

.js-show-filter:hover,
.js-show-search:hover,
.js-show-filter.show-filter,
.js-show-search.show-search {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
}

.js-show-filter:hover i,
.js-show-search:hover i,
.js-show-filter.show-filter i,
.js-show-search.show-search i {
  color: #ffffff !important;
}

/* 6. Filter Drawer Links & Layout */
.panel-filter .wrap-filter {
  background-color: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 24px 30px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

.panel-filter .mtext-102 {
  color: #111827 !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
}

.filter-link {
  color: #4b5563 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  border-bottom: 1.5px solid transparent !important;
  padding-bottom: 2px !important;
  transition: all 0.18s ease !important;
}

.filter-link:hover {
  color: #111827 !important;
  border-bottom-color: #111827 !important;
}

.filter-link-active {
  color: #111827 !important;
  font-weight: 700 !important;
  border-bottom-color: #111827 !important;
}

/* 7. View All Products Button */
.view-all-products-btn {
  height: 48px;
  min-width: 220px;
  padding: 0 28px;
  background: #ffffff;
  border: 2px solid #111827;
  color: #111827;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-all-products-btn:hover {
  background: #111827;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.18);
}

/* 8. Back to Top Button */
.btn-back-to-top {
  background-color: #111827 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.25) !important;
}

.btn-back-to-top:hover {
  background-color: #1f2937 !important;
}

.symbol-btn-back-to-top {
  color: #ffffff !important;
}

/* 9. Reviews Section Cards */
.sec-reviews .bor10 {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s ease !important;
}

.sec-reviews .bor10:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  border-color: #d1d5db !important;
}

/* ==========================================================================
   Complete Dark Mode Architecture ([data-theme="dark"])
   ========================================================================== */
[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="dark"] body {
  background-color: #0b0f19 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .bg0 {
  background-color: #0b0f19 !important;
}

[data-theme="dark"] .bg6 {
  background-color: #111827 !important;
}

[data-theme="dark"] .bg-white {
  background-color: #111827 !important;
}

[data-theme="dark"] .cl0 {
  color: #ffffff !important;
}

[data-theme="dark"] .cl1 {
  color: #f8fafc !important;
}

[data-theme="dark"] .cl2 {
  color: #f8fafc !important;
}

[data-theme="dark"] .cl3 {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .cl4 {
  color: #94a3b8 !important;
}

[data-theme="dark"] .cl5 {
  color: #ffffff !important;
}

[data-theme="dark"] .cl6 {
  color: #94a3b8 !important;
}

[data-theme="dark"] .cl8 {
  color: #cbd5e1 !important;
}

/* Dark Navbar & Menus */
[data-theme="dark"] .top-bar {
  background-color: var(--top-bar-bg, #030712) !important;
  border-bottom: 1px solid var(--top-bar-border, #1f2937) !important;
}

[data-theme="dark"] .top-bar a,
[data-theme="dark"] .right-top-bar a {
  color: var(--top-bar-text, #cbd5e1) !important;
}

[data-theme="dark"] .top-bar a:hover,
[data-theme="dark"] .right-top-bar a:hover,
[data-theme="dark"] .top-bar a.active,
[data-theme="dark"] .right-top-bar a.active {
  color: var(--top-bar-text-hover, #ffffff) !important;
}

[data-theme="dark"] .wrap-menu-desktop {
  background-color: #0b0f19 !important;
  border-bottom: 1px solid #1f2937 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .fix-menu-desktop .wrap-menu-desktop {
  background-color: rgba(11, 15, 25, 0.98) !important;
  border-bottom: 1px solid #1f2937 !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 991.98px) {
  [data-theme="dark"] .wrap-header-mobile {
    background-color: #0b0f19 !important;
    border-bottom: 1px solid #1f2937 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  }
}

@media (min-width: 992px) {

  [data-theme="dark"] .wrap-header-mobile,
  [data-theme="dark"] .menu-mobile {
    display: none !important;
  }
}

[data-theme="dark"] .brand-text-logo {
  color: #ffffff !important;
}

[data-theme="dark"] .brand-text-logo .brand-dot {
  color: #ef4444 !important;
}

[data-theme="dark"] .main-menu>li>a {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .main-menu>li>a:hover {
  color: #ef4444 !important;
}

[data-theme="dark"] .main-menu>li.active-menu>a {
  color: #ffffff !important;
}

[data-theme="dark"] .main-menu>li.active-menu>a::after {
  background-color: #ffffff !important;
}

[data-theme="dark"] .sub-menu {
  background-color: #0f172a !important;
  border: 1px solid #1e293b !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .sub-menu a {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .sub-menu a:hover {
  color: #ffffff !important;
  background-color: #1e293b !important;
}

[data-theme="dark"] .icon-header-item {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .icon-header-item:hover {
  color: #ef4444 !important;
}

[data-theme="dark"] .icon-header-noti::after {
  background-color: #ef4444 !important;
  color: #ffffff !important;
  border-color: #0b0f19 !important;
}

[data-theme="dark"] .hamburger-inner,
[data-theme="dark"] .hamburger-inner::after,
[data-theme="dark"] .hamburger-inner::before {
  background-color: #ffffff !important;
}

[data-theme="dark"] .btn-show-menu-mobile.is-active .hamburger-inner,
[data-theme="dark"] .btn-show-menu-mobile.is-active .hamburger-inner::after,
[data-theme="dark"] .btn-show-menu-mobile.is-active .hamburger-inner::before {
  background-color: #ffffff !important;
}

[data-theme="dark"] .menu-mobile {
  background-color: #0b0f19 !important;
  border-top: 1px solid #1f2937 !important;
  border-bottom: 2px solid #1f2937 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .topbar-mobile {
  background-color: var(--top-bar-bg, #030712) !important;
  border-bottom: 1px solid var(--top-bar-border, #1f2937) !important;
}

[data-theme="dark"] .main-menu-m {
  background-color: #0b0f19 !important;
}

[data-theme="dark"] .main-menu-m>li>a {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .arrow-main-menu-m {
  color: #94a3b8 !important;
}

[data-theme="dark"] .sub-menu-m {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
}

[data-theme="dark"] .sub-menu-m a {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .sub-menu-m a:hover {
  color: #ef4444 !important;
}

/* Dark Page Header */
[data-theme="dark"] .sec-page-header {
  background: #111827 !important;
  border-bottom: 1px solid #1f2937 !important;
}

[data-theme="dark"] .page-title {
  color: #ffffff !important;
}

[data-theme="dark"] .bread-crumb a {
  color: #94a3b8 !important;
}

[data-theme="dark"] .bread-crumb a:hover {
  color: #ffffff !important;
}

[data-theme="dark"] .bread-crumb span {
  color: #e2e8f0 !important;
}

/* Dark Hero Banner */
[data-theme="dark"] .item-slick1 {
  background: linear-gradient(135deg, #0b0f19 0%, #111827 50%, #030712 100%) !important;
  border-bottom: 1px solid #1f2937 !important;
}

[data-theme="dark"] .item-slick1 h2 {
  color: #ffffff !important;
}

[data-theme="dark"] .item-slick1 span {
  color: #94a3b8 !important;
}

[data-theme="dark"] .hero-shop-btn {
  background: #ffffff !important;
  color: #0b0f19 !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .hero-shop-btn:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
}

/* Dark Category Banner Cards */
[data-theme="dark"] .sec-banner .block1 {
  background: #111827 !important;
  border-color: #1f2937 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .sec-banner .block1-txt-child1 {
  background: rgba(17, 24, 39, 0.94) !important;
  border: 1px solid #1f2937 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .sec-banner .block1-name {
  color: #ffffff !important;
}

[data-theme="dark"] .sec-banner .block1-info {
  color: #94a3b8 !important;
}

[data-theme="dark"] .sec-banner .block1:hover .block1-txt-child1 {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

[data-theme="dark"] .sec-banner .block1:hover .block1-name {
  color: #0b0f19 !important;
}

[data-theme="dark"] .sec-banner .block1:hover .block1-info {
  color: #4b5563 !important;
}

[data-theme="dark"] .sec-banner .block1-link {
  background: #ffffff !important;
  color: #0b0f19 !important;
}

/* Dark Product Cards */
[data-theme="dark"] .block2-txt .js-name-b2 {
  color: #f8fafc !important;
}

[data-theme="dark"] .block2-txt .js-name-b2:hover {
  color: #ffffff !important;
}

[data-theme="dark"] .block2-txt .price-wrap .cl3 {
  color: #ffffff !important;
}

[data-theme="dark"] .block2-txt .price-wrap .cl1 {
  color: #f87171 !important;
}

[data-theme="dark"] .block2-pic {
  background-color: #111827 !important;
}

/* Dark Product Overview Tabs & Drawer */
[data-theme="dark"] .filter-tope-group a,
[data-theme="dark"] .filter-tope-group button {
  color: #94a3b8 !important;
}

[data-theme="dark"] .filter-tope-group a:hover,
[data-theme="dark"] .filter-tope-group button:hover {
  color: #ffffff !important;
}

[data-theme="dark"] .filter-tope-group a.how-active1,
[data-theme="dark"] .filter-tope-group button.how-active1,
[data-theme="dark"] .how-active1 {
  color: #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  border-bottom-color: #ffffff !important;
}

[data-theme="dark"] .filter-tope-group a.how-active1::after,
[data-theme="dark"] .filter-tope-group button.how-active1::after,
[data-theme="dark"] .how-active1::after {
  background-color: #ffffff !important;
}

/* Dark Mode SVG Product Placeholders (Inverts to subtle slate instead of white) */
[data-theme="dark"] img[src^="data:image/svg+xml"] {
  filter: invert(0.88) hue-rotate(180deg) contrast(0.9);
  border-radius: 8px;
}

[data-theme="dark"] .js-show-filter,
[data-theme="dark"] .js-show-search {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .js-show-filter:hover,
[data-theme="dark"] .js-show-search:hover,
[data-theme="dark"] .js-show-filter.show-filter,
[data-theme="dark"] .js-show-search.show-search {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0b0f19 !important;
}

[data-theme="dark"] .js-show-filter.show-filter i,
[data-theme="dark"] .js-show-search.show-search i,
[data-theme="dark"] .js-show-filter:hover i,
[data-theme="dark"] .js-show-search:hover i {
  color: #0b0f19 !important;
}

[data-theme="dark"] .panel-filter .wrap-filter {
  background-color: #111827 !important;
  border-color: #1f2937 !important;
}

[data-theme="dark"] .panel-filter .mtext-102 {
  color: #ffffff !important;
}

[data-theme="dark"] .filter-link {
  color: #94a3b8 !important;
}

[data-theme="dark"] .filter-link:hover,
[data-theme="dark"] .filter-link-active {
  color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

[data-theme="dark"] .view-all-products-btn {
  background: #111827 !important;
  border-color: #e2e8f0 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .view-all-products-btn:hover {
  background: #ffffff !important;
  color: #0b0f19 !important;
}

/* Dark Shopping Cart */
[data-theme="dark"] .cart-modern-card,
[data-theme="dark"] .cart-summary-card,
[data-theme="dark"] .card {
  background: #111827 !important;
  border-color: #1f2937 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .cart-table th {
  background: #161e2e !important;
  color: #94a3b8 !important;
  border-bottom-color: #1f2937 !important;
}

[data-theme="dark"] .cart-table td {
  border-bottom-color: #1f2937 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .cart-item-title {
  color: #ffffff !important;
}

[data-theme="dark"] .cart-actions-bar {
  background-color: #161e2e !important;
  border-top-color: #1f2937 !important;
}

[data-theme="dark"] .cart-continue-btn {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .cart-continue-btn:hover {
  background: #1f2937 !important;
  border-color: #e2e8f0 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .cart-clear-btn {
  background: #111827 !important;
  border-color: #7f1d1d !important;
  color: #f87171 !important;
}

[data-theme="dark"] .cart-clear-btn:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .cart-update-btn {
  background: #ffffff !important;
  color: #0b0f19 !important;
}

[data-theme="dark"] .cart-update-btn:hover {
  background: #f1f5f9 !important;
}

[data-theme="dark"] .cart-checkout-btn,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-editorial-primary {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #0b0f19 !important;
}

[data-theme="dark"] .cart-checkout-btn:hover,
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-editorial-primary:hover {
  background-color: #f1f5f9 !important;
  color: #000000 !important;
}

[data-theme="dark"] .cart-summary-total {
  border-top-color: #1f2937 !important;
}

[data-theme="dark"] .cart-summary-total span:first-child,
[data-theme="dark"] .cart-total-amount {
  color: #ffffff !important;
}

[data-theme="dark"] .cart-empty-state {
  background: #111827 !important;
  border-color: #1f2937 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .cart-free-shipping-card {
  background: #161e2e !important;
  border-color: #1f2937 !important;
}

/* Dark Inputs & Stepper */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] textarea {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus {
  border-color: #94a3b8 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .form-label {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .coupon-input {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .coupon-btn {
  background-color: #ffffff !important;
  color: #0b0f19 !important;
}

[data-theme="dark"] .btn-num-product-down,
[data-theme="dark"] .btn-num-product-up {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .num-product {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

/* Dark Checkout, PDP & Components */
[data-theme="dark"] .checkout-card,
[data-theme="dark"] .checkout-summary-box {
  background: #111827 !important;
  border-color: #1f2937 !important;
}

[data-theme="dark"] .checkout-card-header {
  border-bottom-color: #1f2937 !important;
}

[data-theme="dark"] .checkout-card-title {
  color: #ffffff !important;
}

[data-theme="dark"] .checkout-step-badge {
  background-color: #ffffff !important;
  color: #0b0f19 !important;
}

[data-theme="dark"] .shipping-method-card {
  border-color: #374151 !important;
  background-color: #111827 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .shipping-method-card.border-primary {
  border-color: #ffffff !important;
  background-color: #161e2e !important;
}

[data-theme="dark"] .trust-feature-bar {
  background: #111827 !important;
  border-color: #1f2937 !important;
}

[data-theme="dark"] .trust-feature-icon {
  background: #161e2e !important;
  color: #ffffff !important;
}

[data-theme="dark"] .trust-feature-title {
  color: #ffffff !important;
}

[data-theme="dark"] .trust-feature-sub {
  color: #94a3b8 !important;
}

[data-theme="dark"] .btn-back-to-top {
  background-color: #ffffff !important;
  color: #0b0f19 !important;
}

[data-theme="dark"] .symbol-btn-back-to-top {
  color: #0b0f19 !important;
}

[data-theme="dark"] .sec-reviews .bor10 {
  background: #111827 !important;
  border-color: #1f2937 !important;
}

[data-theme="dark"] .sec-reviews h4 {
  color: #ffffff !important;
}

[data-theme="dark"] .sec-reviews p {
  color: #94a3b8 !important;
}

[data-theme="dark"] .footer-coza {
  background-color: #030712 !important;
  border-top: 1px solid #1f2937 !important;
}

/* Dark Theme for Customer Commitments (Trust Strip) */
[data-theme="dark"] .sec-trust-bar {
  background-color: #0b0f19 !important;
  border-top-color: #1f2937 !important;
}

[data-theme="dark"] .trust-bar-container {
  background-color: #111827 !important;
  border-color: #1f2937 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .trust-bar-icon-box {
  background-color: #1f2937 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .trust-bar-container:hover .trust-bar-icon-box {
  background-color: #374151 !important;
}

[data-theme="dark"] .trust-bar-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .trust-bar-desc {
  color: #94a3b8 !important;
}

/* Dark Theme for Mobile Menu */
[data-theme="dark"] .btn-show-menu-mobile .hamburger-inner,
[data-theme="dark"] .btn-show-menu-mobile .hamburger-inner::after,
[data-theme="dark"] .btn-show-menu-mobile .hamburger-inner::before {
  background-color: #ffffff !important;
}

[data-theme="dark"] .menu-mobile {
  background-color: #0b0f19 !important;
  border-bottom: 1px solid #1f2937 !important;
}

[data-theme="dark"] .topbar-mobile {
  background-color: var(--top-bar-bg, #0b0f19) !important;
  border-bottom: 1px solid var(--top-bar-border, #1f2937) !important;
}

[data-theme="dark"] .main-menu-m {
  background-color: #0b0f19 !important;
}

[data-theme="dark"] .main-menu-m>li>a {
  color: #f8fafc !important;
}

[data-theme="dark"] .arrow-main-menu-m {
  color: #f8fafc !important;
}

[data-theme="dark"] .sub-menu-m {
  background-color: #111827 !important;
  border-top-color: #1f2937 !important;
  border-bottom-color: #1f2937 !important;
}

[data-theme="dark"] .sub-menu-m a {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .sub-menu-m a:hover {
  color: #ffffff !important;
}

/* Dark Mode for Auth Pages */
[data-theme="dark"] .auth-page-wrapper {
  background-color: #0b0f19 !important;
}

[data-theme="dark"] .auth-card {
  background: #111827 !important;
  border-color: #1f2937 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .auth-card h1,
[data-theme="dark"] .auth-card h2,
[data-theme="dark"] .auth-card h3,
[data-theme="dark"] .auth-card .form-label {
  color: #f8fafc !important;
}

[data-theme="dark"] .auth-card .text-muted {
  color: #94a3b8 !important;
}

[data-theme="dark"] .input-group>.form-control {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .input-group>.form-control::placeholder {
  color: #64748b !important;
}

[data-theme="dark"] .input-group>.btn-pw-toggle,
[data-theme="dark"] .input-group-append .btn-pw-toggle,
[data-theme="dark"] .btn-pw-toggle {
  background-color: #1e293b !important;
  border-color: #374151 !important;
  border-left: 0 !important;
  color: #94a3b8 !important;
}

[data-theme="dark"] .input-group>.btn-pw-toggle:hover,
[data-theme="dark"] .input-group-append .btn-pw-toggle:hover,
[data-theme="dark"] .btn-pw-toggle:hover {
  background-color: #334155 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .input-group:focus-within>.form-control {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

[data-theme="dark"] .input-group:focus-within>.btn-pw-toggle,
[data-theme="dark"] .input-group:focus-within .input-group-append .btn-pw-toggle {
  border-color: #6366f1 !important;
  color: #f8fafc !important;
}

/* Dark Mode Empty Products State */
[data-theme="dark"] .empty-products-state h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .empty-products-state p {
  color: #94a3b8 !important;
}

[data-theme="dark"] .empty-products-state .empty-state-icon i {
  color: #64748b !important;
}

[data-theme="dark"] .empty-products-state a.hov-btn1 {
  background: #f8fafc !important;
  color: #111827 !important;
}

[data-theme="dark"] .empty-products-state a.hov-btn1:hover {
  background: #e2e8f0 !important;
  color: #000000 !important;
}

/* ==========================================================================
   Mini-Cart Drawer Mobile & Dark Mode
   ========================================================================== */
@media (max-width: 575.98px) {
  .header-cart {
    width: 320px !important;
    max-width: 88vw !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 24px !important;
  }

  .header-cart-item-txt {
    max-width: calc(100% - 65px) !important;
  }

  .header-cart-item-name {
    max-width: 100% !important;
    font-size: 13.5px !important;
  }
}

[data-theme="dark"] .header-cart {
  background-color: #0b0f19 !important;
  border-left: 1px solid #1f2937 !important;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .header-cart-title .mtext-103,
[data-theme="dark"] .header-cart-title .zmdi-close,
[data-theme="dark"] .header-cart-item-name,
[data-theme="dark"] .header-cart-total {
  color: #f9fafb !important;
}

[data-theme="dark"] .header-cart-item-info,
[data-theme="dark"] .header-cart-content p {
  color: #9ca3af !important;
}

[data-theme="dark"] .header-cart-item-img {
  border: 1px solid #1f2937 !important;
  border-radius: 6px !important;
  background-color: #111827 !important;
}

/* ==========================================================================
   Search Modal Mobile & Dark Mode
   ========================================================================== */
@media (max-width: 768px) {
  .container-search-header {
    width: 90vw !important;
    max-width: 90vw !important;
  }

  .wrap-search-header {
    height: 56px !important;
    border-radius: 10px !important;
  }

  .wrap-search-header input {
    font-size: 17px !important;
    padding-right: 15px !important;
  }

  .wrap-search-header button {
    width: 48px !important;
    font-size: 20px !important;
  }

  .btn-hide-modal-search {
    top: -42px !important;
    right: 0 !important;
  }
}

[data-theme="dark"] .modal-search-header {
  background: rgba(11, 15, 25, 0.92) !important;
}

[data-theme="dark"] .wrap-search-header {
  background: #111827 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .wrap-search-header input {
  background: #111827 !important;
  color: #f9fafb !important;
}

[data-theme="dark"] .wrap-search-header button {
  color: #9ca3af !important;
}

/* ==============================================================
   PDP Variant Option Display Types (Swatches, Buttons, Radio)
============================================================== */
.pdp-swatch-list, .pdp-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pdp-swatch-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 3px solid #ffffff !important;
  box-shadow: 0 0 0 1.5px #cbd5e1, 0 2px 6px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.pdp-swatch-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 0 2.5px #3b82f6, 0 4px 10px rgba(59,130,246,0.3);
}

.pdp-swatch-btn.active {
  box-shadow: 0 0 0 3px #111827, 0 4px 12px rgba(0,0,0,0.25) !important;
  transform: scale(1.08);
}

.pdp-swatch-btn .pdp-swatch-check {
  font-size: 20px;
  display: none !important;
  line-height: 1;
  font-weight: 700;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}

.pdp-swatch-btn.active .pdp-swatch-check {
  display: block !important;
}

.pdp-swatch-btn .pdp-swatch-check.text-dark {
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.8));
}

.pdp-pill-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.pdp-pill-btn:hover {
  border-color: #111827;
  background: #f8fafc;
}

.pdp-pill-btn.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pdp-radio-pill {
  padding: 6px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13.5px;
  user-select: none;
  transition: all 0.2s ease;
}

.pdp-radio-pill:hover {
  border-color: #cbd5e1;
}

[data-theme="dark"] .pdp-pill-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] .pdp-pill-btn:hover {
  border-color: #60a5fa;
  background: #334155;
}

[data-theme="dark"] .pdp-pill-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

[data-theme="dark"] .pdp-swatch-btn {
  border-color: #1e293b !important;
  box-shadow: 0 0 0 1px #475569;
}

[data-theme="dark"] .pdp-swatch-btn.active {
  box-shadow: 0 0 0 2px #60a5fa, 0 2px 8px rgba(0,0,0,0.5);
}

[data-theme="dark"] .pdp-radio-pill {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}