/* Ultimate Modern UI/UX - AppleMarketuzb & Telefonmarketuzb */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg-dark: #FBFBFD;
  --bg-surface: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-header: rgba(255, 255, 255, 0.92);

  --primary: #0071E3;
  --primary-hover: #0077ED;
  --primary-light: #4096ff;
  --primary-glow: rgba(0, 113, 227, 0.15);

  --accent-purple: #7C5CFF;
  --accent-emerald: #10b981;
  --accent-amber: #F5C400;
  --accent-cyan: #38bdf8;

  --text-primary: #1D1D1F;
  --text-secondary: #86868B;
  --text-muted: #86868B;

  --border: #E5E5EA;
  --border-subtle: #E5E5EA;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: #FBFBFD !important;
  font-family: var(--font-body);
  color: #1D1D1F !important;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* ════════════════════════════════════════════════════════════
   UI/UX KEYFRAME ANIMATIONS & GLASSMORPHISM UTILITIES
   ════════════════════════════════════════════════════════════ */

@keyframes pulseBadge {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.04);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes floatAnim {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes shimmerEffect {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.glass-card {
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  color: #1D1D1F !important;
}

/* Enforce Light Theme on Bootstrap Cards & Form Controls */
.card,
.bg-card,
.phone-card {
  background-color: #FFFFFF !important;
  border-color: #E5E5EA !important;
  color: #1D1D1F !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.modal-content {
  background-color: #FFFFFF !important;
  border-color: #E5E5EA !important;
  color: #1D1D1F !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.hover-glow {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hover-glow:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
  border-color: #0071E3 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #1D1D1F !important;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* APPLE HIG MODAL STYLING FOR QUICK CHECKOUT / LEAD MODAL */
#leadModal .modal-dialog {
  max-width: 420px;
}

#leadModal .modal-content,
.apple-modal-content {
  background: #FFFFFF !important;
  border-radius: 28px !important;
  padding: 24px !important;
  border: 1px solid #E5E5EA !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  color: #1D1D1F !important;
}

#leadModal .modal-header,
.apple-modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: none !important;
  padding: 0 0 16px 0 !important;
  margin-bottom: 0 !important;
}

#leadModal .modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

#leadModal .icon-phone-bubble {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #E8F2FF;
  color: #0071E3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#leadModal .icon-phone-bubble svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#leadModal .modal-title {
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -0.4px !important;
  color: #1D1D1F !important;
  margin: 0 !important;
}

#leadModal .btn-close-apple {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5F5F7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #86868B;
  transition: background 0.15s, color 0.15s;
}

#leadModal .btn-close-apple:hover {
  background: #E8E8ED;
  color: #1D1D1F;
}

/* Product Preview Card inside Lead Modal */
.product-preview-card,
#leadModal .product-summary {
  background: #F9F9FB !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

.product-preview-card .product-img-box,
#leadModal .product-thumb {
  width: 52px !important;
  height: 52px !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 4px !important;
  overflow: hidden;
}

.product-preview-card .product-img-box img,
#leadModal .product-thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.product-preview-card .product-details,
#leadModal .product-details {
  flex: 1 !important;
  min-width: 0 !important;
}

.product-preview-card .product-title-row,
#leadModal .product-row-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
}

.product-preview-card .product-name,
#leadModal .product-name {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1D1D1F !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.product-preview-card .spec-badge,
#leadModal .product-tag {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  background: #E5E5EA !important;
  color: #515154 !important;
  padding: 1px 6px !important;
  border-radius: 5px !important;
  flex-shrink: 0 !important;
}

.product-preview-card .product-prices,
#leadModal .product-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
}

.product-preview-card .price-usd,
#leadModal .price-usd {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0071E3 !important;
}

.product-preview-card .price-uzs,
#leadModal .price-uzs {
  font-size: 12px !important;
  color: #86868B !important;
}

/* Form fields */
#leadModal .form-group {
  margin-bottom: 16px;
}

#leadModal .field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #86868B;
  margin-bottom: 7px;
}

#leadModal .phone-input-container {
  display: flex;
  align-items: center;
  height: 48px;
  background: #F5F5F7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 13px !important;
  padding: 0 14px !important;
  transition: all 0.2s ease;
}

#leadModal .phone-input-container:focus-within {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

#leadModal .country-code {
  font-size: 15px;
  font-weight: 600;
  color: #1D1D1F;
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #D2D2D7;
  user-select: none;
}

#leadModal .clean-input {
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 15px;
  font-weight: 500;
  color: #1D1D1F !important;
  box-shadow: none !important;
}

#leadModal .clean-input::placeholder {
  color: #86868B !important;
}

#leadModal .text-input-field {
  width: 100%;
  height: 48px;
  background: #F5F5F7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 13px !important;
  padding: 0 14px !important;
  font-size: 15px;
  color: #1D1D1F !important;
  outline: none !important;
  transition: all 0.2s ease;
}

#leadModal .text-input-field:focus {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

#leadModal .textarea-field {
  width: 100%;
  height: 72px;
  background: #F5F5F7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 13px !important;
  padding: 12px 14px !important;
  font-size: 14px;
  color: #1D1D1F !important;
  outline: none !important;
  resize: none;
  transition: all 0.2s ease;
}

#leadModal .textarea-field:focus {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

#leadModal .btn-submit-order {
  width: 100%;
  height: 50px;
  background: #0071E3 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  transition: background 0.2s, transform 0.1s;
}

#leadModal .btn-submit-order:hover {
  background: #0077ED !important;
}

.smooth-transition {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* HERO CAROUSEL CONTROLS & SLIDE BUTTONS POLISHED */
.carousel-control-prev,
.carousel-control-next {
  width: 48px !important;
  height: 48px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 0.95 !important;
  z-index: 10 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.carousel-control-prev {
  left: 16px !important;
}

.carousel-control-next {
  right: 16px !important;
}

.hero-carousel-btn,
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E5E5EA !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1D1D1F !important;
  font-size: 1.1rem !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: all 0.25s ease !important;
  filter: none !important;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-prev:hover .hero-carousel-btn,
.carousel-control-next:hover .hero-carousel-btn,
.hero-carousel-btn:hover {
  background-color: #0071E3 !important;
  color: #FFFFFF !important;
  border-color: #0071E3 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35) !important;
}

.carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: #86868B !important;
  border: none !important;
  opacity: 0.35 !important;
  transition: all 0.3s ease !important;
  margin: 0 4px !important;
}

.carousel-indicators .active {
  width: 28px !important;
  border-radius: 12px !important;
  background-color: #0071E3 !important;
  opacity: 1 !important;
}

.text-secondary {
  color: #86868B !important;
}

.text-muted {
  color: #86868B !important;
}

.text-xs {
  font-size: 0.825rem !important;
}

.text-sm {
  font-size: 0.9rem !important;
}

/* TOPBAR STYLING */
.topbar {
  background: #F5F5F7;
  border-bottom: 1px solid #E5E5EA;
  font-size: 0.85rem;
  padding: 8px 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #86868B;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.topbar-item:hover {
  color: #1D1D1F;
}

/* HEADER STYLING */
.header-main {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #E5E5EA;
  padding: 16px 0;
}

.logo-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #1D1D1F;
  letter-spacing: -0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-icon-bg {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #0071E3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.25);
  flex-shrink: 0;
}

.brand-highlight {
  color: #0071E3;
}

.logo-badge {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 113, 227, 0.08);
  color: #0071E3;
  border: 1px solid rgba(0, 113, 227, 0.2);
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* SEARCH BAR POLISHED */
.header-search {
  position: relative;
}

.header-search .form-control {
  background-color: #F5F5F7 !important;
  border: 1px solid #E5E5EA !important;
  color: #1D1D1F !important;
  border-radius: var(--radius-md) !important;
  padding-left: 44px !important;
  padding-right: 110px !important;
  height: 48px;
  font-size: 0.925rem;
  font-weight: 500 !important;
  transition: all 0.25s ease;
}

.header-search .form-control:focus {
  background-color: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15) !important;
}

.header-search .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #86868B;
  font-size: 1rem;
  pointer-events: none;
}

.header-search .btn-search {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  border-radius: var(--radius-sm);
  padding: 0 20px;
  font-size: 0.875rem;
  font-weight: 700;
  background: #0071E3;
  border: none;
  color: #ffffff;
}

@media (max-width: 576px) {
  .header-search .form-control {
    padding-right: 56px !important;
    font-size: 0.85rem !important;
  }

  .header-search .btn-search {
    padding: 0 14px !important;
  }
}

.header-search .btn-search:hover {
  background: #0077ED;
}

.topbar-item i {
  color: #86868B;
  transition: color 0.2s ease;
}

.topbar-item:hover {
  color: #1D1D1F;
}

.topbar-item:hover i {
  color: #0071E3;
}

/* CATEGORY STRIP POLISHED & UNIFIED ICON COLORS */
.cat-strip {
  background-color: #F5F5F7;
  border-bottom: 1px solid #E5E5EA;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

@media (max-width: 767px) {
  .cat-strip {
    display: none !important;
  }
}

.cat-strip::-webkit-scrollbar {
  display: none;
}

.cat-strip .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-strip .container::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  color: #1D1D1F;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #E5E5EA;
  transition: all 0.25s ease;
  background: #FFFFFF;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-pill i,
.cat-pill svg {
  color: #86868B !important;
  fill: #86868B !important;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  background-color: #F5F5F7;
  color: #0071E3;
  border-color: #0071E3;
}

.cat-pill:hover i,
.cat-pill:hover svg {
  color: #0071E3 !important;
  fill: #0071E3 !important;
}

.cat-pill.active {
  background: #0071E3 !important;
  color: #ffffff !important;
  border-color: #0071E3 !important;
}

.cat-pill.active i,
.cat-pill.active svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* HERO BUTTON STYLES FOR HIGH VISIBILITY & ELEGANCE */
.hero-btn-primary {
  background: #0071E3 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.975rem !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.hero-btn-primary:hover {
  background: #0077ED !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.45) !important;
  color: #ffffff !important;
}

.hero-btn-secondary {
  background: #FFFFFF !important;
  color: #1D1D1F !important;
  font-weight: 700 !important;
  font-size: 0.975rem !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  border: 1px solid #E5E5EA !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.hero-btn-secondary:hover {
  background: #F5F5F7 !important;
  border-color: #0071E3 !important;
  color: #0071E3 !important;
  transform: translateY(-2px) !important;
}

.hero-device-img {
  max-height: 380px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid #E5E5EA;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-device-img:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
}

/* HERO PROMO BANNER POLISHED */
.hero-promo-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 991px) {
  .hero-promo-grid {
    grid-template-columns: 1fr;
  }
}

.hero-banner-main {
  background: linear-gradient(135deg, #17233d 0%, #0d1526 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.hero-banner-side {
  background: linear-gradient(135deg, #242258 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.hero-tag-primary {
  background: rgba(59, 130, 246, 0.25) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(147, 197, 253, 0.4) !important;
  padding: 7px 16px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.hero-tag-warning {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #fde047 !important;
  border: 1px solid rgba(253, 224, 71, 0.4) !important;
  padding: 7px 16px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* QUICK TILES GRID */
.quick-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 991px) {
  .quick-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quick-tile {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #1D1D1F;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-tile:hover {
  background: #F5F5F7;
  border-color: #0071E3;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.12);
}

.tile-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #F5F5F7 !important;
  border: 1px solid #E5E5EA !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.quick-tile:hover .tile-icon {
  transform: scale(1.08);
}

.tile-icon.icon-green {
  color: #34C759 !important;
}

.tile-icon.icon-blue {
  color: #0071E3 !important;
}

.tile-icon.icon-amber {
  color: #FF9500 !important;
}

.tile-icon.icon-cyan {
  color: #30B0C7 !important;
}

/* BRAND TILES GRID */
.brands-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

@media (max-width: 576px) {
  .brands-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-tile {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #1D1D1F !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.brand-tile:hover,
.brand-tile.active {
  background: #F5F5F7;
  border-color: #0071E3;
  color: #0071E3 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.15);
}

.brand-tile i,
.brand-tile svg {
  color: #1D1D1F !important;
  fill: currentColor;
  transition: color 0.3s ease;
}

.brand-tile:hover i,
.brand-tile:hover svg,
.brand-tile.active i,
.brand-tile.active svg {
  color: #0071E3 !important;
  fill: #0071E3 !important;
}

/* PRODUCT CARD HIGH CONTRAST & ANIMATIONS */
.phone-card {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 20px !important;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.phone-card:hover {
  border-color: #0071E3 !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 113, 227, 0.12) !important;
}

.phone-card-img-container {
  height: 220px;
  background: #F5F5F7;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  border-bottom: 1px solid #E5E5EA;
  overflow: hidden;
}

.phone-card-img {
  max-height: 180px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-card:hover .phone-card-img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 12px 22px rgba(0, 113, 227, 0.2));
}

.card-action-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.card-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #E5E5EA;
  color: #86868B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-action-btn:hover,
.card-action-btn.active {
  background: #0071E3;
  border-color: #0071E3;
  color: #ffffff;
  transform: scale(1.1);
}

.card-tag-header {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0071E3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  cursor: pointer;
}

/* PILL BUTTONS FOR PRODUCT CARD */
.btn-primary-pill {
  background: #0071E3 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
  transition: all 0.25s ease !important;
}

.btn-primary-pill:hover {
  background: #0077ED !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.4) !important;
}

.btn-warning-pill {
  background: #FF9500 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.btn-warning-pill:hover {
  background: #FF9F0A !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(255, 149, 0, 0.4) !important;
}

.btn-outline-pill {
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  color: #1D1D1F !important;
  border-radius: 50px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.btn-outline-pill:hover {
  background: #F5F5F7 !important;
  border-color: #0071E3 !important;
  color: #0071E3 !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 576px) {
  .phone-card-img-container {
    height: 155px !important;
    padding: 12px 10px !important;
  }

  .phone-card-img {
    max-height: 130px !important;
  }
}

.btn-outline-pill {
  background: #FFFFFF !important;
  color: #1D1D1F !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 50px !important;
  transition: all 0.25s ease !important;
}

.btn-outline-pill:hover {
  background: #F5F5F7 !important;
  border-color: #0071E3 !important;
  color: #0071E3 !important;
  transform: translateY(-1.5px) !important;
}

/* PRODUCT CARD BADGES WITH ELEGANT GLASS HARMONY */
.phone-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  z-index: 2;
  letter-spacing: 0.5px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  max-width: calc(100% - 90px) !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-sealed {
  background: #E8F5E9 !important;
  color: #2E7D32 !important;
  border: 1px solid #C8E6C9 !important;
}

.badge-used {
  background: #FFF3E0 !important;
  color: #E65100 !important;
  border: 1px solid #FFE0B2 !important;
}

.badge-sold {
  background: #FFEBEE !important;
  color: #C62828 !important;
  border: 1px solid #FFCDD2 !important;
}

/* STATS COUNTER BANNER */
.stats-banner {
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: var(--radius-xl) !important;
  padding: 36px !important;
  margin: 40px 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.stats-flex {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #1D1D1F !important;
  line-height: 1;
  margin-bottom: 6px;
}

/* FORM CONTROLS HIGH READABILITY & PREMIUM DESIGN */
.form-control,
.form-select {
  background-color: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  color: #1D1D1F !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 10px 16px !important;
  transition: all 0.25s ease !important;
}

.form-select,
.catalog-filter-select,
select,
.form-control,
input {
  background-color: #FFFFFF !important;
  color: #1D1D1F !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 12px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.form-select,
.catalog-filter-select,
select {
  padding-right: 40px !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231D1D1F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 10px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.catalog-filter-select:hover,
.form-select:hover,
select:hover {
  border-color: #0071E3 !important;
  background-color: #F5F5F7 !important;
  color: #0071E3 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230071E3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.form-control:focus,
input:focus,
textarea:focus {
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3.5px rgba(0, 113, 227, 0.15) !important;
  background-color: #FFFFFF !important;
  color: #1D1D1F !important;
  outline: none !important;
}

.form-select:focus,
.catalog-filter-select:focus,
select:focus {
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3.5px rgba(0, 113, 227, 0.15) !important;
  background-color: #FFFFFF !important;
  color: #1D1D1F !important;
  outline: none !important;
}

/* CUSTOM STYLING FOR DROPDOWN OPTIONS */
.form-select option,
.catalog-filter-select option,
select option {
  background-color: #FFFFFF !important;
  color: #1D1D1F !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  font-size: 0.9rem !important;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:active,
.form-select option:checked,
select option:checked {
  background-color: #0071E3 !important;
  color: #ffffff !important;
}

/* BUTTONS MODERN & DISCIPLINED */
.btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-primary {
  background: #0071E3 !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-primary:hover {
  background: #0077ED !important;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.4);
  transform: translateY(-2px);
}

.btn-success {
  background: #34C759 !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700;
}

.btn-success:hover {
  background: #30B753 !important;
  transform: translateY(-2px);
}

.btn-warning {
  background: #FF9500 !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800;
}

.btn-warning:hover {
  background: #FF9F0A !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline-warning {
  color: #FF9500 !important;
  border-color: rgba(255, 149, 0, 0.5) !important;
  font-weight: 700;
}

.btn-outline-warning:hover {
  background-color: #FF9500 !important;
  color: #ffffff !important;
}

/* MODAL LIGHT STYLING */
.modal-content {
  background-color: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* STEPPER WIZARD STYLING (APPLE LIGHT WIZARD STYLE) */
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 35px 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  min-width: 60px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #E5E5EA;
  color: #1D1D1F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.step-item.active .step-circle {
  background: #0071E3 !important;
  border-color: #0071E3 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(0, 113, 227, 0.4) !important;
}

.step-item.completed .step-circle {
  background: #34C759 !important;
  border-color: #34C759 !important;
  color: #ffffff !important;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #86868B !important;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: #1D1D1F !important;
}

.step-item.completed .step-label {
  color: #34C759 !important;
}

.step-line {
  flex-grow: 1;
  height: 3px;
  background: #E5E5EA;
  min-width: 15px;
  max-width: 45px;
  margin-top: -16px;
  transition: all 0.3s ease;
}

.step-line.active {
  background: #34C759 !important;
}

/* WIZARD SELECTION CARDS & PILLS */
.wizard-card-option {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wizard-card-option h5,
.wizard-card-option div,
.wizard-card-option p {
  color: #1D1D1F !important;
}

.wizard-card-option:hover {
  border-color: #0071E3;
  background: #F5F5F7;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.12);
}

.wizard-card-option.active {
  border-color: #0071E3 !important;
  background: #F0F7FF !important;
  box-shadow: 0 0 16px rgba(0, 113, 227, 0.2) !important;
}

.wizard-pill-option {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.925rem;
  color: #1D1D1F !important;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wizard-pill-option:hover {
  border-color: #0071E3;
  background: #F5F5F7;
  color: #0071E3 !important;
  transform: translateY(-2px);
}

.wizard-pill-option.active {
  background: #0071E3 !important;
  border-color: #0071E3 !important;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
  color: #ffffff !important;
}

/* WIZARD CONDITION CHIPS */
.wizard-cond-group {
  margin-bottom: 24px;
}

.wizard-cond-title {
  font-size: 0.925rem;
  font-weight: 800;
  color: #1D1D1F !important;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-cond-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.wizard-cond-chip {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.wizard-cond-chip i {
  font-size: 1.4rem;
}

.wizard-cond-chip .chip-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1D1D1F !important;
}

.wizard-cond-chip:hover {
  border-color: #0071E3;
  background: #F5F5F7;
}

.wizard-cond-chip.active {
  border-color: #0071E3 !important;
  background: #F0F7FF !important;
  box-shadow: 0 0 14px rgba(0, 113, 227, 0.2) !important;
}

.wizard-cond-chip.active .chip-label {
  color: #0071E3 !important;
}

/* WIZARD ACTION BUTTONS */
.btn-wizard-back {
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  color: #1D1D1F !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 12px 34px !important;
  border-radius: 50px !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.btn-wizard-back:hover {
  background: #F5F5F7 !important;
  border-color: #0071E3 !important;
  color: #0071E3 !important;
  transform: translateY(-2px) !important;
}

.btn-wizard-next {
  background: #0071E3 !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 13px 44px !important;
  border-radius: 50px !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.btn-wizard-next:hover {
  background: #0077ED !important;
  box-shadow: 0 10px 25px rgba(0, 113, 227, 0.5) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.btn-wizard-next-gold {
  background: #FF9500 !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 13px 44px !important;
  border-radius: 50px !important;
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.35) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.btn-wizard-next-gold:hover {
  background: #FF9F0A !important;
  box-shadow: 0 10px 25px rgba(255, 149, 0, 0.5) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

/* WIZARD PHOTO UPLOAD DASHED ZONE */
.wizard-photo-dropzone {
  border: 2px dashed #C7C7CC;
  background: #F5F5F7;
  border-radius: var(--radius-xl);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wizard-photo-dropzone h5,
.wizard-photo-dropzone p {
  color: #1D1D1F !important;
}

.wizard-photo-dropzone:hover {
  border-color: #0071E3;
  background: #F0F7FF;
}

/* ════════════════════════════════════════════════════════════
   FLOATING MOBILE BOTTOM NAVIGATION BAR & TOUCH OPTIMIZATIONS
   ════════════════════════════════════════════════════════════ */

/* iOS Frosted Glass Tab Bar & Mobile Bottom Nav */
.tab-bar,
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 0.5px solid rgba(0, 0, 0, 0.15) !important;
  padding-bottom: env(safe-area-inset-bottom, 8px);
  z-index: 1050 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.tab-bar-inner,
.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.tab-item,
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  text-decoration: none !important;
  color: #8E8E93 !important;
  transition: color 0.15s ease;
  position: relative;
}

.tab-icon,
.mobile-nav-item svg,
.mobile-nav-item i {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.15s ease, stroke-width 0.15s ease;
  font-size: 1.15rem;
}

.tab-label,
.mobile-nav-item span {
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: -0.2px;
  color: inherit !important;
}

/* Faol holat (Active) */
.tab-item.active,
.mobile-nav-item.active {
  color: #0071E3 !important;
}

.tab-item.active .tab-icon,
.mobile-nav-item.active svg,
.mobile-nav-item.active i {
  stroke-width: 2.2;
  color: #0071E3 !important;
}

.tab-item:active .tab-icon,
.mobile-nav-item:active svg,
.mobile-nav-item:active i {
  transform: scale(0.92);
}

/* Badge (Savat yoki Xabarlar uchun) */
.tab-badge {
  position: absolute;
  top: 6px;
  right: 50%;
  margin-right: -18px;
  background: #FF3B30;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES (@media max-width: 991px & 768px)
   ════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .hero-banner-main {
    padding: 28px 20px !important;
    border-radius: var(--radius-lg) !important;
  }

  .hero-banner-side {
    padding: 24px 20px !important;
    border-radius: var(--radius-lg) !important;
  }

  .hero-banner-main h1 {
    font-size: 1.55rem !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
    /* Account for floating bottom nav */
  }

  .mobile-bottom-nav {
    display: block !important;
  }

  /* Container Padding */
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Header Nav Pills on Mobile */
  .header-main {
    padding: 10px 0 !important;
  }

  .logo-brand {
    font-size: 1.25rem !important;
    gap: 8px !important;
  }

  .logo-icon-bg {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .logo-badge {
    display: none !important;
    /* Hide badge on mobile to save space */
  }

  /* Topbar on Mobile */
  .topbar {
    font-size: 0.75rem !important;
    padding: 5px 0 !important;
  }

  .topbar-item {
    font-size: 0.72rem !important;
  }

  /* Header Nav Buttons */
  .header-main .btn {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
  }

  /* Search Bar on Mobile */
  .header-search {
    width: 100% !important;
    margin-top: 2px;
  }

  .header-search .form-control {
    height: 42px !important;
    padding-left: 36px !important;
    padding-right: 85px !important;
    font-size: 0.85rem !important;
    /* Prevents auto zoom on iOS */
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
  }

  .header-search .search-icon {
    left: 12px !important;
    font-size: 0.9rem !important;
  }

  .header-search .btn-search {
    padding: 4px 14px !important;
    font-size: 0.78rem !important;
    height: 32px !important;
    right: 5px !important;
    top: 5px !important;
    border-radius: 8px !important;
  }

  /* Horizontal Category Strip on Mobile */
  .cat-strip {
    padding: 8px 0 !important;
    -webkit-overflow-scrolling: touch;
  }

  .cat-strip::-webkit-scrollbar {
    display: none;
  }

  .cat-pill {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    border-radius: 10px !important;
  }

  /* Brand Tiles on Mobile */
  .brands-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    overflow-x: visible !important;
    padding-bottom: 0 !important;
  }

  .brand-tile {
    padding: 12px 10px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    gap: 8px !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .brand-tile svg {
    max-width: 30px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
  }

  .brand-tile i {
    flex-shrink: 0 !important;
    font-size: 1rem !important;
  }

  /* Catalog Filter Selects on Mobile */
  .catalog-filter-select {
    width: 100% !important;
    padding: 8px 30px 8px 12px !important;
    font-size: 0.8rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  /* Stepper Progress Bar on Mobile */
  .wizard-stepper {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
    scrollbar-width: none;
  }

  .wizard-stepper::-webkit-scrollbar {
    display: none;
  }

  .step-item {
    min-width: 46px !important;
  }

  .step-circle {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.72rem !important;
  }

  .step-label {
    font-size: 0.65rem !important;
  }

  .step-line {
    min-width: 10px !important;
    max-width: 20px !important;
    margin-top: -12px !important;
  }

  /* Wizard Selection Options */
  .wizard-pill-option {
    padding: 9px 14px !important;
    font-size: 0.8rem !important;
    flex: 1 1 auto;
    text-align: center;
  }

  .wizard-card-option {
    padding: 14px 10px !important;
  }

  .wizard-card-option h5 {
    font-size: 0.9rem !important;
  }

  /* Condition Chips Grid on Mobile */
  .wizard-cond-chips {
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2 clean columns on small screens */
    gap: 8px !important;
  }

  .wizard-cond-chip {
    padding: 12px 8px !important;
    border-radius: 12px !important;
  }

  .wizard-cond-chip i {
    font-size: 1.2rem !important;
  }

  .wizard-cond-chip .chip-label {
    font-size: 0.78rem !important;
    word-break: break-word;
  }

  /* Navigation Action Buttons on Mobile */
  .btn-wizard-back,
  .btn-wizard-next,
  .btn-wizard-next-gold {
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
    flex: 1;
    width: 100% !important;
  }

  /* Summary Display Text */
  #wizResOldPriceUSD,
  #wizResDiffUSD,
  #sellResOldPriceUSD {
    font-size: 1.85rem !important;
  }

  /* Product Cards Mobile Optimizations */
  .phone-card {
    border-radius: 16px !important;
  }

  .phone-card-img-container {
    height: 155px !important;
    padding: 10px !important;
  }

  .phone-card h6 {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
  }

  .phone-status-badge {
    font-size: 0.65rem !important;
    padding: 3px 7px !important;
    top: 8px !important;
    left: 8px !important;
  }

  .phone-card .p-3 {
    padding: 10px !important;
  }

  /* Hero Section Mobile Polish */
  .hero-apple-showcase {
    padding: 24px 16px !important;
    border-radius: 20px !important;
  }

  .hero-apple-showcase img {
    display: none !important;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Quick Tiles Grid */
  .quick-tiles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 16px 0 !important;
  }

  .quick-tile {
    padding: 12px 10px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }

  .tile-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
  }

  /* Stats Banner */
  .stats-banner {
    padding: 20px 14px !important;
    border-radius: 16px !important;
  }

  .stats-flex {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .stat-val {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .wizard-cond-chips {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .phone-card-img-container {
    height: 145px !important;
  }

  .phone-card h6 {
    font-size: 0.85rem !important;
  }

  .phone-card .row.g-1.5 {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .phone-card .row.g-1.5>div {
    width: 100% !important;
  }

  .phone-card .btn-sm {
    padding: 7px 10px !important;
    font-size: 0.75rem !important;
    width: 100% !important;
  }

  .topbar {
    display: none !important;
    /* Hide topbar on small mobile screens for maximum vertical screen space */
  }
}

/* CATALOG CARD PILL BUTTONS */
.btn-primary-pill {
  background: #1677FF !important;
  border: 1px solid #1677FF !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 8px 16px !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3) !important;
}

.btn-primary-pill:hover {
  background: #0958d9 !important;
  border-color: #0958d9 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.45) !important;
}

.btn-outline-pill {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #e2e8f0 !important;
  border-radius: 50px !important;
  padding: 7.5px 16px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.btn-outline-pill:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ============================================================
   PREMIUM PRODUCT SPECIFICATIONS CARD DESIGN
   ============================================================ */
.spec-box-card {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   PREMIUM MODERN INPUT GROUPS & FORM CONTROLS
   ============================================================ */
.input-group {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background-color: #0b101d !important;
  transition: all 0.25s ease !important;
}

.input-group:focus-within {
  border-color: #1677FF !important;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.25) !important;
  background-color: #101827 !important;
}

.input-group .input-group-text {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #60a5fa !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group .form-control {
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
}

.form-control,
.form-select,
textarea.form-control {
  background-color: #0b101d !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 11px 16px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  background-color: #101827 !important;
  border-color: #1677FF !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.25) !important;
}

.form-control::placeholder {
  color: #64748b !important;
  opacity: 0.85 !important;
}

label.form-label {
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 0.825rem !important;
  margin-bottom: 6px !important;
}

.spec-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.2s ease-in-out;
}

.spec-row-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}

.spec-label-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}

.spec-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #38bdf8;
  flex-shrink: 0;
}

.spec-value-text {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: right;
}

.spec-note-box {
  margin-top: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.08) 0%, rgba(15, 23, 42, 0.4) 100%);
  border: 1px solid rgba(22, 119, 255, 0.2);
  border-radius: 14px;
}

.spec-note-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.spec-note-content {
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ═══ ADMIN PANEL DARK LUXURY OVERRIDES ═══ */
.table-admin,
.table-admin> :not(caption)>*>* {
  --bs-table-bg: transparent !important;
  --bs-table-accent-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-hover-bg: rgba(255, 255, 255, 0.05) !important;
  --bs-table-color: #f8fafc !important;
  background-color: transparent !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.table-admin tr {
  background-color: transparent !important;
}

.table-admin td {
  background-color: transparent !important;
  color: #f8fafc !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.table-admin th {
  background-color: #090e1a !important;
  color: #94a3b8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Product Page Variant Selectors */
.color-swatch-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}

.color-swatch-btn:hover {
  transform: scale(1.1);
  border-color: #fff;
}

.color-swatch-btn.active-color-swatch {
  transform: scale(1.15);
  border-color: #1677ff !important;
  box-shadow: 0 0 12px rgba(22, 119, 255, 0.6);
}

.storage-chip-btn {
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.storage-chip-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.storage-chip-btn.active-storage-chip {
  color: #fff !important;
  background: #1677ff !important;
  border-color: #1677ff !important;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.4);
}

/* ════════════════════════════════════════════════════════════
   APPLE STORE TRADE-IN RESULT & STEPPER COMPONENT STYLES
   ════════════════════════════════════════════════════════════ */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.stepper .step-item {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #86868B;
  min-width: auto;
}

.stepper .step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D2D2D7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.stepper .step-item.completed .step-dot {
  background: #1D1D1F;
}

.stepper .step-item.active .step-dot {
  background: #0071E3;
}

.stepper .step-item.active {
  color: #1D1D1F;
  font-weight: 600;
}

.stepper .step-line {
  width: 32px;
  height: 2px;
  background: #E5E5EA;
  margin-top: 0;
  min-width: 20px;
  max-width: 32px;
}

.card-apple-valuation {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  padding: 40px;
}

.card-apple-header {
  text-align: center;
  margin-bottom: 36px;
}

.card-apple-header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  color: #1D1D1F;
}

.card-apple-header p {
  color: #86868B;
  font-size: 15px;
}

.apple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

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

  .card-apple-valuation {
    padding: 24px;
  }
}

.panel {
  border: 1px solid #E5E5EA;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
}

.panel-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #E8F2FF;
  color: #0071E3;
  margin-bottom: 16px;
}

.phone-title {
  font-size: 20px;
  font-weight: 600;
  color: #1D1D1F;
  margin-bottom: 6px;
}

.specs-list {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #86868B;
  line-height: 1.6;
  margin-bottom: 20px;
}

.specs-list li {
  margin-bottom: 4px;
}

.price-box {
  border-top: 1px solid #E5E5EA;
  padding-top: 16px;
  margin-bottom: 20px;
}

.price-box span {
  font-size: 12px;
  color: #86868B;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.price-val {
  font-size: 32px;
  font-weight: 700;
  color: #1D1D1F;
  line-height: 1.1;
  margin-top: 4px;
}

.price-sub {
  font-size: 13px;
  color: #86868B;
  margin-top: 2px;
}

.select-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #86868B;
  margin-bottom: 8px;
}

.custom-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #E5E5EA;
  background: #FAFAFC;
  font-size: 14px;
  font-weight: 500;
  color: #1D1D1F;
  outline: none;
  transition: all 0.2s;
}

.custom-select:focus {
  border-color: #0071E3;
  background: #fff;
}

.panel-diff {
  background: #FAFAFC;
  border: 1px solid #E5E5EA;
}

.diff-title {
  font-size: 13px;
  font-weight: 600;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.diff-amount {
  font-size: 42px;
  font-weight: 700;
  color: #1D1D1F;
  letter-spacing: -1px;
  margin: 4px 0 2px 0;
}

.form-group {
  margin-top: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #86868B;
  margin-bottom: 6px;
}

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

.input-field {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #E5E5EA;
  background: #FFFFFF;
  padding: 0 14px;
  font-size: 15px;
  color: #1D1D1F;
  outline: none;
  transition: all 0.2s;
}

.input-field:focus {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.btn-submit {
  width: 100%;
  height: 48px;
  background: #1D1D1F;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.reset-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #86868B;
  text-decoration: none;
  margin-top: 14px;
  transition: color 0.2s;
}

.reset-link:hover {
  color: #1D1D1F;
}

/* NASIYA CALCULATOR LIGHT APPLE STYLES */
.partner-card {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.partner-card:hover,
.partner-card.active {
  border-color: #0071E3 !important;
  background: #F0F7FF !important;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15) !important;
}

.term-btn,
.downpay-btn {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1D1D1F;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.term-btn:hover,
.downpay-btn:hover {
  border-color: #0071E3;
  background: #F5F5F7;
  color: #0071E3;
}

.term-btn.active,
.downpay-btn.active {
  background: #0071E3 !important;
  border-color: #0071E3 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
}

/* ════════════════════════════════════════════════════════════
   CLEAN APPLE-STYLE FOOTER STYLING
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background-color: #F5F5F7 !important;
  color: #1D1D1F !important;
  font-size: 13px;
  line-height: 1.5;
  border-top: 1px solid #E5E5EA !important;
  padding: 48px 0 28px 0 !important;
  margin-top: auto !important;
  width: 100%;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #E5E5EA;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .footer-grid .brand-col,
  .footer-grid .callback-box {
    grid-column: span 2;
  }
}

/* 1-ustun: Brend */
.brand-col .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: #1D1D1F !important;
}

.brand-col .logo svg {
  width: 20px;
  height: 20px;
  fill: #1D1D1F;
}

.badge-sub {
  font-size: 11px;
  font-weight: 500;
  color: #86868B;
  background: #E5E5EA;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 4px;
}

.brand-desc {
  color: #86868B !important;
  font-size: 13px;
  max-width: 280px;
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #424245 !important;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: #0071E3 !important;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1D1D1F !important;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  padding: 6px 12px;
  border-radius: 20px;
  margin-top: 4px;
}

.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34C759;
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.2);
}

/* 2-ustun: Kontaktlar */
.col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #1D1D1F !important;
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #424245;
}

.contact-item svg {
  width: 15px;
  height: 15px;
  fill: #86868B;
  flex-shrink: 0;
}

.contact-item a {
  color: #1D1D1F !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.contact-item a:hover {
  color: #0071E3 !important;
}

/* 3-ustun: Qayta qo'ng'iroq formasi */
.callback-box p {
  color: #86868B !important;
  font-size: 13px;
  margin-bottom: 14px;
}

.input-group-apple {
  display: flex;
  align-items: center;
  background: #FFFFFF !important;
  border: 1px solid #D2D2D7 !important;
  border-radius: 12px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group-apple:focus-within {
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15) !important;
}

.input-group-apple .prefix {
  color: #86868B !important;
  font-weight: 500;
  font-size: 14px;
  margin-right: 6px;
  user-select: none;
}

.input-group-apple .phone-input {
  border: none !important;
  outline: none !important;
  font-size: 14px;
  color: #1D1D1F !important;
  background: transparent !important;
  width: 100%;
  box-shadow: none !important;
}

.input-group-apple .phone-input::placeholder {
  color: #AEAEB2 !important;
}

.input-group-apple .submit-btn {
  background-color: #0071E3 !important;
  border: none !important;
  color: #FFFFFF !important;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.1s;
}

.input-group-apple .submit-btn:hover {
  background-color: #0077ED !important;
}

.input-group-apple .submit-btn:active {
  transform: scale(0.96);
}

.input-group-apple .submit-btn svg {
  width: 16px;
  height: 16px;
  fill: #FFFFFF !important;
}

/* Bottom Copyright */
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #86868B !important;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #86868B !important;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #1D1D1F !important;
}

/* ════════════════════════════════════════════════════════════
   MODERN APPLE-STYLE HEADER & HERO STYLING
   ════════════════════════════════════════════════════════════ */

/* 1. TOP BAR */
.top-bar {
  background: #F5F5F7 !important;
  border-bottom: 1px solid #E5E5EA !important;
  font-size: 12px;
  color: #86868B !important;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1D1D1F !important;
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #34C759 !important;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.4);
}

.top-right a {
  color: #86868B !important;
  text-decoration: none;
  transition: color 0.15s;
}

.top-right a:hover {
  color: #1D1D1F !important;
}

/* 2. MAIN HEADER */
.main-header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid #E5E5EA !important;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-apple {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #1D1D1F !important;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-apple svg,
.logo svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  fill: #1D1D1F !important;
  flex-shrink: 0 !important;
}

/* Minimalist Search Bar */
.search-wrapper {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.search-box {
  width: 100%;
  height: 44px;
  background: #F5F5F7 !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  padding: 0 16px 0 42px !important;
  font-size: 14px;
  color: #1D1D1F !important;
  outline: none !important;
  transition: all 0.2s;
}

.search-box:focus,
.search-box:focus-visible {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1) !important;
  outline: none !important;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #86868B;
  pointer-events: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.catalog-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: #1D1D1F !important;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.catalog-btn:hover {
  background: #000000 !important;
}

.icon-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #E5E5EA !important;
  background: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1D1D1F !important;
  text-decoration: none;
  transition: all 0.2s;
}

.icon-action-btn:hover {
  border-color: #D2D2D7 !important;
  background: #F5F5F7 !important;
}

.icon-action-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* 3. CATEGORY PILLS (SUB-NAV) */
.subnav-bar {
  padding: 14px 0;
  border-bottom: 1px solid #E5E5EA !important;
  background: #FFFFFF !important;
}

.pill-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.pill-list::-webkit-scrollbar {
  display: none;
}

.pill {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  color: #515154 !important;
  background: #F5F5F7 !important;
  border: 1px solid transparent !important;
  transition: all 0.2s;
  cursor: pointer;
}

.pill:hover {
  color: #1D1D1F !important;
  background: #E8E8ED !important;
}

.pill.active {
  background: #1D1D1F !important;
  color: #FFFFFF !important;
}

/* 4. HERO BANNER */
.hero-section {
  padding: 36px 0 60px 0;
}

.hero-card {
  background: #FFFFFF !important;
  border-radius: 28px !important;
  border: 1px solid #E5E5EA !important;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 480px;
  height: 480px;
  align-items: stretch;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

.hero-content {
  padding: 50px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.hero-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0071E3 !important;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #1D1D1F !important;
}

.hero-desc {
  font-size: 15px;
  color: #86868B !important;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 440px;
}

.hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-price {
  font-size: 32px;
  font-weight: 700;
  color: #1D1D1F !important;
  letter-spacing: -0.5px;
}

.hero-price-sub {
  font-size: 16px;
  color: #86868B !important;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-apple {
  padding: 14px 26px;
  border-radius: 14px;
  background: #0071E3 !important;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-apple:hover {
  background: #0077ED !important;
}

.btn-primary-apple:active {
  transform: scale(0.98);
}

.btn-secondary-apple {
  padding: 14px 24px;
  border-radius: 14px;
  background: #F5F5F7 !important;
  color: #1D1D1F !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-apple:hover {
  background: #E8E8ED !important;
}

/* Hero Media */
.hero-media {
  background: #F5F5F7 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  height: 100%;
  box-sizing: border-box;
}

.hero-media img {
  max-width: 100%;
  max-height: 380px;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s ease;
}

.hero-card:hover .hero-media img {
  transform: translateY(-4px) scale(1.02);
}

/* 5. CLEAN APPLE CATALOG SECTION */
.brand-tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-all-link {
  font-size: 13px;
  color: #0071E3;
  text-decoration: none;
  font-weight: 500;
}

.view-all-link:hover {
  text-decoration: underline;
}

.brand-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}

.brand-pills::-webkit-scrollbar {
  display: none;
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  color: #1D1D1F;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.brand-btn:hover {
  border-color: #D2D2D7;
  background: #F5F5F7;
}

.brand-btn.active {
  background: #1D1D1F !important;
  border-color: #1D1D1F !important;
  color: #FFFFFF !important;
}

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.catalog-title h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  color: #1D1D1F;
}

.catalog-title p {
  font-size: 14px;
  color: #86868B;
}

.filter-group {
  display: flex;
  gap: 10px;
}

.clean-select {
  height: 40px;
  padding: 0 32px 0 14px;
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 10px !important;
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1F !important;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2386868b'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 18px !important;
  transition: all 0.2s;
}

.clean-select:focus {
  border-color: #0071E3 !important;
}

/* Product Card Styling */
.product-card {
  background: #FFFFFF !important;
  border-radius: 18px !important;
  border: 1px solid #E5E5EA !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border-color: #D2D2D7 !important;
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge-apple {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(8px);
  color: #1D1D1F;
}

.badge-apple.new {
  background: #E8F2FF;
  color: #0071E3;
}

.like-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
}

.like-btn:hover {
  background: #F5F5F7 !important;
}

.like-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #86868B;
  stroke-width: 2;
}

.like-btn.active svg {
  fill: #FF2D55;
  stroke: #FF2D55;
}

.card-media {
  height: 200px;
  background: #F9F9FB !important;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.card-media img {
  max-height: 170px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.05);
}

.card-body-apple {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.storage-pill {
  font-size: 11px;
  font-weight: 600;
  background: #F5F5F7 !important;
  color: #515154 !important;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #E5E5EA;
}

.device-condition {
  font-size: 12px;
  color: #86868B;
}

.condition-accent {
  color: #1D1D1F;
  font-weight: 500;
}

.card-title-apple {
  font-size: 15px;
  font-weight: 600;
  color: #1D1D1F !important;
  line-height: 1.3;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.price-block {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F5F5F7;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2px;
}

.main-price {
  font-size: 17px;
  font-weight: 700;
  color: #1D1D1F !important;
}

.usd-price {
  font-size: 12px;
  color: #86868B !important;
}

.installment-text {
  font-size: 11px;
  color: #86868B !important;
  margin-bottom: 14px;
}

.installment-text span {
  color: #1D1D1F !important;
  font-weight: 500;
}

.btn-buy {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #E5E5EA !important;
  background: #FFFFFF !important;
  color: #1D1D1F !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.product-card:hover .btn-buy,
.btn-buy:hover {
  background: #0071E3 !important;
  border-color: #0071E3 !important;
  color: #FFFFFF !important;
}

.btn-buy svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ════════════════════════════════════════════════════════════
   GLOBAL MOBILE RESPONSIVE FIXES
   ════════════════════════════════════════════════════════════ */

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

@media (max-width: 900px) {

  /* Hide carousel arrow controls on mobile so they don't block text */
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }

  .hero-section {
    padding: 16px 0 32px 0 !important;
  }

  .hero-card {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    height: auto !important;
    border-radius: 20px !important;
  }

  .hero-media {
    display: none !important;
  }

  .hero-content {
    padding: 24px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  .hero-desc {
    font-size: 13.5px !important;
    margin-bottom: 18px !important;
    max-width: 100% !important;
  }

  .hero-price-row {
    margin-bottom: 20px !important;
    gap: 8px !important;
  }

  .hero-price {
    font-size: 24px !important;
  }

  .hero-price-sub {
    font-size: 14px !important;
  }

  .hero-buttons {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .btn-primary-apple,
  .btn-secondary-apple {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }

  .main-header {
    padding: 10px 0 !important;
  }

  .header-inner {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .logo-apple {
    font-size: 17px !important;
  }

  .logo-apple span {
    display: none !important;
  }

  .search-wrapper {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 4px !important;
  }

  .search-box {
    height: 38px !important;
    font-size: 13px !important;
  }

  .header-actions {
    gap: 6px !important;
    margin-left: auto !important;
  }

  .catalog-btn {
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .icon-action-btn {
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 576px) {
  .brand-tabs-header {
    margin-bottom: 12px !important;
  }

  .brand-pills {
    margin-bottom: 24px !important;
    gap: 8px !important;
  }

  .brand-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  .catalog-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .catalog-title h2 {
    font-size: 22px !important;
  }

  .catalog-title p {
    font-size: 13px !important;
  }

  .filter-group {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .clean-select {
    width: 100% !important;
    font-size: 12px !important;
    height: 38px !important;
    padding: 0 24px 0 10px !important;
  }
}

/* ════════════════════════════════════════════════════════════
   TEZKOR XARID / BOG'LANISH MODAL (PREMIUM APPLE DESIGN)
   ════════════════════════════════════════════════════════════ */
.modal-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.2) !important;
  padding: 28px 24px !important;
  position: relative;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none !important;
  margin: 0 auto;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }

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

.modal-card .modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.modal-card .modal-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: -0.4px !important;
  color: #1D1D1F !important;
  margin: 0 !important;
}

.modal-card .btn-close {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #F5F5F7 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #86868B !important;
  opacity: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.15s, color 0.15s !important;
}

.modal-card .btn-close:hover {
  background: #E8E8ED !important;
  color: #1D1D1F !important;
}

.modal-card .btn-close svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.product-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #F9F9FB;
  border: 1px solid #E5E5EA;
  border-radius: 16px;
  margin-bottom: 22px;
}

.product-thumb {
  width: 52px;
  height: 52px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E5E5EA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.product-thumb img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.product-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: #1D1D1F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-tag {
  font-size: 11px;
  font-weight: 600;
  color: #515154;
  background: #E5E5EA;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-usd {
  font-size: 14px;
  font-weight: 700;
  color: #0071E3;
}

.price-uzs {
  font-size: 12px;
  color: #86868B;
}

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

.modal-card .form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.modal-card .input-box {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #D2D2D7;
  background: #FFFFFF;
  padding: 0 14px;
  font-size: 15px;
  color: #1D1D1F;
  outline: none;
  transition: all 0.2s;
}

.modal-card .input-box:focus {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.modal-card .input-box::placeholder {
  color: #AEAEB2;
}

.modal-card .phone-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #D2D2D7;
  border-radius: 12px;
  padding: 0 14px;
  height: 46px;
  transition: all 0.2s;
}

.modal-card .phone-group:focus-within {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.modal-card .phone-group .prefix {
  font-size: 15px;
  font-weight: 500;
  color: #86868B;
  padding-right: 8px;
  margin-right: 8px;
  border-right: 1px solid #E5E5EA;
  user-select: none;
}

.modal-card .phone-group .phone-input {
  border: none;
  outline: none;
  font-size: 15px;
  color: #1D1D1F;
  width: 100%;
  background: transparent;
}

.modal-card .textarea-box {
  width: 100%;
  height: 68px;
  border-radius: 12px;
  border: 1px solid #D2D2D7;
  background: #FFFFFF;
  padding: 10px 14px;
  font-size: 14px;
  color: #1D1D1F;
  outline: none;
  resize: none;
  transition: all 0.2s;
}

.modal-card .textarea-box:focus {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.modal-card .btn-submit {
  width: 100%;
  height: 48px;
  background: #0071E3;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  transition: background 0.2s, transform 0.1s;
}

.modal-card .btn-submit:hover {
  background: #0077ED;
}

.modal-card .btn-submit:active {
  transform: scale(0.98);
}

.modal-card .btn-submit svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.modal-card .security-note {
  text-align: center;
  font-size: 12px;
  color: #86868B;
  margin-top: 12px;
}

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE (PDP) MODERN APPLE DESIGN SYSTEM
   ════════════════════════════════════════════════════════════ */
.pdp-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #86868B;
  margin-bottom: 16px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumbs a,
.breadcrumbs span {
  color: #86868B;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.breadcrumbs a:hover {
  color: #1D1D1F;
}

.breadcrumbs span.separator {
  color: #D2D2D7;
}

.breadcrumbs .current {
  color: #1D1D1F;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  flex-shrink: 1;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 32px;
  }
}

.gallery-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-image-wrap {
  width: 100%;
  height: 420px;
  background: #F5F5F7;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.badge-sealed {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #E8F2FF;
  color: #0071E3;
  padding: 4px 10px;
  border-radius: 6px;
}

.main-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.thumbs-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1.5px solid #E5E5EA;
  background: #F5F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: all 0.2s;
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: #0071E3;
  background: #FFFFFF;
}

.thumb-btn img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
}

.details-col {
  display: flex;
  flex-direction: column;
}

.category-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #86868B;
  margin-bottom: 6px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #1D1D1F;
  line-height: 1.15;
  margin-bottom: 12px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #86868B;
  margin-bottom: 24px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1D1D1F;
  font-weight: 600;
}

.rating-badge svg {
  width: 15px;
  height: 15px;
  fill: #FF9500;
}

.status-pill {
  background: #E8F5E9;
  color: #2E7D32;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}

.pricing-card {
  background: #F9F9FB;
  border: 1px solid #E5E5EA;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.price-main {
  font-size: 28px;
  font-weight: 700;
  color: #1D1D1F;
  letter-spacing: -0.5px;
}

.price-old-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #86868B;
  margin-top: 2px;
}

.price-old {
  text-decoration: line-through;
}

.installment-box {
  text-align: right;
  padding-left: 16px;
  border-left: 1px solid #E5E5EA;
}

.installment-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #86868B;
  letter-spacing: 0.4px;
}

.installment-val {
  font-size: 15px;
  font-weight: 600;
  color: #0071E3;
  margin-top: 2px;
}

.specs-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.spec-chip {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 12px;
  padding: 10px 14px;
}

.chip-label {
  font-size: 11px;
  color: #86868B;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.chip-value {
  font-size: 14px;
  font-weight: 600;
  color: #1D1D1F;
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-cart {
  height: 48px;
  border-radius: 12px;
  background: #0071E3;
  color: #FFFFFF;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-cart:hover {
  background: #0077ED;
}

.btn-cart svg {
  width: 17px;
  height: 17px;
  fill: #FFFFFF;
}

.btn-buy-fast {
  height: 48px;
  border-radius: 12px;
  background: #F5F5F7;
  color: #1D1D1F;
  border: 1px solid #E5E5EA;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-buy-fast:hover {
  background: #E8E8ED;
}

.trust-factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #E5E5EA;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-title {
  font-size: 12px;
  font-weight: 600;
  color: #1D1D1F;
}

.trust-sub {
  font-size: 11px;
  color: #86868B;
}

.specs-card {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.specs-header {
  margin-bottom: 28px;
}

.specs-header h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.specs-header p {
  font-size: 14px;
  color: #86868B;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #F0F0F2;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 16px 0;
  font-size: 14px;
}

.specs-table td.spec-name {
  color: #86868B;
  width: 35%;
  font-weight: 400;
}

.specs-table td.spec-val {
  color: #1D1D1F;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE PDP STYLES (max-width: 768px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body {
    padding-bottom: 150px !important;
  }

  .pdp-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 14px;
  }

  .breadcrumbs {
    font-size: 11px;
    gap: 4px;
    margin-bottom: 10px;
    padding: 2px 0;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .breadcrumbs a,
  .breadcrumbs span {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .breadcrumbs .current {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pdp-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 14px;
  }

  .gallery-card,
  .gallery-col {
    background: #FFFFFF;
    border: 1px solid #E5E5EA;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  }

  .main-image-wrap,
  .main-image-box {
    width: 100%;
    height: 280px;
    background: #F5F5F7;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }

  .badge-sealed,
  .tag-sealed {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #0071E3;
    background: #E8F2FF;
    padding: 4px 8px;
    border-radius: 6px;
  }

  .main-image-wrap img,
  .main-image-box img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .thumbs-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
  }

  .thumb-btn {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #F5F5F7;
    border: 1.5px solid #E5E5EA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
  }

  .thumb-btn.active {
    border-color: #0071E3;
    background: #FFFFFF;
  }

  .details-col,
  .info-card {
    background: #FFFFFF;
    border: 1px solid #E5E5EA;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  }

  .category-label,
  .cat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #86868B;
    margin-bottom: 4px;
  }

  .product-title,
  .prod-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .meta-row,
  .meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #86868B;
    margin-bottom: 16px;
  }

  .rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    color: #1D1D1F;
  }

  .status-pill,
  .status-badge {
    background: #E8F5E9;
    color: #2E7D32;
    font-weight: 600;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
  }

  .pricing-card,
  .price-box {
    background: #F9F9FB;
    border: 1px solid #E5E5EA;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .price-main,
  .actual-price {
    font-size: 21px;
    font-weight: 700;
    color: #1D1D1F;
    letter-spacing: -0.3px;
    white-space: nowrap;
  }

  .price-old-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .usd-price {
    font-size: 13px;
    font-weight: 500;
    color: #86868B;
    white-space: nowrap;
  }

  .installment-box,
  .installment-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid #E5E5EA;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12px;
    text-align: left;
    border-left: 1px solid #E5E5EA;
  }

  .installment-label {
    font-size: 12px;
    color: #86868B;
    text-transform: none;
  }

  .installment-val {
    font-size: 13px;
    color: #0071E3;
    font-weight: 600;
    margin-top: 0;
  }

  .specs-chips-grid,
  .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }

  .spec-chip,
  .grid-cell {
    background: #FBFBFD;
    border: 1px solid #E5E5EA;
    border-radius: 12px;
    padding: 10px 12px;
  }

  .chip-label,
  .grid-cell .label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #86868B;
    margin-bottom: 2px;
  }

  .chip-value,
  .grid-cell .val {
    font-size: 13px;
    font-weight: 600;
    color: #1D1D1F;
  }

  .details-col .btn-row {
    display: none !important;
  }

  .trust-factors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #E5E5EA;
  }

  .trust-title {
    font-size: 11px;
  }

  .trust-sub {
    font-size: 10px;
  }

  .specs-card {
    background: #FFFFFF;
    border: 1px solid #E5E5EA;
    border-radius: 24px;
    padding: 24px 20px;
    margin-top: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  }

  .specs-header h2,
  .specs-card-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 4px;
  }

  .specs-header p,
  .specs-card-subtitle {
    font-size: 12px;
    color: #86868B;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .specs-table,
  .spec-table-clean {
    width: 100%;
    border-collapse: collapse;
  }

  .specs-table tr,
  .spec-table-clean tr {
    border-bottom: 1px solid #F0F0F2;
  }

  .specs-table td,
  .spec-table-clean td {
    padding: 14px 0;
    font-size: 13px;
    vertical-align: middle;
  }

  .specs-table td.spec-name,
  .spec-table-clean td.prop-name {
    color: #86868B;
    font-weight: 400;
    width: 45%;
    padding-right: 8px;
    line-height: 1.3;
  }

  .specs-table td.spec-val,
  .spec-table-clean td.prop-val {
    color: #1D1D1F;
    font-weight: 600;
    text-align: right;
    width: 55%;
    line-height: 1.3;
  }

  /* Sticky Bottom Action Bar - Positioned right above floating mobile-bottom-nav */
  .pdp-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 58px !important;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #E5E5EA;
    border-bottom: 1px solid #E5E5EA;
    padding: 10px 16px !important;
    z-index: 1040 !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  }

  .pdp-sticky-inner {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 10px;
  }

  .btn-action-cart {
    flex: 1;
    height: 46px;
    background: #0071E3;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .btn-action-cart:hover {
    background: #0077ED;
  }

  .btn-action-cart svg {
    width: 16px;
    height: 16px;
    fill: #FFFFFF;
  }

  .btn-action-fast {
    flex: 1;
    height: 46px;
    background: #F5F5F7;
    color: #1D1D1F;
    border: 1px solid #E5E5EA;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .btn-action-fast:hover {
    background: #E8E8ED;
  }
}

@media (min-width: 769px) {
  .pdp-sticky-bar {
    display: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   MOBILE HERO CARD & BANNER STYLES
   ════════════════════════════════════════════════════════════ */
.hero-mobile-card {
  width: 100%;
  max-width: 390px;
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 28px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03) !important;
  position: relative;
  margin: 0 auto;
}

.badge-flagship {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0071E3;
  background: #E8F2FF;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  background: #0071E3;
  border-radius: 50%;
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: #1D1D1F !important;
  margin-bottom: 6px;
}

.hero-desc {
  font-size: 13px;
  color: #86868B !important;
  line-height: 1.4;
  max-width: 300px;
  margin-bottom: 14px;
}

.hero-image-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 4px 0 16px 0;
}

.hero-image-wrap img {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.14));
  transition: transform 0.3s ease;
}

.price-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.price-main {
  font-size: 24px;
  font-weight: 700;
  color: #1D1D1F !important;
  letter-spacing: -0.4px;
}

.price-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.usd-val {
  font-size: 13px;
  color: #86868B !important;
  font-weight: 500;
}

.installment-badge {
  font-size: 11px;
  font-weight: 600;
  color: #0071E3 !important;
  background: #F0F6FF;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #D6E8FF;
}

.actions-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-select {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: #0071E3 !important;
  color: #FFFFFF !important;
  border: none !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
  text-decoration: none !important;
}

.btn-select:hover {
  background: #0077ED !important;
  color: #FFFFFF !important;
}

.btn-select svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.btn-tradein {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  background: #F5F5F7 !important;
  color: #1D1D1F !important;
  border: 1px solid #E5E5EA !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
  text-decoration: none !important;
}

.btn-tradein:hover {
  background: #E8E8ED !important;
}

.btn-tradein svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D2D2D7;
  transition: all 0.2s;
  cursor: pointer;
}

.slider-dots .dot.active {
  width: 18px;
  border-radius: 10px;
  background: #0071E3;
}

/* Tezkor Aloqa Phone Input Clean Reset */
.phone-input-apple {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.phone-input-apple:focus,
.phone-input-apple:focus-visible,
.phone-input-apple:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Link Input Clean Reset */
.link-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.link-input:focus,
.link-input:focus-visible,
.link-input:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Option button focus clean reset */
.option-btn:focus,
.option-btn:focus-visible {
  outline: none !important;
}

/* Phone Field Inside Container Clean Reset */
.phone-field {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.phone-field:focus,
.phone-field:focus-visible,
.phone-field:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Comprehensive Inner Input Border Reset */
.phone-input-wrap-apple input,
.phone-input-container input,
.phone-box input,
.link-input-wrap input,
#sellPhotoUrl,
#wizPhotoUrl {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.phone-input-wrap-apple input:focus,
.phone-input-container input:focus,
.phone-box input:focus,
.link-input-wrap input:focus,
#sellPhotoUrl:focus,
#wizPhotoUrl:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ════════════════════════════════════════════════════════════
   APPLE TRADE-IN & VALUATION RESULT STYLES
   ════════════════════════════════════════════════════════════ */
.header-box {
  text-align: center;
  margin-bottom: 28px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0071E3;
  background: #E8F2FF;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.title-apple-res {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
  color: #1D1D1F !important;
}

.subtitle-apple-res {
  font-size: 14px;
  color: #86868B;
}

/* Apple Stepper Card */
.stepper-card {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 18px;
  padding: 14px 20px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-label-res {
  font-size: 13px;
  font-weight: 600;
  color: #1D1D1F;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-done-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #34C759;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.step-final-tag {
  font-size: 12px;
  font-weight: 700;
  color: #0071E3;
  background: #E8F2FF;
  padding: 3px 10px;
  border-radius: 6px;
}

/* 2-Column Result Grid */
.result-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 820px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
}

.card-apple-res {
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 24px !important;
  padding: 32px 28px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02) !important;
}

.device-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #F2F2F7;
}

.device-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F5F5F7;
  border: 1px solid #E5E5EA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D1D1F;
  flex-shrink: 0;
}

.device-icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.device-name {
  font-size: 18px;
  font-weight: 700;
  color: #1D1D1F !important;
  letter-spacing: -0.3px;
}

.device-meta {
  font-size: 12px;
  color: #86868B;
  margin-top: 2px;
}

/* Checklist Specs */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  list-style: none;
  padding: 0;
}

.spec-list li,
.spec-item {
  display: flex;
  justify-content: space-between;
  color: #515154;
}

.spec-list li .val,
.spec-item .val {
  font-weight: 600;
  color: #1D1D1F;
}

/* Valuation box */
.valuation-box {
  background: #F9F9FB;
  border: 1px solid #E5E5EA;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.val-caption {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #86868B;
  margin-bottom: 4px;
}

.val-price-usd {
  font-size: 40px;
  font-weight: 800;
  color: #0071E3 !important;
  letter-spacing: -1px;
  line-height: 1.1;
}

.val-price-uzs {
  font-size: 15px;
  font-weight: 600;
  color: #1D1D1F !important;
  margin-top: 4px;
}

/* Payment method selector */
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #86868B;
  margin-bottom: 8px;
}

.payment-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #F5F5F7;
  padding: 4px;
  border-radius: 14px;
}

.pay-btn {
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #515154;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.pay-btn.active {
  background: #FFFFFF !important;
  color: #1D1D1F !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Form Styles */
.form-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  color: #1D1D1F !important;
}

.form-desc {
  font-size: 13px;
  color: #86868B;
  margin-bottom: 22px;
  line-height: 1.4;
}

.clean-input {
  width: 100%;
  height: 48px;
  background: #F5F5F7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 13px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  color: #1D1D1F !important;
  outline: none !important;
  transition: all 0.2s !important;
}

.clean-input:focus {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

.phone-box {
  display: flex;
  align-items: center;
  height: 48px;
  background: #F5F5F7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 13px !important;
  padding: 0 14px !important;
  transition: all 0.2s !important;
}

.phone-box:focus-within {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

.country-tag {
  font-size: 15px;
  font-weight: 600;
  color: #1D1D1F !important;
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #D2D2D7;
  user-select: none;
}

.phone-field {
  width: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1D1D1F !important;
}

.clean-textarea {
  width: 100%;
  height: 72px;
  background: #F5F5F7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 13px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  color: #1D1D1F !important;
  outline: none !important;
  resize: none !important;
  transition: all 0.2s !important;
}

.clean-textarea:focus {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

.btn-submit-apple {
  width: 100%;
  height: 50px;
  background: #0071E3;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  transition: background 0.2s, transform 0.1s !important;
}

.btn-submit-apple svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

/* Safety Fallback for all inline SVGs inside result cards */
.card-apple-res svg:not([width]),
.form-card svg:not([width]) {
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
}

.btn-submit-apple:hover {
  background: #0077ED !important;
}

.btn-submit-apple:active {
  transform: scale(0.98);
}

.reset-link-wrap {
  text-align: center;
  margin-top: 14px;
}

.btn-reset-apple {
  background: none !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #86868B !important;
  cursor: pointer;
  text-decoration: underline !important;
  transition: color 0.15s !important;
}

.btn-reset-apple:hover {
  color: #1D1D1F !important;
}

/* ════════════════════════════════════════════════════════════
   APPLE STEP 5 CONDITION EVALUATION STYLES
   ════════════════════════════════════════════════════════════ */
.evaluation-card {
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 28px !important;
  padding: 36px 32px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02) !important;
}

@media (max-width: 600px) {
  .evaluation-card {
    padding: 24px 16px !important;
  }
}

.criteria-group {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #F2F2F7;
}

.criteria-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.group-icon {
  width: 18px;
  height: 18px;
  color: #0071E3;
  flex-shrink: 0;
}

.group-title {
  font-size: 14px;
  font-weight: 600;
  color: #1D1D1F !important;
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.segment-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 520px) {

  .segment-grid,
  .segment-grid.grid-2 {
    grid-template-columns: 1fr;
  }
}

.option-btn {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid #E5E5EA;
  background: #FAFAFC;
  color: #515154;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  user-select: none;
}

.option-btn:hover {
  background: #F2F2F7;
  border-color: #D2D2D7;
  color: #1D1D1F;
}

.option-btn.active {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  color: #0071E3 !important;
  font-weight: 600 !important;
  box-shadow: 0 0 0 1px #0071E3, 0 4px 12px rgba(0, 113, 227, 0.12) !important;
}

.option-btn .btn-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0071E3;
  display: none;
}

.option-btn.active .btn-indicator {
  display: inline-block;
}

.nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #F2F2F7;
}

.btn-back-apple {
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  background: #F5F5F7;
  color: #1D1D1F !important;
  border: 1px solid #E5E5EA;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.btn-back-apple:hover {
  background: #E8E8ED;
}

.btn-continue-apple {
  height: 46px;
  padding: 0 28px;
  border-radius: 12px;
  background: #0071E3;
  color: #FFFFFF !important;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
}

.btn-continue-apple:hover {
  background: #0077ED !important;
}

.btn-continue-apple:active {
  transform: scale(0.98);
}

/* ════════════════════════════════════════════════════════════
   APPLE STEP 6 PHOTO UPLOAD & STEPPER STYLES
   ════════════════════════════════════════════════════════════ */
.header-section {
  text-align: center;
  margin-bottom: 32px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0071E3;
  background: #E8F2FF;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  color: #1D1D1F !important;
}

.page-desc {
  font-size: 15px;
  color: #86868B;
  line-height: 1.5;
}

/* Apple Stepper (Progress Bar) */
.stepper-wrap {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 20px;
  padding: 16px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stepper-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-current-title {
  font-size: 14px;
  font-weight: 600;
  color: #1D1D1F !important;
}

.step-counter {
  font-size: 12px;
  font-weight: 600;
  color: #0071E3;
  background: #E8F2FF;
  padding: 2px 8px;
  border-radius: 6px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #F0F0F2;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 85%;
  height: 100%;
  background: #0071E3;
  border-radius: 10px;
  transition: width 0.3s ease;
}

/* Form Card */
.form-card {
  background: #FFFFFF !important;
  border: 1px solid #E5E5EA !important;
  border-radius: 28px !important;
  padding: 40px 36px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02) !important;
}

@media (max-width: 600px) {
  .form-card {
    padding: 24px 18px !important;
  }
}

.step-heading {
  text-align: center;
  margin-bottom: 24px;
}

.step-heading h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
  color: #1D1D1F !important;
}

.step-heading p {
  font-size: 13px;
  color: #86868B;
}

/* Upload Zone */
.upload-zone {
  border: 1.5px dashed #D2D2D7;
  border-radius: 20px;
  background: #FAFAFC;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.upload-zone:hover {
  background: #F2F2F7;
  border-color: #0071E3;
}

.upload-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  color: #0071E3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.upload-icon-circle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-title {
  font-size: 15px;
  font-weight: 600;
  color: #1D1D1F !important;
  margin-bottom: 4px;
}

.upload-sub {
  font-size: 12px;
  color: #86868B;
}

/* Photo Link Input Group */
.link-input-group {
  margin-top: 16px;
}

.link-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #86868B;
  margin-bottom: 8px;
}

.link-input-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  background: #F5F5F7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  transition: all 0.2s;
}

.link-input-wrap:focus-within {
  background: #FFFFFF !important;
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

.link-icon {
  width: 18px;
  height: 18px;
  color: #86868B;
  margin-right: 10px;
  flex-shrink: 0;
}

.link-input {
  width: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 14px !important;
  color: #1D1D1F !important;
}

.link-input::placeholder {
  color: #86868B;
}

/* Nav Buttons Row */
.nav-buttons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #F2F2F7;
}

.btn-prev {
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  background: #F5F5F7;
  color: #1D1D1F !important;
  border: 1px solid #E5E5EA;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.btn-prev:hover {
  background: #E8E8ED;
}

.btn-next {
  height: 48px;
  padding: 0 32px;
  border-radius: 12px;
  background: #0071E3;
  color: #FFFFFF !important;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
}

.btn-next:hover {
  background: #0077ED !important;
}

.btn-next:active {
  transform: scale(0.98);
}