/* Auravista shared CSS (header, footer, enquiry modal, whatsapp widget) */


/* ===== header ===== */
:root {
        --font-display: 'Montserrat', 'DM Sans', sans-serif;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .section-title,
    .product-detail-title {
        font-family: var(--font-display);
    }

    h1[class*="font-bold"],
    h1[class*="font-extrabold"],
    h2[class*="font-bold"],
    h2[class*="font-extrabold"],
    h3[class*="font-bold"],
    h3[class*="font-extrabold"],
    h4[class*="font-bold"],
    h4[class*="font-extrabold"],
    .section-title[class*="font-bold"],
    .section-title[class*="font-extrabold"],
    .product-detail-title[class*="font-bold"],
    .product-detail-title[class*="font-extrabold"] {
        font-weight: 600;
    }

    .gradient-text-accent {
        display: inline;
        background: linear-gradient(100deg, #314c9b 0%, #2b9644 82%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    :is(
        .category-feature-card,
        .service-model-card,
        .capability-card,
        .range-grid-card,
        .range-card,
        .reason-card,
        .process-card,
        .soft-card,
        .contact-card,
        .career-card,
        .job-card,
        .address-card,
        .identity-card,
        .product-card,
        .related-card,
        .home-product-card,
        .faq-card
    ) :is(h2, h3, summary > span:last-child, summary span:last-child) {
        font-weight: 700;
    }

    .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 9px 8px;
        position: relative;
        font-weight: 700;
        color: rgba(36, 36, 36, 0.76);
        transition: color 220ms ease;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 9px;
        right: 9px;
        bottom: 5px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #314c9b, #58b957);
        opacity: 0;
        transform: scaleX(0.4);
        transition: opacity 220ms ease, transform 220ms ease;
    }

    .nav-link:hover,
    .nav-link.is-active {
        color: #314c9b;
    }

    .nav-link.is-active::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .nav-products {
        display: flex;
        align-items: center;
        align-self: stretch;
    }

    .nav-dropdown {
        position: relative;
        display: flex;
        align-items: center;
        align-self: stretch;
    }

    .nav-link svg {
        width: 16px;
        height: 16px;
        stroke-width: 2.35;
        transition: transform 220ms ease;
    }

    .nav-products:hover .nav-link,
    .nav-products:focus-within .nav-link {
        color: #314c9b;
    }

    .nav-products:hover .nav-link svg,
    .nav-products:focus-within .nav-link svg {
        transform: rotate(180deg);
    }

    .nav-dropdown:hover .nav-link,
    .nav-dropdown:focus-within .nav-link {
        color: #314c9b;
    }

    .nav-dropdown:hover .nav-link svg,
    .nav-dropdown:focus-within .nav-link svg {
        transform: rotate(180deg);
    }

    .mega-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        min-height: auto;
        max-height: calc(100vh - 118px);
        overflow-y: auto;
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
        background: #ffffff;
        transition: opacity 260ms ease, transform 260ms cubic-bezier(0.19, 1, 0.22, 1), visibility 260ms ease;
        transition-delay: 300ms;
    }

    .nav-products:hover .mega-menu,
    .nav-products:focus-within .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0ms;
    }

    .range-mega-layout {
        display: grid;
        gap: 14px;
    }

    .range-mega-list {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 9px;
    }

    .range-link {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 58px;
        overflow: hidden;
        border: 1px solid rgba(49, 76, 155, 0.1);
        border-left: 3px solid rgba(49, 76, 155, 0.22);
        border-radius: 14px;
        background:
            linear-gradient(90deg, rgba(49, 76, 155, 0.045), rgba(255, 255, 255, 0.82) 38%),
            rgba(255, 255, 255, 0.72);
        padding: 11px 30px 10px 13px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
        transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    }

    .range-link::before {
        content: '';
        position: absolute;
        right: 12px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-top: 2px solid #314c9b;
        border-right: 2px solid #314c9b;
        opacity: 0;
        transform: translate(-6px, -50%) rotate(45deg);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .range-link::after {
        content: '';
        position: absolute;
        left: 0;
        top: 12px;
        bottom: 12px;
        width: 3px;
        border-radius: 0 999px 999px 0;
        background: linear-gradient(90deg, #314c9b, #58b957);
        opacity: 0;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .range-link strong {
        display: block;
        color: #242424;
        font-size: 12.8px;
        font-weight: 760;
        line-height: 1.2;
        transition: color 180ms ease;
    }

    .range-link span {
        display: block;
        margin-top: 4px;
        overflow: hidden;
        color: rgba(36, 36, 36, 0.52);
        font-size: 10.5px;
        font-weight: 700;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .range-link:hover {
        border-color: rgba(49, 76, 155, 0.22);
        border-left-color: #314c9b;
        background:
            linear-gradient(90deg, rgba(49, 76, 155, 0.075), rgba(255, 255, 255, 0.95) 42%),
            #ffffff;
        box-shadow: 0 12px 28px rgba(32, 54, 117, 0.08);
        transform: translateX(2px);
    }

    .range-link:hover::after {
        opacity: 1;
    }

    .range-link:hover::before {
        opacity: 1;
        transform: translate(0, -50%) rotate(45deg);
    }

    .range-link:hover strong {
        color: #314c9b;
    }

    @media (max-width: 1280px) {
        .range-mega-list {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
        }

        .range-link {
            min-height: 52px;
            padding: 9px 10px;
        }

        .range-link strong {
            font-size: 12px;
        }

        .range-link span {
            font-size: 10px;
        }
    }

    .simple-dropdown-menu {
        position: absolute;
        left: 0;
        top: calc(100% + 1px);
        min-width: 252px;
        border: 1px solid rgba(49, 76, 155, 0.12);
        border-top: 3px solid #58b957;
        border-radius: 0 0 16px 16px;
        background: #ffffff;
        padding: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        box-shadow: 0 24px 52px rgba(36, 36, 36, 0.1);
        transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    }

    .nav-dropdown:hover .simple-dropdown-menu,
    .nav-dropdown:focus-within .simple-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .simple-dropdown-link {
        display: block;
        border-radius: 10px;
        padding: 12px 13px;
        color: rgba(36, 36, 36, 0.74);
        font-size: 13.5px;
        font-weight: 750;
        transition: background 180ms ease, color 180ms ease;
    }

    .simple-dropdown-link:hover {
        background: #f6faf7;
        color: #314c9b;
    }

    .nav-trust-notch {
        position: absolute;
        left: 50%;
        top: 0;
        align-items: center;
        gap: 10px;
        min-height: 34px;
        padding: 8px 54px 10px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 11px;
        font-weight: 850;
        letter-spacing: 0.16em;
        line-height: 1;
        text-transform: uppercase;
        background: linear-gradient(135deg, #203675, #314c9b 58%, #2b7f73);
        clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .nav-trust-notch span {
        position: relative;
    }

    .nav-trust-notch span + span::before {
        content: '';
        position: absolute;
        left: -7px;
        top: 50%;
        width: 3px;
        height: 3px;
        border-radius: 999px;
        background: rgba(88, 185, 87, 0.95);
        transform: translateY(-50%);
    }

    @media (max-width: 1023.98px) {
        .nav-trust-notch {
            position: static;
            left: auto;
            top: auto;
            transform: none;
            width: 100%;
            min-height: auto;
            padding: 6px 16px;
            font-size: 9px;
            letter-spacing: 0.07em;
            gap: 3px 10px;
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
            white-space: normal;
            clip-path: none;
            font-weight: 650;
        }

        .nav-trust-notch span + span::before {
            content: none;
        }

        .btn.header-enquiry-btn {
            min-height: 44px;
            gap: 6px;
            border-radius: 7px;
            padding: 8px 12px;
            font-size: 11.5px;
            font-weight: 700;
        }

        .btn.header-enquiry-btn .icon {
            width: 13px;
            height: 13px;
        }
    }

    .mobile-menu {
        max-height: calc(100vh - var(--header-h, 120px));
        max-height: calc(100dvh - var(--header-h, 120px));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-menu summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 24px;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary::after {
        content: '';
        flex: none;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        opacity: 0.6;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 200ms ease;
    }

    .mobile-menu details[open] > summary::after {
        transform: rotate(-135deg) translateY(-2px);
    }

    .mobile-menu a {
        overflow-wrap: anywhere;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .whatsapp-widget {
        display: none;
    }

    .mega-directory-clean {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 34px 42px;
        padding: 18px 0 10px;
    }

    .mega-column {
        display: grid;
        align-content: start;
        gap: 28px;
    }

    .mega-group-title {
        display: block;
        color: #0d6844;
        font-size: 17px;
        font-weight: 900;
        letter-spacing: 0.02em;
        line-height: 1.05;
        text-transform: uppercase;
    }

    .mega-item-list {
        display: grid;
        gap: 8px;
        margin-top: 13px;
    }

    .mega-item {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        color: rgba(36, 36, 36, 0.82);
        font-size: 13.5px;
        font-weight: 800;
        line-height: 1.25;
        text-transform: capitalize;
        transition: color 180ms ease;
    }

    .mega-item:hover {
        color: #203675;
    }

    .mega-bottom-strip {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
        margin-top: 26px;
        border-radius: 18px;
        background:
            linear-gradient(90deg, #0d6844, #1a7f56 44%, #314c9b);
        padding: 18px 22px;
        color: #ffffff;
    }

    .mega-bottom-strip strong {
        display: block;
        font-size: 17px;
        line-height: 1.2;
    }

    .mega-bottom-strip span {
        display: block;
        margin-top: 3px;
        color: rgba(255, 255, 255, 0.76);
        font-size: 13px;
        font-weight: 650;
    }

    .mega-bottom-strip a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        border-radius: 999px;
        background: #ffffff;
        padding: 10px 14px;
        color: #203675;
        font-size: 13px;
        font-weight: 900;
    }

    .mega-bottom-strip svg {
        width: 15px;
        height: 15px;
        stroke-width: 2.35;
    }

    .mega-products-panel {
        position: relative;
        overflow: hidden;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        align-items: end;
        min-height: 104px;
        border: 1px solid rgba(49, 76, 155, 0.12);
        border-radius: 20px;
        background: #ffffff;
        padding: 17px 20px;
    }

    .mega-products-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 44%, rgba(255, 255, 255, 0.78) 66%, rgba(255, 255, 255, 0.22) 100%),
            url('/assets/manufacturing-workflow-cosmetics.png') center right / cover no-repeat;
    }

    .mega-products-panel::after {
        content: '';
        position: absolute;
        right: 18px;
        bottom: -44px;
        width: 140px;
        height: 140px;
        border: 20px solid rgba(88, 185, 87, 0.13);
        border-radius: 999px;
    }

    .mega-products-panel > * {
        position: relative;
        z-index: 1;
    }

    .label {
        color: #314c9b;
        font-size: 13px;
        font-weight: 800;
    }

    @media (max-width: 640px) {
        .label {
            font-size: 10.5px;
        }

        /* Eyebrow labels: keep them clearly smaller than the headings they introduce. */
        :is(p, span)[class*="uppercase"][class*="tracking-"][class*="font-extrabold"] {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.14em;
            line-height: 1.45;
        }
    }

    .btn {
        display: inline-flex;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border-radius: 8px;
        padding: 13px 21px;
        font-size: 15px;
        font-weight: 800;
        position: relative;
        overflow: hidden;
        isolation: isolate;
        border: 1px solid transparent;
        color: #ffffff;
        background: linear-gradient(135deg, #314c9b, #203675);
        transition: color 220ms ease, border-color 220ms ease, background 280ms ease;
    }

    .btn::before {
        content: '';
        position: absolute;
        inset: 2px;
        border-radius: 6px;
        z-index: -1;
        opacity: 0;
        background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.28), transparent 58%);
        transition: opacity 260ms ease;
    }

    .btn:hover::before {
        opacity: 1;
    }

    .btn-label {
        display: inline-flex;
        position: relative;
        z-index: 1;
        overflow: hidden;
        white-space: pre;
        line-height: 1.15;
    }

    .btn-label-char {
        display: inline-block;
        animation-duration: 560ms;
        animation-fill-mode: both;
        animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
        animation-delay: calc(var(--char-index) * 24ms);
    }

    .btn:hover .btn-label-char {
        animation-name: letter-rise-return;
    }

    .btn .icon {
        width: 18px;
        height: 18px;
        position: relative;
        z-index: 1;
        stroke-width: 2.35 !important;
        vector-effect: non-scaling-stroke;
        transition: transform 260ms ease, stroke 220ms ease;
    }

    .btn:hover .icon {
        transform: rotate(-6deg) scale(1.035);
    }

    .btn-blue {
        background:
            linear-gradient(135deg, #314c9b, #203675) padding-box,
            conic-gradient(from var(--btn-angle, 0deg), #314c9b, #58b957, #314c9b, #203675, #314c9b) border-box;
        color: #ffffff;
        animation: cta-orbit 5s linear infinite;
    }

    .btn-blue:hover {
        background:
            linear-gradient(135deg, #203675, #314c9b) padding-box,
            conic-gradient(from var(--btn-angle, 0deg), #58b957, #ffffff, #314c9b, #58b957) border-box;
    }

    .btn-line {
        border: 1px solid rgba(49, 76, 155, 0.28);
        background:
            linear-gradient(#ffffff, #ffffff) padding-box,
            linear-gradient(135deg, rgba(49, 76, 155, 0.28), rgba(88, 185, 87, 0.34)) border-box;
        color: #314c9b;
    }

    .btn-line:hover {
        border-color: transparent;
        background:
            linear-gradient(135deg, rgba(238, 243, 255, 0.88), rgba(246, 250, 247, 0.95)) padding-box,
            conic-gradient(from var(--btn-angle, 0deg), #314c9b, #58b957, #314c9b) border-box;
        color: #2b9644;
    }

    @property --btn-angle {
        syntax: '<angle>';
        inherits: false;
        initial-value: 0deg;
    }

    @keyframes cta-orbit {
        to {
            --btn-angle: 360deg;
        }
    }

    @keyframes letter-rise-return {
        0% {
            transform: translateY(0);
            opacity: 1;
        }
        42% {
            transform: translateY(-115%);
            opacity: 0;
        }
        43% {
            transform: translateY(115%);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }


/* ===== footer ===== */
.site-footer {
        position: relative;
        overflow: hidden;
        margin-top: 42px;
        background: #203675;
        color: #ffffff;
    }

    .site-footer__ribbon {
        position: absolute;
        left: 50%;
        top: 0;
        display: flex;
        min-height: 50px;
        width: min(1120px, calc(100vw - 36px));
        align-items: center;
        justify-content: center;
        padding: 13px clamp(24px, 5vw, 82px) 14px;
        background: #ffffff;
        clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 56px 100%);
        color: #203675;
        font-size: clamp(10px, 1.5vw, 14px);
        font-weight: 900;
        letter-spacing: 0.16em;
        line-height: 1.35;
        text-align: center;
        text-transform: uppercase;
        transform: translateX(-50%);
        z-index: 2;
    }

    .site-footer__ribbon-dot {
        margin-inline: 8px;
        color: #58b957;
    }

    .site-footer__inner {
        position: relative;
        z-index: 1;
        padding-top: clamp(92px, 9vw, 126px);
    }

    .site-footer__logo {
        display: inline-flex;
        border-radius: 18px;
        background: #ffffff;
        padding: 12px 16px;
    }

    .site-footer__heading {
        color: #ffffff;
        font-size: 14px;
        font-weight: 800;
    }

    .site-footer__text,
    .site-footer__links {
        color: rgba(255, 255, 255, 0.72);
    }

    .site-footer__links a,
    .site-footer__links p {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .site-footer__links a {
        transition: color 180ms ease, transform 180ms ease;
    }

    .site-footer__links a:hover {
        color: #ffffff;
        transform: translateX(2px);
    }

    .site-footer__icon {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    .site-footer__icon svg {
        width: 14px;
        height: 14px;
    }

    .site-footer__addr {
        display: flex;
        gap: 10px;
    }

    .site-footer__addr .site-footer__icon {
        margin-top: 2px;
    }

    .site-footer__text strong {
        color: #ffffff;
    }

    .site-footer__bottom {
        position: relative;
        z-index: 1;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    @media (max-width: 640px) {
        .site-footer {
            margin-top: 28px;
        }

        .site-footer__ribbon {
            width: calc(100vw - 20px);
            min-height: 28px;
            padding: 7px clamp(24px, 5vw, 82px) 8px;
            clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 26px 100%);
            letter-spacing: 0.11em;
        }

        .site-footer__bottom p {
            font-weight: 500;
        }
    }


/* ===== quick enquiry modal ===== */
.quick-enquiry-overlay {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: grid;
        place-items: center;
        padding: 18px;
        opacity: 0;
        visibility: hidden;
        background: rgba(20, 28, 48, 0.38);
        backdrop-filter: blur(16px);
        transition: opacity 260ms ease, visibility 260ms ease;
    }

    .quick-enquiry-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    .quick-enquiry-modal {
        position: relative;
        overflow: hidden;
        width: min(660px, 100%);
        max-height: none;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 20px;
        background: #ffffff;
        opacity: 0;
        overflow: hidden;
        transform: translateY(18px) scale(0.98);
        transition: opacity 300ms cubic-bezier(0.19, 1, 0.22, 1), transform 300ms cubic-bezier(0.19, 1, 0.22, 1);
    }

    .quick-enquiry-overlay.is-open .quick-enquiry-modal {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .quick-enquiry-art {
        position: relative;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78)),
            url('/assets/manufacturing-workflow-cosmetics.png') bottom center / cover no-repeat;
    }

    .quick-enquiry-art::after {
        content: '';
        position: absolute;
        right: -70px;
        bottom: -120px;
        width: 220px;
        height: 220px;
        border-radius: 999px;
        border: 28px solid rgba(49, 76, 155, 0.12);
        border-top-color: rgba(88, 185, 87, 0.22);
    }

    .quick-field {
        border: 1px solid #dde6e1;
        border-radius: 10px;
        background: #fbfdfc;
        transition: border-color 220ms ease, background-color 220ms ease;
    }

    .quick-field:focus {
        border-color: #314c9b;
        background: #ffffff;
    }

    .modal-open {
        overflow: hidden;
    }

    .quick-enquiry-modal .btn-blue {
        background:
            linear-gradient(135deg, #314c9b, #203675) padding-box,
            linear-gradient(135deg, #58b957, #314c9b) border-box;
        border: 1px solid transparent;
        color: #ffffff;
    }

    .quick-enquiry-modal .btn {
        min-height: 42px;
        padding: 10px 17px;
        font-size: 14px;
    }

    .quick-enquiry-modal .btn .icon {
        width: 13px;
        height: 13px;
        stroke-width: 2.35 !important;
    }

    .quick-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding: 18px 20px;
        color: #ffffff;
        background:
            linear-gradient(90deg, rgba(32, 54, 117, 0.9), rgba(32, 54, 117, 0.72)),
            url("data:image/svg+xml,%3Csvg width='96' height='96' viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='rgba(255,255,255,0.09)' stroke-width='1.2'%3E%3Cpath d='M-24 88 L88 -24'/%3E%3Cpath d='M8 104 L104 8'/%3E%3Cpath d='M40 112 L112 40'/%3E%3C/g%3E%3C/svg%3E"),
            radial-gradient(circle at 14% 22%, rgba(88, 185, 87, 0.34), transparent 38%),
            linear-gradient(135deg, #203675, #314c9b);
    }

    .quick-modal-header h2 {
        position: relative;
        z-index: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    }

    .quick-modal-close {
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        flex: 0 0 auto;
    }

    @media (max-height: 700px) {
        .quick-enquiry-modal {
            max-height: calc(100vh - 28px);
            overflow-y: auto;
        }
    }


/* ===== whatsapp widget ===== */
.whatsapp-widget {
        position: fixed;
        right: clamp(16px, 2.4vw, 28px);
        bottom: clamp(16px, 2.4vw, 28px);
        z-index: 80;
        font-family: 'DM Sans', sans-serif;
    }

    .whatsapp-widget__panel {
        position: absolute;
        right: 0;
        bottom: calc(100% + 18px);
        width: min(390px, calc(100vw - 32px));
        overflow: hidden;
        border: 1px solid rgba(9, 189, 58, 0.18);
        border-radius: 16px;
        background: #f7f3ed;
        box-shadow: none;
        opacity: 0;
        pointer-events: none;
        transform: translateY(14px) scale(0.98);
        transform-origin: right bottom;
        transition: opacity 220ms ease, transform 220ms ease;
    }

    .whatsapp-widget.is-open .whatsapp-widget__panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .whatsapp-widget__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        background: #16a34a;
        padding: 18px;
        color: #ffffff;
    }

    .whatsapp-widget__brand {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 12px;
    }

    .whatsapp-widget__avatar {
        display: inline-flex;
        width: 46px;
        height: 46px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #ffffff;
        color: #16a34a;
        box-shadow: none;
    }

    .whatsapp-widget__brand-logo {
        width: 38px;
        height: 38px;
        display: block;
        border-radius: 999px;
        object-fit: contain;
    }

    .whatsapp-widget__logo {
        width: 28px;
        height: 28px;
        display: block;
        fill: currentColor;
    }

    .whatsapp-widget__close {
        display: inline-flex;
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
    }

    .whatsapp-widget__body {
        background: #f3eee7;
        padding: 22px 18px 18px;
    }

    .whatsapp-widget__bubble {
        max-width: 92%;
        border-radius: 10px 10px 10px 2px;
        background: #ffffff;
        padding: 13px 14px;
        color: #111b21;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        box-shadow: none;
        border: 1px solid rgba(17, 27, 33, 0.06);
    }

    .whatsapp-widget__composer {
        margin-top: 18px;
        display: flex;
        gap: 14px;
        align-items: flex-end;
    }

    .whatsapp-widget__textarea {
        min-height: 120px;
        width: 100%;
        resize: none;
        border: 0;
        border: 1px solid rgba(9, 189, 58, 0.20);
        border-radius: 12px;
        background: #ffffff;
        padding: 14px 15px;
        color: #111b21;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        outline: none;
        overflow: hidden;
        box-shadow: none;
    }

    .whatsapp-widget__textarea:focus {
        box-shadow: 0 0 0 3px rgba(9, 189, 58, 0.14);
    }

    .whatsapp-widget__send {
        display: inline-flex;
        width: 48px;
        height: 48px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #16a34a;
        color: #ffffff;
        text-decoration: none;
        transition: background 180ms ease, transform 180ms ease;
    }

    .whatsapp-widget__send:hover {
        background: #12883e;
    }

    .whatsapp-widget__send-text {
        display: none;
    }

    .whatsapp-widget__toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        border: 0;
        border-radius: 999px;
        background: #16a34a;
        box-shadow: none;
        color: #ffffff;
        padding: 11px 16px 11px 12px;
        font-size: 14px;
        font-weight: 850;
        transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    }

    .whatsapp-widget__toggle:hover {
        background: #12883e;
    }

    .whatsapp-widget__toggle-icon {
        display: inline-flex;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: transparent;
    }

    @media (max-width: 640px) {
        .whatsapp-widget__toggle span:last-child {
            display: none;
        }

        .whatsapp-widget__toggle {
            padding: 12px;
        }

        .whatsapp-widget__panel {
            width: calc(100vw - 64px);
            max-height: calc(100vh - 110px);
            overflow-y: auto;
            border-radius: 14px;
        }

        .whatsapp-widget__header {
            gap: 10px;
            padding: 13px 14px;
        }

        .whatsapp-widget__avatar {
            width: 36px;
            height: 36px;
        }

        .whatsapp-widget__brand-logo {
            width: 29px;
            height: 29px;
        }

        .whatsapp-widget__close {
            width: 28px;
            height: 28px;
        }

        .whatsapp-widget__body {
            padding: 15px 13px 13px;
        }

        .whatsapp-widget__bubble {
            padding: 10px 11px;
            font-size: 12.5px;
        }

        .whatsapp-widget__composer {
            margin-top: 12px;
            gap: 10px;
        }

        .whatsapp-widget__textarea {
            min-height: 80px;
            padding: 11px 12px;
            font-size: 12.5px;
        }

        .whatsapp-widget__send {
            width: 40px;
            height: 40px;
        }

        .whatsapp-widget__send .icon,
        .whatsapp-widget__send svg {
            width: 16px;
            height: 16px;
        }
    }
