/* ==========================================================================
   FOOTER.CSS - Footer + Chatbot + Side CTA
   ========================================================================== */

/* ── FOOTER ── */
.footer{background:var(--dark);color:rgba(255,255,255,.55);padding:4rem 0 0}
.footer-inner{max-width:1280px;margin:0 auto;padding:0 2rem;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:3rem}
.flogo{display:flex;align-items:center;gap:10px;margin-bottom:1rem}
.flogo-mark{width:42px;height:42px;background:linear-gradient(135deg,var(--blue),var(--blue2));border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.flogo-name{color:#fff;font-size:16px;font-weight:800}
.fdesc{font-size:13px;line-height:1.9;max-width:240px}
.flinks h4{font-size:14px;font-weight:700;color:rgba(255,255,255,.85);margin-bottom:1.2rem}
.flinks ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.flinks ul li a{font-size:13px;color:rgba(255,255,255,.5);text-decoration:none;transition:color .2s;display:flex;align-items:center;gap:6px}
.flinks ul li a:hover{color:rgba(255,255,255,.9)}
.social-links{display:flex;gap:10px;margin-top:1.2rem;flex-wrap:wrap}
.social-btn{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;text-decoration:none;transition:all .2s}
.social-btn:hover{background:var(--blue2);border-color:var(--blue2);transform:translateY(-2px)}
.trust-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:1rem}
.trust-badge{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:6px 12px;font-size:11.5px;color:rgba(255,255,255,.6);font-weight:600}
.footer-bottom{max-width:1280px;margin:3rem auto 0;padding:1.2rem 2rem;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.8rem;font-size:12.5px}

/* ── SIDE BUTTONS ── */
.side-cta{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:190;display:flex;flex-direction:column;gap:6px}
.side-btn{writing-mode:vertical-lr;transform:rotate(180deg);border:none;padding:22px 12px;font-size:12.5px;font-weight:700;cursor:pointer;letter-spacing:.3px;transition:all .25s;border-radius:0 12px 12px 0;font-family:'Vazirmatn',Tahoma,sans-serif}
.sb-navy{background:var(--navy);color:#fff;box-shadow:5px 0 20px rgba(14,42,92,.25)}
.sb-navy:hover{background:var(--blue2);padding-right:18px}
.sb-green{background:var(--green2);color:#fff;box-shadow:5px 0 20px rgba(5,150,105,.25)}
.sb-green:hover{background:var(--green);padding-right:18px}

/* ── CHATBOT ── */
.chat-fab{position:fixed;bottom:30px;left:26px;z-index:300}
.chat-toggle{width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,var(--navy),var(--blue2));border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 30px rgba(14,42,92,.4);transition:transform .2s;position:relative}
.chat-toggle:hover{transform:scale(1.08)}
.chat-ping-ring{position:absolute;inset:-6px;border-radius:50%;border:2px solid var(--blue2);animation:ping 2.5s infinite;opacity:0}
.chat-ping{position:absolute;top:4px;right:4px;width:14px;height:14px;border-radius:50%;background:#10B981;border:2.5px solid #fff}
.chat-tip{position:absolute;bottom:72px;left:0;background:var(--dark);color:#fff;font-size:12.5px;font-weight:600;padding:8px 15px;border-radius:10px;white-space:nowrap;opacity:0;pointer-events:none;transform:translateY(4px);transition:all .25s;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.chat-tip::after{content:'';position:absolute;top:100%;left:22px;border:6px solid transparent;border-top-color:var(--dark)}
.chat-fab:hover .chat-tip{opacity:1;transform:none}
.chat-win{position:fixed;bottom:106px;left:26px;width:380px;max-height:560px;background:#fff;border-radius:22px;box-shadow:0 24px 80px rgba(14,42,92,.2),0 0 0 1px rgba(14,42,92,.07);z-index:300;display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom left;transform:scale(.88) translateY(12px);opacity:0;pointer-events:none;transition:all .35s cubic-bezier(.34,1.56,.64,1)}
.chat-win.open{transform:scale(1) translateY(0);opacity:1;pointer-events:all}
.cw-head{background:linear-gradient(135deg,var(--navy),var(--blue2));padding:16px 18px;display:flex;align-items:center;gap:13px}
.cw-av{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cw-info h3{font-size:15px;font-weight:700;color:#fff;margin-bottom:2px}
.cw-info p{font-size:12px;color:rgba(255,255,255,.7);display:flex;align-items:center;gap:5px}
.online{width:7px;height:7px;border-radius:50%;background:#6EE7B7;display:inline-block}
.cw-close{margin-right:auto;background:rgba(255,255,255,.15);border:none;color:#fff;width:33px;height:33px;border-radius:50%;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:background .2s}
.cw-close:hover{background:rgba(255,255,255,.28)}
.cw-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:9px;background:#F8FAFF}
.cw-msgs::-webkit-scrollbar{width:4px}.cw-msgs::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:2px}
.msg{max-width:85%;padding:11px 14px;border-radius:14px;font-size:13px;line-height:1.75;animation:slideIn .3s ease}
.msg.bot{background:#fff;border:1px solid var(--border);color:var(--dark);align-self:flex-start;border-radius:4px 14px 14px 14px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.msg.user{background:var(--blue);color:#fff;align-self:flex-end;border-radius:14px 4px 14px 14px}
.typing-msg{background:#fff;border:1px solid var(--border);align-self:flex-start;border-radius:4px 14px 14px 14px;padding:12px 16px}
.dots{display:flex;gap:4px}
.dot{width:8px;height:8px;border-radius:50%;background:#94A3B8;animation:dotpulse 1.2s infinite}
.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}
.cw-quick{padding:8px 12px;display:flex;gap:6px;flex-wrap:wrap;background:#fff;border-top:1px solid var(--border)}
.qbtn{background:#EFF6FF;border:1px solid #BFDBFE;color:var(--blue);font-size:12px;font-weight:600;padding:6px 12px;border-radius:20px;cursor:pointer;transition:all .2s;font-family:'Vazirmatn',Tahoma,sans-serif}
.qbtn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.cw-input-row{display:flex;padding:11px 13px;gap:8px;background:#fff;border-top:1px solid var(--border);align-items:center}
.cw-input-row input{flex:1;border:1.5px solid var(--border);border-radius:10px;padding:9px 13px;font-size:13px;outline:none;background:#F8FAFF;transition:border-color .2s}
.cw-input-row input:focus{border-color:var(--blue);background:#fff}
.cw-send{background:var(--blue);border:none;border-radius:10px;width:39px;height:39px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s}
.cw-send:hover{background:var(--navy)}

/* ── MODALS ── */
.overlay{position:fixed;inset:0;background:rgba(10,22,40,.7);backdrop-filter:blur(6px);z-index:500;display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;pointer-events:none;transition:opacity .3s}
.overlay.open{opacity:1;pointer-events:all}
.mbox{background:#fff;border-radius:22px;width:500px;max-width:100%;max-height:92vh;overflow-y:auto;transform:translateY(20px) scale(.97);transition:transform .35s cubic-bezier(.34,1.56,.64,1);position:relative}
.overlay.open .mbox{transform:none}
.mbox::-webkit-scrollbar{width:4px}.mbox::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:2px}
.m-header{padding:1.8rem 1.8rem 0}
.m-header h3{font-size:19px;font-weight:800;color:var(--dark);margin-bottom:.4rem}
.m-header p{font-size:13.5px;color:var(--gray);padding-bottom:1.3rem;border-bottom:1px solid var(--border);line-height:1.7}
.m-body{padding:1.4rem 1.8rem 1.8rem}
.m-close-btn{position:absolute;top:16px;left:16px;width:32px;height:32px;border-radius:50%;background:var(--light);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--gray);transition:all .2s}
.m-close-btn:hover{background:var(--border);color:var(--dark)}
.mrow{margin-bottom:1rem}
.mrow label{display:block;font-size:13px;font-weight:700;color:#374151;margin-bottom:6px}
.mrow input,.mrow select,.mrow textarea{width:100%;border:1.5px solid var(--border);border-radius:11px;padding:10px 14px;font-size:13.5px;outline:none;color:var(--dark);background:#FAFBFF;transition:all .2s}
.mrow input:focus,.mrow select:focus,.mrow textarea:focus{border-color:var(--blue2);background:#fff;box-shadow:0 0 0 4px rgba(37,99,235,.08)}
.mrow textarea{resize:vertical;min-height:90px}
.mrow .hint{font-size:11.5px;color:var(--gray);margin-top:5px}
.mgrid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m-footer{display:flex;gap:10px;justify-content:flex-end;padding-top:.8rem;border-top:1px solid var(--border)}
.btn-cancel{background:var(--light);border:none;color:var(--gray);padding:10px 22px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s;font-family:'Vazirmatn',Tahoma,sans-serif}
.btn-cancel:hover{background:var(--border)}
.btn-submit{background:linear-gradient(135deg,var(--navy),var(--blue2));border:none;color:#fff;padding:10px 28px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 4px 14px rgba(26,79,191,.28);font-family:'Vazirmatn',Tahoma,sans-serif}
.btn-submit:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(26,79,191,.35)}
.btn-submit-green{background:linear-gradient(135deg,var(--green),var(--green2))}
.success-state{text-align:center;padding:2rem}
.success-ic{width:70px;height:70px;background:var(--green3);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem}
.success-state h3{font-size:19px;font-weight:800;color:var(--dark);margin-bottom:.6rem}
.success-state p{font-size:13.5px;color:var(--gray);line-height:1.8}

/* ── PRODUCT DETAIL MODAL ── */
.pdm-img-wrap{width:100%;height:190px;border-radius:14px;overflow:hidden;margin-bottom:1.2rem;position:relative}
.pdm-img-bg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.pdm-img-wrap img{width:100%;height:100%;object-fit:cover;position:relative;z-index:1}
.pdm-section{margin-bottom:1.2rem}
.pdm-section h4{font-size:13.5px;font-weight:700;color:var(--blue);margin-bottom:8px;display:flex;align-items:center;gap:6px}
.pdm-list{list-style:none;display:flex;flex-direction:column;gap:5px}
.pdm-list li{font-size:13px;color:var(--mid);padding-right:18px;position:relative;line-height:1.7}
.pdm-list li::before{content:'';position:absolute;right:0;top:8px;width:7px;height:7px;border-radius:50%;background:var(--green2)}

/* ── CHATBOT ── */
.chat-fab{position:fixed;bottom:30px;left:26px;z-index:300}
.chat-toggle{width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,var(--navy),var(--blue2));border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 30px rgba(14,42,92,.4);transition:transform .2s;position:relative}
.chat-toggle:hover{transform:scale(1.08)}
.chat-ping-ring{position:absolute;inset:-6px;border-radius:50%;border:2px solid var(--blue2);animation:ping 2.5s infinite;opacity:0}
.chat-ping{position:absolute;top:4px;right:4px;width:14px;height:14px;border-radius:50%;background:#10B981;border:2.5px solid #fff}
.chat-tip{position:absolute;bottom:72px;left:0;background:var(--dark);color:#fff;font-size:12.5px;font-weight:600;padding:8px 15px;border-radius:10px;white-space:nowrap;opacity:0;pointer-events:none;transform:translateY(4px);transition:all .25s;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.chat-tip::after{content:'';position:absolute;top:100%;left:22px;border:6px solid transparent;border-top-color:var(--dark)}
.chat-fab:hover .chat-tip{opacity:1;transform:none}
.chat-win{position:fixed;bottom:106px;left:26px;width:380px;max-height:560px;background:#fff;border-radius:22px;box-shadow:0 24px 80px rgba(14,42,92,.2),0 0 0 1px rgba(14,42,92,.07);z-index:300;display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom left;transform:scale(.88) translateY(12px);opacity:0;pointer-events:none;transition:all .35s cubic-bezier(.34,1.56,.64,1)}
.chat-win.open{transform:scale(1) translateY(0);opacity:1;pointer-events:all}
.cw-head{background:linear-gradient(135deg,var(--navy),var(--blue2));padding:16px 18px;display:flex;align-items:center;gap:13px}
.cw-av{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cw-info h3{font-size:15px;font-weight:700;color:#fff;margin-bottom:2px}
.cw-info p{font-size:12px;color:rgba(255,255,255,.7);display:flex;align-items:center;gap:5px}
.online{width:7px;height:7px;border-radius:50%;background:#6EE7B7;display:inline-block}
.cw-close{margin-right:auto;background:rgba(255,255,255,.15);border:none;color:#fff;width:33px;height:33px;border-radius:50%;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:background .2s}
.cw-close:hover{background:rgba(255,255,255,.28)}
.cw-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:9px;background:#F8FAFF}
.cw-msgs::-webkit-scrollbar{width:4px}.cw-msgs::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:2px}
.msg{max-width:85%;padding:11px 14px;border-radius:14px;font-size:13px;line-height:1.75;animation:slideIn .3s ease}
.msg.bot{background:#fff;border:1px solid var(--border);color:var(--dark);align-self:flex-start;border-radius:4px 14px 14px 14px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.msg.user{background:var(--blue);color:#fff;align-self:flex-end;border-radius:14px 4px 14px 14px}
.typing-msg{background:#fff;border:1px solid var(--border);align-self:flex-start;border-radius:4px 14px 14px 14px;padding:12px 16px}
.dots{display:flex;gap:4px}
.dot{width:8px;height:8px;border-radius:50%;background:#94A3B8;animation:dotpulse 1.2s infinite}
.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}
.cw-quick{padding:8px 12px;display:flex;gap:6px;flex-wrap:wrap;background:#fff;border-top:1px solid var(--border)}
.qbtn{background:#EFF6FF;border:1px solid #BFDBFE;color:var(--blue);font-size:12px;font-weight:600;padding:6px 12px;border-radius:20px;cursor:pointer;transition:all .2s;font-family:'Vazirmatn',Tahoma,sans-serif}
.qbtn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.cw-input-row{display:flex;padding:11px 13px;gap:8px;background:#fff;border-top:1px solid var(--border);align-items:center}
.cw-input-row input{flex:1;border:1.5px solid var(--border);border-radius:10px;padding:9px 13px;font-size:13px;outline:none;background:#F8FAFF;transition:border-color .2s}
.cw-input-row input:focus{border-color:var(--blue);background:#fff}
.cw-send{background:var(--blue);border:none;border-radius:10px;width:39px;height:39px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s}
.cw-send:hover{background:var(--navy)}

/* ── MODALS ── */
.overlay{position:fixed;inset:0;background:rgba(10,22,40,.7);backdrop-filter:blur(6px);z-index:500;display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;pointer-events:none;transition:opacity .3s}
.overlay.open{opacity:1;pointer-events:all}
.mbox{background:#fff;border-radius:22px;width:500px;max-width:100%;max-height:92vh;overflow-y:auto;transform:translateY(20px) scale(.97);transition:transform .35s cubic-bezier(.34,1.56,.64,1);position:relative}
.overlay.open .mbox{transform:none}
.mbox::-webkit-scrollbar{width:4px}.mbox::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:2px}
.m-header{padding:1.8rem 1.8rem 0}
.m-header h3{font-size:19px;font-weight:800;color:var(--dark);margin-bottom:.4rem}
.m-header p{font-size:13.5px;color:var(--gray);padding-bottom:1.3rem;border-bottom:1px solid var(--border);line-height:1.7}
.m-body{padding:1.4rem 1.8rem 1.8rem}
.m-close-btn{position:absolute;top:16px;left:16px;width:32px;height:32px;border-radius:50%;background:var(--light);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--gray);transition:all .2s}
.m-close-btn:hover{background:var(--border);color:var(--dark)}
.mrow{margin-bottom:1rem}
.mrow label{display:block;font-size:13px;font-weight:700;color:#374151;margin-bottom:6px}
.mrow input,.mrow select,.mrow textarea{width:100%;border:1.5px solid var(--border);border-radius:11px;padding:10px 14px;font-size:13.5px;outline:none;color:var(--dark);background:#FAFBFF;transition:all .2s}
.mrow input:focus,.mrow select:focus,.mrow textarea:focus{border-color:var(--blue2);background:#fff;box-shadow:0 0 0 4px rgba(37,99,235,.08)}
.mrow textarea{resize:vertical;min-height:90px}
.mrow .hint{font-size:11.5px;color:var(--gray);margin-top:5px}
.mgrid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m-footer{display:flex;gap:10px;justify-content:flex-end;padding-top:.8rem;border-top:1px solid var(--border)}
.btn-cancel{background:var(--light);border:none;color:var(--gray);padding:10px 22px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s;font-family:'Vazirmatn',Tahoma,sans-serif}
.btn-cancel:hover{background:var(--border)}
.btn-submit{background:linear-gradient(135deg,var(--navy),var(--blue2));border:none;color:#fff;padding:10px 28px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 4px 14px rgba(26,79,191,.28);font-family:'Vazirmatn',Tahoma,sans-serif}
.btn-submit:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(26,79,191,.35)}
.btn-submit-green{background:linear-gradient(135deg,var(--green),var(--green2))}
.success-state{text-align:center;padding:2rem}
.success-ic{width:70px;height:70px;background:var(--green3);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem}
.success-state h3{font-size:19px;font-weight:800;color:var(--dark);margin-bottom:.6rem}
.success-state p{font-size:13.5px;color:var(--gray);line-height:1.8}

/* ── PRODUCT DETAIL MODAL ── */
.pdm-img-wrap{width:100%;height:190px;border-radius:14px;overflow:hidden;margin-bottom:1.2rem;position:relative}
.pdm-img-bg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.pdm-img-wrap img{width:100%;height:100%;object-fit:cover;position:relative;z-index:1}
.pdm-section{margin-bottom:1.2rem}
.pdm-section h4{font-size:13.5px;font-weight:700;color:var(--blue);margin-bottom:8px;display:flex;align-items:center;gap:6px}
.pdm-list{list-style:none;display:flex;flex-direction:column;gap:5px}
.pdm-list li{font-size:13px;color:var(--mid);padding-right:18px;position:relative;line-height:1.7}
.pdm-list li::before{content:'';position:absolute;right:0;top:8px;width:7px;height:7px;border-radius:50%;background:var(--green2)}
.pdm-tags{display:flex;gap:6px;flex-wrap:wrap}
.pdm-tag{background:var(--light);border-radius:7px;padding:4px 13px;font-size:12px;color:var(--mid);font-weight:600;border:1px solid var(--border)}
.pdm-sizes{display:flex;gap:8px;flex-wrap:wrap}
.pdm-size{background:var(--blue3);color:var(--blue);border-radius:8px;padding:5px 14px;font-size:12.5px;font-weight:700}

/* ── FOOTER ALIGNMENT FIXES — works on ALL pages ── */
/* Ensure footer is always at the bottom and properly spaced */

html, body {
    height: auto;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Push footer to bottom */
footer.footer {
    margin-top: auto !important;
    flex-shrink: 0;
}

/* Remove any unwanted margin/padding that pushes footer */
.container {
    flex: 1 0 auto;
}

/* Ensure footer-bottom is properly aligned */
.footer-bottom {
    max-width: 1280px;
    margin: 2.5rem auto 0;
    padding: 1.2rem 2rem;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: 12px;
    color: rgba(255,255,255,.55);
}

/* v1.8.5: Footer bottom bar elements — copyright + designer credit */
.footer-bottom .fb-copyright,
.footer-bottom .fb-designer {
    font-size: 12.5px;
    color: rgba(255,255,255,.55);
}
.footer-bottom .fb-designer a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}
.footer-bottom .fb-designer a:hover {
    color: var(--blue2, #2563EB);
}

/* Bottom navigation (mobile only) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    background: #fff;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-around;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 12px rgba(14,42,92,.06);
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    color: #64748B;
    font-weight: 600;
    text-decoration: none;
    padding: 4px;
    transition: color .2s;
}

.bottom-nav .nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.bottom-nav .nav-item.active {
    color: #2563EB;
}

.bottom-nav .nav-item:hover {
    color: #2563EB;
}

/* Mobile: add padding to body to make space for bottom nav */
@media (max-width: 899px) {
    body {
        padding-bottom: 70px;
    }
    .footer {
        margin-bottom: 0 !important;
    }
}

/* Desktop: hide bottom nav */
@media (min-width: 900px) {
    .bottom-nav {
        display: none !important;
    }
    body {
        padding-bottom: 0 !important;
    }
}

/* Footer alignment when WooCommerce is loaded */
.woocommerce-page footer.footer,
.woocommerce footer.footer,
body.woocommerce-checkout footer.footer,
body.woocommerce-cart footer.footer,
body.woocommerce-account footer.footer {
    margin-top: auto !important;
}

/* Footer social links */
.social-links {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.social-btn:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-2px);
}

/* Trust badges in footer */
.trust-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Flinks */
.flinks h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    margin-bottom: 1.1rem;
}

.flinks ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 0;
    margin: 0;
}

.flinks ul li a {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.flinks ul li a:hover {
    color: rgba(255,255,255,.95);
}

/* Fdesc */
.fdesc {
    font-size: 13px;
    line-height: 1.9;
    max-width: 320px;
    color: rgba(255,255,255,.55);
    margin-bottom: 1rem;
}

/* Flogo */
.flogo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.flogo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1A4FBF, #2563EB);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flogo-name {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

/* ── CHATBOT POSITIONING FIX — avoid overlap with bottom-nav ── */
.chat-fab {
    bottom: 26px;
    left: 20px;
    z-index: 300;
}

.chat-win {
    bottom: 96px;
    left: 20px;
    width: 340px;
    max-width: calc(100vw - 40px);
    max-height: 480px;
}

/* On mobile: lift chatbot above bottom-nav */
@media (max-width: 899px) {
    .chat-fab {
        bottom: 86px; /* Above bottom-nav (70px tall + 16px gap) */
        left: 14px;
    }
    .chat-win {
        bottom: 156px; /* Above chat-fab */
        left: 14px;
        width: calc(100vw - 28px);
        max-width: 360px;
        max-height: 60vh;
    }
    .chat-toggle {
        width: 52px;
        height: 52px;
    }
}

/* On desktop: standard position */
@media (min-width: 900px) {
    .chat-fab {
        bottom: 30px;
        left: 26px;
    }
    .chat-win {
        bottom: 106px;
        left: 26px;
        width: 380px;
        max-height: 560px;
    }
}

/* Side CTA positioning */
.side-cta {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* On mobile: hide side CTA (we have bottom-nav) */
@media (max-width: 899px) {
    .side-cta {
        display: none;
    }
}
