/* ===== Page Background ===== */
.chat-page {
    position: relative;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&h=900&fit=crop') no-repeat center center fixed;
    background-size: cover;
}

.chat-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,157,217,0.82) 0%, rgba(214,34,120,0.72) 100%);
    z-index: 0;
    pointer-events: none;
}

.chat-page > * {
    position: relative;
    z-index: 1;
}

/* ===== Chat Hero ===== */
.chat-hero {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.chat-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 36px 0 44px;
}

.chat-hero-content h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.chat-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Chat Wrapper (single column) ===== */
.chat-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

/* ===== Chat Container ===== */
.chat-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ===== Chat Header ===== */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #fff;
    border-bottom: 1px solid #f0f2f4;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #079DD9, #D62278);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(214,34,120,0.25);
}

.chat-header-info strong {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    display: block;
}

.chat-status {
    font-size: 12px;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

.chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.chat-reset-btn {
    background: #f0f2f4;
    border: none;
    color: #6b7a8a;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s;
}

.chat-reset-btn:hover {
    background: #e5e7eb;
    color: #1a1a2e;
}

/* ===== Chat Messages ===== */
.chat-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    max-height: 420px;
    min-height: 280px;
    background: #fafbfc;
}

.message {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    animation: msgFadeIn 0.35s ease;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.user {
    justify-content: flex-end;
}

.message.user .message-content {
    background: linear-gradient(135deg, #079DD9, #0a8fc7);
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 2px 8px rgba(7,157,217,0.15);
}

.message.assistant .message-content {
    background: #fff;
    color: #1a1a2e;
    border-radius: 4px 18px 18px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #f0f2f4;
}

.message.error .message-content {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #079DD9, #D62278);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(214,34,120,0.2);
}

.message-content {
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.65;
    max-width: 520px;
    font-family: 'Outfit', -apple-system, sans-serif;
}

.message-content p { margin: 4px 0; }
.message-content ul { margin: 6px 0 2px; padding-left: 18px; }
.message-content li { margin: 5px 0; font-size: 13px; opacity: 0.8; }

/* ===== Typing ===== */
.typing .message-content { padding: 16px 20px; }
.typing .typing-dots { display: flex; gap: 5px; padding: 2px 0; }
.typing .typing-dots span {
    width: 9px; height: 9px; background: #079DD9; border-radius: 50%;
    animation: typingBounce 1.3s ease-in-out infinite; opacity: 0.3;
}
.typing .typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing .typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
    40% { transform: translateY(-6px); opacity: 1; }
}

/* ===== Suggestions ===== */
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 24px;
    background: #fff;
    border-top: 1px solid #f0f2f4;
}

.suggestion-btn {
    background: #f0f4f9;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 7px 18px;
    font-size: 13px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    color: #4a5a6e;
    font-weight: 500;
}

.suggestion-btn:hover {
    background: #079DD9;
    color: #fff;
    border-color: #079DD9;
    box-shadow: 0 3px 10px rgba(7,157,217,0.2);
}

/* ===== Chat Input ===== */
.chat-input-area {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 24px;
    background: #fff;
    border-top: 1px solid #f0f2f4;
}

.chat-input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 11px 16px;
    font-size: 14px;
    font-family: 'Outfit', -apple-system, sans-serif;
    resize: none;
    max-height: 120px;
    min-height: 46px;
    outline: none;
    transition: all 0.2s;
    background: #fafbfc;
    line-height: 1.5;
}

.chat-input:focus {
    border-color: #079DD9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(7,157,217,0.1);
}

.chat-send-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #079DD9, #0a8fc7);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(7,157,217,0.2);
}

.chat-send-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(7,157,217,0.3);
}
.chat-send-btn:active:not(:disabled) { transform: translateY(0); }
.chat-send-btn:disabled { background: #e2e8f0; box-shadow: none; cursor: not-allowed; }

/* ===== Chat Footer ===== */
.chat-footer {
    padding: 10px 24px;
    background: #fafbfc;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    border-top: 1px solid #f0f2f4;
    font-family: 'Outfit', sans-serif;
}

/* ===== Search Results ===== */
.search-results {
    margin-top: 32px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}

.results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.results-header-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.results-summary {
    color: #6b7a8a;
    font-size: 14px;
    margin-top: 4px;
}

.share-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #079DD9;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 3px 14px rgba(7,157,217,0.25);
    white-space: nowrap;
}

.share-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7,157,217,0.35);
}

.share-all-btn i {
    font-size: 16px;
}

/* ===== Share Modal ===== */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.share-modal {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    max-width: 440px;
    width: 90vw;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.share-modal h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.share-modal p {
    color: #6b7a8a;
    font-size: 14px;
    margin: 0 0 20px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #f0f2f4;
    border-radius: 14px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: left;
}

.share-option:hover {
    background: #f0f4f9;
    border-color: #079DD9;
    transform: translateX(4px);
}

.share-option-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.share-option-icon.email { background: #eff6ff; color: #3b82f6; }
.share-option-icon.whatsapp { background: #f0fdf4; color: #22c55e; }
.share-option-icon.copy { background: #f5f3ff; color: #8b5cf6; }

.share-modal-close {
    display: block;
    margin-top: 16px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 13px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    text-align: center;
    width: 100%;
    padding: 8px;
}

.share-modal-close:hover {
    color: #6b7a8a;
}

/* ===== Offer Cards Grid ===== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.offer-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s;
    border: 1px solid #f0f2f4;
}

.offer-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: #e2e8f0;
}

.offer-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #eef2f6;
    position: relative;
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.offer-card:hover .offer-card-image img {
    transform: scale(1.03);
}

.offer-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #c4cdd6;
}

.offer-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offer-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1a1a2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b7a8a;
    margin-bottom: 8px;
}

.offer-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.offer-details { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6b7a8a; margin-bottom: 8px; }
.offer-dates { font-size: 13px; color: #9ca3af; margin-bottom: 8px; }

.offer-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.note { background: #eff6ff; color: #3b82f6; font-size: 11px; padding: 4px 10px; border-radius: 6px; font-weight: 500; }

.offer-price {
    font-size: 22px;
    font-weight: 700;
    color: #D62278;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.offer-card-body .btn {
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.offer-card-body .offer-description {
    font-size: 13px;
    color: #6b7a8a;
    line-height: 1.5;
    margin: 6px 0;
}

.offer-card-body .offer-pp {
    font-size: 13px;
    color: #6b7a8a;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

/* ===== Load More Button ===== */
.load-more-offers {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    padding: 12px 32px;
    background: #fff;
    color: #079DD9;
    border: 2px solid #079DD9;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-load-more:hover {
    background: #079DD9;
    color: #fff;
    box-shadow: 0 4px 14px rgba(7,157,217,0.2);
}

.btn-load-more i {
    margin-left: 6px;
    font-size: 12px;
}

.offer-card-body .btn-accent {
    background: linear-gradient(135deg, #D62278, #c01e6b);
    color: #fff;
    box-shadow: 0 2px 10px rgba(214,34,120,0.2);
}

.offer-card-body .btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(214,34,120,0.3);
}

.offer-affiliate-hint {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 8px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

/* ===== Share Button per Offer ===== */
.offer-share-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.offer-share-row .btn {
    flex: 1;
}

.offer-share-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #079DD9;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(7,157,217,0.2);
}

.offer-share-btn:hover {
    background: #fff;
    color: #079DD9;
    border: 1px solid #079DD9;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(7,157,217,0.3);
}

/* ===== Delivery Form ===== */
.results-actions {
    margin-top: 28px;
    background: #f8faff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e8edf5;
    transition: all 0.3s;
}

.results-actions.highlight {
    border-color: #079DD9;
    box-shadow: 0 0 0 3px rgba(7,157,217,0.1);
}

.delivery-options h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.delivery-options p {
    color: #6b7a8a;
    font-size: 14px;
    margin: 8px 0 16px;
}

.delivery-form .form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 12px;
    transition: all 0.2s;
    background: #fafbfc;
}

.delivery-form .form-control:focus {
    border-color: #079DD9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(7,157,217,0.1);
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.consent-check input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 1px;
    accent-color: #079DD9; flex-shrink: 0;
}

.consent-check label { font-size: 13px; color: #6b7a8a; line-height: 1.4; }
.consent-check a { color: #079DD9; text-decoration: none; font-weight: 500; }

.delivery-form .btn {
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-form .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.delivery-form .btn-primary {
    background: #079DD9;
    color: #fff;
    box-shadow: 0 2px 8px rgba(7,157,217,0.15);
}
.delivery-form .btn-primary:hover:not(:disabled) { background: #068bc0; transform: translateY(-1px); }

.delivery-form .btn-secondary {
    background: #f0f2f4;
    color: #1a1a2e;
}
.delivery-form .btn-secondary:hover:not(:disabled) { background: #e5e7eb; }

/* ===== Toast Messages ===== */
.toast-message {
    position: fixed; bottom: 28px; left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px; border-radius: 12px;
    font-size: 14px; font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 500; z-index: 99999;
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    animation: toastSlideIn 0.3s ease;
    max-width: 90vw;
}

.toast-success { background: #1a1a2e; color: #fff; }
.toast-error { background: #dc2626; color: #fff; }
.toast-fadeout { animation: toastFadeOut 0.4s ease forwards; }

@keyframes toastSlideIn {
    from { transform: translateX(-50%) translateY(16px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .chat-hero { min-height: 150px; }
    .chat-hero-content { padding: 28px 0 32px; }
    .chat-hero-content h1 { font-size: 1.6rem; }
    .chat-hero-content p { font-size: 0.95rem; padding: 0 12px; }

    .chat-wrapper { padding: 0; }
    .chat-container { border-radius: 16px; }
    .chat-messages { max-height: 440px; min-height: 286px; padding: 18px 16px; }
    .message-content { max-width: 280px; font-size: 13px; padding: 12px 14px; }

    .chat-input { min-height: 60px; max-height: 150px; font-size: 15px; }

    .search-results { padding: 20px; border-radius: 16px; }
    .results-header { flex-direction: column; }
    .share-all-btn { width: 100%; justify-content: center; }

    .offers-grid { grid-template-columns: 1fr; }
    .offer-card-image { height: 140px; }

    .chat-suggestions {
        overflow-x: auto; flex-wrap: nowrap;
        padding: 12px 16px; gap: 6px;
    }
    .suggestion-btn { flex-shrink: 0; font-size: 12px; padding: 6px 14px; }
    .chat-input-area { padding: 12px 16px; }
    .chat-header { padding: 14px 16px; }
    .results-header h2 { font-size: 19px; }
    .delivery-form .btn { width: 100%; }
    .share-modal { padding: 24px; }
}

@media (max-width: 480px) {
    .chat-hero { min-height: 120px; }
    .chat-hero-content { padding: 22px 0 26px; }
    .chat-hero-content h1 { font-size: 1.3rem; }
    .chat-hero-content p { font-size: 0.85rem; }
    .chat-messages { max-height: 360px; min-height: 230px; }
    .message-content { max-width: 220px; font-size: 12px; }
    .chat-input { min-height: 56px; max-height: 130px; }
    .offer-card-body { padding: 14px; }
    .offer-price { font-size: 19px; }
}

/* ===== Hero Chat (Homepage Slider) ===== */
.hero-chat {
    background: linear-gradient(135deg, #D62278 0%, #b81d66 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(214,34,120,0.2);
}

.hero-chat-inner {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f4;
}

.hero-chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #1a1a2e;
    font-weight: 500;
}

.chat-avatar-sm {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #079DD9, #D62278);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(214,34,120,0.2);
}

.hero-chat-header-left strong {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 17px;
    display: block;
}

.chat-status-sm {
    font-size: 15px;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-weight: 500;
}

.chat-status-sm::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.chat-reset-btn-sm {
    background: #f0f2f4;
    border: none;
    color: #6b7a8a;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-reset-btn-sm:hover {
    background: #e5e7eb;
    color: #1a1a2e;
}

.hero-chat-messages {
    max-height: 240px;
    overflow-y: auto;
    padding: 16px 20px;
    background: #fafbfc;
    min-height: 120px;
}

.hero-chat-messages .message {
    margin-bottom: 12px;
}

.hero-chat-messages .message-content {
    max-width: 480px;
    font-size: 13px;
    padding: 10px 14px;
    background: #fff;
    color: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #f0f2f4;
}

.hero-chat-messages .message.assistant .message-content {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid #f0f2f4;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.hero-chat-messages .message.user .message-content {
    background: linear-gradient(135deg, #079DD9, #0a8fc7);
    color: #fff;
    margin-left: auto;
    border: none;
    box-shadow: 0 2px 8px rgba(7,157,217,0.15);
}

.hero-chat-messages .assistant .message-avatar i {
    color: #fff;
    font-size: 15px;
}

.hero-chat-messages .message .message-avatar {
    background: linear-gradient(135deg, #079DD9, #D62278);
    border: none;
}

.hero-chat-messages .message.user .message-avatar {
    display: none;
}

.hero-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 20px;
    border-top: 1px solid #f0f2f4;
    align-items: center;
}

.suggestions-label {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    margin-right: 4px;
    white-space: nowrap;
}

.hero-chat-suggestions .suggestion-btn {
    font-size: 12px;
    padding: 6px 14px;
    background: #f0f4f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    color: #4a5a6e;
    font-weight: 500;
    transition: all 0.2s;
}

.hero-chat-suggestions .suggestion-btn:hover {
    background: #079DD9;
    color: #fff;
    border-color: #079DD9;
}

.hero-chat-input {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #f0f2f4;
}

.hero-chat-input .chat-input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: 'Outfit', -apple-system, sans-serif;
    resize: none;
    max-height: 80px;
    min-height: 40px;
    outline: none;
    background: #fafbfc;
    color: #1a1a2e;
    line-height: 1.5;
    transition: all 0.2s;
}

.hero-chat-input .chat-input::placeholder {
    color: #9ca3af;
}

.hero-chat-input .chat-input:focus {
    border-color: #079DD9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(7,157,217,0.1);
}

.hero-chat-input .chat-send-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #079DD9, #0a8fc7);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(7,157,217,0.2);
}

.hero-chat-input .chat-send-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(7,157,217,0.3);
}

.hero-chat-input .chat-send-btn:disabled {
    background: #e2e8f0;
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .hero-chat {
        padding: 12px;
        margin-bottom: 14px;
        border-radius: 16px;
    }

    .hero-chat-header {
        padding: 12px 14px;
    }

    .hero-chat-header-left {
        font-size: 14px;
    }

    .hero-chat-header-left strong {
        font-size: 16px;
    }

    .chat-status-sm {
        font-size: 14px;
    }

    .chat-status-sm::before {
        width: 9px;
        height: 9px;
    }

    .chat-avatar-sm {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .hero-chat-messages {
        max-height: 230px;
        min-height: 120px;
        padding: 12px 14px;
    }

    .hero-chat-messages .message-content {
        max-width: 300px;
        font-size: 14px;
        padding: 10px 12px;
    }

    .hero-chat-suggestions {
        padding: 10px 14px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .hero-chat-suggestions .suggestion-btn {
        flex-shrink: 0;
        font-size: 12px;
        padding: 6px 13px;
    }

    .hero-chat-input {
        padding: 10px 14px;
    }

    .hero-chat-input .chat-input {
        font-size: 14px;
        padding: 9px 13px;
        min-height: 38px;
    }

    .hero-chat-input .chat-send-btn {
        width: 38px;
        height: 38px;
    }
}

/* ===== Global Border-Radius Reset ===== */
* { border-radius: 1px !important; }
.chat-container, .hero-chat, .hero-chat-inner { border-radius: 1px !important; }
.btn, button, input, textarea, select { border-radius: 1px !important; }
.offer-card, .offer-card-image, .message-content, .chat-avatar, .message-avatar { border-radius: 1px !important; }

/* Keep 50% for circular elements */
.chat-avatar, .message-avatar, .chat-avatar-sm { border-radius: 50% !important; }
.chat-status::before, .chat-status-sm::before { border-radius: 50% !important; }
