.ammodeck-deals-table-wrap {
    background: linear-gradient(180deg, #fffdf8 0%, #f7f1e7 100%);
    border: 1px solid #e5dac6;
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(14, 17, 22, 0.08);
    margin: 32px 0;
    overflow: hidden;
}

.ammodeck-deals-table-topline {
    align-items: end;
    background: linear-gradient(135deg, #0e1116 0%, #171d27 100%);
    color: #f5f1e8;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 24px 28px 22px;
}

.ammodeck-deals-eyebrow {
    color: #b08d57;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.ammodeck-deals-heading {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin: 0;
}

.ammodeck-deals-topnote {
    color: rgba(245, 241, 232, 0.76);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
    text-align: right;
}

.ammodeck-deals-table-scroll {
    overflow-x: auto;
}

.ammodeck-deals-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 960px;
    width: 100%;
}

.ammodeck-deals-table th,
.ammodeck-deals-table td {
    border-bottom: 1px solid #e8dcc8;
    padding: 18px 20px;
    text-align: left;
    vertical-align: top;
}

.ammodeck-deals-table th {
    background: rgba(176, 141, 87, 0.08);
    color: #544830;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ammodeck-deals-row {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.ammodeck-deals-row:hover {
    background: rgba(255, 255, 255, 0.7);
}

.ammodeck-deals-row-linkable:hover .ammodeck-deals-title-link {
    color: #8a6b38;
}

.ammodeck-deals-retailer {
    color: #121821;
    font-size: 15px;
    font-weight: 700;
}

.ammodeck-deals-title-link {
    color: #0e1116;
    display: inline-block;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-decoration: none;
}

.ammodeck-deals-title-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.16em;
}

.ammodeck-deals-number,
.ammodeck-deals-price,
.ammodeck-deals-cpr,
.ammodeck-deals-ship-known {
    color: #121821;
    font-size: 16px;
    font-weight: 700;
}

.ammodeck-deals-cpr {
    display: inline-block;
    font-size: 18px;
}

.ammodeck-deals-muted {
    color: #66707d;
    font-size: 13px;
    margin-top: 5px;
}

.ammodeck-deals-button {
    align-items: center;
    background: #b08d57;
    border-radius: 999px;
    color: #0e1116;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    line-height: 1;
    padding: 12px 16px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.ammodeck-deals-button:hover {
    background: #c7a46a;
    box-shadow: 0 12px 24px rgba(176, 141, 87, 0.22);
    transform: translateY(-1px);
}

.ammodeck-deals-stock {
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    text-transform: uppercase;
}

.ammodeck-deals-stock-in {
    background: #dff6e3;
    color: #0b5720;
}

.ammodeck-deals-stock-out {
    background: #fde8e8;
    color: #8a1f1f;
}

.ammodeck-deals-empty {
    background: linear-gradient(180deg, #fffdf8 0%, #f7f1e7 100%);
    border: 1px solid #e5dac6;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(14, 17, 22, 0.06);
    margin: 24px 0;
    padding: 28px;
}

.ammodeck-deals-empty p {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .ammodeck-deals-table-topline {
        align-items: start;
        flex-direction: column;
    }

    .ammodeck-deals-topnote {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 680px) {
    .ammodeck-deals-table-wrap {
        border-radius: 22px;
        margin: 24px 0;
    }

    .ammodeck-deals-table-topline {
        padding: 22px 20px 18px;
    }

    .ammodeck-deals-table-scroll {
        overflow: visible;
    }

    .ammodeck-deals-table,
    .ammodeck-deals-table thead,
    .ammodeck-deals-table tbody,
    .ammodeck-deals-table tr,
    .ammodeck-deals-table th,
    .ammodeck-deals-table td {
        display: block;
    }

    .ammodeck-deals-table {
        min-width: 0;
    }

    .ammodeck-deals-table thead {
        display: none;
    }

    .ammodeck-deals-row {
        border-bottom: 1px solid #e8dcc8;
        padding: 4px 0;
    }

    .ammodeck-deals-table td {
        border-bottom: 0;
        padding: 10px 20px;
    }

    .ammodeck-deals-table td::before {
        color: #7a6c56;
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        margin-bottom: 4px;
        text-transform: uppercase;
    }
}
