/* ==========================================================================
   Kalratri Dry Fruits - Responsive Stylesheet
   Desktop (1440px) down to Small Mobile (360px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Laptops & Medium Desktops (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .shop-5col-grid,
  .shop-4col-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-hero-card {
    grid-template-columns: 1.1fr 1fr 120px;
    padding: 20px 24px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

/* --------------------------------------------------------------------------
   Tablets & Small Laptops (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-media-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-editorial-banner {
    grid-template-columns: 1fr;
  }

  .side-banners-grid {
    grid-template-columns: 1fr;
  }

  .promise-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .shop-two-col-layout,
  .shop-layout-grid,
  .checkout-grid,
  .account-layout-grid {
    grid-template-columns: 1fr;
  }

  .cart-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
  }

  .cart-items-card,
  .order-summary-card {
    width: 100% !important;
    box-sizing: border-box !important;
    position: static !important;
  }

  .mobile-filter-bar {
    display: block !important;
    margin-bottom: 16px;
  }

  .mobile-filter-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FAF7EE;
    border: 1.5px solid #E2DDD2;
    color: var(--primary-dark);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
  }

  .mobile-filter-toggle-btn:hover {
    background: #F0ECE1;
  }

  .shop-sidebar-card {
    display: none;
    margin-bottom: 20px;
  }

  .shop-sidebar-card.mobile-open {
    display: flex !important;
    animation: fadeIn 0.2s ease;
  }

  .shop-5col-grid,
  .shop-4col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
    padding: 20px 18px;
  }

  .shop-hero-features {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .shop-hero-media {
    justify-content: center;
  }

  .product-details-grid {
    grid-template-columns: 1fr;
  }

  .auth-container {
    grid-template-columns: 1fr;
  }

  .auth-branding-panel {
    display: none;
  }

  .main-nav {
    display: none; /* Controlled by mobile menu drawer */
  }

  .menu-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #FAF8F5;
    border: 1px solid #EAE3D6;
    border-radius: 8px;
    font-size: 1.15rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }

  .menu-toggle-btn:active {
    transform: scale(0.95);
  }

  .mobile-bottom-bar {
    display: block;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); /* Clean space for sticky bottom bar */
  }

  .header-search {
    max-width: 340px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Mobile Phones & Phablets (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.72rem !important;
    padding: 6px 10px !important;
    overflow: hidden !important;
    position: relative;
    z-index: 101;
  }

  .announcement-bar .container {
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .announcement-item {
    font-size: 0.72rem;
    gap: 4px;
    white-space: nowrap;
  }

  .announcement-item:nth-child(n+3) {
    display: none; /* Keep announcement bar clean on mobile */
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }

  .menu-toggle-btn {
    order: 1;
    margin-right: 4px;
  }

  .site-logo {
    order: 2;
    flex: 1;
    text-align: left;
  }

  .site-logo img {
    height: 36px;
    max-width: 140px;
    object-fit: contain;
  }

  .header-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-action-btn {
    padding: 6px 4px;
    gap: 2px;
    position: relative;
  }

  .header-action-btn span:not(.badge-count) {
    display: none !important; /* Text hidden so icons fit cleanly on top bar */
  }

  .header-action-btn .badge-count {
    display: flex !important;
  }

  .header-action-btn i {
    font-size: 1.15rem;
  }

  .header-search {
    order: 4;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }

  .search-form {
    height: 40px;
    border-radius: var(--radius-pill);
  }

  .search-input {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .search-btn {
    padding: 8px 14px;
  }

  /* Hero Section */
  .hero-section {
    padding: 24px 0 36px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .hero-slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    opacity: 0.85;
  }

  .hero-slider-arrow.prev {
    left: 4px;
  }

  .hero-slider-arrow.next {
    right: 4px;
  }

  /* Benefits Grid (2x2 on mobile for clean balance) */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .benefit-card {
    padding: 12px 10px;
    gap: 10px;
  }

  .benefit-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .benefit-content h4 {
    font-size: 0.8125rem;
    margin-bottom: 2px;
  }

  .benefit-content p {
    font-size: 0.6875rem;
  }

  /* Categories Grid */
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 12px 6px;
  }

  .category-img-box {
    width: 60px;
    height: 60px;
  }

  .category-card h3 {
    font-size: 0.8125rem;
  }

  /* Product Cards 2-Col Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .shop-5col-grid,
  .shop-4col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card,
  .shop-product-card {
    padding: 10px 8px;
  }

  .product-img-box,
  .shop-card-img-wrap {
    height: 120px;
  }

  /* Shop Sidebar Mobile Adjustments */
  .shop-sidebar-card {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .sidebar-block {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .sidebar-cat-list {
    max-height: 200px;
    overflow-y: auto;
  }

  .promo-highlights-list {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col:last-child {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .metrics-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Breadcrumbs on Mobile */
  .breadcrumb-wrapper {
    padding: 8px 0 !important;
  }

  .breadcrumbs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    font-size: 0.75rem !important;
    gap: 6px !important;
    padding-bottom: 2px;
  }

  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .breadcrumbs a,
  .breadcrumbs span.separator {
    flex-shrink: 0;
  }

  .breadcrumbs span.current {
    flex-shrink: 1;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Product Details Page on Mobile (768px & below) */
  .product-details-page.section-padding {
    padding-top: 14px !important;
    padding-bottom: 95px !important;
  }

  .product-details-grid {
    grid-template-columns: 1fr !important;
    padding: 16px 14px !important;
    gap: 18px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
  }

  .product-gallery-box {
    gap: 10px !important;
  }

  .main-image-display {
    height: 260px !important;
    background: #ffffff !important;
    border: 1px solid #ECE7D9 !important;
    border-radius: 16px !important;
    padding: 10px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  }

  .main-image-display img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .gallery-thumbs-row {
    gap: 8px !important;
    padding: 2px 0 4px 0 !important;
    justify-content: center !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-thumbs-row::-webkit-scrollbar {
    display: none;
  }

  .gallery-thumb-item {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid #E2DDD2 !important;
    padding: 2px !important;
  }

  .gallery-thumb-item.active {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(15, 61, 46, 0.15) !important;
  }

  .gallery-thumb-item img {
    width: 90% !important;
    height: 90% !important;
    object-fit: contain !important;
  }

  #productDetailTitle {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
  }

  .product-meta-row {
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    margin-bottom: 12px !important;
  }

  .product-price-section {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .detail-current-price {
    font-size: 1.65rem !important;
  }

  .detail-original-price {
    font-size: 1.1rem !important;
  }

  .detail-discount-tag {
    font-size: 0.75rem !important;
    padding: 2px 8px !important;
  }

  .product-short-desc {
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }

  .product-selection-group {
    margin-bottom: 14px !important;
  }

  .selection-label {
    font-size: 0.8125rem !important;
    margin-bottom: 6px !important;
  }

  .weight-options-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .weight-option-btn {
    padding: 6px 14px !important;
    font-size: 0.8125rem !important;
    border-radius: 8px !important;
  }

  /* Quantity and Action Buttons Row (Modern E-commerce 2-Tier Layout) */
  .quantity-actions-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
  }

  .qty-control-box {
    order: 1 !important;
    width: 96px !important;
    height: 44px !important;
    border-radius: 25px !important;
    border: 1px solid #D5DDD8 !important;
    background: #F8FAF9 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden !important;
  }

  .qty-btn {
    width: 30px !important;
    height: 42px !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .qty-input {
    width: 36px !important;
    font-size: 0.875rem !important;
    text-align: center !important;
  }

  .btn-detail-cart {
    order: 2 !important;
    flex: 1 !important;
    height: 44px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
    background-color: var(--primary) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .btn-detail-wishlist {
    order: 3 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #D5DDD8 !important;
    background: #ffffff !important;
    color: var(--primary-dark) !important;
    flex-shrink: 0 !important;
  }

  .btn-detail-buy {
    order: 4 !important;
    width: 100% !important;
    height: 46px !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    background-color: var(--accent) !important;
    color: var(--primary-dark) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 2px !important;
  }

  .product-health-badges {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .health-badge-item {
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 8px !important;
  }

  .health-badge-item i {
    font-size: 1.05rem !important;
  }

  .health-badge-item span {
    font-size: 0.75rem !important;
  }

  /* Product Tabs on Mobile */
  .product-tabs-section {
    margin-top: 20px !important;
    border-radius: 14px !important;
  }

  .product-tab-nav {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }

  .product-tab-btn {
    padding: 11px 16px !important;
    font-size: 0.8125rem !important;
    flex: 1 !important;
    text-align: center !important;
  }

  .product-tab-pane {
    padding: 16px 12px !important;
  }

  .product-description-content table {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    word-break: break-word !important;
  }

  .product-description-content img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Cart Page Mobile Switching */
  .cart-desktop-table-wrap {
    display: none !important;
  }

  .cart-mobile-items-list {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .cart-items-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }

  .cart-header-row h1 {
    font-size: 1.55rem !important;
  }

  .cart-bottom-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .btn-cart-continue,
  .btn-cart-clear-all {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Checkout Page Mobile Optimizations */
  .checkout-steps-bar {
    gap: 8px !important;
    margin-bottom: 22px !important;
    padding: 0 4px;
    justify-content: center;
  }

  .step-indicator {
    gap: 6px !important;
    font-size: 0.8125rem !important;
  }

  .step-num {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.72rem !important;
  }

  .step-line {
    width: 24px !important;
  }

  .checkout-box {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 18px !important;
  }

  .checkout-box-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
  }

  .checkout-box-title-group {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .checkout-box-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }

  .checkout-box-title {
    font-size: 1.1875rem !important;
    line-height: 1.3 !important;
  }

  .checkout-box-sub {
    font-size: 0.75rem !important;
  }

  .checkout-box-badge {
    font-size: 0.72rem !important;
    align-self: flex-start !important;
  }

  .payment-method-card {
    padding: 14px 12px !important;
    gap: 12px !important;
    border-radius: 10px !important;
  }

  /* Tracking Page Mobile Optimizations */
  .track-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }

  .track-top-bar-info {
    justify-content: space-between !important;
    font-size: 0.8125rem !important;
  }

  .track-top-bar-form {
    width: 100% !important;
  }

  .track-master-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
  }

  .track-master-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 14px !important;
  }

  .track-order-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }

  .track-header-actions {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }

  .track-header-actions .btn-order-action,
  .track-header-actions .hero-cta-btn {
    flex: 1 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .track-courier-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 12px 10px !important;
    margin: 14px 0 !important;
  }

  .track-stepper-inner {
    padding: 0 4px !important;
  }

  .track-stepper-bar-bg {
    top: 14px !important;
    left: 18px !important;
    right: 18px !important;
    height: 2.5px !important;
  }

  .track-step-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.72rem !important;
    border-width: 2px !important;
    margin-bottom: 4px !important;
  }

  .track-step-label {
    font-size: 0.65rem !important;
  }

  .track-step-sub {
    font-size: 0.58rem !important;
  }

  .track-details-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .track-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
}

/* --------------------------------------------------------------------------
   Small & Standard Mobile Phones (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-padding {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .section-header {
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-view-all {
    font-size: 0.8125rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 18px 0 28px;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.8125rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .hero-cta-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.875rem;
  }

  .hero-media-wrapper {
    max-width: 240px;
    margin: 14px auto 0;
  }

  .hero-bowl-img {
    max-width: 230px;
  }

  .stamp-100-natural {
    width: 58px;
    height: 58px;
    right: 2px;
    top: 2px;
    padding: 4px;
  }

  .stamp-100-natural span.stamp-pct {
    font-size: 0.8125rem;
  }

  .stamp-100-natural span.stamp-text {
    font-size: 0.5rem;
  }

  .hero-slider-arrow {
    display: none; /* Swipe and indicator dots provide better touch experience */
  }

  .hero-slider-dots {
    bottom: 10px;
  }

  /* Shop Grid */
  .shop-5col-grid,
  .shop-4col-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .shop-hero-heading {
    font-size: 1.35rem;
  }

  .shop-toolbar-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* 2-Column Product Card Optimization */
  .product-card,
  .shop-product-card {
    padding: 8px 6px 10px 6px !important;
    border-radius: 12px !important;
  }

  .product-img-box,
  .shop-card-img-wrap {
    height: 105px !important;
    margin-bottom: 6px !important;
  }

  .product-img-box img,
  .shop-card-img {
    max-height: 95px !important;
    object-fit: contain !important;
  }

  .product-title,
  .shop-card-title {
    font-size: 0.7813rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-rating,
  .shop-card-rating {
    font-size: 0.6875rem !important;
    margin-bottom: 4px !important;
    gap: 3px !important;
  }

  .product-rating .stars i,
  .shop-stars i {
    font-size: 0.58rem !important;
  }

  .reviews-count,
  .shop-rating-count {
    font-size: 0.625rem !important;
  }

  .card-weight-selector,
  .shop-weight-row {
    display: flex !important;
    gap: 2px !important;
    margin-bottom: 6px !important;
    width: 100% !important;
  }

  .card-weight-btn,
  .shop-weight-pill {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 3px 1px !important;
    font-size: 0.625rem !important;
    text-align: center !important;
    border-radius: 4px !important;
  }

  .product-pricing,
  .shop-card-price-row {
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
  }

  .current-price,
  .shop-curr-price {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
  }

  .original-price,
  .shop-old-price {
    font-size: 0.6875rem !important;
  }

  /* Card Action Row: Stacked Qty & Add to Cart for Touch Ergonomics */
  .card-action-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-top: auto !important;
    width: 100% !important;
  }

  .card-qty-pill {
    width: 100% !important;
    height: 26px !important;
    padding: 0 4px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .card-qty-btn {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.85rem !important;
    line-height: 1 !important;
  }

  .card-qty-val {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
  }

  .btn-add-cart,
  .shop-card-btn {
    width: 100% !important;
    height: 28px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  /* Product Details Page on Mobile (480px & below) */
  .product-details-grid {
    padding: 14px 10px !important;
    gap: 14px !important;
  }

  .main-image-display {
    height: 235px !important;
    padding: 8px !important;
  }

  #productDetailTitle {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }

  .detail-current-price {
    font-size: 1.5rem !important;
  }

  .qty-control-box {
    width: 88px !important;
    height: 42px !important;
  }

  .qty-btn {
    width: 26px !important;
    font-size: 1rem !important;
  }

  .qty-input {
    width: 32px !important;
    font-size: 0.8125rem !important;
  }

  .btn-detail-cart {
    height: 42px !important;
    font-size: 0.8125rem !important;
    padding: 0 8px !important;
    gap: 4px !important;
  }

  .btn-detail-wishlist {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  .btn-detail-buy {
    height: 44px !important;
    font-size: 0.875rem !important;
  }

  /* Cart Page on 480px and below */
  .cart-mobile-thumb-link {
    width: 68px !important;
    height: 68px !important;
  }

  .cart-mobile-title {
    font-size: 0.875rem !important;
  }

  .cart-mobile-total-amount {
    font-size: 1.05rem !important;
  }

  .cart-items-card {
    padding: 12px 10px !important;
  }

  .order-summary-card {
    padding: 18px 14px !important;
  }

  /* Checkout Mobile Under 480px */
  .checkout-steps-bar {
    gap: 6px !important;
    margin-bottom: 20px !important;
    justify-content: space-between !important;
    padding: 0 2px;
    width: 100%;
  }

  .step-indicator {
    gap: 5px !important;
    font-size: 0.75rem !important;
  }

  .step-full {
    display: none !important;
  }

  .step-short {
    display: inline !important;
    font-weight: 700 !important;
    font-size: 0.7813rem !important;
  }

  .step-num {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.6875rem !important;
  }

  .step-line {
    flex: 1 !important;
    max-width: 30px !important;
    min-width: 10px !important;
  }

  .checkout-box {
    padding: 16px 12px !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
  }

  .checkout-box-header {
    gap: 6px !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
  }

  .checkout-box-badge {
    padding-left: 0 !important;
  }

  .checkout-box-title {
    font-size: 1.0625rem !important;
  }

  .form-control {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }

  .pm-head-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .pm-title {
    font-size: 0.875rem !important;
  }

  .pm-badges {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .pm-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  .btn-checkout-proceed {
    font-size: 0.9375rem !important;
    padding: 13px 14px !important;
  }

  /* Tracking Mobile Under 480px */
  .track-order-title {
    font-size: 1.15rem !important;
  }

  .track-step-circle {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.625rem !important;
  }

  .track-stepper-bar-bg {
    top: 12px !important;
    left: 14px !important;
    right: 14px !important;
    height: 2px !important;
  }

  .track-step-label {
    font-size: 0.58rem !important;
    letter-spacing: -0.2px;
  }

  .track-step-sub {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Extra Small Mobile Phones (max-width: 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .site-logo img {
    height: 30px;
    max-width: 115px;
  }

  .header-actions {
    gap: 6px;
  }

  .products-grid,
  .shop-5col-grid,
  .shop-4col-grid {
    gap: 6px !important;
  }

  .product-card,
  .shop-product-card {
    padding: 6px 4px 8px 4px !important;
  }

  .card-weight-btn,
  .shop-weight-pill {
    font-size: 0.58rem !important;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  /* Checkout on 360px */
  .checkout-steps-bar {
    gap: 3px !important;
  }

  .step-indicator {
    font-size: 0.6875rem !important;
    gap: 3px !important;
  }

  .step-short {
    font-size: 0.6875rem !important;
  }

  .step-num {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.625rem !important;
  }

  .step-line {
    max-width: 14px !important;
    min-width: 6px !important;
  }

  .checkout-box {
    padding: 14px 10px !important;
  }

  /* Tracking on 360px */
  .track-courier-strip {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .track-order-title {
    font-size: 1.05rem !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  background: var(--white);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 16px 20px;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close-btn {
  color: var(--white);
  font-size: 1.25rem;
}

.mobile-drawer-nav {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark-text);
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--cream-card);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 20px;
  background: var(--cream-subtle);
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Mobile Banner Edge-to-Edge Full View Fix (No Crop, 16:9 Clean Aspect Ratio)
   ========================================================================== */
@media (max-width: 768px) {
  #heroSliderSection,
  .hero-section {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }
  .hero-slider-wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero-full-banner-slide {
    width: 100% !important;
    background: transparent !important;
  }
  .hero-full-banner-img {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }
  .hero-slider-dots {
    bottom: 8px !important;
    padding: 4px 10px !important;
    background: rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 20px !important;
    gap: 6px !important;
  }
  .hero-dot {
    width: 6px !important;
    height: 6px !important;
  }
  .hero-dot.active {
    width: 18px !important;
    border-radius: 8px !important;
  }
  .hero-slider-arrow {
    display: none !important;
  }
}