/* ==========================================================================
   responsive.css — Conecticplus Mobile-First Responsive Styles
   Breakpoints: 576px | 768px | 992px | 1200px
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base / Reset Helpers
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   MOBILE BASE  (< 576px — narrowest screens)
   All styles here are the true mobile baseline before any breakpoint kicks in.
   -------------------------------------------------------------------------- */

/* -- Site Header ----------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header__nav {
  display: none;
}

/* Hide search & wishlist on mobile, keep only cart */
.header__actions .action-btn--search,
.header__actions .action-btn--wishlist {
  display: none;
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* -- Mobile Menu ----------------------------------------------------------- */

.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.scroll-lock {
  overflow: hidden;
}

/* -- Hero ------------------------------------------------------------------ */

.hero {
  min-height: 70vh;
}

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

.hero__title {
  font-size: clamp(28px, 8vw, 36px);
}

/* -- Section Padding ------------------------------------------------------- */

.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* -- Products Grid --------------------------------------------------------- */

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* -- Collection Grid ------------------------------------------------------- */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* -- Categories Grid ------------------------------------------------------- */

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2.5, 1fr);
  grid-template-columns: repeat(2, 1fr);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-bottom: 8px;
}

.categories__grid > * {
  scroll-snap-align: start;
  min-width: 140px;
}

/* -- Trust Features Grid --------------------------------------------------- */

.trust-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* -- Brand Story ----------------------------------------------------------- */

.brand-story__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.brand-story__image {
  order: -1;
}

/* -- Stats Grid ------------------------------------------------------------ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* -- Values Grid ----------------------------------------------------------- */

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

/* -- Contact Methods Grid -------------------------------------------------- */

.contact-methods__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* -- Contact Form Section -------------------------------------------------- */

.contact-form-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form-section__image {
  order: 1; /* image goes below form on mobile */
}

/* -- Product Page ---------------------------------------------------------- */

.product-page__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* -- Gallery --------------------------------------------------------------- */

.gallery__main {
  position: static; /* not sticky on mobile */
}

/* -- Cart Layout ----------------------------------------------------------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* -- Order Summary --------------------------------------------------------- */

.order-summary {
  position: static; /* not sticky on mobile */
}

/* -- Origin Section -------------------------------------------------------- */

.origin-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* -- Lookbook -------------------------------------------------------------- */

.lookbook__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.lookbook__main {
  aspect-ratio: 4 / 3;
}

.lookbook__stack-item {
  aspect-ratio: 3 / 2;
}

/* -- Footer ---------------------------------------------------------------- */

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

.footer__col {
  text-align: center;
}

/* -- Carousel -------------------------------------------------------------- */

.carousel__track .product-card {
  min-width: calc(80% - 8px);
  flex: 0 0 calc(80% - 8px);
}

/* -- Team Banner ----------------------------------------------------------- */

.team-banner__quote {
  padding: 32px 24px;
}

/* -- Section Header -------------------------------------------------------- */

.section-header__title {
  font-size: clamp(22px, 6vw, 28px);
}

/* -- Misc ------------------------------------------------------------------ */

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

/* ==========================================================================
   BREAKPOINT: min-width 576px  (Small phones landscape / large phones)
   ========================================================================== */

@media (min-width: 576px) {

  /* -- Products Grid ------------------------------------------------------- */

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

  /* -- Collection Grid ----------------------------------------------------- */

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

  /* -- Categories Grid ----------------------------------------------------- */

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
    /* allow 2.5 cols visible for scroll affordance */
    grid-auto-columns: calc(50% - 12px);
    grid-auto-flow: column;
    overflow-x: auto;
  }

  /* -- Trust Features Grid ------------------------------------------------- */

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

  /* -- Stats Grid ---------------------------------------------------------- */

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

  /* -- Values Grid --------------------------------------------------------- */

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

  /* -- Footer -------------------------------------------------------------- */

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* -- Hero ---------------------------------------------------------------- */

  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: clamp(30px, 7vw, 38px);
  }

  /* -- Carousel ------------------------------------------------------------ */

  .carousel__track .product-card {
    min-width: calc(80% - 8px);
    flex: 0 0 calc(80% - 8px);
  }

  /* -- Section Padding ----------------------------------------------------- */

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* -- Container ----------------------------------------------------------- */

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

/* ==========================================================================
   BREAKPOINT: min-width 768px  (Tablets portrait)
   ========================================================================== */

@media (min-width: 768px) {

  /* -- Site Header --------------------------------------------------------- */

  .hamburger {
    display: none;
  }

  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
  }

  .header__nav {
    display: flex;
    justify-content: center;
  }

  .header__nav .nav__list {
    gap: 1.2rem;
    flex-wrap: nowrap;
  }

  .header__actions {
    justify-self: end;
  }

  .header__actions .action-btn--search,
  .header__actions .action-btn--wishlist {
    display: flex;
  }

  /* -- Hero ---------------------------------------------------------------- */

  .hero {
    min-height: 75vh;
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .hero__title {
    font-size: clamp(36px, 5vw, 48px);
  }

  /* -- Section Padding ----------------------------------------------------- */

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  /* -- Products Grid ------------------------------------------------------- */

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

  /* -- Collection Grid ----------------------------------------------------- */

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

  /* -- Categories Grid ----------------------------------------------------- */

  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
    overflow-x: auto;
    grid-auto-flow: row;
  }

  /* -- Brand Story --------------------------------------------------------- */

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

  .brand-story__image {
    order: -1;
  }

  /* -- Stats Grid ---------------------------------------------------------- */

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

  /* -- Values Grid --------------------------------------------------------- */

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

  /* -- Contact Methods Grid ------------------------------------------------ */

  .contact-methods__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* -- Contact Form Section ------------------------------------------------ */

  .contact-form-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-section__image {
    order: 1;
  }

  /* -- Product Page -------------------------------------------------------- */

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

  /* -- Gallery ------------------------------------------------------------- */

  .gallery__main {
    position: static;
  }

  /* -- Cart Layout --------------------------------------------------------- */

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

  /* -- Order Summary ------------------------------------------------------- */

  .order-summary {
    position: static;
  }

  /* -- Origin Section ------------------------------------------------------ */

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

  /* -- Lookbook ------------------------------------------------------------ */

  .lookbook__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lookbook__main {
    aspect-ratio: 16 / 9;
  }

  .lookbook__stack-item {
    aspect-ratio: 16 / 9;
  }

  /* -- Footer -------------------------------------------------------------- */

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: left;
  }

  .footer__col {
    text-align: left;
  }

  /* -- Trust Features Grid ------------------------------------------------- */

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

  /* -- Section Header ------------------------------------------------------ */

  .section-header__title {
    font-size: clamp(26px, 4vw, 36px);
  }

  /* -- Carousel ------------------------------------------------------------ */

  .carousel__track .product-card {
    min-width: calc(50% - 12px);
    flex: 0 0 calc(50% - 12px);
  }

  /* -- Container ----------------------------------------------------------- */

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

  /* -- Team Banner --------------------------------------------------------- */

  .team-banner__quote {
    padding: 48px 40px;
  }
}

/* ==========================================================================
   BREAKPOINT: min-width 992px  (Tablets landscape / small desktops)
   ========================================================================== */

@media (min-width: 992px) {

  /* -- Site Header --------------------------------------------------------- */

  .header__nav .nav__list {
    gap: 2rem;
  }

  /* -- Hero ---------------------------------------------------------------- */

  .hero {
    min-height: 80vh;
  }

  .hero__title {
    font-size: clamp(42px, 4.5vw, 52px);
  }

  /* -- Section Padding ----------------------------------------------------- */

  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  /* -- Products Grid ------------------------------------------------------- */

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

  /* -- Collection Grid ----------------------------------------------------- */

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

  /* -- Categories Grid ----------------------------------------------------- */

  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }

  /* -- Brand Story --------------------------------------------------------- */

  .brand-story__inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .brand-story__image {
    order: 0;
  }

  /* -- Stats Grid ---------------------------------------------------------- */

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* -- Values Grid --------------------------------------------------------- */

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

  /* -- Contact Methods Grid ------------------------------------------------ */

  .contact-methods__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* -- Contact Form Section ------------------------------------------------ */

  .contact-form-section__inner {
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    align-items: start;
  }

  .contact-form-section__image {
    order: 0;
  }

  /* -- Product Page -------------------------------------------------------- */

  .product-page__inner {
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    align-items: start;
  }

  /* -- Gallery ------------------------------------------------------------- */

  .gallery__main {
    position: sticky;
    top: 90px;
  }

  /* -- Cart Layout --------------------------------------------------------- */

  .cart-layout {
    grid-template-columns: 65fr 35fr;
    gap: 48px;
    align-items: start;
  }

  /* -- Order Summary ------------------------------------------------------- */

  .order-summary {
    position: sticky;
    top: 90px;
  }

  /* -- Origin Section ------------------------------------------------------ */

  .origin-section__inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  /* -- Lookbook ------------------------------------------------------------ */

  .lookbook__grid {
    grid-template-columns: 3fr 2fr;
    gap: 24px;
  }

  .lookbook__main {
    aspect-ratio: 2 / 3;
  }

  .lookbook__stack-item {
    aspect-ratio: 4 / 3;
  }

  /* -- Footer -------------------------------------------------------------- */

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
  }

  /* -- Trust Features Grid ------------------------------------------------- */

  .trust-features__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* -- Section Header ------------------------------------------------------ */

  .section-header__title {
    font-size: clamp(32px, 3vw, 42px);
  }

  /* -- Carousel ------------------------------------------------------------ */

  .carousel__track .product-card {
    min-width: calc(33.333% - 16px);
    flex: 0 0 calc(33.333% - 16px);
  }

  /* -- Container ----------------------------------------------------------- */

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

  /* -- Team Banner --------------------------------------------------------- */

  .team-banner__quote {
    padding: 64px 56px;
  }
}

/* ==========================================================================
   BREAKPOINT: min-width 1200px  (Full desktops)
   ========================================================================== */

@media (min-width: 1200px) {

  /* -- Hero ---------------------------------------------------------------- */

  .hero {
    min-height: 85vh;
  }

  .hero__title {
    font-size: clamp(48px, 4vw, 56px);
  }

  /* -- Section Padding ----------------------------------------------------- */

  .section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  /* -- Products Grid ------------------------------------------------------- */

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

  /* -- Categories Grid ----------------------------------------------------- */

  .categories__grid {
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
  }

  /* -- Brand Story --------------------------------------------------------- */

  .brand-story__inner {
    gap: 80px;
  }

  /* -- Footer -------------------------------------------------------------- */

  .footer__grid {
    gap: 48px;
  }

  /* -- Section Header ------------------------------------------------------ */

  .section-header__title {
    font-size: clamp(36px, 2.8vw, 48px);
  }

  /* -- Carousel ------------------------------------------------------------ */

  .carousel__track .product-card {
    min-width: calc(25% - 18px);
    flex: 0 0 calc(25% - 18px);
  }

  /* -- Container ----------------------------------------------------------- */

  .container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
  }

  /* -- Team Banner --------------------------------------------------------- */

  .team-banner__quote {
    padding: 80px 72px;
  }
}

/* ==========================================================================
   UTILITIES — Applied at all screen sizes (minor adjustments)
   ========================================================================== */

/* Hide / Show helpers tied to breakpoints */

.hide-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: revert !important;
  }

  .hide-desktop {
    display: none !important;
  }
}

/* Overflow helpers for horizontal scroll containers */

.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.scroll-x::-webkit-scrollbar {
  display: none;
}

/* Smooth transitions for layout shifts */

.products-grid,
.collection-grid,
.categories__grid,
.footer__grid,
.trust-features__grid,
.stats-grid,
.values-grid,
.contact-methods__grid {
  transition: none; /* grids should not animate — rely on content */
}

/* ==========================================================================
   END OF responsive.css
   ========================================================================== */
