/* Cross-component responsive, media and safety rules.
   Source: assets/css/frontend.css lines 3145-3841. Header-specific rules live in 60-header.css. */

/* Final component priority layer. */
.hwh-button,
.hwh-product-link,
.hwh-product-card .hwh-add-to-cart-button,
.hwh-cart-checkout .button,
.hwh-product-detail-premium .single_add_to_cart_button {
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--hwh-button-radius, 6px);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none !important;
}

.hwh-button-primary,
.hwh-product-card .hwh-add-to-cart-button,
.hwh-product-detail-premium .single_add_to_cart_button,
.hwh-cart-checkout #place_order {
  color: #fff !important;
  background: #0b0b0b !important;
  border-color: #0b0b0b !important;
}

.hwh-button-primary:hover,
.hwh-product-card .hwh-add-to-cart-button:hover,
.hwh-product-detail-premium .single_add_to_cart_button:hover,
.hwh-cart-checkout #place_order:hover {
  color: #0b0b0b !important;
  background: #b88a33 !important;
  border-color: #b88a33 !important;
}

.hwh-product-media,
.hwh-product-card .product-image,
.hwh-product .product-image,
.hwh-cart-line-image,
.hwh-product-gallery-main,
.hwh-media-circle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hwh-media-circle,
.hwh-cart-line-image {
  border-radius: 999px;
  aspect-ratio: 1 / 1;
}

.hwh-product-media img,
.hwh-product-card .product-image img,
.hwh-product .product-image img,
.hwh-cart-line-image img,
.hwh-product-gallery-main img,
.hwh-media-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hwh-carousel .carousel-window {
  overflow: hidden;
  min-width: 0;
}

.hwh-carousel-track {
  gap: var(--hwh-carousel-gap, clamp(14px, 2vw, 24px));
  will-change: transform;
  touch-action: pan-y;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}

.hwh-carousel-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.hwh-carousel button:disabled {
  opacity: .36;
  cursor: not-allowed;
}

.hwh-shop-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 14px;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  padding: 18px;
  border: 1px solid rgba(15, 15, 15, .1);
  border-radius: var(--hwh-card-radius, 8px);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 44px rgba(15, 15, 15, .06);
}

.hwh-shop-filters input,
.hwh-shop-filters select,
.hwh-cart-checkout input,
.hwh-cart-checkout select,
.hwh-product-detail-premium input,
.hwh-product-detail-premium select {
  min-height: 44px;
  border: 1px solid rgba(15, 15, 15, .16);
  border-radius: 6px;
  background: #fff;
  color: var(--hwh-black);
  padding: 10px 12px;
}

.hwh-archive-status {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  color: var(--hwh-muted);
  font-size: 13px;
  font-weight: 700;
}

.hwh-product-card-actions,
.hwh-product-card .hwh-purchase-form {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.hwh-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.hwh-pagination a,
.hwh-pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--hwh-black);
  background: #fff;
  border: 1px solid rgba(15, 15, 15, .12);
  text-decoration: none !important;
  font-weight: 700;
}

.hwh-pagination a[aria-current="page"] {
  color: #fff;
  background: var(--hwh-black);
  border-color: var(--hwh-black);
}

.hwh-product-detail-premium,
.hwh-cart-checkout {
  gap: clamp(28px, 5vw, 68px);
  padding: var(--hwh-section-padding, clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px));
}

.hwh-product-detail-premium {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
}

.hwh-product-detail-stacked,
.hwh-cart-checkout-one-column,
.hwh-cart-checkout-compact {
  grid-template-columns: 1fr;
}

.hwh-product-gallery {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hwh-product-gallery-main {
  aspect-ratio: 4 / 5;
  border-radius: var(--hwh-card-radius, 8px);
  box-shadow: 0 24px 70px rgba(15, 15, 15, .1);
}

.hwh-product-gallery-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .24s ease, transform .24s ease;
}

.hwh-product-gallery-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hwh-product-thumbs,
.hwh-product-badges,
.hwh-product-attributes,
.hwh-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.hwh-product-thumbs button {
  width: 62px;
  min-width: 62px;
  height: 62px;
  min-height: 62px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
}

.hwh-product-thumbs button.is-active {
  border-color: var(--hwh-gold);
}

.hwh-product-badges span,
.hwh-product-attributes span,
.hwh-payment-badge,
.hwh-payment-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f7efe8;
  color: var(--hwh-black);
  font-size: 12px;
  font-weight: 800;
}

.hwh-payment-badge.is-paypal {
  background: #003087;
  color: #fff;
}

.hwh-cart-checkout {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  background: var(--hwh-cream);
}

.hwh-cart-panel-inner,
.hwh-checkout-panel .woocommerce,
.hwh-checkout-empty {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(15, 15, 15, .1);
  border-radius: var(--hwh-card-radius, 8px);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 15, 15, .07);
}

.hwh-cart-summary-sticky .hwh-cart-panel-inner {
  position: sticky;
  top: 92px;
}

.hwh-cart-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  margin-bottom: 20px;
}

.hwh-cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 15, 15, .08);
  border-radius: var(--hwh-card-radius, 8px);
  background: #fff;
}

.hwh-cart-line-image {
  width: 72px;
  height: 72px;
}

.hwh-coupon-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin-top: 18px;
}

.hwh-cart-totals {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 15, 15, .1);
}

.hwh-cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.hwh-checkout-panel #payment {
  border-radius: var(--hwh-card-radius, 8px);
  background: #f8f3ee;
}

@media (max-width: 1100px) {
.hwh-shop-filters,
  .hwh-product-detail-premium,
  .hwh-cart-checkout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
.hwh-shop-filters,
  .hwh-coupon-form,
  .hwh-cart-line {
    grid-template-columns: 1fr;
  }
}

/* Mobile-safe preloaders and menu stacking fixes. */
.hwh-preloader {
  width: 100vw;
  width: 100svw;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.hwh-preloader-content,
.elementor-widget-hwh_preloader .hwh-preloader-content {
  width: min(100%, 680px);
  max-width: calc(100svw - 32px);
  min-width: 0;
  justify-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.hwh-preloader-logo-img,
.hwh-preloader-logo,
.hwh-preloader-logo img {
  width: clamp(56px, 22vw, var(--hwh-preloader-logo-size, 92px));
  height: clamp(56px, 22vw, var(--hwh-preloader-logo-size, 92px));
  max-width: 42svw;
  max-height: 42svw;
  flex: 0 0 auto;
}

.hwh-preloader-content span {
  max-width: min(100%, 14ch);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  font-size: clamp(22px, 9vw, var(--hwh-preloader-text-size, 54px));
  line-height: .98;
}

.hwh-preloader-luxury-wordmark .hwh-preloader-content span {
  max-width: min(100%, 18ch);
  letter-spacing: clamp(.08em, 1.8vw, .18em);
}

.hwh-preloader-curtain-reveal::before,
.hwh-preloader-curtain-reveal::after {
  max-width: 50vw;
  pointer-events: none;
}

@media (max-width: 480px) {
.hwh-preloader {
    place-items: center;
  }

  .hwh-preloader-content {
    gap: 14px;
  }

  .hwh-preloader-content i {
    width: 30px;
    height: 30px;
  }
}

.hwh-media-circle,
.hwh-media-circle .hwh-skeleton {
  width: var(--hwh-circle-size, clamp(132px, 24vw, 260px));
  height: var(--hwh-circle-size, clamp(132px, 24vw, 260px));
}

.hwh-media-circle img,
.hwh-media-circle .hwh-skeleton img,
.hwh-cart-line-image img,
.hwh-product-thumbs button img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: cover !important;
  object-position: center;
  border-radius: 50% !important;
}

.hwh-product-thumbs button {
  position: relative;
}
