/**
 * Gas Impex Core — Акции (тёмная тема)
 */

.gi-promos-wrap *,
.gi-promos-wrap *::before,
.gi-promos-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.gi-promos-wrap {
    width: 100%;
    font-family: 'Onest', sans-serif;
    color: #fff;
}

.gi-promos-header {
    text-align: center;
    margin-bottom: 48px;
}

.gi-promos-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gi-red);
    margin-bottom: 14px;
}

.gi-promos-title {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
}

.gi-promos-title span { color: var(--gi-blue); }

.gi-promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

/* Карточка акции */
.gi-promo-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gi-promo-card:hover {
    border-color: rgba(var(--gi-red-rgb), 0.3);
    transform: translateY(-4px);
}

.gi-promo-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #0a0a0a;
}

.gi-promo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gi-promo-card:hover .gi-promo-thumb img {
    transform: scale(1.05);
}

.gi-promo-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--gi-red-rgb), 0.08), rgba(var(--gi-blue-rgb), 0.08));
}

.gi-promo-thumb-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    fill: var(--gi-red);
}

.gi-promo-badge-active {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(var(--gi-red-rgb), 0.15);
    border: 1px solid rgba(var(--gi-red-rgb), 0.35);
    color: var(--gi-red);
    backdrop-filter: blur(8px);
}

.gi-promo-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gi-promo-name {
    font-family: 'Geologica', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 10px;
}

.gi-promo-desc {
    font-size: 13.5px;
    color: #888;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.gi-promo-metas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.gi-promo-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #666;
}

.gi-promo-meta-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: var(--gi-blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gi-promo-meta-item span {
    color: #aaa;
}

.gi-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gi-red), #FB8304);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.gi-promo-btn,
.gi-promo-btn:hover,
.gi-promo-btn:visited,
.gi-promo-btn:focus {
    color: #fff !important;
}

.gi-promo-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.gi-promo-btn svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Пустое состояние */
.gi-promos-empty {
    text-align: center;
    padding: 60px 20px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
}

.gi-promos-empty svg {
    width: 48px;
    height: 48px;
    stroke: #333;
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 16px;
}

.gi-promos-empty p {
    color: #555;
    font-size: 15px;
}

@media (max-width: 480px) {
    .gi-promos-grid {
        grid-template-columns: 1fr;
    }
    .gi-promo-body { padding: 18px; }
}
