.page-main .price-display {
    font-weight: bold;
    margin-top: 10px;
}

.page-main h1 {
    text-align: center;
    color: #333;
}

.page-main form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-main label {
    font-size: 16px;
    color: #555;
}

/*.cms-flavours-mixers {
	background: #f5f5f5;
}*/

.page-main select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}

/* Style for the popup box */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 33px;
    max-width: 1170px;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    text-align: center;
    width: 100%;
    cursor: pointer;
}

/* Selected Product Item Styling */
.popup-box .product-item.active {
    border: 3px solid #FFD700 !important;
    background-color: #FFFACD;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-radius: 10px;
}


/* Add Flavour Button color when product is selected */
#addflavour.yellow-selected {
    background-color: #FFD700 !important;
    color: #000 !important;
    font-weight: bold;
    border-radius: 30px
}


.close-btn {
    background: transparent;
    border: none;
}

.flavour-bottle-tab {
    margin-bottom: 20px;
}

.flavour-size-button active {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.flavour-size-button .active {
    background-color: #007bff;
    color: white;
}

.flavour-bottle-image {
    display: none;
    width: 150px;
    transition: opacity 0.3s ease-in-out;
}

.flavour-bottle-image.active {
    display: block;
    opacity: 1;
}

.flavour-bottle-image-panel {
    background: #525252;
}

.flavour-size-button:after {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 20px;
    height: 22px;
    /* right: 30px; */
    background: url("../images/bottle-img.png") no-repeat 0 0;
    top: 18px;
    margin-left: 8px;
}

.flavour-size-button.active:after {
    background: url("../images/bottle-img-active.png") no-repeat 0 0
}

#aroma-flavour-generate-label,
#save-buy-mix {
    position: relative;
}

.prefix-label {
    background: url("../images/generate-label.png") no-repeat 0 0;
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    right: 28%;
    top: 35%;
}

#save-buy-mix .buy-mix-img {
    background: url("../images/buy-mixed.png") no-repeat 0 0;
    content: "";
    width: 21px;
    height: 21px;
    top: 25%;
    margin-left: 8px;
}

.share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.share-popup-content input {
    margin-bottom: 10px;
    font-size: 14px;
}

.share-popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.share-popup-content button {
    border-radius: 30px;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 30px 10px 30px;
}

.share-popup-content h2 {
    color: #000;
    font-weight: bold;
    margin-bottom: 10px;
}

.share-popup-content p {
    color: #000;
    padding-bottom: 4px;
}

.share-popup-content h3 {
    color: #000;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
}

.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.aroma-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.page-main .product-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.page-main .product-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-main .product-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.page-main.product-sku,
.page-main .product-category {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 5px;
}

#flavour-seletion-option-contianer button.amora-flavour-button.selected {
    display: none;
}

.aroma-flavourname {
    background: #f5f5f5;
    padding: 3px 11px;
    /*width: 180px;*/
    width: 100%;
    min-height: 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 12px;
    align-items: center;
    display: flex;
    text-align: center;
    overflow: hidden;
    justify-content: center;
}

.aroma-flavourname span {
    max-height: 31px;
    overflow: hidden;
}

.aroma-flavour-select-container {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
}

.errorqty {
    position: absolute;
    bottom: -34px;
    background: #000;
    color: #fff !important;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1;
    left: 0;
}

.errorqty::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 10px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #000;
}

.flavour-seletion-option-contianer input[type="number"]::placeholder {
    color: #000;
}

.popup-box .product-item {
    position: relative;
    /*width: 156px;
    height: 161px;*/
}

.popup-box .product-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.popup-box .product-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 53.77%, rgba(0, 0, 0, 0.29) 77.74%); */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 53.77%, rgba(0, 0, 0, 0.7) 99.74%);
    pointer-events: none;
    border-radius: 9px;
}

.parent-content-flavour p {
    font-size: 12px;
    font-weight: 500;
    color: rgb(0, 0, 0);
}

.parent-content-flavour .content {
    padding: 0 !important;
}

.parent-content-flavour {
    display: flex;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    align-items: center;
}

.block.newsletter input {
    font-size: 16px;
}

footer .list-unstyled a {
    font-size: 16px;
}

#newsletter-validate-detail .action span {
    font-size: 20px;
}

#newsletter-validate-detail .label {
    line-height: 36px;
}

#newsletter-validate-detail .action {
    margin-top: 34px;
}

.aroma-brand-list {
    border-radius: 20px;
}

.aroma-category-list {
    border-radius: 20px;
}

.input-wrapper-popup.generate-label-wrapper {
    margin: 8px 0;
    border: 1px solid #f5f5f5;
    text-align: center;
    border-radius: 30px;
    font-size: 16px;
    height: 56px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 10px;
    width: 33.33%;
    justify-content: center;
    color: #000;
}

.input-wrapper-popup.generate-label-wrapper label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.upload-image {
    background: url("../images/upload-image.png") no-repeat 0 0;
    content: "";
    width: 24px;
    height: 24px;
    background-size: cover;
    margin-left: 0;
    cursor: pointer;
}

.flavoursavepopup h2 {
    font-weight: bold;
    padding-bottom: 3px;
}

#label-image-preview img {
    width: auto;
    border: 1px solid rgb(204, 204, 204);
    bottom: 0;
    position: relative;
    max-height: unset;
    object-fit: cover;
    height: auto;
    top: 0;
    margin: 0 auto;
    height: 100%
}

#label-image-preview {
    height: 398px;
    background: #f5f5f5;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.product-item.active {
    border: 3px solid rgba(0, 0, 0, 0.1) !important;
}

.preloader {
    margin: 0 auto;
}

.preloader img {
    border: none !important;
}

.flavour-size-button-active {
    color: #fff !important;
    background: #525252;
    border: 1px solid #525252;
    width: 25%;
    border-radius: 20px 20px 0 0;
    font-weight: bold;
    font-size: 15px;
    line-height: 24px;
    padding: 14px;
    text-align: center;
    display: block;
}

.flavour-size-button-active::after {
    background: url("../images/bottle-img-active.png") no-repeat 0 0;
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 20px;
    height: 22px;
    margin-left: 8px;
}


.flavour-name-container.bottle-wrapper .flavour-name,
.flavour-name-container.bottle-wrapper .flavour-price {
    margin-top: 10px;
    line-height: 18px;
}

@media only screen and (max-width: 768px) {
    #label-image-preview {
        height: 294px;
    }

    /* Floating Add Flavour Button for Mobile */
    .add-flavour-button-container {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 1000 !important;
        text-align: center !important;
        display: block !important;
    }

    .add-flavour-button {
        display: inline-block !important;
    }
}

span.buy-mix-img-save {
    background: url("../images/buy-mixed.png") no-repeat 0 0;
    content: "";
    width: 24px;
    height: 24px;
    background-size: cover;
    margin-left: 3px;
    display: inline-block;
}