/* =========================================================
   DESYNC INTERNATIONAL — Responsive Styles
   Breakpoints: 320–425 / 768 / 1024 / 1280+
   ========================================================= */

@media (max-width: 1280px) {
  .product-grid,
  #featured-products.product-grid,
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mega-inner {
    grid-template-columns: repeat(4, 1fr) 240px;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-y: 72px;
    --header-h: 72px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-quote {
    display: none;
  }

  .mega-menu {
    display: none !important;
  }

  .category-row,
  .category-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 56px;
  }

  .category-row.reverse .category-media {
    order: 0;
  }

  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid,
  #featured-products.product-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .pet-feature,
  .contact-grid,
  .pd-layout,
  .products-layout,
  .two-col-text {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pd-zoom-result,
  .pd-zoom-lens {
    display: none !important;
  }

  .pd-gallery-main {
    cursor: zoom-in;
  }

  .pd-gallery-main.is-magnifying {
    cursor: zoom-in;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .lightbox-hint {
    display: block;
  }

  .filter-sidebar {
    display: none;
  }

  .mobile-filter-btn {
    display: inline-flex;
  }

  .filter-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
  }

  .filter-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(90vw, 360px);
    height: 100%;
    background: var(--white);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.35s var(--ease);
    z-index: 2;
  }

  .filter-drawer.open {
    pointer-events: auto;
  }

  .filter-drawer.open .filter-drawer-panel {
    transform: translateX(0);
  }

  .filter-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .filter-drawer.open .filter-drawer-overlay {
    opacity: 1;
  }

  .filter-drawer .filter-sidebar {
    display: block !important;
    position: static !important;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .process-track {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .process-track::before {
    display: none;
  }

  .custom-grid,
  .compare-grid,
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-grid,
  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .product-grid.list-view .product-card {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 56px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .home-hero:not(.home-hero--banner) {
    min-height: 78vh;
  }

  .home-hero-content {
    padding: 56px 0;
  }

  .home-hero:not(.home-hero--banner) .home-hero-media img {
    object-position: 65% center;
  }

  .home-hero--banner .home-hero-parallax {
    will-change: auto;
  }

  .home-hero--banner .home-hero-dots {
    bottom: 10px;
  }

  .home-hero--banner .home-hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .home-hero--banner .home-hero-prev {
    left: 6px;
  }

  .home-hero--banner .home-hero-next {
    right: 6px;
  }

  .page-hero {
    padding: 64px 0 48px;
  }

  .highlight-grid,
  .custom-grid,
  .compare-grid,
  .method-grid,
  .value-grid,
  .mission-grid,
  .capability-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-grid,
  #featured-products.product-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
    justify-items: center;
    text-align: center;
  }

  .site-footer {
    padding-top: 56px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
    width: 100%;
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-brand img {
    margin: 0 auto 16px;
    height: 44px;
    object-position: center center;
  }

  .footer-brand p {
    max-width: 34em;
    margin: 0 auto;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
  }

  .footer-col {
    width: 100%;
    text-align: center;
  }

  .footer-address {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .footer-certs-col {
    grid-column: auto;
    text-align: center;
    padding-top: 8px;
  }

  .footer-certs-col img {
    margin: 0 auto;
    max-width: 320px;
  }

  .social-links {
    justify-content: center;
    margin-top: 18px;
  }

  .social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
  }

  .footer-col h4 {
    margin-bottom: 14px;
    font-size: 0.75rem;
    text-align: center;
  }

  .footer-col a {
    padding: 8px 0;
    font-size: 0.9rem;
    text-align: center;
  }

  .footer-contact {
    grid-column: auto;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
  }

  .footer-contact h4 {
    margin-bottom: 16px;
  }

  .footer-contact .footer-label {
    text-align: center;
  }

  .footer-contact p[style] {
    margin-top: 18px !important;
  }

  .footer-contact > a,
  .footer-contact p a {
    display: inline-block;
    padding: 6px 0;
    word-break: break-word;
    font-size: 0.95rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 22px 0 28px;
  }

  .footer-bottom > p {
    margin: 0 auto;
    max-width: 28em;
    line-height: 1.6;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
  }

  .footer-credit {
    display: block;
    margin-top: 8px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    width: 100%;
    gap: 20px;
  }

  .footer-legal a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .product-card h3 {
    font-size: 0.95rem;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .showcase-body {
    padding: 14px 12px 16px;
  }

  .showcase-body h3 {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .showcase-actions {
    grid-template-columns: 1fr;
  }

  .custom-card,
  .method-card,
  .compare-card,
  .value-block,
  .mission-card,
  .highlight-item {
    padding: 16px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px 16px;
    text-align: left;
    padding: 0 0 24px;
    border-left: 1px solid var(--border);
    margin-left: 18px;
    padding-left: 24px;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .process-num {
    grid-row: 1 / span 2;
    margin: 0 0 0 -44px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas,
  .cta-actions,
  .pd-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn,
  .cta-actions .btn,
  .pd-actions .btn {
    width: 100%;
  }

  .product-grid.list-view .product-card {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 40px;
  }

  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 425px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .trust-line {
    letter-spacing: 0.06em;
    line-height: 1.6;
  }

  .product-grid,
  #featured-products.product-grid,
  .related-grid,
  .highlight-grid,
  .custom-grid,
  .compare-grid,
  .method-grid,
  .value-grid,
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer-grid {
    gap: 24px 16px;
  }

  .footer-brand {
    padding-bottom: 20px;
  }

  .footer-brand img {
    height: 40px;
  }

  .footer-col a {
    padding: 7px 0;
    font-size: 0.875rem;
  }

  .footer-contact > a {
    font-size: 0.875rem;
  }

  .product-filters {
    gap: 8px;
  }

  .filter-chip {
    padding: 8px 14px;
  }

  .pd-thumbs button {
    width: 60px;
    height: 60px;
  }

  .back-to-top {
    right: 12px;
    bottom: 88px;
  }

  .wa-float {
    right: 12px;
    bottom: 12px;
  }

  .wa-float-btn {
    width: 54px;
    height: 54px;
  }

  .wa-float-label {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .section-header h2,
  .collection-section .section-header h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1280px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container: 1360px;
  }
}
