/* promos.css */

:root {
    --promo-surface: linear-gradient(160deg, rgba(7, 33, 71, 0.78), rgba(14, 60, 113, 0.56));
    --promo-surface-soft: linear-gradient(155deg, rgba(10, 46, 92, 0.56), rgba(11, 71, 117, 0.3));
    --promo-border: rgba(148, 217, 255, 0.22);
    --promo-border-strong: rgba(158, 230, 255, 0.42);
    --promo-text-soft: rgba(201, 227, 255, 0.88);
    --promo-accent: #7ad6ff;
    --promo-accent-strong: #3ec2ff;
    --promo-danger: #ff7a90;
    --promo-danger-soft: rgba(255, 124, 151, 0.24);
}

body {
    color: #ffffff;
}

body.bundle-modal-open {
    overflow: hidden;
}

.promo-window {
    width: min(1380px, 100%);
    margin: 0 auto;
    padding: clamp(0.3rem, 1.2vw, 0.8rem) clamp(0.2rem, 1vw, 0.75rem);
}

.promos-header {
    background: var(--promo-surface-soft);
    border: 1px solid var(--promo-border);
    border-radius: 18px;
    padding: clamp(1rem, 2.4vw, 1.5rem);
    box-shadow: 0 14px 34px rgba(2, 14, 36, 0.28);
}

.promos-kicker {
    margin: 0;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(173, 229, 255, 0.8);
    font-weight: 600;
}

.promos-title {
    margin: 0.4rem 0 0;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(90deg, #c8efff, #8fdbff 48%, #66d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promos-subtitle {
    margin: 0.6rem 0 0;
    color: var(--promo-text-soft);
    font-size: 0.96rem;
    max-width: 840px;
}

.promos-toolbar {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, auto);
    gap: 0.8rem;
    align-items: start;
}

.promo-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(6, 29, 61, 0.86);
    border: 1px solid rgba(137, 206, 255, 0.27);
    border-radius: 11px;
    padding: 0.6rem 0.75rem;
    margin: 0;
}

.promo-search i {
    color: rgba(156, 219, 255, 0.8);
    font-size: 0.88rem;
}

.promo-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f1f8ff;
    font-size: 0.92rem;
    line-height: 1.2;
}

.promo-search input::placeholder {
    color: rgba(170, 210, 243, 0.72);
}

#promoSearchClear {
    border: 0;
    outline: 0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: rgba(56, 132, 196, 0.22);
    color: rgba(208, 236, 255, 0.88);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

#promoSearchClear:hover {
    background: rgba(73, 154, 221, 0.34);
    color: #ffffff;
}

.promo-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.promo-filter-btn {
    border: 1px solid rgba(135, 205, 255, 0.23);
    background: rgba(16, 66, 115, 0.48);
    color: rgba(221, 244, 255, 0.9);
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.promo-filter-btn:hover {
    border-color: rgba(168, 230, 255, 0.55);
    background: rgba(20, 88, 150, 0.56);
    transform: translateY(-1px);
}

.promo-filter-btn.active {
    border-color: rgba(163, 235, 255, 0.86);
    background: linear-gradient(135deg, rgba(42, 158, 223, 0.7), rgba(30, 106, 183, 0.65));
    box-shadow: 0 8px 20px rgba(8, 34, 74, 0.34);
    color: #ffffff;
}

.promos-meta {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.promo-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.33rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 84, 139, 0.42);
    border: 1px solid rgba(148, 219, 255, 0.33);
    color: #edf7ff;
    font-size: 0.8rem;
    font-weight: 500;
}

.promo-meta-chip--muted {
    color: rgba(202, 228, 247, 0.88);
    background: rgba(14, 57, 101, 0.32);
    border-color: rgba(128, 194, 233, 0.2);
}

.promo-section {
    margin-top: 1.1rem;
    background: var(--promo-surface);
    border: 1px solid var(--promo-border);
    border-radius: 18px;
    padding: 0.95rem;
    box-shadow: 0 12px 26px rgba(2, 12, 32, 0.26);
}

.promo-section--expired {
    background: linear-gradient(155deg, rgba(24, 40, 67, 0.67), rgba(37, 57, 92, 0.51));
}

.section-title {
    margin: 0 0 0.45rem;
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #9fe6ff;
    text-align: left;
}

.promo-section-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.category-section {
    border-top: 1px solid rgba(138, 202, 244, 0.17);
    padding-top: 0.8rem;
}

.category-section:first-child {
    border-top: 0;
    padding-top: 0.1rem;
}

.category-title {
    margin: 0 0 0.6rem;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(180, 230, 255, 0.82);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-items: center;
    align-items: stretch;
    grid-auto-rows: 1fr;
    gap: 0.72rem;
}

.promo-card {
    position: relative;
    background: linear-gradient(160deg, rgba(9, 36, 74, 0.95), rgba(17, 69, 122, 0.68));
    border: 1px solid rgba(135, 204, 255, 0.22);
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    cursor: pointer;
    outline: none;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(173, 231, 255, 0.52);
    box-shadow: 0 14px 26px rgba(4, 22, 49, 0.42);
}

.promo-card:focus-visible {
    border-color: rgba(176, 237, 255, 0.78);
    box-shadow: 0 0 0 2px rgba(98, 199, 255, 0.44), 0 14px 26px rgba(4, 22, 49, 0.42);
}

.promo-card.is-unavailable {
    border-color: rgba(183, 199, 221, 0.2);
    background: linear-gradient(155deg, rgba(19, 37, 67, 0.9), rgba(26, 46, 77, 0.7));
}

.promo-card-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.promo-image-link {
    display: block;
    position: relative;
    aspect-ratio: 515 / 409;
    max-height: 270px;
    overflow: hidden;
    background: rgba(7, 24, 49, 0.58);
    border-bottom: 1px solid rgba(139, 209, 255, 0.18);
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-info {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
    padding: 0.72rem;
    flex: 1;
}

.promo-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.23rem 0.52rem;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border: 1px solid rgba(154, 222, 255, 0.36);
    background: rgba(30, 102, 170, 0.42);
    color: #d9f2ff;
}

.promo-badge.type-ultimate {
    background: rgba(51, 115, 255, 0.45);
    border-color: rgba(178, 209, 255, 0.62);
}

.promo-badge.type-minibox {
    background: rgba(67, 108, 224, 0.45);
    border-color: rgba(158, 188, 255, 0.58);
}

.promo-badge.type-numeric {
    background: rgba(34, 130, 172, 0.42);
    border-color: rgba(132, 225, 255, 0.5);
}

.promo-badge.type-bundle {
    background: rgba(48, 117, 173, 0.38);
    border-color: rgba(149, 220, 255, 0.42);
}

.promo-badge.is-expired {
    background: var(--promo-danger-soft);
    border-color: rgba(255, 171, 185, 0.6);
    color: #ffd4dc;
}

.promo-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.21rem 0.52rem;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(144, 231, 255, 0.4);
    background: rgba(16, 117, 150, 0.35);
    color: #e6faff;
}

.promo-status-chip.is-active {
    border-color: rgba(136, 239, 200, 0.42);
    background: rgba(37, 133, 104, 0.28);
    color: #d9ffef;
}

.promo-status-chip.is-expired {
    border-color: rgba(255, 171, 185, 0.58);
    background: rgba(143, 43, 71, 0.32);
    color: #ffd4dc;
}

.promo-deadline-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ddf5ff;
    border: 1px solid rgba(157, 225, 255, 0.37);
    background: rgba(18, 98, 150, 0.3);
}

.promo-tag,
.promo-highlight-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(157, 225, 255, 0.37);
    color: #ddf5ff;
    background: rgba(18, 98, 150, 0.3);
    position: relative;
    overflow: hidden;
}

.promo-highlight-chip {
    border-color: rgba(255, 171, 185, 0.58);
    background: linear-gradient(135deg, rgba(229, 82, 132, 0.92), rgba(234, 105, 91, 0.9));
    color: #ffffff;
}

.promo-price-highlight {
    margin: -0.1rem 0 0;
    align-self: flex-start;
    border-radius: 9px;
    border: 1px solid rgba(154, 224, 255, 0.44);
    background: rgba(24, 107, 181, 0.28);
    color: #ecf9ff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.36rem 0.55rem;
}

.promo-deadline-chip.is-expired {
    border-color: rgba(255, 171, 185, 0.56);
    background: rgba(143, 43, 71, 0.32);
    color: #ffd4dc;
}

.promo-name {
    margin: 0;
    color: #f6fbff;
    font-size: 1.04rem;
    line-height: 1.28;
    font-weight: 700;
}

.promo-description {
    margin: 0;
    color: var(--promo-text-soft);
    font-size: 0.84rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-includes {
    margin-top: 0.05rem;
    padding-top: 0.42rem;
    border-top: 1px dashed rgba(148, 212, 255, 0.23);
}

.promo-plugins-title {
    margin: 0;
    font-size: 0.73rem;
    color: rgba(194, 230, 255, 0.88);
    font-weight: 600;
}

.promo-plugins-grid {
    margin-top: 0.38rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.promo-plugin-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(132, 200, 247, 0.24);
    background: rgba(9, 45, 83, 0.56);
    border-radius: 8px;
    padding: 0.28rem 0.34rem;
    min-width: 0;
    color: #e8f7ff;
    text-decoration: none;
}

.promo-plugin-item--disabled {
    cursor: default;
    opacity: 0.84;
}

.promo-plugin-thumb {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    flex: 0 0 30px;
    border: 1px solid rgba(153, 220, 255, 0.22);
}

.promo-plugin-name {
    min-width: 0;
    font-size: 0.69rem;
    line-height: 1.22;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-actions {
    margin-top: auto;
    padding-top: 0.32rem;
}

.promo-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 9px;
    border: 1px solid rgba(154, 224, 255, 0.44);
    background: linear-gradient(135deg, rgba(44, 144, 221, 0.72), rgba(24, 107, 181, 0.64));
    color: #f8fcff;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.39rem 0.68rem;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.promo-action-link:hover {
    color: #ffffff;
    text-decoration: none;
    border-color: rgba(188, 238, 255, 0.68);
    transform: translateY(-1px);
}

.promo-unavailable-note {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: rgba(213, 223, 237, 0.9);
    padding: 0.38rem 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(182, 196, 214, 0.24);
    background: rgba(26, 45, 74, 0.72);
}

.promo-empty-state {
    border: 1px dashed rgba(149, 211, 248, 0.3);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: rgba(197, 225, 247, 0.9);
    background: rgba(8, 39, 75, 0.32);
    font-size: 0.88rem;
}

.bundle-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.8rem, 2vw, 1.4rem);
    background: rgba(3, 12, 27, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
}

.bundle-detail-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.bundle-detail-dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: calc(100vh - 1.8rem);
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(149, 218, 255, 0.36);
    background: linear-gradient(162deg, rgba(7, 34, 68, 0.98), rgba(11, 58, 104, 0.95));
    box-shadow: 0 18px 46px rgba(2, 11, 28, 0.56);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.28s ease;
    padding-top: 0.25rem;
}

.bundle-detail-modal.is-open .bundle-detail-dialog {
    transform: translateY(0) scale(1);
}

.bundle-detail-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(153, 226, 255, 0.46);
    background: rgba(17, 88, 140, 0.46);
    color: #ffffff;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.16s ease, background 0.16s ease;
}

.bundle-detail-close:hover {
    transform: scale(1.04);
    background: rgba(30, 108, 165, 0.56);
}

.bundle-detail-hero {
    display: grid;
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
    gap: 1.15rem;
    padding: 1rem 1rem 0.85rem;
}

.bundle-detail-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(150, 221, 255, 0.3);
    background: rgba(5, 24, 49, 0.52);
    object-fit: cover;
    max-height: 360px;
}

.bundle-detail-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.35rem;
    padding-bottom: 0.4rem;
}

.bundle-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.bundle-detail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.32rem 0.7rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(151, 222, 255, 0.42);
    background: rgba(20, 102, 160, 0.32);
    color: #e4f8ff;
}

.bundle-detail-badge--status.is-active {
    border-color: rgba(136, 239, 200, 0.52);
    background: rgba(37, 133, 104, 0.28);
    color: #d9ffef;
}

.bundle-detail-badge--status.is-expired {
    border-color: rgba(255, 171, 185, 0.6);
    background: rgba(143, 43, 71, 0.34);
    color: #ffd4dc;
}

.bundle-detail-badge.is-hidden {
    display: none;
}

.bundle-detail-title {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.22;
    color: #f2fbff;
}

.bundle-detail-description {
    margin: 0;
    color: rgba(214, 236, 253, 0.95);
    line-height: 1.55;
    font-size: 0.96rem;
    white-space: pre-wrap;
}

.bundle-detail-availability-note {
    margin: -0.05rem 0 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 171, 185, 0.38);
    background: rgba(143, 43, 71, 0.2);
    color: #ffdce3;
    font-size: 0.88rem;
    line-height: 1.45;
    padding: 0.55rem 0.65rem;
}

.bundle-detail-availability-note.is-hidden {
    display: none;
}

.bundle-detail-buy-btn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.08rem;
    border-radius: 11px;
    border: 1px solid rgba(255, 157, 181, 0.58);
    background: linear-gradient(135deg, rgba(255, 90, 141, 0.92), rgba(255, 125, 95, 0.9));
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(90, 18, 44, 0.36);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bundle-detail-buy-btn:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(90, 18, 44, 0.44);
}

.bundle-detail-buy-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    width: 42%;
    transform: translateX(-180%) skewX(-22deg);
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.06) 30%,
        rgba(255, 255, 255, 0.34) 50%,
        rgba(255, 255, 255, 0.07) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    animation: itchLightSweep 3.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes itchLightSweep {
    0% {
        transform: translateX(-180%) skewX(-22deg);
    }
    68% {
        transform: translateX(290%) skewX(-22deg);
    }
    100% {
        transform: translateX(290%) skewX(-22deg);
    }
}

.bundle-detail-includes {
    margin: 0 1rem 1rem;
    padding: 0.82rem;
    border-radius: 12px;
    border: 1px solid rgba(143, 209, 255, 0.24);
    background: rgba(8, 38, 72, 0.5);
}

.bundle-detail-includes h3 {
    margin: 0 0 0.62rem;
    color: #cbf1ff;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bundle-detail-plugins-grid {
    display: grid;
    gap: 0.52rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bundle-detail-plugin-tile {
    display: flex;
    align-items: center;
    gap: 0.52rem;
    border-radius: 10px;
    border: 1px solid rgba(141, 211, 255, 0.32);
    background: rgba(10, 52, 93, 0.62);
    padding: 0.42rem 0.5rem;
    color: #f2fbff;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.bundle-detail-plugin-tile:hover {
    color: #ffffff;
    text-decoration: none;
    border-color: rgba(176, 232, 255, 0.62);
    background: rgba(20, 76, 129, 0.72);
    transform: translateY(-1px);
}

.bundle-detail-plugin-tile--disabled {
    cursor: default;
    opacity: 0.84;
}

.bundle-detail-plugin-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(154, 224, 255, 0.34);
    flex: 0 0 48px;
}

.bundle-detail-plugin-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bundle-detail-plugin-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.84rem;
    font-weight: 700;
}

.bundle-detail-plugin-cta {
    font-size: 0.72rem;
    color: rgba(192, 232, 255, 0.9);
}

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 992px) {
    .promos-toolbar {
        grid-template-columns: 1fr;
    }

    .promo-type-filters {
        justify-content: flex-start;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .bundle-detail-hero {
        grid-template-columns: 1fr;
    }

    .bundle-detail-image {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .promo-window {
        padding: 0.2rem 0;
    }

    .promos-header,
    .promo-section {
        border-radius: 14px;
        padding: 0.8rem;
    }

    .promo-description {
        -webkit-line-clamp: 8;
        line-clamp: 8;
    }

    .promo-plugins-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bundle-detail-dialog {
        width: min(1080px, calc(100vw - 1rem));
        max-height: calc(100vh - 1rem);
    }

    .bundle-detail-close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .bundle-detail-hero {
        padding: 0.8rem 0.75rem 0.7rem;
    }

    .bundle-detail-includes {
        margin: 0 0.75rem 0.75rem;
        padding: 0.7rem;
    }
}

@media (max-width: 560px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .promo-filter-btn {
        font-size: 0.72rem;
        padding: 0.34rem 0.63rem;
    }

    .bundle-detail-buy-btn {
        width: 100%;
        justify-content: center;
    }

    .bundle-detail-plugins-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .promos-header,
    .promo-section {
        padding: 0.72rem;
    }

    .promos-title {
        font-size: clamp(1.2rem, 6vw, 1.4rem);
    }

    .promos-subtitle {
        font-size: 0.86rem;
    }

    .promo-search {
        padding: 0.52rem 0.62rem;
    }

    #promoSearchClear {
        width: 1.5rem;
        height: 1.5rem;
    }

    .promo-meta-chip {
        font-size: 0.74rem;
        padding: 0.3rem 0.6rem;
    }

    .bundle-detail-hero {
        padding: 0.68rem 0.58rem 0.55rem;
        gap: 0.72rem;
    }

    .bundle-detail-includes {
        margin: 0 0.58rem 0.62rem;
        padding: 0.58rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bundle-detail-buy-btn::after {
        animation: none !important;
    }
}
