/* ===========================TABLET LARGE — <=1200px============================ */

@media (max-width: 1200px) {
  .hero-copy {
    width: 58vw;
  }

  .editorial-card,
  .editorial-card img {
    min-height: 380px;
  }

  .story-grid {
    gap: 3.25rem;
  }
}

/* ======================= TABLET — <=1024px============================== */

@media (max-width: 1024px) {
  :root {
    --section-pad: 3rem;
  }

  /* -----------------------TOPBAR------------------------ */

  .topbar-inner {
    justify-content: space-between;
  }

  .topbar-offer-slider {
    min-width: 0;
  }

  .topbar-offer {
    white-space: nowrap;
  }

  /* --------------------BASIC GRIDS-------------------- */

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ----------------------- CONTENT SECTIONS--------------------- */

  .wedding-inner,
  .about-inner {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* ------------------------PREMIUM HERO-------------------- */

  .premium-hero {
    min-height: 580px;
    height: 66vh;
  }

  .hero-copy {
    width: min(650px, 72vw);
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 6.5vw, 4.4rem);
  }

  /* -----------------------EDITORIAL COLLECTION------------------------ */

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

  /* ---------------------PREMIUM CATEGORY----------------------- */

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

  .premium-category-section .category-card:nth-child(n + 5) {
    display: block;
  }

  /* --------------------------WEDDING---------------------- */

  .wedding-feature {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }

  /* --------------------STORY------------------- */

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

  .story-media-main img {
    height: 440px;
  }

  /* ----------------------------PREMIUM GALLERY — tablet-------------------------- */

  .premium-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .premium-gallery .gallery-item:first-child {
    grid-row: span 2;
  }

  /* ---------------------------TESTIMONIALS — tablet---------------------------------- */

  .testimonial-slide {
    flex-basis: 50%;
  }
}

/* ======================MOBILE LARGE — <=768px============================ */

@media (max-width: 768px) {
  :root {
    --section-pad: 2.6rem;
  }

  /* --------------------TOPBAR — offer only, phone/email hidden on mobile------------------ */

  .topbar {
    height: 36px;
  }

  .topbar-inner {
    min-height: 34px;

    padding: 0.3rem 1rem;

    justify-content: center;
  }

  /* Hide phone + email entirely; only the offer slider is shown */
  .topbar-contact {
    display: none;
  }

  .topbar-offer-slider {
    width: 100%;
    flex: 1;
  }

  .topbar-offer {
    font-size: 10px;
    gap: 5px;
    white-space: nowrap;
  }

  .topbar-icon svg {
    width: 13px;
    height: 13px;
  }

  .topbar-links {
    display: none;
  }

  /* ---------------------------------------------------------
       HERO
       --------------------------------------------------------- */

  .premium-hero {
    height: 72vh;
    min-height: 540px;
    max-height: 680px;
  }

  .hero-slide-media img {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(25, 15, 11, 0.86) 0%,
      rgba(25, 15, 11, 0.55) 58%,
      rgba(25, 15, 11, 0.16) 100%
    );
  }

  .hero-inner {
    align-items: flex-end;
    padding-bottom: 3.6rem;
  }

  .hero-copy {
    width: 100%;
    padding: 0 1.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
    line-height: 0.98;
    margin-bottom: 0.85rem;
  }

  .hero-copy p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    gap: 0.85rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .btn {
    min-width: 200px;
  }

  .hero-text-link {
    font-size: 0.65rem;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .hero-prev {
    left: 0.8rem;
  }

  .hero-next {
    right: 0.8rem;
  }

  .hero-dots {
    bottom: 1.1rem;
  }

  /* ---------------------------------------------------------
       SECTION HEADINGS
       --------------------------------------------------------- */

  .section-heading-row {
    align-items: flex-end;
    margin-bottom: 1.6rem;
  }

  .section-head h2 {
    font-size: 1.9rem;
  }

  .section-link {
    font-size: 0.6rem;
  }

  /* ---------------------------------------------------------
       EDITORIAL COLLECTION
       --------------------------------------------------------- */

  .editorial-collection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .editorial-card,
  .editorial-card img {
    min-height: 320px;
  }

  .editorial-card-copy {
    left: 1rem;
    bottom: 1rem;
  }

  .editorial-card-copy strong {
    font-size: 1.15rem;
  }

  .editorial-card-copy small {
    font-size: 0.62rem;
  }

  /* ---------------------------------------------------------
       PREMIUM CATEGORY
       --------------------------------------------------------- */

  .premium-category-section .category-grid {
    gap: 0.6rem;
  }

  .premium-category-section .category-card {
    aspect-ratio: 3 / 4;
  }

  .category-name {
    font-size: 1.05rem;
    left: 0.8rem;
    bottom: 0.8rem;
  }

  .category-arrow {
    right: 0.7rem;
    bottom: 0.7rem;
    width: 29px;
    height: 29px;
  }

  /* ---------------------------------------------------------
       PRODUCTS
       --------------------------------------------------------- */

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .premium-products .product-info h3 {
    font-size: 0.9rem;
  }

  .premium-products .product-fabric {
    font-size: 0.7rem;
  }

  /* ---------------------------------------------------------
       OCCASION
       --------------------------------------------------------- */

  .occasion-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .occasion-copy {
    font-size: 1.05rem;
    left: 0.8rem;
    bottom: 0.8rem;
  }

  .occasion-copy small,
  .occasion-copy em {
    font-size: 0.55rem;
  }

  /* ---------------------------------------------------------
       WEDDING
       --------------------------------------------------------- */

  .wedding-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .wedding-feature-media {
    height: 400px;
  }

  .wedding-feature-copy {
    padding: 3rem 1.4rem 3.4rem;
  }

  .wedding-feature-copy h2 {
    font-size: 2.6rem;
  }

  /* ---------------------------------------------------------
       STORY
       --------------------------------------------------------- */

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .story-media-main img {
    width: 100%;
    height: 420px;
  }

  .story-stamp {
    right: 15px;
    bottom: 20px;
    width: 88px;
    height: 88px;
  }

  .story-copy h2 {
    font-size: 2.35rem;
  }

  /* ---------------------------------------------------------
       WHY
       --------------------------------------------------------- */

  .premium-why-grid {
    grid-template-columns: 1fr;
  }

  .premium-why-grid .why-card {
    border-right: 0;
    border-bottom: 1px solid rgba(42, 38, 34, 0.12);
    padding: 1.6rem 0;
  }

  .premium-why-grid .why-card:last-child {
    border-bottom: 0;
  }

  .why-number {
    margin-bottom: 0.8rem;
  }

  /* ---------------------------------------------------------
       PREMIUM GALLERY — mobile large
       --------------------------------------------------------- */

  .premium-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 165px;
    gap: 0.55rem;
  }

  .premium-gallery .gallery-item:first-child {
    grid-row: span 2;
  }

  .premium-gallery .gallery-item span {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    font-size: 0.58rem;
  }

  .premium-gallery .gallery-item::after {
    inset: 6px;
  }

  /* ---------------------------------------------------------
       TESTIMONIALS
       --------------------------------------------------------- */

  .testimonial-section-head {
    align-items: center;
  }

  .testimonial-btn {
    width: 38px;
    height: 38px;
  }

  .testimonial-slide {
    flex-basis: 100%;
    padding-right: 0;
  }

  .testimonial-carousel {
    margin-top: 1.6rem;
  }

  .testimonial-card {
    min-height: 220px;
    padding: 1.4rem;
  }

  .testimonial-card > p {
    font-size: 0.9rem;
  }

  /* ---------------------------------------------------------
       INSTAGRAM
       --------------------------------------------------------- */

  .premium-instagram {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ---------------------------------------------------------
       GENERAL SECTIONS
       --------------------------------------------------------- */

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

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

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

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* ---------------------------------------------------------
       CONTENT SECTIONS
       --------------------------------------------------------- */

  .wedding-inner {
    grid-template-columns: 1fr;
  }

  .wedding-media {
    order: -1;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-media {
    order: -1;
  }

  /* -------------------------------FOOTER------------------------------------------ */

  .site-footer {
    padding-top: 3.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* -------------------------INNER PAGES------------------------- */

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* ---------------------CTA-------------------- */

  .cta-row {
    flex-direction: column;
    align-items: center;
  }

  .cta-row .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* -------------------------- FLOATING WHATSAPP ----------------------------- */

  .float-whatsapp {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
}

/* =========================== MOBILE SMALL — <=480px =============================== */

@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }

  /* ---------------------------- TOPBAR ------------------- */

  .topbar {
    height: 34px;
  }

  .topbar-offer {
    font-size: 9.5px;
    gap: 4px;
  }

  /* -------------------------- HERO ---------------------- */

  .premium-hero {
    min-height: 520px;
    height: 78vh;
  }

  .hero-slide-media img {
    object-position: 67% center;
  }

  .hero-inner {
    padding-bottom: 3.2rem;
  }

  .hero-copy {
    padding: 0 1.1rem;
  }

  .hero-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-copy p {
    font-size: 0.82rem;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 190px;
  }

  .hero-arrow {
    display: none;
  }

  /* ------------------------- SECTION HEADINGS ------------------------------ */

  .section-heading-row {
    display: block;
  }

  .section-heading-row .section-link {
    display: inline-block;
    margin-top: 0.85rem;
  }

  .section-head.left-align {
    margin-bottom: 0;
  }

  /* ----------------------------- EDITORIAL COLLECTION ------------------------------- */

  .editorial-collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-card,
  .editorial-card img {
    min-height: 270px;
  }

  .editorial-card-copy strong {
    font-size: 1rem;
  }

  .editorial-card-copy em {
    font-size: 0.55rem;
    margin-top: 0.6rem;
  }

  /* -------------------------- CATEGORY -------------------------- */

  .premium-category-section .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ---------------------------- PRODUCTS ------------------------------ */

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .premium-products .product-info {
    padding-top: 0.6rem;
  }

  .premium-products .product-info h3 {
    font-size: 0.82rem;
  }

  .premium-products .product-price {
    font-size: 0.95rem;
  }

  /* -------------------------- OCCASION ------------------------- */

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

  .occasion-card {
    aspect-ratio: 16 / 10;
  }

  /* ----------------------------- WEDDING ------------------------ */

  .wedding-feature-media {
    height: 360px;
  }

  .wedding-feature-copy h2 {
    font-size: 2.3rem;
  }

  .wedding-feature-copy p {
    font-size: 0.86rem;
  }

  /* ------------------------ STORY -------------------------- */

  .story-media-main img {
    height: 360px;
  }

  .story-copy h2 {
    font-size: 2.05rem;
  }

  .story-copy p {
    font-size: 0.86rem;
  }

  /* ------------------------------ PREMIUM GALLERY — mobile small ----------------------------- */

  .premium-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
    gap: 0.5rem;
  }

  .premium-gallery .gallery-item:first-child {
    grid-row: span 2;
  }

  /* ---------------------------- TESTIMONIALS ---------------------------------------- */

  .testimonial-section-head {
    gap: 1rem;
  }

  .testimonial-section-head h2 {
    font-size: 1.7rem;
  }

  .testimonial-btn {
    width: 35px;
    height: 35px;
  }

  /* --------------------------- INSTAGRAM -------------------------------- */

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

  .premium-instagram .instagram-item:last-child {
    display: none;
  }

  /* ----------------------------- FOOTER ---------------------------- */

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-policy-links {
    justify-content: center;
  }

  .showroom-cta-media-item:nth-child(3) {
    display: none;
  }

  /* ----------------------------- BUTTONS ----------------------------- */

  .btn {
    width: 100%;
    text-align: center;
  }

  .product-detail-actions .btn {
    width: auto;
  }

  /* ----------------------------- GENERAL SECTIONS ----------------------------- */

  .showroom-cta,
  .section {
    padding: 2.25rem 0;
  }
}

/* =================================REDUCED MOTION ================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}