#giftcardAmountModal {
    z-index: 1050;
}

#giftcardAmountModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#giftcardAmountModal .modal-header button[data-dismiss="modal"] {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

#giftcardAmountModal .modal-header button[data-dismiss="modal"]:hover {
    opacity: 0.75;
}

#giftcardAmountModal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#giftcardAmountModal .form-group {
    margin-bottom: 1rem;
}

#giftcardAmountModal .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.sdev-giftcard-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0 !important;
    font-weight: 600;
    color: #232323;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none !important;
}

.sdev-giftcard-toggle:hover,
.sdev-giftcard-toggle:focus {
    color: #232323;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.sdev-giftcard-toggle .material-icons {
    transition: transform 0.2s ease;
}

.sdev-giftcard-toggle:not(.collapsed) .material-icons {
    transform: rotate(180deg);
}

.sdev-giftcard-toggle::after {
    display: none !important;
}

#gift-card-accordion .accordion-body {
    padding: 10px 0 0 0;
}

.sdev-giftcard-form {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.sdev-giftcard-form .form-control {
    flex-grow: 1;
    margin-right: 10px;
    min-width: 0;
}

.sdev-giftcard-form .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.classic-theme #gift-card-accordion .accordion-body {
    padding-bottom: 20px;
}

.classic-theme .sdev-giftcard-toggle {
    padding-bottom: 10px !important;
}

.sdevgiftcard-modal .modal-header::after {
    display: none !important;
}

.giftcard-applied {
    position: relative !important;
}

.sdev-remove-giftcard {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    opacity: 0.6;
    padding: 0 !important;
    line-height: 1;
    z-index: 10;
}

.sdev-remove-giftcard:hover {
    opacity: 1;
    background: transparent !important;
}

.sdev-remove-giftcard .material-icons {
    font-size: 1.2rem;
}

.account-giftcard i,
#footer .account-giftcard i {
    display: none;
}

#my-account main .account-giftcard i {
    display: block;
}
