body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content {
    flex: 1;
    margin-top: 120px;
    margin-bottom: 120px;
    min-width: 800px;
    display: flex;
    justify-content: center;
}

.promotions-section {
    width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.promotions-section > h1 {
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #272727;
    padding-bottom: 16px;
}

/* ── Tabs ── */
.promotion-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background-color: #f4f4f4;
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
}

.promotion-tab {
    padding: 8px 28px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #888;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.promotion-tab:hover {
    color: #555;
}

.promotion-tab.active {
    background-color: #fff;
    color: #272727;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ── List ── */
.promotion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Card ── */
.promotion-item {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.15s;
}

.promotion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.promotion-item > a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    align-items: center;
}

/* ── Image ── */
.promotion-image-wrap {
    position: relative;
    width: 100%;
}

.promotion-banner-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

/* ── Info ── */
.promotion-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
}

.promotion-info > h2 {
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    color: #272727;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.promotion-info > span {
    font-size: 14px;
    line-height: 18px;
    color: #a8a8a8;
}

/* ── Badge ── */
.promotion-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.promotion-badge--ended {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.promotion-badge--inline {
    margin-right: 6px;
    background: #e0e0e0;
    color: #666;
    vertical-align: middle;
}

/* ── Ended state ── */
.promotion-item--ended {
    opacity: 0.65;
}

.promotion-item--ended:hover {
    opacity: 0.85;
}

/* ── Empty state ── */
.promotion-empty {
    text-align: center;
    padding: 60px 0;
    font-size: 15px;
    color: #a8a8a8;
    list-style: none;
}

/* ── More button ── */
.promotions-section > .more-button {
    margin: 40px auto 0;
    width: 196px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 16px;
    text-align: right;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.promotions-section > .more-button:hover {
    background-color: #fafafa;
    border-color: #d0d0d0;
}

.promotions-section > .more-button > img {
    margin-left: 4px;
}
