/* Promotion presentation only. The server supplies active item eligibility.
   Brand guide: Botanical Amber Gold, dark espresso text, soft warm shadows.
   Keep this separate from the existing catalog styles so it is easy to remove. */
.product-card[data-shop-product-card][data-shop-promo="true"] .product-card-image {
    position: relative;
}

/* Shared gold treatment for catalog badges and the one-time product offer. */
.product-card[data-shop-product-card][data-shop-promo="true"] .shop-rebuild-sale-badge,
.product-detail .purchase-panel .pdp-promotion-callout > .pdp-promotion-badge,
.product-detail .purchase-panel .purchase-options .purchase-type-block > .pdp-promotion-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #B9751D;
    border-radius: 999px;
    background: #D48B28;
    background: linear-gradient(135deg, #E69E32 0%, #D48B28 100%);
    color: #1E1511;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(43, 32, 27, .12);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .02em;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.product-card[data-shop-product-card][data-shop-promo="true"] .shop-rebuild-sale-badge {
    position: absolute;
    z-index: 3;
    top: 16px;
    right: 16px;
    max-width: calc(100% - 32px);
    pointer-events: none;
}

.product-card[data-shop-product-card][data-shop-promo="true"] .product-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px 12px;
}

.product-card[data-shop-product-card][data-shop-promo="true"] .shop-promo-current {
    color: #2B201B;
    font-weight: 700;
    white-space: nowrap;
}

.product-card[data-shop-product-card][data-shop-promo="true"] .shop-promo-original {
    color: #705E53;
    font-size: .85em;
    font-style: normal;
    font-weight: 400;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

/* The detail-page callout stays in normal flow below the title. It explicitly
   describes the one-time offer even when a visitor has Smart Ship selected. */
.product-detail .purchase-panel .pdp-promotion-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    box-sizing: border-box;
    max-width: 100%;
    margin: 14px 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(212, 139, 40, .4);
    border-radius: 12px;
    background: #FFF9ED;
    color: #2B201B;
}

.product-detail .purchase-panel .pdp-promotion-callout > .pdp-promotion-badge {
    position: static;
    flex: 0 1 auto;
    max-width: 100%;
    padding: 10px 15px;
    font-size: clamp(14px, 1.4vw, 16px);
}

.product-detail .purchase-panel .pdp-promotion-copy {
    flex: 1 1 170px;
    min-width: 0;
    color: #705E53;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.product-detail .purchase-panel .pdp-promotion-copy strong {
    display: block;
    margin: 0 0 2px;
    color: #2B201B;
    font-size: 13px;
    font-weight: 700;
}

.product-detail .purchase-panel .pdp-promotion-copy > span {
    display: block;
}

.product-detail .purchase-panel .purchase-options .purchase-type-block > .pdp-promotion-badge {
    position: static;
    float: none;
    max-width: 100%;
    margin-top: 9px;
}

.product-detail .purchase-panel .purchase-options .purchase-type-block > .pdp-promotion-checkout-note {
    display: block;
    max-width: 100%;
    margin: 7px 0 0;
    padding: 0;
    color: #705E53;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

@media (max-width: 480px) {
    .product-detail .purchase-panel .pdp-promotion-callout {
        padding: 12px;
    }
}
