.ai-assistant-container {
    max-width: 800px;
    margin: 150px auto !important;
    padding: 2rem;
    background: linear-gradient(90deg, #d9e8f5, #e6f0fa);
    /* Pastel blue gradient from screenshot */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    position: relative;
    min-height: 300px;
}

.main-heading {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
    color: #000;
    line-height: 1.2;
}

.email-entry {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

#email-input {
    width: 60%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

#email-submit {
    background: #ff6f61;
    color: #fff;
    white-space: nowrap;
    border: none;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

@media screen and (max-width: 570px) {
    .email-entry {
        display: block !important;

    }
#email-submit{
    margin: auto;
}
    #email-input {
        width: 100% !important;
    }

}

#email-submit:hover {
    background: #e65a50;
}

.plus-icon {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.header {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.ask-alnee-btn {
    background: #ff6f61;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    /*transition: background 0.3s;*/
}

.ask-alnee-btn:hover {
    background: #e65a50;
}

.ai-assistant-container h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #000;
}

.ai-assistant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ai-assistant-buttons button {
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    /*transition: background 0.3s;*/
}

.ai-assistant-buttons button:hover {
    background: #f5f5f5;
}

#chat-box {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 1rem;
}

.chat-message.user {
    text-align: right;
    color: #333;
}

.chat-message.ai {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.product-recommendation {
    /* display: flex; */
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-recommendation img {
    width: 120px;
    height: auto;
    margin-right: 1.5rem;
    border-radius: 5px;
}

.product-recommendation .product-details {
    flex: 1;
}

.product-recommendation .product-details h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
}

.product-recommendation .product-details p {
    margin: 0.5rem 0;
    color: #555;
}

.product-recommendation .product-details a {
    color: #ff6f61;
    text-decoration: none;
    font-weight: bold;
}

.product-recommendation .add-to-cart {
    background: #ff6f61;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    /* transition: background 0.3s; */
}

.product-recommendation .add-to-cart:hover {
    background: #e65a50;
}

#chat-input {
    width: calc(100% - 70px);
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    margin-right: 0.5rem;
    font-size: 1rem;
    outline: none;
}

#chat-send {
    background: #ff6f61;
    color: white;
    border: none;
    border-radius: 20px;
    /* padding: 0.75rem 1.5rem; */
    cursor: pointer;
    /* transition: background 0.3s; */
}

#chat-send:hover {
    background: #e65a50;
}

.suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.suggestion-buttons button {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    /* transition: background 0.3s; */
}

.suggestion-buttons button:hover {
    background: #e0e0e0;
}

/*  new csss */

.ai-assistant-container {
    max-width: 1100px;
    margin: 150px auto !important;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.main-heading {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.email-entry {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.email-entry input {
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 1rem;
    width: 300px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* .email-entry button {
    padding: 10px 15px;
    border-radius: 50%;
    border: 1px solid #EF776A;
    background: #EF776A;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
} */

.email-entry button:hover {
    background: #fff;
    color: #EF776A;
}

.header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.ask-alnee-btn {
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid #EF776A;
    background: #EF776A;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ask-alnee-btn:hover {
    background: #fff;
    color: #EF776A;
}

h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.ai-assistant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.ai-assistant-buttons button {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-assistant-buttons button:hover {
    background: #f0f0f0;
}

.chat-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#chat-input {
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #BCBCBC;
    outline: none;
    font-size: 1rem;
    width: 100%;
    max-width: 500px;
    background: #fff;
}

#chat-send {
    background: #EF776A;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#chat-send:hover {
    background: #fff;
    color: #EF776A;
}

#chat-box {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px 0;
}

.chat-message {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.chat-message.user {
    align-items: flex-end;
}

.chat-message.user .message-content {
    background: #EBDFCF;
    padding: 10px 20px;
    border-radius: 20px 20px 5px 20px;
    max-width: 90%;
    font-size: 1rem;
    line-height: 1.4;
}

.chat-message.ai {
    align-items: flex-start;
}

.chat-message.ai .message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.chat-message.ai .ai-logo {
    width: 40px;
    height: 40px;
    background: url('path-to-logo.png') no-repeat center;
    background-size: contain;
}

.chat-message.ai .message-content {
    background: #FAF6F0;
    padding: 15px 25px;
    border-radius: 20px 20px 20px 2px;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
}

.chat-message.ai .message-content .scent-highlight {
    color: #EF776A;
    font-weight: bold;
}

.chat-message.ai .message-content a {
    color: #EF776A;
    text-decoration: underline;
}

.product-recommendation {
    /* display: flex; */
    gap: 20px;
    background: #FAF6F0;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
    max-width: 348px;
}



#chat-box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

#chat-box::-webkit-scrollbar {
    width: 8px;
    background-color: #fff;
    border-radius: 6px;
}

#chat-box::-webkit-scrollbar-thumb {
    background-color: #0f3d75;
    border-radius: 6px;
    border: 1px solid #555555;
}





.product-recommendation img {
    width: 100%;
    height: auto;
    max-height: 324px;
    border-radius: 20px;
    object-fit: cover;
}

.product-recommendation .product-details {
    flex: 1;
    padding: 10px;
}

.product-recommendation .product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-recommendation h4 {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin: 0;
}

.product-recommendation .product-header span {
    font-size: 1.2rem;
}

.product-recommendation p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-recommendation .add-to-cart {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    border: 1px solid #EF776A;
    background: transparent;
    color: #EF776A;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-recommendation .add-to-cart:hover {
    background: #EF776A;
    color: #fff;
}

.suggestion-buttons {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.suggestion-buttons button {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: #FAF6F0;
    color: #000;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.suggestion-buttons button:hover {
    background: #f0f0f0;
}


#chat-box {
    display: none;
    max-height: 300px;
    overflow-y: auto;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
}

.chat-message.ai::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 3px;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.page-id-2174 div#content {
     /* background-image: url(https://genericfragrances.com/wp-content/uploads/2025/06/perfume-assistant-bg-desktop_updated-scaled.webp); */
    background-image: url(https://genericfragrances.com/wp-content/uploads/2025/06/1.jpg);
    background-position: center;
    background-size: cover;

}

.page-id-2174 #chat-box {
    background: transparent !important;
}

.page-id-2174 .ai-assistant-container {
    background: transparent !important;
    box-shadow: none !important;
}

@media only screen and (max-width: 820px) {
    .single-product .product-info.summary.col-fit.col.entry-summary.product-summary {
        max-width: 100%;
    }
}