/* ============================================
   SHOP BY BUDGET SECTION — PREMIUM UPGRADED
   ============================================ */
.budget-section {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 50%, #FFE8D6 100%);
    position: relative;
    /* NO overflow:hidden — was clipping hovering cards */
}

/* Background ornamental pattern kept on a pseudo that doesn't clip */
.budget-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(212, 175, 55, 0.07) 80px, rgba(212, 175, 55, 0.07) 81px),
        repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(212, 175, 55, 0.07) 80px, rgba(212, 175, 55, 0.07) 81px),
        radial-gradient(circle at 15% 30%, rgba(255, 215, 0, 0.14) 0%, transparent 30%),
        radial-gradient(circle at 85% 70%, rgba(212, 175, 55, 0.11) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.budget-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.22) 2px, transparent 2px);
    background-size: 60px 60px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: shimmerBg 22s linear infinite;
}

@keyframes shimmerBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

/* ── Section Header ── */
.budget-section .section-header,
.budget-section .budget-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ── Grid Wrapper ── */
.budget-cards-wrapper {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    /* extra bottom padding so shadow of lifted cards is visible */
    padding-bottom: 1.5rem;
}

.budget-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Card ── */
.budget-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* z-index so each card renders above section bg */
    z-index: 2;
}

.budget-card:hover {
    transform: translateY(-14px);
    z-index: 10;
}

/* Card body */
.budget-arch {
    background: linear-gradient(160deg, #FFFFFF 0%, #FFF8EE 60%, #FFFFFF 100%);
    border-radius: 18px;
    padding: 2rem 1rem 1.4rem;
    position: relative;
    box-shadow:
        0 6px 24px rgba(139, 0, 0, 0.10),
        0 2px 8px rgba(212, 175, 55, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: box-shadow 0.4s ease;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
}

/* On hover — shadow deepens beautifully */
.budget-card:hover .budget-arch {
    box-shadow:
        0 20px 50px rgba(139, 0, 0, 0.18),
        0 6px 18px rgba(212, 175, 55, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.7);
}

/* Gold top tab accent */
.budget-arch::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 18px;
    background: linear-gradient(90deg, transparent, #D4AF37 20%, #FFD700 50%, #D4AF37 80%, transparent 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -3px 10px rgba(212, 175, 55, 0.35);
}

/* Animated gold shimmer border ring on hover */
.budget-arch::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 19px;
    background: linear-gradient(135deg, #D4AF37, #FFD700, #FFA500, #FFD700, #D4AF37);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: shimmerBorder 2.5s linear infinite;
}

.budget-card:hover .budget-arch::before {
    opacity: 1;
}

@keyframes shimmerBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ── Content ── */
.budget-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 2;
}

/* Rotating diamond */
.budget-content::before {
    content: '◆';
    font-size: 0.95rem;
    color: #D4AF37;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.15) rotate(20deg);
    }
}

.budget-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: #8B0000;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.budget-price {
    font-size: 1.85rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B0000 0%, #A91D3A 50%, #C41E3A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 0.5px;
    line-height: 1;
    position: relative;
}

/* Underline accent */
.budget-price::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    border-radius: 1px;
}

/* Arrow button */
.budget-arrow {
    margin-top: 0.35rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B0000, #C41E3A);
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(139, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.35);
}

.budget-card:hover .budget-arrow {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #6B0F0F;
    transform: translateX(4px) scale(1.12);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: #FFD700;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .budget-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.4rem;
    }
}

@media (max-width: 768px) {
    .budget-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .budget-arch {
        padding: 1.8rem 0.9rem 1.3rem;
    }

    .budget-price {
        font-size: 1.4rem;
    }

    .budget-card:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 520px) {
    .budget-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .budget-arch {
        padding: 1.6rem 0.8rem 1.2rem;
    }

    .budget-price {
        font-size: 1.3rem;
    }

    .budget-card:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 360px) {
    .budget-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .budget-price {
        font-size: 1.15rem;
    }
}