/* VASAA ATELIER — Responsive */

@media (max-width: 1439px) {
  .hero {
    height: 640px;
  }

  .logo__name {
    font-size: 40px;
  }

  .desktop-nav a {
    letter-spacing: 2.6px;
    font-size: 11px;
  }
}

@media (max-width: 1280px) {
  .header-top {
    height: 96px;
    padding: 0 3.5vw;
  }

  .hero {
    height: 620px;
  }

  .hero__content {
    left: max(64px, 5%);
    max-width: 460px;
  }

  .hero__slide--1 .hero__content {
    left: auto;
    right: max(64px, 5%);
  }

  .hero__title {
    font-size: 54px;
  }

  .section {
    padding: 100px 4.5vw;
  }

  .product-grid {
    gap: 24px 18px;
  }

  .desktop-nav {
    padding: 0 3.5vw;
  }
}

@media (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 16px;
  }

  .desktop-nav a {
    letter-spacing: 2px;
    font-size: 11px;
  }

  .festive-banner {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }

  .festive-banner__male {
    display: none;
  }

  .shop-layout {
    grid-template-columns: 200px 1fr;
  }

  .pdp {
    gap: 40px;
  }

  .jewel-banner {
    height: 520px;
  }

  .logo__name {
    font-size: 36px;
    letter-spacing: 0.4em;
    padding-left: 0.4em;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: 600px;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__arrow--prev {
    left: 12px;
  }

  .hero__arrow--next {
    right: 12px;
  }

  .header-top {
    height: 92px;
  }
}

@media (max-width: 990px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn,
  .mobile-search {
    display: inline-flex;
  }

  .header-top {
    height: 86px;
    padding: 0 16px;
    grid-template-columns: auto 1fr auto;
  }

  .logo__name {
    font-size: 20px;
    letter-spacing: 0.32em;
    padding-left: 0.32em;
  }

  .logo__sub {
    font-size: 9px;
    letter-spacing: 0.4em;
    margin-top: 4px;
    padding-left: 0.4em;
  }

  .logo__tag {
    display: none;
  }

  .header-actions {
    gap: 2px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
  }

  .hero {
    height: 660px;
  }

  .hero__content,
  .hero__slide--1 .hero__content {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 110px;
    transform: none;
    max-width: 100%;
  }

  .hero__overlay,
  .hero__slide--1 .hero__overlay,
  .hero__slide--2 .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(32, 61, 57, 0.82) 0%,
      rgba(32, 61, 57, 0.28) 38%,
      transparent 64%
    );
  }

  .hero__title {
    font-size: 40px;
  }

  .hero .btn {
    min-width: 176px;
    height: 50px;
  }

  .hero__arrow--prev,
  .hero__arrow--next {
    top: 30%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .hero__arrow--prev {
    left: 12px;
    right: auto;
  }

  .hero__arrow--next {
    right: 12px;
  }

  .hero__dots {
    left: 20px;
    bottom: 34px;
  }

  .hero__slide img {
    object-position: 16% 42%;
  }

  .hero__slide--2 img {
    object-position: 50% 40%;
  }

  .hero__slide--3 img {
    object-position: 86% 48%;
  }

  .hero__slide--4 img {
    object-position: 58% 38%;
  }

  .section {
    padding: 72px 20px;
  }

  .intro {
    padding: 80px 20px 72px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .editorial-grid,
  .collections-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 12px;
  }

  .product-card__name {
    font-size: 13px;
    min-height: calc(1.45em * 2);
  }

  .product-card__price {
    font-size: 14px;
  }

  .wish-btn,
  .qv-btn,
  .view-product {
    display: none;
  }

  .jewel-banner {
    grid-template-columns: 1fr;
    height: auto;
  }

  .jewel-banner img {
    height: 420px;
    object-position: center 12%;
  }

  .jewel-banner__copy {
    padding: 48px 24px 56px;
  }

  .festive-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .festive-banner__copy {
    order: -1;
    padding: 64px 24px;
  }

  .festive-banner__female {
    height: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: var(--ivory);
    z-index: 230;
    padding: 24px 28px 48px;
    overflow: auto;
    transform: translate3d(100%, 0, 0);
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
    display: block;
  }

  .filters.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    letter-spacing: 3px;
  }

  .filter-toggle {
    display: inline-flex;
    align-items: center;
  }

  .pdp {
    grid-template-columns: 1fr;
    padding: 24px 20px 80px;
    gap: 32px;
  }

  .gallery__thumbs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
  }

  .gallery__thumbs button {
    flex: 0 0 72px;
    height: 90px;
    aspect-ratio: auto;
  }

  .about-block,
  .about-block--rev .about-copy,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-block--rev .about-copy {
    order: 0;
  }

  .qv-modal__panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow: auto;
  }

  .qv-modal__panel img {
    min-height: 280px;
    aspect-ratio: 4 / 5;
  }

  .search-input {
    font-size: 22px;
  }

  .search-overlay {
    padding: 24px 20px 48px;
  }

  .currency-wrap {
    left: 12px;
    bottom: 90px;
  }

  .announce__track {
    display: none;
    animation: none;
  }

  .announce__mobile {
    display: block;
  }
}

@media (max-width: 767px) {
  .announce {
    font-size: 11px;
    height: 32px;
  }

  .hero {
    height: 650px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__desc {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .hero .btn {
    min-width: 168px;
    height: 48px;
    padding: 0 24px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .edit-card__title {
    left: 20px;
    bottom: 20px;
    letter-spacing: 0.12em;
  }

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

  .newsletter {
    padding: 72px 20px;
  }

  .newsletter-form {
    flex-direction: column;
    border: 0;
  }

  .newsletter-form input {
    border-bottom: 1px solid var(--taupe);
  }

  .site-footer {
    padding: 72px 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 48px;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

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

  .wa-btn {
    width: 52px;
    height: 52px;
  }

  .collection-hero {
    height: 300px;
  }

  .page-hero {
    padding: 48px 20px 24px;
  }

  .jewel-banner img,
  .festive-banner__female {
    height: 380px;
  }

  .intro h1,
  .intro h2 {
    font-size: 32px;
  }
}

@media (max-width: 430px) {
  .collections-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 640px;
  }

  .hero__title {
    font-size: 34px;
  }

  .header-top {
    padding: 0 10px;
  }

  .product-card__name {
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .hero__title {
    font-size: 34px;
    letter-spacing: 0.02em;
  }

  .logo__name {
    font-size: 18px;
    letter-spacing: 0.28em;
    padding-left: 0.28em;
  }

  .section {
    padding: 64px 16px;
  }
}

@media (max-width: 360px) {
  .product-card__name {
    font-size: 12px;
  }

  .logo__name {
    font-size: 17px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero .btn {
    min-width: 160px;
  }

  .header-top {
    padding: 0 6px;
  }
}
