/* ==========================================================================
   TAK SPORT - Responsive Stylesheet
   Breakpoints: 1280px, 1024px, 768px, 480px, 375px, 320px
   Mobile Navigation Layout:
     LEFT: Shopping Cart Button
     CENTER: TAK SPORT Logo
     RIGHT: Hamburger Menu Button
   ========================================================================== */

/* --- Large Desktops (1440px+) --- */
@media (min-width: 1440px) {
  :root {
    --container-max: 1360px;
  }
  .hero-headline {
    font-size: 4rem;
  }
}

/* --- Laptops & Desktops (< 1280px) --- */
@media (max-width: 1279px) {
  .hero-headline {
    font-size: 3rem;
  }

  .category-cards-grid {
    gap: 12px;
  }

  .category-card {
    padding: 18px 12px 14px 12px;
    min-height: 210px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .about-grid {
    gap: 40px;
  }
}

/* --- Tablets & Small Laptops (< 1024px) --- */
@media (max-width: 1023px) {
  :root {
    --navbar-height: 74px;
  }

  /* Desktop Navbar Menu & Desktop Actions Hide */
  .navbar-menu {
    display: none;
  }

  .navbar-actions .contact-pill-btn {
    display: none;
  }

  /* Mobile Navbar Architecture */
  .site-navbar {
    background: rgba(5, 8, 14, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(0, 119, 238, 0.18) !important;
  }

  .site-navbar > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-elements {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .site-navbar .navbar-inner {
    display: none; /* Hide desktop structure */
  }

  .mobile-nav-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 4px !important;
  }

  /* Executive Mobile Corner Logo (Right Corner in RTL, Small & Refined) */
  .mobile-nav-corner-logo,
  .mobile-nav-corner-brand,
  .mobile-nav-right {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    order: 1 !important;
  }

  .mobile-brand-logo-img,
  .mobile-corner-logo,
  .mobile-logo-link img {
    height: 48px !important;
    max-height: 50px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 6px rgba(0, 210, 255, 0.28)) !important;
    transition: transform var(--transition-fast) !important;
  }

  .mobile-brand-logo-img:active,
  .mobile-logo-link:active img {
    transform: scale(0.94);
  }

  /* Mobile Controls (Search, Cart, Hamburger Grouped on Left) */
  .mobile-nav-controls,
  .mobile-nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    order: 2 !important;
  }

  /* Hide center wrapper if empty or legacy */
  .mobile-nav-center:empty,
  .mobile-nav-bar .mobile-nav-center {
    display: none !important;
  }

  /* Hero Adjustments */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 16px);
    padding-bottom: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy-col {
    align-items: center;
    text-align: center;
    order: 2;
  }

  .hero-logo-col {
    display: flex;
    justify-content: center;
    order: 1;
    margin-bottom: 6px;
  }

  .hero-badge-img {
    max-width: 190px;
  }

  .hero-athlete-spacer {
    display: none;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-subhead {
    font-size: 1.05rem;
    margin-bottom: 16px;
  }

  .hero-actions-row {
    justify-content: center;
  }

  .hero-reel-controls {
    top: auto;
    bottom: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .hero-athlete-img {
    width: 100%;
    opacity: 0.22;
    mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  }

  /* Categories Grid: 3 columns */
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Trust Strip: 2x2 */
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .trust-item:nth-child(2)::after {
    display: none;
  }

  /* Products Grid: 2 columns */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual-showcase {
    order: -1;
  }

  /* Why Grid */
  .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery Grid */
  .gallery-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.span-2 {
    grid-column: span 1;
  }

  /* Footer Grid */
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  /* Product Modal */
  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-media {
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 30px 20px;
  }

  .product-modal-info {
    padding: 30px 20px;
  }
}

/* --- Mobile Landscape & Large Phones (< 768px) --- */
@media (max-width: 767px) {
  :root {
    --navbar-height: 68px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-subhead {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .hero-badge-img {
    max-width: 150px;
  }

  /* Categories: 2 columns on tablet/phone */
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    min-height: 160px;
    padding: 10px;
  }

  .category-card-img-wrap {
    height: 85px;
  }

  .category-card-img-wrap img {
    max-height: 80px;
  }

  .category-card:last-child {
    grid-column: span 2;
  }

  /* Trust Strip */
  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-item::after {
    display: none !important;
  }

  /* Products Grid: 1 column */
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card-img-wrap {
    height: 190px;
  }

  /* Why TAK SPORT: 1 column */
  .why-features-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Section */
  .final-cta-card {
    padding: 48px 20px;
  }

  .cta-title {
    font-size: 2rem;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Sticky Mobile Bottom Navigation Bar */
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 64px;
    background: rgba(5, 8, 14, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    z-index: calc(var(--z-nav) - 5);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 12px;
  }

  .mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    position: relative;
    padding: 6px 12px;
  }

  .mobile-bottom-item.is-active,
  .mobile-bottom-item:hover {
    color: var(--brand-cyan);
  }

  .mobile-bottom-item .cart-count-badge {
    top: 2px;
    left: 14px;
  }

  /* Extra space for sticky bottom bar */
  body {
    padding-bottom: 64px;
  }
}

/* --- Small Phones (< 480px, including 375px & 360px) --- */
@media (max-width: 479px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .hero-subhead {
    font-size: 1.05rem;
  }

  .hero-badge-img {
    max-width: 160px;
  }

  .hero-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions-row .btn,
  .hero-actions-row .hero-btn {
    width: 100%;
  }

  .category-cards-grid {
    grid-template-columns: 1fr;
  }

  .category-card:last-child {
    grid-column: auto;
  }

  .category-card {
    min-height: 180px;
  }

  .product-card-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .product-actions-group {
    width: 100%;
    justify-content: space-between;
  }

  .product-actions-group .btn {
    flex-grow: 1;
  }

  .about-metrics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
  }

  .modal-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .modal-action-btns {
    width: 100%;
    flex-direction: column;
  }

  .modal-action-btns .btn {
    width: 100%;
  }
}

/* --- Tiny Screens (320px) --- */
@media (max-width: 330px) {
  html {
    font-size: 14px;
  }

  .btn {
    padding: 0 16px;
  }

  .navbar-brand .brand-logo-img {
    height: 48px;
  }
}

/* ==========================================================================
   ENHANCED RESPONSIVE SYSTEM (2-BY-2 JOF-TO-JOF MOBILE LAYOUT)
   ========================================================================== */

/* --- Tablet Breakpoint (< 1024px) --- */
@media (max-width: 1023px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .gym-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-card.is-popular {
    transform: none;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-departments-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .location-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- Mobile Breakpoint (< 768px) --- STRICT 2-BY-2 GRID ACROSS ALL SECTIONS */
@media (max-width: 767px) {
  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-section {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .hero-ambient-glow {
    display: none !important;
  }

  .why-us-section {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 45px 0 55px 0 !important;
  }

  /* QUICK VIEW MODAL MOBILE */
  .modal-overlay {
    padding: 10px !important;
  }

  .modal-container {
    max-height: 90vh !important;
    border-radius: var(--radius-md) !important;
    overflow-y: auto !important;
  }

  .modal-close-btn {
    top: 12px !important;
    left: 12px !important;
    width: 34px !important;
    height: 34px !important;
  }

  .product-modal-grid {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .product-modal-media {
    border-left: none !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding: 24px 14px 16px 14px !important;
  }

  .modal-img-wrapper {
    height: 180px !important;
  }

  .modal-product-img {
    max-height: 170px !important;
  }

  .product-modal-info {
    padding: 18px 14px !important;
  }

  .modal-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .modal-desc {
    font-size: 0.8rem !important;
    line-height: 1.65 !important;
    margin-bottom: 14px !important;
  }

  .modal-subheading {
    font-size: 0.92rem !important;
    margin-bottom: 8px !important;
  }

  .modal-specs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }

  .spec-card {
    padding: 6px 8px !important;
  }

  .spec-label {
    font-size: 0.68rem !important;
  }

  .spec-val {
    font-size: 0.78rem !important;
  }

  .modal-feature-list {
    margin-bottom: 16px !important;
  }

  .modal-feature-list li {
    font-size: 0.78rem !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
  }

  .modal-cta-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-top: 14px !important;
  }

  .modal-price-box {
    align-items: center !important;
    text-align: center !important;
  }

  .modal-price-box .price-num {
    font-size: 1.2rem !important;
  }

  .modal-action-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .modal-action-btns .btn {
    width: 100% !important;
    min-height: 40px !important;
    font-size: 0.82rem !important;
  }

  /* Show Mobile Bottom Bar strictly on mobile screens */
  .mobile-bottom-bar {
    display: flex !important;
  }

  /* Clear space above fixed bottom bar */
  body {
    padding-bottom: 74px !important;
  }

  .site-footer {
    padding-bottom: 90px !important;
  }

  /* ==========================================================
     1. EQUIPMENT CATALOG MOBILE OVERHAUL (< 768px)
     Horizontal Swipeable Filter Tabs + 1-Col Luxury Cards on Phones
     ========================================================== */
  .product-filter-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 6px 4px 14px 4px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    scroll-snap-type: x proximity !important;
  }

  .product-filter-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .filter-tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-full) !important;
    min-height: 38px !important;
    scroll-snap-align: start !important;
    background: rgba(16, 27, 47, 0.75) !important;
    border: 1px solid rgba(0, 119, 238, 0.22) !important;
  }

  .filter-tab-btn.is-active {
    background: var(--brand-blue, #0077ee) !important;
    color: #ffffff !important;
    border-color: var(--brand-cyan, #00d2ff) !important;
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.35) !important;
  }

  /* Products Grid Responsive Breakdown:
     - 1 column on phones (< 640px) for maximum readability & visual impact
     - 2 columns on tablets / phablets (640px - 767px)
  */
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  @media (min-width: 600px) and (max-width: 767px) {
    .products-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 16px !important;
    }
  }

  /* Single Product Card on Mobile */
  .product-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px 16px !important;
    border-radius: var(--radius-lg, 18px) !important;
    background: radial-gradient(circle at 50% 20%, rgba(20, 36, 62, 0.6) 0%, rgba(10, 17, 30, 0.95) 100%) !important;
    border: 1px solid rgba(0, 119, 238, 0.22) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
  }

  .product-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .product-badge {
    font-size: 0.72rem !important;
    padding: 3px 10px !important;
    background: rgba(0, 119, 238, 0.16) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-full) !important;
    color: var(--brand-cyan, #00d2ff) !important;
  }

  .product-quick-view-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .product-card-img-wrap {
    width: 100% !important;
    height: 205px !important;
    padding: 12px !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: radial-gradient(ellipse at 50% 50%, rgba(20, 36, 62, 0.5) 0%, rgba(7, 13, 24, 0.95) 100%) !important;
    border: 1px solid rgba(0, 210, 255, 0.12) !important;
    overflow: hidden !important;
  }

  .product-card-img-wrap img {
    max-height: 185px !important;
    max-width: 95% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85)) !important;
  }

  .product-card-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100% !important;
  }

  .product-card-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
  }

  .product-model-code {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: var(--brand-cyan, #00d2ff) !important;
    letter-spacing: 0.5px !important;
  }

  .product-brand-code {
    font-size: 0.74rem !important;
    color: var(--text-muted, #64748b) !important;
  }

  .product-card-title {
    font-size: 1.05rem !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    color: var(--text-primary, #ffffff) !important;
    margin-bottom: 8px !important;
  }

  .product-card-desc {
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    color: var(--text-secondary, #94a3b8) !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .product-card-specs-mini {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }

  .spec-chip {
    font-size: 0.72rem !important;
    padding: 3px 9px !important;
    border-radius: var(--radius-xs, 4px) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-glass) !important;
    color: var(--text-secondary, #cbd5e1) !important;
  }

  .product-card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--border-glass) !important;
    margin-top: auto !important;
  }

  .product-price-tag .price-val {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
  }

  .product-actions-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .product-actions-group .btn,
  .product-card-bottom > .btn {
    min-height: 38px !important;
    font-size: 0.78rem !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
  }

  .product-actions-group .add-cart-btn {
    padding: 0 10px !important;
    gap: 4px !important;
  }

  @media (max-width: 400px) {
    .product-card-bottom {
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 10px !important;
    }

    .product-price-tag {
      text-align: center !important;
    }

    .product-actions-group {
      width: 100% !important;
      display: flex !important;
    }

    .product-actions-group .btn:first-child {
      flex: 1 !important;
    }
  }

  /* Product Details Deep-Dive Tabs (product.html) */
  .product-tabs-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    margin-bottom: 18px !important;
  }

  .product-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .product-tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    padding: 8px 14px !important;
  }

  .specs-table td {
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
  }

  .specs-table td:first-child {
    width: 40% !important;
  }

  /* 2. GYM SHOWCASE: 2-BY-2 (جفت جفت) */
  .gym-showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .gym-card-media {
    height: 120px !important;
  }

  .gym-card-info {
    padding: 10px 8px !important;
  }

  .gym-card-title {
    font-size: 0.84rem !important;
  }

  .gym-card-location {
    font-size: 0.72rem !important;
  }

  .gym-card-desc {
    display: none !important;
  }

  .gym-card-equipment-pills {
    display: none !important;
  }

  /* 3. TURNKEY PACKAGES: 2-BY-2 */
  .packages-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .package-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 10px 14px 10px !important;
  }

  .package-card:last-child {
    grid-column: span 2;
  }

  .package-tier {
    font-size: 0.72rem !important;
  }

  .package-name {
    font-size: 0.92rem !important;
  }

  .package-space {
    font-size: 0.72rem !important;
  }

  .package-specs-list {
    margin-bottom: 14px !important;
    gap: 6px !important;
  }

  .package-specs-list li {
    font-size: 0.72rem !important;
    gap: 6px !important;
  }

  .package-card .btn {
    min-height: 34px !important;
    font-size: 0.74rem !important;
  }

  /* 4. WHY US FEATURES: 2-BY-2 */
  .why-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .why-feature-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 10px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .why-icon-box {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 10px !important;
  }

  .why-title {
    font-size: 0.84rem !important;
    word-break: break-word !important;
  }

  .why-desc {
    font-size: 0.74rem !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
  }

  /* 5. PRODUCTION PROCESS: 2-BY-2 */
  .process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .process-step-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 10px !important;
  }

  .process-step-num {
    font-size: 1.6rem !important;
  }

  .process-step-title {
    font-size: 0.84rem !important;
  }

  .process-step-desc {
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
  }

  /* 6. ABOUT STATS: 2-BY-2 */
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .stat-card {
    padding: 14px 8px !important;
  }

  .stat-number {
    font-size: 1.6rem !important;
  }

  .stat-label {
    font-size: 0.74rem !important;
  }

  /* 7. TRUST STRIP: 2-BY-2 */
  .hero-trust-wrap .trust-strip-grid,
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .trust-item {
    padding: 4px !important;
  }

  .trust-icon-box {
    width: 32px !important;
    height: 32px !important;
  }

  .trust-content h4 {
    font-size: 0.78rem !important;
  }

  .trust-content p {
    font-size: 0.68rem !important;
  }

  /* ==========================================
     TESTIMONIALS SECTION MOBILE (Compact Swipe Carousel)
     ========================================== */
  .testimonials-section {
    padding: 36px 0 44px 0 !important;
    overflow-x: clip !important;
  }

  .testimonials-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 8px 4px 12px 4px !important;
    margin-top: 20px !important;
    scrollbar-width: none !important;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none !important;
  }

  .testimonial-card {
    flex: 0 0 85% !important;
    min-width: 270px !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
    padding: 16px 14px !important;
    background: rgba(14, 22, 37, 0.75) !important;
    border: 1px solid rgba(0, 119, 238, 0.2) !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 175px !important;
  }

  .testimonial-stars {
    font-size: 0.82rem !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
  }

  .testimonial-quote {
    font-size: 0.8rem !important;
    line-height: 1.65 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .testimonial-author {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .author-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.76rem !important;
    flex-shrink: 0 !important;
  }

  .author-info h5 {
    font-size: 0.82rem !important;
    margin-bottom: 2px !important;
  }

  .author-info span {
    font-size: 0.68rem !important;
    color: var(--text-muted) !important;
    display: block !important;
  }

  .testimonials-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 12px !important;
  }

  .t-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.25s ease !important;
  }

  .t-dot.is-active {
    width: 18px !important;
    border-radius: 10px !important;
    background: var(--brand-cyan) !important;
  }

  /* ==========================================
     FOOTER MOBILE (100% Responsive, Clean & Organized)
     ========================================== */
  .site-footer {
    padding: 36px 0 100px 0 !important;
    background: #05080e !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .footer-top-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* Footer Brand */
  .footer-brand {
    grid-column: auto !important;
    width: 100% !important;
    text-align: right !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .footer-brand-logo {
    height: 36px !important;
    margin-bottom: 10px !important;
  }

  .footer-brand p {
    font-size: 0.78rem !important;
    line-height: 1.65 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 12px !important;
  }

  .footer-trust-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .footer-badge-pill {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
    background: rgba(0, 119, 238, 0.08) !important;
    border: 1px solid rgba(0, 119, 238, 0.2) !important;
  }

  /* Quick Links (2-col grid for clean spacing) */
  .footer-col:nth-child(2) {
    width: 100% !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .footer-col:nth-child(2) h4 {
    font-size: 0.86rem !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
  }

  .footer-col:nth-child(2) .footer-links-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 12px !important;
  }

  .footer-links-list a {
    font-size: 0.78rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.5 !important;
  }

  /* Central Office & Factory Card */
  .footer-col:nth-child(3) {
    width: 100% !important;
    background: rgba(14, 22, 37, 0.6) !important;
    border: 1px solid rgba(0, 119, 238, 0.18) !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 14px !important;
  }

  .footer-col:nth-child(3) h4 {
    font-size: 0.86rem !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
  }

  .footer-contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .footer-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
  }

  .footer-contact-item svg {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    color: var(--brand-cyan) !important;
  }

  .footer-contact-item a[href^="tel"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 9px 12px !important;
    background: rgba(0, 119, 238, 0.15) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    direction: ltr !important;
    text-align: center !important;
    margin-top: 4px !important;
  }

  /* Social Networks */
  .footer-col:nth-child(4) {
    width: 100% !important;
  }

  .footer-col:nth-child(4) h4 {
    font-size: 0.86rem !important;
    margin-bottom: 4px !important;
  }

  .footer-col:nth-child(4) p {
    font-size: 0.74rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 8px !important;
  }

  .footer-social-links {
    display: flex !important;
    gap: 10px !important;
  }

  .footer-social-btn {
    width: 40px !important;
    height: 40px !important;
  }

  /* Sub-footer Bottom Bar */
  .footer-bottom-bar {
    margin-top: 20px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .footer-bottom-bar span {
    font-size: 0.7rem !important;
    line-height: 1.5 !important;
    color: var(--text-muted) !important;
  }

  /* Single Product Details Mobile Experience (product.html) */
  .product-page-main {
    padding-top: calc(var(--navbar-height) + 12px) !important;
    padding-bottom: 90px !important;
  }

  .product-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .product-main-view {
    height: 260px !important;
    border-radius: var(--radius-lg, 16px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px !important;
  }

  .product-main-view img {
    max-height: 225px !important;
    max-width: 95% !important;
    object-fit: contain !important;
  }

  .product-gallery-thumbs {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    margin-top: 10px !important;
  }

  .gallery-thumb {
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .product-info-title {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .product-actions-bar {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .product-actions-bar .qty-picker {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
  }

  .product-actions-bar .btn {
    width: 100% !important;
    min-height: 44px !important;
    flex: none !important;
    justify-content: center !important;
    font-size: 0.86rem !important;
  }

  /* ==========================================
     CONTACT PAGE MOBILE OVERHAUL (< 768px)
     Strict no-overflow, fluid, touch-friendly
     ========================================== */
  .contact-page-main {
    padding-top: calc(var(--navbar-height) + 16px) !important;
    padding-bottom: 90px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .product-breadcrumb {
    font-size: 0.76rem !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .contact-hero-banner {
    margin-bottom: 28px !important;
    padding: 0 4px !important;
  }

  .contact-hero-banner .section-title {
    font-size: 1.35rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
  }

  .contact-hero-banner .section-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
  }

  .contact-departments-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 34px !important;
    width: 100% !important;
  }

  .department-card {
    padding: 22px 16px !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .department-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 12px !important;
  }

  .department-title {
    font-size: 1.05rem !important;
    margin-bottom: 6px !important;
  }

  .department-desc {
    font-size: 0.8rem !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
  }

  .department-actions {
    width: 100% !important;
    gap: 8px !important;
  }

  .dept-btn-primary, .dept-btn-secondary {
    min-height: 44px !important;
    font-size: 0.82rem !important;
    padding: 0 12px !important;
  }

  /* Social Hub Mobile */
  .contact-social-section {
    margin-bottom: 34px !important;
    width: 100% !important;
  }

  .contact-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .social-hub-card {
    padding: 16px 10px !important;
    border-radius: var(--radius-md) !important;
  }

  .social-hub-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 8px !important;
  }

  .social-hub-name {
    font-size: 0.86rem !important;
    margin-bottom: 4px !important;
  }

  .social-hub-handle {
    font-size: 0.68rem !important;
    margin-bottom: 6px !important;
  }

  .social-hub-desc {
    display: none !important; /* Hide long desc on small mobile for compact luxury aesthetic */
  }

  .social-hub-link-text {
    font-size: 0.74rem !important;
  }

  /* Location & Map Mobile */
  .contact-location-section {
    margin-bottom: 34px !important;
    width: 100% !important;
  }

  .location-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  .location-info-card {
    padding: 20px 14px !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .location-title {
    font-size: 1.15rem !important;
    margin-bottom: 10px !important;
  }

  .location-address-box {
    padding: 12px 12px !important;
    margin-bottom: 16px !important;
  }

  .location-address-text {
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
  }

  .coords-pill {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }

  .routing-btns-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .routing-btn {
    padding: 9px 6px !important;
    font-size: 0.74rem !important;
    min-height: 42px !important;
    gap: 5px !important;
  }

  .tactical-map-card {
    min-height: 280px !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tactical-map-viewport {
    min-height: 230px !important;
  }

  .tactical-map-footer {
    padding: 10px 14px !important;
    font-size: 0.72rem !important;
  }

  /* Fast Callback Mobile */
  .quick-callback-section {
    padding: 26px 14px !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .callback-title {
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .callback-desc {
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }

  .callback-form-bar {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .callback-input {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.86rem !important;
    min-height: 46px !important;
    text-align: center !important;
  }

  .callback-submit-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 46px !important;
    font-size: 0.86rem !important;
  }
}
