/* Extracted in source order from custom (5).css; do not load original custom.css too. */
/* ====================================
   5. RESPONSIVE STYLES
==================================== */

/* === Desktop (768px+) === */
@media (min-width: 768px) {
  #header {
    background-color: transparent !important;
    border: none;
    height: 327px;
    position: relative;
    z-index: 6;
    pointer-events: none;
  }

  #header .top-navigation-bar,
  #header .navigation-wrapper {
    pointer-events: auto;
  }

  #header .site-name {
    text-align: center;
  }

  #header .site-name a img {
    max-height: 130px;
  }

  .site-name-wrapper {
    margin-bottom: 15px;
  }

  .header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    height: 237px;
    padding: 60px 0 47px;
    max-width: 1418px;
    margin: 0 auto;
  }

  .header-top > div {
    flex: 0 1 auto !important;
  }

  .header-top > div:nth-child(1) {
    flex: 0 0 33% !important;
  }

  .header-top > div:nth-child(2) {
    flex: 0 0 46% !important;
    text-align: right;
  }

  .header-top > div:nth-child(3) {
    flex: 0 0 20% !important;
    text-align: right;
  }

  .header-top > .search form {
    max-width: 496px;
    margin-left: auto;
  }

  .navigation-wrapper {
    width: 100% !important;
    background-color: var(--header-bg-rgba);
    min-height: 327px;
    position: relative;
    --mv-header-top: 237px;
    --mv-nav-h: 46px;
  }

  .navigation-in {
    top: 31px;
    background-color: transparent !important;
  }

  .navigation-in > ul > li.exp > a,
  .navigation-in > ul > li > a:hover {
    background-color: transparent !important;
    color: var(--text-light) !important;
  }

  .navigation-in > ul > li {
    border-left: none !important;
    border-right: none !important;
  }

  #navigation {
    width: 1418px;
    margin: 0 auto;
    height: 91px;
    border-top: 1px solid var(--primary);
  }

  nav#navigation.visible.fitted ul.menu-level-1 {
    display: flex;
    justify-content: stretch;
    flex-wrap: nowrap;
    width: 100%;
  }

  nav#navigation.visible.fitted ul.menu-level-1 > li {
    flex: 1 1 0;
    text-align: center;
    white-space: nowrap;
  }

  .navigation-in.menu > .menu-level-1 > li > a,
  .navigation-in.menu .menu-level-2 a,
  .navigationActions > li > a,
  .navigationActions__submenu a {
    font-size: 23px !important;
    font-weight: 600 !important;
    line-height: normal !important;
    color: var(--primary) !important;
    text-transform: uppercase !important;
  }

  .navigation-in.menu > .menu-level-1 > li > a:hover,
  .navigationActions > li > a:hover {
    color: var(--text-light) !important;
    background-color: transparent !important;
  }

  .navigation-in.menu .menu-level-2 a:hover,
  .navigationActions__submenu a:hover {
    color: var(--footer-bg) !important;
    background-color: transparent !important;
  }

  .navigation-in.menu .menu-level-2 > li {
    text-align: left;
  }

  .navigation-in.menu .menu-level-2 > li > div {
    text-align: left;
  }

  .menu-helper {
    position: absolute;
    right: 16px;
    top: calc(var(--mv-header-top) + (var(--mv-nav-h) / 2));
    transform: translateY(-50%);
    z-index: 100;
    background: transparent;
    cursor: pointer;
  }

  .menu-helper > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-helper .menu-level-1 {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 280px;
    background: var(--header-bg);
    padding: 12px 16px;
    border-radius: 8px;
    z-index: 101;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease;
    border: none;
  }

  .menu-helper .menu-level-1 a b {
    color: var(--accent) !important;
  }

  .menu-helper:hover .menu-level-1,
  .menu-helper:focus-within .menu-level-1 {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }

  .menu-helper:after,
  .menu-trigger:after {
    color: var(--accent) !important;
  }

  body:not(.homepage):not(.is-home) .navigation-wrapper {
    --mv-header-top: 237px;
  }

  #category-filter-hover {
    display: block !important;
  }

  .menu-item-757 {
    display: none !important;
    visibility: hidden;
  }

  .top-navigation-bar {
    padding-top: 21px !important;
    padding-bottom: 21px !important;
  }

  .row.banners-row {
    margin-left: 0;
    margin-right: 0;
    background-color: var(--bg);
  }

  .row.banners-row > .next-to-carousel-banners {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .footer-icon {
    flex: 0 0 auto;
    width: 23%;
  }

  .mv-about__block.follow-us > .homepage-group-title.homepage-products-heading-4,
  .mv-about__block.contact-form > .homepage-group-title.homepage-products-heading-4 {
    margin-top: 50px;
  }

  .mv-about__block.contact-form > form {
    max-width: 60%;
  }
}

/* === Tablet & Mobile (767px and below) === */
@media (max-width: 767px) {
  .top-navigation-bar,
  .top-navigation-contacts,
  .languagesMenu__content {
    height: 80px;
    padding-top: 18px;
  }

  #header .site-name {
    top: -35px !important;
  }

  #header .site-name img {
    height: 60px;
    max-height: 60px;
    max-width: 200px !important;
    padding-bottom: 5px;
    padding-top: 5px;
  }

  #header .cart-count {
    top: -21px !important;
  }

  .responsive-tools > a[data-target=navigation]:before,
  .responsive-tools > a[data-target=search]:before {
    color: var(--primary) !important;
  }

  .responsive-tools > a[data-target=navigation]:before,
  .responsive-tools > a[data-target=navigation]:hover:before {
    background-color: transparent;
  }

  .header-top .btn.cart-count:before {
    font-size: 24px;
    margin-right: 0;
  }

  .responsive-tools > a[data-target=search] {
    margin-right: 60px;
  }

  .mv-shipping-link {
    display: none !important;
  }

  .header-hero-copy {
    /* --hero-top: 80px; */
    padding-bottom: 20px;
  }

  .header-hero-copy h1 {
    font-size: 36px;
  }

  .hero-heading__line2 {
    font-size: 46px;
  }

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

  .Unmatched-excellence-Unaffected-by-time {
    font-size: 28px;
  }

  .Available-now {
    font-size: 20px;
  }

  .top-navigation-bar .search,
  .top-navigation-search {
    display: none !important;
  }

  #navigation {
    padding-right: 0;
  }

  .menu-helper {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    z-index: auto;
  }

  .menu-helper .menu-level-1 {
    position: static;
    width: 100%;
    min-width: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .homepage-group-title {
    font-size: 28px !important;
  }

  .homepage-group-title::after {
    width: 90px;
    margin-bottom: 30px;
  }

  .content-wrapper.container .row > div {
    text-align: center;
  }

  .content-wrapper.container .row > .next-to-carousel-banners {
    text-align: center !important;
  }

  .next-to-carousel-banners img {
    height: 120px;
    width: auto;
  }

  .mv-btn--primary {
    font-size: 16px;
    padding: 14px 32px;
    height: auto;
  }

  .welcome .mv-about .mv-about__features {
    max-width: 1188px;
  }

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

  .mv-about__feature img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
  }

  .mv-about__feature-title {
    font: 700 18px/normal var(--font-heading), sans-serif;
  }

  .mv-sell__media > img {
    width: 100%;
    height: 30vh;
  }

  .mv-sell__note {
    position: static;
    height: auto;
    margin-top: 16px;
    padding: 20px;
  }

  .mv-sell__credit {
    position: static;
    margin: 10px 0 0 0;
  }

  .mv-sell__lead,
  .mv-sell__copy,
  .mv-about__text,
  .mv-book__text,
  .mv-sell__text {
    font: 400 18px/normal Montserrat, sans-serif;
  }

  .mv-sell__text.mv-sell__mobile-hidden {
    display: none;
  }

  /* Homepage blog: heading spans the row and stays centred. */
  .mv-blog .homepage-blog-wrapper > .homepage-group-title.h4 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  /* Give the divider breathing room above and below. */
  .mv-blog .homepage-blog-wrapper .news-item {
    flex: 0 0 100%;
    padding: 0 15px 28px;
    margin-bottom: 28px;
    box-sizing: border-box;
  }
  .mv-blog .homepage-blog-wrapper .news-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
  }


  .homepage-blog-wrapper .news-item:not(:last-child)::after {
    right: 15px;
    left: 15px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .p-detail-info {
    display: block;
    text-align: left;
  }

  .p-detail-info > div {
    display: block;
    margin: 4px 0;
  }

  .p-detail-info > div:before {
    content: none !important;
  }

  .p-info-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }

  .p-final-price-wrapper,
  .availability-value {
    display: inline-block;
    vertical-align: middle;
  }

  .p-final-price-wrapper {
    float: left;
  }

  .availability-value {
    float: right;
    font-size: 16px;
  }

  .p-info-wrapper .mv-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
  }

  .p-info-wrapper .mv-price-row .p-final-price-wrapper {
    flex: 1 1 auto;
    margin: 0;
  }

  .p-info-wrapper .mv-price-row .availability-value {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
  }

  .p-info-wrapper .mv-price-row .price-final-holder {
    white-space: nowrap;
  }

  .social-buttons-wrapper {
    justify-content: center;
  }

  .social-buttons-wrapper .chat {
    width: 200px;
  }

  .social-buttons-wrapper .link-icons {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .mousetrap {
    height: 300px !important;
  }

  .scrolled-down body:not(.ordering-process):not(.search-window-visible) #header .site-name {
    transform: translateY(-130%);
  }

  .content-wrapper.container .row > div {
    text-align: left !important;
  }

  .row.banners-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row.banners-row .next-to-carousel-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
  }

  .row.banners-row .banner-wrapper {
    width: 100%;
    max-width: 150px;
  }

  .row.banners-row .banner-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .row.banners-row .homepage-group-title,
  .row.banners-row .mv-all-watches-wrap {
    text-align: center;
  }

  .row.banners-row .mv-all-watches-wrap a.mv-btn {
    display: inline-block;
    margin-top: 10px;
  }

  .top-navigation-tools--language .mv-blog-btn {
    display: none;
  }

  .basic-description {
    margin-top: 20px;
  }

  .footer-icon {
    flex: 0 0 auto;
    width: 44%;
  }
}

/* === Steps Responsive (768px and below) === */
@media (max-width: 768px) {
  .mv-steps-row {
    flex-direction: column;
    gap: 20px;
  }

  .calendly-inline-widget.calendly-mobile {
    height: 1000px !important;
  }
}

/* === Filters Sticky (991px and below) === */
@media (max-width: 991px) {
  .filters-unveil-button-wrapper {
    position: relative;
    z-index: 50;
  }

  .filters-unveil-button-wrapper.is-sticky {
    position: sticky;
    top: var(--filters-sticky-top, 0px);
    background: #fff;
    z-index: 30;
    transition: box-shadow .2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  }

  .filters-unveil-button-wrapper.is-sticky.no-shadow {
    box-shadow: none;
  }
}

/* === Brand Section (900px and below) === */
@media (max-width: 900px) {
  .mv-brand__container {
    flex-direction: column;
    gap: 10px;
  }

  .mv-brand__label {
    font-size: 18px;
  }

  .mv-brand__title {
    font-size: 32px;
  }

  .mv-brand__image {
    margin-top: 0;
    width: 100%;
    height: auto;
  }

  .mv-brand__image img {
    width: 100%;
    height: auto;
  }

  .mv-brand__text p:not(.mv-brand__label) {
    font-size: 18px;
  }

  .mv-brand__photo-credit {
    bottom: 6px;
    right: 8px;
    font-size: 7.5pt;
  }
}

/* === Small Mobile (640px and below) === */
@media (max-width: 640px) {
  .mv-step .step-text {
    font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.4rem);
  }
}

/* Card title sizing is consolidated in 50-typography.css. */

/* Mobile hero: overlay stays within hero, below the separate mobile header. */
@media (max-width: 767px) {
  body.is-home .mv-hero {
    height: clamp(400px, 68svh, 530px) !important;
    min-height: 0 !important;
    margin-top: 0 !important;
  }
  body.is-home .mv-hero .header-hero-copy {
    position: absolute !important; inset: 0 !important;
    top: 0 !important; bottom: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    margin: 0 !important; padding: 24px 20px !important;
    transform: none !important; box-sizing: border-box !important;
    display: flex !important; justify-content: center !important;
  }
  body.is-home .mv-hero .hero-heading { margin: 0 !important; }
  body.is-home .mv-hero .hero-actions {
    margin-top: 16px !important;
    gap: 10px !important;
  }
  body.is-home .mv-hero .hero-btn {
    margin-top: 0 !important;
  }
  /* Search UI should sit on top, not push/crop the hero. */
  body.search-window-visible #header,
  body.search-window-visible .top-navigation-bar { z-index: 1001 !important; }
  #header .search .search-form fieldset { min-width: 0; }
  #header .search .search-input { min-width: 0; width: 100%; box-sizing: border-box; }
  /* v4.2: search focus is handled in 40-admin-overrides.css. */
}

/* v4.8 — Mobile search: one surface, no artificial shadow gutters. */
@media (max-width: 767px) {
  body.search-window-visible #header,
  body.search-window-visible #header .navigation-wrapper,
  body.search-window-visible #header .header-top,
  body.search-window-visible #header .header-top > .search {
    background-color: #a1826c !important;
  }

  /* Keep the currently working dropdown placement, but do not draw
     simulated edges with box-shadow or expand the header itself. */
  body.search-window-visible #header .header-top > .search {
    transform: translateY(30px) !important;
    box-shadow: none !important;
  }

  #header .search input.search-input,
  #header .search input.search-input:focus,
  #header .search input.search-input:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    transition: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
  }
}
