.gift-budget-section {
    position: relative;
    padding: 86px 0;
    background: linear-gradient(180deg, #fbf9f6 0%, #f4eee7 52%, #fbf9f6 100%);
    overflow: hidden;
}

.gift-budget-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 25%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 88% 72%, rgba(28, 25, 22, 0.045) 0%, rgba(28, 25, 22, 0) 32%);
}

.gift-budget-frame {
    position: relative;
    z-index: 2;
    padding: 46px;
    border-radius: 38px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.48) 100%);
    border: 1px solid rgba(34, 31, 27, 0.08);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.075);
    backdrop-filter: blur(8px);
}

.gift-budget-header {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.gift-budget-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #7a6c5f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.gift-budget-title {
    margin: 0;
    color: #201c18;
    font-size: 48px;
    line-height: 1.02;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "Times New Roman", Georgia, serif;
}

.gift-budget-text {
    max-width: 560px;
    margin: 16px auto 0;
    color: #655e57;
    font-size: 15px;
    line-height: 1.8;
}

.gift-budget-scroll {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gift-budget-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 210px;
    display: flex;
    text-decoration: none;
    color: inherit;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #fffdf9 0%, #f1e8de 100%);
    border: 1px solid rgba(34, 31, 27, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.065);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gift-budget-card::before {
    content: "";
    position: absolute;
    width: 116px;
    height: 116px;
    top: -48px;
    right: -44px;
    border-radius: 50%;
    background: rgba(28, 25, 22, 0.055);
    transition: transform 0.45s ease;
}

.gift-budget-card::after {
    content: "";
    position: absolute;
    width: 82px;
    height: 82px;
    left: -34px;
    bottom: -34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
}

.gift-budget-card:hover {
    transform: translateY(-6px);
    border-color: rgba(28, 25, 22, 0.16);
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.1);
}

.gift-budget-card:hover::before {
    transform: scale(1.15);
}

.gift-budget-card-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100%;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.gift-budget-card-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(34, 31, 27, 0.07);
    color: #7a6c5f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.gift-budget-card h3 {
    margin: 8px 0 0;
    color: #2a241f;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 400;
    font-family: "Times New Roman", Georgia, serif;
}

.gift-budget-card strong {
    display: block;
    color: #171411;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.gift-budget-card p {
    max-width: 190px;
    margin: 4px auto 0;
    color: #6d645c;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 1199px) {
    .gift-budget-section {
        padding: 72px 0;
    }

    .gift-budget-frame {
        padding: 34px;
        border-radius: 32px;
    }

    .gift-budget-title {
        font-size: 42px;
    }

    .gift-budget-scroll {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gift-budget-card {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .gift-budget-section {
        padding: 58px 0;
    }

    .gift-budget-frame {
        padding: 18px;
        border-radius: 24px;
    }

    .gift-budget-header {
        margin-bottom: 24px;
        text-align: left;
    }

    .gift-budget-eyebrow {
        font-size: 11px;
        letter-spacing: 1.3px;
    }

    .gift-budget-title {
        font-size: 31px;
        line-height: 1.04;
    }

    .gift-budget-text {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.65;
    }

    .gift-budget-scroll {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 2px 2px 12px;
        margin: 0 -2px;
    }

    .gift-budget-scroll::-webkit-scrollbar {
        display: none;
    }

    .gift-budget-scroll {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gift-budget-card {
        flex: 0 0 235px;
        width: 235px;
        height: 235px;
        min-height: 235px;
        scroll-snap-align: start;
        border-radius: 24px;
    }

    .gift-budget-card:hover {
        transform: none;
    }

    .gift-budget-card-inner {
        padding: 20px 16px;
    }

    .gift-budget-card h3 {
        font-size: 19px;
    }

    .gift-budget-card strong {
        font-size: 32px;
    }

    .gift-budget-card p {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .gift-budget-card {
        flex-basis: 215px;
        width: 215px;
        height: 215px;
        min-height: 215px;
    }

    .gift-budget-card-inner {
        padding: 18px 14px;
        gap: 7px;
    }

    .gift-budget-card-label {
        font-size: 10px;
        padding: 5px 10px;
    }

    .gift-budget-card h3 {
        font-size: 18px;
    }

    .gift-budget-card strong {
        font-size: 30px;
    }

    .gift-budget-card p {
        max-width: 170px;
        font-size: 12px;
        line-height: 1.45;
    }
}