/*
Theme Name: Customverse Professional V69
Theme URI: https://wpastra.com/
Description: Professional Astra child theme for Customverse with a sleek sticky WooCommerce header.
Author: Customverse
Template: astra
Version: 5.6.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: customverse-v31
*/

/* ------------------------------------------------------------
   Professional Sticky Header
   ------------------------------------------------------------ */
:root {
    --cv-header-height: 68px;
    --cv-header-border: rgba(15, 23, 42, .08);
    --cv-text: #171717;
    --cv-muted: #666;
    --cv-accent: #111827;
}

/* Prevent Astra's normal header from competing with the custom header. */
.ast-desktop-header,
.ast-mobile-header,
.site-header,
#masthead {
    display: none !important;
}

.cv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    height: var(--cv-header-height);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--cv-header-border);
    box-shadow: 0 2px 14px rgba(0,0,0,.055);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.admin-bar .cv-header { top: 32px; }

.cv-header__inner {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.cv-header__brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.cv-header__brand a {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.cv-header__logo {
    display: block;
    width: auto;
    max-width: 155px;
    height: 34px;
    object-fit: contain;
}

.cv-header__brand-text {
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.02em;
    color: var(--cv-text);
    white-space: nowrap;
}

.cv-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-left: auto;
}

.cv-header__nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-header__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--cv-header-height);
    color: var(--cv-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .005em;
    white-space: nowrap;
    transition: color .2s ease;
}

.cv-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.cv-header__nav a:hover,
.cv-header__nav a:focus-visible,
.cv-header__nav a.is-active {
    color: var(--cv-accent);
}

.cv-header__nav a:hover::after,
.cv-header__nav a:focus-visible::after,
.cv-header__nav a.is-active::after {
    transform: scaleX(1);
}

.cv-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cv-header__icon,
.cv-header__menu-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cv-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.cv-header__icon:hover,
.cv-header__icon:focus-visible,
.cv-header__menu-toggle:hover,
.cv-header__menu-toggle:focus-visible {
    color: var(--cv-muted);
    transform: translateY(-1px);
}

.cv-header__icon svg,
.cv-header__menu-toggle svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
}

.cv-cart-count {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 9px;
    line-height: 16px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

.cv-header__menu-toggle { display: none; }

.cv-mobile-menu {
    display: none;
    position: absolute;
    top: var(--cv-header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--cv-header-border);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.cv-mobile-menu.is-open { display: block; }

.cv-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 8px 24px 16px;
}

.cv-mobile-menu li { margin: 0; }

.cv-mobile-menu a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: var(--cv-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.cv-mobile-menu li:last-child a { border-bottom: 0; }

.cv-search-modal[hidden] { display: none; }
.cv-search-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.cv-search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(4px);
}

.cv-search-modal__panel {
    position: relative;
    width: min(680px, calc(100% - 32px));
    margin: 96px auto 0;
    padding: 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0,0,0,.2);
}

.cv-search-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.cv-search-form {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.cv-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    font-size: 16px;
}

.cv-search-form button {
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

body { padding-top: var(--cv-header-height); }
body.admin-bar { padding-top: var(--cv-header-height); }

@media (max-width: 900px) {
    :root { --cv-header-height: 62px; }
    .cv-header__inner { padding: 0 20px; }
    .cv-header__nav { display: none; }
    .cv-header__right { gap: 17px; }
    .cv-header__menu-toggle { display: inline-flex; }
    .cv-mobile-menu { top: var(--cv-header-height); }
}

@media (max-width: 782px) {
    body.admin-bar .cv-header { top: 46px; }
}

@media (max-width: 520px) {
    .cv-header__inner { padding: 0 15px; }
    .cv-header__actions { gap: 14px; }
    .cv-header__logo { max-width: 125px; height: 31px; }
    .cv-header__brand-text { font-size: 18px; }
    .cv-search-form { flex-direction: column; }
    .cv-search-form button { width: 100%; }
}

.cv-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,.075);
    background: rgba(255,255,255,.985);
}

body.cv-search-open { overflow: hidden; }


/* ============================================================
   Customverse V15 — Light premium footer + social icons + sticky order bar
   ============================================================ */
.cv-footer {
    margin-top: 72px;
    color: #171717;
    background: #f1f1f1;
    border-top: 1px solid #dedede;
}

/* Keep Astra's generated footer from appearing underneath the custom footer. */
.site-footer,
.ast-footer-widget-area,
.ast-small-footer {
    display: none !important;
}

.cv-footer__main {
    background: #f1f1f1;
}

.cv-footer__grid {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 62px 0 52px;
    display: grid;
    grid-template-columns: 1.35fr .9fr 1fr 1.1fr;
    gap: 52px;
}

.cv-footer__brand-col,
.cv-footer__column { min-width: 0; }

.cv-footer__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.cv-footer__logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.cv-footer__brand-text {
    color: #111;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.025em;
}

.cv-footer__tagline {
    margin: 16px 0 10px;
    color: #171717;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cv-footer__intro {
    max-width: 360px;
    margin: 0 0 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.cv-footer__email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: opacity .2s ease, transform .2s ease;
}

.cv-footer__email:hover,
.cv-footer__email:focus-visible {
    color: #111;
    opacity: .65;
    transform: translateX(2px);
}

.cv-footer__email-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bcbcbc;
    border-radius: 50%;
    font-size: 13px;
}

.cv-footer__column h3 {
    margin: 4px 0 18px;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cv-footer__column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-footer__column li { margin: 0 0 11px; }

.cv-footer__column li a {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color .2s ease, padding-left .2s ease;
}

.cv-footer__column li a:hover,
.cv-footer__column li a:focus-visible {
    color: #000;
    padding-left: 3px;
}

.cv-footer__social-col > p {
    margin: 0 0 18px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.cv-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cv-social {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    color: #111;
    background: transparent;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.cv-social:hover,
.cv-social:focus-visible {
    color: #fff;
    background: #111;
    border-color: #111;
    transform: translateY(-2px);
}

.cv-social svg { width: 15px; height: 15px; }

.cv-footer__social-note {
    margin-top: 14px !important;
    font-size: 12px !important;
    color: #777 !important;
}

.cv-footer__visit {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #d6d6d6;
}

.cv-footer__visit strong {
    display: block;
    margin-bottom: 6px;
    color: #111;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cv-footer__visit p {
    margin: 0 0 12px;
    color: #555;
    font-size: 13px;
    line-height: 1.55;
}

.cv-footer__map {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.cv-footer__bottom {
    background: #e6e6e6;
    border-top: 1px solid #d2d2d2;
}

.cv-footer__bottom-inner {
    width: min(1240px, calc(100% - 48px));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cv-footer__bottom p {
    margin: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.5;
}

/* Product enquiry panel */
.cv-enquiry[hidden] { display: none !important; }
.cv-enquiry {
    position: fixed;
    inset: 0;
    z-index: 100001;
}

.cv-enquiry__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.48);
    backdrop-filter: blur(4px);
}

.cv-enquiry__panel {
    position: relative;
    width: min(620px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 24px auto 0;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.cv-enquiry__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 28px;
    cursor: pointer;
}

.cv-enquiry__panel h2 { margin: 0 0 7px; color: #111; font-size: 25px; }
.cv-enquiry__panel > p { margin: 0 0 20px; color: #666; font-size: 14px; }
.cv-enquiry-form { display: grid; gap: 13px; }
.cv-enquiry-form label { color: #222; font-size: 13px; font-weight: 700; }
.cv-enquiry-form input,
.cv-enquiry-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 12px 13px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    box-sizing: border-box;
    font: inherit;
}
.cv-enquiry-form textarea { min-height: 120px; resize: vertical; }
.cv-enquiry-form button {
    width: fit-content;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.cv-enquiry-form button:hover { background: #2b2b2b; }
.cv-enquiry-form .cv-hp { position: absolute; left: -9999px; opacity: 0; }

/* ============================================================
   Sticky order/contact bar — pure white, like the sticky header
   ============================================================ */
.cv-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998;
    background: #fff;
    border-top: 1px solid #dedede;
    box-shadow: 0 -5px 22px rgba(0,0,0,.08);
}

.cv-bottom-bar__inner {
    width: min(1240px, calc(100% - 48px));
    min-height: 70px;
    margin: 0 auto;
    padding: 9px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

.cv-bottom-bar__order { min-width: 0; }
.cv-bottom-bar__eyebrow {
    display: block;
    color: #666;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cv-bottom-bar__numbers {
    display: block;
    margin-top: 2px;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.cv-bottom-bar__benefits {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.cv-bottom-bar__benefit { display: inline-flex; align-items: center; gap: 7px; }
.cv-bottom-bar__benefit svg { width: 17px; height: 17px; }

.cv-bottom-bar__actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.cv-bottom-bar__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.cv-bottom-bar__button svg { width: 17px; height: 17px; }
.cv-bottom-bar__button--call,
.cv-bottom-bar__button--whatsapp {
    background: #111;
    color: #fff;
}
.cv-bottom-bar__button--call:hover,
.cv-bottom-bar__button--whatsapp:hover { background: #2b2b2b; color: #fff; transform: translateY(-1px); }

body { padding-bottom: 88px; }
body.admin-bar .cv-bottom-bar { bottom: 0; }

@media (max-width: 1000px) {
    .cv-footer__grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 40px 30px; }
    .cv-footer__brand-col { grid-column: 1 / -1; }
    .cv-bottom-bar__benefits { display: none; }
}

@media (max-width: 700px) {
    .cv-footer { margin-top: 52px; }
    .cv-footer__grid {
        width: min(100% - 36px, 560px);
        grid-template-columns: 1fr 1fr;
        gap: 34px 26px;
        padding: 46px 0 38px;
    }
    .cv-footer__brand-col { grid-column: 1 / -1; }
    .cv-footer__bottom-inner {
        width: min(100% - 36px, 560px);
        min-height: auto;
        padding: 16px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .cv-bottom-bar__inner {
        width: calc(100% - 24px);
        min-height: 70px;
        padding: 8px 0;
        gap: 10px;
    }
    .cv-bottom-bar__order { display: none; }
    .cv-bottom-bar__actions { width: 100%; }
    .cv-bottom-bar__button { flex: 1; min-height: 46px; padding: 0 10px; font-size: 11px; }
    body { padding-bottom: 82px; }
    .cv-enquiry__panel { margin-top: 14px; padding: 26px 20px; max-height: calc(100vh - 28px); }
}

@media (max-width: 480px) {
    .cv-footer__grid { grid-template-columns: 1fr; }
    .cv-footer__brand-col { grid-column: auto; }
}


/* V17: make both quick-order phone numbers directly dialable. */
.cv-bottom-bar__numbers a{color:inherit;text-decoration:none;font-weight:inherit}
.cv-bottom-bar__numbers a:hover{text-decoration:underline}
