/**
 * ZARA / LUTVELIZADE STYLE LUXURY HEADER STYLES
 * Balanced 3-column architecture, high-fashion typography, seamless mega dropdowns
 */

/* ═══════════════════════════════════════════
   HEADER MAIN STRUCTURE
   ═══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

/* ═══════════════════════════════════════════
   TOP ANNOUNCEMENT BAR (Lütvelizade style)
   ═══════════════════════════════════════════ */
.header-topbar {
  background: #0f0f10;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.topbar-center {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.topbar-promo {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  opacity: 0.95;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.topbar-link:hover {
  color: #ffffff;
}

.topbar-link i {
  font-size: 10px;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   TIER 1: MAIN BRAND BAR (Logo Centered, Search Left, Actions Right)
   ═══════════════════════════════════════════ */
.header-main-bar {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.header-brand-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.header-col-left {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  overflow: visible;
}

.header-col-center {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  flex-shrink: 0;
  padding: 0 16px;
  overflow: visible;
}

.header-col-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px;
  flex-shrink: 0;
  overflow: visible !important;
}

/* Logo */
.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.logo-img {
  height: 42px;
  max-height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.header-logo:hover .logo-img {
  transform: scale(1.02);
}

.logo-text {
  font-family: 'Jost', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--color-primary, #111111);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   TIER 2: CATEGORY NAVIGATION BAR (Full-Width, Centered)
   ═══════════════════════════════════════════ */
.header-nav-bar {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 44px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.header-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  overflow: visible;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Primary nav link */
.nav-link,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171717;
  padding: 12px 0;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link::after,
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary, #111111);
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover > .nav-link,
.nav-item:hover > .nav-dropdown-trigger,
.nav-item.is-open > .nav-link,
.nav-item.is-open > .nav-dropdown-trigger,
.nav-link:hover,
.nav-link.active {
  color: #000000;
}

.nav-item:hover > .nav-link::after,
.nav-item:hover > .nav-dropdown-trigger::after,
.nav-item.is-open > .nav-link::after,
.nav-item.is-open > .nav-dropdown-trigger::after,
.nav-link.active::after {
  width: 100%;
}

.nav-chevron {
  width: 9px;
  height: 9px;
  transition: transform 0.22s ease;
  opacity: 0.6;
}

.nav-item:hover .nav-chevron,
.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #ff5a1f;
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 2px;
  margin-left: 4px;
}

/* Mega Dropdown Panel (Lütvelizade style) */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 480px;
  max-width: 640px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-top: 2px solid #111111;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1000;
  padding: 24px;
}

/* For items on the right side, align dropdown to right */
.nav-item:nth-last-child(-n+4) .nav-dropdown {
  left: auto;
  right: 0;
}

/* Hitbox bridge so hover never breaks moving mouse down */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item:hover > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.dropdown-col-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-col-items li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: #404040;
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid transparent;
}

.dropdown-col-items li a:hover {
  color: #000000;
  font-weight: 600;
  transform: translateX(4px);
}

.dropdown-banner {
  width: 170px;
  padding-left: 20px;
  border-left: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dropdown-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #111111);
  text-decoration: none;
  padding: 8px 12px;
  background: #f5f5f5;
  transition: all 0.15s ease;
}

.dropdown-view-all:hover {
  background: var(--color-primary, #111111);
  color: #ffffff;
}

/* Compact dropdown for "DİĞER" menu */
.nav-dropdown-compact {
  min-width: 220px;
  max-width: 280px;
  padding: 12px;
}

.dropdown-list-simple {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-list-simple li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.dropdown-list-simple li a:hover {
  background: #f7f7f7;
  color: #000000;
  padding-left: 16px;
}

.dropdown-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-item-left i {
  font-size: 12px;
  opacity: 0.6;
}

.nav-loading {
  font-size: 12px;
  color: #888888;
  padding: 8px 0;
}

/* ═══════════════════════════════════════════
   HEADER ACTION BUTTONS
   ═══════════════════════════════════════════ */
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 4px;
  background: transparent;
  border: none;
  color: #171717;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  text-decoration: none;
  user-select: none;
}

.header-icon-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #000000;
}

.header-svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.header-icon-btn:hover .header-svg {
  transform: scale(1.06);
}

.action-text {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #171717;
  white-space: nowrap;
}

/* Cart Badge */
.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-primary, #111111);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

.cart-count.hidden {
  display: none;
}

/* ═══════════════════════════════════════════
   ACCOUNT & LOGIN DROPDOWNS
   ═══════════════════════════════════════════ */
.action-dropdown-wrap {
  position: relative;
}

.account-dropdown,
.login-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.account-dropdown.show,
.login-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Account Dropdown */
.account-dropdown {
  min-width: 220px;
}

.account-header {
  padding: 14px 18px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.account-greeting {
  display: block;
  font-size: 11px;
  color: #888888;
}

.account-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.account-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  color: #404040;
  text-decoration: none;
  transition: all 0.15s ease;
}

.account-menu li a:hover {
  background: #f7f7f7;
  color: #000000;
}

.account-menu li a i {
  width: 16px;
  color: #888888;
  text-align: center;
}

.account-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 6px 0;
}

/* ═══════════════════════════════════════════
   LUXURY CENTERED LOGIN MODAL
   ═══════════════════════════════════════════ */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.login-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.login-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 1px rgba(0, 0, 0, 0.1);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.login-modal-overlay.active .login-modal-dialog {
  transform: translateY(0) scale(1);
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #737373;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 10;
}

.login-modal-close:hover {
  background: #f5f5f5;
  color: #000000;
}

.login-modal-body {
  padding: 36px 32px 32px;
}

.login-modal-brand {
  text-align: center;
  margin-bottom: 24px;
}

.modal-brand-tag {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888888;
  display: block;
  margin-bottom: 6px;
}

.login-modal-title {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
  margin: 0 0 6px;
}

.login-modal-subtitle {
  font-size: 13px;
  color: #666666;
  margin: 0;
}

.login-modal-alert {
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.login-modal-alert.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.login-modal-alert.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-form-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #404040;
  margin-bottom: 6px;
}

.modal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.modal-input-icon {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: #999999;
  pointer-events: none;
}

.modal-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: #fcfcfc;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  font-size: 13px;
  color: #111111;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.modal-input:focus {
  outline: none;
  border-color: #111111;
  background: #ffffff;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #888888;
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
}

.password-toggle-btn:hover {
  color: #111111;
}

.modal-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 12px;
}

.modal-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #555555;
  cursor: pointer;
  user-select: none;
}

.modal-checkbox-label input[type="checkbox"] {
  accent-color: #111111;
  cursor: pointer;
}

.modal-forgot-link {
  color: #666666;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.modal-forgot-link:hover {
  color: #000000;
}

.modal-submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-submit-btn:hover {
  background: #000000;
  transform: translateY(-1px);
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-modal-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: 13px;
  color: #666666;
}

.login-modal-footer .register-link {
  font-weight: 700;
  color: #111111;
  text-decoration: underline;
  margin-left: 4px;
}

.login-modal-footer .register-link:hover {
  color: #ff5a1f;
}

/* ═══════════════════════════════════════════
   FULLSCREEN SEARCH MODAL (Lütvelizade style)
   ═══════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(72px, 12vh, 140px);
  overflow-y: auto;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-inner {
  width: 100%;
  max-width: 760px;
  padding: 40px 24px;
  position: relative;
}

.search-close-btn {
  position: absolute;
  top: -20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-close-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.search-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #111111;
  padding-bottom: 8px;
}

.search-input-icon {
  color: #888888;
  margin-right: 14px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 500;
  color: #111111;
  padding: 8px 0;
}

.search-input:focus {
  outline: none;
}

.search-submit-btn {
  background: transparent;
  border: none;
  color: #111111;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.15s ease;
}

.search-submit-btn:hover {
  transform: translateX(4px);
}

.search-quick-tags {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-tags-title {
  font-size: 12px;
  font-weight: 600;
  color: #888888;
  margin-right: 4px;
}

.quick-tag {
  font-size: 12px;
  font-weight: 500;
  color: #333333;
  background: #f4f4f4;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.quick-tag:hover {
  background: #111111;
  color: #ffffff;
}

.search-clear-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f2f2f2;
  color: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 4px;
  transition: all 0.15s ease;
}

.search-clear-btn:hover {
  background: #111111;
  color: #ffffff;
}

.search-live-results {
  margin-top: 20px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.08);
}

.search-live-loading,
.search-live-empty {
  padding: 20px;
  font-size: 13px;
  color: #666666;
  text-align: center;
}

.search-live-empty a {
  display: inline-block;
  margin-left: 8px;
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
}

.search-live-list {
  max-height: 340px;
  overflow-y: auto;
}

.search-live-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  text-decoration: none;
  color: #111111;
  border-bottom: 1px solid #f4f4f4;
  transition: background 0.15s ease;
}

.search-live-item:last-child {
  border-bottom: none;
}

.search-live-item:hover {
  background: #fafafa;
}

.search-live-thumb {
  width: 46px;
  height: 60px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.search-live-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-live-cat {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
}

.search-live-name {
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-live-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  font-family: 'Jost', sans-serif;
}

.search-live-price .s-old-price {
  font-size: 11px;
  color: #999999;
  text-decoration: line-through;
}

.search-live-price .s-sale-price {
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
}

.search-live-price .s-cur-price {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
}

.search-live-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  background: #111111;
  color: #ffffff;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease;
}

.search-live-view-all:hover {
  background: #2b2b2b;
}

/* ═══════════════════════════════════════════
   MOBILE DRAWER (Lütvelizade & Erbilden)
   ═══════════════════════════════════════════ */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 380px;
  background: #ffffff;
  z-index: 1150;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.mobile-drawer-close:hover {
  background: #f4f4f4;
}

.mobile-drawer-search {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer-search form {
  position: relative;
}

.mobile-search-input {
  width: 100%;
  padding: 10px 40px 10px 14px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 13px;
}

.mobile-search-input:focus {
  outline: none;
  border-color: #111111;
  background: #ffffff;
}

.mobile-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #555555;
  padding: 6px;
  cursor: pointer;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

/* Accordion Nav List */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111111;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-accordion-toggle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #666666;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mobile-accordion-toggle svg {
  transition: transform 0.2s ease;
}

.mobile-nav-item.open > .mobile-nav-row .mobile-accordion-toggle svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 6px 0 12px 28px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.mobile-nav-item.open > .mobile-submenu {
  display: block;
}

.mobile-submenu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #444444;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-submenu li a:hover {
  color: #000000;
  font-weight: 600;
}

.mobile-submenu-all {
  font-weight: 700 !important;
  color: var(--color-primary, #111111) !important;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 4px;
}

.mobile-drawer-section {
  padding: 20px;
  border-top: 1px solid #eeeeee;
  margin-top: 12px;
}

.drawer-section-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #999999;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mobile-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-quick-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  color: #404040;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-quick-links li a:hover {
  color: #000000;
}

.mobile-quick-links li a i {
  width: 18px;
  text-align: center;
  color: #888888;
}

.mobile-drawer-footer {
  padding: 16px 20px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.mobile-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   MINI CART SIDEBAR DRAWER
   ═══════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  max-width: 420px;
  background: #ffffff;
  z-index: 1150;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.cart-header-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cart-title {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  color: #111111;
}

.cart-header-count {
  font-size: 12px;
  color: #888888;
}

.cart-close {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.cart-close:hover {
  background: #f4f4f4;
}

.cart-promo-badge {
  background: #f8f8f8;
  padding: 10px 24px;
  border-bottom: 1px solid #eeeeee;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333333;
}

.cart-promo-badge i {
  color: #22c55e;
}

.cart-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

/* Empty State */
.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #888888;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cart-empty-text {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.btn-continue-shopping {
  display: inline-block;
  padding: 11px 24px;
  background: #111111;
  color: #ffffff;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
}

/* Cart Item Row */
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item-image {
  width: 70px;
  height: 90px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.cart-item-name {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  margin: 0 0 4px;
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 11px;
  color: #777777;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #111111;
}

.cart-item-qty button.is-limit {
  color: #cccccc;
  cursor: not-allowed;
}

.cart-item-stock-hint {
  font-size: 10.5px;
  color: #888888;
  margin-top: 3px;
}

.cart-item-stock-hint.is-low {
  color: #d97706;
  font-weight: 600;
}

.cart-item-stock-hint.is-max {
  color: #dc2626;
  font-weight: 600;
}

.cart-item-qty span {
  width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #999999;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

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

/* Cart Footer */
.cart-footer {
  padding: 20px 24px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666666;
  margin-bottom: 8px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 18px;
}

.cart-cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-btn-secondary,
.cart-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 2px;
  transition: all 0.15s ease;
}

.cart-btn-secondary {
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
}

.cart-btn-secondary:hover {
  background: #f5f5f5;
}

.cart-btn-primary {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
}

.cart-btn-primary:hover {
  background: #333333;
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */
/* Large screens >= 1024px */
@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

/* Medium & Small screens < 1024px */
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: visible;
  }

  .header-main-bar {
    min-height: 54px;
    padding: 0;
    overflow: visible;
  }

  .header-brand-container {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
  }

  .header-col-left {
    min-width: 36px;
    gap: 4px;
    flex-shrink: 0;
  }

  .header-col-center {
    padding: 0 4px;
    max-width: 160px;
    justify-self: center;
    overflow: hidden;
  }

  .logo-img {
    height: 28px;
    max-height: 30px;
    max-width: 140px;
  }

  .logo-text {
    font-size: 20px;
    letter-spacing: 0.12em;
  }

  .header-col-right {
    gap: 2px;
    flex-shrink: 0;
    overflow: visible !important;
  }

  .header-icon-btn {
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .header-svg {
    width: 19px;
    height: 19px;
  }
}

/* Small mobile < 640px */
@media (max-width: 639px) {
  .hidden-sm {
    display: none !important;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
  }

  .header-topbar {
    padding: 5px 0;
  }

  .header-topbar-inner {
    justify-content: center;
    padding: 0 8px;
  }

  .topbar-promo {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 92vw;
    margin: 0 auto;
    text-align: center;
  }

  .header-brand-container {
    padding-left: 8px;
    padding-right: 8px;
    gap: 4px;
  }

  .header-col-left {
    min-width: 34px;
  }

  .header-col-center {
    max-width: 135px;
    padding: 0 2px;
  }

  .logo-img {
    height: 24px;
    max-height: 26px;
    max-width: 120px;
  }

  .logo-text {
    font-size: 17px;
    letter-spacing: 0.1em;
  }

  .header-col-right {
    gap: 1px;
    overflow: visible !important;
  }

  .header-icon-btn {
    min-width: 34px;
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .header-svg {
    width: 18px;
    height: 18px;
  }

  .cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .cart-count {
    top: -3px;
    right: -4px;
    min-width: 15px;
    height: 15px;
    font-size: 9px;
    padding: 0 3px;
    z-index: 5;
  }
}
