:root {
  --hnwl-surface: #ffffff;
  --hnwl-surface-soft: #f6f9fc;
  --hnwl-text: #102b4f;
  --hnwl-muted: #61748c;
  --hnwl-border: rgba(16, 43, 79, 0.14);
  --hnwl-accent: #db315f;
  --hnwl-accent-dark: #9f2146;
  --hnwl-good: #148a54;
  --hnwl-shadow: 0 14px 40px rgba(16, 43, 79, 0.12);
}

html[data-rizon-theme="dark"],
body.rizon-theme-dark {
  --hnwl-surface: #121923;
  --hnwl-surface-soft: #172231;
  --hnwl-text: #edf5ff;
  --hnwl-muted: #a8b8cc;
  --hnwl-border: rgba(211, 229, 255, 0.16);
  --hnwl-accent: #ff5f8b;
  --hnwl-accent-dark: #ff8bab;
  --hnwl-good: #4bd08e;
  --hnwl-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.hnwl-button,
.hnwl-counter,
.hnwl-card__cart,
.hnwl-card__remove,
.hnwl-page__shop,
.hnwl-empty a {
  font-family: inherit;
}

.hnwl-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--hnwl-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--hnwl-surface) 88%, transparent);
  color: var(--hnwl-text);
  box-shadow: 0 8px 22px rgba(16, 43, 79, 0.08);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 0 15px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.hnwl-button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--hnwl-accent) 45%, var(--hnwl-border));
  box-shadow: var(--hnwl-shadow);
}

.hnwl-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--hnwl-accent) 48%, transparent);
  outline-offset: 3px;
}

.hnwl-button__icon,
.hnwl-counter__icon,
.hnwl-empty__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hnwl-button:not(.is-active) .hnwl-button__icon,
.hnwl-counter__icon {
  background: none;
  border: 2px solid currentColor;
  border-radius: 999px;
  mask: none;
  position: relative;
}

.hnwl-button:not(.is-active) .hnwl-button__icon::before,
.hnwl-counter__icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hnwl-button.is-active {
  border-color: color-mix(in srgb, var(--hnwl-accent) 46%, transparent);
  background: color-mix(in srgb, var(--hnwl-accent) 13%, var(--hnwl-surface));
  color: var(--hnwl-accent-dark);
}

.hnwl-button.is-loading {
  pointer-events: none;
  opacity: 0.65;
}

.hnwl-button--loop {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  min-width: 42px;
  padding: 0;
  z-index: 3;
}

.hnwl-button--loop .hnwl-button__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hnwl-button--buybox {
  width: auto;
  min-width: 96px;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: none;
}

.hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap form.cart:not(.variations_form) > .hnwl-button--buybox {
  grid-area: quantity;
  align-self: center;
  justify-self: start;
  margin: 0;
  z-index: 2;
}

.hh-buybox-card form.variations_form.cart .woocommerce-variation-add-to-cart > .hnwl-button--buybox {
  margin: 8px 0 10px;
  justify-self: start;
}

html[data-rizon-theme="dark"] .hnwl-button--buybox,
body.rizon-theme-dark .hnwl-button--buybox {
  background: rgba(9, 24, 43, 0.78);
  border-color: rgba(151, 199, 255, 0.28);
  color: #f3f8ff;
}

html[data-rizon-theme="dark"] .hnwl-button--buybox.is-active,
body.rizon-theme-dark .hnwl-button--buybox.is-active {
  background: rgba(255, 95, 139, 0.16);
  border-color: rgba(255, 95, 139, 0.5);
  color: #ffb5ca;
}

.hnwl-counter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--hnwl-text);
  text-decoration: none;
  border-radius: 999px;
}

.hnwl-counter__count,
.hnwl-button__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--hnwl-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.hnwl-counter__count {
  position: absolute;
  top: 3px;
  right: 2px;
}

.hnwl-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 18px 80px;
  color: var(--hnwl-text);
}

.hnwl-page__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.hnwl-page__eyebrow {
  margin: 0 0 6px;
  color: var(--hnwl-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hnwl-page h1 {
  margin: 0;
  color: var(--hnwl-text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.hnwl-page__shop,
.hnwl-empty a,
.hnwl-card__cart,
.hnwl-card__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--hnwl-border);
  background: var(--hnwl-surface);
  color: var(--hnwl-text);
  font-size: 13px;
  font-weight: 850;
  padding: 0 16px;
  text-decoration: none;
  cursor: pointer;
}

.hnwl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.hnwl-card {
  overflow: hidden;
  border: 1px solid var(--hnwl-border);
  border-radius: 14px;
  background: var(--hnwl-surface);
  box-shadow: 0 10px 28px rgba(16, 43, 79, 0.08);
}

.hnwl-card__image {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--hnwl-surface-soft);
  overflow: hidden;
}

.hnwl-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hnwl-card__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
}

.hnwl-card__title {
  color: var(--hnwl-text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.32;
  min-height: 38px;
  text-decoration: none;
}

.hnwl-card__meta,
.hnwl-card__price {
  color: var(--hnwl-muted);
  font-size: 12px;
  font-weight: 700;
}

.hnwl-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 4px;
}

.hnwl-card__cart {
  background: var(--hnwl-text);
  color: var(--hnwl-surface);
  border-color: var(--hnwl-text);
}

.hnwl-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 360px;
  padding: 40px 18px;
  border: 1px dashed var(--hnwl-border);
  border-radius: 18px;
  background: var(--hnwl-surface-soft);
  text-align: center;
}

.hnwl-empty__icon {
  width: 48px;
  height: 48px;
  color: var(--hnwl-accent);
}

.hnwl-empty h2,
.hnwl-empty p {
  margin: 0;
}

.hnwl-empty p {
  max-width: 360px;
  color: var(--hnwl-muted);
}

.hnwl-toast-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  display: grid;
  gap: 8px;
}

.hnwl-toast {
  max-width: min(340px, calc(100vw - 36px));
  border: 1px solid var(--hnwl-border);
  border-radius: 12px;
  background: var(--hnwl-surface);
  color: var(--hnwl-text);
  box-shadow: var(--hnwl-shadow);
  font-size: 13px;
  font-weight: 850;
  padding: 12px 14px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hnwl-toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

@media (max-width: 900px) {
  .hnwl-page__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 901px) {
  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-stock-wrap,
  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-purchase-panel.hh-simple-purchase-panel--ship-range .hh-buybox-stock-wrap {
    transform: translateX(-53px) !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap form.cart:not(.variations_form) > .hnwl-button--buybox {
    transform: translateX(-53px) !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap form.cart:not(.variations_form) .quantity {
    transform: translateX(-30px) !important;
  }

  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-stock-wrap,
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-stock-wrap,
  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-purchase-panel.hh-simple-purchase-panel--ship-range .hh-buybox-stock-wrap,
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-purchase-panel.hh-simple-purchase-panel--ship-range .hh-buybox-stock-wrap {
    transform: translateX(-53px) !important;
  }

  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap form.cart:not(.variations_form) .quantity,
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap form.cart:not(.variations_form) .quantity {
    transform: translateX(-30px) !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-stock-wrap .stock {
    transform: translateY(-4px) !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .hh-simple-cta-row {
    top: 9px !important;
    left: -40px !important;
  }

  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .single_add_to_cart_button.hh-simple-secondary-atc,
  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap button.single_add_to_cart_button.hh-simple-secondary-atc,
  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap input.single_add_to_cart_button.hh-simple-secondary-atc,
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .single_add_to_cart_button.hh-simple-secondary-atc,
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap button.single_add_to_cart_button.hh-simple-secondary-atc,
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap input.single_add_to_cart_button.hh-simple-secondary-atc {
    min-width: 114px !important;
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
  }

  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .hh-simple-cta-row .single_add_to_cart_button:not(.hh-simple-secondary-atc),
  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .hh-simple-cta-row button.single_add_to_cart_button:not(.hh-simple-secondary-atc),
  html[data-rizon-theme="dark"] body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .hh-simple-cta-row input.single_add_to_cart_button:not(.hh-simple-secondary-atc),
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .hh-simple-cta-row .single_add_to_cart_button:not(.hh-simple-secondary-atc),
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .hh-simple-cta-row button.single_add_to_cart_button:not(.hh-simple-secondary-atc),
  body.rizon-theme-dark.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-buybox-cart-wrap .hh-simple-cta-row input.single_add_to_cart_button:not(.hh-simple-secondary-atc) {
    min-width: 184px !important;
    min-height: 58px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
  }

  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap .single_add_to_cart_button:not(.hh-simple-secondary-atc),
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap button.single_add_to_cart_button:not(.hh-simple-secondary-atc),
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap input.single_add_to_cart_button:not(.hh-simple-secondary-atc),
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap .single_add_to_cart_button:not(.hh-simple-secondary-atc):hover,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap button.single_add_to_cart_button:not(.hh-simple-secondary-atc):hover,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap input.single_add_to_cart_button:not(.hh-simple-secondary-atc):hover,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap .single_add_to_cart_button:not(.hh-simple-secondary-atc):active,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap button.single_add_to_cart_button:not(.hh-simple-secondary-atc):active,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap input.single_add_to_cart_button:not(.hh-simple-secondary-atc):active,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap .single_add_to_cart_button:not(.hh-simple-secondary-atc):focus,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap button.single_add_to_cart_button:not(.hh-simple-secondary-atc):focus,
  body.single-product .hh-buybox-card .hh-buybox-product-ui--simple .hh-buybox-cart-wrap input.single_add_to_cart_button:not(.hh-simple-secondary-atc):focus {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition-property: background, background-color, border-color, box-shadow, color !important;
  }
}

@media (max-width: 767px) and (min-height: 501px) {
  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-selected-summary__wishlist.hnwl-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 96px !important;
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-selected-summary__wishlist.hnwl-button .hnwl-button__icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    background: currentColor !important;
    background-color: currentColor !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-selected-summary__wishlist.hnwl-button:not(.is-active) .hnwl-button__icon {
    background: none !important;
    background-color: transparent !important;
    border: 2px solid currentColor !important;
    border-radius: 999px !important;
    mask: none !important;
    -webkit-mask: none !important;
    position: relative !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-selected-summary__wishlist.hnwl-button:not(.is-active) .hnwl-button__icon::before {
    content: "" !important;
    position: absolute !important;
    inset: 2px !important;
    background: currentColor !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  body.single-product .hh-buybox-product-ui--simple.hh-simple-layout-active .hh-simple-selected-summary__wishlist.hnwl-button .hnwl-button__text {
    display: inline !important;
    background: transparent !important;
  }
}
