/* Flokker Single Product Page & Inquiry Modal Styles */
/* ==========================================================================
   10. TOOTELEHE (SINGLE PRODUCT PAGE) — PREEMIUM DISAIN
   Brändi enda tegelikel Astra global-color tokenitel põhinev (teal #00AC97 /
   ink #14261C), asendab varasema teemavõõra sinise (#2b6cb0) palett.
   Tagab 100% ülekirjutuse ka Elementor Pro malli 5767 puhul.
   ========================================================================== */

body.single-product {
    --fk-accent: #00AC97;        /* bränditeal — dekoratiivne (glow/gradient/aktsent), MITTE tekst/nupp */
    --fk-accent-ink: #066B5C;    /* WCAG AA-ohutu tumeteal — tekst, nupud, piirjooned, fookus */
    --fk-accent-hover: #054F44;  /* nupu hover-toon */
    --fk-accent-soft: #E3F5F2;   /* helesinakasroheline taust plaatidele/märgistele */
    --fk-ink: #14261C;           /* pealkirjade tume tekst (= brändi --ast-global-color-1) */
    --fk-body: #4F5655;          /* põhitekst (= brändi --ast-global-color-2) */
    --fk-mist: #F4F7F5;          /* õrn taustatoon */
    --fk-paper: #F8F4EA;         /* soe kraft-paberi toon galerii jaoks */
    --fk-line: #E1E7E2;          /* piirjooned */
    --fk-line-soft: #ECF1EC;
}

/* 1. Tühjade vahedetailide ja spacerite peitmine */
body.single-product .elementor-element-dcb3b9a,
body.single-product .elementor-element-819bc28,
.elementor-5767 .elementor-element.elementor-element-dcb3b9a,
.elementor-5767 .elementor-element.elementor-element-819bc28 {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Leivapuru (Breadcrumbs) — lihtne tekstivoog.
   NB: varasem inline-flex + gap muutis iga eraldaja ja &nbsp; omaette flex-elemendiks,
   mistõttu üherealine leivapuru murdus 1440px ekraanil kolmele reale (72px kõrgus).
   Elementori widget oli lisaks piiratud 403px laiusega — see vabastatakse siin. */
body.single-product .elementor-widget-woocommerce-breadcrumb,
body.single-product .elementor-element-153ad250,
.elementor-5767 .elementor-element.elementor-element-153ad250,
.elementor-5767 .elementor-widget-woocommerce-breadcrumb {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    max-width: 100% !important;
}

body.single-product .woocommerce-breadcrumb {
    position: static !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    color: #7C8580 !important;
}

body.single-product .woocommerce-breadcrumb a {
    color: var(--fk-body) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

body.single-product .woocommerce-breadcrumb a:hover {
    color: var(--fk-accent-ink) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

body.single-product .fk-bc-sep {
    color: #C3CCC6 !important;
    margin: 0 7px !important;
    font-size: 0.8em !important;
}

body.single-product .fk-bc-current {
    color: var(--fk-ink) !important;
    font-weight: 600 !important;
}

/* 2b. Kategooria "eyebrow" silt pealkirja kohal (lisatud PHP puhvriga) */
.flokker-product-eyebrow {
    margin: 0 0 10px !important;
}

.flokker-product-eyebrow a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--fk-accent-ink) !important;
    text-decoration: none !important;
    padding-bottom: 3px !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
}

.flokker-product-eyebrow a::before {
    content: "" !important;
    width: 16px !important;
    height: 1.5px !important;
    background: var(--fk-accent) !important;
    display: inline-block !important;
}

.flokker-product-eyebrow a:hover {
    color: var(--fk-ink) !important;
    border-color: var(--fk-accent-ink) !important;
}

/* Toote spetsifikatsiooni ruudustik kirjelduse vahekaardil */
.flokker-specs-heading {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--fk-ink) !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.015em !important;
}

.flokker-specs-intro {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: var(--fk-body) !important;
    max-width: 68ch !important;
    margin: 0 0 26px !important;
}

.flokker-specs-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 12px !important;
}

.flokker-specs-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: var(--fk-mist) !important;
    border: 1px solid var(--fk-line) !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    color: var(--fk-body) !important;
    transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.flokker-specs-list li:hover {
    border-color: var(--fk-accent-ink) !important;
    transform: translateY(-2px) !important;
}

.flokker-spec-icon {
    flex-shrink: 0 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    background: var(--fk-accent-soft) !important;
    color: var(--fk-accent-ink) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flokker-spec-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.flokker-specs-list li strong {
    display: block !important;
    color: var(--fk-ink) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 3px !important;
}

.flokker-specs-list li > div > span {
    display: block !important;
    line-height: 1.45 !important;
}

.flokker-specs-note {
    color: #7C8580 !important;
    font-size: 0.875rem !important;
    margin-top: 18px !important;
}

/* 2c. Usaldusmärgiste rida (lisatud PHP puhvriga, "Lisa korvi" vormi järel) */
.flokker-trust-badges {
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 24px !important;
    margin: 0 0 26px !important;
    padding: 16px 0 0 !important;
    border-top: 1px dashed var(--fk-line) !important;
}

.flokker-trust-badges li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.83rem !important;
    font-weight: 600 !important;
    color: var(--fk-body) !important;
}

.flokker-trust-badges svg {
    width: 19px !important;
    height: 19px !important;
    flex-shrink: 0 !important;
    color: var(--fk-accent-ink) !important;
}

/* 3. Peamine tootekonteiner ja veergude proportsioonid */
@media (min-width: 768px) {
    body.single-product .elementor-element-7902d1b9,
    .elementor-5767 .elementor-element.elementor-element-7902d1b9 {
        max-width: 1200px !important;
        margin: 24px auto 40px !important;
        padding: 0 20px !important;
    }
}

/* 4. Tootegalerii ja pildiraam — pehme "paberi" gradient, hõljuv vari, zoom-hover */
body.single-product .woocommerce-product-gallery,
body.single-product .elementor-widget-woocommerce-product-images,
.elementor-5767 .elementor-widget-woocommerce-product-images {
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    border-radius: 18px !important;
    overflow: hidden !important;
    background: radial-gradient(130% 130% at 50% 0%, #ffffff 0%, var(--fk-mist) 62%, var(--fk-paper) 100%) !important;
    border: 1px solid var(--fk-line) !important;
    box-shadow: 0 1px 2px rgba(20, 38, 28, 0.04), 0 30px 60px -36px rgba(20, 38, 28, 0.22) !important;
    position: relative !important;
}

body.single-product .woocommerce-product-gallery img {
    border-radius: 14px !important;
    object-fit: contain !important;
    max-height: 550px !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.single-product .woocommerce-product-gallery:hover img {
    transform: scale(1.035) !important;
}

/* Galerii pisipildid */
body.single-product .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-product .flex-control-thumbs li {
    width: 64px !important;
    height: 64px !important;
}

body.single-product .flex-control-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    border: 1.5px solid var(--fk-line) !important;
    background: #ffffff !important;
    opacity: 0.72 !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease !important;
}

body.single-product .flex-control-thumbs img:hover {
    opacity: 1 !important;
    transform: translateY(-2px) !important;
}

body.single-product .flex-control-thumbs img.flex-active {
    border-color: var(--fk-accent-ink) !important;
    opacity: 1 !important;
}

/* 4b. Galerii ja kokkuvõtte veeru tasakaal.
   Mall kasutab 33/66 jaotust, mis jättis 1440px ekraanil tootepildi vaid 215px
   laiuseks — väike pilt on kõige tugevam "odava" mulje tekitaja tootelehel. */
@media (min-width: 992px) {
    body.single-product .elementor-element-6422241a {
        width: 44% !important;
        max-width: 44% !important;
        flex: 0 0 44% !important;
    }

    body.single-product .elementor-element-1696d2d7 {
        width: 56% !important;
        max-width: 56% !important;
        flex: 0 0 56% !important;
    }
}

/* 4c. Pealkirja ja lühikirjelduse vaheline surnud ruum (84px → ~14px).
   Tühi shortcode-widget ja virnastatud 30px/20px välisvahed. Marginid nullitakse,
   widgetit ennast ei peideta — teistel toodetel võib see sisu kanda. */
body.single-product .elementor-element-366c876 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.single-product .elementor-element-9bc1315 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* 5. Toote pealkiri */
body.single-product h1.product_title,
body.single-product .elementor-element-4c5ebcf2 .product_title,
.elementor-5767 .elementor-element.elementor-element-4c5ebcf2 .product_title {
    font-size: clamp(1.65rem, 1.1rem + 1.6vw, 2.4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: var(--fk-ink) !important;
    line-height: 1.2 !important;
    margin: 0 0 14px 0 !important;
}

/* 6. Lühikirjeldus */
body.single-product .woocommerce-product-details__short-description {
    font-size: 0.975rem !important;
    line-height: 1.65 !important;
    color: var(--fk-body) !important;
    margin: 0 0 20px 0 !important;
}

/* 7. Hind */
body.single-product .elementor-element-4c32597c .price,
body.single-product p.price,
.elementor-5767 .elementor-element.elementor-element-4c32597c .price {
    font-size: 2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    color: var(--fk-ink) !important;
    margin: 2px 0 18px 0 !important;
    display: block !important;
}

body.single-product .price .woocommerce-Price-currencySymbol {
    font-size: 0.62em !important;
    font-weight: 700 !important;
    color: var(--fk-accent-ink) !important;
}

/* 8. Laoseisu märgis */
p.ast-stock-detail {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 7px 14px !important;
    background-color: var(--fk-accent-soft) !important;
    border: 1px solid rgba(6, 107, 92, 0.25) !important;
    border-radius: 999px !important;
    color: var(--fk-accent-ink) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    margin: 0 0 22px 0 !important;
    letter-spacing: 0.01em !important;
}

p.ast-stock-detail::before {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: var(--fk-accent) !important;
    box-shadow: 0 0 0 3px rgba(0, 172, 151, 0.25) !important;
    flex-shrink: 0 !important;
}

/* 9. Koguse valik ja "Lisa korvi" nupp */
.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin: 0 0 8px 0 !important;
}

.single-product form.cart .quantity {
    margin: 0 !important;
    float: none !important;
}

.single-product form.cart .quantity .qty {
    height: 52px !important;
    width: 72px !important;
    border: 1.5px solid var(--fk-line) !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    background-color: #ffffff !important;
    color: var(--fk-ink) !important;
    padding: 0 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.single-product form.cart .quantity .qty:focus-visible {
    outline: none !important;
    border-color: var(--fk-accent-ink) !important;
    box-shadow: 0 0 0 4px var(--fk-accent-soft) !important;
}

.single-product form.cart button.single_add_to_cart_button,
.single-product .elementor-element-5555325c .cart button {
    height: 52px !important;
    padding: 0 32px 0 28px !important;
    background-color: var(--fk-accent-ink) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 !important;
    box-shadow: 0 14px 28px -14px rgba(6, 107, 92, 0.55) !important;
    transition: background-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease !important;
}

.flokker-cart-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

.single-product form.cart button.single_add_to_cart_button:hover,
.single-product .elementor-element-5555325c .cart button:hover {
    background-color: var(--fk-accent-hover) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 34px -14px rgba(6, 107, 92, 0.6) !important;
}

.single-product form.cart button.single_add_to_cart_button:focus-visible {
    outline: 3px solid var(--fk-ink) !important;
    outline-offset: 2px !important;
}

/* 10. Toote metaandmed (Tootekood, Kategooriad, Sildid) puhta plokina */
.product_meta {
    border-top: 1px solid var(--fk-line) !important;
    padding-top: 22px !important;
    margin-top: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
}

.product_meta .detail-container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.product_meta .detail-label {
    font-weight: 700 !important;
    color: var(--fk-ink) !important;
    min-width: 95px !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.product_meta .sku {
    font-family: 'SFMono-Regular', Consolas, monospace !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    background: var(--fk-mist) !important;
    color: var(--fk-ink) !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    border: 1px solid var(--fk-line) !important;
}

.product_meta .detail-content a {
    display: inline-block !important;
    background: #ffffff !important;
    color: var(--fk-accent-ink) !important;
    border: 1px solid var(--fk-line) !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-right: 4px !important;
    transition: all 0.2s ease !important;
}

.product_meta .detail-content a:hover {
    background: var(--fk-accent-ink) !important;
    color: #ffffff !important;
    border-color: var(--fk-accent-ink) !important;
}

/* 11. Toote lisainfo ja kirjelduse vahekaardid
   PARANDUS: varem said nii .woocommerce-tabs kui ka selle Elementori vanem
   (.elementor-element-58940eb) SAMA kaardistiili — tulemuseks kaks sisestikku
   raamitud kasti, topelt 32px polsterdus ja topelt 40px välisvahe. Koos veeru
   70px polsterdusega sõi see 600px veerust 272px ära ja surus
   spetsifikatsiooniruudustiku ühte 288px veergu. Kaart on nüüd ainult ühel
   elemendil ja vanem on nulli viidud. */
.elementor-element-58940eb {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.woocommerce-tabs.wc-tabs-wrapper {
    max-width: 1200px !important;
    margin: 40px auto !important;
    background: #ffffff !important;
    border: 1px solid var(--fk-line) !important;
    border-radius: 18px !important;
    padding: 32px 36px !important;
    box-shadow: 0 2px 10px rgba(20, 38, 28, 0.03) !important;
}

/* Kirjelduse ja seotud toodete veerud täislaiusesse (mall paigutas need
   kõrvuti col-50 veergudesse, mis surus kirjelduse 328px laiuseks). */
@media (min-width: 768px) {
    body.single-product .elementor-element-543e1fba > .elementor-container {
        display: block !important;
    }

    body.single-product .elementor-element-7abddc91,
    body.single-product .elementor-element-34dba7f7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    body.single-product .elementor-element-7abddc91 > .elementor-widget-wrap,
    body.single-product .elementor-element-34dba7f7 > .elementor-widget-wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Ühe vahekaardi puhul on vahekaardiriba mõttetu müra — peidame selle ja
   laseme paneeli <h2> pealkirjal rolli täita (parandab ka pealkirjade hierarhiat). */
.woocommerce-tabs ul.wc-tabs:has(li:only-child),
.woocommerce-tabs.fk-single-tab ul.wc-tabs {
    display: none !important;
}

.woocommerce-tabs ul.wc-tabs {
    border-bottom: 1px solid var(--fk-line-soft) !important;
    margin-bottom: 26px !important;
    padding-bottom: 0 !important;
    display: flex !important;
    gap: 8px !important;
}

.woocommerce-tabs ul.wc-tabs li {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-tabs ul.wc-tabs li a {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--fk-body) !important;
    padding: 10px 18px !important;
    display: inline-block !important;
    border-radius: 999px 999px 0 0 !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}

.woocommerce-tabs ul.wc-tabs li a:hover,
.woocommerce-tabs ul.wc-tabs li a:focus-visible {
    color: var(--fk-accent-ink) !important;
    background: var(--fk-accent-soft) !important;
    outline: none !important;
}

.woocommerce-tabs ul.wc-tabs li.active a {
    color: var(--fk-accent-ink) !important;
    border-bottom: 2px solid var(--fk-accent-ink) !important;
}

/* Astra annab paneelile halli tausta (#f2f2f2), mis tekitas valge kaardi sees
   teise halli kasti. Taust läbipaistvaks — kaart ise kannab tausta. */
.woocommerce-Tabs-panel--description {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: var(--fk-body) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.woocommerce-Tabs-panel--description p {
    margin-bottom: 12px !important;
    line-height: 1.75 !important;
}

/* 12. Seotud toodete sektsioon (Related Products) */
.related.products,
.elementor-widget-woocommerce-product-related {
    max-width: 1200px !important;
    margin: 40px auto 60px !important;
    padding: 0 20px !important;
}

.related.products > h2,
.elementor-widget-woocommerce-product-related .products > h2 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--fk-ink) !important;
    margin-bottom: 24px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-left: 4px solid var(--fk-accent) !important;
    padding-left: 12px !important;
}

.related.products ul.products,
.elementor-widget-woocommerce-product-related ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.related.products ul.products li.product,
.elementor-widget-woocommerce-product-related ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--fk-line) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.related.products ul.products li.product:hover,
.elementor-widget-woocommerce-product-related ul.products li.product:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 26px -12px rgba(20, 38, 28, 0.14) !important;
    border-color: var(--fk-accent-ink) !important;
}

.related.products ul.products li.product img,
.elementor-widget-woocommerce-product-related ul.products li.product img {
    border-radius: 8px !important;
    background: var(--fk-mist) !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 200px !important;
    margin-bottom: 12px !important;
}

.related.products ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-product-related ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--fk-ink) !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.related.products ul.products li.product .price,
.elementor-widget-woocommerce-product-related ul.products li.product .price {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--fk-accent-ink) !important;
    margin-top: auto !important;
}

/* 13. Sisenemisanimatsioon (galerii + kokkuvõtte veerg) — austab reduced-motion eelistust */
@media (prefers-reduced-motion: no-preference) {
    body.single-product .elementor-element-6422241a,
    body.single-product .elementor-element-1696d2d7 {
        animation: fk-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    body.single-product .elementor-element-1696d2d7 {
        animation-delay: 0.08s;
    }

    @keyframes fk-rise {
        from {
            opacity: 0;
            transform: translateY(14px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* ==========================================================================
   27. "ANNA OMA SOOVIST TEADA" – TELLIMISEL / LAOST OTSAS PÄRINGUSÜSTEEM
   ========================================================================== */

/* 1. Tootelehe päringublokk (CTA Box) */
.flokker-inquiry-box {
    margin: 12px 0 24px 0 !important;
    background: linear-gradient(135deg, #F4F7F5 0%, #EAF4F1 100%) !important;
    border: 1.5px solid #D1E5E0 !important;
    border-radius: 16px !important;
    padding: 22px 24px !important;
    box-shadow: 0 4px 16px rgba(6, 107, 92, 0.06) !important;
}

.flokker-inquiry-box-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.flokker-inquiry-badge-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.flokker-inquiry-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #066B5C !important;
    background-color: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(6, 107, 92, 0.2) !important;
}

.flokker-inquiry-badge-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background-color: #00AC97 !important;
    box-shadow: 0 0 0 2px rgba(0, 172, 151, 0.2) !important;
    display: inline-block !important;
}

.flokker-inquiry-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #14261C !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.flokker-inquiry-desc {
    font-size: 0.92rem !important;
    color: #4F5655 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.flokker-inquiry-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: 52px !important;
    padding: 0 32px !important;
    background-color: #066B5C !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    margin-top: 6px !important;
    align-self: flex-start !important;
    box-shadow: 0 12px 24px -8px rgba(6, 107, 92, 0.42) !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
}

.flokker-inquiry-btn:hover {
    background-color: #00AC97 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 28px -8px rgba(0, 172, 151, 0.5) !important;
}

.flokker-inquiry-btn:active {
    transform: translateY(0) !important;
}

.flokker-inquiry-btn-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* 2. Tootekataloogi / kategoorialehe nupp ("Anna soovist teada") */
.flokker-loop-inquiry-link,
a.button.flokker-loop-inquiry-link {
    background-color: #F4F7F5 !important;
    color: #066B5C !important;
    border: 1.5px solid #066B5C !important;
    border-radius: 999px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.flokker-loop-inquiry-link:hover,
a.button.flokker-loop-inquiry-link:hover {
    background-color: #066B5C !important;
    color: #ffffff !important;
    border-color: #066B5C !important;
    box-shadow: 0 6px 16px rgba(6, 107, 92, 0.25) !important;
}

/* 3. Päringu hüpikaken (Modal) */
.flokker-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.flokker-modal-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.flokker-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(20, 38, 28, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.flokker-modal-container {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 520px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 34px 32px 30px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(20px) scale(0.97) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.flokker-modal-overlay.is-active .flokker-modal-container {
    transform: translateY(0) scale(1) !important;
}

.flokker-modal-close {
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #F4F7F5 !important;
    border: none !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #4F5655 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    padding: 0 !important;
}

.flokker-modal-close:hover {
    background: #E1E7E2 !important;
    color: #14261C !important;
}

.flokker-modal-header {
    margin-bottom: 18px !important;
}

.flokker-modal-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background-color: #E3F5F2 !important;
    color: #066B5C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
}

.flokker-modal-icon svg {
    width: 24px !important;
    height: 24px !important;
}

#flokker-modal-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #14261C !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25 !important;
}

.flokker-modal-sub {
    font-size: 0.9rem !important;
    color: #4F5655 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.flokker-modal-product-summary {
    background-color: #F4F7F5 !important;
    border: 1px solid #E1E7E2 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin-bottom: 20px !important;
}

.flokker-modal-prod-label {
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #066B5C !important;
    margin-bottom: 2px !important;
}

.flokker-modal-prod-title {
    display: block !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #14261C !important;
    line-height: 1.3 !important;
}

.flokker-modal-prod-sku {
    display: inline-block !important;
    font-size: 0.8rem !important;
    color: #7C8580 !important;
    margin-top: 3px !important;
}

/* 4. Vormi väljad */
.flokker-inquiry-form .flokker-form-row {
    margin-bottom: 14px !important;
}

.flokker-inquiry-form .flokker-form-row-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

@media (max-width: 540px) {
    .flokker-inquiry-form .flokker-form-row-group {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

.flokker-inquiry-form label {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #14261C !important;
    margin-bottom: 6px !important;
}

.flokker-inquiry-form .fk-req {
    color: #d32f2f !important;
}

.flokker-inquiry-form input[type="text"],
.flokker-inquiry-form input[type="email"],
.flokker-inquiry-form input[type="tel"],
.flokker-inquiry-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border: 1.5px solid #D5DDD8 !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    font-size: 0.95rem !important;
    color: #14261C !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    font-family: inherit !important;
}

.flokker-inquiry-form input:focus,
.flokker-inquiry-form textarea:focus {
    border-color: #066B5C !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(6, 107, 92, 0.12) !important;
}

.flokker-inquiry-form textarea {
    resize: vertical !important;
    min-height: 80px !important;
}

.flokker-form-error {
    background-color: #FDF2F2 !important;
    border: 1px solid #F8B4B4 !important;
    color: #9B1C1C !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    margin-bottom: 14px !important;
}

.flokker-form-submit-btn {
    width: 100% !important;
    height: 52px !important;
    background-color: #066B5C !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 12px 24px -8px rgba(6, 107, 92, 0.42) !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.flokker-form-submit-btn:hover {
    background-color: #00AC97 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 16px 28px -8px rgba(0, 172, 151, 0.5) !important;
}

.flokker-form-submit-btn:disabled,
.flokker-form-submit-btn.is-loading {
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.flokker-form-submit-btn .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: fk-spin 0.8s linear infinite;
}

.flokker-form-submit-btn.is-loading .btn-spinner {
    display: inline-block;
}

@keyframes fk-spin {
    to { transform: rotate(360deg); }
}

.flokker-form-privacy {
    font-size: 0.78rem !important;
    color: #7C8580 !important;
    text-align: center !important;
    margin: 12px 0 0 0 !important;
    line-height: 1.4 !important;
}

/* 5. Edukas teavitusaken (Success View) */
.flokker-modal-success {
    text-align: center !important;
    padding: 24px 8px 12px !important;
}

.flokker-success-icon {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background-color: #E3F5F2 !important;
    color: #066B5C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 18px !important;
}

.flokker-success-icon svg {
    width: 36px !important;
    height: 36px !important;
}

.flokker-modal-success h3 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #14261C !important;
    margin: 0 0 10px 0 !important;
}

.flokker-modal-success p {
    font-size: 0.95rem !important;
    color: #4F5655 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
}

.flokker-modal-done-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 36px !important;
    background-color: #066B5C !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.flokker-modal-done-btn:hover {
    background-color: #00AC97 !important;
}

/* ==========================================================================
   ESTO Järelmaksu kalkulaatori peitmine laost otsas ja tellimisel toodetel
   ========================================================================== */
.outofstock #esto_calculator,
.outofstock .esto_calculator,
.outofstock .esto-calculator,
.flokker-inquiry-box ~ #esto_calculator,
.flokker-inquiry-box ~ .esto_calculator,
.flokker-inquiry-box ~ .esto-calculator,
.flokker-inquiry-wrapper ~ #esto_calculator,
.flokker-inquiry-wrapper ~ .esto_calculator,
.flokker-inquiry-wrapper ~ .esto-calculator,
body.outofstock #esto_calculator,
body.outofstock .esto_calculator,
body.outofstock .esto-calculator,
.product.outofstock #esto_calculator,
.product.outofstock .esto_calculator,
.product.outofstock .esto-calculator,
body:has(.flokker-inquiry-box) #esto_calculator,
body:has(.flokker-inquiry-box) .esto_calculator,
body:has(.flokker-inquiry-box) .esto-calculator {
    display: none !important;
}

