/* ==========================================================
   HARRA BEAUTY - RESPONSIVE STYLES
   Flawless Mobile Architecture & 2-Column Catalog
   ========================================================== */

/* Large Tablets & Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .slide-main-title {
    font-size: 3.2rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

/* Tablets (max-width: 868px) */
@media (max-width: 868px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle-btn {
    display: flex;
  }

  /* Hero Slider on Tablet */
  .hero-carousel-card {
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  .hero-slide {
    grid-template-columns: 1fr 1fr;
    padding: 30px 24px;
    gap: 20px;
  }

  .slide-main-title {
    font-size: 2.8rem;
  }

  .slide-subtext {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .slide-model-img {
    max-height: 320px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content-block .section-title,
  .about-content-block .section-eyebrow {
    text-align: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .qv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-detail-gallery {
    position: static;
  }

  .checkout-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .checkout-summary-col {
    position: static;
  }

  .account-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .order-details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================
   MOBILE PHONES (max-width: 640px)
   CRITICAL: Eliminates all distortion, enforces clean vertical flow
   ========================================================== */
@media (max-width: 640px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-announcement-bar .top-contact-links {
    display: none;
  }

  .header-container {
    height: 64px;
  }

  .site-header-logo-img {
    height: 34px !important;
    max-width: 190px;
  }

  .btn-book-header span {
    display: none;
  }

  .btn-book-header {
    padding: 8px 12px;
  }

  /* ----------------------------------------------------
     HERO SLIDER MOBILE OVERHAUL (Zero Distortion)
     ---------------------------------------------------- */
  .hero-slider-section {
    padding: 14px 0 30px;
  }

  .hero-carousel-card {
    min-height: auto !important;
    border-radius: 20px !important;
    display: block !important;
    position: relative !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  .hero-slide {
    position: relative !important;
    inset: auto !important;
    display: none !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    padding: 24px 16px 45px !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-slide.active {
    display: flex !important;
  }

  .slide-content-col {
    padding-right: 0 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    order: 1 !important;
  }

  .slide-eyebrow {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .slide-main-title {
    font-size: 2.2rem !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
  }

  .slide-subtext {
    font-size: 0.92rem !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
    margin-left: auto;
    margin-right: auto;
  }

  .slide-buttons-group {
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .btn-hero-black, .btn-hero-pink {
    flex: 1 1 auto !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.5px !important;
  }

  .slide-image-col {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
  }

  .slide-model-img {
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  .slide-floating-tag {
    bottom: 10px !important;
    left: 10px !important;
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
  }

  .hero-carousel-dots {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 14px !important;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 22px;
  }

  /* ----------------------------------------------------
     PRODUCT DETAIL PAGE MOBILE
     ---------------------------------------------------- */
  .product-page-main {
    padding: 24px 0 60px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 40px;
  }

  .product-detail-gallery {
    position: static !important;
  }

  .product-detail-main-frame {
    aspect-ratio: 1 / 1;
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .p-detail-title {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 10px;
  }

  .p-current-price {
    font-size: 1.5rem !important;
  }

  .p-orig-price {
    font-size: 0.95rem;
  }

  .p-detail-description {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .p-specs-container, .p-highlights-box {
    padding: 14px;
    margin-bottom: 16px;
  }

  .specs-grid-table {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .product-guarantee-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .p-badge-item {
    font-size: 0.68rem;
    padding: 8px 4px;
  }

  .p-action-panel {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .p-qty-wrapper {
    justify-content: space-between !important;
    width: 100% !important;
  }

  .btn-p-add-cart, .btn-whatsapp-order {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 0.92rem !important;
  }

  /* ----------------------------------------------------
     MANDATORY: 2 COLUMNS ON MOBILE VIEW
     ---------------------------------------------------- */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card {
    border-radius: var(--radius-md);
  }

  .product-details {
    padding: 10px 8px 12px;
  }

  .product-badges .badge {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .btn-wishlist {
    width: 28px;
    height: 28px;
    top: 6px;
    right: 6px;
  }

  .btn-wishlist svg {
    width: 14px;
    height: 14px;
  }

  .product-karat-tag {
    font-size: 0.65rem;
  }

  .product-rating {
    font-size: 0.7rem;
  }

  .product-title {
    font-size: 0.82rem;
    margin-bottom: 6px;
    line-height: 1.3;
    min-height: 32px;
  }

  .product-price-row {
    margin-bottom: 8px;
  }

  .current-price {
    font-size: 0.95rem;
  }

  .original-price {
    font-size: 0.72rem;
  }

  .btn-add-to-cart {
    padding: 8px 6px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .btn-add-to-cart svg {
    width: 14px;
    height: 14px;
  }

  /* Other Sections */
  .features-strip-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .catalog-controls {
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .category-filter-pills {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    padding: 4px 2px 10px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-pink-primary) #f1f3f5;
  }

  .category-filter-pills::-webkit-scrollbar {
    height: 4px;
  }

  .category-filter-pills::-webkit-scrollbar-thumb {
    background: var(--color-pink-primary);
    border-radius: 4px;
  }

  .category-filter-pills .filter-pill-btn {
    flex-shrink: 0 !important;
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .catalog-search-sort {
    flex-direction: column;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .search-input-wrapper {
    width: 100% !important;
  }

  .search-bar-input {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .catalog-sort-select {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .modal-content-card {
    padding: 24px 14px;
  }

  .qv-purchase-row {
    flex-wrap: wrap;
  }

  .btn-qv-add {
    width: 100%;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100vw;
  }

  .floating-actions-container {
    bottom: 14px;
    right: 14px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  /* ----------------------------------------------------
     CLIENT ACCOUNT / PORTAL MOBILE RESPONSIVENESS
     ---------------------------------------------------- */
  .account-dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .account-sidebar-card {
    padding: 20px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .account-card {
    padding: 20px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .account-order-item, .account-booking-item {
    padding: 14px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .form-grid-2 > div {
    padding: 22px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ----------------------------------------------------
     CHECKOUT PAGE MOBILE RESPONSIVENESS
     Single column inputs, uncompressed cards, and touch-friendly controls
     ---------------------------------------------------- */
  .checkout-page-main {
    padding: 24px 0 60px !important;
    overflow-x: hidden !important;
  }

  .checkout-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .checkout-forms-col,
  .checkout-summary-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .form-row-2,
  .form-row-3,
  .delivery-options-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-row-2 > *,
  .form-row-3 > *,
  .delivery-options-grid > *,
  .form-group,
  .form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .checkout-step-card {
    padding: 18px 14px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .checkout-summary-col {
    position: static !important;
    top: auto !important;
  }

  .checkout-summary-card {
    padding: 18px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .checkout-option-label {
    padding: 14px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ----------------------------------------------------
     ORDER CONFIRMATION PAGE MOBILE RESPONSIVENESS
     ---------------------------------------------------- */
  .order-confirmation-main {
    padding: 20px 0 50px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .confirmation-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  .order-success-card {
    padding: 24px 14px !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 18px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .order-success-icon {
    width: 58px !important;
    height: 58px !important;
    font-size: 1.6rem !important;
    margin-bottom: 12px !important;
  }

  .order-success-title {
    font-size: 1.5rem !important;
    line-height: 1.22 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .order-success-lead {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .order-highlight-ref {
    display: inline-block !important;
    word-break: break-all !important;
    font-size: 1.05rem !important;
  }

  .order-status-pill {
    font-size: 0.76rem !important;
    padding: 8px 12px !important;
    text-align: center !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    border-radius: 12px !important;
    word-break: break-word !important;
  }

  .order-bank-card {
    padding: 16px 12px !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 18px !important;
    box-sizing: border-box !important;
  }

  .bank-card-title {
    font-size: 1.05rem !important;
  }

  .bank-instruction-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .order-bank-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  .order-bank-row-full {
    grid-column: 1 / -1 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .order-bank-row-full .bank-acc-info {
    text-align: center !important;
    width: 100% !important;
  }

  .order-bank-acc-display {
    font-size: 1.3rem !important;
    text-align: center !important;
    word-break: break-all !important;
    letter-spacing: 1px !important;
  }

  .btn-copy-acc {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 14px !important;
    font-size: 0.84rem !important;
    box-sizing: border-box !important;
  }

  .bank-notes-footer {
    font-size: 0.78rem !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    line-height: 1.5 !important;
  }

  .order-details-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .order-card {
    padding: 16px 12px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .order-card-title {
    font-size: 1.02rem !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
  }

  .order-item-row {
    gap: 10px !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
  }

  .order-item-thumb {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0 !important;
  }

  .order-item-info {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .order-item-name {
    font-size: 0.85rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }

  .order-item-meta {
    font-size: 0.74rem !important;
  }

  .order-item-price {
    font-size: 0.88rem !important;
    flex-shrink: 0 !important;
  }

  .order-summary-box {
    font-size: 0.85rem !important;
  }

  .summary-line {
    gap: 8px !important;
  }

  .line-total {
    font-size: 1.15rem !important;
  }

  .order-shipping-meta {
    font-size: 0.84rem !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .shipping-meta-val,
  .shipping-phone-link,
  .shipping-notes-val {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    display: block !important;
  }

  .order-placed-timestamp {
    font-size: 0.78rem !important;
    margin-top: 16px !important;
    padding-top: 12px !important;
  }

  .order-actions-container {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .btn-action-track,
  .btn-action-wa,
  .btn-action-shop {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 14px !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }

  .order-not-found-card {
    padding: 30px 14px !important;
  }

  .not-found-title {
    font-size: 1.6rem !important;
  }

  .not-found-text {
    font-size: 0.88rem !important;
  }

  .not-found-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .not-found-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}



