.hipla-addtocart{
    position: relative;
    text-align: center;
    width: 100%;
    top: -.25em;
    padding-top: .475rem;
    min-height: 3.5rem;
    background: #fff;
}
.hipla-addtocart .product-quantity{
    width: 50px;
}
.hipla-addtocart .product-quantity input{
    padding: 10px 2px 12px 5px;
    text-align: center;
    background: #eee;
    border: none;
    height: 42px;
}
.hipla-addtocart .product-quantity input:focus,
.hipla-addtocart .product-quantity input:active{
    outline: none;
}
#products article.product-miniature.js-product-miniature,
article.product-miniature.js-product-miniature{
    margin-bottom: 30px;
}
.hipla-addtocart button.btn-primary,
.hipla__product-attributes-container .btn-primary,
.hipla__select-attributes {
    position: relative;
    padding: 0.5rem 0.75rem;
    text-transform: none;
    max-width: calc(100% - 52px);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
    height: 36px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.15s ease;
}
.hipla-addtocart button.btn-primary:hover,
.hipla__select-attributes:hover {
    transform: translateY(-1px);
}
.hipla-addtocart button.btn-primary:active,
.hipla-addtocart button.btn-primary:focus,
.hipla__select-attributes:active,
.hipla__select-attributes:focus {
    transform: translateY(0);
    outline: none;
    box-shadow: none;
}
.hipla-addtocart-button-wrapper button.btn-primary {
    max-width: 100%;
}
.hipla-addtocart a.btn-primary {
    text-transform: none;
    min-height: 34px;
    height: 34px;
    padding: 0.5rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
    white-space: normal;
}
.hipla-addtocart a.btn-primary:hover {
    transform: translateY(-1px);
}
.hipla-addtocart a.btn-primary:active,
.hipla-addtocart a.btn-primary:focus {
    transform: translateY(0);
    outline: none;
    box-shadow: none;
}
/* Disabled / out-of-stock buttons — dim for a clear disabled cue */
.hipla-addtocart .btn-primary:disabled,
.hipla-addtocart .btn-primary.disabled,
.hipla__product-attributes-container .btn-primary:disabled,
.hipla__product-attributes-container .btn-primary.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.hipla-addtocart button.btn-primary i,
.hipla-addtocart button.btn-primary .hipla-icon,
.hipla-addtocart-button-wrapper button.btn-primary i,
.hipla-addtocart-button-wrapper button.btn-primary .hipla-icon {
    margin: 0;
}
.hipla__select-attributes {
    position: relative;
}
.hipla-loading {
    pointer-events: none;
    color: transparent !important;
}
.hipla-loading > i {
    visibility: hidden;
}
.hipla-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    animation: hipla-button-spin 0.8s linear infinite;
}
@keyframes hipla-button-spin {
    to {
        transform: rotate(360deg);
    }
}
.hipla-addtocart .bootstrap-touchspin input.hi-quantity{
    height: 2.75rem;
    width: 2.5rem;
}
.hipla-addtocart .product-availability,
.hipla__product-attributes-container .product-availability{
    display: none;
}
.hipla-addtocart .product-availability .product-unavailable,
.hipla__product-attributes-container .product-availability .product-unavailable{
    color: #ff9a52;
    width: 1.1em;
    height: 1.1em;
}

/* Soft warning banner (shown by JS as a block when stock is short) */
.hipla__panel-footer .product-availability {
    position: relative;
    margin: 2px 0 0;
    padding: 9px 12px 9px 36px;
    border-radius: var(--hipla-radius-ctrl);
    background: #fff7ed;
    border: 1px solid #f8ddc2;
    color: #b45309;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
}
.hipla__panel-footer .product-availability .product-unavailable {
    position: absolute;
    left: 12px;
    top: 11px;
    width: 16px;
    height: 16px;
    margin: 0;
    color: #f59e0b;
}
.hipla-addtocart input[type=number]::-webkit-inner-spin-button,
.hipla-addtocart input[type=number]::-webkit-outer-spin-button,
.hipla__product-attributes-container input[type=number]::-webkit-inner-spin-button,
.hipla__product-attributes-container input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: auto;
}
.hipla-addtocart input[type=number],
.hipla__product-attributes-container input[type=number] {
  -moz-appearance: auto;
  appearance: none;
}

.hipla-addtocart .product-quantity.product-quantity-oleafoq {
    width: 80%;
}
.hipla-addtocart .product-quantity-oleafoq {
    margin-bottom: 5px;
}
.hipla-addtocart .product-quantity-oleafoq .input-group-addon {
    border: 0;
}

.hipla-addtocart-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 2px;
}

.hipla__product-attributes-container .hipla-addtocart-button-wrapper {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Give the quantity control and the icon-only button a little breathing room. */
.hipla-addtocart-button-wrapper:has(.hi-icon-only) {
    gap: 10px;
}
/* Inside the open attributes panel, also centre them for a balanced layout. */
.hipla__attributes-container .hipla-addtocart-button-wrapper:has(.hi-icon-only) {
    justify-content: center;
    gap: 12px;
}

.hipla__product-attributes-container .hipla-quantity,
.hipla-simple-add-to-cart .hipla-quantity {
    padding: 10px 2px 12px 5px;
    text-align: center;
    background: #eee;
    border: none;
    height: 42px;
}

.hipla__product-attributes-container .hipla-quantity:focus,
.hipla__product-attributes-container .hipla-quantity:active,
.hipla-simple-add-to-cart .hipla-quantity:focus,
.hipla-simple-add-to-cart .hipla-quantity:active {
    outline: none;
}

.hipla__product-attributes-container .hipla-quantity-oleafoq {
    text-align: center;
}

/* ============================================
   "Select Options" panel — design tokens
   Neutral, fixed palette scoped to the module panels.
   ============================================ */
.hipla__attributes-container {
    --hipla-surface: #ffffff;
    --hipla-soft: #f6f7f9;
    --hipla-border: #e6e8eb;
    --hipla-ink: #16191d;
    --hipla-muted: #6b7280;
    --hipla-accent: #111827;
    --hipla-ring: rgba(17, 24, 39, 0.15);
    --hipla-radius: 16px;
    --hipla-radius-ctrl: 10px;
    --hipla-shadow: 0 10px 30px rgba(16, 24, 40, 0.16), 0 2px 8px rgba(16, 24, 40, 0.08);
    color: var(--hipla-ink);
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Inline panel (opens over the product card, slightly
   larger than the card on every side)
   ============================================ */
.hipla__attributes-container {
    position: absolute;
    inset: -14px;
    z-index: 1000;
    display: flex;
    padding: 0;
    box-sizing: border-box;
}
.hipla__attributes-container *,
.hipla__attributes-container *::before,
.hipla__attributes-container *::after {
    box-sizing: border-box;
}

/* Let the panel spill outside the card bounds while open. */
.hipla-panel-host {
    position: relative;
    overflow: visible !important;
    z-index: 5;
}

/* Side flyout placement (set by JS when there is room beside the card). */
.hipla__attributes-container.hipla-side {
    inset: auto;
    top: 0;
    height: auto;
    width: 320px;
    max-width: 90vw;
}
.hipla__attributes-container.hipla-side.hipla-side--right {
    left: 100%;
    right: auto;
    margin-left: 12px;
}
.hipla__attributes-container.hipla-side.hipla-side--left {
    right: 100%;
    left: auto;
    margin-right: 12px;
}
.hipla__attributes-container.hipla-side .hipla__panel {
    max-height: 78vh;
}
.hipla__attributes-container.hipla-side.hipla-side--right .hipla__panel {
    animation-name: hiplaPanelInRight;
}
.hipla__attributes-container.hipla-side.hipla-side--left .hipla__panel {
    animation-name: hiplaPanelInLeft;
}
@keyframes hiplaPanelInRight {
    from { opacity: 0; transform: translateX(-10px) scale(0.98); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes hiplaPanelInLeft {
    from { opacity: 0; transform: translateX(10px) scale(0.98); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* ============================================
   Hover placement — overlay the card bottom, may spill below
   ============================================ */
.hipla-addtocart .hipla-hover-image {
    display: none !important;
}
.hipla-hover-image-host {
    position: relative !important;
    overflow: visible !important;
}
.js-product-miniature:hover,
.product-miniature:hover,
.js-product-miniature:focus-within,
.product-miniature:focus-within,
.js-product-miniature:has(.hipla-hover-image.hipla-open),
.product-miniature:has(.hipla-hover-image.hipla-open),
[data-elementor-type="product-miniature"]:has(.elementor-product-miniature:hover),
[data-elementor-type="product-miniature"]:has(.elementor-product-miniature:focus-within),
[data-elementor-type="product-miniature"]:has(.hipla-hover-image.hipla-open) {
    position: relative;
    z-index: 8;
    overflow: visible;
}
/* The miniature skin sets overflow:hidden on the inner wrap, which cuts off
   a panel that starts under the photo. Release it only while the panel shows. */
[data-elementor-type="product-miniature"]:has(.elementor-product-miniature:hover) > .elementor-section-wrap,
[data-elementor-type="product-miniature"]:has(.elementor-product-miniature:focus-within) > .elementor-section-wrap,
[data-elementor-type="product-miniature"]:has(.hipla-hover-image.hipla-open) > .elementor-section-wrap,
.swiper-slide:has(.elementor-product-miniature:hover),
.swiper-slide:has(.elementor-product-miniature:focus-within),
.swiper-slide:has(.hipla-hover-image.hipla-open) {
    overflow: visible;
}
.js-product:has(.hipla-hover-image-host) {
    overflow: visible;
}
.js-product:has(.product-miniature:hover),
.js-product:has(.product-miniature:focus-within),
.js-product:has(.hipla-hover-image.hipla-open) {
    position: relative;
    z-index: 8;
}
/* Keep an open side/over panel above neighbouring hovered cards.
   Classic wraps cards in .js-product columns; hover/focus-within
   rules on that wrapper are more specific than a single :has(),
   so match them or the later neighbour (also z-index 8) wins. */
.js-product-miniature:has(.hipla-panel-host),
.product-miniature:has(.hipla-panel-host) {
    position: relative;
    z-index: 10;
    overflow: visible;
}
.js-product:has(.hipla-panel-host),
.js-product:has(.product-miniature):has(.hipla-panel-host),
.product:has(.hipla-panel-host) {
    position: relative;
    z-index: 10;
}
.hipla__attributes-container.hipla-hover-image {
    inset: auto auto auto 50%;
    top: auto;
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 6;
    height: auto;
    max-height: none;
    width: 100%;
    min-width: 280px;
    max-width: 90vw;
    display: flex;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.hipla__attributes-container.hipla-hover-image.hipla-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (hover: hover) and (pointer: fine) {
    .js-product-miniature:hover .hipla-hover-image,
    .product-miniature:hover .hipla-hover-image,
    .js-product-miniature:focus-within .hipla-hover-image,
    .product-miniature:focus-within .hipla-hover-image,
    .elementor-product-miniature:hover .hipla-hover-image,
    .elementor-product-miniature:focus-within .hipla-hover-image {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
.hipla-hover-image .hipla__panel {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.16), 0 2px 8px rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--hipla-border);
    animation: none;
    max-height: 80vh;
}
.hipla-hover-image .hipla__panel-header {
    display: none;
}
.hipla-hover-image.hipla-touch-pinned .hipla__panel-header {
    display: flex;
    padding: 6px 8px 0;
    border-bottom: 0;
    background: transparent;
    justify-content: flex-end;
}
.hipla-hover-image.hipla-touch-pinned .hipla__panel-title {
    display: none;
}
@media (hover: none), (pointer: coarse) {
    .hipla-hover-image .hipla__panel-header {
        display: flex;
        padding: 6px 8px 0;
        border-bottom: 0;
        background: transparent;
        justify-content: flex-end;
    }
    .hipla-hover-image .hipla__panel-title {
        display: none;
    }
    .hipla__attributes-container.hipla-hover-image {
        transition: none;
    }
}
.hipla-hover-image .hipla__footer-price .price {
    font-size: 17px;
}
.hipla-hover-image .hipla__panel-body {
    padding: 10px 12px 6px;
}
.hipla-hover-image .hipla__panel-footer {
    padding: 8px 12px 12px;
    border-top: 0;
    background: transparent;
    gap: 8px;
}
.hipla-hover-image .hipla__attribute-group-container {
    margin-bottom: 10px;
}
.hipla-hover-image .hipla__attribute-group-name {
    margin-bottom: 5px;
    font-size: 11px;
}
.hipla-hover-image .hipla__attribute-group-item select,
.hipla-hover-image .hipla__dropdown-trigger {
    height: 34px;
    line-height: 34px;
    font-size: 13px;
}
.hipla-hover-image .hipla__attribute-block-color {
    gap: 8px;
}
.hipla-hover-image .hipla__attribute-item-color {
    width: 26px;
    height: 26px;
}
.hipla-hover-image .hipla__radio-text {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 12px;
}
.hipla-hover-image .hipla__panel-body .hipla-quantity-discounts {
    margin-top: 8px;
}
.hipla-hover-simple .hipla__panel-body:not(:has(.hipla-quantity-discounts)):not(:has(.hipla-overlay__buy)) {
    display: none;
    padding: 0;
}

@media (hover: hover) and (pointer: fine) {
    .hipla-placement-hover-image {
        display: none;
    }
}

.hipla__panel {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
    background: var(--hipla-surface);
    border: 1px solid var(--hipla-border);
    border-radius: var(--hipla-radius);
    box-shadow: var(--hipla-shadow);
    overflow: hidden;
    animation: hiplaPanelIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hipla__panel > .hipla__dynamic-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

@keyframes hiplaPanelIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   Panel header
   ============================================ */
.hipla__panel-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--hipla-border);
    background: var(--hipla-surface);
}
.hipla__panel-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hipla-muted);
    line-height: 1.2;
}
.hipla__close-attributes-container {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--hipla-soft);
    color: var(--hipla-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.hipla__close-attributes-container:hover {
    background: #ececef;
    color: var(--hipla-ink);
}
.hipla__close-attributes-container:active {
    transform: scale(0.92);
}
.hipla__close-attributes-container:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--hipla-ring);
}

/* ============================================
   Panel body (scrollable) + footer (sticky)
   ============================================ */
.hipla__attributes-container .hipla__product-attributes-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.hipla__panel-form {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
}
.hipla__panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px;
    overscroll-behavior: contain;
}
.hipla__panel-body::-webkit-scrollbar {
    width: 8px;
}
.hipla__panel-body::-webkit-scrollbar-thumb {
    background: #d8dbdf;
    border-radius: 8px;
    border: 2px solid var(--hipla-surface);
}
.hipla__panel-body::-webkit-scrollbar-thumb:hover {
    background: #c3c7cd;
}
.hipla__panel-footer {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid var(--hipla-border);
    background: var(--hipla-surface);
}
.hipla__panel-footer .hipla-addtocart-button-wrapper {
    margin-top: 0;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
}
.hipla__footer-price {
    line-height: 1.2;
}
.hipla__footer-price .product-price-and-shipping {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.hipla__footer-price .price {
    font-size: 19px;
    font-weight: 700;
    color: var(--hipla-ink);
}
.hipla__footer-price .regular-price {
    font-size: 13px;
    color: var(--hipla-muted);
    text-decoration: line-through;
}
.hipla__footer-price .discount-product,
.hipla-card-discount {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fdecec;
    color: #c0392b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

/* ============================================
   Quantity / volume discounts
   ============================================ */
.hipla-simple-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 8px 0 0;
    font-size: 13px;
}
.hipla-simple-price[hidden] {
    display: none !important;
}
.hipla-simple-price .product-price-and-shipping {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}
.hipla-simple-price .price {
    font-weight: 700;
}
.hipla-quantity-discounts {
    margin-top: 10px;
    padding: 4px;
    border: 1px solid var(--hipla-border, #e6e8eb);
    border-radius: 8px;
    background: var(--hipla-soft, #f6f7f9);
}
.hipla-discount-tiers {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
}
.hipla-discount-tier {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    flex: 1 1 auto;
    justify-content: center;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 6px;
}
.hipla-discount-tier + .hipla-discount-tier {
    box-shadow: inset 1px 0 0 var(--hipla-border, #e6e8eb);
}
.hipla-discount-tier__qty {
    font-size: 11px;
    font-weight: 600;
    color: var(--hipla-muted, #6b7280);
}
.hipla-discount-tier__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--hipla-ink, #16191d);
}
.hipla-discount-tier.hipla-discount-active {
    background: #fff;
    box-shadow: 0 0 0 1px var(--hipla-border, #e6e8eb);
}
.hipla-discount-tier.hipla-discount-active .hipla-discount-tier__qty {
    color: var(--hipla-ink, #16191d);
}
.hipla-discount-tier.hipla-discount-active .hipla-discount-tier__price {
    font-weight: 700;
}
.hipla-discount-tiers--interactive .hipla-discount-tier {
    cursor: pointer;
}
.hipla-discount-tiers--interactive .hipla-discount-tier:hover,
.hipla-discount-tiers--interactive .hipla-discount-tier:focus {
    background: #fff;
    outline: none;
}
.hipla-discount-tiers--interactive .hipla-discount-tier:focus-visible {
    box-shadow: 0 0 0 3px var(--hipla-ring, rgba(17, 24, 39, 0.15));
}
.hipla-addtocart > .hipla-quantity-discounts,
.hipla-simple-add-to-cart .hipla-quantity-discounts {
    text-align: center;
}
.hipla-addtocart > .hipla-quantity-discounts .hipla-discount-tiers,
.hipla-simple-add-to-cart .hipla-discount-tiers {
    justify-content: center;
}
.hipla__panel-body .hipla-quantity-discounts {
    margin-top: 14px;
}

/* ============================================
   Attribute groups
   ============================================ */
.hipla__attribute-group-container {
    margin-bottom: 16px;
}
.hipla__attribute-group-container:last-child {
    margin-bottom: 0;
}
.hipla__attribute-group-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--hipla-muted);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

/* Styled select with chevron */
.hipla__select-wrap {
    position: relative;
    display: block;
}
.hipla__attributes-container .hipla__attribute-group-item select {
    width: 100%;
    height: 42px;
    padding: 0 40px 0 12px;
    border: 1px solid var(--hipla-border);
    border-radius: var(--hipla-radius-ctrl);
    background: var(--hipla-surface);
    color: var(--hipla-ink);
    font-size: 14px;
    line-height: 42px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hipla__attributes-container .hipla__attribute-group-item select:hover {
    border-color: #cfd3d8;
}
.hipla__attributes-container .hipla__attribute-group-item select:focus {
    outline: none;
    border-color: var(--hipla-accent);
    box-shadow: 0 0 0 3px var(--hipla-ring);
}
.hipla__select-chevron {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--hipla-muted);
    pointer-events: none;
}
.hipla__select-chevron svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Custom dropdown (progressive enhancement).
   The native <select> stays in the DOM as the source of truth for AJAX + add-to-cart;
   on non-touch devices it is visually hidden and a styled trigger + body-portaled
   listbox are rendered on top. Touch devices keep the native picker. */
.hipla__select-wrap--custom > select.hipla__attribute-dropdown {
    /* Fully removed from layout: it stays in the DOM purely as the form/AJAX value
       holder (a display:none <select> still submits and works with .val()/.serialize()).
       Hiding it any other way lets the theme's .form-control min-height leak into the
       flyout height and produce a phantom scrollbar. */
    display: none !important;
}
.hipla__dropdown-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    padding: 0 40px 0 12px;
    border: 1px solid var(--hipla-border);
    border-radius: var(--hipla-radius-ctrl);
    background: var(--hipla-surface);
    color: var(--hipla-ink);
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hipla__dropdown-trigger:hover {
    border-color: #cfd3d8;
}
.hipla__dropdown-trigger:focus-visible,
.hipla__select-wrap--custom.is-open .hipla__dropdown-trigger {
    outline: none;
    border-color: var(--hipla-accent);
    box-shadow: 0 0 0 3px var(--hipla-ring);
}
.hipla__dropdown-value {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.hipla__select-wrap--custom .hipla__select-chevron {
    transition: transform 0.18s ease;
}
.hipla__select-wrap--custom.is-open .hipla__select-chevron {
    transform: translateY(-50%) rotate(180deg);
}

/* Portaled listbox (appended to <body>, so it uses literal palette values). */
.hipla__dropdown-list {
    position: fixed;
    z-index: 99999;
    margin: 0;
    padding: 5px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.18), 0 3px 10px rgba(16, 24, 40, 0.1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    color: #16191d;
    font-size: 14px;
    box-sizing: border-box;
    animation: hiplaDropdownIn 0.14s ease;
}
@keyframes hiplaDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hipla__dropdown-list::-webkit-scrollbar {
    width: 8px;
}
.hipla__dropdown-list::-webkit-scrollbar-thumb {
    background: #d8dbdf;
    border-radius: 8px;
    border: 2px solid #ffffff;
}
.hipla__dropdown-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.3;
    color: #16191d;
    transition: background-color 0.12s ease;
}
.hipla__dropdown-option.is-active {
    background: #f6f7f9;
}
.hipla__dropdown-option[aria-selected="true"] {
    font-weight: 600;
}
.hipla__dropdown-option[aria-selected="true"]::after {
    content: "";
    margin-left: auto;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

/* Color swatches */
.hipla__attribute-block-color,
.hipla__attribute-block-radio {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hipla__attribute-block-color {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hipla__attribute-block-color li {
    position: relative;
    border: 0;
    border-radius: 50%;
    overflow: visible;
    line-height: 0;
}
.hipla__attribute-item-color {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease;
}
.hipla__attribute-item-color:hover {
    transform: scale(1.06);
}
.hipla__attribute-item-color img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hipla__attribute-item-color--photo {
    padding: 2px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #bac5d4;
}
.hipla__attribute-item-color--photo img {
    object-fit: contain;
    border-radius: 50%;
}
.hipla__attribute-color-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.hipla__attribute-color-check svg {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.6));
}
.hipla__attribute-color-selected .hipla__attribute-item-color {
    outline: 2px solid var(--hipla-accent);
    outline-offset: 2px;
}
.hipla__attribute-color-selected .hipla__attribute-color-check {
    opacity: 1;
    transform: scale(1);
}

/* Radio pills */
.hipla__attribute-block-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hipla__radio-pill {
    margin: 0;
}
.hipla__radio-label {
    position: relative;
    display: inline-flex;
    margin: 0;
    cursor: pointer;
}
.hipla__radio-label input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}
.hipla__radio-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 15px;
    border: 1px solid var(--hipla-border);
    border-radius: var(--hipla-radius-ctrl);
    background: var(--hipla-surface);
    color: var(--hipla-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.hipla__radio-label:hover .hipla__radio-text {
    border-color: #b6bbc2;
}
.hipla__radio-label input:checked + .hipla__radio-text {
    background: var(--hipla-accent);
    border-color: var(--hipla-accent);
    color: #ffffff;
}
.hipla__radio-label input:focus-visible + .hipla__radio-text {
    box-shadow: 0 0 0 3px var(--hipla-ring);
}

/* Larger tap targets on touch/mobile viewports */
@media (max-width: 767px) {
    .hipla__attributes-container {
        padding: 6px;
    }
    .hipla__panel-body {
        padding: 12px;
    }
    .hipla__attribute-item-color {
        width: 38px;
        height: 38px;
    }
    .hipla__attribute-block-color {
        gap: 14px;
    }
    .hipla__radio-text {
        min-height: 42px;
        padding: 8px 16px;
        font-size: 14px;
    }
    .hipla__attributes-container .hipla__attribute-group-item select {
        height: 46px;
        line-height: 46px;
        font-size: 15px;
    }
}

.hipla__product-attributes-container .product-quantity {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

.hipla__product-attributes-container .product-quantity .hipla-quantity,
.hipla__product-attributes-container .product-quantity .hi-quantity {
    width: 100%;
}

.hipla__product-attributes-container .product-quantity.product-quantity-oleafoq {
    width: auto;
    flex: 1;
}

.hipla__product-attributes-container .hipla-add-to-cart {
    margin-top: 0;
    flex: 1;
}

.hipla__dynamic-content {
    width: 100%;
}

.hipla__attributes-loading {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 34px 16px;
    text-align: center;
    color: var(--hipla-muted, #6b7280);
    font-size: 0.9rem;
}
.hipla__spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2.5px solid var(--hipla-border, #e6e8eb);
    border-top-color: var(--hipla-accent, #111827);
    animation: hipla-btn-spin 0.7s linear infinite;
}

.hipla-is-loading .hipla__dynamic-content {
    opacity: 0.5;
}

/* ============================================
   Customization fields inside the options panel
   ============================================ */
.hipla-customization {
    margin: 0;
}
.hipla-customization:not(:last-child) {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hipla-border);
}
.hipla-customization__title {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hipla-muted);
}
.hipla-customization__hint {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--hipla-muted);
}
.hipla-customization__list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}
.hipla-customization__item {
    margin-bottom: 14px;
}
.hipla-customization__item:last-child {
    margin-bottom: 0;
}
.hipla-customization__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--hipla-ink);
    margin-bottom: 6px;
}
.hipla-customization__required {
    margin-left: 0.15em;
    color: #c0392b;
}
.hipla-customization__textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid var(--hipla-border);
    border-radius: var(--hipla-radius-ctrl);
    background: var(--hipla-surface);
    color: var(--hipla-ink);
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hipla-customization__textarea:focus {
    outline: none;
    border-color: var(--hipla-accent);
    box-shadow: 0 0 0 3px var(--hipla-ring);
}
.hipla-customization__note {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--hipla-muted);
}
.hipla-customization__saved {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
}
.hipla-customization__saved-label {
    color: var(--hipla-muted);
}
.hipla-customization__saved-value {
    font-weight: 600;
    color: var(--hipla-ink);
}
.hipla-customization__preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.hipla-customization__preview img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--hipla-border);
}
.hipla-customization__remove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hipla-muted);
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.hipla-customization__remove:hover {
    color: var(--hipla-ink);
}
.hipla-customization__remove .hipla-icon {
    width: 14px;
    height: 14px;
}
.hipla-customization__file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}
.hipla-customization__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.hipla-customization__file-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--hipla-border);
    border-radius: 8px;
    background: var(--hipla-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--hipla-ink);
}
.hipla-customization__file-name {
    overflow: hidden;
    color: var(--hipla-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hipla-customization__file-input:focus-visible + .hipla-customization__file-btn {
    box-shadow: 0 0 0 3px var(--hipla-ring);
}
.hipla-customization__save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    padding: 10px 16px;
    border: 1px solid var(--hipla-border);
    border-radius: var(--hipla-radius-ctrl);
    background: var(--hipla-surface);
    color: var(--hipla-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.05s ease;
}
.hipla-customization__save:hover {
    background: var(--hipla-soft);
}
.hipla-customization__save:active {
    transform: translateY(1px);
}

.hipla-simple-add-to-cart {
    position: relative;
    text-align: center;
    width: 100%;
    top: -.25em;
    padding-top: .475rem;
    min-height: 3.5rem;
    background: #fff;
}

/* ============================================
   Inline SVG icons — inherit color via currentColor
   ============================================ */
.hipla-icon {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -0.18em;
    line-height: 1;
    pointer-events: none;
}
.hipla-icon path,
.hipla-icon circle,
.hipla-icon line {
    vector-effect: non-scaling-stroke;
}
.hipla__close-attributes-container .hipla-icon {
    width: 18px;
    height: 18px;
}

/* ============================================
   Add-to-Cart button — Loading / Success states
   ============================================ */
.hi-btn-content {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s ease;
}
.hi-btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hipla-btn-spin 0.6s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
}
@keyframes hipla-btn-spin {
    to { transform: rotate(360deg); }
}
.hipla-addtocart button.btn-primary.hipla-btn-loading,
.hipla__product-attributes-container .btn-primary.hipla-btn-loading {
    pointer-events: none;
    opacity: 0.85;
}
.hipla-addtocart button.btn-primary.hipla-btn-loading .hi-btn-content,
.hipla__product-attributes-container .btn-primary.hipla-btn-loading .hi-btn-content {
    opacity: 0;
}
.hipla-addtocart button.btn-primary.hipla-btn-loading .hi-btn-spinner,
.hipla__product-attributes-container .btn-primary.hipla-btn-loading .hi-btn-spinner {
    display: block;
}
.hipla-addtocart button.btn-primary.hipla-btn-success,
.hipla__product-attributes-container .btn-primary.hipla-btn-success {
    pointer-events: none;
}
.hipla-addtocart button.btn-primary.hipla-btn-success .hi-btn-content,
.hipla__product-attributes-container .btn-primary.hipla-btn-success .hi-btn-content {
    opacity: 0;
}
.hipla-addtocart button.btn-primary.hipla-btn-success::after,
.hipla__product-attributes-container .btn-primary.hipla-btn-success::after {
    content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2013l4%204L19%207'/%3E%3C/svg%3E");
    display: inline-flex;
    line-height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ============================================
   Quantity stepper (+/-) UI
   ============================================ */
.hipla-addtocart-button-wrapper .product-quantity.hi-quantity-wrapper,
.hipla__product-attributes-container .product-quantity.hi-quantity-wrapper {
    width: auto !important;
    max-width: none !important;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    border-radius: 6px;
    overflow: visible !important;
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 0 !important;
    transition: border-color 0.2s ease;
}
.hi-quantity-wrapper > * {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}
.hi-quantity-wrapper:hover {
    border-color: #d0d0d0;
}
.hi-qty-btn {
    flex: 0 0 28px !important;
    height: 36px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: #f5f5f5 !important;
    color: #555 !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.hi-qty-btn:hover {
    background: #e8e8e8 !important;
    color: #222 !important;
}
.hi-qty-btn:active {
    background: #ddd;
    transform: scale(0.92);
}
.hi-qty-btn:focus {
    outline: none;
}
.hi-qty-btn.disabled,
.hi-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background: #f9f9f9;
}
.hi-qty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
}
.hi-qty-down {
    border-right: 1px solid #e0e0e0;
    border-radius: 6px 0 0 6px;
}
.hi-qty-up {
    border-left: 1px solid #e0e0e0;
    border-radius: 0 6px 6px 0;
}
.hi-quantity-wrapper input.hipla-quantity,
.hi-quantity-wrapper input.hi-quantity {
    flex: 0 0 auto;
    width: 40px !important;
    height: 36px !important;
    padding: 4px 2px !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.hi-quantity-wrapper input.hipla-quantity::-webkit-inner-spin-button,
.hi-quantity-wrapper input.hipla-quantity::-webkit-outer-spin-button,
.hi-quantity-wrapper input.hi-quantity::-webkit-inner-spin-button,
.hi-quantity-wrapper input.hi-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.hi-quantity-wrapper input.hipla-quantity:focus,
.hi-quantity-wrapper input.hi-quantity:focus {
    outline: none;
    background: #f8f9fa !important;
}

/* ============================================
   Icon-only Add-to-Cart button (circular)
   ============================================ */
.hipla-addtocart button.btn-primary.hi-icon-only,
.hipla__product-attributes-container .btn-primary.hi-icon-only {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    flex: 0 0 38px !important;
    border-radius: 50%;
    border: none;
    position: relative;
    overflow: hidden;
}
.hipla-addtocart button.btn-primary.hi-icon-only::before,
.hipla__product-attributes-container .btn-primary.hi-icon-only::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: inherit;
    pointer-events: none;
}
.hipla-addtocart button.btn-primary.hi-icon-only .hipla-icon,
.hipla__product-attributes-container .btn-primary.hi-icon-only .hipla-icon {
    width: 20px;
    height: 20px;
    margin: 0;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}
.hipla-addtocart button.btn-primary.hi-icon-only:hover,
.hipla__product-attributes-container .btn-primary.hi-icon-only:hover {
    transform: translateY(-2px);
}
.hipla-addtocart button.btn-primary.hi-icon-only:hover .hipla-icon,
.hipla__product-attributes-container .btn-primary.hi-icon-only:hover .hipla-icon {
    transform: scale(1.1);
}
.hipla-addtocart button.btn-primary.hi-icon-only:active,
.hipla-addtocart button.btn-primary.hi-icon-only:focus,
.hipla__product-attributes-container .btn-primary.hi-icon-only:active,
.hipla__product-attributes-container .btn-primary.hi-icon-only:focus {
    transform: translateY(0) scale(0.95);
    outline: none;
    box-shadow: none;
}

/* ============================================
   Add-to-Cart Animations Library
   ============================================ */
.hipla-sparkles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 99999;
    overflow: visible;
}
.hipla-sparkle {
    will-change: transform, opacity;
}
.hipla-fly-to-cart {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    border-radius: 12px;
    overflow: visible;
    will-change: transform, width, height, opacity;
    transform-origin: center center;
}
.hipla-fly-to-cart-ring {
    position: absolute;
    inset: -6px;
    border-radius: 16px;
    border: 3px solid rgba(47, 181, 210, 0.55);
    box-shadow: 0 0 0 4px rgba(47, 181, 210, 0.12), 0 12px 32px rgba(0, 0, 0, 0.22);
    animation: hiplaFlyRingPulse 0.35s ease-out;
    pointer-events: none;
}
@keyframes hiplaFlyRingPulse {
    0% { transform: scale(0.85); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}
.hipla-fly-to-cart-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
}
.hipla-fly-to-cart-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 767px) {
    .hipla-fly-to-cart {
        border-radius: 10px;
    }
    .hipla-fly-to-cart-img {
        border-radius: 10px;
    }
}

.hipla-card-swatches-hidden {
    display: none !important;
}
.hipla-second-image-hidden {
    display: none !important;
}
.hipla-stock {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}
.ce-product-variants__pattern.hipla-card-swatch-selected,
.variant-links a.hipla-card-swatch-selected {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}
.hipla-price-from-label {
    font-weight: 500;
}
/* CE's widget wrap is a flex row that only stretches .elementor-element children.
   The slot must take a full row whether it lives inside the variants widget or as
   a leftover sibling of that wrap. */
[data-elementor-type="product-miniature"] .elementor-widget-wrap > .hipla-card-attributes {
    flex: 0 0 100%;
    align-self: stretch;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0;
    text-align: center;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__attribute-group-name {
    display: none;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__attribute-group-container {
    width: 100%;
    margin: 0;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__attribute-block-radio,
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__attribute-group-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 8px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla-card-attribute-single,
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla-attr-group-empty,
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla-attr-unavailable {
    display: none !important;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__radio-pill {
    margin: 0;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__radio-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    cursor: pointer;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__attribute-item-radio {
    position: static;
    opacity: 1;
    width: 16px;
    height: 16px;
    margin: 0;
    pointer-events: auto;
    accent-color: #ef8f2e;
}
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__radio-text,
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__radio-label:hover .hipla__radio-text,
[data-elementor-type="product-miniature"] .hipla-card-attributes .hipla__radio-label input:checked + .hipla__radio-text {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #676e7b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none;
}
[data-elementor-type="product-miniature"] .hipla-hover-image .hipla-add-to-cart:not(.hipla-overlay__cart),
[data-elementor-type="product-miniature"] .hipla-hover-image .add-to-cart,
[data-elementor-type="product-miniature"] .hipla-hover-image .hipla__footer-price,
[data-elementor-type="product-miniature"] .hipla-hover-image .hipla__panel-header,
[data-elementor-type="product-miniature"] .hipla-hover-image .hipla__attribute-group-container,
[data-elementor-type="product-miniature"] .hipla-hover-image .product-availability {
    display: none !important;
}
[data-elementor-type="product-miniature"] .hipla-ce-hook {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
}

[data-elementor-type="product-miniature"] .hipla-placement-hover-image {
    display: none !important;
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
}
.elementor-image.hipla-hover-image-host {
    position: relative !important;
    /* Above the card radio row (z-index 2) so the panel covers those options. */
    z-index: 4;
    overflow: visible;
}
.elementor-image.hipla-hover-image-host > .hipla-image-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.elementor-image .hipla__attributes-container.hipla-hover-image {
    left: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: translateY(8px);
}
.elementor-image .hipla__attributes-container.hipla-hover-image.hipla-open {
    transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
    /* The product link covers the name and price, so a hover there still
       matches the miniature. Keep the panel closed unless the pointer is on
       the photo. The panel is inside the photo, so it stays open while used. */
    .elementor-product-miniature:hover .elementor-image .hipla-hover-image,
    .elementor-product-miniature:focus-within .elementor-image .hipla-hover-image {
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        transform: translateY(8px);
    }
    .elementor-product-miniature:has(.elementor-image:hover) .elementor-image .hipla-hover-image,
    .elementor-product-miniature:has(.elementor-image:focus-within) .elementor-image .hipla-hover-image {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}
.elementor-image .hipla-hover-image .hipla__panel {
    border-radius: 0;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, 0.96);
}
[data-elementor-type="product-miniature"] .elementor-widget-button .elementor-button {
    background: #ef8f2e;
    border-color: #ef8f2e;
    color: #fff;
}
[data-elementor-type="product-miniature"] .elementor-widget-button .elementor-button:hover,
[data-elementor-type="product-miniature"] .elementor-widget-button .elementor-button:focus-visible,
[data-elementor-type="product-miniature"] .elementor-widget-button .elementor-button:active {
    --ce-btn-bg-color: #cabca8;
    background: #cabca8;
    border-color: #cabca8;
    color: #fff;
}
[data-elementor-type="product-miniature"] .hipla-qv-button .elementor-button-content-wrapper {
    align-items: center;
    justify-content: center;
    gap: 6px;
}
[data-elementor-type="product-miniature"] .hipla-qv-button .hipla-qv-icon {
    display: inline-flex;
    margin: 0;
    font-size: 1.15em;
    line-height: 1;
}
[data-elementor-type="product-miniature"] .hipla-stock {
    color: #676e7b;
    font-family: Poppins, sans-serif;
}
[data-elementor-type="product-miniature"] .hipla-discount-tier.hipla-discount-active {
    border-color: #ef8f2e;
    color: #ef8f2e;
}
/* Card swatches mirror the product page variants widget: product photo inside a
   white circle, thicker grey border when selected. The !important sizes beat the
   CE miniature widget rule (.elementor-14170101 ... { width: 30px }). */
[data-elementor-type="product-miniature"] .ce-product-variants__pattern {
    width: 36px !important;
    height: 36px !important;
    box-sizing: border-box;
}
[data-elementor-type="product-miniature"] .ce-product-variants__texture {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
[data-elementor-type="product-miniature"] .ce-product-variants__pattern.hipla-card-swatch-selected {
    border-color: #7e9195 !important;
    border-width: 3px !important;
    padding: 1px !important;
    box-shadow: none;
}
[data-elementor-type="product-miniature"] .hipla-price-from-label {
    font-weight: 500;
    margin-right: 0.25em;
}

/* ============================================
   Hover overlay (hover_image placement): stock + beige "- 1 + / bag" pill,
   then one clickable pill per volume tier with its unit price.
   ============================================ */
.hipla-hover-image .hipla__panel:has(> .hipla__dynamic-content > .hipla-overlay),
.elementor-image .hipla-hover-image .hipla__panel:has(> .hipla__dynamic-content > .hipla-overlay) {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
/* Start a few pixels over the photo. The overlay's own margin would otherwise
   leave a gap, and crossing that gap drops the hover before the panel is reached. */
.elementor-image .hipla__attributes-container.hipla-hover-image:has(.hipla-overlay) {
    top: calc(100% - 14px);
    bottom: auto;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    pointer-events: none;
}
.elementor-image .hipla-hover-image:has(.hipla-overlay) .hipla__panel,
.elementor-image .hipla-hover-image:has(.hipla-overlay) .hipla__dynamic-content,
.elementor-image .hipla-hover-image .hipla-overlay {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.elementor-image .hipla-hover-image .hipla-overlay {
    pointer-events: auto;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
}
.hipla-overlay {
    margin: 8px;
    border: 2px solid #cabca8;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    color: #676e7b;
    font-family: Poppins, sans-serif;
}
.hipla-hover-image .hipla-overlay .hipla__panel-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
}
.hipla-overlay .hipla-overlay__form {
    top: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
}
.hipla-overlay__buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 8px;
}
.hipla-overlay__stock {
    min-width: 0;
}
.hipla-overlay .hipla-stock,
[data-elementor-type="product-miniature"] .hipla-overlay .hipla-stock {
    margin: 0;
    color: #676e7b;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.hipla-overlay__pill {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 2px;
    margin-left: auto;
    padding: 0 4px 0 6px;
    border-radius: 999px;
    background: #cabca8;
}
.hipla-overlay__pill .product-quantity.hi-quantity-wrapper,
.hipla-overlay__pill .product-quantity {
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
}
.hipla-overlay__pill .hi-quantity-wrapper:hover {
    border-color: transparent;
}
.hipla-overlay__pill .hi-qty-btn {
    flex: 0 0 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 30px !important;
    background: transparent !important;
    color: #676e7b !important;
    font-size: 16px !important;
    border-radius: 999px !important;
}
.hipla-overlay__pill .hi-qty-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    color: #676e7b !important;
}
.hipla-overlay__pill .hi-quantity-wrapper input.hipla-quantity,
.hipla-overlay__pill .hi-quantity-wrapper input.hipla-quantity:focus {
    width: 28px !important;
    height: 30px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #676e7b;
    font-size: 14px;
    font-weight: 700;
}
.hipla-overlay__pill .product-quantity-oleafoq .input-group-addon {
    font-size: 11px;
    white-space: nowrap;
}
.hipla-overlay .hipla-overlay__cart,
.hipla__product-attributes-container .hipla-overlay__cart {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    min-width: 0;
    height: 30px;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    box-shadow: none !important;
    color: #16191d !important;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.hipla-overlay .hipla-overlay__cart .hi-btn-content {
    display: inline-flex;
}
.hipla-overlay .hipla-overlay__cart .ceicon-bag-rounded-o {
    font-size: 24px;
    line-height: 1;
}
.hipla-overlay .hipla-overlay__cart:hover,
.hipla-overlay .hipla-overlay__cart:focus-visible {
    background: rgba(255, 255, 255, 0.4) !important;
    color: #ef8f2e !important;
    outline: none;
}
.hipla-overlay .hipla-overlay__cart:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.hipla-overlay .hipla-overlay__cart.hipla-btn-loading,
.hipla-overlay .hipla-overlay__cart.hipla-btn-success {
    pointer-events: none;
}
.hipla-overlay .hipla-overlay__cart.hipla-btn-loading .hi-btn-content,
.hipla-overlay .hipla-overlay__cart.hipla-btn-success .hi-btn-content {
    opacity: 0;
}
.hipla-overlay .hipla-overlay__cart.hipla-btn-loading .hi-btn-spinner {
    display: block;
    border-color: rgba(22, 25, 29, 0.25);
    border-top-color: #16191d;
}
.hipla-overlay .hipla-overlay__cart.hipla-btn-success::after {
    content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2316191d'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2013l4%204L19%207'/%3E%3C/svg%3E");
    position: absolute;
    top: 50%;
    left: 50%;
    line-height: 0;
    transform: translate(-50%, -50%);
}
.hipla-overlay__tiers:not(:has(*)) {
    display: none;
}
.hipla-overlay .hipla-quantity-discounts,
.hipla-hover-image .hipla-overlay .hipla__panel-body .hipla-quantity-discounts {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
}
.hipla-discount-tiers--list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}
.hipla-discount-row {
    display: grid;
    grid-template-columns: minmax(64px, 46%) 1fr;
    align-items: center;
    gap: 12px;
}
.hipla-discount-tiers--list .hipla-discount-tier {
    flex: none;
    justify-content: center;
    min-height: 24px;
    padding: 3px 12px;
    border: 0;
    border-radius: 999px;
    background: #cabca8;
    box-shadow: none;
    color: #676e7b;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.hipla-discount-tiers--list .hipla-discount-tier__qty,
.hipla-discount-tiers--list .hipla-discount-tier.hipla-discount-active .hipla-discount-tier__qty {
    color: #676e7b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.hipla-discount-tiers--list .hipla-discount-tier__price {
    color: #676e7b;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.hipla-discount-tiers--list .hipla-discount-tier:hover,
.hipla-discount-tiers--list .hipla-discount-tier:focus-visible,
.hipla-discount-tiers--list .hipla-discount-tier:active {
    background: #ef8f2e;
    box-shadow: none;
    color: #fff;
    outline: none;
}
.hipla-discount-tiers--list .hipla-discount-tier.hipla-discount-active,
[data-elementor-type="product-miniature"] .hipla-discount-tiers--list .hipla-discount-tier.hipla-discount-active {
    background: #cabca8;
    box-shadow: inset 0 0 0 2px #ef8f2e;
    color: #676e7b;
}
.hipla-discount-tiers--list .hipla-discount-tier.hipla-discount-active:hover,
.hipla-discount-tiers--list .hipla-discount-tier.hipla-discount-active:focus-visible {
    background: #ef8f2e;
    color: #fff;
}
.hipla-discount-tiers--list .hipla-discount-tier.hipla-btn-loading {
    pointer-events: none;
    opacity: 0.7;
}
.hipla-discount-tiers--list .hipla-discount-tier.hipla-btn-success {
    background: #ef8f2e;
    color: #fff;
}
.hipla-discount-tiers--list .hipla-discount-tier:disabled,
.hipla-discount-tiers--list .hipla-discount-tier:disabled:hover {
    background: #cabca8;
    box-shadow: none;
    color: #676e7b;
    opacity: 0.45;
    cursor: not-allowed;
}