/* Page: PDP promotions hub */
.pdp-promotions {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e0ddd6;
}

.pdp-promotions__heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: #040201;
}

.pdp-bundles-root {
    display: grid;
    gap: 12px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .pdp-bundles-root {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pdp-bundle-card {
    border: 1px solid #e0ddd6;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fdfbf7;
}

.pdp-bundle-card__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #2d5a2d;
}

.pdp-bundle-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 6px 0 4px;
}

.pdp-bundle-card__price {
    font-size: 0.875rem;
    margin: 0 0 8px;
}

.pdp-bundle-card__cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5c4a32;
}

/* Campaign unlock hints — plain text only */
.pdp-pwp-unlock-hint,
.pdp-gwp-unlock-hint {
    font-size: 0.8125rem;
    color: #6b4f2a;
    margin: 0 0 12px;
    line-height: 1.45;
}

.pdp-gwp-unlock-hint {
    color: #2a3d6b;
}

/* Staged selection summary */
.pdp-promo-staged-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    background: #f7f5f0;
    border: 1px solid #e0ddd6;
    border-radius: 6px;
    font-size: 0.8125rem;
}

.pdp-promo-staged-summary__label {
    font-weight: 600;
    color: #040201;
}

.pdp-promo-staged-summary__value {
    color: #4a4540;
    flex: 1;
}

.pdp-promo-change-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #5c4a32;
    background: #fff;
    border: 1px solid rgba(92, 74, 50, 0.35);
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.pdp-promo-change-btn:hover {
    background: #f7f5f0;
    border-color: rgba(92, 74, 50, 0.55);
    color: #040201;
}

/* PWP / GWP PDP sections */
.pdp-promo-section {
    margin-top: 20px;
}

.pdp-promo-section__title {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5c4a32;
}

.pdp-promo-section--gwp .pdp-promo-section__title {
    color: #266d3b;
}

.pdp-promo-section--pwp .pdp-promo-section__title {
    color: #5c4a32;
}

.pdp-pwp-section-note {
    margin: -4px 0 12px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #6b4f2a;
}

.pdp-pwp-root,
.pdp-gwp-info-root {
    margin-top: 0;
}

.pdp-pwp-root {
    display: grid;
    gap: 12px;
}

.pdp-gwp-info-root {
    display: grid;
    gap: 12px;
}

.pdp-pwp-info-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid rgba(92, 74, 50, 0.22);
    border-radius: 8px;
    background: #fdfbf7;
}

.pdp-pwp-info-card__media {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.pdp-pwp-info-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pdp-pwp-info-card__body {
    flex: 1;
    min-width: 0;
}

.pdp-pwp-info-card__title {
    margin: 0 0 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #040201;
}

.pdp-pwp-info-card__offer {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #4a4540;
}

.pdp-pwp-info-card__message {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #6b4f2a;
}

.pdp-gwp-info-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid rgba(38, 109, 59, 0.22);
    border-radius: 8px;
    background: #fafcf9;
    transition: opacity 0.15s ease;
}

.pdp-gwp-info-card.is-locked {
    opacity: 0.45;
    border-color: rgba(0, 0, 0, 0.12);
    background: #f7f7f7;
}

.pdp-gwp-info-card__media {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.pdp-gwp-info-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pdp-gwp-info-card__body {
    flex: 1;
    min-width: 0;
}

.pdp-gwp-info-card__title {
    margin: 0 0 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #040201;
}

.pdp-gwp-info-card__message {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #2a3d6b;
}

.pdp-gwp-info-card.is-locked .pdp-gwp-info-card__message {
    color: #6b6b6b;
}

.pdp-gwp-root .gwp-campaign-block.is-locked .gwp-variant-cards {
    opacity: 0.45;
    pointer-events: none;
}

.pdp-gwp-root .gwp-variant-card.is-pending {
    border-color: #2a3d6b;
    box-shadow: 0 0 0 2px rgba(42, 61, 107, 0.3);
    background: #f7f8fc;
}

/* Info card — non-interactive, used for 'all' mode single-variant gifts */
.gwp-variant-card--info {
    cursor: default;
    user-select: none;
    pointer-events: none;
    background: #fafcf9;
    border: 1px solid rgba(38, 109, 59, 0.25);
}

.gwp-variant-card--info .gwp-variant-card__badge--info {
    background: rgba(38, 109, 59, 0.1);
    color: #1a5c30;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 9999px;
}

.gwp-variant-card--info.is-added .gwp-variant-card__badge--info {
    background: #e6f4ec;
    color: #1a5c30;
}

.pdp-gwp-root .gwp-confirm-bar {
    margin-top: 12px;
    padding: 12px;
    background: #f7f5f0;
    border: 1px solid #e0ddd6;
    border-radius: 6px;
}

.pdp-gwp-root .gwp-confirm-bar__text {
    font-size: 0.8125rem;
    margin: 0 0 10px;
    color: #040201;
}

.pdp-gwp-root .gwp-confirm-bar__actions {
    display: flex;
    gap: 10px;
}

.pdp-gwp-root .gwp-confirm-bar__cancel,
.pdp-gwp-root .gwp-confirm-bar__confirm {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.pdp-gwp-root .gwp-confirm-bar__confirm {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.pdp-gwp-root .gwp-confirm-bar__cancel {
    background: transparent;
    color: #040201;
    border: 1px solid #ccc;
}

/* Legacy ritual styles */
.pwp-product-detail {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e0ddd6;
}

.pwp-product-detail .pwp-ritual:not(.pwp-ritual--cart) {
    margin-top: 0;
    padding-top: 0;
}

.pwp-product-detail .pwp-ritual:not(.pwp-ritual--cart) .pwp-ritual-option {
    gap: 16px;
    padding: 14px 16px;
}

.pwp-product-detail .pwp-ritual:not(.pwp-ritual--cart) .pwp-ritual-thumb {
    width: 96px;
    height: 96px;
    border-radius: 6px;
}

.pwp-product-detail .pwp-ritual-option.is-disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.pwp-ritual + .pwp-utility-below-ritual {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e0ddd6;
}

@media (max-width: 48rem) {
    .pwp-product-detail .pwp-ritual:not(.pwp-ritual--cart) {
        margin-top: 0;
    }

    .pwp-product-detail .pwp-ritual:not(.pwp-ritual--cart) .pwp-ritual-thumb {
        width: 72px;
        height: 72px;
    }
}
