/* HVC Flatsome Product Page Layout */

body.hvc-fpp-active.single-product {
    background: #f5f6fa;
}

body.hvc-fpp-active.single-product .page-title,
body.hvc-fpp-active.single-product .shop-page-title,
body.hvc-fpp-active.single-product .woocommerce-breadcrumb,
body.hvc-fpp-active.single-product .product-info .breadcrumbs {
    display: none !important;
}

.hvc-product-page,
.hvc-product-page * {
    box-sizing: border-box;
}

.hvc-product-page {
    width: 100%;
    background: #f5f6fa;
    padding: 38px 0 70px;
    color: #111111;
}

.hvc-product-notices,
.hvc-after-product-summary {
    width: min(100% - 56px, 1320px);
    margin: 0 auto;
}

.hvc-product-shell {
    width: min(100% - 56px, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.hvc-product-shell::before,
.hvc-product-shell::after {
    display: none !important;
    content: none !important;
}

.hvc-gallery-card,
.hvc-summary-card {
    border-radius: 8px;
}

.hvc-gallery-card {
    background: #ffffff;
    padding: 28px;
    min-height: 760px;
}

.hvc-main-image-box {
    width: 100%;
    height: 578px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hvc-main-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    outline: none;
    cursor: default !important;
    pointer-events: none !important;
}

.hvc-main-product-image {
    width: 88%;
    height: 88%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.hvc-thumbnail-row {
    display: flex;
    gap: 38px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 38px;
    flex-wrap: wrap;
}

.hvc-thumb {
    width: 124px;
    height: 124px;
    border: 2px solid transparent;
    background: #f3f3f3;
    border-radius: 2px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.hvc-thumb:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.hvc-thumb.is-active {
    border-color: #ffdf67;
    background: #ffe783;
}

.hvc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hvc-summary-card {
    background: #f1f1f1;
    padding: 36px 34px 48px;
    min-height: 760px;
}

.hvc-trust-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #4b5563;
    margin-bottom: 18px;
}

.hvc-trust-icon {
    line-height: 1;
    font-size: 16px;
}

.hvc-product-title {
    margin: 0 0 22px !important;
    padding: 0 !important;
    font-size: clamp(38px, 4.05vw, 56px) !important;
    line-height: .98 !important;
    letter-spacing: -2.2px;
    font-weight: 950 !important;
    color: #0d0d0d !important;
    text-transform: none !important;
}

.hvc-price-stock-row {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    margin: 0 0 8px;
}

.hvc-price {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: #ef4444;
    line-height: 1;
    font-weight: 900;
}

.hvc-price-current,
.hvc-price-current .amount,
.hvc-price-current .woocommerce-Price-amount,
.hvc-price-current .woocommerce-Price-amount bdi {
    color: #ef4444 !important;
    font-weight: 950 !important;
    font-size: 27px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.hvc-price-regular,
.hvc-price-regular .amount,
.hvc-price-regular .woocommerce-Price-amount,
.hvc-price-regular .woocommerce-Price-amount bdi {
    color: #7b7f86 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #7b7f86 !important;
}

.hvc-sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 20px;
    border-radius: 999px;
    background: #f05a60;
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: none;
    gap: 7px;
}



.hvc-sale-badge .hvc-sale-label,
.hvc-sale-badge .hvc-sale-amount {
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

.hvc-sale-badge .hvc-sale-label {
    margin-right: 0 !important;
}

.hvc-sale-badge .hvc-sale-amount {
    margin-left: 0 !important;
}

.hvc-sale-badge .amount,
.hvc-sale-badge .woocommerce-Price-amount,
.hvc-sale-badge .woocommerce-Price-amount bdi,
.hvc-sale-badge .woocommerce-Price-currencySymbol {
    color: #ffffff !important;
    font-size: inherit !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

.hvc-price-fallback,
.hvc-price-fallback .amount,
.hvc-price-fallback .woocommerce-Price-amount,
.hvc-price-fallback .woocommerce-Price-amount bdi,
.hvc-price-fallback del,
.hvc-price-fallback ins {
    color: #ef4444 !important;
    font-weight: 900 !important;
    font-size: 25px !important;
    line-height: 1 !important;
    text-decoration: none;
}

.hvc-price-fallback del {
    opacity: .55;
    margin-right: 6px;
}

.hvc-price-fallback ins {
    background: transparent !important;
}

.hvc-stock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 900;
}

.hvc-stock-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: currentColor;
    display: inline-block;
}

.hvc-stock.is-in-stock {
    color: #078c5a;
}

.hvc-stock.is-out-of-stock {
    color: #dc2626;
}

.hvc-sub-meta {
    color: #565656;
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 22px;
}

.hvc-promo-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    align-items: start;
    width: 100%;
    background: #1f1f1f;
    color: #ffffff;
    border-radius: 7px;
    padding: 21px 24px;
    margin: 22px 0 20px;
}

.hvc-promo-icon {
    font-size: 24px;
    line-height: 1;
    padding-top: 1px;
    text-align: center;
}

.hvc-promo-card strong,
.hvc-promo-card span {
    display: block;
    color: #ffffff !important;
}

.hvc-promo-card strong {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 4px;
    font-weight: 900;
}

.hvc-promo-card span {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
}

.hvc-cart-form {
    margin: 0 0 28px !important;
    padding: 0 !important;
}

.hvc-action-grid {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.hvc-quantity-label {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: #5a5a5a;
    margin: 0 0 10px;
}

.hvc-quantity-control {
    height: 62px;
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
}

.hvc-qty-btn {
    width: 46px;
    height: 60px;
    border: 0 !important;
    background: #ffffff !important;
    color: #0d0d0d !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    cursor: pointer;
    box-shadow: none !important;
    padding: 0 !important;
}

.hvc-qty-btn:hover {
    background: #f6f6f6 !important;
}

.hvc-quantity-control .quantity {
    margin: 0 !important;
    width: 100% !important;
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hvc-quantity-control input.qty,
.hvc-quantity-control .qty {
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    text-align: center !important;
    font-size: 21px !important;
    line-height: 60px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.hvc-quantity-control input.qty::-webkit-outer-spin-button,
.hvc-quantity-control input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hvc-add-cart,
.hvc-buy-now {
    height: 98px !important;
    min-height: 98px !important;
    border: 0 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 20px !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: transform .18s ease, filter .18s ease;
}

.hvc-add-cart:hover,
.hvc-buy-now:hover {
    transform: translateY(-1px);
    filter: brightness(.98);
}

.hvc-add-cart,
.hvc-add-cart.button,
.hvc-add-cart.button.alt {
    background: #ffdc67 !important;
    color: #000000 !important;
}

.hvc-buy-now,
.hvc-buy-now.button,
.hvc-buy-now.button.alt {
    background: #5b2be5 !important;
    color: #ffffff !important;
}

.hvc-add-cart:disabled,
.hvc-buy-now:disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.hvc-default-add-to-cart {
    margin: 18px 0 28px;
    background: #ffffff;
    border-radius: 10px;
    padding: 22px;
}

.hvc-default-add-to-cart form.cart {
    margin-bottom: 0 !important;
}

.hvc-payment-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px auto 18px;
    max-width: 620px;
}

.hvc-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 34px;
    padding: 0 12px;
    background: #ffffff;
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.2px;
    white-space: nowrap;
}

.hvc-pay-badge.is-visa { color: #1663b7; font-style: italic; }
.hvc-pay-badge.is-mastercard { color: #111111; font-size: 11px; }
.hvc-pay-badge.is-paypal { color: #114c96; }
.hvc-pay-badge.is-paysafe { color: #2983c7; font-size: 13px; }
.hvc-pay-badge.is-revolut { color: #111111; font-weight: 800; }
.hvc-pay-badge.is-apple { color: #111111; }
.hvc-pay-badge.is-google { color: #5f6368; }
.hvc-pay-badge.is-sepa { color: #244ca2; font-size: 20px; letter-spacing: -1px; }

.hvc-countdown-line {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 7px;
    margin: 6px 0 22px;
    color: #000000;
    font-size: 17px;
    line-height: 1.3;
}

.hvc-countdown-line strong {
    color: #008f5a;
    font-size: 20px;
    font-weight: 950;
}

.hvc-delivery-timeline {
    display: grid;
    grid-template-columns: 1fr 72px 1fr 72px 1fr;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.hvc-timeline-step {
    text-align: center;
    min-width: 0;
}

.hvc-timeline-icon {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: #ffffff;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .08);
}

.hvc-timeline-step strong,
.hvc-timeline-step span {
    display: block;
    color: #000000;
}

.hvc-timeline-step strong {
    font-size: 17px;
    line-height: 1.15;
    font-weight: 950;
    margin-bottom: 2px;
}

.hvc-timeline-step span {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}

.hvc-timeline-dash {
    height: 4px;
    width: 62px;
    margin: 0 auto 48px;
    background-image: linear-gradient(to right, #9ca3af 45%, transparent 45%);
    background-size: 22px 4px;
    background-repeat: repeat-x;
    opacity: .95;
}

.hvc-after-product-summary {
    margin-top: 42px;
}

.hvc-after-product-summary .woocommerce-tabs,
.hvc-after-product-summary .related,
.hvc-after-product-summary .up-sells {
    background: #ffffff;
    border-radius: 10px;
    padding: 28px;
    margin-top: 26px;
}

@media (max-width: 1180px) {
    .hvc-product-shell {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .hvc-product-notices,
    .hvc-after-product-summary {
        max-width: 760px;
    }

    .hvc-gallery-card,
    .hvc-summary-card {
        min-height: auto;
    }

    .hvc-product-title {
        font-size: clamp(36px, 7vw, 54px) !important;
    }
}

@media (max-width: 760px) {
    .hvc-product-page {
        padding: 18px 0 44px;
    }

    .hvc-product-shell,
    .hvc-product-notices,
    .hvc-after-product-summary {
        width: min(100% - 24px, 760px);
    }

    .hvc-gallery-card,
    .hvc-summary-card {
        padding: 18px;
        border-radius: 10px;
    }

    .hvc-main-image-box {
        height: min(82vw, 520px);
    }

    .hvc-thumbnail-row {
        gap: 14px;
        margin-top: 18px;
    }

    .hvc-thumb {
        width: 82px;
        height: 82px;
    }

    .hvc-trust-line {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .hvc-product-title {
        letter-spacing: -1.2px;
        font-size: clamp(32px, 11vw, 44px) !important;
    }

    .hvc-price-current,
    .hvc-price-current .amount,
    .hvc-price-current .woocommerce-Price-amount,
    .hvc-price-current .woocommerce-Price-amount bdi {
        font-size: 22px !important;
    }

    .hvc-price-regular,
    .hvc-price-regular .amount,
    .hvc-price-regular .woocommerce-Price-amount,
    .hvc-price-regular .woocommerce-Price-amount bdi {
        font-size: 18px !important;
    }

    .hvc-sale-badge {
        min-height: 38px;
        padding: 0 15px;
        font-size: 15px;
    }

    .hvc-sub-meta,
    .hvc-promo-card strong,
    .hvc-promo-card span {
        font-size: 16px;
    }

    .hvc-promo-card {
        grid-template-columns: 34px 1fr;
        gap: 12px;
        padding: 18px;
    }

    .hvc-action-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hvc-quantity-block {
        max-width: 220px;
    }

    .hvc-add-cart,
    .hvc-buy-now {
        height: 64px !important;
        min-height: 64px !important;
    }

    .hvc-payment-badges {
        justify-content: flex-start;
        margin-top: 18px;
    }

    .hvc-countdown-line {
        flex-wrap: wrap;
    }

    .hvc-delivery-timeline {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hvc-timeline-dash {
        width: 4px;
        height: 28px;
        margin: 0 auto;
        background-image: linear-gradient(to bottom, #9ca3af 45%, transparent 45%);
        background-size: 4px 14px;
    }

    .hvc-timeline-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 8px;
    }
}

/* v1.1 editable logos and icons */
.hvc-pay-badge.has-logo {
    padding: 0 10px;
    min-width: 64px;
}

.hvc-pay-badge img {
    display: block;
    width: auto;
    height: auto;
    max-width: 112px;
    max-height: 22px;
    object-fit: contain;
}

.hvc-promo-icon-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
    margin: 0 auto;
}

.hvc-timeline-icon-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}


/* v1.1.1 quantity fix: Flatsome sometimes injects its own +/- buttons inside Woo quantity fields. Hide every inner quantity button so only the custom outer HVC buttons remain. */
.hvc-quantity-control .quantity input[type="button"],
.hvc-quantity-control .quantity button,
.hvc-quantity-control .minus,
.hvc-quantity-control .plus,
.hvc-quantity-control .button.is-form,
.hvc-quantity-control .ux-quantity__button {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.hvc-quantity-control .hvc-qty-input {
    -webkit-appearance: none !important;
    appearance: textfield !important;
}

.hvc-quantity-control .hvc-qty-input::-webkit-outer-spin-button,
.hvc-quantity-control .hvc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}


/* v1.1.2 perfectly center quantity value */
.hvc-quantity-control,
.hvc-quantity-control .quantity {
    align-items: stretch !important;
}

.hvc-quantity-control .hvc-qty-input,
.hvc-quantity-control input.qty,
.hvc-quantity-control .qty {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
}


/* v1.1.3 quantity fix: visible number is now a real centered flex element, not browser-rendered number input text. */
.hvc-quantity-control {
    display: grid !important;
    grid-template-columns: 58px minmax(44px, 1fr) 58px !important;
    align-items: center !important;
    justify-items: stretch !important;
    overflow: hidden !important;
}

.hvc-quantity-control .hvc-qty-input[type="hidden"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.hvc-qty-display {
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000000 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    transform: translateY(-1px);
}

.hvc-quantity-control .hvc-qty-btn {
    width: 58px !important;
    height: 60px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 0 3px !important;
    margin: 0 !important;
}

/* v1.1.3 restore/enhance product-page animations */
@keyframes hvcFppFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hvcFppLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes hvcFppIconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.035); }
}

@keyframes hvcFppDashMoveX {
    from { background-position: 0 0; }
    to { background-position: 22px 0; }
}

@keyframes hvcFppDashMoveY {
    from { background-position: 0 0; }
    to { background-position: 0 22px; }
}

@keyframes hvcFppPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.22); opacity: .72; }
}

.hvc-gallery-card,
.hvc-summary-card {
    animation: hvcFppFadeUp .42s ease both;
}

.hvc-summary-card {
    animation-delay: .07s;
}

.hvc-stock-dot {
    animation: hvcFppPulse 1.35s ease-in-out infinite;
    transform-origin: center;
}

.hvc-promo-icon {
    animation: hvcFppIconFloat 2.15s ease-in-out infinite;
    transform-origin: center;
}

.hvc-pay-badge {
    animation: hvcFppLogoFloat 2.6s ease-in-out infinite;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    will-change: transform;
}

.hvc-pay-badge:nth-child(2n) { animation-delay: .16s; }
.hvc-pay-badge:nth-child(3n) { animation-delay: .32s; }
.hvc-pay-badge:nth-child(4n) { animation-delay: .48s; }

.hvc-pay-badge:hover {
    transform: translateY(-5px) scale(1.04) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    filter: saturate(1.08);
}

.hvc-timeline-icon {
    animation: hvcFppIconFloat 2.75s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

.hvc-timeline-step:nth-child(3) .hvc-timeline-icon { animation-delay: .18s; }
.hvc-timeline-step:nth-child(5) .hvc-timeline-icon { animation-delay: .36s; }

.hvc-timeline-dash {
    animation: hvcFppDashMoveX .9s linear infinite;
    background-size: 22px 4px !important;
}

.hvc-add-cart,
.hvc-buy-now {
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

.hvc-add-cart:hover,
.hvc-buy-now:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .10) !important;
}

@media (max-width: 720px) {
    .hvc-timeline-dash {
        animation-name: hvcFppDashMoveY;
        background-size: 4px 22px !important;
    }
}

/* v1.1.4 payment logos stay static: no floating/moving animation */
.hvc-payment-badges .hvc-pay-badge,
.hvc-payment-badges .hvc-pay-badge.has-logo {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
}

.hvc-payment-badges .hvc-pay-badge:hover,
.hvc-payment-badges .hvc-pay-badge.has-logo:hover {
    transform: none !important;
}


@media (max-width: 520px) {
    .hvc-price-stock-row {
        gap: 14px;
    }

    .hvc-price {
        gap: 10px;
    }
}


/* v1.1.7: Product image must not open zoom, links or lightbox. */
.hvc-main-image-box,
.hvc-main-image-box *,
.hvc-main-product-image {
    cursor: default !important;
}

.hvc-main-image-box a,
.hvc-main-image-box [data-hvc-main-link] {
    pointer-events: none !important;
}


/* v1.1.8 center promo/coupon star on the left */
.hvc-promo-card {
    align-items: center !important;
}

.hvc-promo-icon {
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: auto !important;
    min-height: 100% !important;
    padding-top: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}

.hvc-promo-icon-img {
    margin: auto !important;
}


/* v1.1.9 make promo/coupon star shine and sparkle */
.hvc-promo-icon {
    position: relative !important;
    overflow: visible !important;
    color: #ffb631 !important;
    filter: drop-shadow(0 0 0 rgba(255, 190, 60, 0.00));
    animation: hvcPromoStarGlow 1.9s ease-in-out infinite !important;
}

.hvc-promo-icon::before,
.hvc-promo-icon::after {
    content: "✦";
    position: absolute;
    color: #ffe28a;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    transform: scale(.4) rotate(0deg);
}

.hvc-promo-icon::before {
    top: 7px;
    right: -4px;
    font-size: 12px;
    animation: hvcPromoSparkle 1.8s ease-in-out infinite;
}

.hvc-promo-icon::after {
    bottom: 6px;
    left: -6px;
    font-size: 10px;
    animation: hvcPromoSparkle 1.8s ease-in-out infinite .9s;
}

.hvc-promo-icon-img {
    filter: drop-shadow(0 0 0 rgba(255, 190, 60, 0.00));
    animation: hvcPromoStarGlow 1.9s ease-in-out infinite !important;
}

@keyframes hvcPromoStarGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 190, 60, 0.00));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px rgba(255, 190, 60, 0.75)) drop-shadow(0 0 16px rgba(255, 210, 90, 0.45));
    }
}

@keyframes hvcPromoSparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(.4) rotate(0deg);
    }
    30% {
        opacity: .95;
        transform: scale(1) rotate(18deg);
    }
    60% {
        opacity: .35;
        transform: scale(.7) rotate(32deg);
    }
}

/* v1.2.0 HolovaultCards-style dropdown box under product gallery */
.hvc-product-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.hvc-product-accordions {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    padding: 0 28px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
    overflow: hidden;
}

.hvc-product-accordion {
    border-top: 1px solid #dedede;
}

.hvc-product-accordion:first-child {
    border-top: 0;
}

.hvc-product-accordion-summary {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    color: #000000;
    user-select: none;
}

.hvc-product-accordion-summary::-webkit-details-marker {
    display: none;
}

.hvc-product-accordion-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -.45px;
    color: #000000;
}

.hvc-product-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    font-size: 20px;
    line-height: 1;
}

.hvc-product-accordion-arrow {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 999px;
    background: #e2e2e2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    font-size: 26px;
    line-height: 1;
    font-weight: 950;
    transition: transform .2s ease, background-color .2s ease;
}

.hvc-product-accordion[open] .hvc-product-accordion-arrow {
    transform: rotate(180deg);
    background: #d8d8d8;
}

.hvc-product-accordion-content {
    color: #333333;
    font-size: 16px;
    line-height: 1.55;
    padding: 0 70px 28px 34px;
    margin-top: -12px;
}

.hvc-product-accordion-content p:first-child {
    margin-top: 0;
}

.hvc-product-accordion-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1180px) {
    .hvc-product-left {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .hvc-product-left {
        gap: 18px;
    }

    .hvc-product-accordions {
        padding: 0 18px;
        border-radius: 10px;
    }

    .hvc-product-accordion-summary {
        min-height: 72px;
    }

    .hvc-product-accordion-title {
        font-size: 18px;
    }

    .hvc-product-accordion-arrow {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 22px;
    }

    .hvc-product-accordion-content {
        padding: 0 8px 22px 32px;
        margin-top: -6px;
        font-size: 15px;
    }
}

/* v1.2.2 centered dropdown arrows, language badge and extra shortcode rows */
.hvc-product-accordion-arrow {
    position: relative !important;
    font-size: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transform: none !important;
}

.hvc-product-accordion-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 3px solid #111111;
    border-bottom: 3px solid #111111;
    display: block;
    transform: translate(-50%, -62%) rotate(45deg);
    transform-origin: 50% 50%;
}

.hvc-product-accordion[open] .hvc-product-accordion-arrow {
    transform: none !important;
    background: #d8d8d8;
}

.hvc-product-accordion[open] .hvc-product-accordion-arrow::before {
    transform: translate(-50%, -38%) rotate(225deg);
}

.hvc-language-badge-slot {
    display: flex;
    align-items: center;
    margin: -2px 0 22px;
}

.hvc-product-language-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 18px 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    color: #111111;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
}

.hvc-product-language-badge .hvc-language-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 28px;
    border-radius: 3px;
    overflow: hidden;
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
    background: #ffffff;
}

.hvc-free-gift-notice,
.hvc-shipping-country-line {
    width: 100%;
    margin: 14px 0 18px;
}

.hvc-free-gift-notice:empty,
.hvc-shipping-country-line:empty {
    display: none !important;
}

.hvc-shipping-country-line {
    display: block;
    text-align: center;
}

.hvc-shipping-country-line > * {
    max-width: 100%;
}

@media (max-width: 760px) {
    .hvc-product-accordion-arrow::before {
        width: 8px;
        height: 8px;
        border-width: 3px;
    }

    .hvc-language-badge-slot {
        margin-bottom: 18px;
    }

    .hvc-product-language-badge {
        font-size: 16px;
        padding: 7px 14px 7px 10px;
    }

    .hvc-product-language-badge .hvc-language-flag {
        width: 38px;
        height: 25px;
        font-size: 23px;
    }
}


/* v1.2.3 stronger accordion arrow centering + shortcode rows */
.hvc-product-accordion-arrow {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.hvc-product-accordion-arrow::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 44% !important;
    width: 11px !important;
    height: 11px !important;
    border-right: 3px solid #111111 !important;
    border-bottom: 3px solid #111111 !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    transform-origin: 50% 50% !important;
}

.hvc-product-accordion[open] .hvc-product-accordion-arrow::before {
    top: 56% !important;
    transform: translate(-50%, -50%) rotate(225deg) !important;
}

.hvc-shipping-country-line {
    width: 100%;
    margin: 14px 0 18px !important;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.55);
    text-align: center;
    font-weight: 800;
    color: #111111;
}

.hvc-cart-form .hvc-shipping-country-line {
    margin-top: 14px !important;
}

.hvc-language-badge-slot-pgs [data-pgs-language-badge="1"],
.hvc-language-badge-slot-shortcode [data-pgs-language-badge="1"] {
    margin-bottom: 0 !important;
}

/* v1.2.4 shipping shortcode line clean placement below product buttons */
.hvc-shipping-country-line {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: #111111;
}

.hvc-shipping-country-line .aph-shipping-country,
.hvc-shipping-country-line span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


/* v1.2.5 stock states: green in stock, yellow pre-order, red out of stock */
.hvc-stock.is-pre-order {
    color: #d99a00 !important;
}

.hvc-stock.is-pre-order .hvc-stock-dot {
    background: #f5b400 !important;
    box-shadow: 0 0 0 4px rgba(245, 180, 0, .13), 0 0 14px rgba(245, 180, 0, .38);
}

.hvc-stock.is-out-of-stock .hvc-stock-dot {
    background: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .11);
}

.hvc-preorder-release {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(245, 180, 0, .36);
    background: rgba(255, 248, 218, .92);
    color: #8a5a00;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

.hvc-preorder-release-icon {
    line-height: 1;
}

.hvc-add-cart.is-preorder-button {
    background: #f5b400 !important;
}
