/* Queen's Fragrances — Promotion Center */

.promotions-page {
    max-width: 1440px;
}

.promotions-page .topBar {
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.promo-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.promo-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #171717;
    color: #d4af37;
    font-size: 20px;
}

.promo-brand h1 {
    margin: 3px 0 0;
    font-family: Georgia, "Times New Roman", serif;
}

.promo-eyebrow {
    display: block;
    color: #9b7a1c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.promotions-page .promo-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: nowrap;
}

.promo-intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    margin: 24px 0 30px;
    padding: 34px;
    border: 1px solid #e8e1d2;
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 15%, rgba(212, 175, 55, 0.15), transparent 32%),
        #fff;
}

.promo-intro h2 {
    margin: 10px 0;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 500;
    line-height: 1.2;
}

.promo-intro p {
    max-width: 560px;
    margin: 0;
    color: #77736a;
    font-size: 14px;
    line-height: 1.7;
}

.promo-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    color: #b89424;
    font-size: 38px;
}

.promo-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.promotions-page .promo-stat-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border-top: 3px solid #d4af37;
}

.promo-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.promo-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.13);
    color: #a17c16;
    font-size: 17px;
}

.promo-status-icon {
    background: #e8f4eb;
    color: #287748;
}

.promo-stat-caption {
    color: #8a857a;
    font-size: 11px;
}

.promo-stat-label {
    margin-top: 3px;
    color: #77736a;
    font-size: 13px;
    font-weight: 600;
}

.promo-stat-value {
    color: #171717;
    font-size: 30px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.promo-status-value {
    font-size: 24px;
}

.promo-stat-note {
    color: #8a857a;
    font-size: 12px;
}

.promotions-page .promo-panel {
    margin-bottom: 26px;
    padding: 27px;
    border: 1px solid #e8e4db;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 24px rgba(31, 27, 17, 0.035);
}

.promo-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.promo-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #171717;
    color: #d4af37;
    font-size: 17px;
}

.promo-section-heading h3 {
    margin: 0 0 5px;
    color: #222;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 500;
}

.promo-section-heading p,
.promo-row-heading p {
    margin: 0;
    color: #827d73;
    font-size: 12px;
    line-height: 1.6;
}

.promo-form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #49463f;
    font-size: 12px;
    font-weight: 700;
}

.promo-field-label i {
    color: #b89424;
}

.promotions-page .promo-table-select,
.promotions-page .draftRow input {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #e4dfd4;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #26241f;
    font: inherit;
    font-size: 13px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.promotions-page .promo-table-select:focus,
.promotions-page .draftRow input:focus {
    border-color: #c5a13b;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.13);
}

.promo-row-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
}

.promo-row-heading h4 {
    margin: 0 0 5px;
    color: #292720;
    font-size: 14px;
}

.promo-row-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 8px 11px;
    border-radius: 20px;
    background: #f8f5ed;
    color: #82704a;
    font-size: 11px;
    font-weight: 600;
}

.promo-draft-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promotions-page .draftRow {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 1px solid #eee9df;
    border-radius: 12px;
    background: #fcfbf8;
}

.promo-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 8px;
}

.promotions-page .promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.promotions-page .promo-btn:hover {
    transform: translateY(-1px);
}

.promotions-page .promo-btn:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.4);
    outline-offset: 3px;
}

.promotions-page .promo-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.promotions-page .promo-btn-primary {
    background: #d4af37;
    color: #171717;
}

.promotions-page .promo-btn-primary:hover {
    background: #e0bd4f;
}

.promotions-page .promo-btn-secondary {
    border-color: #e4dfd4;
    background: #fff;
    color: #39362e;
}

.promotions-page .promo-btn-secondary:hover {
    background: #f8f6f0;
}

.promotions-page .promo-btn-dark {
    background: #171717;
    color: #fff;
}

.promotions-page .promo-btn-dark:hover {
    background: #303030;
}

.promotions-page .promo-btn-success {
    background: #287748;
    color: #fff;
}

.promotions-page .promo-btn-success:hover {
    background: #21653d;
}

.promotions-page .promo-btn-danger {
    background: #fff2f0;
    border-color: #f1d1cc;
    color: #a52b20;
}

.promotions-page .promo-btn-danger:hover {
    background: #fce4e0;
}

.promotions-page .actions.promo-management-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.promo-table-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.promo-table-heading .promo-section-heading {
    margin-bottom: 20px;
}

.promo-table-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 9px 12px;
    border: 1px solid #eee8da;
    border-radius: 9px;
    color: #777064;
    font-size: 11px;
}

.promo-table-count i {
    color: #b89424;
}

.promo-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #eee9df;
    border-radius: 12px;
}

.promotions-page table.promo-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.promotions-page .promo-table th {
    padding: 15px;
    border-bottom: 1px solid #e8e4db;
    background: #f8f6f1;
    color: #77736a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.promotions-page .promo-table th i {
    margin-right: 5px;
    color: #b89424;
}

.promotions-page .promo-table td {
    padding: 15px;
    border-bottom: 1px solid #f0ede7;
    color: #39362e;
    font-size: 12px;
    white-space: nowrap;
}

.promotions-page .promo-table tbody tr:last-child td {
    border-bottom: none;
}

.promotions-page .promo-table tbody tr:hover {
    background: #fcfaf5;
}

.promotions-page .promo-table td button {
    padding: 8px 11px;
    border: 1px solid #ead9a0;
    border-radius: 7px;
    background: #fbf4dc;
    color: #765b12;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.promotions-page .promo-table td button:hover {
    background: #f4e7ba;
}

.promotions-page .promo-table .promo-empty-state {
    padding: 35px 18px;
    color: #8b8579;
    text-align: center;
    white-space: normal;
}

.promo-empty-state i {
    display: block;
    margin-bottom: 10px;
    color: #c5b58a;
    font-size: 25px;
}

.promo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 2px 24px;
    color: #8a857a;
    font-size: 11px;
}

.promo-footer span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c5a2a;
    font-weight: 700;
}

.promo-footer i {
    color: #b89424;
}

@media (max-width: 768px) {
    .promo-intro {
        padding: 26px;
    }

    .promo-intro-icon {
        width: 76px;
        height: 76px;
        font-size: 29px;
    }

    .promotions-page .promo-panel {
        padding: 21px;
    }

    .promotions-page .draftRow {
        grid-template-columns: 1fr 1fr;
    }

    .promotions-page .draftRow .rowId {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .promotions-page .topBar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .promo-brand-icon {
        width: 42px;
        height: 42px;
    }

    .promo-intro {
        margin-top: 18px;
        padding: 23px 20px;
    }

    .promo-intro-icon {
        display: none;
    }

    .promo-stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .promotions-page .promo-stat-card {
        padding: 20px;
    }

    .promotions-page .promo-panel {
        padding: 18px 14px;
    }

    .promo-section-heading {
        align-items: flex-start;
        gap: 11px;
    }

    .promo-heading-icon {
        width: 38px;
        height: 38px;
    }

    .promo-section-heading h3 {
        font-size: 18px;
    }

    .promo-row-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .promotions-page .draftRow {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .promotions-page .draftRow .rowId {
        grid-column: auto;
    }

    .promo-form-actions,
    .promotions-page .actions.promo-management-actions {
        flex-direction: column;
    }

    .promotions-page .promo-btn {
        width: 100%;
    }

    .promo-table-heading {
        flex-direction: column;
        gap: 0;
    }

    .promo-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 360px) {
    .promo-brand {
        gap: 10px;
    }

    .promo-brand h1 {
        font-size: 20px;
    }

    .promo-intro h2 {
        font-size: 25px;
    }

    .promotions-page .promo-panel {
        padding: 15px 11px;
    }
}