:root {
  --hb-navy: #0b1f3a;
  --hb-blue: #075ccb;
  --hb-blue-hover: #064ca8;
  --hb-orange: #f28c28;
  --hb-green: #16a34a;
  --hb-text: #111827;
  --hb-muted: #64748b;
  --hb-line: #e2e8f0;
  --hb-soft: #f8fafc;
}

.hb-product-page { color: var(--hb-text); font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.hb-product-ui-pilot .page-wrapper { overflow-x: clip; }
.hb-product-shell { width: min(100% - 64px, 1360px); margin-inline: auto; padding-block: 20px 56px; }
.hb-breadcrumb { display: flex; min-width: 0; align-items: center; gap: 8px; margin: 0 0 20px; overflow: hidden; color: var(--hb-muted); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.hb-breadcrumb a { display: inline-flex; min-width: 0; flex: 0 1 auto; align-items: center; gap: 7px; color: #475569 !important; text-decoration: none !important; }
.hb-breadcrumb a:hover { color: var(--hb-blue) !important; }
.hb-breadcrumb .hb-icon { width: 16px; height: 16px; }
.hb-breadcrumb__separator { display: inline-flex; flex: 0 0 auto; color: #94a3b8; }
.hb-breadcrumb__separator .hb-icon { width: 13px; height: 13px; }
.hb-breadcrumb__current { min-width: 0; overflow: hidden; color: var(--hb-muted); text-overflow: ellipsis; }
.hb-product-hero { display: grid; grid-template-columns: minmax(0, 56fr) minmax(390px, 44fr); gap: 24px; align-items: start; }
.hb-gallery, .hb-buy-panel { border: 1px solid var(--hb-line); border-radius: 12px; background: #fff; }
.hb-gallery { min-width: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 20px; }
.hb-gallery--single { grid-template-columns: minmax(0, 1fr); }
.hb-gallery__thumbs { display: flex; flex-direction: column; gap: 12px; max-height: 620px; overflow: auto; scrollbar-width: thin; }
.hb-gallery__thumb { aspect-ratio: 1; min-height: 78px; padding: 6px; border: 1px solid var(--hb-line); border-radius: 8px; background: #fff; cursor: pointer; }
.hb-gallery__thumb.is-active { border: 2px solid var(--hb-blue); }
.hb-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.hb-gallery__stage { position: relative; min-width: 0; display: grid; place-items: center; min-height: 0; aspect-ratio: 1; overflow: hidden; background: #fff; }
.hb-gallery__main-image, .hb-gallery__stage > img { width: 100%; height: 100%; object-fit: contain; }
.hb-gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--hb-line); border-radius: 50%; background: #fff; color: var(--hb-navy); cursor: pointer; }
.hb-gallery-dialog { width: min(92vw, 1000px); height: min(92vh, 900px); padding: 36px; border: 0; border-radius: 12px; }
.hb-gallery-dialog::backdrop { background: rgb(11 31 58 / 75%); }
.hb-gallery-dialog img { width: 100%; height: 100%; object-fit: contain; }
.hb-gallery-dialog__close { position: absolute; top: 8px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 32px; cursor: pointer; }
.hb-buy-panel { padding: 24px 28px; }
.hb-buy-panel__brand { display: inline-flex; min-height: 24px; align-items: center; color: var(--hb-blue) !important; font-size: 16px; font-weight: 700; line-height: 1.25; text-decoration: none !important; }
.hb-buy-panel__sku { margin-top: 2px; color: var(--hb-muted); font-size: 13px; line-height: 1.35; }
.hb-buy-panel__title { margin: 8px 0 4px; color: var(--hb-text); font-size: clamp(24px, 2vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.hb-buy-panel__summary { margin: 0 0 10px; color: #475569; font-size: 16px; line-height: 1.45; }
.hb-buy-panel__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 30px; color: var(--hb-muted); font-size: 13px; }
.hb-rating-stars { display: inline-flex; gap: 1px; color: #cbd5e1; font-size: 17px; line-height: 1; letter-spacing: 0; }
.hb-rating-stars .is-filled { color: #f59e0b; }
.hb-buy-panel__rating-sku { padding-left: 10px; border-left: 1px solid var(--hb-line); }
.hb-buy-panel__price { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; color: var(--hb-blue); line-height: 1.15; }
.hb-buy-panel__price-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: clamp(30px, 3vw, 36px); font-weight: 700; }
.hb-buy-panel__price-value del { order: -1; color: var(--hb-muted); font-size: 16px; font-weight: 500; }
.hb-buy-panel__price-value ins { color: var(--hb-blue); text-decoration: none; }
.hb-buy-panel__tax { color: var(--hb-muted); font-size: 13px; font-weight: 500; }
.hb-installment-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--hb-blue); font-size: 14px; text-decoration: underline; cursor: pointer; }
.hb-installment-link .hb-icon { width: 18px; height: 18px; }
.hb-installment-dialog { width: min(92vw, 900px); max-height: 88vh; padding: 0; overflow: hidden; border: 0; border-radius: 12px; color: var(--hb-text); }
.hb-installment-dialog::backdrop { background: rgb(11 31 58 / 68%); }
.hb-installment-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--hb-line); }
.hb-installment-dialog__header h2 { margin: 0; font-size: 20px; }
.hb-installment-dialog__header button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.hb-installment-dialog__content { max-height: calc(88vh - 77px); padding: 20px; overflow: auto; }
.hb-buy-panel__divider { height: 1px; margin: 6px 0 16px; background: var(--hb-line); }
.hb-delivery { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 12px 16px; border: 1px solid currentColor; border-radius: 8px; }
.hb-delivery--orange { color: #ea580c; background: #fffaf5; }
.hb-delivery--blue { color: var(--hb-blue); background: #f8fbff; }
.hb-delivery--neutral { color: var(--hb-navy); background: var(--hb-soft); }
.hb-delivery div, .hb-info-box div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.hb-delivery strong, .hb-info-box strong { font-size: 14px; }
.hb-delivery span, .hb-info-box span { color: var(--hb-text); font-size: 13px; }
.hb-icon { width: 26px; height: 26px; flex: 0 0 auto; }
.hb-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.hb-info-box { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; border: 1px solid var(--hb-line); border-radius: 8px; color: var(--hb-navy); }
.hb-info-box--full { grid-column: 1 / -1; }
.hb-info-box--green { color: var(--hb-green); }
.hb-info-box--orange { color: #ea580c; }
.hb-info-box--blue { color: var(--hb-blue); }
.hb-cart-area { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hb-line); }
.hb-buy-panel .hb-cart-area form.cart { display: grid !important; grid-template-columns: 114px minmax(0, 1fr); gap: 12px; margin: 0 !important; }
.hb-cart-area .stock { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.hb-quantity-control { display: grid; grid-template-columns: 34px 44px 34px; min-height: 50px; overflow: hidden; border: 1px solid var(--hb-line); border-radius: 8px; background: #fff; }
.hb-quantity-control button, .hb-quantity-control input { width: 100% !important; min-width: 0 !important; min-height: 48px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; color: var(--hb-text) !important; box-shadow: none !important; text-align: center; }
.hb-quantity-control button { font-size: 20px; cursor: pointer; }
.hb-quantity-control input { border-inline: 1px solid var(--hb-line) !important; font-size: 16px; font-weight: 700; line-height: 48px !important; text-align: center !important; text-indent: 0 !important; direction: ltr !important; appearance: textfield; }
.hb-quantity-control input::-webkit-inner-spin-button, .hb-quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.hb-cart-area .single_add_to_cart_button { min-height: 50px; width: 100%; border: 0; border-radius: 8px; background: var(--hb-blue) !important; color: #fff !important; font-size: 16px; font-weight: 700; text-transform: none !important; }
.hb-cart-area .single_add_to_cart_button:hover { background: var(--hb-blue-hover) !important; }
.hb-cart-area .single_add_to_cart_button.is-loading { opacity: .72; cursor: wait; }
.hb-cart-feedback { grid-column: 1 / -1; min-height: 18px; color: var(--hb-muted); font-size: 13px; }
.hb-whatsapp-button { display: flex; min-height: 48px; margin-top: 12px; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid var(--hb-green); border-radius: 8px; color: var(--hb-green) !important; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.hb-whatsapp-button:hover { background: #f0fdf4; color: #15803d; }
.hb-buy-panel .hb-trust-strip { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hb-line); }
.hb-buy-panel .hb-trust-item { display: flex !important; min-width: 0; min-height: 44px; flex-direction: row !important; align-items: center; justify-content: center; gap: 7px; margin: 0 !important; padding: 4px 8px; color: var(--hb-navy); font-size: 11px; line-height: 1.25; text-align: left; }
.hb-buy-panel .hb-trust-item + .hb-trust-item { border-left: 1px solid var(--hb-line); }
.hb-trust-item .hb-icon { width: 24px; height: 24px; }
.hb-phase-placeholder { margin-top: 20px; padding: 18px; border: 1px dashed var(--hb-line); border-radius: 10px; color: var(--hb-muted); background: var(--hb-soft); font-size: 13px; }
.hb-product-content { margin-top: 20px; border: 1px solid var(--hb-line); border-radius: 10px; background: #fff; }
.hb-tabs__nav { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--hb-line); }
.hb-tabs__nav button { min-height: 52px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--hb-text); font-size: 14px; font-weight: 600; cursor: pointer; }
.hb-tabs__nav button[aria-selected="true"] { border-bottom-color: var(--hb-blue); color: var(--hb-blue); }
.hb-tabs__nav button:focus-visible, .hb-accordion-trigger:focus-visible { outline: 2px solid var(--hb-blue); outline-offset: 2px; }
.hb-tabs__section { display: contents; }
.hb-tab-panel { min-height: 150px; padding: 22px 28px 28px; color: #334155; font-size: 14px; line-height: 1.7; }
.hb-tab-panel[hidden] { display: none; }
.hb-tab-panel__content > :first-child { margin-top: 0; }
.hb-tab-panel__content > :last-child { margin-bottom: 0; }
.hb-tab-panel table { width: 100%; border-collapse: collapse; }
.hb-tab-panel th, .hb-tab-panel td { padding: 10px 12px; border-bottom: 1px solid var(--hb-line); text-align: left; }
.hb-tab-panel th { width: 34%; color: var(--hb-navy); font-weight: 600; }
.hb-tab-panel__empty { margin: 0; color: var(--hb-muted); }
.hb-accordion-trigger { display: none; }
.hb-mobile-purchase { display: none; }
.hb-bundle { margin-top: 20px; padding: 16px 20px; border: 1px solid var(--hb-line); border-radius: 10px; background: #fff; }
.hb-bundle__header { display: grid; grid-template-columns: minmax(0, 1fr) auto 200px; align-items: center; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--hb-line); }
.hb-bundle__header h2 { margin: 0 0 2px; font-size: 20px; line-height: 1.25; }
.hb-bundle__header p { margin: 0; color: var(--hb-muted); font-size: 12px; }
.hb-bundle__summary { display: flex; min-width: 170px; flex-direction: column; align-items: flex-end; }
.hb-bundle__summary small { color: var(--hb-muted); font-size: 11px; }
.hb-bundle__summary strong { color: var(--hb-navy); font-size: 25px; line-height: 1.15; }
.hb-bundle__summary span { color: var(--hb-green); font-size: 11px; font-weight: 700; }
.hb-bundle__add { min-height: 46px; border: 0; border-radius: 7px; background: #f97316; color: #fff; font-weight: 700; cursor: pointer; }
.hb-bundle__add:hover { background: #ea580c; }
.hb-bundle__add.is-loading { opacity: .7; cursor: wait; }
.hb-bundle__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 14px; }
.hb-bundle-item { position: relative; display: grid; grid-template-columns: 28px 74px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; padding: 0 28px 0 0; }
.hb-bundle-item__check input { width: 20px; height: 20px; accent-color: var(--hb-blue); }
.hb-bundle-item__check input:disabled { opacity: 1; }
.hb-bundle-item__image { display: block; aspect-ratio: 1; }
.hb-bundle-item__image img { width: 100%; height: 100%; object-fit: contain; }
.hb-bundle-item__content { min-width: 0; }
.hb-bundle-item__content > a { display: -webkit-box; overflow: hidden; color: var(--hb-text); font-size: 12px; font-weight: 600; line-height: 1.35; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hb-bundle-item__content p { margin: 3px 0; overflow: hidden; color: var(--hb-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.hb-bundle-item__content strong { color: var(--hb-blue); font-size: 15px; }
.hb-bundle-qty { display: grid; width: 92px; grid-template-columns: 28px 36px 28px; margin-top: 7px; overflow: hidden; border: 1px solid var(--hb-line); border-radius: 6px; background: #fff; }
.hb-bundle-qty button, .hb-bundle-qty input { width: 100%; height: 30px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--hb-text); box-shadow: none; text-align: center; }
.hb-bundle-qty button { color: var(--hb-blue); font-size: 16px; font-weight: 700; cursor: pointer; }
.hb-bundle-qty input { border-inline: 1px solid var(--hb-line); font-size: 12px; font-weight: 700; appearance: textfield; }
.hb-bundle-qty input::-webkit-inner-spin-button, .hb-bundle-qty input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.hb-bundle-qty:has(:disabled) { opacity: .45; background: var(--hb-soft); }
.hb-bundle-item__plus { position: absolute; right: 8px; display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--hb-line); border-radius: 50%; color: var(--hb-muted); font-size: 20px; }
.hb-bundle__feedback { min-height: 18px; margin: 8px 0 0; color: var(--hb-muted); font-size: 12px; }

@media (max-width: 1100px) {
  .hb-product-shell { width: min(100% - 48px, 1360px); }
  .hb-product-hero { grid-template-columns: 1fr; }
  .hb-gallery__stage { min-height: 500px; }
}

@media (max-width: 900px) {
  .hb-bundle { padding: 16px; }
  .hb-bundle__header { grid-template-columns: 1fr; gap: 12px; }
  .hb-bundle__summary { align-items: flex-start; }
  .hb-bundle__items { grid-template-columns: 1fr; gap: 14px; }
  .hb-bundle-item { padding: 0 0 14px; border-bottom: 1px solid var(--hb-line); }
  .hb-bundle-item__plus { display: none; }
}

@media (max-width: 767px) {
  .hb-product-shell { width: calc(100% - 32px); padding-block: 12px 40px; }
  .hb-breadcrumb {
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .hb-breadcrumb::-webkit-scrollbar { display: none; }
  .hb-breadcrumb > * { display: inline-flex !important; flex: 0 0 auto; }
  .hb-breadcrumb > a { min-width: max-content; flex: 0 0 auto; }
  .hb-breadcrumb > a > span { display: inline; }
  .hb-breadcrumb > :first-child span { display: inline; }
  .hb-breadcrumb__current { max-width: 82vw; overflow: visible; text-overflow: clip; }
  .hb-product-hero { gap: 16px; }
  .hb-gallery { display: flex; flex-direction: column-reverse; padding: 12px; }
  .hb-gallery--single { display: block; }
  .hb-gallery__thumbs { flex-direction: row; max-height: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .hb-gallery__thumb { min-width: 72px; min-height: 72px; scroll-snap-align: start; }
  .hb-gallery__stage { min-height: 0; aspect-ratio: 1; }
  .hb-buy-panel { padding: 16px; }
  .hb-buy-panel__title { font-size: 23px; }
  .hb-buy-panel__price { font-size: 31px; }
  .hb-info-grid { grid-template-columns: 1fr; }
  .hb-info-box--full { grid-column: auto; }
  .hb-buy-panel .hb-cart-area form.cart { grid-template-columns: 132px minmax(0, 1fr); }
  .hb-quantity-control { grid-template-columns: 44px 44px 44px; }
  .hb-buy-panel .hb-trust-item { flex-direction: column !important; gap: 4px; padding-inline: 4px; text-align: center; }
  .hb-bundle-qty { width: 132px; grid-template-columns: 44px 44px 44px; }
  .hb-bundle-qty button, .hb-bundle-qty input { height: 44px; }
  .hb-tabs__nav { display: none; }
  .hb-product-content { overflow: hidden; }
  .hb-tabs__section { display: block; }
  .hb-tabs__section + .hb-tabs__section { border-top: 1px solid var(--hb-line); }
  .hb-accordion-trigger { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: 0; background: #fff; color: var(--hb-text); font-size: 14px; font-weight: 700; text-align: left; }
  .hb-accordion-trigger[aria-expanded="true"] { color: var(--hb-blue); }
  .hb-accordion-trigger[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
  .hb-tab-panel { min-height: 0; padding: 4px 16px 18px; }
  .hb-tab-panel th, .hb-tab-panel td { display: block; width: 100%; padding: 8px 0; }
  .hb-tab-panel td { padding-top: 0; }
  .hb-mobile-purchase:not([hidden]) { position: fixed; z-index: 9990; right: 0; bottom: var(--hb-cookie-offset, 0px); left: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 44%); gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hb-line); background: rgb(255 255 255 / 96%); box-shadow: 0 -4px 16px rgb(11 31 58 / 10%); backdrop-filter: blur(8px); }
  .hb-mobile-purchase__price { overflow: hidden; color: var(--hb-blue); font-size: 21px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
  .hb-mobile-purchase__price del { display: none; }
  .hb-mobile-purchase__price ins { text-decoration: none; }
  .hb-mobile-purchase__price small { display: block; color: var(--hb-muted); font-size: 10px; font-weight: 500; }
  .hb-mobile-purchase button { min-height: 48px; border: 0; border-radius: 8px; background: var(--hb-blue); color: #fff; font-size: 14px; font-weight: 700; }
  body.hb-has-mobile-purchase { padding-bottom: calc(78px + env(safe-area-inset-bottom) + var(--hb-cookie-offset, 0px)); }
  body.hb-product-ui-pilot #sendbtn,
  body.hb-product-ui-pilot .label-container { display: none !important; }
  body.hb-has-mobile-purchase #topcontrol { bottom: calc(78px + env(safe-area-inset-bottom) + var(--hb-cookie-offset, 0px)) !important; }
}

@media (max-width: 380px) {
  .hb-product-shell { width: calc(100% - 24px); }
  .hb-buy-panel .hb-cart-area form.cart { grid-template-columns: 1fr; }
  .hb-quantity-control { grid-template-columns: 1fr 1fr 1fr; }
}
