@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Protest+Strike&display=swap");

html.ubd-catalog-ready {
    --ubd-orange: #E7923C;
    --ubd-coral: #E78252;
    --ubd-yellow: #EFC25E;
    --ubd-green: #93B56D;
    --ubd-teal: #5DA084;
    --ubd-ink: #18333A;
    --ubd-muted: #687B80;
    --ubd-paper: #F7F2EC;
    --ubd-line: rgba(24, 51, 58, .10);
    --ubd-shadow: 0 14px 36px rgba(24, 51, 58, .075);
    --ubd-shadow-strong: 0 20px 48px rgba(24, 51, 58, .13);
}

html.ubd-catalog-ready,
html.ubd-catalog-ready body {
    max-width: 100%;
    overflow-x: clip;
    background: #fff;
}

html.ubd-catalog-ready body {
    padding-bottom: 76px;
    color: var(--ubd-ink);
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.ubd-catalog-ready body * {
    box-sizing: border-box;
    min-width: 0;
}

html.ubd-catalog-ready :where(h1, h2, h3, h4, h5, h6) {
    color: var(--ubd-ink);
}

html.ubd-catalog-ready :where(
    .tv-all-page-main-title,
    .product-title h6,
    .tvproduct-title-brandimage h1,
    .nav-tabs .nav-link,
    .ubdgi-head strong,
) {
    font-family: "Protest Strike", Impact, sans-serif;
    font-weight: 400;
}

html.ubd-catalog-ready #wrapper {
    background: #fff !important;
}

html.ubd-catalog-ready #main,
html.ubd-catalog-ready #content-wrapper {
    min-width: 0;
}

/* =========================================================
   CATEGORY · Header and description
   ========================================================= */
html.ubd-category-ready #content-wrapper {
    width: 100% !important;
    max-width: 1260px;
    margin: 0 auto;
    padding: 12px 14px 30px !important;
}

html.ubd-category-ready #left-column {
    width: 100%;
}

html.ubd-category-ready .tv-category-block-wrapper {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--ubd-paper) !important;
    box-shadow: var(--ubd-shadow) !important;
}

html.ubd-category-ready .tv-category-cover {
    width: 100%;
    overflow: hidden;
    background: var(--ubd-green);
}

html.ubd-category-ready .tv-category-cover img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 5;
    object-fit: cover !important;
    object-position: center !important;
}

html.ubd-category-ready .tv-all-page-main-title-wrapper {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    margin: 0 !important;
    padding: 0 !important;
}

html.ubd-category-ready .tv-all-page-main-title {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: var(--ubd-ink) !important;
    font-size: 15px !important;
    letter-spacing: .03em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html.ubd-category-ready #category-description {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

html.ubd-category-ready #category-description > article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(18px, 4vw, 36px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--ubd-ink) !important;
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html.ubd-category-ready #category-description h1 {
    max-width: 900px;
    margin: 0 0 10px !important;
    color: var(--ubd-ink) !important;
    font-family: "Protest Strike", Impact, sans-serif !important;
    font-size: clamp(31px, 6vw, 58px) !important;
    font-weight: 400 !important;
    line-height: .94 !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase;
}

html.ubd-category-ready #category-description h2 {
    color: var(--ubd-ink) !important;
    font-size: 17px !important;
}

html.ubd-category-ready #category-description p {
    max-width: 780px;
    color: var(--ubd-muted) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

html.ubd-category-ready #category-description a {
    color: var(--ubd-coral) !important;
    font-weight: 800 !important;
}

/* Inline calendar/content inside category descriptions */
html.ubd-category-ready #category-description article > div[style*="grid-template-columns"] {
    max-width: 620px;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--ubd-paper) !important;
}

html.ubd-category-ready #category-description article > div[style*="grid-template-columns"] > div {
    border: 0 !important;
    border-radius: 10px !important;
}

/* =========================================================
   CATEGORY · Toolbar
   ========================================================= */
html.ubd-category-ready .products-selection {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(180px, .8fr);
    align-items: center;
    gap: 10px;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 10px !important;
    border: 1px solid var(--ubd-line) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: var(--ubd-shadow) !important;
}

html.ubd-category-ready .products-selection > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    float: none !important;
}

html.ubd-category-ready .tv-left-search-totle-product {
    display: flex;
    align-items: center;
    gap: 9px;
}

html.ubd-category-ready .tv_search_filter_wrapper,
html.ubd-category-ready .tv-total-product {
    margin: 0 !important;
}

html.ubd-category-ready .tvleft-right-title-wrapper,
html.ubd-category-ready .tv-total-product-number,
html.ubd-category-ready .tvproduct-view,
html.ubd-category-ready .select-title {
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: var(--ubd-paper) !important;
    color: var(--ubd-ink) !important;
}

html.ubd-category-ready .tvleft-right-title-wrapper {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 9px 12px !important;
}

html.ubd-category-ready .tv-total-product-number {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 9px 12px !important;
    font-size: 10px !important;
    font-weight: 800;
    white-space: nowrap;
}

html.ubd-category-ready .tvcmsproduct-grid-list {
    display: flex;
    justify-content: center;
    gap: 5px;
}

html.ubd-category-ready .tvproduct-view {
    display: grid !important;
    place-items: center;
    width: 42px;
    min-width: 42px;
    padding: 7px !important;
}

html.ubd-category-ready .tvproduct-view.active {
    background: var(--ubd-green) !important;
}

html.ubd-category-ready .tvproduct-view.active svg path {
    fill: #fff !important;
}

html.ubd-category-ready .tvproduct-view span {
    display: none !important;
}

html.ubd-category-ready .sort-by-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 !important;
}

html.ubd-category-ready .sort-by {
    color: var(--ubd-muted);
    font-size: 10px;
    font-weight: 700;
}

html.ubd-category-ready .products-sort-order {
    width: min(100%, 270px);
}

html.ubd-category-ready .products-sort-order .select-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px !important;
    font-size: 10px;
    font-weight: 800;
}

/* =========================================================
   CATEGORY · Product grid
   ========================================================= */
html.ubd-category-ready #js-product-list .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    width: 100%;
    margin: 0 !important;
}

html.ubd-category-ready #js-product-list .product-miniature {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

html.ubd-category-ready #js-product-list .product-miniature .thumbnail-container {
    height: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: var(--ubd-shadow) !important;
}

html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 {
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #fff !important;
}

html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid .tvproduct-image,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 .tvproduct-image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 205px;
    padding: 16px 12px 5px;
    overflow: hidden;
    background: var(--ubd-card-soft, var(--ubd-paper));
}

html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid .tvproduct-image::after,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 .tvproduct-image::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 9px;
    left: 14px;
    height: 42%;
    border-radius: 18px;
    background: var(--ubd-card-color, var(--ubd-green));
    opacity: .88;
}

html.ubd-category-ready #js-product-list .product-thumbnail {
    position: relative;
    z-index: 1;
    display: grid !important;
    place-items: center;
    width: 100%;
    height: 190px;
}

html.ubd-category-ready #js-product-list .product-thumbnail img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 94% !important;
    max-height: 184px !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: drop-shadow(0 13px 12px rgba(24, 51, 58, .14));
    transition: transform .28s ease;
}

html.ubd-category-ready #js-product-list .product-miniature:hover .product-thumbnail img {
    transform: translateY(-4px) scale(1.02);
}

html.ubd-category-ready #js-product-list .tvproduct-info-box-wrapper {
    min-height: 92px;
    padding: 11px 12px 13px !important;
    background: #fff !important;
}

html.ubd-category-ready #js-product-list .product-description {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

html.ubd-category-ready #js-product-list .product-title {
    margin: 0 !important;
}

html.ubd-category-ready #js-product-list .product-title h6 {
    display: -webkit-box;
    min-height: 35px;
    margin: 0 !important;
    overflow: hidden;
    color: var(--ubd-ink) !important;
    font-size: 18px !important;
    line-height: .98 !important;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html.ubd-category-ready #js-product-list .product-price-and-shipping {
    margin-top: 7px;
}

html.ubd-category-ready #js-product-list .price {
    color: var(--ubd-coral) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

html.ubd-category-ready #js-product-list .tvproduct-hover-btn {
    top: 10px !important;
    right: 10px !important;
    z-index: 3;
    display: grid !important;
    gap: 6px;
    opacity: 1 !important;
    transform: none !important;
}

html.ubd-category-ready #js-product-list .tvproduct-quick-btn,
html.ubd-category-ready #js-product-list .tvproduct-cart-btn {
    margin: 0 !important;
}

html.ubd-category-ready #js-product-list .quick-view,
html.ubd-category-ready #js-product-list .tvproduct-add-to-cart {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .90) !important;
    color: var(--ubd-ink) !important;
    box-shadow: 0 7px 18px rgba(24, 51, 58, .10) !important;
}

html.ubd-category-ready #js-product-list .tvproduct-add-to-cart {
    background: var(--ubd-orange) !important;
}

html.ubd-category-ready #js-product-list .quick-view svg,
html.ubd-category-ready #js-product-list .tvproduct-add-to-cart svg {
    width: 17px !important;
    height: 17px !important;
}

html.ubd-category-ready #js-product-list .tvproduct-add-to-cart svg path {
    fill: #fff !important;
}

/* List and catalog views remain functional */
html.ubd-category-ready #js-product-list .tvproduct-wrapper.list,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.catelog {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--ubd-shadow);
}

html.ubd-category-ready #js-product-list .tvproduct-wrapper.list .product-thumbnail img,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.catelog .product-thumbnail img {
    object-fit: contain !important;
}

html.ubd-category-ready .pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0 !important;
    padding: 11px 13px !important;
    border-radius: 17px;
    background: var(--ubd-paper);
}

html.ubd-category-ready .pagination > [class*="col-"] {
    width: auto !important;
    padding: 0 !important;
    float: none !important;
}

html.ubd-category-ready .tv-pagination-wrapper {
    display: flex;
    gap: 6px;
    margin: 0;
}

html.ubd-category-ready .tv-pagination-wrapper a {
    display: grid;
    place-items: center;
    min-width: 37px;
    height: 37px;
    padding: 0 8px;
    border-radius: 11px;
    background: #fff;
    color: var(--ubd-ink) !important;
    font-weight: 800;
}

html.ubd-category-ready .tv-pagination-wrapper .current a {
    background: var(--ubd-green);
    color: #fff !important;
}

/* =========================================================
   PRODUCT · Main layout
   ========================================================= */
html.ubd-product-ready #content-wrapper {
    width: 100% !important;
    max-width: 1260px;
    margin: 0 auto;
    padding: 12px 14px 34px !important;
}

html.ubd-product-ready .tvproduct-page-wrapper {
    width: 100%;
    margin: 0 auto;
}

html.ubd-product-ready .tvprduct-image-info-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 0 !important;
}

html.ubd-product-ready .tv-product-page-image,
html.ubd-product-ready .tv-product-page-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    float: none !important;
}

html.ubd-product-ready .tv-product-page-image > .theiaStickySidebar,
html.ubd-product-ready .tv-product-page-content > .theiaStickySidebar {
    padding: 0 !important;
}

html.ubd-product-ready .images-container {
    position: relative;
    min-height: 350px;
    padding: 16px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--ubd-card-soft, var(--ubd-paper));
    box-shadow: var(--ubd-shadow);
}

html.ubd-product-ready .images-container::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    height: 42%;
    border-radius: 20px;
    background: var(--ubd-green);
    opacity: .78;
}

html.ubd-product-ready .tvvertical-slider,
html.ubd-product-ready .product-images,
html.ubd-product-ready .tvcmsVerticalSlider {
    position: relative;
    z-index: 1;
    width: 100% !important;
    padding: 0 !important;
}

html.ubd-product-ready .tvcmsVerticalSlider picture,
html.ubd-product-ready .tvcmsVerticalSlider img,
html.ubd-product-ready .product-cover,
html.ubd-product-ready .product-cover img {
    display: block;
    width: 100% !important;
}

html.ubd-product-ready .tvcmsVerticalSlider img,
html.ubd-product-ready .product-cover img {
    height: auto !important;
    max-height: 620px !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: drop-shadow(0 18px 18px rgba(24, 51, 58, .15));
}

html.ubd-product-ready .tvvertical-slider .arrows {
    z-index: 4;
}

html.ubd-product-ready .tv-product-page-content > .theiaStickySidebar {
    display: grid;
    gap: 12px;
    padding: clamp(16px, 3vw, 28px) !important;
    border: 1px solid var(--ubd-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--ubd-shadow);
}

html.ubd-product-ready .tvproduct-title-brandimage {
    margin: 0 !important;
}

html.ubd-product-ready .tvproduct-title-brandimage h1 {
    margin: 0 !important;
    color: var(--ubd-ink) !important;
    font-size: clamp(35px, 7vw, 65px) !important;
    line-height: .88 !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase;
}

html.ubd-product-ready .product-prices {
    margin: 0 !important;
    padding: 12px 0 !important;
    border-top: 1px solid var(--ubd-line);
    border-bottom: 1px solid var(--ubd-line);
}

html.ubd-product-ready .product-prices .price {
    color: var(--ubd-coral) !important;
    font-size: clamp(28px, 6vw, 46px) !important;
    font-weight: 900 !important;
}

html.ubd-product-ready .ets-rv-product-comments-additional-info {
    margin-top: 5px;
}

html.ubd-product-ready .comments-note {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ubd-muted);
}

html.ubd-product-ready .tvproduct-page-decs {
    margin: 0 !important;
    padding: 13px 14px !important;
    border-radius: 17px;
    background: var(--ubd-paper);
}

html.ubd-product-ready .tvproduct-page-decs p {
    margin: 0 0 8px;
    color: var(--ubd-muted) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

html.ubd-product-ready .tvproduct-page-decs p:last-child {
    margin-bottom: 0;
}

html.ubd-product-ready .tvproduct-page-decs img {
    display: block;
    width: auto !important;
    max-width: min(100%, 300px) !important;
    height: auto !important;
    margin: 8px auto 0 !important;
}

/* =========================================================
   PRODUCT · Native forms and modules
   ========================================================= */
html.ubd-product-ready .product-information,
html.ubd-product-ready .product-actions,
html.ubd-product-ready #add-to-cart-or-refresh {
    width: 100%;
}

html.ubd-product-ready .product-variants {
    display: grid;
    gap: 9px;
    margin: 0 0 12px !important;
}

html.ubd-product-ready .product-variants-item {
    margin: 0 !important;
    padding: 13px !important;
    border: 1px solid var(--ubd-line);
    border-radius: 16px;
    background: #fff;
}

html.ubd-product-ready .product-variants-item .control-label {
    display: block;
    margin: 0 0 7px !important;
    color: var(--ubd-ink) !important;
    font-size: 11px;
    font-weight: 800;
}

html.ubd-product-ready .product-variants select,
html.ubd-product-ready .product-variants input,
html.ubd-product-ready .product-variants .form-control {
    min-height: 46px;
    border: 1px solid var(--ubd-line) !important;
    border-radius: 13px !important;
    background: var(--ubd-paper) !important;
    box-shadow: none !important;
    color: var(--ubd-ink) !important;
}

html.ubd-product-ready .ubdgi-wrap {
    margin: 12px 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(147, 181, 109, .34) !important;
    border-radius: 18px !important;
    background: rgba(147, 181, 109, .13) !important;
    box-shadow: none !important;
}

html.ubd-product-ready .ubdgi-head {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

html.ubd-product-ready .ubdgi-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ubd-green);
}

html.ubd-product-ready .ubdgi-head strong {
    color: var(--ubd-ink) !important;
    font-size: 20px !important;
    line-height: .95;
}

html.ubd-product-ready .ubdgi-head small {
    color: var(--ubd-muted) !important;
    font-size: 9px !important;
    line-height: 1.45;
}

html.ubd-product-ready .ubdgi-unit {
    margin: 0 0 9px !important;
    padding: 11px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .74) !important;
}

html.ubd-product-ready .ubdgi-unit legend {
    width: auto;
    margin: 0 0 7px;
    padding: 0;
    color: var(--ubd-ink);
    font-size: 10px;
    font-weight: 800;
}

html.ubd-product-ready .ubdgi-choice-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

html.ubd-product-ready .ubdgi-choice-tabs label {
    display: flex !important;
    align-items: center;
    gap: 5px;
    min-height: 45px;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid var(--ubd-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ubd-ink);
    font-size: 8px;
    font-weight: 700;
}

/* ETS Product Options keeps its native expert-mode design. */

html.ubd-product-ready .product-quantity {
    display: grid !important;
    grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr);
    align-items: end;
    gap: 9px;
    width: 100%;
    margin: 12px 0 0 !important;
}

html.ubd-product-ready .product-quantity .qty {
    width: 100% !important;
    margin: 0 !important;
}

html.ubd-product-ready .product-quantity input {
    min-height: 52px !important;
    border: 1px solid var(--ubd-line) !important;
    border-radius: 14px !important;
    background: var(--ubd-paper) !important;
    color: var(--ubd-ink) !important;
    font-weight: 800;
}

html.ubd-product-ready .tv-product-page-add-to-cart-wrapper {
    width: 100%;
    margin: 0 !important;
}

html.ubd-product-ready .product-add-to-cart .add-to-cart {
    width: 100% !important;
    min-height: 54px !important;
    padding: 11px 17px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: var(--ubd-orange) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(231, 146, 60, .22) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

html.ubd-product-ready .product-add-to-cart .add-to-cart svg path {
    fill: #fff !important;
}

html.ubd-product-ready .product-additional-info,
html.ubd-product-ready .loyalty-card-modern {
    margin-top: 10px !important;
    border-radius: 15px !important;
}

/* =========================================================
   PRODUCT · Description, details, reviews
   ========================================================= */
html.ubd-product-ready .tvproduct-description-tab {
    margin-top: 18px !important;
    overflow: hidden;
    border: 1px solid var(--ubd-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--ubd-shadow);
}

html.ubd-product-ready .tvproduct-description-tab .nav-tabs {
    display: flex;
    gap: 7px;
    padding: 9px !important;
    overflow-x: auto;
    border: 0 !important;
    background: var(--ubd-paper);
    scrollbar-width: none;
}

html.ubd-product-ready .tvproduct-description-tab .nav-tabs::-webkit-scrollbar {
    display: none;
}

html.ubd-product-ready .tvproduct-description-tab .nav-item {
    flex: 0 0 auto;
}

html.ubd-product-ready .tvproduct-description-tab .nav-link {
    min-height: 42px;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: var(--ubd-ink) !important;
    font-size: 15px !important;
}

html.ubd-product-ready .tvproduct-description-tab .nav-link.active {
    background: var(--ubd-green) !important;
    color: #fff !important;
}

html.ubd-product-ready .tvproduct-description-tab .tab-content {
    padding: clamp(16px, 4vw, 28px) !important;
}

html.ubd-product-ready .tvproduct-description-tab .product-description {
    color: var(--ubd-muted);
    font-size: 12px;
    line-height: 1.65;
}

html.ubd-product-ready .tvproduct-description-tab img {
    max-width: 100% !important;
    height: auto !important;
}

html.ubd-product-ready :where(
    #ets-rv-product-comments-list-header,
    .ets-rv-product-comments,
    .ets_rv_product_review
) {
    margin-top: 18px !important;
    padding: clamp(15px, 4vw, 25px) !important;
    border-radius: 22px;
    background: var(--ubd-paper);
    box-shadow: var(--ubd-shadow);
}

/* =========================================================
   Compact navigation and private toggle
   ========================================================= */
.ubd-catalog-bottom-nav {
    position: fixed;
    right: 10px;
    bottom: calc(9px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 1080;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 6px;
    height: 56px;
    padding: 6px 8px;
    border: 1px solid rgba(24, 51, 58, .10);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 40px rgba(24, 51, 58, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ubd-catalog-bottom-nav > a,
.ubd-catalog-bottom-nav > button {
    display: grid;
    place-items: center;
    width: 100%;
    height: 43px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--ubd-ink) !important;
    text-decoration: none !important;
    cursor: pointer;
}

.ubd-catalog-bottom-nav svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ubd-catalog-bottom-nav .ubd-catalog-bottom-main {
    height: 48px;
    margin-top: -9px;
    background: var(--ubd-yellow);
    color: #513E28 !important;
    box-shadow: 0 8px 17px rgba(239, 194, 94, .27);
}

.ubd-catalog-bottom-nav .ubd-catalog-bottom-main svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1;
}

.ubd-catalog-preview-toggle {
    position: fixed;
    right: 9px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 1090;
    min-height: 30px;
    padding: 6px 9px;
    border: 1px solid rgba(24, 51, 58, .13);
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
    color: var(--ubd-ink);
    box-shadow: 0 8px 20px rgba(24, 51, 58, .14);
    font-family: Manrope, sans-serif;
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}

/* Original view restores all catalog styling without destroying DOM */
html.ubd-catalog-original .ubd-catalog-bottom-nav {
    display: none !important;
}

html.ubd-catalog-original .ubd-catalog-preview-toggle {
    display: block !important;
}

html.ubd-catalog-original.ubd-category-ready #content-wrapper,
html.ubd-catalog-original.ubd-product-ready #content-wrapper,
html.ubd-catalog-original.ubd-category-ready .tv-category-block-wrapper,
html.ubd-catalog-original.ubd-category-ready .products-selection,
html.ubd-catalog-original.ubd-category-ready #js-product-list .products,
html.ubd-catalog-original.ubd-category-ready #js-product-list .product-miniature,
html.ubd-catalog-original.ubd-product-ready .tvprduct-image-info-wrapper,
html.ubd-catalog-original.ubd-product-ready .tv-product-page-content > .theiaStickySidebar {
    all: revert-layer;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 700px) {
    html.ubd-category-ready #js-product-list .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html.ubd-product-ready .tvprduct-image-info-wrapper {
        grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
        align-items: start;
        gap: 20px;
    }

    html.ubd-product-ready .tv-product-page-image > .theiaStickySidebar {
        position: sticky !important;
        top: 14px;
    }

    html.ubd-product-ready .tv-product-page-content > .theiaStickySidebar {
        padding: 25px !important;
    }

    .ubd-catalog-bottom-nav {
        left: 50%;
        width: min(620px, calc(100% - 20px));
        transform: translateX(-50%);
    }
}

@media (min-width: 1040px) {
    html.ubd-category-ready #js-product-list .products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html.ubd-category-ready .tv-category-cover img {
        aspect-ratio: 16 / 7;
    }

    html.ubd-category-ready .products-selection {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    html.ubd-category-ready .tv-right-search-totle-product {
        grid-column: 1 / -1;
    }

    html.ubd-category-ready .sort-by-row {
        justify-content: stretch;
    }

    html.ubd-category-ready .products-sort-order {
        width: 100%;
    }

    html.ubd-product-ready .product-quantity {
        grid-template-columns: minmax(100px, .34fr) minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    html.ubd-category-ready #content-wrapper,
    html.ubd-product-ready #content-wrapper {
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    html.ubd-category-ready #category-description h1 {
        font-size: 35px !important;
    }

    html.ubd-category-ready #js-product-list .products {
        gap: 8px !important;
    }

    html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid .tvproduct-image,
    html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 .tvproduct-image {
        min-height: 165px;
        padding: 9px 6px 2px;
    }

    html.ubd-category-ready #js-product-list .product-thumbnail {
        height: 156px;
    }

    html.ubd-category-ready #js-product-list .product-thumbnail img {
        max-width: 98% !important;
        max-height: 150px !important;
    }

    html.ubd-category-ready #js-product-list .tvproduct-info-box-wrapper {
        min-height: 86px;
        padding: 9px !important;
    }

    html.ubd-category-ready #js-product-list .product-title h6 {
        min-height: 30px;
        font-size: 15px !important;
    }

    html.ubd-category-ready #js-product-list .price {
        font-size: 13px !important;
    }

    html.ubd-category-ready #js-product-list .quick-view,
    html.ubd-category-ready #js-product-list .tvproduct-add-to-cart {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 10px !important;
    }

    html.ubd-product-ready .images-container {
        min-height: 310px;
        padding: 10px;
    }

    html.ubd-product-ready .tvcmsVerticalSlider img,
    html.ubd-product-ready .product-cover img {
        max-height: 420px !important;
    }

    html.ubd-product-ready .tv-product-page-content > .theiaStickySidebar {
        padding: 15px !important;
        border-radius: 20px;
    }

    html.ubd-product-ready .tvproduct-title-brandimage h1 {
        font-size: 39px !important;
    }

    html.ubd-product-ready .ubdgi-choice-tabs {
        grid-template-columns: 1fr;
    }

    html.ubd-product-ready .product-quantity {
        grid-template-columns: 1fr;
    }

    html.ubd-category-ready .pagination {
        grid-template-columns: 1fr;
        text-align: center;
    }

    html.ubd-category-ready .tv-pagination-wrapper {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.ubd-category-ready #js-product-list .product-thumbnail img,
    .ubd-catalog-bottom-nav,
    .ubd-catalog-preview-toggle {
        transition: none !important;
    }
}


/* =========================================================
   10.1 · SEO/BREADCRUMBS PRESERVED, NO DUPLICATE SCHEMA
   ========================================================= */
html.ubd-catalog-ready .breadcrumb {
    display: flex !important;
    align-items: center;
    gap: 7px;
    width: min(100% - 20px, 1260px);
    margin: 10px auto 4px !important;
    padding: 8px 11px !important;
    overflow-x: auto;
    border-radius: 13px;
    background: var(--ubd-paper);
    color: var(--ubd-muted);
    scrollbar-width: none;
}

html.ubd-catalog-ready .breadcrumb::-webkit-scrollbar { display: none; }
html.ubd-catalog-ready .breadcrumb a { color: var(--ubd-ink) !important; font-size: 9px; font-weight: 800; white-space: nowrap; }

/* =========================================================
   10.1 · CATEGORY EXPERT MODE
   ========================================================= */
html.ubd-category-ready .tvcmsleft-featured-product {
    display: none !important;
}

html.ubd-category-ready #js-product-list .product-miniature {
    cursor: pointer;
    transition: opacity .28s ease, transform .28s ease;
}

html.ubd-category-ready #js-product-list .product-miniature.ubd-lazy-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip-path: inset(50%) !important;
}

html.ubd-category-ready #js-product-list .product-miniature.ubd-lazy-visible {
    position: relative;
    opacity: 1;
    animation: ubd-card-arrive .42s cubic-bezier(.2,.8,.2,1) both;
}

html.ubd-category-ready #js-product-list .product-miniature .thumbnail-container,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2,
html.ubd-category-ready #js-product-list .tvproduct-image,
html.ubd-category-ready #js-product-list .tvproduct-info-box-wrapper {
    background: var(--ubd-card-color, #F3B36F) !important;
}

html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid .tvproduct-image::after,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 .tvproduct-image::after {
    display: none !important;
    content: none !important;
}

html.ubd-category-ready #js-product-list .tvproduct-info-box-wrapper {
    border-top: 1px solid rgba(24, 51, 58, .08);
}

html.ubd-category-ready #js-product-list .tvproduct-hover-btn,
html.ubd-category-ready #js-product-list .tvproduct-quick-btn,
html.ubd-category-ready #js-product-list .tvproduct-cart-btn,
html.ubd-category-ready #js-product-list .quick-view,
html.ubd-category-ready #js-product-list .tvproduct-add-to-cart {
    display: none !important;
}

html.ubd-category-ready #js-product-list .product-flags {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 4 !important;
    margin: 0 !important;
}

html.ubd-category-ready #js-product-list .product-flag {
    display: inline-flex !important;
    align-items: center;
    min-height: 22px;
    margin: 0 !important;
    padding: 4px 7px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .84) !important;
    color: var(--ubd-ink) !important;
    font-size: 7px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

html.ubd-category-ready .pagination {
    display: none !important;
}

.ubd-category-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 62px;
    margin: 14px 0 0;
    padding: 12px;
    border-radius: 17px;
    background: var(--ubd-paper);
    color: var(--ubd-muted);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.ubd-category-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(24, 51, 58, .12);
    border-top-color: var(--ubd-orange);
    border-radius: 50%;
    animation: ubd-spinner .8s linear infinite;
    opacity: 0;
}

.ubd-category-load-more.is-loading .ubd-category-spinner { opacity: 1; }
.ubd-category-load-more.is-finished .ubd-category-spinner { display: none; }
.ubd-category-load-more.has-error { cursor: pointer; background: rgba(231, 130, 82, .12); color: var(--ubd-coral); }

/* =========================================================
   10.1 · PRODUCT EXPERT MODE
   Keep ETS internal design native; only distribute outer blocks.
   ========================================================= */
@media (min-width: 1000px) {
    html.ubd-product-ready:not(.ubd-catalog-simple) .tvprduct-image-info-wrapper {
        grid-template-columns: minmax(380px, .92fr) minmax(520px, 1.08fr) !important;
        gap: 18px !important;
    }

    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart {
        display: grid;
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        gap: 12px;
        align-items: start;
    }

    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > #payment-method-messaging-element,
    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > .payment-method-messaging-element,
    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > .tv-product-page-add-to-cart-wrapper,
    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > #ps_checkout-payment-method-logo-block-container,
    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > [id*="payment-method-logo"] {
        grid-column: 1 / -1;
    }

    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > .ubdgi-wrap {
        grid-column: 1;
        margin-top: 0 !important;
    }

    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > .block-product-attribute-custom {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-top: 0 !important;
        min-width: 0;
    }

    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart:not(:has(.ubdgi-wrap)) > .block-product-attribute-custom {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    html.ubd-product-ready:not(.ubd-catalog-simple) .product-add-to-cart > .product-quantity {
        grid-column: 1;
    }
}

/* =========================================================
   10.1 · SIMPLE MODE: CATEGORY
   Prepared, inactive unless ?ubd_mode=simple or API is used.
   ========================================================= */
html.ubd-category-ready.ubd-catalog-simple .tv-category-block-wrapper,
html.ubd-category-ready.ubd-catalog-simple .products-selection,
html.ubd-category-ready.ubd-catalog-simple #left-column,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-image,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .product-flags,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-hover-btn {
    display: none !important;
}

html.ubd-category-ready.ubd-catalog-simple #ubd-simple-category-title {
    display: block;
    margin: 0 0 14px;
    padding: 17px 18px;
    border-radius: 18px;
    background: var(--ubd-green);
    color: #fff;
    font-family: "Protest Strike", Impact, sans-serif;
    font-size: clamp(35px, 8vw, 58px);
    font-weight: 400;
    line-height: .9;
    text-transform: uppercase;
}

html.ubd-category-ready:not(.ubd-catalog-simple) #ubd-simple-category-title,
html.ubd-category-ready:not(.ubd-catalog-simple) #ubd-simple-category-description {
    display: none !important;
}

html.ubd-category-ready.ubd-catalog-simple #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

html.ubd-category-ready.ubd-catalog-simple #js-product-list .thumbnail-container,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-wrapper.grid,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-info-box-wrapper {
    height: 100%;
    min-height: 88px;
    background: var(--ubd-card-color, var(--ubd-paper)) !important;
}

html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-info-box-wrapper {
    display: grid;
    align-content: center;
    padding: 13px !important;
    border: 0;
}

html.ubd-category-ready.ubd-catalog-simple #js-product-list .product-title h6 {
    min-height: 0;
    font-size: 17px !important;
}

html.ubd-category-ready.ubd-catalog-simple #js-product-list .price {
    color: var(--ubd-ink) !important;
    font-size: 14px !important;
}

.ubd-simple-category-description {
    margin: 18px 0 0;
    padding: clamp(17px, 4vw, 28px);
    border-radius: 20px;
    background: var(--ubd-paper);
    color: var(--ubd-muted);
    font-size: 12px;
    line-height: 1.7;
}

.ubd-simple-category-description img,
.ubd-simple-category-description iframe,
.ubd-simple-category-description script,
.ubd-simple-category-description style {
    display: none !important;
}

/* =========================================================
   10.1 · SIMPLE MODE: PRODUCT
   Actual native controls move inside a drawer within the same form.
   ========================================================= */
html.ubd-product-ready.ubd-catalog-simple .tvproduct-title-brandimage,
html.ubd-product-ready.ubd-catalog-simple .product-prices,
html.ubd-product-ready.ubd-catalog-simple .tv-product-page-image {
    display: block !important;
}

html.ubd-product-ready.ubd-catalog-simple .tvproduct-page-decs,
html.ubd-product-ready.ubd-catalog-simple .product-information,
html.ubd-product-ready.ubd-catalog-simple .tvproduct-description-tab,
html.ubd-product-ready.ubd-catalog-simple :where(#ets-rv-product-comments-list-header, .ets-rv-product-comments, .ets_rv_product_review),
html.ubd-product-ready.ubd-catalog-simple #ps_checkout-payment-method-logo-block-container {
    display: none !important;
}

html.ubd-product-ready.ubd-catalog-simple .tvprduct-image-info-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 820px;
    margin-inline: auto !important;
}

html.ubd-product-ready.ubd-catalog-simple .tv-product-page-content > .theiaStickySidebar {
    padding: 16px !important;
}

.ubd-simple-product-launcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 12px 15px;
    border: 0;
    border-radius: 16px;
    background: var(--ubd-orange);
    color: #fff;
    box-shadow: 0 10px 24px rgba(231, 146, 60, .22);
    font-family: Manrope, sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.ubd-simple-product-launcher svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.ubd-simple-product-description {
    border: 1px solid var(--ubd-line);
    border-radius: 15px;
    background: var(--ubd-paper);
}

.ubd-simple-product-description summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    color: var(--ubd-ink);
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

.ubd-simple-product-description summary::-webkit-details-marker { display: none; }
.ubd-simple-product-description > div { padding: 0 15px 15px; color: var(--ubd-muted); font-size: 12px; line-height: 1.65; }
.ubd-simple-product-description img { max-width: 100%; height: auto; }

.ubd-simple-product-drawer {
    position: fixed;
    inset: 0;
    z-index: 2147481800;
    visibility: hidden;
    pointer-events: none;
}

.ubd-simple-product-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.ubd-simple-product-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(24, 51, 58, .35);
    opacity: 0;
    backdrop-filter: blur(5px);
    transition: opacity .22s ease;
}

.ubd-simple-product-drawer.is-open .ubd-simple-product-backdrop { opacity: 1; }

.ubd-simple-product-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 610px);
    height: 100%;
    overflow: hidden;
    background: #fff;
    box-shadow: -18px 0 48px rgba(24, 51, 58, .18);
    transform: translateX(103%);
    transition: transform .24s cubic-bezier(.2,.8,.2,1);
}

.ubd-simple-product-drawer.is-open .ubd-simple-product-panel { transform: translateX(0); }

.ubd-simple-product-panel > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--ubd-line);
    background: #fff;
}

.ubd-simple-product-panel > header span { display: grid; gap: 1px; }
.ubd-simple-product-panel > header small { color: var(--ubd-muted); font-size: 8px; font-weight: 700; }
.ubd-simple-product-panel > header strong { color: var(--ubd-ink); font-size: 23px; }
.ubd-simple-product-panel > header button { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--ubd-paper); color: var(--ubd-ink); font-size: 25px; }

.ubd-simple-product-content {
    display: grid;
    gap: 10px;
    height: calc(100% - 72px);
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ubd-simple-native-section {
    padding: 12px;
    border-radius: 17px;
    background: var(--ubd-paper);
}

.ubd-simple-native-section > h3 {
    margin: 0 0 9px;
    color: var(--ubd-ink);
    font-family: "Protest Strike", Impact, sans-serif;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Do not restyle ETS internals; their native design is preserved here too. */
.ubd-simple-native-section .block-product-attribute-custom {
    margin: 0 !important;
}

@media (max-width: 700px) {
    .ubd-simple-product-panel {
        top: auto;
        bottom: 0;
        width: 100%;
        height: min(90dvh, 880px);
        border-radius: 24px 24px 0 0;
        transform: translateY(103%);
    }
    .ubd-simple-product-drawer.is-open .ubd-simple-product-panel { transform: translateY(0); }
}

@media (max-width: 480px) {
    html.ubd-category-ready.ubd-catalog-simple #js-product-list .products { grid-template-columns: 1fr 1fr !important; }
    html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-info-box-wrapper { min-height: 92px; padding: 10px !important; }
    html.ubd-category-ready.ubd-catalog-simple #js-product-list .product-title h6 { font-size: 15px !important; }
}

@keyframes ubd-spinner { to { transform: rotate(360deg); } }
@keyframes ubd-card-arrive { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }


/* 10.1 safety refinements */
html.ubd-product-ready.ubd-catalog-simple .ets-rv-product-comments-additional-info,
html.ubd-product-ready.ubd-catalog-simple .comments-note,
html.ubd-product-ready.ubd-catalog-simple #payment-method-messaging-element,
html.ubd-product-ready.ubd-catalog-simple .payment-method-messaging-element,
html.ubd-product-ready.ubd-catalog-simple .stripe-express-checkout-element,
html.ubd-product-ready.ubd-catalog-simple .stripe-error-message {
    display: none !important;
}


/* =========================================================
   10.2 · Correcciones solicitadas
   ========================================================= */
html.ubd-category-ready .tv-category-cover {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 120px;
    padding: 18px;
    background: var(--ubd-green);
}

html.ubd-category-ready .tv-category-cover img {
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
}

html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 {
    display: grid;
    grid-template-rows: minmax(210px, auto) auto;
}

html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid .tvproduct-image,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 .tvproduct-image {
    min-height: 210px;
    padding: 14px 12px 22px;
    background: var(--ubd-card-color, #F3B36F) !important;
}

html.ubd-category-ready #js-product-list .product-thumbnail {
    height: 188px;
}

html.ubd-category-ready #js-product-list .product-thumbnail img {
    max-width: 88% !important;
    max-height: 172px !important;
}

html.ubd-category-ready #js-product-list .tvproduct-info-box-wrapper {
    position: relative;
    z-index: 2;
    min-height: auto;
    margin: -10px 10px 10px;
    padding: 13px 14px 12px !important;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .78) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 22px rgba(24, 51, 58, .10) !important;
}

html.ubd-category-ready #js-product-list .product-title h6 {
    min-height: 0;
    margin-bottom: 6px !important;
}

html.ubd-category-ready #js-product-list .product-price-and-shipping {
    margin-top: 0;
}

html.ubd-category-ready #js-product-list .tvproduct-info-box-wrapper::before,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid .tvproduct-info-box-wrapper::before,
html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 .tvproduct-info-box-wrapper::before {
    display: none !important;
    content: none !important;
}

html.ubd-category-ready .pagination {
    display: grid !important;
}

html.ubd-category-ready .ubd-category-load-more {
    display: none !important;
}

html.ubd-product-ready .tv-product-page-image > .theiaStickySidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

html.ubd-product-ready .tvprduct-image-info-wrapper {
    align-items: start !important;
}

html.ubd-product-ready .images-container {
    min-height: 0;
}

html.ubd-product-ready .tvcmsVerticalSlider img,
html.ubd-product-ready .product-cover img {
    max-height: 540px !important;
}























@media (max-width: 1040px) {
    
}

@media (max-width: 700px) {
    html.ubd-category-ready .tv-category-cover {
        min-height: 94px;
        padding: 14px;
    }

    html.ubd-category-ready .tv-category-cover img {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }

    html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid,
    html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 {
        grid-template-rows: minmax(170px, auto) auto;
    }

    html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid .tvproduct-image,
    html.ubd-category-ready #js-product-list .tvproduct-wrapper.grid-2 .tvproduct-image {
        min-height: 170px;
        padding: 10px 8px 20px;
    }

    html.ubd-category-ready #js-product-list .product-thumbnail {
        height: 146px;
    }

    html.ubd-category-ready #js-product-list .product-thumbnail img {
        max-height: 136px !important;
    }

    html.ubd-category-ready #js-product-list .tvproduct-info-box-wrapper {
        margin: -8px 8px 8px;
        padding: 10px 11px !important;
    }
}


/* =========================================================
   10.3 · SPLASH + SWITCH + BOTONES + DRAWER BETA
   ========================================================= */
.ubd-boot-splash { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 20px; background: rgba(255,255,255,.97); transition: opacity .28s ease, visibility .28s ease; }
.ubd-boot-splash.is-leaving { opacity: 0; visibility: hidden; }
.ubd-boot-splash-card { display: grid; gap: 10px; justify-items: center; max-width: 320px; text-align: center; }
.ubd-boot-logo { display: grid; place-items: center; width: 96px; height: 96px; padding: 12px; border-radius: 22px; background: var(--ubd-paper); box-shadow: var(--ubd-shadow); color: var(--ubd-ink); font: 800 28px/1 Manrope, Arial, sans-serif; }
.ubd-boot-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ubd-boot-splash-card strong { font-family: "Protest Strike", Impact, sans-serif; font-size: 34px; line-height: .92; color: var(--ubd-ink); text-transform: uppercase; }
.ubd-boot-splash-card span { color: var(--ubd-muted); font-size: 13px; line-height: 1.6; }

html.ubd-catalog-ready :where(.btn, button, input[type="submit"], input[type="button"], .button, a.button, .exclusive, .btn-primary, .btn-default, .btn-secondary) { border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
html.ubd-catalog-ready :where(.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover, a.button:hover, .exclusive:hover, .btn-primary:hover, .btn-default:hover, .btn-secondary:hover) { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(24,51,58,.12); }

.ubd-catalog-mode-wrap { position: fixed; right: 10px; left: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 1085; display: grid; gap: 8px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); box-shadow: 0 14px 36px rgba(24,51,58,.14); }
.ubd-catalog-mode-wrap strong { display: block; color: var(--ubd-ink); font-family: "Protest Strike", Impact, sans-serif; font-size: 22px; line-height: .95; text-transform: uppercase; }
.ubd-catalog-mode-wrap small { color: var(--ubd-muted); font-size: 11px; line-height: 1.5; }
.ubd-catalog-mode-switch { display: inline-grid; grid-auto-flow: column; gap: 6px; padding: 4px; border-radius: 999px; background: var(--ubd-paper); }
.ubd-catalog-mode-switch button { min-height: 40px; min-width: 108px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ubd-ink); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ubd-catalog-mode-switch button.is-active { background: var(--ubd-teal); color: #fff; box-shadow: 0 10px 22px rgba(24,51,58,.16); }

.ubd-expert-drawer-launcher, .ubd-simple-product-launcher { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--ubd-teal); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.ubd-expert-drawer-launcher svg, .ubd-simple-product-launcher svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ubd-catalog-simple .ubd-expert-drawer-launcher { display: none !important; }

@media (min-width: 900px) {
  .ubd-catalog-mode-wrap { right: 16px; left: auto; width: 350px; }
}
@media (max-width: 699px) {
  .ubd-catalog-mode-wrap { bottom: calc(64px + env(safe-area-inset-bottom)); }
}


/* =========================================================
   10.4 · Prioridad final contra CSS heredado del tema
   ========================================================= */
html.ubd-category-ready body#category #js-product-list .product-miniature {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: transparent !important;
    cursor: pointer !important;
}

html.ubd-category-ready body#category #js-product-list .product-miniature .thumbnail-container {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-wrapper.grid,
html.ubd-category-ready body#category #js-product-list .tvproduct-wrapper.grid-2 {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    background: var(--ubd-card-color, #F3B36F) !important;
    box-shadow: var(--ubd-shadow) !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-image {
    flex: 0 0 auto !important;
    min-height: 220px !important;
    padding: 16px 12px 8px !important;
    overflow: hidden !important;
    background: transparent !important;
}

html.ubd-category-ready body#category #js-product-list .product-thumbnail {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 205px !important;
}

html.ubd-category-ready body#category #js-product-list .product-thumbnail img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 195px !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-info-box-wrapper,
html.ubd-category-ready body#category #js-product-list .product-description,
html.ubd-category-ready body#category #js-product-list .tvproduct-info,
html.ubd-category-ready body#category #js-product-list .tvall-product-info {
    position: relative !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 10px 10px !important;
    padding: 12px 13px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, .76) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(115%) !important;
    order: initial !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-info-box-wrapper .product-description {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html.ubd-category-ready body#category #js-product-list .product-title h6 {
    min-height: 0 !important;
    margin: 0 0 5px !important;
}

html.ubd-category-ready body#category #js-product-list .product-price-and-shipping {
    margin: 0 !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-hover-btn,
html.ubd-category-ready body#category #js-product-list .tvproduct-quick-btn,
html.ubd-category-ready body#category #js-product-list .tvproduct-cart-btn,
html.ubd-category-ready body#category #js-product-list .tvproduct-wishlist,
html.ubd-category-ready body#category #js-product-list .tvcompare-wrapper {
    display: none !important;
}

/* El modo experto no interviene el diseño interno de ETS Extra Options. */
html.ubd-product-ready:not(.ubd-catalog-simple) .block-product-attribute-custom {
    margin: revert !important;
}

/* Switch siempre en el flujo, después del footer. */
.ubd-catalog-mode-wrap {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    width: min(100% - 18px, 1200px) !important;
    margin: 18px auto 90px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
}

.ubd-expert-drawer-launcher {
    width: 100% !important;
    margin-top: 8px !important;
}

@media (max-width: 699px) {
    html.ubd-category-ready body#category #js-product-list .tvproduct-image {
        min-height: 174px !important;
        padding: 10px 7px 5px !important;
    }
    html.ubd-category-ready body#category #js-product-list .product-thumbnail {
        height: 160px !important;
    }
    html.ubd-category-ready body#category #js-product-list .product-thumbnail img {
        max-width: 95% !important;
        max-height: 152px !important;
    }
    html.ubd-category-ready body#category #js-product-list .tvproduct-info-box-wrapper,
    html.ubd-category-ready body#category #js-product-list .product-description,
    html.ubd-category-ready body#category #js-product-list .tvproduct-info,
    html.ubd-category-ready body#category #js-product-list .tvall-product-info {
        margin: 0 7px 7px !important;
        padding: 10px !important;
    }
    .ubd-catalog-mode-wrap {
        grid-template-columns: 1fr !important;
        margin-bottom: 82px !important;
    }
}


/* =========================================================
   1.2.0 · Una sola representación por producto
   El tema imprime grid, grid-2, list y catelog dentro de cada ficha.
   Modular Bonito usa exclusivamente grid para evitar duplicados.
   ========================================================= */
html.ubd-category-ready body#category #js-product-list .product-miniature .tvproduct-wrapper,
html.ubd-product-ready body#product .product-miniature .tvproduct-wrapper {
    display: none !important;
}

html.ubd-category-ready body#category #js-product-list .product-miniature .tvproduct-wrapper.grid,
html.ubd-product-ready body#product .product-miniature .tvproduct-wrapper.grid {
    display: flex !important;
    flex-direction: column !important;
}

html.ubd-category-ready body#category #js-product-list .product-miniature,
html.ubd-category-ready body#category #js-product-list .thumbnail-container,
html.ubd-category-ready body#category #js-product-list .tvproduct-wrapper.grid {
    height: 100% !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-wrapper.grid {
    min-height: 390px !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-image {
    flex: 1 1 auto !important;
    min-height: 280px !important;
}

html.ubd-category-ready body#category #js-product-list .tvproduct-info-box-wrapper {
    flex: 0 0 auto !important;
    min-height: 88px !important;
}

/* En modo sencillo se conservan las fotografías reales. */
html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-image,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .product-thumbnail,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .product-thumbnail img {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html.ubd-category-ready.ubd-catalog-simple #js-product-list .thumbnail-container,
html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-wrapper.grid {
    min-height: 300px !important;
}

html.ubd-category-ready.ubd-catalog-simple #js-product-list .tvproduct-image {
    min-height: 190px !important;
}

/* =========================================================
   1.2.0 · Producto sin drawers ni popups de personalización
   Los controles nativos permanecen siempre dentro del formulario.
   ========================================================= */
.ubd-simple-product-drawer,
.ubd-simple-product-launcher,
.ubd-expert-drawer-launcher,
.ubd-simple-product-backdrop,
.ubd-simple-product-panel {
    display: none !important;
}

html.ubd-product-ready.ubd-catalog-simple .product-information,
html.ubd-product-ready.ubd-catalog-simple #add-to-cart-or-refresh,
html.ubd-product-ready.ubd-catalog-simple .product-variants,
html.ubd-product-ready.ubd-catalog-simple .product-add-to-cart,
html.ubd-product-ready.ubd-catalog-simple .ubdgi-wrap,
html.ubd-product-ready.ubd-catalog-simple .block-product-attribute-custom,
html.ubd-product-ready.ubd-catalog-simple .product-quantity,
html.ubd-product-ready.ubd-catalog-simple .tv-product-page-add-to-cart-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =========================================================
   1.2.0 · ETS Extra Options: compacto, ancho completo y nativo
   ========================================================= */
html.ubd-product-ready .product-add-to-cart {
    display: block !important;
    width: 100% !important;
}

html.ubd-product-ready .product-add-to-cart > * {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

html.ubd-product-ready .block-product-attribute-custom {
    display: block !important;
    width: 100% !important;
    margin: 14px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.ubd-product-ready .block-product-attribute-custom > .col-md-12 {
    width: 100% !important;
    padding: 0 !important;
}

html.ubd-product-ready .block-product-attribute-custom .form-group {
    margin: 0 0 8px !important;
}

html.ubd-product-ready .block-product-attribute-custom h4,
html.ubd-product-ready .block-product-attribute-custom h2 {
    margin: 0 0 10px !important;
    color: var(--ubd-ink) !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

html.ubd-product-ready .block-product-attribute-custom .list-attribute-custom {
    display: block !important;
    width: 100% !important;
}

html.ubd-product-ready .block-product-attribute-custom .from-group-option {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html.ubd-product-ready .block-product-attribute-custom .from-group-option h5 {
    margin: 8px 0 !important;
    color: var(--ubd-ink) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

html.ubd-product-ready .block-product-attribute-custom .checkbox,
html.ubd-product-ready .block-product-attribute-custom .radio {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.ubd-product-ready .block-product-attribute-custom label.control-label {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    border: 1px solid var(--ubd-line) !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: var(--ubd-ink) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
}

html.ubd-product-ready .block-product-attribute-custom label.control-label > div:first-child {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
}

html.ubd-product-ready .block-product-attribute-custom .ets_input_group {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 2px 0 0 !important;
    vertical-align: middle !important;
}

html.ubd-product-ready .block-product-attribute-custom img.ets_zoom_img {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

html.ubd-product-ready .block-product-attribute-custom .attr-text {
    display: inline-flex !important;
    flex: 1 1 170px !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    min-width: 0 !important;
    color: var(--ubd-ink) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

html.ubd-product-ready .block-product-attribute-custom .product-discount {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    margin: 0 0 0 2px !important;
    font-size: 12px !important;
}

html.ubd-product-ready .block-product-attribute-custom .ets_attr_desc_small {
    display: block !important;
    flex: 1 0 100% !important;
    width: auto !important;
    margin: 2px 0 0 27px !important;
    color: var(--ubd-muted) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

html.ubd-product-ready .block-product-attribute-custom .attribute-custom-price {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
}

@media (max-width: 699px) {
    html.ubd-category-ready body#category #js-product-list .tvproduct-wrapper.grid {
        min-height: 300px !important;
    }

    html.ubd-category-ready body#category #js-product-list .tvproduct-image {
        min-height: 190px !important;
    }

    html.ubd-product-ready .block-product-attribute-custom label.control-label {
        padding: 7px !important;
    }

    html.ubd-product-ready .block-product-attribute-custom .attr-text {
        flex-basis: 120px !important;
    }
}


/* =========================================================
   1.2.1 · Protección funcional de módulos nativos
   Estas reglas no crean campos: protegen los controles reales.
   ========================================================= */
html.ubd-product-ready body#product .ubdgi-wrap,
html.ubd-product-ready body#product .ubdgi-wrap :where(label, input, button, select, textarea, .ubdgi-panel, .ubdgi-card) {
    pointer-events: auto !important;
}

html.ubd-product-ready body#product .ubdgi-wrap {
    position: relative !important;
    z-index: 4 !important;
    isolation: isolate;
}

html.ubd-product-ready body#product .ubdgi-choice-tabs label {
    position: relative !important;
    z-index: 1 !important;
    cursor: pointer !important;
    user-select: none;
    -webkit-user-select: none;
}

html.ubd-product-ready body#product .ubdgi-choice-tabs input.ubdgi-type {
    position: static !important;
    display: inline-block !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 3px 0 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: auto !important;
    -webkit-appearance: radio !important;
    accent-color: var(--ubd-green) !important;
    cursor: pointer !important;
}

html.ubd-product-ready body#product .ubdgi-choice-tabs label:has(input:checked) {
    border-color: var(--ubd-green) !important;
    background: rgba(147, 181, 109, .17) !important;
    box-shadow: 0 0 0 2px rgba(147, 181, 109, .13) !important;
}

html.ubd-product-ready body#product .ubdgi-card input.ubdgi-balloon {
    z-index: 3 !important;
    width: 18px !important;
    height: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: auto !important;
    -webkit-appearance: radio !important;
    accent-color: var(--ubd-green) !important;
}

/* ETS Extra Options: recuperar filas nativas compactas, sin descripciones largas. */
html.ubd-product-ready body#product .block-product-attribute-custom {
    display: flex !important;
    width: 100% !important;
    margin: 14px 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom > .col-md-12 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .form-group {
    margin: 0 0 8px !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom h2,
html.ubd-product-ready body#product .block-product-attribute-custom h4 {
    margin: 0 0 9px !important;
    color: var(--ubd-ink) !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .list-attribute-custom,
html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option {
    margin: 0 0 13px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option h5 {
    margin: 8px 0 6px !important;
    color: var(--ubd-ink) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .checkbox,
html.ubd-product-ready body#product .block-product-attribute-custom .radio {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom label.control-label {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 5px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(24, 51, 58, .08) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--ubd-ink) !important;
    box-shadow: none !important;
    text-align: left !important;
    cursor: pointer !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom label.control-label > div:first-child {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .ets_input_group {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 2px 0 0 !important;
    vertical-align: middle !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .ets_input_group input {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .ets_input_check,
html.ubd-product-ready body#product .block-product-attribute-custom .ets_input_radio {
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom img.ets_zoom_img {
    display: block !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .attr-text {
    display: inline !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: var(--ubd-ink) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

html.ubd-product-ready body#product .block-product-attribute-custom .product-discount {
    display: inline !important;
    margin-left: 3px !important;
    color: var(--ubd-ink) !important;
    font-size: 12px !important;
    white-space: normal !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .ets_attr_desc_small {
    display: none !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .attribute-custom-price {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
}

@media (min-width: 900px) {
    html.ubd-product-ready body#product .block-product-attribute-custom .list-attribute-custom {
        max-width: 760px !important;
    }
}


/* =========================================================
   1.2.2 · Producto estable: galería arriba + ETS en tarjetas
   No se duplican ni reemplazan inputs. Los controles son los originales.
   ========================================================= */

/* Una sola columna evita el vacío lateral y mantiene todos los módulos nativos
   dentro de #add-to-cart-or-refresh. */
html.ubd-product-ready body#product .tvprduct-image-info-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
}

html.ubd-product-ready body#product .tv-product-page-image,
html.ubd-product-ready body#product .tv-product-page-content {
    width: 100% !important;
    max-width: 1080px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

html.ubd-product-ready body#product .tv-product-page-image > .theiaStickySidebar,
html.ubd-product-ready body#product .tv-product-page-content > .theiaStickySidebar {
    position: static !important;
    top: auto !important;
    transform: none !important;
}

html.ubd-product-ready body#product .images-container {
    min-height: 0 !important;
}

html.ubd-product-ready body#product .tvcmsVerticalSlider img,
html.ubd-product-ready body#product .product-cover img {
    max-height: min(72vh, 680px) !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* ETS: cada grupo conserva su título y sus inputs reales, pero las opciones
   vuelven a ser tarjetas: 2 por fila en móvil, 4 en computadora. */
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom {
    display: block !important;
    width: 100% !important;
    margin: 14px 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom > .col-md-12,
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .list-attribute-custom {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option > h5,
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option > .attribute-custom-price {
    grid-column: 1 / -1 !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option > h5 {
    margin: 0 0 1px !important;
    color: var(--ubd-ink) !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .checkbox,
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .radio {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label {
    position: relative !important;
    display: grid !important;
    grid-template-rows: auto 1fr !important;
    align-content: start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 154px !important;
    margin: 0 !important;
    padding: 12px 10px 10px !important;
    overflow: hidden !important;
    border: 1px solid rgba(24, 51, 58, .13) !important;
    border-radius: 17px !important;
    background: #fff !important;
    color: var(--ubd-ink) !important;
    box-shadow: 0 8px 19px rgba(24, 51, 58, .055) !important;
    cursor: pointer !important;
    text-align: center !important;
    touch-action: manipulation;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label:hover {
    border-color: rgba(93, 160, 132, .52) !important;
    transform: translateY(-1px);
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label:has(input:checked),
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label.ubd-ets-selected {
    border-color: var(--ubd-teal) !important;
    background: rgba(93, 160, 132, .09) !important;
    box-shadow: 0 0 0 2px rgba(93, 160, 132, .13) !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label > div:first-child {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 64px auto !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_group {
    position: absolute !important;
    top: -3px !important;
    left: -1px !important;
    z-index: 3 !important;
    display: inline-flex !important;
    width: 23px !important;
    min-width: 23px !important;
    height: 23px !important;
    margin: 0 !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_group input {
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_check,
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_radio {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    border-color: rgba(24, 51, 58, .48) !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom img.ets_zoom_img {
    display: block !important;
    grid-row: 1 !important;
    width: 60px !important;
    min-width: 60px !important;
    height: 60px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .attr-text {
    display: block !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    color: var(--ubd-ink) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .product-discount {
    display: block !important;
    margin: 5px 0 0 !important;
    color: var(--ubd-coral) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_attr_desc_small {
    display: none !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ubd-ets-missing > h5 {
    color: #bd3f2f !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ubd-ets-attention {
    animation: ubdEtsAttention .55s ease 2;
}

@keyframes ubdEtsAttention {
    0%, 100% { transform: translateX(0); }
    35% { transform: translateX(-5px); }
    70% { transform: translateX(5px); }
}

@media (min-width: 900px) {
    html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label {
        min-height: 165px !important;
    }
}

@media (max-width: 480px) {
    html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option {
        gap: 8px !important;
    }

    html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label {
        min-height: 145px !important;
        padding: 10px 7px 8px !important;
    }

    html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label > div:first-child {
        grid-template-rows: 56px auto !important;
    }

    html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom img.ets_zoom_img {
        width: 53px !important;
        min-width: 53px !important;
        height: 53px !important;
    }
}


/* =========================================================
   1.2.3 · FORMULARIO NATIVO INTACTO
   Ningún overlay, drawer o regla visual puede interceptar Globo, ETS,
   cantidad o Añadir al carrito.
   ========================================================= */
html.ubd-product-ready body#product :where(
    #add-to-cart-or-refresh,
    .product-actions,
    .product-add-to-cart,
    .product-quantity,
    .ubdgi-wrap,
    .block-product-attribute-custom
) {
    position: relative !important;
    z-index: auto !important;
    pointer-events: auto !important;
    touch-action: auto !important;
}

html.ubd-product-ready body#product :where(
    .ubdgi-wrap label,
    .ubdgi-wrap input,
    .ubdgi-wrap button,
    .ubdgi-wrap select,
    .block-product-attribute-custom label,
    .block-product-attribute-custom input,
    .block-product-attribute-custom button,
    .block-product-attribute-custom select,
    .product-quantity input,
    .product-quantity button,
    .product-add-to-cart .add-to-cart
) {
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

html.ubd-product-ready body#product :where(
    .ubd-simple-product-drawer,
    .ubd-simple-product-backdrop,
    .ubd-simple-product-panel,
    .ubd-simple-product-launcher,
    .ubd-expert-drawer-launcher
) {
    display: none !important;
    pointer-events: none !important;
}

/* ETS sigue siendo una cuadrícula visual, pero sus inputs y eventos son 100% ETS. */
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label {
    pointer-events: auto !important;
    user-select: none;
    -webkit-user-select: none;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_group {
    pointer-events: auto !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_group input {
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_check,
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_input_radio {
    pointer-events: none !important;
}

html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .ets_attr_desc_small {
    display: none !important;
}

/* El estado seleccionado depende solamente del input real. */
html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom label.control-label:has(input:checked) {
    border-color: var(--ubd-teal) !important;
    background: rgba(93, 160, 132, .10) !important;
    box-shadow: 0 0 0 2px rgba(93, 160, 132, .14) !important;
}

/* Foto(s) arriba; después título, precio y formulario completo. */
html.ubd-product-ready body#product .tvprduct-image-info-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

html.ubd-product-ready body#product .tv-product-page-image {
    order: 1 !important;
}

html.ubd-product-ready body#product .tv-product-page-content {
    order: 2 !important;
}

html.ubd-product-ready body#product .tv-product-page-image,
html.ubd-product-ready body#product .tv-product-page-content {
    width: min(100%, 1080px) !important;
    max-width: 1080px !important;
    margin-inline: auto !important;
}

@media (min-width: 900px) {
    html.ubd-product-ready body#product #add-to-cart-or-refresh .block-product-attribute-custom .from-group-option {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   1.3.2 · CATEGORÍA SENCILLA Y MENÚ COMPACTO
   ========================================================= */
html.ubd-category-ready.ubd-catalog-simple body#category #header,
html.ubd-category-ready.ubd-catalog-simple body#category #tvcms-mobile-view-header,
html.ubd-category-ready.ubd-catalog-simple body#category .breadcrumb,
html.ubd-category-ready.ubd-catalog-simple body#category nav[data-depth] {
    display: none !important;
}
html.ubd-category-ready.ubd-catalog-simple body#category #wrapper,
html.ubd-category-ready.ubd-catalog-simple body#category #content-wrapper,
html.ubd-category-ready.ubd-catalog-simple body#category #main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
html.ubd-category-ready.ubd-catalog-simple body#category #footer {
    display: none !important;
}
.ubd-simple-legal {
    display: none;
    width: min(100% - 16px, 1180px);
    margin: 10px auto 0;
    padding: 12px 10px;
    color: var(--ubd-muted);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}
.ubd-simple-legal p { margin: 0 !important; }
.ubd-simple-legal a { color: var(--ubd-teal) !important; text-decoration: none !important; }
html.ubd-category-ready.ubd-catalog-simple body#category .ubd-simple-legal {
    display: block !important;
}
html.ubd-category-ready.ubd-catalog-simple body#category .ubd-catalog-mode-wrap {
    margin-top: 4px !important;
    margin-bottom: 70px !important;
}

.ubd-catalog-bottom-nav {
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}
.ubd-catalog-bottom-nav.ubd-nav-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
@media (max-width: 699px) {
    body#category .ubd-catalog-bottom-nav,
    body#product .ubd-catalog-bottom-nav {
        right: 50% !important;
        left: auto !important;
        width: min(calc(100% - 58px), 390px) !important;
        transform: translateX(50%) !important;
    }
    html.ubd-catalog-simple body#category .ubd-catalog-bottom-nav,
    html.ubd-catalog-simple body#product .ubd-catalog-bottom-nav {
        width: min(calc(100% - 116px), 320px) !important;
        height: 48px !important;
        padding: 4px 6px !important;
        border-radius: 16px !important;
    }
    html.ubd-catalog-simple body#category .ubd-catalog-bottom-nav > *,
    html.ubd-catalog-simple body#product .ubd-catalog-bottom-nav > * {
        height: 38px !important;
        border-radius: 11px !important;
    }
    html.ubd-catalog-simple body#category .ubd-catalog-bottom-nav svg,
    html.ubd-catalog-simple body#product .ubd-catalog-bottom-nav svg {
        width: 20px !important;
        height: 20px !important;
    }
    body#category .ubd-catalog-bottom-nav.ubd-nav-hidden,
    body#product .ubd-catalog-bottom-nav.ubd-nav-hidden {
        transform: translate(50%, 18px) !important;
    }
}
@media (min-width: 700px) {
    body#category .ubd-catalog-bottom-nav.ubd-nav-hidden,
    body#product .ubd-catalog-bottom-nav.ubd-nav-hidden {
        transform: translate(-50%, 18px) !important;
    }
}
