/* Product Comparison Table Styles */
.comparison-table-wrapper {
    margin: 24px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 20px 16px 28px 16px;
    overflow-x: auto;
}
 
.comparison-table-wrapper h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.3rem;
    color: #060606;
    font-weight: 600;
    text-align: left;
}
 
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 1rem;
    min-width: 400px;
}
 
.comparison-table th, .comparison-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    text-align: center;
    vertical-align: middle;
}
 
.comparison-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
}
 
.comparison-table tr:nth-child(even) td {
    background: #f6fafd;
}
 
.comparison-table tr:hover td {
    background: #e3f2fd;
    transition: background 0.2s;
}
 
.comparison-table td {
    font-size: 0.98rem;
    color: #222;
}
 

:root {
    --bg-gradient: rgb(63, 164, 146);
    --rufus-orange: #ff6b35;
    --rufus-blue: #1e88e5;
    --rufus-dark-blue: #0d47a1;
    --text-primary: #fff;
    --text-secondary: #666;
    --input-bg: rgba(255, 255, 255, 0.95);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 16px 64px rgba(0, 0, 0, 0.15);
}
 
body {
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
 
.main-container {
    text-align: center;
    width: 100%;
    flex-wrap: wrap;
}
 
.logo-section {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;;
}
 
.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}
 
.subtitle {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 80px;
    width: 100%;
}
 
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
 
.search-input {
    width: 100%;
    padding: 24px 80px 24px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    background: var(--input-bg);
    box-shadow: var(--shadow-light);
    outline: none;
    transition: all 0.3s ease;
    color: #000;
    backdrop-filter: blur(20px);
}
 
.search-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}
 
.search-input:focus {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-2px);
    background: white;
}
 
.search-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #3fa492;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.search-btn:hover {
    background: #3fa492;
    transform: translateY(-52%) scale(1.05);
}
 
.chat-overlay {
    background: var(--bg-gradient);
    z-index: 1000;
    display: none;
    width: 100%;
    transition: opacity 0.3s ease;
    position: relative;
}
 
.chat-container {
    background: transparent;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    height: calc(100vh - 15vh);
}
 
.chat-header {
    border-bottom: 1px solid rgb(255 255 255 / 43%);
    padding: 0px 25px 15px;
    display: flex;
    align-items: center;
    line-height: 0px;
    justify-content: space-between;
    border-radius: 10px;
}
 
.chat-header-left {
    display: flex;
    align-items: center;
}
 
.chat-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
 
.chat-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2px;
}
 
.close-btn {
    border: none;
    font-size: 1.1rem;
    color: #3fa492;
    cursor: pointer;
    padding: 5px 7px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: #fff;
}
 
.close-btn:hover {
    background: rgb(255, 255, 255);
    color: #3fa492;
}

.chat-header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-chat-btn {
    border: none;
    font-size: 1.1rem;
    /* color: var(--text-secondary); */
    color: #3fa492;
    cursor: pointer;
    padding: 5px 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: #fff;
}

.new-chat-btn:hover {
    background: rgb(255, 255, 255);
    color: #3fa492;;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scroll-behavior: smooth;
}
 
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
 
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
 
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
 
.message {
    margin-bottom: 24px;
    animation: messageSlide 0.4s ease-out;
}
 
@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
 
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
.message.user {
    text-align: right;
}
 
.message.bot {
    text-align: left;
}
 
.message-content {
    display: inline-block;
    max-width: 75%;
    padding: 15px 20px;
    border-radius: 24px;
    position: relative;
    word-wrap: break-word;
    font-size: 1rem;
    line-height: 1.5;
    font-size: 15px;
    word-spacing: 1px;
}
 
.message.user .message-content {
    background: #f8f9fa;
    color: #464646;
    border-bottom-right-radius: 8px;
    font-family: "Open Sans", sans-serif;
}
 
.message.bot .message-content {
    background: white;
    color: #464646;
    border-bottom-left-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    font-family: "Open Sans", sans-serif;
}
 
.message-time {
    font-size: 0.8rem;
    color: #fff;
    margin-top: 8px;
    opacity: 0.8;
}
 
.chat-input-container {
    padding: 0px 20px 0px;
}
 
.chat-input-group {
    position: relative;
    max-width: 100%;
    display: flex;
    align-items: center;
}
 
.chat-input {
    width: 100%;
    padding: 16px 140px 16px 24px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 100px;
    background: white;
    outline: none;
    font-family: "Open Sans", sans-serif;
    color: #252525;
}

.chat-input:focus {
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

/* Voice Control Buttons */
.mic-btn, .speaker-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mic-btn {
    right: 90px;
}

.speaker-btn {
    right: 52px;
}

.mic-btn:hover, .speaker-btn:hover {
    background: #5a6268;
    transform: translateY(-50%) scale(1.05);
}

/* Active states */
.mic-btn.listening {
    background: #dc3545;
    animation: pulse-red 1.5s infinite;
}

.speaker-btn.speaking {
    background: #28a745;
    animation: pulse-green 1.5s infinite;
}

.speaker-btn.muted {
    background: #dc3545 !important;
    color: white;
}

.speaker-btn.muted:hover {
    background: #c82333 !important;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.speaker-btn.speaking {
    animation-name: pulse-green;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}
 
.chat-send-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #3fa492;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.chat-send-btn:hover {
    background: #3fa492;
    transform: translateY(-50%) scale(1.05);
}
 
.typing-indicator {
    display: none;
    text-align: left;
    margin-bottom: 24px;
    padding-left: 25px;
}
 
.typing-indicator .message-content {
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 16px 24px;
}
 
.typing-dots {
    display: inline-block;
}
 
.typing-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    margin: 0 3px;
    animation: typing 1.4s infinite ease-in-out;
}
 
.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}
 
.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}
 
.logo-section img {
    width: 9%;
    margin-left: 20px;
}
 
.chat-main {
    background-color: rgb(63, 164, 146);
    width: 75%;
    height: calc(100vh - 10vh);
    display: flex;
    z-index: 1000;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    position: relative;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
 
@keyframes typing {
 
    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
 
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
 
/* Carousel wrapper */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 15px 0;
}
 
.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 10px;
  scroll-behavior: smooth;
}
 
.carousel-container::-webkit-scrollbar {
  display: none; /* hide scrollbar */
}
 
/* Navigation buttons */
.carousel-btn {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  background: rgb(241 241 241);
  color: #3b3b3b;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 10;
  height: 40px;
  width: 40px;
}
 
.prev-btn { left: -10px; }
.next-btn { right: -10px; }
 
/* Product card */
.product-card {
  min-width: 220px;
  max-width: 32.5%;
  flex: 0 0 auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
 
.product-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 6px;
}
 
.product-info {
  margin-top: 8px;
}
 
.product-name {
  font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    font-family: "Open Sans", sans-serif;
}
 
.product-price {
  color: #3fa492;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 18px;
}
 
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
 
.product-features .feature {
  background: #f1f1f1;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}
 
 
 
/* Producr */
 
.product-details-card {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
 
.details-card-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
 
.details-left {
    flex: 1;
    text-align: center;
}
 
.details-left img.details-img {
    max-width: 200px;
    border-radius: 10px;
}
 
.details-actions {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
 
.details-btn,
.add-to-cart-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
 
.details-btn {
    background: #007bff;
    color: white;
    text-decoration: none;
}
 
.add-to-cart-btn {
    background: #28a745;
    color: white;
}
 
.details-right {
    flex: 2;
}
 
.details-name {
    margin: 0 0 10px;
}
 
.details-price {
    font-size: 1.2em;
    color: #28a745;
    margin-bottom: 12px;
}
 
.details-features {
    list-style: none;
    padding: 0;
}
 
.details-features li {
    margin-bottom: 6px;
}
 
.details-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* space between buttons */
}
 
.details-features li {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: default;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 500;
  flex: 1 1 auto; /* responsive */
  text-align: center;
}
 
.details-features li:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  transform: scale(1.05);
}  
 
.store-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.store-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.store-address {
  font-size: 14px;
  margin: 4px 0;
}
.store-timings {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}
.direction-btn {
  display: inline-block;
  padding: 8px 14px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.direction-btn:hover {
  background: #0056b3;
}
.chat-bg
{
    position: absolute;
    z-index: -1;
    right: 10px;
    bottom: 0;
    opacity: 0.2;
    width: 18%;
}
.chat-bg img
{
    width: 100%;
}
.chat-overlay .chat-bg.chat-inner-bg
{
    right: 15px;
    bottom: 60px;
}
@media (max-width: 768px) {
    .comparison-table-wrapper {
        padding: 10px 2px 18px 2px;
    }
    .comparison-table th, .comparison-table td {
        padding: 8px 6px;
        font-size: 0.92rem;
    }
    .comparison-table {
        min-width: 320px;
    }

    .main-title {
        font-size: 2.2rem;
    }
 
    .subtitle {
        font-size: 1.3rem;
        margin-bottom: 50px;
    }
 
    .search-input,
    .chat-input
    {
        padding: 12px 120px 12px 18px;
        font-size: 1rem;
    }
 
    .chat-container {
        border-radius: 0;
        height: calc(100vh - 8vh);
    }
 
    .message-content {
        max-width: 90%;
        padding: 10px 15px;
        border-radius: 20px;
    }
    .chat-main
    {
        width: 100%;
        border-radius: 20px;
        border-radius: 15px;
        height: calc(100vh - 6vh);
    }
    .search-btn
    {
        width: 40px;
        height: 40px;
        right: 4px;
    }
    .logo-section img
    {
        width: 11%;
        margin-left: 10px;
    }
    .chat-bg
    {
        width: 42%;
        right: 10px;
        bottom: 52px;
    }
    .logo-section
    {
        margin-bottom: 50px;
    }
    .main-container
    {
        padding: 10px;
    }
    .chat-messages
    {
        padding: 15px;
    }
    .chat-input-container
    {
        padding: 0px 10px 0px;
    }
    .chat-header-left img
    {
        width: 11%;
        margin-right: 8px;
    }
    .close-btn
    {
        font-size: 1rem;
        padding: 3px 5px;
    }
    
    /* Voice control buttons mobile styles */
    .mic-btn, .speaker-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .mic-btn {
        right: 78px;
    }
    
    .speaker-btn {
        right: 44px;
    }
    
    .chat-send-btn {
        width: 38px;
        height: 38px;
        right: 8px;
    }
    .new-chat-btn
    {
        height: 22px;
        width: 22px;
        padding: 2px !important;
    }
    .chat-header
    {
        padding: 0px 15px 10px;
    }
}

/* Retry Button Styles */
.retry-container {
    display: flex;
    justify-content: center;
    margin: 16px 0;
    padding: 8px;
}

.retry-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.retry-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.retry-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.retry-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.retry-btn i {
    font-size: 12px;
}