.gift-amount {
    position: relative;
    width: 33.33%;
}

.gift-amounts {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

.pre-gift-amount-wrapper {
    display: inline-flex;
    gap: 0px 8px;
    width: 80%;
    flex-direction: row-reverse;
}

.gift-amount label {
    display: block;
    border: 1px solid #E4E4E4;
    padding: 0px 15px;
    text-align: center;
    margin: 0;
    transition: all ease 0.2s;
    font-size: 14px;
    height: 50px;
    align-content: center;
    line-height: 30px;
    border-radius: 10px;
}

.gift-amount-custom input {
    margin: 0;
    display: block;
    border: 1px solid #000;
    font-size: 18px;
    line-height: 30px;
    width: 100% !important;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.gift-amount input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0;
    left: 0;
    appearance: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.gift-amount input:checked+label {
    color: #fff;
    background: #000;
}
.product_title.entry-title {
    text-align: center;
}
/*gift card gallery*/
 .fancybox-container {
    /* display: none; */
}
button.btn-close {
    filter: none !important;
}
.gift-card-categories-wrapper {
    position: relative;
    display: flex;
    gap: 0px 10px;
}
.tattva-gift-card-form .view-all-btn-style {
    position: absolute;
    top: 63%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
.view-all-cat-wrapper {
    display: flex;
    gap: 0px 15px;
}
.view-all-cat-wrapper .view-all-left-wrapper {
    width: 25%;
    max-height:400px;
    overflow-y: scroll;
}
.view-all-cat-wrapper .view-all-right-wrapper{
    display: flex;
        flex-wrap: wrap;
        overflow-y: scroll;
        gap: 15px 15px;
        width: 75%;
        max-height:400px;
}
#mygalleryModal button.btn-close {
    display: block;
    margin: 0px 0px 0px auto;
}
.gift-card-gallery-last{
    position: relative;
    width: 20%;
}
.gift-card-gallery-last:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #69475DA6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}
.tattva-gift-card-form .view-all-btn-style p {
    color: #fff;
}


/* Scrollbar styling for WebKit browsers */
.view-all-cat-wrapper .view-all-left-wrapper::-webkit-scrollbar {
    width: 6px; /* Decrease width here */
}

.view-all-cat-wrapper .view-all-left-wrapper::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Change thumb color if needed */
    border-radius: 3px;
}

.view-all-cat-wrapper .view-all-left-wrapper::-webkit-scrollbar-track {
    background-color: transparent; /* Optional: transparent track */
}

/* WebKit scrollbar */
.view-all-cat-wrapper .view-all-right-wrapper::-webkit-scrollbar {
    width: 6px;
}

.view-all-cat-wrapper .view-all-right-wrapper::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.view-all-cat-wrapper .view-all-right-wrapper::-webkit-scrollbar-track {
    background-color: transparent;
}


.view-all-cat-wrapper .view-all-right-wrapper .gift-card-category-style {
    max-width: 125px;
}

.gift-cart-form-style .form-control {
    border: 0px;
    box-shadow: none;
    padding: 0px;
    margin: 4px 0px 0px 0px;
    width: 48%;
    display: inline-block;
    margin-right: 1%;
}
.gift-cart-form-style h2.form-control-heading {
    text-transform: capitalize;
    font-size: 22px;
    color: var(--primary);
    font-weight: 600;
    margin: 20px 0px 8px 0px;
}
.gift-cart-form-style .form-control label {  
    padding-bottom: 0;
    color: var(--primary);
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    font-weight: 600;
    display: block;
}
.gift-cart-form-style input{
    width: 100%;
    border-radius: 10px;
    border: 1px solid #E4E4E4;
    box-shadow: unset;
    height: 50px;
    padding: 0 20px;
    font-size: 15px;
}
.gift-cart-form-style .gift_amount_style {
    border: 0px;
}

.form-control.sender-message-style {
    display: block;
    width: 100%;
}
.gift-cart-form-style .sender-message-style #sender_message {
    border-radius: 10px;
    height: 100px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #E4E4E4;
    padding: 12px 12px 12px 20px;
}


.gift-amount input:focus{
    box-shadow: none !important;
    border: 0px solid var(--primary) !important;
    outline: none !important;
}
.gift-amount-custom {
    width: 30%;
}


#mygalleryModal .modal-content{
    padding: 15px;
}
#mygalleryModal .modal-content .modal-body {
    padding: 0px;
}
#mygalleryModal .view-all-left-wrapper a {
    padding-bottom: 0;
    color: var(--primary);;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    font-weight: 600;
    display: block;
}
.view-all-left-title{
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
    margin: 0px 0px 15px 0px;
}

.view-all-cat-wrapper .view-all-right-wrapper .gift-card-category-style img {
    cursor: pointer;
}


#mygalleryModal .view-all-left-wrapper a.active-category{
    text-decoration: underline 1px solid;
    font-weight: bold;
    color: #000;
}
.tattva-gift-card-form .active-selection {
   outline: 2px dashed #000000 !important;
    outline-offset: -2px;
    border-radius: 20px;
}
.gift-card-gallery-two-listing.gift-card-img-style {
    position: relative;
    cursor: pointer;
}

.tattva-gift-card-form .active-selection::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #000000;
    top: -4px;
    right: -4px;
    background-image: url(../images/default-picture.png);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;

}

/* .gift-card-category-style .active-selection {
    border: 3px dotted;
} */

/*order details page*/
.woocommerce-order-received ul.wc-item-meta li p a {
    font-size: 14px;
    line-height: normal;
    color: #666;
}


div#mygalleryModal .modal-content {
    width: 70%;
    margin: 0px auto;
}
div#mygalleryModal .view-all-cat-wrapper .view-all-left-wrapper div {
    margin: 8px 0px;
}

@media screen and (max-width: 768px) {

    .view-all-cat-wrapper .view-all-right-wrapper .gift-card-category-style {
    max-width: 75px;
}
.view-all-cat-wrapper .view-all-left-wrapper {
    width: 32%;
    padding: 15px;
}
.view-all-cat-wrapper .view-all-right-wrapper {
    width: 68%;
}
}