/* ==========================================================================
   PABLO SUPPS - RESPONSIVE & MOBILE STYLESHEET
   Comprehensive coverage for Mobile, Phablet, Tablet, and Desktop
   ========================================================================== */

/* Tablet & Smaller Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .section-title {
    font-size: 28px;
  }

  .watch-takeover-title {
    font-size: 42px;
  }

  .promo-flex-container {
    flex-direction: column;
    gap: 16px;
  }

  .promo-col-left,
  .promo-col-right {
    width: 100%;
    flex: none;
  }

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

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

/* Tablet (max-width: 900px) */
@media (max-width: 900px) {
  /* Hide standard desktop nav */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    z-index: 10;
  }

  /* Mobile Header Configuration (Centered Logo, Icons Right, Hamburger Left) */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background-color: #FFFFFF;
  }

  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    height: 62px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-logo img {
    height: 34px;
    width: auto;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    z-index: 10;
  }

  .header-actions .wishlist-btn,
  .header-actions .user-btn {
    display: none !important;
  }

  .cart-btn .cart-badge,
  .cart-toggle-btn .cart-count-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: var(--pablo-yellow);
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
  }

  /* Video Grid becomes horizontal scrollable reel */
  .video-grid {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .video-grid::-webkit-scrollbar {
    display: none;
  }

  .video-card {
    width: 220px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  /* Category layout becomes vertical on tablet */
  .category-tabs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-tab-list {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .category-tab-list::-webkit-scrollbar {
    display: none;
  }

  .category-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Blog Cards: 2 Columns */
  .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* FAQ Split Screen Stacks on Tablet */
  .faq-split-container {
    flex-direction: column;
  }

  .faq-left-col {
    width: 100%;
    padding: 60px 30px;
    justify-content: center;
  }

  .faq-content-inner {
    max-width: 100%;
  }

  .faq-title {
    font-size: 40px;
    white-space: normal;
  }

  .faq-right-col {
    width: 100%;
    min-height: 520px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --topbar-height: 32px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-announcement-bar {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    background-color: #FFFFFF;
    color: #000000;
    border-bottom: 1px solid #000000;
  }

  .site-logo img {
    height: 34px;
  }

  .action-btn {
    width: 36px;
    height: 36px;
  }

  .action-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Hero Section */
  .hero-slide-img {
    min-height: 220px;
  }

  .hero-btn {
    font-size: 13px;
    padding: 10px 24px;
    margin-top: 10%;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }

  /* Headings */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .watch-takeover-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .faq-title {
    font-size: 28px;
  }

  /* Bestsellers Cards */
  .product-carousel {
    gap: 14px;
    padding-bottom: 16px;
  }

  .product-card {
    min-width: 220px;
    padding: 12px;
  }

  .product-card-title {
    font-size: 14px;
    min-height: 36px;
  }

  .price-current {
    font-size: 15px;
  }

  .carousel-btn {
    display: none; /* Mobile users swipe natively */
  }

  /* Promo Banners */
  .promo-flex-container {
    flex-direction: column;
    gap: 14px;
  }

  .promo-col-left,
  .promo-col-right {
    width: 100%;
    gap: 14px;
  }

  .promo-row-bottom {
    flex-direction: column;
    height: auto;
    gap: 14px;
  }

  .promo-banner-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .card-whey {
    height: 240px;
  }

  .card-hydration {
    height: 220px;
  }

  .card-preworkout,
  .card-creatine {
    height: 200px;
    width: 100%;
  }

  .card-combos {
    height: 210px;
  }

  .promo-card-title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .card-combos .promo-card-title {
    font-size: 24px;
  }

  .promo-card-sub {
    font-size: 13px;
  }

  .card-whey .promo-card-text,
  .card-hydration .promo-card-text,
  .card-preworkout .promo-card-text,
  .card-creatine .promo-card-text,
  .card-combos .promo-card-text {
    max-width: 65%;
  }

  /* Video Grid */
  .video-card {
    width: 190px;
  }

  .video-thumb-badge {
    width: 44px;
    height: 44px;
  }

  /* Category Products Tab */
  .tab-pane.active {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Blog Cards: 1 Column */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* FAQ Mobile */
  .faq-title {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .faq-left-col {
    padding: 45px 18px;
  }

  .accordion-header {
    padding: 16px 18px;
    font-size: 14px;
  }

  .accordion-body {
    padding: 0 18px 16px;
    font-size: 13px;
  }

  .faq-right-col {
    min-height: 380px;
  }

  .site-footer {
    padding-top: 45px;
  }

  .footer-dashed-middle {
    padding: 18px 0 20px;
  }

  .footer-copyright {
    font-size: 12.5px;
  }

  .footer-payments img {
    max-width: 320px;
  }

  /* Cart Drawer Full Width on Mobile */
  .cart-drawer {
    max-width: 100%;
    right: -100%;
  }

  .search-box {
    width: 95%;
  }
}

/* Small Smartphone (max-width: 480px) */
@media (max-width: 480px) {
  .section-title {
    font-size: 22px;
  }

  .product-card {
    min-width: 200px;
  }

  .tab-pane.active {
    grid-template-columns: 1fr;
  }

  .btn-add-to-cart {
    font-size: 12px;
    padding: 10px;
  }

  .footer-watermark {
    font-size: clamp(60px, 19vw, 90px);
  }
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 290px;
  height: 100%;
  background-color: var(--pablo-white);
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transition: left var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--pablo-border-light);
}

.mobile-nav-header .site-logo img {
  height: 32px;
}

.mobile-drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pablo-dark);
}

.mobile-drawer-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.mobile-nav-body {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--pablo-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background-color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--pablo-bg-light);
  color: var(--pablo-black);
}

.mobile-nav-link .dropdown-arrow {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.mobile-nav-item.open .dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  background-color: var(--pablo-bg-light);
  padding: 8px 0;
}

.mobile-nav-item.open .mobile-submenu {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 10px 36px;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
}

.mobile-submenu a:hover {
  color: #000;
  padding-left: 40px;
}

.mobile-nav-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--pablo-border-light);
  background-color: #FAFAFA;
}

.mobile-nav-contact {
  font-size: 13px;
  color: var(--pablo-text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-nav-socials {
  display: flex;
  gap: 10px;
}

/* Responsive Blogs Grid */
@media (max-width: 900px) {
  .blogs-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .script-subheading {
    font-size: 26px;
  }

  .contact-section-title {
    font-size: 34px;
  }

  .enquiry-main-desc {
    font-size: 20px;
    padding: 0 10px;
  }

  .enquiry-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .enquiry-card {
    padding: 28px 18px 24px;
    border-radius: 16px;
  }

  .contact-map-wrap iframe {
    height: 300px;
  }

  /* About Page Responsive */
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-left-title {
    font-size: 30px;
  }

  .about-guide-title {
    font-size: 30px;
  }

  .about-guide-badge-text {
    font-size: 28px;
  }

  .hwpo-card {
    width: 100% !important;
    flex-direction: column !important;
    min-height: auto;
  }

  .hwpo-image {
    width: 100% !important;
    height: 220px;
  }

  .hwpo-left .hwpo-image::after,
  .hwpo-right .hwpo-image::before {
    width: 100% !important;
    height: 60% !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    background: linear-gradient(to top, #151515 0%, transparent 95%) !important;
  }

  .hwpo-content,
  .hwpo-right .hwpo-content {
    width: 100% !important;
    padding: 24px 20px 28px !important;
  }

  .hwpo-connector {
    display: none !important;
  }
}


