﻿﻿ /*-------- gift card icon ---------*/
.ico-giftCard {
    display: inline-flex;
    align-items: center;
    color: #4a90e2;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ico-giftCard::before {
    content: "";
    height: 25px;
    background-color: currentColor;
    -webkit-mask: url(/Plugins/GiftCard.Actions/wwwroot/images/Header/giftCard.svg) no-repeat center;
    mask: url(/Plugins/GiftCard.Actions/wwwroot/images/Header/giftCard.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s ease;
}

.ico-my-gift-cards, .ico-check-giftcard-amount {
    display: inline-flex;
    align-items: center;
    color: #4a90e2;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .ico-my-gift-cards::before, .ico-check-giftcard-amount::before {
        content: "";
        height: 20px;
        background-color: currentColor;
        mask-size: contain;
        display: inline-block !important;
        vertical-align: middle;
        margin-right: 10px;
        min-width: 25px;
        font-weight: normal;
        text-transform: none;
    }

    .ico-my-gift-cards::before {
        -webkit-mask: url(/Plugins/GiftCard.Actions/wwwroot/images/Header/my-gift-cards.svg) no-repeat center;
        mask: url(/Plugins/GiftCard.Actions/wwwroot/images/Header/my-gift-cards.svg) no-repeat center;
    }

    .ico-check-giftcard-amount::before {
        -webkit-mask: url(/Plugins/GiftCard.Actions/wwwroot/images/Header/check-giftcard-amount.svg) no-repeat center;
        mask: url(/Plugins/GiftCard.Actions/wwwroot/images/Header/check-giftcard-amount.svg) no-repeat center;
    }

/*-------- gift card pdp ---------*/

.heading-container .heading {
    color: #05A288;
}

.content-container {
    gap: 10px;
}

.giftCard-page .master-wrapper-content {
    padding: 30px 4vw; /* or whatever reduced value you need */
}

#giftcard-selector {
    border: 1px solid #eeeeee;
    margin-bottom: 3px;
}

.giftcard-pdp-title {
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
    margin-top: -50px;
    font-weight: bold;
    text-align: center;
}

.giftCard-content {
    margin: 0 0 3px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 32px;
    flex-direction: column;
}

.gift-card-personalize {
    width: 100%;
    background: #fff;
    padding: 20px;
    border: 1px solid #eeeeee;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #444;
}


.amount-focus > span {
    color: #9768B6;
    font-size: 20px;
    font-weight: 700;
}

.emailPreviewDiv {
    font-family: Arial, sans-serif;
    color: #000;
}

.emailPreviewDiv > p {
    padding-bottom: 10px;
}

.emailPreviewDiv > ul {
    list-style: disc;
    padding-left: 20px;
}

.emailPreviewDiv > ul > li {
    padding-bottom: 10px;
}

.italic {
    font-style: italic;
    color: #888;
    padding: 0 20px 20px 20px;
}

.emailPreviewDiv > ul {
    padding-left: 20px;
}

.emailPreviewDiv > a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.emoji {
    font-size: 1.2em;
}


.admin-header-links > a {
    text-decoration: unset !important;
    color: #fff;
}

.header-links a:hover {
    text-decoration: unset!important;
}

.message-success {
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    color: #05A288;
}

.message-error {
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    color: #ff4f60;
}

#previewGiftCardImg {
    height: 330px;
    overflow-y: auto;
}


.form-checkCustom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-groupCustom {
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.form-check-labelCustom {
    font-weight: 100 !important;
    color: #444 !important;
    font-size: 14px !important;
    font-family: Arial, sans-serif !important;
}

.sendEmailGift {
    margin-left: 10px;
    width: 100%;
}

#emailRecipient {
    margin: 10px 0 0 10px;
    width: 96%;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #333;
    border: 1px solid #e7e7e7;
}

.columnCustom {
    height: 172px;
}

.giftCardBalanceImg {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.page-body-gift-card-balance-custom {
    max-width: unset !important;
    padding-top: 20px !important;
}

.descriptionOfBalanceProcess {
    font-size: 16px;
    line-height: 1.6;
    background-color: #F6F6F6;
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-button {
    background-color: #a36ebf;
    color: #fff;
    padding: 12px 25px;
    display: inline-block;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 250px;
}

    .cta-button:hover {
        background-color: #8561a2;
        color: white !important;
        text-decoration: none !important;
    }


.captcha-box {
    text-align: center !important;
}



/* Personalize grid */
.personalize-grid {
    display: grid;
    grid-template-columns: 15% 24% 40% 22%;
    align-items: stretch;
}

/* Column 1: title + paragraph */
.column-text .title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
    color: #05A288;
}

.column-text p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Column 2: inputs */
.column-inputs {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .column-inputs .form-control {
        padding: 10px;
        font-size: 14px;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        background: #fff;
        width: 100%;
        max-width: 308px;
        margin-top: 17px;
        color: #333;
    }

    .column-inputs .validation-error {
        min-height: 1em;
        font-size: 0.85em;
        color: red;
        margin-top: 4px;
        visibility: hidden;
    }

        .column-inputs .validation-error.visible {
            visibility: visible;
        }

    .column-inputs .input-wrapper {
        width: 100%;
        max-width: 308px;
    }

/* Column 3: emojis and message */
.column-message {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
}

#emoji-selector {
    font-size: 20px;
    font-size: 24px;
    user-select: none;
    align-self: flex-start;
}

    #emoji-selector img {
        width: 1em;
        height: 1em;
        vertical-align: middle;
        margin-right: 0.25em;
        cursor: pointer;
    }

.column-message textarea {
    resize: none;
    min-height: 124px;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #333;
}

/* Column 4: preview + info */
.column-preview {
    min-height: 100px;
    display: block;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.preview-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.preview-label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.preview-icon-button {
    width: 80px;
    height: 80px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: #e0e0e0;
}

    .preview-icon-button:hover {
        background-color: #c0c0c0;
    }

    .preview-icon-button img {
        width: 70%;
        height: 70%;
        object-fit: contain;
        pointer-events: none;
        margin-left: 5px;
    }

    .preview-button img {
        width: 50%;
        height: 50%;
        object-fit: contain;
        pointer-events: none;
        margin-left: 5px;
    }

.preview-icons {
    width: 90px;
    height: 90px;
}

.radio-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.email-input-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

    .email-input-wrapper.show {
        max-height: 100px;
        opacity: 1;
    }

.form-check-labelCustom {
    display: flex;
    text-align: left;
}

    .form-check-labelCustom::before {
        flex-shrink: 0;
    }

.preview-button {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    padding-top: 15px;
}

/* Amount grid */
.amount-grid {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    background-color: #F6F6F6F6;
    padding: 15px;
    width: 100%;
}

    .form-group label {
        font-size: 18px;
        font-weight: 400;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
        border: 1px solid #9768B6;
        border-radius: 4px;
        box-sizing: border-box;
    }


.column-input-custom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    padding-top: 15px;
}

    .column-input-custom .caption {
        color: #666;
        text-align: center;
    }

/*-------- gift card tabs ---------*/
.giftcard-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    width: 320px;
}

.giftcard-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 18px;
    cursor: pointer;
    font-weight: 400;
    position: relative;
}

    .giftcard-tab.active {
        font-weight: 600;
    }

        .giftcard-tab.active::after {
            content: "";
            display: block;
            height: 2px;
            background: #9768B6;
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
        }

.giftcard-image-preview {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding-top: 15px;
}

.giftcard-overlay-text {
    position: absolute;
    color: #444444;
    font-size: 13px;
    font-weight: 400;
}

    .giftcard-overlay-text.sender {
        top: 30%;
        left: 10%;
    }

    .giftcard-overlay-text.recipient {
        top: 30%;
        right: 8%;
    }

    .giftcard-overlay-text.message {
        top: 50%;
        left: 5%;
        width: 80%;
        font-style: italic;
        text-align: left;
    }

#amountError {
    color: red;
    display: none;
    margin-top: 4px;
    display: block;
}

/*-------- gift card voucher ---------*/

.voucher-amount-section {
    background: #F6F6F6;
    padding: 24px 24px 16px 24px;
    margin: 0 auto 24px auto;
    width: 100%;
}

.voucher-amount-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 16px;
    justify-content: space-evenly;
    flex-direction: column;
    cursor: default;
}

.voucher-label {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
}


.voucher-amount {
    font-size: 20px;
    margin-right: 5px;
    color: #444;
}

#customAmount {
    display: none;
}

.voucher-input-wrapper.active #customAmount {
    display: inline-block;
}

.voucher-input-wrapper.active {
    width: 180px;
    padding: 1px 10px;
}

.voucher-input-wrapper.active span {
    font-weight: 700;
    color: #9768B6;
}

.voucher-currency {
    font-size: 20px;
    margin-right: 6px;
    color: #444;
}

.voucher-input-wrapper input[type="number"] {
    border: none;
    font-size: 32px;
    font-weight: 600;
    width: auto;
    outline: none;
    background: transparent;
    color: #444;
}

.voucher-amount-presets input[type="radio"] {
    display: none;
}

.voucher-amount-presets {
    align-items: center;
    font-weight: 500;
    flex-direction: column;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    gap: 10px;
}

    .voucher-amount-presets input[type="radio"] {
        accent-color: #9768B6;
        width: 22px;
        height: 22px;
        margin-right: 10px;
    }

        .voucher-amount-presets input[type="radio"]:checked + span {
            font-weight: 700;
            color: #9768B6;
        }

        .voucher-amount-presets input[type="radio"]:focus + span {
            outline: 2px solid #9768B6;
        }

    .voucher-amount-presets label {
        background: #d3d3d3d3;
        border-radius: 4px;
        padding: 12px 15px;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        font-size: 20px;
        font-weight: 500;
        position: relative;
        transition: outline 0.15s, color 0.15s;
        margin-right: 15px;
        color: #444444;
        margin: 0;
        width: 120px;
        justify-content: flex-end;
    }

    .voucher-input-wrapper {
        background: #d3d3d3d3;
        border-radius: 4px;
        padding: 11px 15px;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        margin-right: 15px;
        color: #444444;
        margin: 0;
        width: 120px;
        justify-content: center;
        height: 47px;
    }

    .voucher-amount-presets input[type="radio"]:checked + label {
        outline: 2px solid #a259e6;
        outline-offset: 2px;
        color: #a259e6;
        font-weight: 700;
        background: #f6f6f6;
    }

.voucher-amount-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}

.voucher-info {
    margin-top: 15px;
    font-size: 15px;
    color: #444;
    text-align: center;
}

/*-------- gift card summary  ---------*/

.gift-card-summary {
    margin-top: 15px;
    padding: 0;
    font-family: inherit;
    width: 100%;
    text-align: left;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #bbb;
}

    .summary-row:last-child {
        border-bottom: none;
    }

.summary-label {
    font-weight: 400;
    font-size: 18px;
    color: #444444;
    flex: 0 0 180px;
}

.summary-value {
    font-weight: 400;
    font-size: 16px;
    color: #444;
    text-align: right;
    flex: 1;
}

#giftCard-box-add-to-cart-button {
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.header-links li:hover .profile-menu-box, .header-links li:hover .giftCard-menu-box {
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.giftCard-menu-wrapper, .profile-menu-wrapper {
    position: relative;
}

.giftCard-menu-box {
    width: 200px;
}

    .giftCard-menu-box.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.header-links li {
    padding: 0 10px 0 10px;
}

@media (min-width: 1025px) {

    .voucher-amount-presets {
        display: flex;
        flex-direction: row;
        height: 100%;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }


    .amount-columns-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .form-group {
        width: 70%;
    }

    .ico-giftCard:hover {
        color: #05A288;
    }

    .voucher-amount-row {
        flex-direction: row;
        align-items: end;
    }

    .giftCard-menu-box {
        top: 100%;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        width:max-content;
       
        padding: 10px 0;
        border-radius: 3px;
        background: #fff;
        font-size: 14px;
        opacity: 0;
        visibility: hidden;
        text-align: left;
        pointer-events: none;
        box-shadow: 0 0 20px rgba(0,0,0,.16);
        z-index: 1020;
        transition: all .2s ease;
    }

    .gift-card-personalize .amount-grid, .giftCard-content .gift-card-personalize .personalize-grid {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .amount-grid .column-input-custom, .personalize-grid .column-inputs, .personalize-grid column-message, .personalize-grid .column-preview {
        flex: 1 1 20%;
    }

    .personalize-grid .column-message {
        flex: 1 1 40%;
    }

    .personalize-grid .column-text, .amount-grid .column-text {
        flex: 0 0 20%;
    }

    .amount-grid .column-buttons {
        width: 100%;
    }

    .personalize-grid column-inputs, .personalize-grid column-message {
        flex: 1 1 30%;
    }
}

@media (max-width: 1024px) {
    .mobile-language-list {
        display: none;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        position: unset;
    }

        .mobile-language-list li.option.selector-options-item {
            display: block;
            background-color: #f6f6f6;
            border-top: 3px solid #fff;
            cursor: pointer;
            width: 100%;
            position: relative;
            z-index: 0;
            padding: 16px 18px;
            font-size: 13px;
            line-height: 17px;
            color: #8c8c8c;
            font-weight: 700;
        }

    .giftCard-menu-box .header-form-holder, .language-list__active {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-language-list.language-list__active > .option {
        min-width: unset;
        white-space: unset;
    }

    .language-list__active {
        max-width: unset;
    }

    .giftCard-menu-box {
        display: contents;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .ico-giftCard, .ico-my-gift-cards, .ico-check-giftcard-amount {
        display: block;
        padding: 15px 20px;
        line-height: 18px;
        font-size: 13px;
        font-weight: 700;
        color: #8c8c8c;
        background-color: #f6f6f6;
        border-top: 3px solid #fff;
        cursor: pointer;
        text-transform: uppercase;
    }

        .ico-giftCard:before {
            display: inline-block;
            margin-right: 10px;
            font-size: 17px;
            color: #8e8e8e;
            font-weight: normal;
            text-transform: none;
            vertical-align: bottom;
            width: 17px;
            height: 18px;
        }
}

.voucher-input-wrapper {
    cursor: pointer;
}

.voucher-input-wrapper .custom-amount-input {
    border: none;
    font-size: 32px;
    font-weight: 600;
    width: auto;
    outline: none;
    background: transparent;
    color: #9768B6;
}

.voucher-input-wrapper #customAmount {
    border: none;
    outline: none;
    background: transparent;
    color: #9768B6;
    font-size: 20px;
    font-weight: 700;
    justify-items: flex-end;
    padding: 0;
}

.voucher-input-wrapper #customAmount::placeholder {
    color: #9768B6;
    font-weight: normal;
}

#customAmount {
    width: 100%;
}

/*-------- gift card downloadable products  ---------*/

.giftcard-edit-fields {
    display: none;
    margin-top: 1rem;
    max-width: 800px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
}

    .giftcard-edit-fields .form-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: baseline;
    }

    .giftcard-edit-fields .inputs {
        flex: 1;
        margin-top: 20px;
    }

        .giftcard-edit-fields .inputs label {
            display: inline-block;
        }

        .giftcard-edit-fields .inputs textarea {
            resize: none;
        }

.giftcard-save a {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 3px;
    background-color: lightgray;
    color: #8c8c8c;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .2s ease;
}

    .giftcard-save a:hover {
        color: #444 !important;
        background-color: #C0C0C0;
    }

td.edit a {
    display: inline-block;
    padding: 10px 20px;
    margin: -7px 0;
    border-radius: 3px;
    background-color: #f1f1f1;
    color: #8c8c8c;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .2s ease;
}

    td.edit a:hover {
        background-color: #eaeaea;
    }

td.send-gift-card a {
    display: inline-block;
    padding: 10px 20px;
    margin: -7px 0;
    border-radius: 3px;
    background-color: #f1f1f1;
    color: #8c8c8c;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .2s ease;
}

    td.send-gift-card a:hover {
        background-color: #eaeaea;
    }

/*-------- gift card preview modal  ---------*/

.giftcard-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.giftcard-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 35vw;
    /*min-height: 350px;*/
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


    .giftcard-modal-content .modal-preview-image {
        max-width: 100%;
        color: #333;
        font-size: 15px;
        font-weight: 400;
        margin: 0 16px 0 52px;
        padding-bottom: 2px;
        position: relative;
        border-radius: 8px;
        width: 100%;
    }

.modal-preview-image > p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.giftcard-modal-content .giftcard-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    pointer-events: none;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: system-ui;
}

        .giftcard-modal-content .giftcard-text-overlay .preview-amount {
            position: absolute;
            bottom: 10px;
            right: 10px;
            font-size: 1.3rem;
        }

.giftcard-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/*-------- gift card send modal  ---------*/

#giftcard-send-method-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
}

#emailInputContainer {
    margin-left: 25px;
    visibility: visible;
}

    #emailInputContainer form-control {
        padding: 0 20px !important;
    }

#whatsappInputContainer {
    margin-left: 25px;
    visibility: visible;
}

.send-option {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

#giftcard-send-method-form .save-option {
    margin-top: 20px;
    text-align: center;
}

.header-links-popup {
    position: absolute;
    left: 0;
    right: 0;
}

.profile-menu-box .header-form-holder {
    position: relative;
    width: 100%;
}

.giftCard-menu-box .header-form-holder a {
    line-height: 20px;
}

.giftCard-menu-wrapper .header-links-popup,
.profile-menu-wrapper .header-links-popup {
    display: none;
}

.giftCard-menu-wrapper:hover .header-links-popup,
.profile-menu-wrapper:hover .header-links-popup {
    display: block;
}

.giftcard-balance-banner .rowOfDescriptionOfBalanceProcess {
    margin: -30px auto 0;
    position: relative;
    z-index: 1;
}

.page-body-gift-card-balance-custom .giftcard-balance-form {
    margin: 30px auto 0;
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 100%;
}

.giftcard-balance-bottom-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 600px;
    margin: 30px auto 0;
    box-sizing: border-box;
}

.needGiftCardDiv,
.needGiftCardImg {
    flex: 1 1 50%;
    position: relative;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.needGiftCardDiv {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #F6F6F6;
    align-items: center;
    text-align: center;
    border-radius: 8px;
}

    .needGiftCardDiv p,
    .needGiftCardDiv a {
        margin: 10px 0;
    }

@media screen and (max-width: 768px) {
    .giftcard-modal-content {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 1.5rem;
        border-radius: 0;
        box-shadow: none;
    }

    .giftcard-modal {
        padding: 1rem;
        align-items: flex-start;
    }

    .giftcard-modal-content .giftcard-text-overlay {
        font-size: 1rem;
        padding: 0.75rem;
    }

        .giftcard-modal-content .giftcard-text-overlay .preview-amount {
            font-size: 1.1rem;
            bottom: 5px;
            right: 5px;
        }

    .giftcard-modal-close {
        font-size: 1.5rem;
        right: 0.5rem;
    }

    .giftcard-modal-content h1 {
        font-size: 1.25rem;
    }

    .label-caption-wrapper {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .giftcard-pdp-title {
        margin-top: -20px;
    }

    .personalize-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .column-inputs {
        padding: 0;
        align-items: center;
    }

        .column-inputs .form-control {
            max-width: 100%;
        }

        .column-inputs .input-wrapper {
            max-width: 100%;
        }

    .column-message {
        padding: 0;
    }

    .column-preview {
        justify-content: center;
        padding: 5px 0 0;
    }

    .amount-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }


    .column-button, .column-input-custom {
        margin-top: 10px;
    }

    .content-container {
        width: 95% !important;
        padding: 20px !important;
        flex-direction: column;
    }

    .columnCustom {
        height: 140px;
    }
}

@media (min-width: 480px) {
    .voucher-amount-presets {
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
    }

    .page-body-gift-card-balance-custom .giftcard-balance-form {
        width: 90%;
    }
}


@media (min-width: 768px) {
    .giftCard-content {
        flex-direction: row;
    }

    .voucher-amount-row {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-bottom: 16px;
        justify-content: space-evenly;
        flex-direction: column;
    }

    .voucher-amount-presets {
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
    }

    #giftCard-box-add-to-cart-button {
        justify-content: center;
    }

    #emailRecipient {
        width: 95%;
    }

    .giftcard-balance-banner .rowOfDescriptionOfBalanceProcess,
    .page-body-gift-card-balance-custom .giftcard-balance-form {
        width: 70%;
    }
}


@media (min-width: 870px) {
    .voucher-amount-presets {
        grid-template-columns: repeat(5, 1fr);
    }
}

    @media only screen and (max-width: 375px) {
        #recipientEmail {
            padding: 0 20px;
        }

        .column-inputs {
            padding: 0;
        }
    }

    /* Tablets */
    @media (min-width: 768px) and (max-width: 1024px) {
        .giftcard-pdp-title {
            margin-top: -35px;
        }

        .personalize-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .column-inputs {
            flex-direction: row;
            justify-content: center;
            gap: 20px;
            height: auto;
            padding: 0;
        }

            .column-inputs .form-control {
                max-width: 100%;
            }

            .column-inputs .input-wrapper {
                max-width: 100%;
            }

        .column-message {
            padding: 0;
        }

        .column-preview {
            justify-content: center;
        }

        .amount-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .voucher-amount-presets label {
            margin-right: auto;
        }

        .content-container {
            width: 95% !important;
            padding: 20px 0px 5px !important;
            flex-direction: row;
        }
    }

    @media (min-width: 1025px) {
        .giftCard-placeholder.mobile-giftCard-placeholder {
            display: none;
        }

        .form-group {
            width: 70%;
        }

        .ico-giftCard:hover {
            color: #05A288;
        }

        .voucher-amount-row {
            flex-direction: row;
            align-items: end;
        }

        .giftCard-menu-box, .profile-menu-box {
            position: relative;
        }

            .giftCard-menu-box .header-form-holder {
                width: 100%;
            }
    }

    @media (max-width: 1024px) {

        .giftcard-links {
            display: none;
        }

            .giftcard-links.active {
                display: block;
            }

        .giftCarde-placeholder, .mobile-giftCard-placeholder {
            font-size: 13px;
            height: 30px;
            color: #8c8c8c;
            padding: 16px;
            display: flex;
            align-items: center;
        }

        .mobile-giftCard-placeholder {
            display: block;
            padding: 15px 20px;
            line-height: 18px;
            font-size: 13px;
            color: #8c8c8c;
            font-weight: 700;
            background-color: #f6f6f6;
            border-top: 3px solid #fff;
            cursor: pointer;
            text-transform: uppercase;
            height: auto;
        }

            .mobile-giftCard-placeholder:after {
                content: "\6a";
                display: inline-block;
                float: right;
                font-size: 9px;
                font-family: "emporium-icons";
                transform: rotate(90deg);
                text-transform: none;
                color: #8c8c8c;
                transition: all .3s ease;
            }

        .ico-giftCard {
            display: block;
            padding: 15px 20px;
            line-height: 18px;
            font-size: 13px;
            font-weight: 700;
            color: #8c8c8c;
            background-color: #f6f6f6;
            border-top: 3px solid #fff;
            cursor: pointer;
            text-transform: uppercase;
        }

            .ico-giftCard:before {
                display: inline-block;
                margin-right: 10px;
                font-size: 17px;
                color: #8e8e8e;
                font-weight: normal;
                text-transform: none;
                vertical-align: bottom;
                width: 17px;
                height: 18px;
            }
    }

@media (min-width: 1280px) {
    .amount-columns-wrapper {
        flex-direction: row;
    }

    .column-input-custom {
        padding-top: 0;
    }

    .column.column-input-custom {
        height: 100%;
    }

    .voucher-amount-presets {
        width: 90%;
    }
}

 @media (min-width: 2000px) {
        .column-inputs {
            padding-left: 0;
        }

            .column-inputs .input-wrapper {
                max-width: unset;
            }

            .column-inputs .form-control {
                max-width: unset;
            }
    }

.notAvaillablePrice {
  color: #8c8c8c;
  font-size: 15px;
  position:relative;
  top:10px;
}


@media (min-width: 560px) {
    .giftcard-balance-bottom-banner {
        flex-direction: row;
    }
}