.wwbp-bundle {
    --wwbp-accent: var(--wd-primary-color, var(--wd-alternative-color, currentColor));
    --wwbp-border: var(--brdcolor-gray-300, var(--wd-form-brd-color, #e4e4e4));
    --wwbp-muted: var(--color-gray-600, #6b6b6b);
    margin: 22px 0;
    color: inherit;
}

.wwbp-bundle [hidden] {
    display: none !important;
}

.wwbp-items {
    border-top: 1px solid var(--wwbp-border);
}

.wwbp-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--wwbp-border);
}

.wwbp-item-image {
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f4ef;
}

.wwbp-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wwbp-item-title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25;
}

.wwbp-attribute {
    margin-top: 10px;
}

.wwbp-attribute-label {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.2;
}

.wwbp-selected-label {
    color: var(--wwbp-muted);
    font-weight: 400;
}

.wwbp-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.wwbp-option {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 30px !important;
    width: auto !important;
    height: 30px !important;
    min-height: 0 !important;
    padding: 0 9px !important;
    border: 1px solid var(--wwbp-border);
    border-radius: 999px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    text-transform: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background-color 160ms ease;
}

.wwbp-tooltip {
    position: absolute;
    z-index: 20;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    max-width: 160px;
    padding: 5px 8px;
    border-radius: 3px;
    background: #222;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 120ms ease, visibility 120ms ease;
}

.wwbp-option[data-label]:not(.is-disabled):hover .wwbp-tooltip,
.wwbp-option[data-label]:not(.is-disabled):focus-visible .wwbp-tooltip {
    opacity: 1;
    visibility: visible;
}

.wwbp-option[data-label]:not(.is-disabled):hover::before,
.wwbp-option[data-label]:not(.is-disabled):focus-visible::before {
    content: "";
    position: absolute;
    z-index: 21;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #222;
    pointer-events: none;
}

.wwbp-option.is-selected {
    border-color: var(--wwbp-accent);
    box-shadow: 0 0 0 1px var(--wwbp-accent);
}

.wwbp-option.is-disabled {
    opacity: .35;
    cursor: not-allowed;
    overflow: hidden;
    color: var(--wwbp-muted);
    filter: grayscale(1);
}

.wwbp-option.is-disabled::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -20%;
    width: 140%;
    height: 1px;
    background: currentColor;
    transform: rotate(-35deg);
    pointer-events: none;
}

.wwbp-color-options {
    gap: 10px;
}

.wwbp-option.wwbp-color {
    position: relative;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border-radius: 50%;
    font-size: 0;
}

.wwbp-option.wwbp-color::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--wwbp-swatch, #d8cab7);
    border: 1px solid rgba(0, 0, 0, .12);
}

.wwbp-option.wwbp-color.wwbp-image-swatch::before {
    display: none;
}

.wwbp-option.wwbp-color img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.wwbp-option.wwbp-color span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.wwbp-option.wwbp-color .wwbp-tooltip {
    position: absolute;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
}

.wwbp-option.wwbp-color > span:not(.wwbp-tooltip) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.wwbp-simple-note,
.wwbp-item-error {
    font-size: 14px;
    color: var(--wwbp-muted);
}

.wwbp-item-error {
    color: #a33124;
}

.wwbp-price-box {
    flex: 1;
    text-align: right;
}

.wwbp-price-label {
    margin-bottom: 3px;
    color: var(--wwbp-muted);
    font-size: 14px;
    line-height: 1.2;
}

.wwbp-price-label:empty {
    display: none;
}

.wwbp-retail-price {
    display: block;
    color: var(--wwbp-muted);
    font-size: 17px;
    line-height: 1;
    text-decoration-thickness: 1px;
}

.wwbp-final-price {
    display: block;
    margin-top: 5px;
    color: var(--wwbp-accent);
    font-size: 26px;
    line-height: 1;
}

.wwbp-price-note {
    display: block;
    margin: 4px 0 14px;
    color: var(--wwbp-muted);
    font-size: 13px;
    line-height: 1.35;
}

.wwbp-purchase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0 12px;
}

.wwbp-quantity {
    display: inline-flex;
    align-items: center;
    height: 42px;
    border: 1px solid var(--wwbp-border);
    width: auto;
}

.wwbp-qty-button,
.wwbp-qty-input {
    width: 38px !important;
    height: 40px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    font: inherit;
}

.wwbp-qty-button {
    cursor: pointer;
}

.wwbp-qty-input {
    padding: 0;
    -moz-appearance: textfield;
}

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

.wwbp-notice {
    margin: 12px 0;
    padding: 11px 12px;
    border-radius: 8px;
    background: #f1f6ed;
    color: var(--wwbp-accent);
    font-size: 14px;
}

.wwbp-notice.is-error {
    background: #fff3f1;
    color: #a33124;
}

.wwbp-add-button.button.alt {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 0;
    background: var(--wd-primary-color, #ef3d3a);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.wwbp-add-button[disabled] {
    opacity: .65;
    cursor: wait;
}

@media (min-width: 769px) {
    .wwbp-mobile-only {
        display: none;
    }

    .wwbp-bundle {
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    body.wwbp-bundle-mobile-only-product.single-product form.cart {
        display: none;
    }
}

@media (max-width: 480px) {
    .wwbp-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
    }

    .wwbp-item-title {
        font-size: 15px;
    }

    .wwbp-option {
        min-width: 30px !important;
        height: 30px !important;
        padding: 0 9px !important;
        font-size: 13px;
    }

    .wwbp-purchase-row {
        align-items: center;
        flex-direction: row;
    }

    .wwbp-purchase-row .wwbp-total {
        width: 100%;
    }
}
