/* LYA v3 storefront polish: Period Underwear labels, mobile navigation, listing spacing, and high-contrast actions. */
.category-product-media,
.category-product-media .expandable-media,
.category-product-media .visual {
  background-color: #fffaf6 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}
.category-product-media img,
.category-product-media video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
.category-product > div:nth-child(2) > small {
  display: block !important;
  margin: 8px 0 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.category-product > div:nth-child(2) > strong {
  display: block !important;
  line-height: 1.22 !important;
  margin-bottom: 0 !important;
  overflow-wrap: anywhere !important;
}
.site-shell .button,
.site-shell .carousel-checkout,
.site-shell .preorder-button,
.site-shell .gift-add-button,
.site-shell .drawer-checkout,
.site-shell .checkout-submit,
.site-shell .shop-floating button,
.site-shell .shop-floating a,
.site-shell .floating-offer-button,
.site-shell .add-button {
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 8px 18px rgba(33, 16, 22, 0.18) !important;
}
.site-shell .shop-floating button,
.site-shell .shop-floating a,
.site-shell .floating-offer-button {
  outline: 1px solid rgba(255, 255, 255, 0.72) !important;
  outline-offset: -3px !important;
}
.site-header {
  z-index: 100 !important;
}
@media (width <= 900px) {
  .header-main {
    position: relative !important;
    z-index: 101 !important;
  }
  .header-left {
    position: relative !important;
    z-index: 102 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .mobile-menu {
    position: relative !important;
    z-index: 110 !important;
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
    color: #fff !important;
    background: var(--burgundy-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
  .mobile-menu svg {
    pointer-events: none !important;
  }
  .category-nav.is-open {
    z-index: 105 !important;
    pointer-events: auto !important;
  }
  .category-nav.is-open a,
  .category-nav.is-open button {
    pointer-events: auto !important;
  }
  .category-product {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 14px !important;
  }
  .category-product > div:nth-child(2) > small {
    margin: 7px 0 10px !important;
    font-size: 10px !important;
  }
  .category-product-media {
    width: 82px !important;
    height: 112px !important;
    min-height: 112px !important;
  }
}
@media (width <= 380px) {
  .category-product {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .category-product-media {
    width: 68px !important;
    height: 96px !important;
    min-height: 96px !important;
  }
}
