@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --primary-light: #f8fafc;
  --primary-dark: #020617;
  
  --theme-brand: #ff6000;
  --theme-brand-hover: #ea580c;
  --theme-brand-light: #fff7ed;
  
  --accent: #ff6000;
  --accent-hover: #ea580c;
  --accent-light: #fff7ed;
  
  --secondary: #0f172a;
  --danger: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  
  /* Soft Harmonious Borders */
  --border: #cbd5e1;
  --border-dark: #334155;
  --border-subtle: #e2e8f0;
  --border-focus: #ff6000;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  /* STRICT ZERO RADIUS - 100% KÖŞELİ */
  --radius-xs: 0px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --radius-full: 0px;
  
  /* SOFT NATURAL SHADOWS WITH 0PX RADIUS */
  --shadow-sharp: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-sharp-sm: 0 2px 5px rgba(15, 23, 42, 0.04);
  --shadow-sharp-brand: 0 4px 14px rgba(255, 96, 0, 0.18);
  --shadow-hover: 0 8px 22px rgba(15, 23, 42, 0.09);
  
  --transition: all 0.2s ease;
  --nav-height: 76px;
  --mobile-nav-height: 65px;
}

/* ==========================================================================
   GLOBAL RESET - HER ŞEY KESKİN VE KÖŞELİ (NO RADIUS)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0px !important;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 14.5px; /* Compact readable font scaling */
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 0.95rem;
  overflow-x: hidden;
  padding-bottom: var(--mobile-nav-height);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col {
  flex: 1;
  padding: 0 0.75rem;
}

/* ==========================================================================
   MINI-PAZAR HEADER & TOP NAVIGATION BAR
   ========================================================================== */
.mini-pazar-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 1rem 0;
}

/* Logo */
.mini-pazar-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.logo-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ff6000;
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 3px;
}

/* Wide Search Bar with Left Icon */
.header-search-col {
  flex: 1;
  max-width: 620px;
  position: relative;
}
.mini-pazar-search-form {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  height: 44px;
  padding: 0 14px;
  position: relative;
  transition: var(--transition);
}
.mini-pazar-search-form:focus-within {
  border-color: #ff6000;
  box-shadow: 0 0 0 2px rgba(255, 96, 0, 0.15);
}
.search-icon-left {
  font-size: 1rem;
  color: #ff6000;
  margin-right: 12px;
}
.mini-pazar-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  font-family: inherit;
}
.mini-pazar-search-form input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

/* Live Search Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  z-index: 1300;
  max-height: 420px;
  overflow-y: auto;
  display: none;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.15s ease;
}
.search-item:last-child {
  border-bottom: none;
}
.search-item:hover {
  background: #fff7ed;
}
.search-item-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.search-item-info {
  flex: 1;
  min-width: 0;
}
.search-item-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  transition: color 0.15s ease;
}
.search-item:hover .search-item-title {
  color: #ff6000;
}
.search-item-price {
  color: #2563eb;
  font-weight: 800;
  font-size: 0.85rem;
}
.search-item-arrow {
  font-size: 0.75rem;
  color: #cbd5e1;
  transition: transform 0.15s ease, color 0.15s ease;
}
.search-item:hover .search-item-arrow {
  color: #ff6000;
  transform: translateX(3px);
}
.search-no-results {
  padding: 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Actions: User & Cart */
.header-actions-col {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mini-pazar-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 44px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.mini-pazar-btn:hover {
  border-color: #ff6000;
  background: #fffaf5;
}

.mini-pazar-user-btn .user-btn-icon {
  font-size: 1.1rem;
  color: #2563eb;
}
.user-btn-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.user-sub {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
}
.user-main {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.mini-pazar-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-pazar-cart-btn .cart-btn-icon {
  font-size: 1.1rem;
  color: #ff6000;
}
.cart-btn-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}
.cart-badge-number {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #ef4444;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 7px;
  border: 1px solid white;
}

.mini-pazar-user-dropdown-wrap {
  position: relative;
}

/* Horizontal Sub Navigation Bar */
.mini-pazar-nav {
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  position: relative;
}
.mini-pazar-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.mini-pazar-nav-list .nav-item {
  position: relative;
}
.mini-pazar-nav-list .nav-item .nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.75rem 0;
  transition: var(--transition);
}
.mini-pazar-nav-list .nav-item:hover > .nav-link,
.mini-pazar-nav-list .nav-item.active > .nav-link {
  color: #ff6000;
}
.nav-caret,
.nav-sub-caret {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-left: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.mini-pazar-nav-list .nav-item:hover .nav-caret,
.mini-pazar-nav-list .nav-item:hover .nav-sub-caret {
  transform: rotate(180deg);
  color: #ff6000;
}

/* ==========================================================================
   DIRECT CATEGORY HOVER SUB-DROPDOWN
   ========================================================================== */
.nav-item.has-sub-dropdown {
  position: relative;
}
.category-sub-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  max-width: 440px;
  background: #ffffff;
  border-top: 2px solid #ff6000;
  border-bottom: 2px solid #cbd5e1;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  padding: 12px;
  z-index: 1250;
  display: none;
  opacity: 0;
  visibility: hidden;
  border-radius: 0 0 6px 6px;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  transform: translateY(6px);
}
.nav-item.has-sub-dropdown:hover .category-sub-dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-dropdown-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.sub-dropdown-main-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ff6000;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 6px;
  border-radius: 4px;
}
.sub-dropdown-main-link:hover {
  background: #fff7ed;
}

.sub-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  max-height: 380px;
  overflow-y: auto;
}
.sub-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
  color: #334155;
  transition: background 0.12s ease, transform 0.12s ease;
}
.sub-dropdown-item:hover {
  background: #f8fafc;
  color: #ff6000;
  transform: translateX(3px);
}
.sub-dropdown-thumb {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.sub-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #ff6000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.sub-dropdown-text {
  display: flex;
  flex-direction: column;
}
.sub-dropdown-text b {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}
.sub-dropdown-text span {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ==========================================================================
   MEGA MENU DROPDOWN (Interactive Sidebar & Subcategories Panel)
   ========================================================================== */
.mega-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 980px;
  max-width: calc(100vw - 30px);
  background: #ffffff;
  border-top: 3px solid #ff6000;
  border-bottom: 2px solid #cbd5e1;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  z-index: 1200;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.all-categories-item:hover .mega-menu-wrapper,
.nav-item.has-mega-menu:hover .mega-menu-wrapper {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mega-menu-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #ffffff;
  min-height: 400px;
  max-height: 540px;
}

/* Column 1: Left Vertical Category Tabs */
.mega-sidebar {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 8px 0;
  overflow-y: auto;
  flex-shrink: 0;
}
.mega-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}
.mega-sidebar-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mega-sidebar-item:hover,
.mega-sidebar-item.active {
  background: #ffffff;
  color: #ff6000;
  border-left-color: #ff6000;
  font-weight: 800;
}
.mega-cat-thumb {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
}
.mega-sidebar-item i.cat-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 4px;
  color: #64748b;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.mega-sidebar-item:hover i.cat-icon,
.mega-sidebar-item.active i.cat-icon {
  background: #fff7ed;
  color: #ff6000;
}
.mega-sidebar-item i.chevron {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.15s ease, color 0.15s ease;
}
.mega-sidebar-item:hover i.chevron,
.mega-sidebar-item.active i.chevron {
  color: #ff6000;
  transform: translateX(3px);
}

/* Column 2: Subcategories Grid Area */
.mega-content-area {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  background: #ffffff;
  min-width: 0;
}
.mega-content-pane {
  display: none;
}
.mega-content-pane.active {
  display: block;
  animation: megaPaneFadeIn 0.18s ease-in-out;
}
@keyframes megaPaneFadeIn {
  from { opacity: 0; transform: translateX(6px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Main Category Header Banner: Image + Name Side by Side */
.mega-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  margin-bottom: 20px;
  gap: 16px;
}
.mega-pane-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.mega-pane-header-thumb {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid #cbd5e1;
  flex-shrink: 0;
  background: white;
}
.mega-pane-header-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 6px;
  background: #fff7ed;
  color: #ff6000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1.5px solid #fed7aa;
  flex-shrink: 0;
}
.mega-pane-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.mega-pane-all-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.mega-pane-all-link:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateX(2px);
}

.mega-subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mega-subcat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
}
.mega-subcat-card:hover {
  background: #ffffff;
  border-color: #ff6000;
  box-shadow: 0 4px 16px rgba(255, 96, 0, 0.08);
  transform: translateY(-2px);
}
.mega-subcat-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
}
.mega-subcat-card-img {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  background: white;
}
.mega-subcat-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 4px;
  background: #fff7ed;
  color: #ff6000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid #fed7aa;
}
.mega-subcat-card-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mega-subcat-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  transition: color 0.15s ease;
}
.mega-subcat-card:hover .mega-subcat-name {
  color: #ff6000;
}
.mega-subcat-count {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
  font-weight: 700;
}

.mega-subcat-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-subcat-links li {
  margin-bottom: 4px;
}
.mega-subcat-links li:last-child {
  margin-bottom: 0;
}
.mega-subcat-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mega-subcat-links a i {
  font-size: 0.68rem;
  color: #cbd5e1;
  transition: color 0.15s ease, transform 0.15s ease;
}
.mega-subcat-links a:hover {
  color: #ff6000;
  padding-left: 2px;
}
.mega-subcat-links a:hover i {
  color: #ff6000;
  transform: translateX(2px);
}


.hepsi-user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 240px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index: 1001;
  display: none;
}
.mini-pazar-user-dropdown-wrap:hover .hepsi-user-menu {
  display: block;
}
.user-menu-header {
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 2px solid var(--border);
}
.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition);
}
.user-menu-item:hover {
  background: var(--theme-brand-light);
  color: var(--theme-brand);
  padding-left: 18px;
}

/* Sepetim Button */
.hepsi-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: white;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp-sm);
  height: 46px;
  padding: 0 18px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.hepsi-cart-btn:hover {
  background: var(--theme-brand);
  border-color: var(--border);
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-sharp);
}
.cart-badge-circle {
  position: absolute;
  top: -6px;
  left: -6px;
  background: var(--theme-brand);
  color: white;
  border: 2px solid var(--border);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
}

/* ==========================================================================
   HERO BANNER & FEATURE ICONS (KÖŞELİ / SHARP)
   ========================================================================== */
.hero-banner {
  background: var(--secondary);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp);
  color: white;
  padding: 3.5rem 2.5rem;
  margin: 1.5rem 0 2rem;
  position: relative;
}
.hero-content {
  max-width: 640px;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--theme-brand);
  color: white;
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.85rem;
  }
}
.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.feature-card {
  background: white;
  padding: 1.25rem;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sharp);
}
.feature-icon-box {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  color: var(--secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Categories Pills / Grid */
.category-pills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .category-pills {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
  }
}
.cat-pill {
  background: white;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cat-pill:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sharp);
  transform: translate(-2px, -2px);
  background: var(--theme-brand-light);
}
.cat-pill-icon {
  width: 48px;
  height: 48px;
  background: #f8fafc;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.25rem;
  transition: var(--transition);
}
.cat-pill:hover .cat-pill-icon {
  background: var(--theme-brand);
  color: white;
}
.cat-pill-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-main);
}
.cat-pill-count {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.view-all-link {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--theme-brand);
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover {
  text-decoration: underline;
}

/* Solid Flat Modern Section Backgrounds (No Gradients / No Watermarks) */
.section-soft-amber {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.75rem 0 2rem;
  margin: 0;
}

.section-soft-blue {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.75rem 0 2.5rem;
  margin: 0;
}

/* ==========================================================================
   MINI-PAZAR SECTION TITLES & PRODUCT CARDS
   ========================================================================== */
.mini-pazar-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 1.25rem;
  padding-bottom: 6px;
  border-bottom: 2px solid #ff6000;
  width: fit-content;
}
.mini-pazar-section-title h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.3px;
}
.mini-pazar-section-title .flame-icon {
  font-size: 1.25rem;
  color: #ff6000;
}

/* 4 Column Product Grid */
.mini-pazar-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 1024px) {
  .mini-pazar-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .mini-pazar-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .hero-split-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mini Pazar Product Card */
.mini-pazar-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.mini-pazar-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.mini-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: 1px solid #e2e8f0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}
.mini-wishlist-btn:hover {
  color: #ef4444;
  border-color: #ef4444;
}

.mini-card-img-wrap {
  width: 100%;
  padding-top: 85%;
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}
.mini-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.3s ease;
}
.mini-pazar-card:hover .mini-card-img-wrap img {
  transform: scale(1.04);
}
.placeholder-icon-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #cbd5e1;
  background: #f8fafc;
}

.mini-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mini-store-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.mini-product-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-product-title:hover {
  color: #ff6000;
}

.mini-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.rating-val {
  font-weight: 800;
  color: #0f172a;
}
.review-count {
  color: #94a3b8;
  font-size: 0.75rem;
}

.mini-product-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-price-action-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-price-box {
  display: flex;
  flex-direction: column;
}
.mini-old-price {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 700;
}
.mini-current-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
}

.mini-add-cart-btn {
  background: #ff6000;
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.mini-add-cart-btn:hover {
  background: #ea580c;
}

/* ==========================================================================
   PRODUCT CARDS GRID (KÖŞELİ / SHARP)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

.product-card {
  background: white;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.product-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}
.product-badge-group {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge-discount {
  background: var(--danger);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border: 1px solid var(--border);
}
.badge-featured {
  background: var(--secondary);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border: 1px solid var(--border);
}
.product-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  box-shadow: 2px 2px 0px var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  z-index: 2;
}
.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  background: #ffffff;
  color: var(--danger);
  border-color: var(--danger);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0px var(--danger);
}
.product-image-wrap {
  position: relative;
  padding-top: 100%;
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 2px solid var(--border);
}
.product-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}
.product-info {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  font-weight: 800;
  margin-bottom: 4px;
}
.product-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 12px;
}
.rating-num {
  color: var(--text-muted);
  font-weight: 700;
  margin-left: 2px;
}
.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.price-container {
  display: flex;
  flex-direction: column;
}
.old-price {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.current-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--theme-brand);
}
.add-to-cart-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-main);
  color: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  box-shadow: 2px 2px 0px var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.add-to-cart-btn:hover {
  background: var(--theme-brand);
  color: white;
  border-color: var(--border);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--border);
}

/* ==========================================================================
   BUTTONS (KÖŞELİ / BOLD SHARP)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 12px 24px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--theme-brand);
  color: white;
}
.btn-primary:hover {
  background: var(--theme-brand-hover);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sharp);
}
.btn-secondary {
  background: var(--secondary);
  color: white;
}
.btn-secondary:hover {
  background: #1e293b;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sharp);
}
.btn-outline {
  background: white;
  border: 2px solid var(--border);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--theme-brand-light);
  color: var(--theme-brand);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sharp);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 14px 30px;
  font-size: 0.98rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  background: white;
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--theme-brand);
  box-shadow: 3px 3px 0px var(--theme-brand);
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #059669;
}
.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #dc2626;
}
.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-color: #2563eb;
}

/* Mobile Sticky Bottom Nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav-height);
  background: #ffffff;
  border-top: 2px solid var(--border);
  z-index: 1000;
}
@media (max-width: 991px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  position: relative;
  width: 20%;
  padding: 6px 0;
}
.mobile-nav-item i {
  font-size: 1.2rem;
  margin-bottom: 3px;
}
.mobile-nav-item.active {
  color: var(--theme-brand);
}
.mobile-nav-badge {
  position: absolute;
  top: 2px;
  right: 22%;
  background: var(--danger);
  color: white;
  border: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drawer / Mini Cart */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: white;
  border-left: 2px solid var(--border);
  z-index: 2001;
  box-shadow: -6px 0px 0px rgba(15, 23, 42, 0.15);
  transition: right 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  right: 0;
}
.cart-drawer-header {
  padding: 1.25rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}
.cart-drawer-footer {
  padding: 1.25rem;
  border-top: 2px solid var(--border);
  background: #f8fafc;
}
.drawer-item {
  display: flex;
  gap: 12px;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.drawer-item img {
  width: 65px;
  height: 65px;
  border: 1px solid var(--border);
  object-fit: cover;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: 4.5rem;
  border-top: 2px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.footer-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a:hover {
  color: white;
  padding-left: 4px;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Product Detail Components */
.product-detail-card {
  background: white;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp);
  padding: 2rem;
  margin-bottom: 3rem;
}
.product-main-img-box {
  border: 2px solid var(--border);
  background: #f8fafc;
  text-align: center;
  margin-bottom: 12px;
}
.product-thumb-item {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  background: #f8fafc;
  transition: var(--transition);
}
.product-thumb-item.active,
.product-thumb-item:hover {
  border-color: var(--theme-brand);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0px var(--theme-brand);
}

/* Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.status-badge.paid { background: #dcfce7; color: #15803d; border-color: #15803d; }
.status-badge.unpaid { background: #fef9c3; color: #a16207; border-color: #a16207; }
.status-badge.shipped { background: #e0e7ff; color: #4338ca; border-color: #4338ca; }
.status-badge.pending { background: #fee2e2; color: #b91c1c; border-color: #b91c1c; }
.status-badge.delivered { background: #ecfdf5; color: #047857; border-color: #047857; }

/* Toast Notification Styles */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.custom-toast {
  background: #0f172a;
  color: white;
  padding: 12px 20px;
  border: 1px solid #ff6000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  animation: slideToastIn 0.3s ease forwards;
}
@keyframes slideToastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ADVANCED MOBILE NAVIGATION & RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Hamburger Button (Default Hidden on Desktop) */
.mobile-menu-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: #0f172a;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Off-Canvas Drawer Overlay & Panel */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: #ffffff;
  z-index: 2001;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer-brand {
  display: flex;
  flex-direction: column;
}
.mobile-drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.mobile-drawer-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}
.mobile-drawer-user-box {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 18px;
}
.mobile-nav-section-title {
  font-size: 0.72rem;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.mobile-categories-accordion {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.mobile-cat-group {
  border-bottom: 1px solid #f1f5f9;
}
.mobile-cat-group:last-child {
  border-bottom: none;
}
.mobile-cat-header {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.mobile-cat-header:hover {
  background: #f8fafc;
}
.mobile-cat-chevron {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.mobile-subcat-list {
  background: #f8fafc;
  padding: 8px 12px 12px 28px;
  border-top: 1px dashed #e2e8f0;
}
.mobile-subcat-item {
  display: flex;
  align-items: center;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}
.mobile-subcat-item.all-link {
  color: #2563eb;
  font-weight: 800;
  margin-bottom: 4px;
}

.mobile-quick-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
}
.mobile-quick-links a i {
  width: 20px;
  color: #ff6000;
  font-size: 0.95rem;
}

/* ==========================================================================
   MOBILE SCREEN RESPONSIVE QUERIES (max-width: 991px & 768px)
   ========================================================================== */
@media (max-width: 991px) {
  body {
    padding-bottom: 68px !important;
  }

  /* Header adjustments */
  .mobile-menu-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mini-pazar-nav {
    display: none !important; /* Hide desktop nav bar, handled by drawer */
  }
  .header-main-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }
  .header-brand-col {
    order: 1;
  }
  .header-actions-col {
    order: 2;
    margin-left: auto;
    gap: 6px;
  }
  .mini-pazar-user-btn {
    padding: 0 10px;
    height: 38px;
  }
  .user-btn-label {
    display: none; /* Hide text label on mobile, keep icon */
  }
  .mini-pazar-cart-btn {
    padding: 0 10px;
    height: 38px;
  }
  .cart-btn-label {
    display: none; /* Icon-only button on mobile */
  }
  .header-search-col {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
  }
  .mini-pazar-search-form {
    height: 40px;
  }

  /* Hero & Slider Mobile Adjustments */
  .hero-split-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-bottom: 1.25rem;
  }
  .hero-slide-item {
    padding: 2.25rem 1.5rem !important;
    min-height: 300px !important;
  }
  .hero-slide-item h1 {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }
  .hero-slide-item p {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
  }

  /* Features Bar in 2 Columns on Tablet/Mobile */
  .features-bar-grid,
  .features-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Product Cards Grid: 2 Columns with Balanced Spacing */
  .mini-pazar-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .mini-card-body {
    padding: 10px !important;
  }
  .mini-product-title {
    font-size: 0.85rem !important;
    height: 2.4em !important;
    line-height: 1.2 !important;
  }
  .mini-product-desc {
    display: none !important; /* Hide long description in mobile grid */
  }
  .mini-price-action-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-top: 6px !important;
  }
  .mini-add-cart-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 7px 0 !important;
    font-size: 0.78rem !important;
  }

  /* Mobile Sticky Bottom Nav */
  .mobile-bottom-nav {
    display: flex;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #e2e8f0;
    height: 60px;
    z-index: 1100 !important;
    align-items: center;
    justify-content: space-around;
  }
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    color: #64748b;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    position: relative;
    flex: 1;
  }
  .mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }
  .mobile-nav-item.active {
    color: #ff6000;
  }

  /* Container padding */
  .container {
    padding: 0 12px !important;
  }

  /* Product Detail Page Mobile */
  .product-detail-card {
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .product-main-img-box img {
    max-height: 300px !important;
  }
  .product-detail-card h1 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  .product-detail-card .row {
    flex-direction: column !important;
  }

  /* Cart & Checkout Mobile */
  .cart-item-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .checkout-grid-row {
    flex-direction: column !important;
  }
  
  /* Form fields responsiveness */
  .form-group-grid {
    grid-template-columns: 1fr !important;
  }
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 1.35rem !important;
  }
  .logo-subtitle {
    display: none;
  }
  .mini-pazar-products-grid {
    gap: 8px !important;
  }
  .hero-slide-item {
    min-height: 240px !important;
    padding: 1.25rem 1rem !important;
  }
  .hero-slide-item h1 {
    font-size: 1.25rem !important;
  }
}

/* ==========================================================================
   PRODUCT DETAIL MODERN & MOBILE STYLING
   ========================================================================== */
.product-detail-card-wrap {
  display: flex;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}
.product-detail-gallery-col {
  flex: 0 0 46%;
  padding: 1.75rem;
  border-right: 1px solid #f1f5f9;
  background: #fafafa;
}
.product-main-img-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-align: center;
  padding: 1rem;
  margin-bottom: 12px;
}
.product-main-view-img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  margin: 0 auto;
  transition: all 0.25s ease;
}
.product-thumbs-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.product-thumb-item {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.15s ease;
}
.product-thumb-item.active,
.product-thumb-item:hover {
  border-color: #ff6000;
  box-shadow: 0 0 0 1px #ff6000;
}
.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info-col {
  flex: 0 0 54%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.product-detail-category-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ff6000;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.product-detail-title {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.25;
  color: #0f172a;
  margin: 4px 0 8px;
}
.product-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.meta-dot {
  color: #cbd5e1;
  font-weight: 900;
}
.product-detail-price-box {
  background: #ffffff;
  padding: 1.15rem 1.35rem;
  border: 1.5px solid #fed7aa;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(255, 96, 0, 0.05);
}
.price-box-main-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.price-discount-tag {
  background: #ff6000;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(255, 96, 0, 0.25);
}
.price-old-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.price-savings-label {
  font-size: 0.8rem;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
}
.price-box-promo-pill {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #fed7aa;
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-current-main {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ff6000;
  line-height: 1;
}
.price-old-sub {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 700;
}
.product-short-desc {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Variant Selectors */
.variant-section-group {
  margin-bottom: 1.25rem;
}
.variant-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #0f172a;
}
.variant-chips-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.variant-option-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px 14px;
  cursor: pointer;
  background: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  color: #334155;
  transition: all 0.15s ease;
}
.variant-option-label:hover {
  border-color: #ff6000;
}
.variant-option-label.active {
  border-color: #ff6000;
  background: #fff7ed;
  color: #ff6000;
}
.variant-option-label.size-box {
  min-width: 44px;
  height: 40px;
  justify-content: center;
  padding: 0 10px;
}

/* Action Form & Qty Stepper */
.product-detail-actions-row {
  display: flex;
  gap: 12px;
  margin-bottom: 1.75rem;
  align-items: center;
}
.qty-stepper-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
  height: 46px;
}
.qty-btn {
  width: 42px;
  height: 100%;
  padding: 0;
  border: none;
  background: #f8fafc;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.qty-btn:hover {
  background: #e2e8f0;
}
.qty-input {
  width: 48px;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  font-size: 1rem;
  font-weight: 800;
  outline: none;
  color: #0f172a;
  background: transparent;
  padding: 0 !important;
  margin: 0;
  -moz-appearance: textfield; /* Firefox spinner remove */
}
/* Chrome, Safari, Edge, Opera number spinner remove */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.detail-add-cart-btn {
  flex: 1;
  height: 46px;
  font-weight: 900;
  background: #ff6000;
  border-color: #ff6000;
  border-radius: 6px;
}
.detail-add-cart-btn:hover {
  background: #ea580c;
}

.product-trust-badges-grid {
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-badge-item i {
  font-size: 1.2rem;
  color: #ff6000;
}
.trust-badge-item b {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #0f172a;
}
.trust-badge-item span {
  font-size: 0.72rem;
  color: #64748b;
}

/* Description Card */
.product-description-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}
.product-description-title {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ff6000;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  color: #0f172a;
}
.product-description-content {
  color: #334155;
  line-height: 1.8;
  font-size: 0.92rem;
}

/* Mobile Sticky Buy Bottom Bar */
.mobile-sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 60px; /* Sits right above mobile bottom nav */
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 14px;
  z-index: 1050;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-sticky-buy-info {
  display: flex;
  flex-direction: column;
}
.mobile-sticky-buy-label {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}
.mobile-sticky-buy-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
}
.mobile-sticky-buy-btn {
  flex: 1;
  max-width: 220px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 900;
  background: #ff6000;
  border-color: #ff6000;
  border-radius: 6px;
}

/* Mobile Responsive Overrides for Product Detail */
@media (max-width: 991px) {
  .product-detail-card-wrap {
    flex-direction: column;
  }
  .product-detail-gallery-col {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem;
  }
  .product-main-view-img {
    max-height: 280px !important;
  }
  .product-detail-info-col {
    flex: 0 0 100%;
    padding: 1.25rem 1rem;
  }
  .product-detail-title {
    font-size: 1.25rem !important;
  }
  .price-discount-tag {
    font-size: 1rem !important;
    padding: 6px 10px !important;
  }
  .price-current-main {
    font-size: 1.65rem !important;
  }
  .price-savings-label {
    font-size: 0.75rem !important;
  }
  .product-trust-badges-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .product-description-card {
    padding: 1.25rem 1rem !important;
    margin-bottom: 4rem !important;
  }
  .mobile-sticky-buy-bar {
    display: flex;
  }
}


/* Mobile Filter Bar Trigger (Default hidden on desktop) */
.mobile-filter-bar-row {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 4px;
  position: relative;
}
.filter-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6000;
  display: inline-block;
}

.mobile-sort-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  border-radius: 4px;
  outline: none;
}

/* Active Filter Chips */
.active-filters-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.filter-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.filter-chip:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Desktop Filter Layout */
.catalog-filter-col {
  flex: 0 0 270px;
  max-width: 270px;
}
.catalog-filter-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 1.25rem;
  position: sticky;
  top: 90px;
}
.filter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff6000;
}
.mobile-filter-close-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.filter-group-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.filter-options-scroll {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}
.filter-radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.1s ease;
}
.filter-radio-row:hover {
  background: #f1f5f9;
}
.filter-radio-row input[type="radio"] {
  accent-color: #ff6000;
}
.cat-count-badge {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 700;
}

.price-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-control {
  padding: 8px 10px !important;
  font-size: 0.85rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
}

.filter-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 1rem 0;
}

/* Mobile Filter Responsive Sheet */
@media (max-width: 991px) {
  .mobile-filter-bar-row {
    display: flex;
    width: 100%;
    margin-top: 8px;
  }

  .catalog-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2500;
    display: none;
  }
  .catalog-filter-overlay.active {
    display: block;
  }

  .catalog-filter-col {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 2501;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    margin: 0 !important;
  }
  .catalog-filter-col.active {
    transform: translateY(0);
  }

  .catalog-filter-card {
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    border-bottom: none;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.25rem;
    position: relative;
    top: 0;
  }

  .mobile-filter-close-btn {
    display: block;
  }
  .desktop-only-sort,
  .desktop-only-divider {
    display: none !important;
  }
}

/* Rich Text Product Description Content */
.product-description-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #334155;
  word-break: break-word;
}
.product-description-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 14px 0;
  display: block;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.product-description-content p {
  margin-bottom: 1rem;
}
.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4 {
  color: #0f172a;
  font-weight: 800;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.product-description-content ul,
.product-description-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.product-description-content li {
  margin-bottom: 4px;
}
.product-description-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  border: 1px solid #e2e8f0;
}
.product-description-content table th,
.product-description-content table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
}
.product-description-content table th {
  background: #f8fafc;
  font-weight: 800;
  color: #0f172a;
}

/* ==========================================================================
   CHECKOUT, PROFILE / ACCOUNT & CART RESPONSIVE SYSTEM
   ========================================================================== */

/* Utility Visibility & Flex Grids */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
}

@media (max-width: 991px) {
  .d-md-none { display: none !important; }
}

/* Responsive Grids for Forms */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .form-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

/* Page Header Title styling */
.page-header-title {
  font-size: 1.7rem;
  font-weight: 900;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  line-height: 1.25;
}
@media (max-width: 576px) {
  .page-header-title {
    font-size: 1.38rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

/* Shared Card Box */
.section-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sharp-sm);
}
@media (max-width: 576px) {
  .section-card {
    padding: 1.1rem;
    margin-bottom: 1.1rem;
  }
}
.section-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}
@media (max-width: 576px) {
  .section-card-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */
.checkout-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
.checkout-main-col {
  flex: 0 0 65%;
  max-width: 65%;
  padding: 0 0.75rem;
}
.checkout-sidebar-col {
  flex: 0 0 35%;
  max-width: 35%;
  padding: 0 0.75rem;
}

@media (max-width: 991px) {
  .checkout-main-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .checkout-sidebar-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Saved Addresses Grid */
.saved-addresses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .saved-addresses-grid {
    grid-template-columns: 1fr;
  }
}
.saved-address-card {
  border: 1.5px solid var(--border);
  padding: 12px 14px;
  cursor: pointer;
  display: block;
  transition: var(--transition);
  background: #ffffff;
}
.saved-address-card:hover,
.saved-address-card.selected {
  border-color: var(--theme-brand);
  background: var(--theme-brand-light);
}

/* Payment Method Cards */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.payment-option-card {
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sharp-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
  background: #ffffff;
}
.payment-option-card:hover {
  border-color: var(--theme-brand);
  background: #fffaf5;
}
.payment-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.payment-option-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
  padding-left: 8px;
}
@media (max-width: 576px) {
  .payment-option-card {
    padding: 12px;
  }
  .payment-option-right {
    font-size: 1.1rem;
  }
}

/* Sticky Checkout Summary Sidebar */
.checkout-summary-box {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sharp-sm);
}
@media (min-width: 992px) {
  .checkout-summary-box {
    position: sticky;
    top: 90px;
  }
}
@media (max-width: 576px) {
  .checkout-summary-box {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   ACCOUNT / PROFILE PAGES
   ========================================================================== */
.account-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
.account-sidebar-col {
  flex: 0 0 270px;
  max-width: 270px;
  padding: 0 0.75rem;
}
.account-main-col {
  flex: 1;
  min-width: 0;
  padding: 0 0.75rem;
}

@media (max-width: 991px) {
  .account-sidebar-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .account-main-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Account Navigation Box */
.account-nav-card {
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sharp-sm);
}
.account-nav-header {
  padding: 1.5rem;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.account-avatar-badge {
  width: 56px;
  height: 56px;
  background: #fff7ed;
  color: var(--theme-brand);
  border: 2px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 10px;
  font-weight: 900;
}
.account-nav-links {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 991px) {
  .account-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}
@media (max-width: 576px) {
  .account-nav-links {
    grid-template-columns: 1fr;
  }
}

.account-nav-btn,
.action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition);
  background: transparent;
  width: 100%;
}
.account-nav-btn i,
.action-btn i {
  font-size: 1rem;
  color: var(--text-light);
  width: 18px;
  text-align: center;
  transition: color 0.2s ease;
}
.account-nav-btn:hover,
.action-btn:hover {
  background: #f8fafc;
  color: var(--theme-brand);
  border-color: #e2e8f0;
}
.account-nav-btn:hover i,
.action-btn:hover i {
  color: var(--theme-brand);
}
.account-nav-btn.active,
.action-btn.active {
  background: #fff7ed !important;
  color: var(--theme-brand) !important;
  border-color: #ffedd5 !important;
  font-weight: 800;
}
.account-nav-btn.active i,
.action-btn.active i {
  color: var(--theme-brand) !important;
}

/* Responsive Table Wrapper */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.5rem;
}
.account-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.account-table th {
  background: #f8fafc;
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}
.account-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: middle;
}
.account-table tr:last-child td {
  border-bottom: none;
}

/* Address Cards Grid */
.address-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 576px) {
  .address-cards-grid {
    grid-template-columns: 1fr;
  }
}
.address-item-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sharp-sm);
  transition: var(--transition);
}
.address-item-card:hover {
  border-color: var(--theme-brand);
}

/* Order Detail Items */
.order-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
@media (max-width: 576px) {
  .order-detail-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .order-detail-total {
    align-self: flex-end;
  }
}

/* ==========================================================================
   CART PAGE RESPONSIVE
   ========================================================================== */
.cart-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
.cart-main-col {
  flex: 0 0 68%;
  max-width: 68%;
  padding: 0 0.75rem;
}
.cart-sidebar-col {
  flex: 0 0 32%;
  max-width: 32%;
  padding: 0 0.75rem;
}
@media (max-width: 991px) {
  .cart-main-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .cart-sidebar-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.cart-item-row {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
@media (max-width: 640px) {
  .cart-item-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .cart-item-thumb {
    width: 70px !important;
    height: 70px !important;
  }
  .cart-item-info {
    flex: 1 1 calc(100% - 85px) !important;
  }
  .cart-item-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
  }
}

/* ==========================================================================
   HERO SLIDER & PROMO SECTION RESPONSIVE
   ========================================================================== */
.hero-split-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 20px;
  margin-bottom: 2rem;
  align-items: stretch;
}
@media (max-width: 991px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  min-height: 420px;
  height: 100%;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 420px;
  height: 100%;
}
@media (max-width: 991px) {
  .hero-slide-item {
    padding: 2.5rem 3.25rem;
    min-height: 340px;
  }
}
@media (max-width: 576px) {
  .hero-slide-item {
    padding: 2rem 2.5rem;
    min-height: 280px;
  }
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 540px;
  z-index: 2;
  padding: 0 1rem;
}
@media (max-width: 576px) {
  .hero-content {
    padding: 0 0.5rem;
  }
  .hero-content h1 {
    font-size: 1.5rem !important;
  }
  .hero-content p {
    font-size: 0.88rem !important;
    margin-bottom: 1rem !important;
  }
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-nav-arrow:hover {
  background: #ff6000;
  border-color: #ff6000;
  color: #ffffff;
}
.hero-nav-arrow.hero-prev {
  left: 10px;
}
.hero-nav-arrow.hero-next {
  right: 10px;
}
@media (max-width: 576px) {
  .hero-nav-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .hero-nav-arrow.hero-prev {
    left: 4px;
  }
  .hero-nav-arrow.hero-next {
    right: 4px;
  }
}

.hero-promo-orange-box {
  background: #ff6000;
  color: white;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(255, 96, 0, 0.18);
  min-height: 420px;
  height: 100%;
}
@media (max-width: 576px) {
  .hero-promo-orange-box {
    padding: 1.75rem 1.25rem;
    min-height: auto;
  }
}



