.gift-card-container {
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0 15px; */
}

.gift-card-container-text {
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
    text-align: center;
    color: #000000;
    margin: 60px 0 40px;
}

.select_occation_heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.select_occasion_section {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}

.select_occasion_learn_more {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: #333333;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

.gift_card_balance_wrpr {
    display: flex;
    column-gap: 20px;
    align-items: center;
}

.gift_card_check_balance {
    color: #333333;
    border: 0.5px solid #333333;
    width: 211px;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    cursor: pointer;
}

.occasion-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
}

.occasion-selector {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    width: 100%;
    max-width: 1440px;
    max-height: 54px;
    align-items: center;
    white-space: nowrap;
}

.occasion-btn {
    flex: 0 0 auto;
    font-size: 18px;
    padding: 16px 22px;
    border: 1px solid #ccc;
    border-radius: 46px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    height: 100%;
    line-height: 1;
}

.occasion-btn.active {
    background-color: #333333;
    border-color: #333333;
    color: #F4F4F4;
}

.occasion-btn:hover {
    border-color: #888;
}

.occation-left-arrow {
    left: 0px;
    display: none;
}

.occation-right-arrow {
    right: 0;
}

.occasion-selector::-webkit-scrollbar {
    display: none;
}

.gift_card_selection_area {
    padding: 16px;
}

.gift_card_template_section {
    display: flex;
    justify-content: space-between;
}

.gift_card_gallery {
    flex: 0 1 auto;
    max-width: 484px;
    width: 100%;
    max-height: 474px;
    overflow-y: auto;
    display: flex;
    align-items: stretch;
    align-content: start;
    gap: 18px 2%;
    flex-wrap: wrap;
    scrollbar-width: auto;
    margin-right: 32px;
    overflow-y: auto;
}

.gift_card_gallery-mobile {
    display: none;
}

.gift_card_gallery::-webkit-scrollbar {
    display: block;
    width: 6px;
}

.select_gift_card,
.create-new-card {
    flex: 0 0 230px;
    width: 100%;
    height: 146px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-start;
    padding: 8px;
    background: #F6F6F6;
    cursor: pointer;
}

.select_gift_card.active-card {
    box-shadow: 0px 1px 4px 0px #00000040;
    border: 1px solid #333333;
}

.select_gift_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.create-new-card {
    border: 2px dashed #aaa;
    background-color: #ffffff;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.create-new-card .card-gallery__text {
    font-size: 16px;
    color: #555;
    margin: 0 auto;
}

.gift-amount-section {
    max-width: 724px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.gift-amount-section__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    color: #333;
    margin-bottom: 10px;
}

.gift-amount-section__options {
    position: relative;
    width: 100%;
    display: flex;
    align-items: end;
    gap: 10px;
}

.gift-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 22px 0 0;
    align-items: end;
    justify-content: start;
}

.gift-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-arrow {
    width: 50px;
    flex: 0 0 auto;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.scroll-arrow-right,
.scroll-arrow-left {
    width: 15px;
}

.scroll-arrow-left {
    transform: rotate(180deg);
}


.gift-amount-section__box {
    width: 89px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    padding: 16px 21px;
    box-sizing: border-box;
    cursor: pointer;
}

.gift-amount-section__box--value-added {
    position: relative;
    border-bottom: inset;
}

.gift-amount-section__value-added {
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    font-weight: 400;
    line-height: 1;
    width: 100%;
    padding: 5px 8px;
    background-color: green;
    position: absolute;
    bottom: 100%;
    left: 0;
    border-radius: 4px 4px 0px 0px;
    overflow: hidden;
}

.gift-amount-section__note {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    margin-top: 12px;
}

.gift-amount-section__box.active {
    background-color: #333333;
    /* border-color: #333333; */
    color: #F4F4F4;
}

.gift-card-button-container {
    flex: 0 0 100%;
    display: flex;
    justify-content: end;
    gap: 12px;
    margin-top: 34px;
}

.gift-card-button {
    width: 298px;
    height: 58px;
    border: 1px solid #ccc;
    background-color: white;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.gift-card-cancel {
    border: 1px solid #ccc;
}

.gift-card-next {
    background-color: black;
    color: white;
    border: none;
}

.gc-image-wrapper {
    max-width: 678px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 60px;
}

.selected_gift_image {
    max-height: 288px;
    max-width: 464px;
    width: 100%;
    height: 100%;
    padding: 10px 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-behavior: smooth;
}

.selected_gift_image.skeleton-box img {
    opacity: 0.5;
}

.slected_gift_card_image {
    width: 100%;
    height: 100%;
}

.gc-arrow-prev:hover,
.gc-arrow-next:hover {
    background-color: rgba(255, 255, 255, 1);
}

.gc-arrow-prev img,
.gc-arrow-next img {
    width: 60%;
    height: 60%;
}

.gc-arrow-prev {
    left: 10px;
    width: 56px;
    height: 56px;
    position: absolute;
    transform: rotate(180deg);
    cursor: pointer;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    border: 1px solid #333333
}

.gc-arrow-next {
    right: 10px;
    width: 56px;
    height: 56px;
    position: absolute;
    cursor: pointer;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    border: 1px solid #333333
}

.occation-left-arrow,
.occation-right-arrow {
    width: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    height: 100%;
    border-radius: 0;
    width: 100px;
}

.occation-left-arrow {
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(255 255 255));
    justify-content: start;
}

.occation-right-arrow {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(255 255 255));
    justify-content: end;
}

.gift_card_main_section {
    padding: 16px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1440px;
    width: 100%;
    border: 1px solid #F0F0F0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.img_selector_price {
    flex: 1 1;
    max-width: 832px;
    width: 100%;
    padding: 44px 10px;
    overflow: hidden;
    background-color: #FAFAFA;
}

.add_customized_card {
    width: 44px;
    margin-bottom: 12px;
}

.gift_card_gallery-mobile {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: flex;
    scroll-behavior: smooth;
}

.gift_card_gallery .gift_card_item {
    display: inline-block;
    margin-right: 10px;
}

@media (max-width: 1024px) {
    .gift-card-container {
        margin: 20px 10px;
    }

    .img_selector_price {
        max-width: 100%;
        padding: 12px 10px 80px;
    }

    .gift_card_main_section,
    .selected_gift_image {
        border: none;
        padding: 0px;
    }

    .gift_card_gallery-mobile {
        display: flex;
        flex-wrap: nowrap;
        scrollbar-width: none;
        max-width: 100%;
    }

    .gift_card_gallery-desktop {
        display: none;
    }

    .gc-image-wrapper {
        margin: 12px auto;
    }

    .gift-amount-section {
        max-width: 100%;
    }

    .gift_card_gallery {
        padding: 10px;
        margin-bottom: 24px;
    }
}

@media (max-width: 834px) {
    .gc-image-wrapper img {
        width: 100%;
        height: auto;
    }

    .add_customized_card {
        width: 24px;
        margin-bottom: 5px;
    }

    .create-new-card .card-gallery__text {
        font-size: 10px;
    }

    .select_occasion_section,
    .select_occasion_learn_more {
        font-size: 14px;
        margin: 0;
    }

    .occasion-btn {
        font-size: 16px;
        padding: 10px 16px;
    }

    .select_occation_heading {
        margin-bottom: 16px;
    }

    .occation-left-arrow,
    .occation-right-arrow {
        width: 20px;
    }

    .occassion-left-arrow {
        left: 5px;
    }

    .occassion-right-arrow {
        right: 5px;
    }

    .gift_card_template_section {
        flex-direction: column;
    }

    .gift_card_main_section {
        display: block;
    }

    .select_gift_card,
    .create-new-card {
        flex: 0 0 90px;
        height: 56px;
        padding: 2px;
    }

    .gift-card-button {
        width: 100%;
        font-size: 14px;
        height: 44px;
    }

    .gift-card-button-container {
        margin-top: 16px;
    }

    .gift-card-cancel,
    .gc-arrow-prev,
    .gc-arrow-next,
    .gift-card-container-text {
        display: none;
    }
}

@media (max-width: 767px) {
    .select_occation_heading {
        flex-direction: column;
        row-gap: 10px;
    }

    .select_occasion_section {
        text-align: center;
    }

    .gift_card_balance_wrpr {
        justify-content: space-between;
    }

    .gift_card_check_balance {
        width: 140px;
        height: 35px;
    }

    .gift-amount-section__title {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .occasion-wrapper {
        margin-bottom: 16px;
    }

    .gift-amount-section__options {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding-top: 18px;
        scrollbar-width: none;
    }

    .gift-amount-section__options::-webkit-scrollbar {
        display: none;
    }

    .gift-amount-section__box {
        flex: 0 0 auto;
        position: relative;
        width: 55px;
        height: 28px;
        padding: 8px 0px 8px 0px;
        font-size: 12px;
        font-weight: 500;
        text-align: center;
    }

    .gift-amount-section__value-added {
        font-size: 8px;
        padding: 5px 0px;
        white-space: nowrap;
    }

    .gift_card_gallery {
        padding: 10px 0px;
        gap: 10px;
        margin-bottom: 14px;
    }

    .gc-image-wrapper {
        margin: 0px;
    }

    .occasion-btn {
        font-size: 12px;
        padding: 10px 12px;
    }

    .img_selector_price {
        padding-bottom: 30px;
    }
}

@media screen and (max-width:430px) {
    .gift_card_check_balance {
        width: 120px;
        height: 30px;
        font-size: 13px;
    }

    .scroll-arrow {
        width: 30px;
    }
}

@media screen and (max-width: 359px) {
    .img_selector_price {
        padding-bottom: 25px;
    }

    .select_occasion_section,
    .select_occasion_learn_more {
        font-size: 14px;
    }

    .occasion-btn {
        font-size: 12px;
        padding: 8px 10px;
    }

}