/* Bedone Life tiered coupon panel */
.product-coupon {
    --bed-coupon-blue: #283455;
    margin-top: 24px;
    background: #fff;
    color: var(--bed-coupon-blue);
    font-family: var(--font-stack-body);
    font-style: var(--font-style-body);
    font-weight: var(--font-weight-body);
}

.product-coupon product-coupon {
    display: block;
}

.product-coupon .bed-coupon-panel {
    width: 100%;
    border-top: 2px solid var(--bed-coupon-blue);
    border-bottom: 1px solid #d9d6cf;
    background: #fff;
}

.product-coupon .bed-coupon-summary {
    display: grid;
    grid-template-columns: 44px repeat(3, minmax(0, 1fr)) 24px;
    align-items: center;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid #d9d6cf;
    border-radius: 0;
    background: #fff;
    color: var(--bed-coupon-blue);
    cursor: pointer;
    font: inherit;
    letter-spacing: 0;
    text-align: center;
}

.product-coupon .bed-coupon-summary:hover,
.product-coupon .bed-coupon-summary:focus-visible {
    background: #f7f8fa;
}

.product-coupon .bed-coupon-summary:focus-visible,
.product-coupon .bed-coupon-code:focus-visible {
    outline: 2px solid var(--bed-coupon-blue);
    outline-offset: 2px;
}

.product-coupon .bed-coupon-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--bed-coupon-blue);
    font-family: var(--font-stack-header);
    font-size: 14px;
    line-height: 1;
}

.product-coupon .bed-coupon-brand img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.product-coupon .bed-coupon-tier {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 24px;
    padding: 0 8px;
    border-left: 1px solid #d9d6cf;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.product-coupon .bed-coupon-chevron {
    width: 18px;
    height: 18px;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.product-coupon .bed-coupon-summary[aria-expanded="false"] .bed-coupon-chevron {
    transform: rotate(180deg);
}

.product-coupon .bed-coupon-details {
    padding: 0 20px;
    background: #fff;
}

.product-coupon .bed-coupon-details[hidden] {
    display: none;
}

.product-coupon .bed-coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 74px;
    border-bottom: 1px solid #d9d6cf;
    background: #fff;
}

.product-coupon .bed-coupon-row:last-child {
    border-bottom: 0;
}

.product-coupon .bed-coupon-offer {
    min-width: 0;
    color: #222;
    font-size: 18px;
    line-height: 1.35;
}

.product-coupon .bed-coupon-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    min-width: 116px;
    height: 54px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--bed-coupon-blue);
    border-radius: 3px;
    background: #fff;
    color: var(--bed-coupon-blue);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.product-coupon .bed-coupon-code:hover {
    background: rgba(40, 52, 85, 0.06);
}

.product-coupon .bed-coupon-code.is-copied {
    border-color: var(--bed-coupon-blue);
    background: var(--bed-coupon-blue);
    color: #fff;
}

@media screen and (max-width: 540px) {
    .product-coupon .bed-coupon-summary {
        grid-template-columns: 36px repeat(3, minmax(0, 1fr)) 18px;
        min-height: 56px;
        padding: 8px 6px;
    }

    .product-coupon .bed-coupon-brand {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .product-coupon .bed-coupon-tier {
        min-height: 20px;
        padding: 0 4px;
        font-size: 13px;
    }

    .product-coupon .bed-coupon-chevron {
        width: 16px;
        height: 16px;
    }

    .product-coupon .bed-coupon-details {
        padding: 0 10px;
    }

    .product-coupon .bed-coupon-row {
        gap: 12px;
        min-height: 64px;
    }

    .product-coupon .bed-coupon-offer {
        font-size: 15px;
    }

    .product-coupon .bed-coupon-code {
        width: 88px;
        min-width: 88px;
        height: 42px;
        padding: 0 8px;
        font-size: 14px;
    }
}
