.header-call-widget {
    position: relative;
    display: inline-block;
}

.header-call-toggle {
    margin-top: 0 !important;
    border: none;
    cursor: pointer;
    gap: 8px;
}

.call-pulse-dot {
    position: relative;
    display: inline-block;
    width: 11px;
    height: 11px;
    background: #e53935;
    border-radius: 50%;
    flex-shrink: 0;
}

.call-pulse-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #e53935;
    animation: call-pulse-ring 1.5s ease-out infinite;
}

@keyframes call-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    70%,
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.header-call-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.header-call-menu[hidden] {
    display: none !important;
}

.floating-call-widget {
    position: fixed;
    bottom: 20px;
    left: 16px;
    z-index: 9998;
    font-family: 'Poppins', sans-serif;
}

.floating-call-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #228B24;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(34, 139, 36, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-call-toggle:hover,
.floating-call-toggle:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 36, 0.45);
    outline: none;
}

.floating-call-toggle .fa-phone {
    font-size: 16px;
}

.floating-call-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.floating-call-menu[hidden] {
    display: none !important;
}

.floating-call-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #231F20;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.floating-call-link:last-child {
    border-bottom: none;
}

.floating-call-link:hover,
.floating-call-link:focus {
    background: #f5faf5;
    color: #228B24;
    text-decoration: none;
}

.floating-call-link .fa {
    color: #228B24;
    width: 16px;
    text-align: center;
}

#carpetDetailsDiv {
    display: none;
}

.carpet-details-panel {
    background: #f9fbf9;
    border: 1px solid #e3ede3;
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
}

.carpet-details-hint {
    font-size: 13px;
    color: #555;
    margin: 0 0 12px;
}

.carpet-method-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.carpet-method-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
}

.carpet-method-panel {
    margin-top: 4px;
}

.carpet-area-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px 12px;
    margin-top: 8px;
}

.carpet-area-checkboxes label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    cursor: pointer;
}

.carpet-area-checkboxes input[type="checkbox"] {
    margin: 0;
}

@media only screen and (max-width: 786px) {
    .floating-call-widget {
        bottom: 16px;
        left: 12px;
    }

    .floating-call-toggle span {
        display: none;
    }

    .floating-call-toggle {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .floating-chat-buttons {
        bottom: 16px;
        right: 12px;
    }
}
