/*
 Theme Name:   Amiy Child
 Theme URI:    https://amiy.wpengine.com/
 Description:  Amiy Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     amiy
 Version:      1.0.0
 Text Domain:  amiy-child
*/

/* Vanaya responsive header/menu and mobile compatibility fix - 2026-07-09 */
@media (min-width: 701px) {
  #header-wrapper,
  #header {
    min-height: 94px !important;
    height: auto !important;
  }
  #header-wrapper .no-header {
    min-height: 94px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
  }
  #header-wrapper .no-header-logo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 150px !important;
  }
  #header-wrapper .no-header-logo img,
  #header-wrapper img.custom-logo,
  #header-wrapper .custom-logo-link img {
    max-width: 142px !important;
    height: auto !important;
  }
  #header-wrapper .no-header-menu.wdt-header-menu {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: auto !important;
    min-height: 48px !important;
  }
  #header-wrapper .menu-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
    background: transparent !important;
  }
  #header-wrapper .menu-container ul,
  #header-wrapper .menu-container .menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(12px, 2vw, 30px) !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-wrap: nowrap !important;
  }
  #header-wrapper .menu-container li,
  #header-wrapper .menu-container .menu-item {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #header-wrapper .menu-container a {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    padding: 6px 0 !important;
    white-space: nowrap !important;
    font-size: clamp(11px, 1.15vw, 14px) !important;
    letter-spacing: .18em !important;
    line-height: 1.25 !important;
    color: #17120c !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
  }
  #header-wrapper .mobile-nav-container,
  #header-wrapper .menu-trigger {
    display: none !important;
    visibility: hidden !important;
  }
}

@media (max-width: 700px) {
  #header-wrapper,
  #header {
    min-height: 72px !important;
    height: auto !important;
  }
  #header-wrapper .no-header {
    min-height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  #header-wrapper .no-header-logo,
  #header-wrapper .no-header-logo img,
  #header-wrapper img.custom-logo,
  #header-wrapper .custom-logo-link img {
    max-width: 116px !important;
    height: auto !important;
  }
  #header-wrapper .menu-container {
    display: none !important;
  }
  #header-wrapper .mobile-nav-container,
  #header-wrapper .menu-trigger {
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .vanaya-hero,
  .vanaya-shop-banner,
  .vanaya-contact-top-banner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }
  .vanaya-hero-track {
    aspect-ratio: 1600 / 673 !important;
    min-height: 190px !important;
  }
  .vanaya-hero-slide img,
  .vanaya-shop-banner img,
  .vanaya-contact-top-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .vanaya-hero-arrow {
    width: 34px !important;
    height: 34px !important;
    font-size: 22px !important;
  }
  .vanaya-hero-prev { left: 8px !important; }
  .vanaya-hero-next { right: 8px !important; }
  .vanaya-showcase {
    padding: 46px 14px !important;
  }
  .vanaya-section-title {
    font-size: 30px !important;
  }
  .vanaya-section-copy {
    margin-bottom: 26px !important;
  }
  body.home .vanaya-product-grid {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.home .vanaya-product-grid .vanaya-product-card {
    flex-basis: calc(100vw - 28px) !important;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }
  .vanaya-shop-layout,
  .vanaya-product-page,
  .vanaya-contact-grid,
  .vanaya-footer-main,
  .vanaya-footer-newsletter {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .vanaya-shop-sidebar,
  .vanaya-product-sidebar,
  .vanaya-contact-page,
  .vanaya-global-footer,
  .vanaya-product-summary,
  .vanaya-product-gallery,
  .vanaya-product-tabs,
  .vanaya-contact-form-card,
  .vanaya-contact-info-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
  .vanaya-global-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
