.bp-promotions-admin,
.bp-promotions {
    color: #1c1c1c;
    font-family: "Segoe UI", Arial, sans-serif;
}

.bp-promotions-admin .bp-admin-panel {
    padding: clamp(20px, 4vw, 36px);
}

.bp-promotions-admin .bp-panel-header,
.bp-promotion-list-heading,
.bp-promotion-admin-card,
.bp-promotion-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bp-promotions-admin .bp-panel-header h2,
.bp-promotion-form-heading h3,
.bp-promotion-list-heading h3 {
    margin: 4px 0 8px;
    color: #171717;
}

.bp-admin-panel-description,
.bp-promotion-form-heading p,
fieldset.bp-promotion-services > p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.bp-promotion-admin-notice {
    margin: 22px 0;
    padding: 12px 16px;
    border: 1px solid #b8d7bd;
    border-radius: 10px;
    background: #f0f8f1;
    color: #24552c;
}

.bp-promotion-admin-notice.is-info {
    border-color: rgba(201, 162, 39, 0.35);
    background: #fbf7e9;
    color: #514315;
}

.bp-promotion-form {
    margin-top: 26px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(28, 28, 28, 0.1);
    border-radius: 14px;
    background: #fff;
}

.bp-promotion-form-heading {
    margin-bottom: 20px;
}

.bp-promotion-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bp-promotion-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.bp-promotion-field input:not([type="checkbox"]),
.bp-promotion-field select,
.bp-promotion-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8d5ce;
    border-radius: 8px;
    background: #fff;
    color: #1c1c1c;
    font: inherit;
    font-weight: 400;
    box-sizing: border-box;
}

.bp-promotion-field textarea {
    resize: vertical;
}

.bp-promotion-field input:focus,
.bp-promotion-field select:focus,
.bp-promotion-field textarea:focus {
    border-color: #b28c1d;
    outline: 2px solid rgba(201, 162, 39, 0.18);
}

.bp-promotion-field-wide {
    grid-column: 1 / -1;
}

.bp-promotion-percentage-input {
    position: relative;
}

.bp-promotion-percentage-input input {
    padding-right: 38px !important;
}

.bp-promotion-percentage-input > span {
    position: absolute;
    top: 50%;
    right: 14px;
    color: #666;
    transform: translateY(-50%);
}

fieldset.bp-promotion-services {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #e1ded7;
    border-radius: 10px;
}

.bp-promotion-services legend {
    padding: 0 6px;
    color: #333;
}

.bp-promotion-service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.bp-promotion-service-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid #ebe8e1;
    border-radius: 8px;
    font-weight: 400;
}

.bp-promotion-service-options input {
    accent-color: #b28c1d;
}

.bp-promotion-services-unavailable {
    margin-top: 12px !important;
    color: #8a4b18 !important;
}

.bp-promotion-form-actions {
    justify-content: flex-start;
    margin-top: 22px;
}

.bp-promotion-form-actions .bp-btn,
.bp-promotion-admin-actions .bp-link-btn {
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #d8d5ce;
    border-radius: 8px;
    background: #fff;
    color: #282828;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.bp-promotion-form-actions .bp-btn-primary {
    border-color: #c9a227;
    background: #c9a227;
    color: #111;
}

.bp-promotion-form-actions .bp-btn-primary:hover {
    background: #b28c1d;
}

.bp-link-btn.is-danger {
    color: #9e3029;
}

.bp-promotion-list-heading {
    margin: 32px 0 14px;
}

.bp-promotion-list-heading > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #f1eee6;
    font-weight: 700;
}

.bp-promotion-admin-list {
    display: grid;
    gap: 12px;
}

.bp-promotion-admin-card {
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #e7e3da;
    border-radius: 12px;
    background: #fff;
}

.bp-promotion-admin-card-main {
    display: grid;
    gap: 7px;
}

.bp-promotion-admin-kind,
.bp-promotion-type {
    color: #8a6c12;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bp-promotion-admin-card h4,
.bp-promotion-admin-card p {
    margin: 0;
}

.bp-promotion-admin-card h4 {
    font-size: 18px;
}

.bp-promotion-admin-card p,
.bp-promotion-admin-card small {
    color: #666;
    line-height: 1.5;
}

.bp-promotion-admin-card-main > strong {
    color: #7d6110;
}

.bp-promotion-admin-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.bp-promotion-admin-actions form {
    margin: 0;
}

.bp-promotion-admin-actions .bp-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bp-promotions {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 48px);
    background:
        radial-gradient(ellipse at 50% -18%, rgba(201, 162, 39, 0.28), transparent 56%),
        linear-gradient(145deg, #171714 0%, #090909 65%, #1c1910 100%);
    color: #f7f4ee;
}

.bp-promotions::before,
.bp-promotions::after {
    position: absolute;
    z-index: -1;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(201, 162, 39, 0.14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.bp-promotions::before {
    top: -150px;
    left: -100px;
    box-shadow: 0 0 0 24px rgba(201, 162, 39, 0.025), 0 0 0 48px rgba(201, 162, 39, 0.02);
}

.bp-promotions::after {
    right: -120px;
    bottom: -180px;
    width: 340px;
    height: 340px;
    box-shadow: 0 0 0 28px rgba(201, 162, 39, 0.025), 0 0 0 56px rgba(201, 162, 39, 0.02);
}

.bp-promotions-heading {
    max-width: 800px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    text-align: center;
}

.bp-promotions-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(222, 190, 91, 0.45);
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.09);
    color: #e6c85f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bp-promotions-eyebrow::before,
.bp-promotions-eyebrow::after {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.bp-promotions-heading h2 {
    max-width: 760px;
    margin: 18px auto 10px;
    color: #fff;
    font-size: clamp(32px, 5.2vw, 58px);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.bp-promotions-heading p {
    margin: 0;
    color: #d0ccc1;
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6;
}

.bp-promotions-empty {
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fbf8ef 100%);
    text-align: center;
    box-shadow: 0 12px 32px rgba(28, 28, 28, 0.06);
}

.bp-promotions-empty-mark {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: #f4edcf;
    color: #8a6c12;
    font-size: 24px;
}

.bp-promotions-empty h3 {
    margin: 16px 0 8px;
    color: #171717;
    font-size: clamp(20px, 3vw, 26px);
}

.bp-promotions-empty p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.bp-promotions-booking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 20px;
    border-radius: 8px;
    background: #c9a227;
    color: #171717;
    font-weight: 700;
    text-decoration: none;
}

.bp-promotions-booking-link:hover,
.bp-promotions-booking-link:focus-visible {
    background: #b28c1d;
    color: #111;
}

.bp-promotions-grid {
    display: grid;
    max-width: 1180px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: clamp(16px, 2.4vw, 26px);
    margin: 0 auto;
}

.bp-promotion-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(222, 190, 91, 0.42);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(201, 162, 39, 0.15), transparent 42%),
        linear-gradient(150deg, #282720 0%, #171715 65%, #211d12 100%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #f7f4ee;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.bp-promotion-card::before {
    position: absolute;
    top: -1px;
    right: 24px;
    left: 24px;
    height: 2px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, #e6c85f, transparent);
    content: "";
}

.bp-promotion-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 200, 95, 0.8);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38), 0 0 28px rgba(201, 162, 39, 0.1);
}

.bp-promotion-card h3 {
    margin: 18px 0 9px;
    color: #fff;
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.2;
}

.bp-promotion-description {
    margin: 0 0 20px;
    color: #d0ccc1;
    line-height: 1.65;
}

.bp-promotion-type {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    color: #f0d675;
    font-size: 10px;
    letter-spacing: 0.14em;
}

.bp-promotion-type-mark {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(230, 200, 95, 0.55);
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.14);
    color: #f0d675;
    font-size: 15px;
    letter-spacing: 0;
}

.bp-promotion-benefit-block {
    display: flex;
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin: 0 0 16px;
    padding: 14px 18px;
    border: 1px solid rgba(230, 200, 95, 0.35);
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(201, 162, 39, 0.18), rgba(201, 162, 39, 0.055));
}

.bp-promotion-benefit-block > span {
    color: #d2c9a7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bp-promotion-benefit {
    color: #f2d66f;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.bp-promotion-card .bp-promotion-services,
.bp-promotion-terms {
    margin: 0 0 10px;
    color: #d0ccc1;
    font-size: 13px;
    line-height: 1.5;
}

.bp-promotion-terms {
    padding-left: 11px;
    border-left: 2px solid rgba(230, 200, 95, 0.55);
    color: #bcb7aa;
}

.bp-promotion-expiry,
.bp-promotion-redemption {
    display: block;
    margin-top: 7px;
    color: #c3beb2;
    font-size: 12px;
    line-height: 1.5;
}

.bp-promotion-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    margin-top: 22px;
    padding: 0 17px;
    border: 1px solid #e6c85f;
    border-radius: 9px;
    background: linear-gradient(100deg, #e6c85f, #c9a227);
    color: #17150e !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bp-promotion-cta span {
    font-size: 21px;
    transition: transform 180ms ease;
}

.bp-promotion-cta:hover,
.bp-promotion-cta:focus-visible {
    background: #f0d675;
    color: #111 !important;
    box-shadow: 0 6px 20px rgba(230, 200, 95, 0.22);
}

.bp-promotion-cta:hover span {
    transform: translateX(4px);
}

/* Keep member-area offers aligned with the lighter BarberPro dashboard. */
.bp-member-special-offers .bp-promotions {
    --bp-offer-ink: #1d2923;
    --bp-offer-green: #17251e;
    --bp-offer-muted: #74776f;
    --bp-offer-gold: #a88436;
    --bp-offer-border: #e8e3d8;
    padding: clamp(32px, 5vw, 58px);
    background: #f5f2eb;
    color: var(--bp-offer-ink);
}

.bp-member-special-offers .bp-promotions::before,
.bp-member-special-offers .bp-promotions::after {
    display: none;
}

.bp-member-special-offers .bp-promotions-heading {
    margin-bottom: 30px;
    text-align: center;
}

.bp-member-special-offers .bp-promotions-eyebrow {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--bp-offer-gold);
    font-size: 10px;
    letter-spacing: .2em;
}

.bp-member-special-offers .bp-promotions-eyebrow::before,
.bp-member-special-offers .bp-promotions-eyebrow::after {
    display: none;
}

.bp-member-special-offers .bp-promotions-heading h2 {
    max-width: 720px;
    margin: 10px auto;
    color: var(--bp-offer-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.15;
}

.bp-member-special-offers .bp-promotions-heading p {
    color: var(--bp-offer-muted);
    font-size: 14px;
}

.bp-member-special-offers .bp-promotions-empty {
    max-width: 760px;
    margin: 0 auto;
    border-color: var(--bp-offer-border);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(36, 39, 33, .035);
}

.bp-member-special-offers .bp-promotions-empty h3 {
    color: var(--bp-offer-green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.bp-member-special-offers .bp-promotions-booking-link,
.bp-member-special-offers .bp-promotion-cta {
    border: 1px solid #c9a227;
    border-radius: 2px;
    background: #c9a227;
    color: #17221c !important;
}

.bp-member-special-offers .bp-promotions-booking-link:hover,
.bp-member-special-offers .bp-promotions-booking-link:focus-visible,
.bp-member-special-offers .bp-promotion-cta:hover,
.bp-member-special-offers .bp-promotion-cta:focus-visible {
    border-color: #d8b757;
    background: #d8b757;
    color: #17221c !important;
    box-shadow: none;
}

.bp-member-special-offers .bp-promotion-card {
    border-color: var(--bp-offer-border);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(36, 39, 33, .035);
    color: var(--bp-offer-ink);
}

.bp-member-special-offers .bp-promotion-card::before {
    background: #c9a227;
}

.bp-member-special-offers .bp-promotion-card:hover {
    border-color: #d9c99f;
    box-shadow: 0 12px 30px rgba(36, 39, 33, .08);
}

.bp-member-special-offers .bp-promotion-card h3 {
    color: var(--bp-offer-green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.bp-member-special-offers .bp-promotion-description,
.bp-member-special-offers .bp-promotion-card .bp-promotion-services,
.bp-member-special-offers .bp-promotion-terms,
.bp-member-special-offers .bp-promotion-expiry,
.bp-member-special-offers .bp-promotion-redemption {
    color: var(--bp-offer-muted);
}

.bp-member-special-offers .bp-promotion-type,
.bp-member-special-offers .bp-promotion-type-mark,
.bp-member-special-offers .bp-promotion-benefit,
.bp-member-special-offers .bp-promotion-benefit-block > span {
    color: #80621f;
}

.bp-member-special-offers .bp-promotion-type-mark {
    border-color: #e8ddbd;
    background: #f8f4e8;
}

.bp-member-special-offers .bp-promotion-benefit-block {
    border-color: #e8ddbd;
    border-radius: 4px;
    background: #faf7ee;
}

.bp-member-special-offers .bp-promotion-terms {
    border-left-color: #c9a227;
}

@media (max-width: 700px) {
    .bp-promotion-form-grid {
        grid-template-columns: 1fr;
    }

    .bp-promotion-field-wide {
        grid-column: auto;
    }

    .bp-promotion-admin-card {
        flex-direction: column;
    }

    .bp-promotion-admin-actions {
        justify-content: flex-start;
    }

    .bp-promotions-admin .bp-admin-panel {
        padding: 16px;
    }

    .bp-promotions {
        padding: 44px 16px;
    }

    .bp-promotion-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-promotion-card,
    .bp-promotion-cta,
    .bp-promotion-cta span {
        transition: none;
    }
}
