/* ═══════════════════════════════════════════════════════════════
   SNOONU FOOTER  ·  D:\laragon\www\cwt-ecom\frontend\css\footer.css
   All selectors scoped to .sf-* prefix
   ═══════════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.sf-footer {
    background: #fff !important;
    /* border-top: 1px solid #e8e8e8; */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #222;
}

/* ── Back-to-top strip ── */
.sf-btt {
    background: #efefef !important;
    text-align: center;
    padding: 13px 0;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    display: block;
    width: 100%;
    transition: background .2s;
}

.sf-btt:hover {
    background: #e4e4e4 !important;
}

/* ── Inner container ── */
.sf-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 36px 48px 0;
    width: 100%;
    box-sizing: border-box;
}

/* ── 5-column link grid ── */
.sf-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0 20px;
    margin-bottom: 28px;
}

/* ── Each column ── */
.sf-col {
    display: flex !important;
    flex-direction: column !important;
    padding-right: 10px;
}

.sf-col-head {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin: 0 0 11px;
    line-height: 1.4;
}

.sf-col-head strong {
    font-weight: 700;
}

/* ── Links inside columns ── */
.sf-col a.sf-lnk,
.sf-col a.sf-lnk:visited {
    display: block !important;
    font-size: 12px !important;
    color: #777 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    margin-bottom: 7px !important;
    padding: 0 !important;
    background: none !important;
    line-height: 1.4 !important;
    transition: color .15s;
}

.sf-col a.sf-lnk:hover {
    color: #111 !important;
    text-decoration: none !important;
}

.sf-col a.sf-lnk.hot {
    color: #f07028 !important;
}

.sf-col a.sf-lnk.hot:hover {
    color: #c95e0f !important;
}

/* ── More Services bar ── */
.sf-srv-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid #ececec;
    /* border-bottom: 1px solid #ececec; */
    padding: 20px 0;
}

/* ── App download block (left) ── */
.sf-apps {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.sf-apps-label {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.sf-apps-row {
    display: flex !important;
    gap: 7px;
    flex-wrap: wrap;
}

.sf-app-btn,
.sf-app-btn:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    color: #000 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    min-width: 122px !important;
    border: 1px solid #e2e8f0 !important;
    transition: all .15s ease-in-out;
}

.sf-app-btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #000 !important;
    text-decoration: none !important;
}

.sf-app-ico {
    font-size: 18px !important;
    color: #000 !important;
    flex-shrink: 0;
}

.sf-app-txt {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
    text-align: left !important;
}

.sf-app-txt small {
    font-size: 12px !important;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 2px !important;
    display: block !important;
}

.sf-app-txt strong {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    display: block !important;
}

.sf-srv-img {
    width: 50px !important;
    height: 50px !important;
    min-width: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0;
    border-radius: 4px;
}

/* ── Service items (right) ── */
.sf-srvs {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

.sf-srvs-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.sf-srv {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 4px 7px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s;
}

.sf-srv:hover {
    background: #f7f7f7;
}

.sf-srv-ico {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 14px !important;
}

.sf-srv-txt {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
}

.sf-srv-txt strong {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111 !important;
    display: block !important;
}

.sf-srv-txt small {
    font-size: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
    display: block !important;
}

/* ── Bottom bar ── */
.sf-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0 20px;
}

.sf-bottom-l {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 13px;
}

.sf-copy {
    font-size: 12px;
    font-weight: 700;
    color: #111;
}

.sf-pl,
.sf-pl:visited {
    font-size: 12px !important;
    color: #777 !important;
    text-decoration: none !important;
    background: none !important;
    padding: 0 !important;
    transition: color .15s;
}

.sf-pl:hover {
    color: #111 !important;
    text-decoration: none !important;
}

/* ── Social icons ── */
.sf-socials {
    display: flex !important;
    gap: 6px !important;
    padding: 12px 0px;
}

.sf-soc,
.sf-soc:visited {
    width: 35px !important;
    height: 35px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    padding: 0 !important;
    transition: all .2s;
}

.sf-soc:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    text-decoration: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sf-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .sf-srv-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .sf-bottom {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .sf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sf-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .sf-bottom-l {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM 4-COLUMN FOOTER SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* ── 4-column Premium Footer Grid ── */
.sf-main-grid {
    display: grid !important;
    grid-template-columns: repeat(1, .70fr 1fr 2.30fr) !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
    align-items: start !important;
    background: #f6f7fa !important;
    border-radius: 8px !important;
    padding: 30px !important;
}

/* ── Each Main Column ── */
.sf-main-col {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

/* ── Vertical Separator System (Desktop) ── */
@media (min-width: 992px) {
    .sf-main-col:not(:last-child) {
        padding-right: 30px !important;
    }
}

/* ── Column Titles ── */
.sf-col-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.3 !important;
    font-family: 'Outfit', sans-serif !important;
}

/* ── Column 1: About/Contact ── */
.sf-col-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.payment-section {
    margin-top: 35px !important;
    margin-bottom: 12px !important;
}

.sf-about-item {
    font-size: 13px !important;
    color: #4a5568 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ── Column 2: Support Counter ── */
.sf-support-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 15px !important;
}

.sf-support-img-wrapper {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.sf-support-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.sf-support-img:hover {
    transform: scale(1.05) !important;
}

.sf-support-video {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.sf-support-video:hover {
    transform: scale(1.03) !important;
}

.sf-support-desc {
    font-size: 13px !important;
    color: #4a5568 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.sf-action-btn,
.sf-action-btn:visited {
    display: block !important;
    width: 100% !important;
    max-width: 200px !important;
    background: #e2e8f0 !important;
    color: #2d3748 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 10px 0 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.sf-action-btn:hover {
    background: #cbd5e1 !important;
    color: #1a202c !important;
    text-decoration: none !important;
}

/* ── Column 3: What We Sell ── */
.sf-sell-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px 12px !important;
    width: 100% !important;
}

@media (max-width: 1200px) {
    .sf-sell-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .sf-sell-grid {
        grid-template-columns: 1fr !important;
    }
}

.sf-sell-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.sf-sell-list li {
    display: flexg !important;
    align-items: center !important;
    gap: 10px !important;
}

.sf-sell-bullet {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.sf-sell-list a,
.sf-sell-list a:visited {
    font-size: 13px !important;
    color: #4a5568 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.sf-sell-list a:hover {
    color: #e2125d !important;
    text-decoration: none !important;
}


/* ── Column 4: Payment Methods ── */
.sf-payment-logos {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: 260px !important;
}

.sf-pay-logo-wrapper {
    width: 124px !important;
    height: 65px !important;
    background-image: var(--sf-payment-logo-bg) !important;
    background-size: 85% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    transition: transform 0.2s ease-in-out !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.sf-pay-logo-wrapper:hover {
    transform: scale(1.06) !important;
}

/* ── Responsive Rules ── */
@media (max-width: 991px) {
    .sf-main-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 30px !important;
    }

    /* Separators for 2-column layout */
    .sf-main-col:nth-child(odd) {
        padding-right: 30px !important;
    }

    .sf-main-col:nth-child(even) {
        border-right: none !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 600px) {
    .sf-main-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .sf-main-col {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding-bottom: 25px !important;
    }

    .sf-main-col:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    /* Reset separators */
    .sf-main-col:nth-child(odd) {
        border-right: none !important;
        padding-right: 0 !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SALES COUNTER MODAL SYSTEM (MIGRATED FOR STABLE IN-HEAD LOADING)
   ═══════════════════════════════════════════════════════════════ */

/* Live pulse animation inside footer button */
.btn-live-pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #25D366;
    /* WhatsApp Green */
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: btn-pulse-anim 1.6s infinite;
    vertical-align: middle;
}

@keyframes btn-pulse-anim {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Glassmorphism modal base overlay */
.sc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.35);
    /* Soft slate overlay */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.sc-modal-overlay.show {
    display: flex;
    opacity: 1;
}

/* Glassmorphism modal container */
.sc-modal-content {
    background: rgba(255, 255, 255, 0.92);
    /* Clean, high-opacity white */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    width: 100%;
    max-width: 960px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.15);
    /* Softer, deep shadow */
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.sc-modal-overlay.show .sc-modal-content {
    transform: scale(1);
}

/* Header styling */
.sc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
}

.sc-modal-title {
    color: #0f172a;
    font-weight: 800;
    margin: 0;
    font-size: 1.45rem;
}

.text-whatsapp {
    color: #25D366;
}

.sc-modal-subtitle {
    color: #475569;
    font-size: 0.95rem;
    margin-top: 4px;
    font-weight: 500;
}

.sc-modal-close {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s ease;
}

.sc-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: rotate(90deg);
}

/* Modal Body */
.sc-modal-body {
    padding: 28px;
    overflow-y: auto;
}

/* Responsive grid layout */
.sc-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Modern cards inside glassmorphism */
.sc-counter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sc-counter-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 12px 20px -8px rgba(15, 23, 42, 0.12);
}

.sc-counter-card.busy-card {
    opacity: 0.85;
}

.sc-counter-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
}

/* Status indicators */
.sc-status-dot {
    position: relative;
    display: inline-flex;
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.sc-status-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    opacity: 0.75;
    animation: sc-ping-anim 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes sc-ping-anim {

    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.sc-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.bg-success-light {
    background-color: rgba(34, 197, 94, 0.15);
}

.bg-danger-light {
    background-color: rgba(239, 68, 68, 0.15);
}

/* Agent details */
.sc-agent-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sc-agent-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.sc-agent-notes {
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 2px;
}

/* Direct WhatsApp button */
.sc-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.sc-whatsapp-btn i {
    font-size: 1.15rem;
}

.whatsapp-free {
    background-color: #25D366;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.whatsapp-free:hover {
    background-color: #128C7E;
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.35);
    transform: translateY(-1px);
}

.whatsapp-busy {
    background-color: #cbd5e1;
    color: #64748b !important;
    cursor: not-allowed;
}

/* Empty states */
.sc-no-counters {
    text-align: center;
    padding: 40px 20px;
}

/* Scrollbar customized inside modal */
.sc-modal-content::-webkit-scrollbar {
    width: 6px;
}

.sc-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sc-modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
