.smart-offer {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    /* removed max-width: 600px to allow grid to control width */
    width: 100%;
    margin: 0;
    /* removed margin auto */
    overflow: visible;
    border: 1px solid #e0e0e0;
    font-family: 'DM Sans', sans-serif;
    /* Modern sans */
    text-align: left;
    /* Reset text align */
    display: flex;
    flex-direction: column;
}

.smart-header {
    background: #fff;
    color: #333;
    padding: 40px 30px 25px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 12px 12px 0 0;
}

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #c62828;
    color: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
    white-space: nowrap;
}

.smart-header h3 {
    margin: 10px 0 5px;
    font-size: 1.8rem;
    color: #3E2723;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
}

.smart-header p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.7;
    font-style: italic;
    font-family: 'Lora', serif;
}

.value-stack {
    padding: 30px;
    background: #fff;
}

.stack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.stack-item:last-child {
    border-bottom: none;
}

.stack-item .item-icon {
    width: 40px;
    height: 40px;
    background: #fcf8e8;
    color: #b8860b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stack-item .item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.stack-item .item-info strong {
    color: #333;
    font-size: 1rem;
    font-weight: 700;
}

.stack-item .item-info span {
    font-size: 0.85rem;
    color: #777;
    margin-top: 2px;
}

.stack-item .item-value {
    font-weight: 700;
    color: #555;
    font-size: 1rem;
    text-align: right;
    min-width: 80px;
}

.stack-item .item-value.highlight {
    color: #27ae60;
}

.stack-item.bonus-row {
    background: #fffcf5;
    margin: 10px -30px -10px;
    /* Bleed out */
    padding: 15px 30px;
    border-top: 1px solid #f0e6c8;
    border-bottom: none;
}

.free-tag {
    background: #27ae60;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    vertical-align: middle;
    margin-right: 5px;
}

.smart-total-section {
    background: #fdfdfd;
    padding: 30px;
    border-top: 2px solid #eee;
    text-align: center;
    /* Centralize Text */
}

.total-line {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.total-line.sub {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.total-line.sub span:last-child {
    font-size: 1.5rem;
    color: #999;
    font-weight: 700;
    margin-top: 5px;
}

.total-line.final {
    margin-top: 10px;
    align-items: center;
}

.total-line.final>span:first-child {
    font-weight: 700;
    font-size: 1.4rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.final-price-box {
    display: flex;
    align-items: flex-start;
    color: #b8860b;
    line-height: 0.9;
    justify-content: center;
}

.final-price-box .currency {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 15px;
    margin-right: 5px;
}

.final-price-box .amount {
    font-size: 5.5rem;
    /* Reduced from Ultra Massive for 2-col */
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background: linear-gradient(to bottom, #d4af37, #a67c00);
    -webkit-background-clip: text;
    background-clip: text;
    /* LINT FIX: ID ea176f5e-8aee-4770-b0ad-0162a5ea2741 */
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.final-price-box .cents {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 15px;
}

.smart-actions {
    padding: 0 30px 40px;
    background: #f9f9f9;
    text-align: center;
}

.btn-smart {
    display: block;
    background: linear-gradient(to right, #27ae60, #2ecc71);
    color: #fff;
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
    border-bottom: 4px solid #1e8449;
    /* 3D effect */
    transition: transform 0.2s;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.btn-smart:hover {
    transform: translateY(-2px);
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

.btn-smart:active {
    transform: translateY(2px);
    border-bottom-width: 0;
    margin-top: 4px;
    /* Offset margin */
}

.btn-smart .btn-title {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-smart .btn-sub {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 3px;
    font-weight: 500;
}

.security-note {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Animations */
@keyframes pulse-red {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.7);
    }

    70% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 0 0 10px rgba(198, 40, 40, 0);
    }

    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
    }
}

/* Dual Offer Specifics */
.smart-offer.basic {
    border-color: #eee;
    transform: scale(0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.smart-offer.basic .smart-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.smart-offer.basic .btn-smart {
    background: linear-gradient(to right, #7f8c8d, #95a5a6);
    border-bottom-color: #586364;
    box-shadow: 0 10px 25px rgba(127, 140, 141, 0.3);
}

.smart-offer.basic .btn-smart:hover {
    background: linear-gradient(to right, #95a5a6, #7f8c8d);
}

.smart-offer.premium {
    border: 2px solid #D4AF37;
    transform: scale(1);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.smart-offer.basic:hover {
    transform: scale(0.98);
    transition: transform 0.3s;
}

@media (min-width: 900px) {
    .pricing-container {
        align-items: center;
        /* Ensure vertical alignment */
    }
}


@media (max-width: 600px) {
    .smart-offer {
        max-width: 100%;
        border-radius: 0;
        margin: 20px 0;
        border-left: none;
        border-right: none;
    }

    .stack-item {
        flex-wrap: wrap;
        /* Allow wrapping on tiny screens */
    }

    .stack-item .item-value {
        width: 100%;
        text-align: left;
        padding-left: 55px;
        /* Indent to match text */
        margin-top: 5px;
        color: #27ae60;
        /* Highlight value on mobile */
    }
}