/**
 * ULTRA MODERN MOBILE OPTIMIZATIONS
 * Tüm mobil uyumluluk sorunlarını çözen kapsamlı CSS
 * 
 * Sorunlar:
 * - Büyük butonlar ve yazılar
 * - Birbirine karışan form alanları
 * - Taşan teşekkür ekranı
 * - Genel responsive sorunlar
 */

/* ===== GENEL MOBİL AYARLAR ===== */
@media (max-width: 768px) {
  
  /* Viewport ve box-sizing optimizasyonları */
  * {
    box-sizing: border-box;
  }
  
  html {
    overflow-x: hidden;
    width: 100%;
  }
  
  body {
    overflow-x: hidden;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
  }
  
  /* Container padding düzenlemesi */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }
  
  /* ===== BUTON OPTİMİZASYONLARI ===== */
  
  /* Genel buton boyutları - Dokunmatik uyumlu */
  button,
  .btn,
  .ultra-modern-btn,
  .quick-view-btn,
  .add-to-cart,
  .buy-now-btn,
  .checkout-btn,
  .cart-checkout-btn {
    min-height: 44px !important;
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 0.75rem !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
  
  /* Modal içindeki butonlar */
  .modal-action-buttons button {
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }
  
  /* Checkout form submit butonu - küçük ekranlarda ultra kompakt */
  .checkout-btn,
  button[type="submit"],
  #checkoutForm button[type="submit"] {
    white-space: normal !important;
    line-height: 1.2 !important;
    text-align: center !important;
    padding: 0.5rem 0.625rem !important;
    font-size: 0.75rem !important;
    min-height: 44px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Hızlı bakış butonu */
  .quick-view-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  /* Quick View Modal Action Buttons - Mobilde ultra kompakt */
  .modal-actions,
  .product-actions,
  #quickViewModal .modal-actions {
    display: flex !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  
  /* Sepete Ekle ve Hemen Al butonları - Mobilde küçük */
  #addToCartBtn,
  #buyNowBtn,
  .add-to-cart-btn,
  .buy-now-btn {
    flex: 1 !important;
    padding: 0.625rem 0.5rem !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
  }
  
  /* Buton içindeki iconlar - daha küçük */
  #addToCartBtn svg,
  #buyNowBtn svg,
  .add-to-cart-btn svg,
  .buy-now-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }
  
  /* Buton metinleri - Tek satırda kal */
  #addToCartBtn span,
  #buyNowBtn span,
  .add-to-cart-btn span,
  .buy-now-btn span {
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  /* ===== FORM OPTİMİZASYONLARI ===== */
  
  /* Form grubu düzenlemesi */
  .form-group {
    margin-bottom: 1rem !important;
  }
  
  /* Label düzenlemesi */
  label {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    display: block;
  }
  
  /* Input alanları - Birbirinden ayrık ve kullanışlı */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select,
  .dropdown-input {
    width: 100% !important;
    padding: 0.75rem !important;
    font-size: 0.9375rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    margin-bottom: 0.5rem !important;
    background: white !important;
    -webkit-appearance: none;
    appearance: none;
  }
  
  /* Textarea özel ayarlar */
  textarea {
    min-height: 100px !important;
    resize: vertical;
  }
  
  /* Form satırları - Mobilde tek sütun */
  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  
  /* Kargo ve ödeme seçenekleri */
  .cargo-options,
  .payment-options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-top: 0.5rem !important;
  }
  
  .cargo-option,
  .payment-option {
    padding: 1rem !important;
    font-size: 0.9375rem !important;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* ===== MODAL OPTİMİZASYONLARI ===== */
  
  /* Modal genel ayarlar */
  .modal {
    padding: 0.5rem !important;
  }
  
  .modal-content {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 95vh !important;
    margin: 0 !important;
    border-radius: 1rem !important;
    overflow-y: auto !important;
  }
  
  .modal-body {
    padding: 1rem !important;
    max-height: calc(95vh - 60px);
    overflow-y: auto;
  }
  
  /* Modal header */
  .modal-header {
    padding: 1rem !important;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-bottom: 2px solid #f3f4f6;
  }
  
  /* Modal grid - Mobilde tek sütun */
  .modal-content-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  
  /* ===== ÜRÜN ÖZELLİKLERİ (MODAL) - ULTRA KOMPAKT MOBİL KONSEPT ===== */
  
  #modalProductFeatures {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.375rem !important;
    padding: 0 !important;
  }
  
  .modal-feature-tag {
    background: rgba(102, 126, 234, 0.1) !important;
    border: none !important;
    border-radius: 0.375rem !important;
    padding: 0.375rem 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    font-size: 0.6875rem !important;
    line-height: 1.2 !important;
    color: #4b5563 !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
  }
  
  .modal-feature-icon {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
    stroke: #667eea !important;
    stroke-width: 2.5 !important;
  }
  
  .modal-feature-tag span {
    white-space: nowrap !important;
    font-weight: 500 !important;
  }
  
  /* ===== SİPARİŞ TEŞ EKKÜR EKRANI - ULTRA MİNİMAL SATIŞ ODAKLI ===== */
  
  /* Ultra success modal (dinamik JS ile oluşturulan) */
  .ultra-success-modal {
    max-width: 95% !important;
    padding: 1.5rem 1rem !important;
    border-radius: 1rem !important;
  }
  
  /* Success modal içindeki başlık */
  .ultra-success-modal h2 {
    font-size: 1.375rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Success modal içindeki alt başlık */
  .ultra-success-modal p {
    font-size: 0.875rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  /* Icon container - daha küçük dikey alan için */
  .ultra-success-modal > div:first-child {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 0.75rem !important;
  }
  
  .ultra-success-modal svg {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Details card - sadece önemli bilgiler */
  .ultra-success-modal > div[style*="rgba(255, 255, 255, 0.15)"] {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Details card içindeki grid */
  .ultra-success-modal div[style*="display: grid"] > div {
    padding-bottom: 0.625rem !important;
  }
  
  /* Müşteri Adı ve Ürün Sayısı - göster (gerekliler) */
  .ultra-success-modal div[style*="display: grid"] > div:nth-child(2),
  .ultra-success-modal div[style*="display: grid"] > div:nth-child(3) {
    display: flex !important;
  }
  
  /* Font boyutlarını küçült ve fiyat taşmasını önle */
  .ultra-success-modal div[style*="display: grid"] span[style*="0.875rem"] {
    font-size: 0.75rem !important;
  }
  
  .ultra-success-modal div[style*="display: grid"] span[style*="1.125rem"],
  .ultra-success-modal div[style*="display: grid"] span[style*="font-weight: 700"] {
    font-size: 0.9375rem !important;
    word-break: break-word !important;
  }
  
  .ultra-success-modal div[style*="display: grid"] span[style*="1.5rem"] {
    font-size: 1.125rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Toplam tutar satırı özel ayarlar - fiyatın taşmaması için */
  .ultra-success-modal div[style*="display: grid"] > div:last-child {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  
  .ultra-success-modal div[style*="display: grid"] > div:last-child span:last-child {
    text-align: right !important;
    flex-shrink: 0 !important;
    max-width: 50% !important;
  }
  
  /* Info message - mobil için optimize edilmiş */
  .ultra-success-modal > div[style*="rgba(255, 255, 255, 0.1)"] {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Info message içindeki flex container */
  .ultra-success-modal > div[style*="rgba(255, 255, 255, 0.1)"] > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  
  /* Icon ve içerik hizalama */
  .ultra-success-modal > div[style*="rgba(255, 255, 255, 0.1)"] > div > div:first-child {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  
  .ultra-success-modal > div[style*="rgba(255, 255, 255, 0.1)"] p {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-align: left !important;
  }
  
  /* WhatsApp butonu - tam genişlik ve merkezlenmiş */
  .ultra-success-modal a[style*="#25D366"] {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.875rem !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
  }
  
  .ultra-success-modal a[style*="#25D366"] svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
  
  .ultra-success-modal a[style*="#25D366"] span {
    flex: 0 1 auto !important;
  }
  
  /* Alışverişe devam butonu */
  .ultra-success-modal > button {
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  /* ===== ORDER SUMMARY (Checkout sırasında) ===== */
  
  .order-summary {
    padding: 1rem !important;
    margin: 1rem 0 !important;
  }
  
  .order-summary h4 {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .order-item {
    display: flex !important;
    align-items: flex-start !important;
    padding: 0.75rem !important;
    gap: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .order-item-image {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
  }
  
  .order-item-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  
  .order-item-name {
    font-size: 0.8125rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.25rem !important;
    font-weight: 600 !important;
  }
  
  .order-item-details {
    font-size: 0.6875rem !important;
    line-height: 1.4 !important;
    color: #6b7280 !important;
  }
  
  .order-item-price {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    align-self: flex-start !important;
  }
  
  .order-details {
    margin-top: 1rem !important;
  }
  
  .order-detail-item {
    padding: 0.75rem !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.25rem;
  }
  
  .order-detail-label {
    font-size: 0.8125rem !important;
  }
  
  .order-detail-value {
    font-size: 0.875rem !important;
  }
  
  /* ===== ÜRÜN KARTI OPTİMİZASYONLARI ===== */
  
  .product-card {
    padding: 0.5rem !important;
  }
  
  .product-info {
    padding: 0.5rem !important;
  }
  
  .product-name {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
  }
  
  .product-price {
    font-size: 1.125rem !important;
  }
  
  .card-label {
    font-size: 0.75rem !important;
  }
  
  /* ===== SEPET OPTİMİZASYONLARI ===== */
  
  #cartSidebar {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .cart-header {
    padding: 1rem !important;
  }
  
  .cart-header-title h2 {
    font-size: 1.125rem !important;
  }
  
  .cart-body {
    padding: 1rem !important;
    padding-bottom: 200px !important; /* Footer için alan */
  }
  
  .cart-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem !important;
    background: white !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1) !important;
    z-index: 10003 !important;
  }
  
  .cart-total {
    padding: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  .cart-total-label {
    font-size: 1rem !important;
  }
  
  .cart-total-amount {
    font-size: 1.5rem !important;
  }
  
  .cart-item {
    padding: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .cart-item-image {
    width: 70px !important;
    height: 70px !important;
  }
  
  .cart-item-name {
    font-size: 0.875rem !important;
  }
  
  .cart-item-price {
    font-size: 0.9375rem !important;
  }
  
  /* ===== HEADER OPTİMİZASYONLARI ===== */
  
  .header {
    height: 70px !important;
  }
  
  .header-content {
    height: 70px !important;
    padding: 0 1rem !important;
  }
  
  .logo {
    padding: 0.375rem 0.75rem !important;
  }
  
  .logo h1 {
    font-size: 1.25rem !important;
  }
  
  /* ===== HERO SLIDER OPTİMİZASYONLARI ===== */
  
  .hero-slider {
    height: 350px !important;
    margin-top: 70px !important;
  }
  
  .slide-title {
    font-size: 1.75rem !important;
  }
  
  .slide-description {
    font-size: 0.9375rem !important;
  }
  
  .slide-cta {
    padding: 0.875rem 1.75rem !important;
    font-size: 0.9375rem !important;
  }
  
  /* ===== FOOTER OPTİMİZASYONLARI ===== */
  
  .footer-main {
    padding: 3rem 0 2rem !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .footer-brand-name {
    font-size: 1.5rem !important;
  }
  
  .footer-newsletter {
    padding: 1rem !important;
  }
  
  .newsletter-form {
    flex-direction: column !important;
  }
  
  .newsletter-btn {
    width: 100% !important;
  }
  
  /* ===== SIZE VE COLOR SELECTOR OPTİMİZASYONLARI ===== */
  
  .size-options {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
  }
  
  .size-option {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.875rem !important;
  }
  
  .color-thumbnails {
    gap: 0.5rem !important;
  }
  
  .color-thumb-img {
    width: 60px !important;
    height: 75px !important;
  }
  
  /* ===== GALERİ OPTİMİZASYONLARI ===== */
  
  /* Quick View Modal Ana Görsel - Mobilde Görünür Olmalı */
  #quickViewModal .main-image {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    padding-top: 100% !important;
    position: relative !important;
    background: #f0f0f0 !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    margin-bottom: 1rem !important;
  }
  
  #quickViewModal .main-image img,
  #quickViewModal #mainImage {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
  }
  
  .thumbnails {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
  }
  
  .thumbnail {
    padding-top: 100% !important;
  }
  
  /* ===== TOAST NOTİFİCATION OPTİMİZASYONLARI ===== */
  
  .ultra-modern-toast {
    top: 80px !important;
    right: 1rem !important;
    left: 1rem !important;
    max-width: none !important;
    padding: 1rem !important;
  }
  
  .ultra-toast-icon-container {
    width: 48px !important;
    height: 48px !important;
  }
  
  .ultra-toast-title {
    font-size: 1rem !important;
  }
  
  .ultra-toast-message {
    font-size: 0.875rem !important;
  }
  
  /* ===== URGENCY NOTIFICATIONS OPTİMİZASYONLARI ===== */
  
  .stock-urgency {
    padding: 0.875rem !important;
    font-size: 0.875rem !important;
  }
  
  .free-shipping-notice {
    padding: 0.875rem !important;
  }
  
  .free-shipping-text {
    font-size: 0.8125rem !important;
  }
  
  .free-shipping-amount {
    font-size: 0.9375rem !important;
  }
  
  /* ===== DISABLED WARNING OPTİMİZASYONLARI ===== */
  
  .disabled-btn-warning {
    padding: 2rem 1.5rem !important;
    max-width: 95% !important;
  }
  
  .disabled-warning-icon {
    width: 90px !important;
    height: 90px !important;
    font-size: 3rem !important;
  }
  
  .disabled-warning-title {
    font-size: 1.5rem !important;
  }
  
  .disabled-warning-message {
    font-size: 1rem !important;
  }
  
  .disabled-warning-btn {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }
  
  /* ===== SCROLL TO TOP BUTTON ===== */
  
  .scroll-to-top {
    width: 48px !important;
    height: 48px !important;
    bottom: 1rem !important;
    right: 1rem !important;
  }
  
  /* ===== TOUCH FRIENDLY IMPROVEMENTS ===== */
  
  /* Tüm tıklanabilir elementler minimum 44x44px */
  a,
  button,
  .btn,
  .nav-link,
  .footer-link,
  .social-link,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Link spacing */
  .nav-list {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 1rem !important;
  }
  
  /* ===== TEXT SIZING OPTİMİZASYONLARI ===== */
  
  /* Başlıklar */
  h1 {
    font-size: 1.75rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
  
  h4 {
    font-size: 1.125rem !important;
  }
  
  /* Paragraflar */
  p {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
  }
  
  /* ===== SPACING OPTİMİZASYONLARI ===== */
  
  section {
    padding: 3rem 0 !important;
  }
  
  .section-header {
    margin-bottom: 2rem !important;
  }
  
  .section-title {
    font-size: 1.75rem !important;
  }
  
  .section-description {
    font-size: 0.9375rem !important;
  }
  
  /* ===== IMAGE OPTİMİZASYONLARI ===== */
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* ===== TABLE OPTİMİZASYONLARI ===== */
  
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* ===== PREVENT HORIZONTAL SCROLL ===== */
  
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .col,
  [class*="col-"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  /* ===== MODAL SCROLL FIX ===== */
  
  .modal.active {
    overflow-y: auto !important;
  }
  
  .modal.active body {
    overflow: hidden !important;
  }
  
  /* ===== KEYBOARD SAFE AREA (iOS) ===== */
  
  @supports(padding-bottom: env(safe-area-inset-bottom)) {
    .cart-footer,
    .modal-footer,
    footer {
      padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    }
  }
  
  /* ===== WEBKIT SPECIFICS ===== */
  
  /* iOS Safari input zoom fix */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important; /* iOS zoom önleme */
  }
  
  /* Tap highlight color */
  * {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
  }
  
  /* Smooth scrolling */
  html {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== EXTRA DAR EKRANLAR (280px - 375px) ===== */
@media (max-width: 375px) {
  
  /* Success modal ultra minimal */
  .modal-order-success .modal-body {
    padding: 0.75rem 0.5rem !important;
  }
  
  .success-animation {
    margin-bottom: 0.375rem !important;
  }
  
  .check-icon,
  .success-checkmark {
    width: 40px !important;
    height: 40px !important;
  }
  
  .success-header {
    padding: 0 0.25rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .success-header h2 {
    font-size: 1.125rem !important;
    line-height: 1.2 !important;
  }
  
  .order-number-box {
    padding: 0.625rem !important;
    margin: 0 0.25rem 0.5rem !important;
  }
  
  .order-number-label {
    font-size: 0.625rem !important;
  }
  
  .order-number-value {
    font-size: 1rem !important;
    word-wrap: break-word !important;
  }
  
  .order-total-box {
    padding: 0.875rem 0.625rem !important;
    margin: 0 0.25rem 0.5rem !important;
  }
  
  .total-label {
    font-size: 0.875rem !important;
  }
  
  .total-value {
    font-size: 1.25rem !important;
  }
  
  .success-actions {
    padding: 0 0.25rem !important;
    margin-top: 0.75rem !important;
  }
  
  .btn-continue {
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
  }
}

/* ===== TABLET SPECIFIC (768px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  
  .container {
    padding: 0 2rem;
  }
  
  .modal-content {
    max-width: 90%;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== LANDSCAPE PHONE (max-height: 500px) ===== */
@media (max-height: 500px) and (orientation: landscape) {
  
  .modal-content {
    max-height: 90vh !important;
  }
  
  .modal-body {
    max-height: calc(90vh - 60px) !important;
  }
  
  .hero-slider {
    height: 300px !important;
  }
  
  .cart-footer {
    position: relative !important;
  }
  
  .cart-body {
    padding-bottom: 1rem !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .footer,
  .cart-sidebar,
  .modal-close,
  button:not(.print-button) {
    display: none !important;
  }
  
  .modal-content {
    max-height: none !important;
    overflow: visible !important;
  }
}
