/* === ANAHATA YOGA MOBILE IMPROVEMENTS === */
/* Added by migration team - Feb 2026 */

/* --- General Mobile Improvements --- */
@media (max-width: 767px) {
  /* Smooth font rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Better image handling */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Product listing - show full names */
  .product-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    min-height: 36px;
    word-wrap: break-word;
  }
  
  .product-list .product-details {
    padding: 8px !important;
  }
  
  /* Cart page improvements */
  .m-cart-table {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
  }
  
  #cart .table {
    font-size: 14px;
  }
  
  #cart .table td, #cart .table th {
    padding: 8px 5px;
    vertical-align: middle;
  }
  
  #cart .table img {
    max-width: 60px;
    height: auto;
  }
  
  /* Billing page improvements */
  .billinginfo, .shippinginfo {
    padding: 15px !important;
  }
  
  .billinginfo input, .shippinginfo input,
  .billinginfo select, .shippinginfo select {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    padding: 10px !important;
    border-radius: 4px;
  }
  
  /* Better button touch targets */
  .btn, button, input[type="submit"], .addToCart, .updateCart {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* FAQ section */
  .accordion-button {
    font-size: 14px !important;
    padding: 12px 15px !important;
  }
  
  /* Footer improvements */
  footer .container {
    padding: 0 15px;
  }
  
  footer h5.widget-title {
    margin-top: 20px;
  }
  
  /* Contact form - prevent iOS zoom */
  .contact-form input,
  .contact-form textarea,
  .contact-form select,
  form input[type="text"],
  form input[type="email"],
  form input[type="tel"],
  form textarea {
    font-size: 16px !important;
  }
  
  /* Banner text readability */
  .slider-bg .slider-contents .description {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  
  /* Course cards spacing */
  .course-list-details-section .overview-section .course-details-section {
    margin-bottom: 15px;
  }
  
  /* Instructor cards */
  .instructor-details {
    margin-bottom: 20px;
  }
  
  /* Student feedback */
  .student-feedback-section .feedback-card {
    margin-bottom: 15px;
    padding: 15px;
  }
  
  /* Package cards */
  .yoga-class-packages-section .yoga-package-details {
    margin-bottom: 20px;
  }
  
  /* Online application form */
  .online-application input,
  .online-application select,
  .online-application textarea {
    font-size: 16px !important;
  }
  
  /* Payment options page */
  .payment-options-section img {
    max-width: 100% !important;
  }
}

/* --- Small phone specific --- */
@media (max-width: 375px) {
  .product-title {
    font-size: 12px !important;
  }
  
  .slider-bg .slider-contents .title {
    font-size: 28px !important;
  }
  
  .slider-bg .slider-contents .description {
    font-size: 12px !important;
  }
}

/* --- Tablet improvements --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .product-title {
    font-size: 14px !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  
  .container {
    padding: 0 20px;
  }
}
