/* ============================================
   GIGI AI - Asistente MIXO KIT Guatemala
   Paleta: Dorado #d4af37 → Vino #722f37
   Responsive - Todas las pantallas y zoom
   ============================================ */

/* Botón Flotante */
.gigi-fab {
    position: fixed;
    bottom: clamp(16px, 2.5vw, 24px);
    right: clamp(16px, 2.5vw, 24px);
    width: clamp(56px, 8vw, 64px);
    height: clamp(56px, 8vw, 64px);
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #722f37);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gigi-fab img {
    width: clamp(32px, 5vw, 40px);
    height: clamp(32px, 5vw, 40px);
    object-fit: contain;
    display: block;
}

.gigi-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.6);
}

/* Widget */
.gigi-widget {
    position: fixed;
    bottom: clamp(80px, calc(10vh + 20px), 110px);
    right: clamp(12px, 2vw, 24px);
    width: min(400px, calc(100vw - 32px));
    height: clamp(400px, 70vh, 650px);
    max-height: min(700px, calc(100vh - 120px));
    background: #fff;
    border-radius: clamp(16px, 2vw, 20px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    z-index: 99998;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.gigi-widget.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header */
.gigi-header {
    background: linear-gradient(135deg, #d4af37, #722f37);
    color: #fff;
    padding: clamp(12px, 2vw, 18px) clamp(14px, 2vw, 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: clamp(8px, 1.5vw, 12px);
}

.gigi-header-content {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 12px);
}

.gigi-avatar {
    width: clamp(36px, 5.5vw, 44px);
    height: clamp(36px, 5.5vw, 44px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.gigi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gigi-title h3 {
    margin: 0;
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 700;
    line-height: 1.2;
}

.gigi-title span {
    font-size: clamp(10px, 1.8vw, 12px);
    opacity: 0.9;
}

.gigi-header-actions {
    display: flex;
    gap: 8px;
}

.gigi-icon-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.gigi-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Body */
.gigi-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8f9fa;
    min-height: 0;
}

.gigi-chat-view {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Messages */
.gigi-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: clamp(12px, 2vw, 16px);
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vw, 12px);
    max-width: 100%;
    min-width: 0;
}

.gigi-messages::-webkit-scrollbar {
    width: 6px;
}

.gigi-messages::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.gigi-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Mensaje Usuario */
.gigi-msg {
    max-width: 85%;
    max-width: calc(100% - 16px);
    padding: clamp(10px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
    border-radius: 16px;
    font-size: clamp(13px, 2vw, 14px);
    line-height: 1.5;
    animation: msgIn 0.3s ease;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.gigi-msg.user {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #0a0a0a;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.gigi-msg.bot {
    background: #fff;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Typing */
.typing {
    display: flex;
    gap: 4px;
    padding: 14px 16px;
}

.typing span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: bounce 1.2s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Quick Actions */
.gigi-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 1vw, 8px);
    padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
    background: #fff;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.gigi-action-btn {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.8vw, 6px);
    padding: clamp(6px, 1vw, 8px) clamp(10px, 1.5vw, 14px);
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 20px;
    font-size: clamp(11px, 1.8vw, 13px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.gigi-action-btn i {
    font-size: 14px;
}

.gigi-action-btn:hover {
    background: linear-gradient(135deg, #d4af37, #722f37);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}

/* Productos Grid - Tarjetas base (común para grid y proxy) */
.gigi-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
    gap: clamp(8px, 1.5vw, 10px);
    padding: clamp(6px, 1vw, 8px) 0;
}

.gigi-product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 12px 0;
    width: 100%;
}

/* Base de tarjeta de producto (común) */
.gigi-product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
}

.gigi-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.gigi-product-img {
    width: 100%;
    height: 95px;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gigi-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gigi-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4af37, #722f37);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gigi-product-info {
    padding: clamp(8px, 1.5vw, 10px);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gigi-product-cat {
    font-size: clamp(8px, 1.3vw, 9px);
    color: #d4af37;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gigi-product-name {
    font-size: clamp(11px, 1.8vw, 12px);
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gigi-product-price {
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 800;
    color: #722f37;
    margin-top: auto;
}

.gigi-product-stock {
    font-size: 10px;
    color: #28a745;
    font-weight: 500;
}

.gigi-product-stock i {
    margin-right: 3px;
}

.gigi-product-actions {
    display: flex;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.gigi-product-actions button {
    flex: 1;
    padding: 9px 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    color: #6c757d;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.gigi-product-actions .btn-cart:hover {
    color: #28a745;
    background: #e8f5e9;
}

.gigi-product-actions .btn-cart.success {
    color: #28a745;
    background: #e8f5e9;
}

.gigi-product-actions .btn-buy {
    color: #d4af37 !important;
    font-weight: 600;
}

.gigi-product-actions .btn-buy:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #d4af37, #722f37) !important;
}

.gigi-product-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Category Buttons */
.gigi-category-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.gigi-cat-btn {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gigi-cat-btn i {
    color: #d4af37;
    font-size: 16px;
}

.gigi-cat-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
    transform: translateX(4px);
}

/* Botones especiales */
.gigi-btn-wsp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #25D366;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.2s;
}

.gigi-btn-wsp:hover {
    background: #128C7E;
    transform: scale(1.02);
}

/* ===================================================================
   TARJETAS DE PRODUCTOS DEL PROXY (formato HTML)
   =================================================================== */
/* .gigi-product-cards y .gigi-product-card ya definidos arriba (comunes) */

.gigi-product-image-container {
    position: relative;
    width: 100%;
    height: 120px;
    background: #f5f5f5;
    overflow: hidden;
}

.gigi-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gigi-stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.gigi-stock-available {
    background: #28a745;
    color: #fff;
}

.gigi-stock-unavailable {
    background: #dc3545;
    color: #fff;
}

.gigi-product-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gigi-product-category {
    font-size: 9px;
    color: #d4af37;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gigi-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gigi-product-sku {
    font-size: 9px;
    color: #999;
    font-family: monospace;
}

.gigi-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.gigi-product-price {
    font-size: 15px;
    font-weight: 800;
    color: #722f37;
}

.gigi-product-actions {
    display: flex;
    gap: 4px;
}

.gigi-add-cart-btn {
    padding: 6px 10px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.gigi-add-cart-btn:hover {
    background: linear-gradient(135deg, #b8941f, #d4af37);
    transform: scale(1.05);
}

.gigi-add-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gigi-view-btn {
    padding: 6px 10px;
    background: linear-gradient(135deg, #722f37, #9b3d4a);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.gigi-view-btn:hover {
    background: linear-gradient(135deg, #9b3d4a, #722f37);
    transform: scale(1.05);
    color: #fff;
}

.gigi-btn-fb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #1877F2;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.2s;
}

.gigi-btn-fb:hover {
    background: #0d65d9;
    transform: scale(1.02);
}

.gigi-btn-ig {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.2s;
}

.gigi-btn-ig:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.gigi-btn-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #EA4335;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.2s;
}

.gigi-btn-email:hover {
    background: #d33b2c;
    transform: scale(1.02);
}

.gigi-btn-pay {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #d4af37, #722f37);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.gigi-btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Audio Player */
.gigi-audio-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #ede9fe;
    border-radius: 20px;
    align-self: flex-start;
    margin-top: 4px;
}

.gigi-audio-play {
    background: linear-gradient(135deg, #d4af37, #722f37);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.gigi-audio-play:hover {
    transform: scale(1.05);
}

/* Input Area */
.gigi-input-area {
    display: flex;
    gap: clamp(6px, 1vw, 8px);
    padding: clamp(10px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
    background: #fff;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.gigi-input-area input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    border-radius: 24px;
    padding: clamp(8px, 1.5vw, 10px) clamp(12px, 2vw, 16px);
    font-size: clamp(13px, 2vw, 14px);
    outline: none;
    transition: border-color 0.2s;
}

.gigi-input-area input:focus {
    border-color: #d4af37;
}

#gigi-voice {
    background: #f5f5f5;
    color: #666;
    border: none;
    width: clamp(38px, 5.5vw, 42px);
    height: clamp(38px, 5.5vw, 42px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.2s;
    flex-shrink: 0;
}

#gigi-voice:hover {
    background: #e0e0e0;
}

#gigi-voice.recording {
    background: #dc3545;
    color: #fff;
    animation: pulse 1.5s infinite;
}

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

#gigi-send {
    background: linear-gradient(135deg, #d4af37, #722f37);
    color: #fff;
    border: none;
    width: clamp(38px, 5.5vw, 42px);
    height: clamp(38px, 5.5vw, 42px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.2s;
    flex-shrink: 0;
}

#gigi-send:hover {
    transform: scale(1.05);
}

/* ===================================================================
   RESPONSIVE - TABLET (768px - 1365px)
   =================================================================== */
@media (min-width: 768px) and (max-width: 1365px) {
    .gigi-widget {
        width: min(380px, calc(100vw - 32px));
        height: clamp(420px, 65vh, 620px);
    }

    .gigi-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
    }
}

/* ===================================================================
   RESPONSIVE - LAPTOP PEQUEÑA (1366px - 1439px)
   =================================================================== */
@media (min-width: 1366px) and (max-width: 1439px) {
    .gigi-widget {
        width: min(390px, calc(100vw - 32px));
        height: clamp(450px, 68vh, 650px);
    }
}

/* ===================================================================
   RESPONSIVE - DESKTOP ESTÁNDAR (1440px - 1919px)
   =================================================================== */
@media (min-width: 1440px) and (max-width: 1919px) {
    .gigi-widget {
        width: min(400px, calc(100vw - 32px));
        height: clamp(480px, 70vh, 680px);
    }
}

/* ===================================================================
   RESPONSIVE - DESKTOP GRANDE (≥1920px)
   =================================================================== */
@media (min-width: 1920px) {
    .gigi-widget {
        width: min(420px, calc(100vw - 40px));
        height: clamp(520px, 72vh, 720px);
        max-height: min(720px, calc(100vh - 140px));
        bottom: clamp(90px, calc(10vh + 20px), 120px);
        right: clamp(20px, 3vw, 32px);
    }

    .gigi-fab {
        bottom: clamp(24px, 3vw, 32px);
        right: clamp(24px, 3vw, 32px);
        width: 68px;
        height: 68px;
    }

    .gigi-fab img {
        width: 44px;
        height: 44px;
    }

    .gigi-header {
        padding: 18px 24px;
    }

    .gigi-title h3 {
        font-size: 19px;
    }

    .gigi-title span {
        font-size: 13px;
    }

    .gigi-messages {
        padding: 18px 20px;
    }

    .gigi-msg {
        font-size: 15px;
    }

    .gigi-input-area input {
        font-size: 15px;
    }

    .gigi-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* ===================================================================
   RESPONSIVE - PANTALLAS PEQUEÑAS (≤767px)
   =================================================================== */
@media (max-width: 767px) {
    .gigi-fab {
        bottom: clamp(10px, 2vw, 16px);
        right: clamp(10px, 2vw, 16px);
        width: 56px;
        height: 56px;
    }

    .gigi-fab img {
        width: 34px;
        height: 34px;
    }

    .gigi-widget {
        width: calc(100vw - 24px);
        height: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
        bottom: clamp(70px, calc(12vh + 15px), 85px);
        right: clamp(8px, 1.5vw, 12px);
        border-radius: clamp(12px, 2vw, 16px);
    }

    .gigi-header {
        padding: 12px 14px;
    }

    .gigi-title h3 {
        font-size: 15px;
    }

    .gigi-title span {
        font-size: 10px;
    }

    .gigi-avatar {
        width: 36px;
        height: 36px;
    }

    .gigi-messages {
        padding: 12px;
    }

    .gigi-msg {
        max-width: 90%;
        font-size: 13px;
    }

    .gigi-input-area {
        padding: 10px 12px;
    }

    .gigi-input-area input {
        padding: 8px 12px;
        font-size: 13px;
    }

    .gigi-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr));
    }
}

/* ===================================================================
   RESPONSIVE - MÓVIL (≤480px)
   =================================================================== */
@media (max-width: 480px) {
    .gigi-fab {
        bottom: 12px;
        right: 12px;
        width: 52px;
        height: 52px;
    }

    .gigi-fab img {
        width: 30px;
        height: 30px;
    }

    .gigi-widget {
        width: calc(100vw - 16px);
        height: calc(100vh - 80px);
        max-height: calc(100vh - 80px);
        bottom: 72px;
        right: 8px;
        border-radius: 12px;
    }

    .gigi-header {
        padding: 10px 12px;
    }

    .gigi-title h3 {
        font-size: 14px;
    }

    .gigi-title span {
        font-size: 9px;
    }

    .gigi-avatar {
        width: 32px;
        height: 32px;
    }

    .gigi-messages {
        padding: 10px;
    }

    .gigi-msg {
        max-width: 92%;
        font-size: 12px;
        padding: 8px 12px;
    }

    .gigi-input-area {
        padding: 8px 10px;
        gap: 6px;
    }

    .gigi-input-area input {
        padding: 7px 10px;
        font-size: 12px;
    }

    #gigi-voice,
    #gigi-send {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .gigi-action-btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .gigi-products-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gigi-product-card {
        width: 100%;
        max-width: 100%;
    }
}

/* ===================================================================
   RESPONSIVE - MÓVIL PEQUEÑO (≤360px)
   =================================================================== */
@media (max-width: 360px) {
    .gigi-widget {
        width: calc(100vw - 12px);
        height: calc(100vh - 75px);
        bottom: 68px;
        right: 6px;
    }

    .gigi-msg {
        max-width: 95%;
        font-size: 11px;
    }

    .gigi-products-grid {
        gap: 6px;
    }
}

/* ===================================================================
   AJUSTES PARA ZOOM (75% - 125%) Y PANTALLAS BAJAS
   =================================================================== */
@media (max-width: 1024px) and (max-height: 600px) {
    .gigi-widget {
        height: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
        bottom: 85px;
    }

    .gigi-header {
        padding: 10px 14px;
    }

    .gigi-messages {
        padding: 10px 12px;
    }

    .gigi-input-area {
        padding: 8px 10px;
    }
}
