/* ==========================================================================
   NAFIS LUXURY BOUTIQUE THEME — OpenCart 4.1.0.4
   Palette:
     - Backdrop: #121212 (Dark Charcoal Grey)
     - Navbar:   #1A122C (Deep Midnight Violet Glassmorphism)
     - Submenu:  #093A3E (Luxurious Emerald Green)
     - Accent:   #5CE1E6 (Light Electric Teal)
     - Gold:     #E6C25A (Warm Champagne Gold)
     - Card:     rgba(34, 37, 42, 0.82) (Frosted Dark Glass)
   ========================================================================== */

:root {
  --nafis-bg: #121212;
  --nafis-bg-elevated: #1b1d21;
  --nafis-surface: rgba(34, 37, 42, 0.84);
  --nafis-surface-hover: rgba(45, 49, 56, 0.92);
  --nafis-violet-start: #120c21;
  --nafis-violet-mid: #1a122c;
  --nafis-violet-end: #2e1b52;
  --nafis-emerald: #093a3e;
  --nafis-emerald-bright: #0d5459;
  --nafis-teal: #5ce1e6;
  --nafis-teal-glow: rgba(92, 225, 230, 0.35);
  --nafis-gold: #e6c25a;
  --nafis-text: #ffffff;
  --nafis-text-muted: #9ca3af;
  --nafis-border: rgba(255, 255, 255, 0.09);
  --nafis-border-strong: rgba(255, 255, 255, 0.16);
}

html, body {
  background-color: var(--nafis-bg) !important;
  color: var(--nafis-text) !important;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Reset OpenCart default absolute footer hack so pages scale smoothly on all screen heights */
#container {
  position: relative !important;
  min-height: 100vh !important;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  background-color: var(--nafis-bg);
}

main.nafis-main {
  flex: 1 0 auto;
  padding-bottom: 64px;
}

#content, #column-left, #column-right {
  padding-bottom: 24px !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a {
  color: var(--nafis-teal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #9ff3f6;
}

/* ==========================================================================
   HEADER & GLASSMORPHISM NAVBAR
   ========================================================================== */
#nafis-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(125deg, rgba(16, 11, 29, 0.94) 0%, rgba(26, 18, 44, 0.92) 52%, rgba(44, 24, 78, 0.9) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nafis-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo Lockup */
.nafis-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.nafis-brand-emblem-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(230, 194, 90, 0.35), 0 0 8px rgba(92, 225, 230, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nafis-brand:hover .nafis-brand-emblem-wrap {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(230, 194, 90, 0.55), 0 0 12px rgba(92, 225, 230, 0.35);
}

.nafis-brand-emblem {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
}

.nafis-brand-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 15%, #e8d59b 65%, #e6c25a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* Hamburger Drawer Toggle ("Katalog") */
.nafis-drawer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.nafis-drawer-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(92, 225, 230, 0.55);
  color: var(--nafis-teal);
}

.nafis-hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 18px;
}

.nafis-hamburger-lines span {
  display: block;
  width: 100%;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Rounded Pill Search Bar */
.nafis-search-wrap {
  flex: 1 1 auto;
  max-width: 520px;
}

.nafis-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 !important;
}

.nafis-search-input {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  padding: 0 46px 0 20px !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  transition: all 0.25s ease;
}

.nafis-search-input::placeholder {
  color: #9ca3af !important;
  opacity: 1;
}

.nafis-search-input:focus {
  outline: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(92, 225, 230, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(92, 225, 230, 0.14) !important;
}

.nafis-search-btn {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.nafis-search-btn:hover {
  color: var(--nafis-teal);
  background: rgba(92, 225, 230, 0.1);
}

/* Header Action Controls */
.nafis-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.nafis-nav-svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.nafis-header-actions > .dropdown,
.nafis-cart-slot,
.nafis-cart-slot > .dropdown {
  display: inline-flex;
  align-items: center;
}

.nafis-header-link,
.nafis-header-actions .dropdown-toggle,
.nafis-cart-trigger {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 8px;
  height: 38px;
  line-height: 1 !important;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92) !important;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
  padding: 0 4px !important;
  margin: 0 !important;
  text-decoration: none !important;
  white-space: nowrap;
  vertical-align: middle;
  transition: color 0.2s ease;
}

.nafis-header-link:hover,
.nafis-header-actions .dropdown-toggle:hover,
.nafis-cart-trigger:hover {
  color: var(--nafis-teal) !important;
}

.nafis-header-actions .dropdown-toggle::after {
  display: none !important;
}

#form-currency {
  margin: 0;
}

/* Cart Button & Inline Aligned Teal Badge */
.nafis-cart-slot {
  position: relative;
}

.nafis-cart-icon-wrap {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nafis-nav-lbl {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nafis-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--nafis-teal);
  color: #06181c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-shadow: 0 0 10px rgba(92, 225, 230, 0.55);
}

.nafis-cart-badge.is-inline {
  position: static;
  flex-shrink: 0;
  margin-left: 2px;
}

/* Dark Frosted Dropdown Menus */
.dropdown-menu {
  background: rgba(24, 24, 32, 0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6) !important;
  padding: 8px !important;
  color: #ffffff !important;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.86) !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 0.88rem !important;
  transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  background: rgba(92, 225, 230, 0.14) !important;
  color: var(--nafis-teal) !important;
}

.nafis-cart-dropdown {
  min-width: 340px !important;
  padding: 16px !important;
}

#cart .img-thumbnail {
  min-width: 56px !important;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #23262b;
  border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   LUXURY LEFT SIDE DRAWER MENU (SLIDE-IN)
   ========================================================================== */
body.nafis-drawer-lock {
  overflow: hidden !important;
}

.nafis-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nafis-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.nafis-side-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(320px, 84vw);
  z-index: 1060;
  background: rgba(16, 16, 22, 0.96);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 24px 0 64px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s ease;
}

.nafis-side-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nafis-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nafis-drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.nafis-drawer-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.nafis-drawer-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 15%, #e8d59b 75%, #e6c25a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nafis-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nafis-drawer-close:hover {
  color: var(--nafis-teal);
  background: rgba(92, 225, 230, 0.14);
}

.nafis-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 14px 20px;
}

.nafis-drawer-account-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 6px 20px;
}

.nafis-drawer-muted-lbl {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.56);
}

.nafis-drawer-login-btn {
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #27c7c4 0%, #5ce1e6 100%);
  color: #06181c !important;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.2s ease;
}

.nafis-drawer-login-btn:hover {
  filter: brightness(1.08);
}

.nafis-drawer-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.44);
  padding: 0 12px;
  margin-bottom: 6px;
}

.nafis-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nafis-drawer-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.93rem;
  font-weight: 400;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease;
}

.nafis-drawer-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

.nafis-drawer-icon {
  width: 20px;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.nafis-drawer-link:hover .nafis-drawer-icon {
  color: var(--nafis-teal);
}

.nafis-drawer-link-text {
  flex: 1 1 auto;
}

.nafis-drawer-chevron {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.34);
  transition: transform 0.18s ease, color 0.18s ease;
}

.nafis-drawer-link:hover .nafis-drawer-chevron {
  color: var(--nafis-teal);
  transform: translateX(2px);
}

.nafis-drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 14px 10px;
}

.nafis-drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 12, 16, 0.8);
}

.nafis-drawer-footer-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.58);
}

.nafis-drawer-footer-line i {
  width: 14px;
  color: rgba(92, 225, 230, 0.78);
  text-align: center;
}

/* ==========================================================================
   HERO BANNER CAROUSEL (BORDERLESS WIDE SHOWCASE, NO DOTS OR TEXT OVERLAY)
   ========================================================================== */
.nafis-hero-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 36px;
  border: none !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
}

.nafis-hero-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 1360 / 540;
  min-height: 220px;
  background-color: #161519;
  overflow: hidden;
}

.nafis-hero-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.nafis-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.nafis-hero-carousel .carousel-indicators {
  display: none !important;
}

/* ==========================================================================
   CURATED COLLECTIONS & FROSTED GLASS PRODUCT CARDS
   ========================================================================== */
.nafis-section-title {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nafis-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(92, 225, 230, 0.35) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.product-thumb.nafis-card {
  background: rgba(28, 30, 36, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.product-thumb.nafis-card:hover {
  transform: translateY(-5px);
  background: rgba(34, 36, 44, 0.88);
  border-color: rgba(92, 225, 230, 0.36) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 20px rgba(92, 225, 230, 0.08);
}

.product-thumb.nafis-card .image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #16181c;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
}

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

.product-thumb.nafis-card:hover .image img {
  transform: scale(1.04);
}

.nafis-card-quick-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3;
}

.product-thumb.nafis-card:hover .nafis-card-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.nafis-quick-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 22, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nafis-quick-icon-btn:hover {
  background: var(--nafis-emerald);
  border-color: var(--nafis-teal);
  color: var(--nafis-teal);
}

.product-thumb.nafis-card .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-thumb.nafis-card .description {
  padding: 0 2px !important;
  margin-bottom: 16px !important;
  flex: 1 1 auto;
}

.product-thumb.nafis-card .description h4 {
  font-size: 1.04rem;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-thumb.nafis-card .description h4 a {
  color: #ffffff;
}

.product-thumb.nafis-card .description h4 a:hover {
  color: var(--nafis-teal);
}

.product-thumb.nafis-card .description p {
  color: var(--nafis-text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nafis-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.nafis-card-footer .price {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 500;
  margin: 0;
}

.nafis-card-footer .price-old {
  font-size: 0.82rem;
  color: #f87171;
  margin-left: 6px;
}

.nafis-btn-discover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all 0.22s ease;
}

.nafis-btn-discover:hover {
  background: var(--nafis-emerald);
  border-color: var(--nafis-teal);
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(92, 225, 230, 0.25);
}

/* Grid List View Support */
.product-list .product-thumb.nafis-card {
  flex-direction: row;
  gap: 20px;
}
.product-list .product-thumb.nafis-card .image {
  width: 240px;
  flex-shrink: 0;
  margin-bottom: 0;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.nafis-product-gallery-main {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1c20;
  border: 1px solid var(--nafis-border-strong);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.nafis-product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.nafis-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.nafis-thumb-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 1 / 1;
  background: #1a1c20;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: block;
}

.nafis-thumb-item:hover,
.nafis-thumb-item.active {
  border-color: var(--nafis-teal);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(92, 225, 230, 0.25);
}

.nafis-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nafis-product-detail-title {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.nafis-rating-stars i.fa-solid {
  color: #f5c542;
}
.nafis-rating-stars i.fa-regular {
  color: rgba(255, 255, 255, 0.3);
}

.nafis-product-price {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 14px 0 16px;
}

.nafis-product-price.is-teal .price-new {
  color: var(--nafis-teal);
  text-shadow: 0 0 18px rgba(92, 225, 230, 0.25);
}

.nafis-product-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.nafis-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.nafis-meta-pill {
  font-size: 0.78rem;
  color: var(--nafis-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 12px;
  border-radius: 999px;
}

/* Quantity Stepper [-  1  +] */
.nafis-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #23262b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
  height: 44px;
}

.nafis-qty-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.nafis-qty-btn:hover {
  background: rgba(92, 225, 230, 0.12);
  color: var(--nafis-teal);
}

.nafis-qty-input {
  width: 46px !important;
  height: 100% !important;
  border: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(18, 18, 22, 0.5) !important;
  color: #ffffff !important;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0 !important;
  border-radius: 0 !important;
}

.nafis-btn-add-cart {
  height: 52px;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0b5154 0%, #178685 100%) !important;
  border: 1px solid rgba(92, 225, 230, 0.55) !important;
  color: #ffffff !important;
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  box-shadow: 0 0 28px rgba(92, 225, 230, 0.35), 0 8px 20px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s ease;
}

.nafis-btn-add-cart:hover {
  background: linear-gradient(135deg, #0e6669 0%, #1ea2a0 100%) !important;
  box-shadow: 0 0 36px rgba(92, 225, 230, 0.55), 0 10px 24px rgba(0, 0, 0, 0.45) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   SHOPPING CART & ORDER SUMMARY PAGE
   ========================================================================== */
.nafis-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.nafis-cart-header h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 500;
  margin: 0;
}

.nafis-back-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nafis-back-link:hover {
  color: var(--nafis-teal);
}

.nafis-cart-item-wrap {
  margin-bottom: 18px;
}

.nafis-cart-card {
  background: var(--nafis-surface);
  border: 1px solid var(--nafis-border-strong);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(12px);
}

.nafis-cart-thumb {
  width: 112px;
  height: 112px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #17181c;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nafis-cart-remove-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.nafis-cart-remove-icon:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(248, 113, 113, 0.5) !important;
  color: #fca5a5 !important;
}

.nafis-cart-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.nafis-cart-price {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--nafis-teal);
}

.nafis-qty-stepper.is-cart-pill {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  height: 36px;
  padding: 0 4px;
}

.nafis-qty-stepper.is-cart-pill .nafis-qty-input {
  width: 34px !important;
  border: none !important;
  background: transparent !important;
  font-size: 0.9rem;
}

.nafis-qty-stepper.is-cart-pill .nafis-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.nafis-qty-btn.is-teal-circle {
  background: linear-gradient(135deg, #27c7c4 0%, #5ce1e6 100%) !important;
  color: #06181c !important;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(92, 225, 230, 0.45);
}

.nafis-qty-btn.is-teal-circle:hover {
  background: linear-gradient(135deg, #3be0dd 0%, #86f2f6 100%) !important;
  color: #06181c !important;
  transform: scale(1.06);
}

.nafis-cart-item-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 8px 6px 0;
}

.nafis-cart-action-link,
.nafis-cart-remove.btn-danger {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.84rem;
  text-decoration: none !important;
  padding: 2px 4px !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nafis-cart-action-link:hover,
.nafis-cart-remove.btn-danger:hover {
  color: var(--nafis-teal) !important;
}

.nafis-order-summary {
  background: var(--nafis-surface);
  border: 1px solid var(--nafis-border-strong);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 90px;
}

.nafis-order-summary h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.nafis-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.nafis-summary-row.is-total {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 10px;
  padding-top: 16px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
}

.nafis-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #27c7c4 0%, #5ce1e6 100%) !important;
  color: #081c20 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none !important;
  box-shadow: 0 0 28px rgba(92, 225, 230, 0.45) !important;
  transition: all 0.25s ease;
}

.nafis-btn-checkout:hover {
  background: linear-gradient(135deg, #3be0dd 0%, #86f2f6 100%) !important;
  color: #061417 !important;
  box-shadow: 0 0 38px rgba(92, 225, 230, 0.7) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   GENERAL OPENCART DARK SURFACES (BREADCRUMBS, FORMS, TABS, TABLES, FOOTER)
   ========================================================================== */
.breadcrumb {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--nafis-border) !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  margin-top: 20px !important;
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: none !important;
  padding: 0 12px 0 0 !important;
}

.breadcrumb > li.breadcrumb-item:after {
  display: none !important;
}

.breadcrumb > li.breadcrumb-item + li::before {
  content: "/" !important;
  color: rgba(255, 255, 255, 0.35);
  padding-right: 12px !important;
}

.breadcrumb a {
  color: var(--nafis-text-muted);
}

.breadcrumb a:hover {
  color: var(--nafis-teal);
}

/* Form Inputs, Translucent Fields, Glass Cards & Uzum-Style Neon Teal Buttons */
.nafis-glass-form-card {
  background: linear-gradient(155deg, rgba(26, 20, 42, 0.78) 0%, rgba(18, 19, 24, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.nafis-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(230, 194, 90, 0.12);
  border: 1px solid rgba(230, 194, 90, 0.3);
  color: var(--nafis-gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.nafis-form-badge.is-teal {
  background: rgba(92, 225, 230, 0.12);
  border-color: rgba(92, 225, 230, 0.32);
  color: var(--nafis-teal);
}

.nafis-form-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}

.nafis-form-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nafis-form-legend {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nafis-teal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.nafis-form-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  font-weight: 500;
}

.form-control:not(.nafis-search-input):not(.nafis-qty-input),
.form-select,
.input-group-text,
.nafis-translucent-input {
  background-color: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 0.72rem 1rem;
  backdrop-filter: blur(8px);
}

.form-control::placeholder,
textarea::placeholder {
  color: #9ca3af !important;
  opacity: 1 !important;
}

.form-control:not(.nafis-search-input):not(.nafis-qty-input):focus,
.form-select:focus,
.nafis-translucent-input:focus {
  background-color: rgba(255, 255, 255, 0.075) !important;
  border-color: var(--nafis-teal) !important;
  box-shadow: 0 0 0 3px rgba(92, 225, 230, 0.16) !important;
}

.form-select option {
  background-color: #16181f;
  color: #ffffff;
}

.nafis-btn-uzum,
.btn-primary {
  background: linear-gradient(135deg, #27c7c4 0%, #5ce1e6 100%) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #06181c !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  padding: 0.78rem 1.6rem !important;
  box-shadow: 0 6px 24px rgba(92, 225, 230, 0.38) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.btn-primary.btn-sm {
  padding: 0.45rem 1.05rem !important;
  font-size: 0.84rem !important;
}

.nafis-btn-uzum:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #3be0dd 0%, #86f2f6 100%) !important;
  color: #041114 !important;
  box-shadow: 0 8px 32px rgba(92, 225, 230, 0.6) !important;
  transform: translateY(-1px);
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--nafis-teal) !important;
}

.border.rounded,
.card,
.accordion-item,
.modal-content,
.list-group-item {
  background-color: var(--nafis-bg-elevated) !important;
  border-color: var(--nafis-border-strong) !important;
  color: #ffffff !important;
}

.accordion-button {
  background-color: #21242b !important;
  color: #ffffff !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--nafis-emerald) !important;
  color: var(--nafis-teal) !important;
}

.nav-tabs {
  border-bottom-color: var(--nafis-border-strong);
  margin-top: 28px;
}

.nav-tabs .nav-link {
  color: var(--nafis-text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 18px;
}

.nav-tabs .nav-link.active {
  background: transparent !important;
  color: var(--nafis-teal) !important;
  border-bottom: 2px solid var(--nafis-teal) !important;
}

.tab-content {
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.84);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: #ffffff;
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.list-group-item.active {
  background-color: var(--nafis-emerald) !important;
  border-color: var(--nafis-teal) !important;
}

/* Alerts */
#alert .alert {
  backdrop-filter: blur(14px);
  border-radius: 12px;
}

/* Minimal Boutique Footer */
footer.nafis-footer {
  position: relative !important;
  bottom: auto !important;
  background: #0d0d11 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 22px 0 !important;
  margin-top: 32px;
  color: var(--nafis-text-muted) !important;
}

footer.nafis-footer a {
  color: var(--nafis-text-muted) !important;
  font-size: 0.88rem;
}

footer.nafis-footer a:hover {
  color: var(--nafis-teal) !important;
}

/* ==========================================================================
   MOBILE & RESPONSIVE POLISH
   ========================================================================== */
@media (max-width: 991.98px) {
  body {
    padding-bottom: 76px;
  }

  #nafis-navbar {
    padding: 10px 0 12px;
  }

  .nafis-navbar-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
  }

  .nafis-brand {
    order: 1;
  }

  .nafis-drawer-toggle {
    order: 2;
    margin-left: auto;
    padding: 6px 4px;
    background: transparent;
    border-color: transparent;
  }

  .nafis-drawer-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 194, 90, 0.25);
  }

  .nafis-header-actions {
    display: none !important;
  }

  .nafis-search-wrap {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .nafis-hero-carousel {
    border-radius: 16px;
    margin-top: 12px;
    margin-bottom: 24px;
  }

  .nafis-hero-slide {
    min-height: 185px;
    aspect-ratio: 16 / 9;
  }

  .nafis-cart-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 14px;
    gap: 14px;
  }

  .nafis-cart-thumb {
    width: 86px;
    height: 86px;
  }

  .nafis-cart-dropdown {
    min-width: 290px !important;
  }

  .nafis-glass-form-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
}

@media (max-width: 575.98px) {
  .nafis-brand-emblem-wrap,
  .nafis-brand-emblem {
    width: 36px;
    height: 36px;
  }

  .nafis-brand-wordmark {
    font-size: 1.55rem;
  }

  .product-thumb.nafis-card {
    padding: 10px;
    border-radius: 14px;
  }

  .product-thumb.nafis-card .image {
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .product-thumb.nafis-card .description h4 {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .product-thumb.nafis-card .description p {
    font-size: 0.74rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .product-thumb.nafis-card .nafis-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nafis-btn-discover {
    text-align: center;
    padding: 6px 12px;
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (Asosiy | Katalog | Savat | Joylashuv | Profil)
   ========================================================================== */
#nafis-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1045;
  background: linear-gradient(180deg, rgba(20, 14, 34, 0.94) 0%, rgba(26, 18, 44, 0.98) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 8px calc(7px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
}

.nafis-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.56) !important;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.nafis-bottom-tab i {
  font-size: 1.18rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nafis-bottom-tab span.tab-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nafis-bottom-tab.active {
  color: #5ce1e6 !important;
  background: rgba(92, 225, 230, 0.14);
  border-color: rgba(92, 225, 230, 0.55);
  box-shadow: 0 0 18px rgba(92, 225, 230, 0.28);
}

.nafis-bottom-tab.active i {
  color: #5ce1e6 !important;
  filter: drop-shadow(0 0 8px rgba(92, 225, 230, 0.75));
  transform: translateY(-1px);
}

.nafis-bottom-tab.active span.tab-lbl {
  color: #5ce1e6 !important;
  font-weight: 700;
}

.nafis-bottom-tab:hover:not(.active) {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.04);
}

.nafis-bottom-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 19px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #27c7c4 0%, #5ce1e6 100%);
  color: #06181c;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 8px rgba(92, 225, 230, 0.5);
}

/* ==========================================================================
   KATALOG & PROFIL LIST VIEWS
   ========================================================================== */
.nafis-catalog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nafis-catalog-row {
  background: var(--nafis-surface);
  border: 1px solid var(--nafis-border-strong);
  border-radius: 14px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff !important;
  text-decoration: none !important;
  backdrop-filter: blur(12px);
  transition: all 0.22s ease;
}

.nafis-catalog-row:hover {
  background: var(--nafis-surface-hover);
  border-color: rgba(92, 225, 230, 0.45);
  transform: translateX(3px);
}

.nafis-catalog-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nafis-catalog-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nafis-teal);
  font-size: 1rem;
  flex-shrink: 0;
}

.nafis-catalog-title {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   JOYLASHUV (LOCATION) DARK MAP & INFO TILES
   ========================================================================== */
.nafis-map-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--nafis-border-strong);
  min-height: 340px;
  height: 100%;
  background: #1a1e24;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
  .nafis-map-frame {
    min-height: 390px;
  }
}

.nafis-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(92%) hue-rotate(180deg) brightness(86%) contrast(94%);
}

.nafis-map-open-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 15, 22, 0.9);
  border: 1px solid rgba(92, 225, 230, 0.45);
  color: var(--nafis-teal) !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  z-index: 3;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nafis-map-open-pill:hover {
  background: rgba(9, 58, 62, 0.95);
  box-shadow: 0 0 18px rgba(92, 225, 230, 0.28);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.nafis-map-pin-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -120%);
  background: rgba(26, 18, 44, 0.92);
  border: 1px solid var(--nafis-teal);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(92, 225, 230, 0.45);
  pointer-events: none;
  z-index: 2;
}

.nafis-pin-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--nafis-teal);
  color: #091d20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.nafis-info-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nafis-info-tile {
  background: var(--nafis-surface);
  border: 1px solid var(--nafis-border-strong);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  backdrop-filter: blur(12px);
}

.nafis-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(9, 58, 62, 0.7);
  border: 1px solid rgba(92, 225, 230, 0.35);
  color: var(--nafis-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   PROFIL HEADER CARD
   ========================================================================== */
.nafis-profile-hero {
  background: linear-gradient(135deg, rgba(26, 18, 44, 0.95) 0%, rgba(9, 58, 62, 0.65) 100%);
  border: 1px solid rgba(92, 225, 230, 0.25);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nafis-profile-avatar {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(92, 225, 230, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.nafis-avatar-edit {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1b1d22;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MOBILE 2-COLUMN PRODUCT GRID REFINEMENTS (Matching Mobile Mockup 2)
   ========================================================================== */
@media (max-width: 575.98px) {
  #product-list:not(.product-list) {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
  }

  #product-list:not(.product-list) > .col {
    flex: 0 0 auto;
    width: 50%;
  }

  .product-thumb.nafis-card {
    padding: 10px;
    border-radius: 12px;
  }

  .product-thumb.nafis-card .image {
    margin-bottom: 10px;
  }

  .product-thumb.nafis-card .description h4 {
    font-size: 0.88rem;
  }

  .product-thumb.nafis-card .description p {
    font-size: 0.75rem;
    -webkit-line-clamp: 1;
  }

  .nafis-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 8px;
  }

  .nafis-card-footer .price {
    font-size: 0.92rem;
  }

  .nafis-btn-discover {
    width: 100%;
    padding: 5px 10px;
    font-size: 0.76rem;
  }
}


/* ==========================================================================
   PERMANENT FULL-HEIGHT DESKTOP LEFT SIDEBAR (OLIMPIADA PRO STYLE)
   ========================================================================== */
#common-home .nafis-hero-carousel {
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  #nafis-navbar {
    height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  main.nafis-main,
  footer.nafis-footer {
    padding-left: 252px;
  }
}

#nafis-desktop-sidebar {
  position: fixed;
  top: 70px;
  bottom: 0;
  left: 0;
  width: 252px;
  z-index: 1020;
  padding: 18px 12px 16px;
  background: linear-gradient(180deg, #1b1436 0%, #140f27 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

#nafis-desktop-sidebar::-webkit-scrollbar {
  width: 5px;
}

#nafis-desktop-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.nafis-ds-section {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 4px 12px 10px;
}

.nafis-ds-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nafis-ds-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 8px 12px;
}

.nafis-ds-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(226, 232, 240, 0.78) !important;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nafis-ds-icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.56);
  transition: color 0.18s ease;
}

.nafis-ds-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

.nafis-ds-link:hover .nafis-ds-icon {
  color: var(--nafis-teal);
}

.nafis-ds-link.is-active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.26) 0%, rgba(92, 225, 230, 0.14) 100%);
  border-color: rgba(129, 140, 248, 0.38);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--nafis-teal), 0 6px 18px rgba(0, 0, 0, 0.24);
}

.nafis-ds-link.is-active .nafis-ds-icon {
  color: var(--nafis-teal);
}

.nafis-ds-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nafis-ds-bottom .nafis-ds-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

#content.is-ajax-loading {
  opacity: 0.48;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

/* ==========================================================================
   MINIMALIST SORT & LIMIT DROPDOWN TOOLBAR (4 SORT OPTIONS, NO OS RADIOS)
   ========================================================================== */
.nafis-cat-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px;
}

.nafis-cat-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nafis-listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nafis-toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nafis-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(18, 19, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nafis-filter-trigger:hover,
.nafis-filter-trigger[aria-expanded="true"] {
  border-color: rgba(92, 225, 230, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.nafis-filter-trigger.dropdown-toggle::after {
  display: none !important;
}

.nafis-filter-lbl {
  color: rgba(255, 255, 255, 0.56);
}

.nafis-filter-val {
  color: var(--nafis-teal);
  font-weight: 500;
}

.nafis-filter-caret {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease;
}

.nafis-filter-trigger[aria-expanded="true"] .nafis-filter-caret {
  transform: rotate(180deg);
}

.nafis-filter-menu {
  min-width: 195px !important;
  padding: 6px !important;
  background: rgba(19, 20, 26, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.nafis-filter-option {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
}

@media (max-width: 575.98px) {
  .nafis-toolbar-meta {
    display: none;
  }

  .nafis-toolbar-controls {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .nafis-filter-dropdown {
    flex: 1 1 auto;
  }

  .nafis-filter-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 8px 11px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   WISHLIST / SEVIMLILAR FROSTED CARDS
   ========================================================================== */
.nafis-wishlist-card {
  background: rgba(26, 28, 34, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px;
  height: 100%;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.nafis-wishlist-card:hover {
  border-color: rgba(92, 225, 230, 0.35);
  transform: translateY(-2px);
}

.nafis-wishlist-thumb {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  background: #14151a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nafis-wishlist-price {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--nafis-teal);
}

/* Product Color & Size Interactive Pill Swatches */
.nafis-swatch-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nafis-swatch-btn {
  border-radius: 999px !important;
  padding: 7px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  transition: all 0.18s ease !important;
}

.nafis-swatch-btn:hover {
  border-color: rgba(92, 225, 230, 0.55) !important;
  color: #ffffff !important;
}

.btn-check:checked + .nafis-swatch-btn {
  background: linear-gradient(135deg, rgba(9, 58, 62, 0.92), rgba(20, 96, 102, 0.78)) !important;
  border-color: var(--nafis-teal) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(92, 225, 230, 0.25) !important;
}
