
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.play {
    transform: translateY(-80% );
}
h1 {
    font-size:70px;
}

.hero-image {
  position: relative;
  transform: translateY(30%);
}
.hero-sidebar {
    transform: translate(460%);
    width: 250px; 
    position: fixed; 
    top: 40%;
}
.laptop img {
    width: 450px;
}
.hero-sidebar img {
  width: 100px;
}
.collection {
    transform: translateY(-80%);
}

/* أقسام المنتجات */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* تنسيقات قسم المنتجات */
.products-section {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.view-all-link {
    color: #4361ee;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #3a56d4;
    transform: translateX(-3px);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    position: relative;
    width: 100%; /* أو أي قيمة مناسبة مثل max-width */
    height: auto;
    overflow: hidden; /* تمنع تجاوز المحتوى حدود العنصر */
}



.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #FFAD33;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.7);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: rgba(255,255,255,0.9);
}

.favorite-btn i {
    color:  #000000;
    font-size: 16px;
}

.favorite-btn.active i {
    color:  #dc3545;
}

.product-img {
    width: 100%;
    height: 200px; /* ضبط الارتفاع */
    object-fit: cover; /* لتغطية العنصر بالكامل */
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

.product-details {
    padding: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #FFAD33 ;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.rating {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 15px;
}

.rating span {
    color: #666;
    margin-left: 5px;
}

.add-to-cart {
    width: 100%;
    padding: 8px;
    background-color: #4361ee;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: #3a56d4;
}


.rating {
    color: #ffc107;
    font-size: 14px;
    margin: 5px 0;
}

.view-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #4361ee;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #3a56d4;
    transform: translateY(-2px);
}

/* القوائم */
.category-item {
    text-align: center;
    padding: 15px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}

.category-item i {
    font-size: 24px;
    color: #141414;
    margin-bottom: 20px;
}
.whats-new {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.whats-new h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}

.news-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.news-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    justify-content: space-between;
}

.news-card.reverse {
    flex-direction: row-reverse;
}

.news-card img {
    width: 50%;
    border-radius: 10px;
}

.news-content {
    width: 50%;
    padding: 20px;
    text-align: left;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 14px;
    color: #666;
}

.btn {
    display: block;
    width: fit-content;
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    background-color: #007bff;
    color: white;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.8;
}
.featured-product-banner {
    position: relative;
    width: 100%;
    height: 350px;
    background: url('../images/Asus-ZenBook-Pro-Duo.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 20px;
}

.featured-product-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.021); 
}

.featured-product-content {
    position: relative;
    color: white;
    padding: 20px;
    max-width: 400px;
}

.featured-product-content h2 {
    font-size: 26px;
    font-weight: bold;
}

.featured-product-content p {
    font-size: 18px;
}

.featured-product-features {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.featured-product-features span {
    background: #ffffff48; 
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.highlight {
    background: blue;
    color: white;
}

.buy-btn {
    background: orange;
    color: white;
    padding: 12px 18px;
    font-size: 18px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.buy-btn:hover {
    background: darkorange;

}

footer {
    background: #007bff; 
    color: white;
    padding: 50px 0;
    margin-top: 75px; 
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

footer .big_row {
    flex: 1;
    max-width: 300px;
}

footer .big_row .logo_footer {
    width: 150px;
    margin-bottom: 15px;
}

footer .big_row p {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

footer .icons_footer a {
    color: white;
    margin-right: 10px;
    font-size: 18px;
    transition: 0.3s;
}

footer .icons_footer a:hover {
    color: #ffdd57;
}

footer .row {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

footer h4 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffdd57;
    display: inline-block;
    padding-bottom: 5px;
}

footer .links {
    display: flex;
    flex-direction: column;
}

footer .links a {
    color: #e0e0e0;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

footer .links a i {
    margin-right: 5px;
    color: #ffdd57;
}

footer .links a:hover {
    color: white;
    margin-left: 5px;
}

.bottom_footer {
    background: #0057b385; 
    padding: 15px 0;
    margin-top: 20px;
    text-align: center;
}

.bottom_footer p {
    font-size: 14px;
    color: #e0e0e0;
}

.bottom_footer span {
    color: #ffdd57;
    font-weight: bold;
}

.bottom_footer .payment_img img {
    width: 180px;
    margin-top: 10px;
}
/* التكيف مع الجوال */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .search-box {
        margin-top: 15px;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
   
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 12px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text .btn {
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .products-container {
        grid-template-columns: repeat(4, 250px);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .product-card {
        min-width: 230px;
    }
}

@media (max-width: 576px) {
    .products-container {
        grid-template-columns: repeat(4, 200px);
    }
    
    .product-img {
        height: 150px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 16px;
    }
}
/* rslkiujy */
/* تنسيقات معرض الصور المتجاوب مع الهاتف */
.product-details {
    padding: 15px;
}

.product-images {
    position: relative;
    margin-bottom: 20px;
}

.product-details .main-product-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    margin-top: 15px;
    -webkit-overflow-scrolling: touch;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid #3f3636;
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #007bff;
}

#prevBtn, #nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0.85;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* التعديلات الخاصة بالهاتف */
@media (max-width: 768px) {
    .product-details {
        padding: 10px;
    }
    
    .product-details .main-product-img {
        max-height: 300px;
    }
    
    .thumbnail {
        width: 40px;
        height: 40px;
    }
    
    #prevBtn, #nextBtn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .product-details .color-dot {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .product-details .main-product-img {
        max-height: 250px;
    }
    
    .thumbnail {
        width: 40px;
        height: 40px;
    }
    
    #prevBtn, #nextBtn {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
}

.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* التعديلات الخاصة بالهاتف */
@media (max-width: 768px) {
    .product-details {
        padding: 10px;
    }
    
    .product-details .main-product-img {
        max-height: 300px;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    #prevBtn, #nextBtn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .product-details .color-dot {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .product-details .main-product-img {
        max-height: 250px;
    }
    
    .thumbnail {
        width: 40px;
        height: 40px;
    }
    
    #prevBtn, #nextBtn {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}
  
  #prevBtn, #nextBtn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0.85;
    font-size: 20px;
    z-index: 10;
    background-color: #007bff;
  }
  
  #prevBtn:hover, #nextBtn:hover {
    background-color: #007bff;
    color: white;
  }
  .client-reviews {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.client-reviews h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}
.review-header {
    display: flex;
    justify-content: space-between;  
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-header .stars {
    color: #f1c40f;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-left: auto; 
}

.review-header .filter,
.review-header .date {
    margin-right: 10px;  
}


.filter {
    background: #554a4a;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.stars {
    color: #fac800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-right: auto;
    order: 2;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
} 

.read-more {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

/* للشاشات الصغيرة */
@media (max-width: 600px) {
    .review {
        padding: 15px;
    }
    
    .review-header {
        gap: 10px;
    }
}
/* خلفية الحاوية */
.products-container {
    background-color: white; /* خلفية بيضاء للحاوية */
    border-radius: 8px; /* حواف دائرية للحاوية */
    padding: 20px; /* مسافة داخلية للحاوية */
}

/* خلفية الصور */
.image-container {
    background-color: white; /* خلفية بيضاء للصورة */
    border-radius: 8px; /* حواف دائرية للصورة */
    height: 200px; /* ارتفاع ثابت للحاوية */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img {
    object-fit: contain; /* الحفاظ على نسبة أبعاد الصورة */
    max-height: 100%; /* منع تجاوز الصورة للحاوية */
    width: auto; /* ضبط العرض تلقائيًا */
}
.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-img {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-result-info {
    margin-left: 15px;
    flex-grow: 1;
}

.search-result-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.search-result-price {
    font-size: 13px;
    color: #0d6efd;
    font-weight: 600;
}

.search-result-rating {
    font-size: 12px;
    color: #ffc107;
}
.search-results {
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%; /* تظهر مباشرة تحت مربع البحث */
    left: 50%; /* تبدأ من منتصف العنصر الأب */
    transform: translateX(-50%); /* تحريك العنصر للخلف بنصف عرضه */
    width: 100%; /* عرض مساوٍ لمربع البحث */
    max-width: 600px; /* أقصى عرض */
    z-index: 1000; /* لضمان ظهورها فوق العناصر الأخرى */
    background-color: white;
    border-radius: 8px;
    margin-top: 5px; /* مسافة صغيرة من مربع البحث */
}


.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    max-width: 100%; /* تأكد من أن الحاوية لا تتجاوز عرض الشاشة */
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    position: relative;
    width: 100%;
    max-width: 100%; /* منع تجاوز البطاقات عرض الحاوية */
}

@media (max-width: 576px) {
    .products-container {
        grid-template-columns: repeat(2, minmax(150px, 1fr)); /* تقليل عدد الأعمدة */
        gap: 10px; /* تقليل المسافات بين العناصر */
        padding-bottom: 10px; /* تقليل المسافة السفلية */
    }

    .search-results {
        width: calc(100% - 40px); /* تقليل العرض ليتناسب مع الهواتف */
        margin-top: 15px; /* مسافة إضافية فوق النتائج */
        left: auto; /* إزالة التوسيط الأفقي */
        right: auto; /* إزالة التوسيط الأفقي */
        transform: none; /* إزالة التحريك الأفقي */
        max-width: none; /* السماح للعرض بالتكيف مع الشاشة */
        border-radius: 5px; /* تقليل الحواف الدائرية */
        padding-left: 10px; /* مسافة داخلية صغيرة */
        padding-right: 10px; /* مسافة داخلية صغيرة */
    }
}
/* منع تجاوز العناصر عرض الشاشة */
body {
    overflow-x: hidden; /* منع التمرير الأفقي */
}

/* ضبط عرض الصور الكبيرة */
.laptop img {
    max-width: 100%; /* تأكد من أن الصورة لا تتجاوز عرض الحاوية */
    height: auto; /* الحفاظ على نسبة العرض إلى الارتفاع */
    display: block; /* منع أي فراغات إضافية حول الصورة */
}

/* إصلاح الحاوية التي تحتوي على الصورة */
.hero-image {
    max-width: 100%; /* منع تجاوز الحاوية لعرض الشاشة */
    overflow: hidden; /* إخفاء أي محتوى زائد عن الحاوية */
}

/* ضبط عرض علامة المحادثة */
.smartsupp-chat-icon {
    position: fixed;
    bottom: 20px; /* تأكد من أنها تظهر في الزاوية السفلية */
    right: 20px; /* تأكد من أنها تظهر في الزاوية اليمنى */
    z-index: 1000; /* ضمان ظهورها فوق العناصر الأخرى */
}

/* لجعل جميع البطاقات بنفس الطول */
.card {
    height: 100%; /* اجعل البطاقات تمتد لملء ارتفاع العمود */
    display: flex;
    flex-direction: column; /* لضمان أن المحتوى يرتب عموديًا */
}

/* لضمان أن النصوص والسعر يحتفظان بمساحة ثابتة */
.card-body {
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* تمدد المساحة المتوفرة بالتساوي */
}

/* زر عرض المنتج ليتواجد دائمًا في الأسفل */
.card-body .btn {
    margin-top: auto; /* يجعل الزر في أسفل البطاقة */
}

/* لجعل الصورة داخل البطاقة متناسبة دائمًا */
.card-img-top {
    height: 200px; /* ضبط ارتفاع ثابت للصورة */
    object-fit: cover; /* لضمان أن الصورة تتناسب داخل المساحة دون تمدد */
}
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(233, 30, 99, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    }
}

.chat-button:hover {
    transform: scale(1.05);
}

.chat-header {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
    padding: 15px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-title {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.chat-controls button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chat-body {
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    display: none;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #e91e63;
    border-radius: 10px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    align-items: flex-end;
    margin-left: auto;
}

.bot-message {
    align-self: flex-start;
    align-items: flex-start;
    margin-right: auto;
}

.message-content {
    padding: 12px 15px;
    border-radius: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.user-message .message-content {
    background: #e91e63;
    color: white;
    border-bottom-right-radius: 5px;
}

.bot-message .message-content {
    background: #f5f5f5;
    color: #333;
    border-bottom-left-radius: 5px;
}

.message-content p {
    margin: 0;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.7;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s;
}

.chat-input input:focus {
    border-color: #e91e63;
}

.chat-input button {
    background: #e91e63;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-input button:hover {
    background: #c2185b;
    transform: scale(1.05);
}

.chat-input button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.product-suggestion {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-suggestion:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f9f9f9;
}

.product-info {
    padding: 10px;
    flex: 1;
}

.product-name {
    font-weight: 600;
    margin: 0 0 5px 0;
    font-size: 14px;
}

.product-price {
    color: #e91e63;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.view-product-btn {
    background: #e91e63;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.view-product-btn:hover {
    background: #c2185b;
}

.typing-indicator {
    display: flex;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 18px;
    margin-bottom: 15px;
    align-self: flex-start;
    width: fit-content;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: #e91e63;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: typing 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.3s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.6s;
    margin-right: 0;
}

@keyframes typing {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 8px 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-reply:hover {
    background: #e91e63;
    color: white;
    border-color: #e91e63;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .chat-body {
        width: 300px;
        height: 400px;
        position: fixed;
        bottom: 80px;
        right: 10px;
    }
    
    .chat-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}