.vit-candle,
.vit-candle *,
.vit-candle *::before,
.vit-candle *::after {
    box-sizing: border-box;
}

.vit-candle {
    --vit-ink: #0e0d12;
    --vit-blue: #062c71;
    --vit-mist: #f0f0f0;
    --vit-gallery-height: 864px;
    color: var(--vit-ink);
    background: #fff;
    width: 100%;
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    container: vit-candle-root / inline-size;
}

.vit-candle button,
.vit-candle input,
.vit-candle legend,
.vit-candle label {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 300 !important;
}

.vit-candle button {
    cursor: pointer;
    text-transform: none;
}

.vit-candle button[hidden],
.vit-candle [hidden] {
    display: none !important;
}

.vit-candle__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vit-candle__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

/* The gallery's desktop height is controlled by the details column and
   capped at the Figma reference height. Excess thumbnails scroll inside it. */
.vit-candle__gallery {
    display: grid;
    grid-template-columns: minmax(0, 17.34%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 8px;
    height: var(--vit-gallery-height);
    min-height: 0;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    align-self: start;
}

.vit-candle__main {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    width: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vit-candle__main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.vit-candle__rail {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    display: block;
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.vit-candle__gallery-nav {
    position: absolute !important;
    left: 50% !important;
    z-index: 8;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 24px !important;
    min-height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateX(-50%) !important;

    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--vit-ink) !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    line-height: 1 !important;
    overflow: hidden;

    opacity: 1;
    transition: background-color .18s ease, opacity .18s ease;
}

.vit-candle__gallery-nav--prev {
    top: 6px !important;
}

.vit-candle__gallery-nav--next {
    bottom: 6px !important;
}

.vit-candle__gallery-nav:hover:not(:disabled) {
    background: #FFFFFF !important;
}

.vit-candle__gallery-nav span {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1.4px solid currentColor;
    border-left: 1.4px solid currentColor;
    transform-origin: center;
    pointer-events: none;
}

.vit-candle__gallery-nav--prev span {
    transform: translateY(2px) rotate(45deg);
}

.vit-candle__gallery-nav--next span {
    transform: translateY(-2px) rotate(225deg);
}

.vit-candle__gallery-nav:disabled {
    opacity: 0 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.vit-candle__gallery-nav:focus-visible,
.vit-candle__thumb:focus-visible {
    outline: 2px solid var(--vit-blue) !important;
    outline-offset: -2px;
}

.vit-candle__thumb-track {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

.vit-candle__thumb-track::-webkit-scrollbar {
    display: none;
}

.vit-candle__thumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    appearance: none !important;
    flex: 0 0 calc((100% - 24px) / 5);
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scroll-snap-align: start;
    overflow: hidden;
}

.vit-candle__thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 0 !important;
}

.vit-candle__details {
    min-width: 0;
    width: 100%;
    padding: 0 0 40px 37px;
    align-self: start;
    container: vit-candle-details / inline-size;
}

.vit-candle__title {
    margin: 0 0 24px !important;
    color: var(--vit-ink) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 36px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    font-synthesis: none !important;
    overflow-wrap: break-word;
}

.vit-candle__form {
    margin: 0 !important;
}

.vit-candle__fieldset {
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    margin: 0 0 24px !important;
    overflow: visible !important;
}

.vit-candle__label,
.vit-candle__custom-qty label,
.vit-candle__color-head {
    display: block;
    padding: 0 !important;
    color: var(--vit-ink) !important;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vit-candle__label {
    width: 100%;
    margin: 0 0 10px !important;
}

.vit-candle__packages {
    display: grid;
    grid-template-columns: minmax(0, 125.33px) minmax(0, 126.33px) minmax(0, 129.33px) minmax(0, 1fr);
    gap: 12px;
    padding-top: 0;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.vit-candle__package-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    padding-top: 10px;
}

.vit-candle__package-wrap--popular {
    z-index: 20;
}

.vit-candle__package {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0;
    width: 100%;
    height: 42px;
    margin: 0 !important;
    padding: 8px 6px !important;
    background: #fff;
    border: 1px solid var(--vit-ink);
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--vit-ink);
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    overflow: visible;
}

.vit-candle__package input {
    position: absolute;
    opacity: 0;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none;
}

.vit-candle__package.is-selected {
    background: var(--vit-ink);
    color: #fff;
}

.vit-candle__package.is-unavailable {
    opacity: .35;
    cursor: not-allowed;
}

.vit-candle__package:focus-within {
    outline: 2px solid var(--vit-blue);
    outline-offset: 2px;
}

.vit-candle__popular-badge {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    z-index: 50 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 108px !important;
    width: max-content !important;
    max-width: calc(100% + 40px) !important;
    height: 20px !important;
    min-height: 20px !important;

    margin: 0 !important;
    padding: 4px 10px !important;
    transform: translate(-50%, 0) !important;

    background: #062C71 !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: 'Poppins', sans-serif !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 12px !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

.vit-candle__custom-qty {
    margin: 0 0 24px;
}

.vit-candle__custom-qty label {
    margin: 0 0 10px;
}

.vit-candle__custom-stepper {
    display: grid;
    grid-template-columns: 40px 54px 40px;
    align-items: center;
    width: max-content;
    height: 42px;
    border: 1px solid var(--vit-mist);
    background: #fff;
}

.vit-candle__custom-stepper button,
.vit-candle__custom-stepper input {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--vit-ink) !important;
    font: inherit !important;
    text-align: center !important;
}

.vit-candle__custom-stepper input {
    appearance: textfield;
    -moz-appearance: textfield;
    font-size: 14px !important;
}

.vit-candle__custom-stepper input::-webkit-outer-spin-button,
.vit-candle__custom-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.vit-candle__custom-stepper button {
    cursor: pointer;
    font-size: 18px !important;
    line-height: 1 !important;
}

.vit-candle__custom-stepper button:disabled {
    cursor: default;
    opacity: .35;
}

.vit-candle__color-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 12px;
}

.vit-candle__remaining {
    white-space: nowrap;
}

.vit-candle__colors {
    width: 100%;
}

.vit-candle__color {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 66px;
    padding: 12px 0;
    border-top: 1px solid var(--vit-mist);
}

.vit-candle__color:first-child {
    border-top: 0;
}

.vit-candle__color:last-child {
    border-bottom: 1px solid var(--vit-mist);
}

.vit-candle__color-name {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.vit-candle__color-name label {
    margin: 0 !important;
    color: var(--vit-ink) !important;
    font-size: 16px !important;
    line-height: 20px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: default;
}

.vit-candle__dot {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid #b6b6b6;
    border-radius: 50%;
}

.vit-candle__stepper {
    display: grid;
    grid-template-columns: 40px 35px 40px;
    flex: 0 0 auto;
    height: 41px;
    border: 1px solid var(--vit-mist);
}

.vit-candle__stepper button {
    appearance: none !important;
    display: block !important;
    width: 40px !important;
    height: 39px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #3f3f3f !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 18px !important;
    line-height: 39px !important;
    text-align: center;
}

.vit-candle__stepper button:disabled {
    color: #b6b6b6 !important;
    cursor: default;
}

.vit-candle__stepper input {
    width: 35px !important;
    min-width: 0 !important;
    height: 39px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--vit-ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    line-height: 39px !important;
    text-align: center !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.vit-candle__stepper input::-webkit-outer-spin-button,
.vit-candle__stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* v1.0.24: all package sizes use the same per-color quantity steppers.
   The package size itself is the maximum combined quantity. */

.vit-candle__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.vit-candle__prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 13px;
}

.vit-candle__price {
    color: var(--vit-ink);
    font-family: 'Montserrat', sans-serif !important;
    font-size: 36px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -.85px;
    white-space: nowrap;
}

.vit-candle__was {
    color: #3f3f3f;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.vit-candle__saved {
    color: var(--vit-ink);
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vit-candle__notice {
    margin: 0;
    color: #b23a48;
    font-size: 13px;
    line-height: 18px;
}

.vit-candle__notice:empty {
    display: none;
}

.vit-candle__submit {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 16px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: var(--vit-ink) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 20px !important;
    letter-spacing: 2px;
    text-transform: uppercase !important;
    text-align: center;
}

.vit-candle__submit:disabled {
    opacity: 1 !important;
    cursor: default;
}


.vit-candle__submit:not(:disabled):hover,
.vit-candle__submit:not(:disabled):focus-visible {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: 52px !important;
    padding: 16px 32px !important;
    background: #062C71 !important;
    color: #FFFFFF !important;
    font-family: 'Poppins', sans-serif !important;
    font-style: normal;
    font-weight: 300 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase !important;
}

.vit-candle__tabs {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--vit-mist);
}

.vit-candle__tab-list {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 32px;
}

.vit-candle__tab {
    appearance: none !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 0 8px !important;
    color: var(--vit-ink) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    line-height: 20px !important;
    text-transform: uppercase !important;
}

.vit-candle__tab.is-active {
    border-bottom-color: var(--vit-blue) !important;
}

.vit-candle__tab-panel {
    padding-top: 12px;
    font-size: 16px;
    line-height: 20px;
}

.vit-candle__tab-panel p {
    margin: 0 0 10px;
    color: var(--vit-ink);
    font: inherit;
}

/* A two-column package selector prevents clipped labels when Blocksy or
   Elementor supplies a narrower right-hand content column. */
@container vit-candle-details (max-width: 660px) {
    .vit-candle__packages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .vit-candle__package {
        font-size: 14px;
        letter-spacing: 1.4px;
    }

    .vit-candle__title {
        font-size: clamp(24px, 4.2cqw, 34px) !important;
    }

    .vit-candle__saved {
        font-size: 16px;
    }
}

@container vit-candle-details (max-width: 350px) {
    .vit-candle__package {
        font-size: 12px;
        letter-spacing: .8px;
    }

    .vit-candle__color-name label {
        font-size: 14px !important;
        letter-spacing: 1px;
    }

    .vit-candle__stepper {
        grid-template-columns: 32px 30px 32px;
    }

    .vit-candle__stepper button {
        width: 32px !important;
    }

    .vit-candle__stepper input {
        width: 30px !important;
    }
}

@container vit-candle-root (max-width: 860px) {
    .vit-candle__layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .vit-candle__gallery {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        height: auto !important;
        overflow: visible;
    }

    .vit-candle__main {
        display: flex;
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 342 / 470;
        overflow: hidden;
    }

    .vit-candle__rail {
        display: block;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .vit-candle__gallery-nav {
        display: none !important;
    }

    .vit-candle__thumb-track {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 32px) / 5);
        gap: 8px;
        width: 100%;
        height: auto;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .vit-candle__thumb {
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        aspect-ratio: 62 / 86;
    }

    .vit-candle__details {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 767px) {
    /* v1.0.27: never retain desktop gallery/detail heights on mobile. */
    .vit-candle,
    .vit-candle__layout,
    .vit-candle__gallery,
    .vit-candle__details,
    .vit-candle__form,
    .vit-candle__tabs {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .vit-candle__layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }

    .vit-candle__gallery {
        --vit-gallery-height: auto;
        display: flex !important;
        flex-direction: column !important;
        align-self: auto !important;
        overflow: visible !important;
    }

    .vit-candle__details {
        align-self: auto !important;
        padding-bottom: 0 !important;
    }

    .vit-candle {
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
    }

    .vit-candle__eyebrow {
        margin-bottom: 32px;
        font-size: 12px;
        line-height: 12px;
        letter-spacing: 2px;
    }

    .vit-candle__title {
        margin: 0 0 24px !important;
        font-size: 24px !important;
        line-height: 26px !important;
    }

    .vit-candle__fieldset {
        margin-bottom: 24px !important;
    }

    .vit-candle__label,
    .vit-candle__custom-qty label,
    .vit-candle__color-head {
        font-size: 12px;
        line-height: 12px;
        letter-spacing: 2px;
    }

    .vit-candle__label {
        margin-bottom: 4px !important;
    }

    .vit-candle__packages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4px;
        row-gap: 4px;
        padding-top: 0;
    }

    .vit-candle__package {
        height: 41px;
        padding: 9px 4px !important;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 1px;
    }

    body .vit-candle .vit-candle__package .vit-candle__popular-badge {
        min-width: 108px !important;
        height: 20px !important;
        min-height: 20px !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
        line-height: 12px !important;
        letter-spacing: 1px !important;
    }

    .vit-candle__color-head {
        margin-bottom: 12px;
    }

    .vit-candle__color {
        min-height: 66px;
    }

    .vit-candle__color-name label {
        font-size: 16px !important;
    }

    .vit-candle__price-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin: 24px 0 12px;
    }

    .vit-candle__price {
        font-size: 36px;
    }

    .vit-candle__was {
        font-size: 24px;
    }

    .vit-candle__saved {
        font-size: 16px;
        line-height: 20px;
    }

    .vit-candle__submit {
        height: 44px !important;
        padding: 12px !important;
    }

    .vit-candle__tabs {
        margin-top: 24px;
    }

    .vit-candle__tab-list {
        gap: 16px 32px;
    }

    .vit-candle__tab-panel {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 380px) {
    .vit-candle {
        padding: 0 16px;
    }

    .vit-candle__package {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .vit-candle__tab-list {
        gap: 16px;
    }

    .vit-candle__tab {
        font-size: 13px !important;
    }

    .vit-candle__color-name label {
        font-size: 14px !important;
        letter-spacing: 1px;
    }
}

/* v1.0.28 — mobile shortcode height hard reset.
   The configurator is content-height on mobile; no desktop block-size may be
   allowed to reserve empty space below the product tabs. */
@media (max-width: 767px) {
    .vit-candle {
        display: block !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .elementor-shortcode:has(> .vit-candle),
    .elementor-widget-container:has(.elementor-shortcode > .vit-candle),
    .elementor-widget-shortcode:has(.elementor-shortcode > .vit-candle) {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .vit-candle__layout,
    .vit-candle__details,
    .vit-candle__form,
    .vit-candle__tabs,
    .vit-candle__tab-panel {
        block-size: auto !important;
        min-block-size: 0 !important;
        max-block-size: none !important;
    }

    .vit-candle__tabs,
    .vit-candle__tab-panel:last-child,
    .vit-candle__tab-panel > :last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

