/* Site styles loaded after theme.css. */

/* ==== Product enquiry modal and Inquire Now button (inline styles of the live product page) ==== */
/* Overlay & panel */
    .bzotech-inquiry-modal { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
    .bzotech-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }

    .bzotech-modal-panel {
        position: relative;
        max-width: 540px;
        width: 100%;
        border-radius: 14px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.35);
        overflow: hidden;
        transform-origin: center;
        animation: bzotech-modal-in .14s ease-out;
    }

    /* background gradient using your palette: #f6d7cf,#e6957f,#ff8081  */
    .bzotech-modal-panel .bzotech-modal-body {
        background: linear-gradient(180deg, #f6d7cf 0%, #e6957f 50%, #ff8081 100%);
        padding: 22px;
        color: #000;
        font-family: var(--bzo-body_typo-font-family, Arial, sans-serif);
    }

    /* Title + close */
    .bzotech-modal-title { margin: 0 0 0 0; font-size: 18px; color: #2b2b2b; padding: 10px;background: linear-gradient(180deg, #f6d7cf 0%, #e6957f 50%, #ff8081 100%); }
    .bzotech-modal-close {
        position: absolute;
        top: 0px;
        right: 12px;
        background: transparent;
        border: 0;
        font-size: 26px;
        line-height: 1;
        color: black;
        cursor: pointer;
        padding: 6px;
    }
    .bzotech-modal-close:hover { color: #ffffff; }

    /* Button style (match add-to-cart look but responsive) */
    .inquire-now-btn {
        border: none;
        color: #fff;
        text-transform: uppercase;
        font-weight: 600;
        padding: 12px 25px;
        font-size: 16px;
        line-height: 24px;
        border-radius: 40px;
        display: inline-block;
        cursor: pointer;
        z-index: 1;
        position: relative;
        font-family: var(--bzo-body_typo-font-family, Arial, sans-serif);
        overflow: hidden;
        transition: all .25s ease;
        background: linear-gradient(180deg, #e07a5f 0%, #faebe7 50%, #ff8081 100%);
        letter-spacing: 1px;
        margin-top: 10px;
    }
    .inquire-now-btn:hover { filter: brightness(1.05); transform: translateY(-2px); }

    /* CF7 form area styling (so inputs are readable on gradient) */
    .bzotech-modal-body .wpcf7-form { background: transparent; }
    .bzotech-modal-body .wpcf7-form p { margin-bottom: 10px; }
    .bzotech-modal-body input[type="text"],
    .bzotech-modal-body input[type="email"],
    .bzotech-modal-body input[type="tel"],
    .bzotech-modal-body textarea,
    .bzotech-modal-body select {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        border-radius: 8px;
        border: 1px solid rgba(0,0,0,0.12);
        margin-top: 6px;
        font-size: 14px;
    }

    .bzotech-modal-body .wpcf7-submit {
      
        border-radius: 30px;
        background: #2b2b2b;
        color: #fff;
        border: none;
        cursor: pointer;
    }

    /* small screens */
    @media (max-width: 768px) {
        .bzotech-modal-panel { max-width: 92%; }
        .inquire-now-btn { width: 100%; padding: 12px 16px; font-size: 15px; }
    }

    /* animation */
    @keyframes bzotech-modal-in {
        from { transform: translateY(8px) scale(.98); opacity: 0; }
        to   { transform: translateY(0) scale(1); opacity: 1; }
    }

/* ==========================================================================
   Gentle Weaves — styles for the parts rebuilt without WordPress plugins:
   the home hero (was Slider Revolution), quick view and lightbox (fancybox /
   Elementor lightbox), inner zoom (elevateZoom), the enquiry cart, wishlist
   and compare pages (WooCommerce blocks / YITH), and small form states.
   Colours come from the theme's custom properties (--bzo-*).
   ========================================================================== */

body.gw-title-fredoka { --bzo-title_typo-font-family: Fredoka; }
/* Small screens: the enquiry modal scrolls inside the viewport, its title clears the close button,
   and the wishlist table scrolls sideways instead of widening the page. */
.bzotech-modal-panel { max-height: calc(100vh - 40px); overflow-y: auto; }
.bzotech-modal-title { padding-right: 44px; }
/* WooCommerce keeps the (empty) variation message box collapsed: height 0, overflow hidden. */
.woocommerce-variation.single_variation { height: 0; overflow: hidden; }
@media (max-width: 767px) {
    .yith-wcwl-form { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gw-no-scroll { overflow: hidden; }
[hidden] { display: none !important; }

/* ---- Home hero ------------------------------------------------------------ */
.gw-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 760px;
    background: transparent; /* the live module background is transparent */
    user-select: none; /* dragging changes slides instead of selecting text */
    touch-action: pan-y; /* vertical page scroll stays native; horizontal drags change slides */
}
.gw-hero__slide { position: absolute; inset: 0; visibility: hidden; }
.gw-hero__slide.is-active { visibility: visible; z-index: 1; }
.gw-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
/* During a change the background is drawn slot by slot on a canvas (hero.js). */
.gw-hero__slide.is-animating .gw-hero__bg { visibility: hidden; }
.gw-hero__canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.gw-hero__wall { pointer-events: none; }
/* Text block: a centred column (live "container" layer) with the layers centred on its middle,
   offset vertically. Sizes are fixed per level, not scaled (the live slider only scales the height). */
.gw-hero__layers {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--hero-w, 43%);
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: #fff;
}
.gw-hero__layer {
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, calc(-50% + var(--y, 0px) - 50px));
    /* GSAP power3.inOut (a quartic in-out), 1s, as on the live slider */
    transition: opacity 1000ms cubic-bezier(.77, 0, .175, 1), transform 1000ms cubic-bezier(.77, 0, .175, 1);
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0;
}
.gw-hero__layer.is-in { opacity: 1; transform: translate(-50%, calc(-50% + var(--y, 0px))); }
.gw-hero__layer.is-out { opacity: 0; transition-duration: 300ms; }
.gw-hero__sub {
    --y: var(--hero-sub-y, -83px);
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
}
.gw-hero__title {
    --y: var(--hero-title-y, 0px);
    width: 100%;
    white-space: normal;
    font-family: 'Libre Baskerville', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 58px;
    text-transform: capitalize;
}
.gw-hero__btn {
    --y: var(--hero-btn-y, 104px);
    display: block;
    padding: 0 25px;
    border: 1px solid #fff;
    color: #fff !important;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 40px;
    text-transform: uppercase;
    background: transparent;
}
.gw-hero__btn:hover { border-color: rgba(255, 255, 255, .75); background: #fff; color: #121212 !important; transition: .2s; }
.gw-hero__bullets { position: absolute; right: 15px; bottom: 20px; z-index: 4; display: flex; gap: 10px; }
.gw-hero__bullet {
    position: relative;
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0);
    cursor: pointer;
    transition: box-shadow .3s ease;
}
.gw-hero__bullet-inner { position: absolute; inset: 0; border-radius: 50%; background-color: rgba(255, 255, 255, .3); transition: background-color .3s ease, transform .3s ease; }
.gw-hero__bullet.selected, .gw-hero__bullet:hover { box-shadow: 0 0 0 2px #fff; }
.gw-hero__bullet.selected .gw-hero__bullet-inner, .gw-hero__bullet:hover .gw-hero__bullet-inner { transform: scale(.4); background-color: #fff; }
/* data-level (hero.js): 0 = window ≥1024px, 1 = 778–1023, 2 = 480–777, 3 = below 480 */
.gw-hero[data-level="1"] .gw-hero__layers { width: 60%; }
.gw-hero[data-level="1"] .gw-hero__title { --y: 0px; font-size: 40px; line-height: 50px; }
.gw-hero[data-level="1"] .gw-hero__sub { --y: -74px; font-weight: 500; }
.gw-hero[data-level="1"] .gw-hero__btn { --y: 91px; letter-spacing: 1px; }
.gw-hero[data-level="2"] .gw-hero__layers { width: 60%; }
.gw-hero[data-level="2"] .gw-hero__title { --y: -2px; font-size: 30px; line-height: 40px; }
.gw-hero[data-level="2"] .gw-hero__sub { --y: -73px; font-size: 14px; font-weight: 500; line-height: 22px; }
.gw-hero[data-level="2"] .gw-hero__btn { --y: 84px; letter-spacing: 0; line-height: 34px; }
.gw-hero[data-level="3"] .gw-hero__layers { width: 90%; }
.gw-hero[data-level="3"] .gw-hero__title { --y: -7px; font-size: 20px; line-height: 26px; }
.gw-hero[data-level="3"] .gw-hero__sub { --y: -51px; font-size: 14px; font-weight: 500; line-height: 22px; }
.gw-hero[data-level="3"] .gw-hero__btn { --y: 52px; letter-spacing: 0; line-height: 34px; }
@media (prefers-reduced-motion: reduce) {
    .gw-hero__layer { transition: none; }
}

/* ---- Quick view ----------------------------------------------------------- */
.gw-quickview { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gw-quickview__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.gw-quickview__panel {
    position: relative;
    width: 1200px;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
}
.gw-quickview__close {
    position: absolute;
    top: 6px;
    right: 10px;
    z-index: 2;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: #121212;
    cursor: pointer;
}
.gw-quickview__close:hover { color: var(--bzo-main-color); }
.gw-quickview__loading, .gw-quickview__error { padding: 80px 0; text-align: center; font-size: 30px; color: var(--bzo-main-color); }
.gw-quickview__error { font-size: 16px; color: inherit; }
.gw-quickview__loading i { animation: gw-spin 1s linear infinite; display: inline-block; }
@keyframes gw-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .gw-quickview__panel { padding: 40px 15px 20px; } }

/* ---- Lightbox ------------------------------------------------------------- */
.gw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .87);
}
.gw-lightbox.is-open { display: flex; }
.gw-lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; box-shadow: 0 0 30px rgba(0, 0, 0, .3); }
.gw-lightbox button {
    position: absolute;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    font-size: 40px;
    line-height: 1;
    padding: 10px;
}
.gw-lightbox button:hover { color: #fff; }
.gw-lightbox__close { top: 10px; right: 15px; }
.gw-lightbox__prev { left: 15px; top: 50%; transform: translateY(-50%); }
.gw-lightbox__next { right: 15px; top: 50%; transform: translateY(-50%); }
.gw-lightbox__count { position: absolute; top: 20px; left: 20px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.gw-lightbox.is-single .gw-lightbox__prev, .gw-lightbox.is-single .gw-lightbox__next, .gw-lightbox.is-single .gw-lightbox__count { display: none; }

/* ---- Product page: inner zoom, thumbnail carousel ---------------------------- */
.product-detail-gallery .mid { position: relative; overflow: hidden; cursor: zoom-in; }
.gw-zoom {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: 200%;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    cursor: crosshair;
    transition: opacity 750ms;
}
.gw-zoom.is-on { opacity: 1; transition-duration: 500ms; }
.gallery-slider .slick-list { overflow: hidden; position: relative; }
.gallery-slider .slick-track { display: flex; }
.gallery-slider .slick-slide { display: block; flex: 0 0 auto; box-sizing: border-box; }
.gallery-slider .slick-slide img { display: block; }
.add_to_wishlist.added i::before, .wishlist-link.added i::before { content: "\f004"; font-family: 'Line Awesome Free'; font-weight: 900; }
.compare-link.added { color: var(--bzo-main-color); }
.addcart-link.loading, .single_add_to_cart_button.loading { opacity: .6; pointer-events: none; }

/* ---- Forms -------------------------------------------------------------------- */
.wpcf7 form .wpcf7-response-output:empty { display: none; }
.gw-whatsapp-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #128c7e; text-decoration: underline; }
.mc4wp-response { margin-top: 10px; color: #fff; font-size: 14px; }
.mc4wp-response:empty { display: none; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 13px; color: #dc3232; }

/* ---- Enquiry cart page -------------------------------------------------------- */
.gw-cart { padding: 60px 0 80px; }
.gw-cart .shop_table { width: 100%; border-collapse: collapse; }
.gw-cart .shop_table th, .gw-cart .shop_table td { padding: 15px 12px; border-bottom: 1px solid var(--bzo-border-color, #e5e5e5); text-align: left; vertical-align: middle; }
.gw-cart .shop_table th { font-family: var(--bzo-title-typo-font-family, inherit); font-weight: 500; color: var(--bzo-title-color, #121212); }
.gw-cart .product-remove a { font-size: 22px; color: #999; }
.gw-cart .product-remove a:hover { color: var(--bzo-main-color); }
.gw-cart .product-thumbnail img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }
.gw-cart .variation { margin: 4px 0 0; font-size: 13px; color: #777; }
.gw-cart .variation dt, .gw-cart .variation dd { display: inline; margin: 0; }
.gw-cart .detail-qty { display: inline-flex; }
.gw-cart__layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gw-cart__summary { padding: 30px; background: var(--bzo-main-color-mix-bg, #faebe7); border-radius: 10px; }
.gw-cart__summary h2 { margin: 0 0 6px; font-size: 24px; }
.gw-cart__summary .gw-cart__total { display: flex; justify-content: space-between; margin: 0 0 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(0, 0, 0, .08); font-size: 18px; }
.gw-cart__summary p.gw-cart__note { font-size: 14px; margin-bottom: 18px; }
.gw-cart__summary .form-field { margin-bottom: 12px; }
.gw-cart__summary input, .gw-cart__summary textarea { width: 100%; padding: 10px 14px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 8px; background: #fff; }
.gw-cart__summary textarea { min-height: 90px; }
.gw-cart__summary .elbzotech-bt-default { width: 100%; }
.gw-cart__empty { text-align: center; padding: 30px 0 20px; }
.gw-cart__empty p { font-size: 18px; margin-bottom: 25px; }
@media (max-width: 991px) { .gw-cart__layout { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
    .gw-cart .shop_table thead { display: none; }
    .gw-cart .shop_table tr { display: grid; grid-template-columns: 70px 1fr auto; gap: 6px 12px; padding: 15px 0; border-bottom: 1px solid var(--bzo-border-color, #e5e5e5); }
    .gw-cart .shop_table td { padding: 0; border: 0; }
    .gw-cart .product-thumbnail { grid-row: span 3; }
    .gw-cart .product-remove { grid-column: 3; grid-row: 1; }
    .gw-cart .product-name { grid-column: 2; grid-row: 1; }
    .gw-cart .product-price { display: none; }
    .gw-cart .product-quantity, .gw-cart .product-subtotal { grid-column: 2 / 4; }
}

/* ---- Wishlist & compare pages -------------------------------------------------- */
.gw-list-page { padding: 60px 0 80px; }
.gw-list-page .shop_table { width: 100%; border-collapse: collapse; }
.gw-list-page .shop_table th, .gw-list-page .shop_table td { padding: 15px 12px; border-bottom: 1px solid var(--bzo-border-color, #e5e5e5); text-align: left; vertical-align: middle; }
.gw-list-page .product-thumbnail img { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; }
.gw-list-page .product-remove a { font-size: 22px; color: #999; }
.gw-list-page .wishlist-empty, .gw-list-page .empty { text-align: center; padding: 40px 0; }
.gw-compare-scroll { overflow-x: auto; }
.compare-list { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-list th, .compare-list td { padding: 15px; border: 1px solid var(--bzo-border-color, #e5e5e5); text-align: center; vertical-align: top; }
.compare-list th { width: 160px; text-align: left; font-weight: 500; background: #fafafa; }
.compare-list td img { max-width: 220px; width: 100%; height: auto; border-radius: 6px; }
.compare-list .remove a { color: #999; }
.compare-list .button { display: inline-block; padding: 10px 20px; border-radius: 30px; background: var(--bzo-main-color); color: #fff; }
.gw-list-page .button.alt { display: inline-block; padding: 10px 22px; border-radius: 30px; background: var(--bzo-main-color); color: #fff; }

/* ---- Blog (empty state) ------------------------------------------------------ */
.gw-blog-empty { padding: 40px 0; text-align: center; }

/* ---- Gallery tabs: only the selected panel is shown ------------------------------- */
.gw-gallery .e-n-tabs-content > [role="tabpanel"]:not(.e-active) { display: none; }
