/* Kalastusekspert theme v5.5 – fondid ja tehnilised parandused.
   Laetakse pärast style.css-i. Vt README.txt "VERSIOON 5.5". */

/* ---------- Manrope (self-hosted, muutuv fond; latin + latin-ext: õ ä ö ü š ž) ---------- */
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/manrope-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/manrope-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{--ke-orange-text:#c2410c}   /* #ff5a00 tekstina heledal taustal ei läbi WCAG AA kontrasti (3,1:1) – see läbib (5,2:1) */

/* ---------- Ligipääsetavus ---------- */
.ke-skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:#0d1b2a;color:#fff;padding:12px 18px;border-radius:6px;font-weight:700}
.ke-skip-link:focus{left:12px;outline:3px solid #ff5a00}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.menu-toggle:focus-visible{outline:3px solid #ff5a00;outline-offset:2px}

.menu-toggle .ke-burger,.menu-toggle .ke-close{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.menu-toggle .ke-close{display:none}
.menu-toggle.is-open .ke-burger{display:none}
.menu-toggle.is-open .ke-close{display:block}

/* ---------- Kontrast: oranž tekst heledal taustal ---------- */
.ke-eyebrow,.woocommerce-Price-amount,.price ins,.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price,.price{color:var(--ke-orange-text)!important}
.price del,.price del .woocommerce-Price-amount{color:#56636d!important}
.ke-store-hero .ke-eyebrow,.ke-search-hero .ke-eyebrow{color:#ff5a00!important}   /* tumedal taustal jääb hele oranž */

/* ---------- Jalus ---------- */
.site-footer a{text-decoration:none}
.site-footer p a:hover{text-decoration:underline}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* ---------- v6.0: hooaja kiirfilter (Talv/Suvi) kategoorialehtedel ---------- */
.ke-season-filter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 28px;padding:16px 18px;background:#fff;border:1px solid #dfe3e2;border-radius:10px}
.ke-season-label{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#56636d;margin-right:2px}
.ke-season-filter .woocommerce-widget-layered-nav-list,
.ke-season-filter ul.wc-layered-nav-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.ke-season-filter .woocommerce-widget-layered-nav-list li,
.ke-season-filter ul.wc-layered-nav-list li{margin:0;padding:0;list-style:none}
.ke-season-filter .woocommerce-widget-layered-nav-list li a,
.ke-season-filter ul.wc-layered-nav-list li a,
.ke-season-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 18px;border:1.5px solid #dfe3e2;border-radius:999px;background:#f6f5f1;color:#0d1b2a;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;transition:border-color .15s,background-color .15s,color .15s}
.ke-season-filter .woocommerce-widget-layered-nav-list li a:hover,
.ke-season-filter ul.wc-layered-nav-list li a:hover,
.ke-season-pill:hover{border-color:#ff5a00;color:#c2410c}
.ke-season-pill.is-active,
.ke-season-filter .woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen a,
.ke-season-filter ul.wc-layered-nav-list li.chosen a{background:#ff5a00;border-color:#ff5a00;color:#fff}
.ke-season-filter .woocommerce-widget-layered-nav-list .count,
.ke-season-filter ul.wc-layered-nav-list .count{font-size:12px;font-weight:400;opacity:.75}
.ke-season-filter .woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen a::before,
.ke-season-filter .woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen a::after{content:none}
@media(max-width:600px){
  .ke-season-filter{padding:12px 14px;gap:8px}
  .ke-season-filter .woocommerce-widget-layered-nav-list li a,
  .ke-season-pill{padding:7px 14px;font-size:13px}
}

/* ---------- v6.8.0: kassa "Sinu tellimus" plokk ----------
   style.css'i reegel ".woocommerce table.shop_table th{background:var(--ke-black)}"
   on mõeldud tabeli PÄRISELE päisereale ("TOODE"/"VAHESUMMA"). Kuid WooCommerce'i
   tellimuse kokkuvõttes on ka iga rea ("Vahesumma", "Saadetis", "KM", "Kokku") vasak
   lahter <th>, mistõttu kõik need read said samuti musta tausta ja sulasid kokku
   üheks pikaks mustaks tulbaks – "Saadetis" rea kõrgema sisu (tarneviisi valik) tõttu
   jäi sinna ka suur tühi must ala. Piirame musta tausta ainult päris tabelipäisele. */
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot th{
  background:transparent!important;
  color:#0d1b2a!important;
  text-transform:none!important;
  font-size:.95rem!important;
  font-weight:700!important;
  letter-spacing:0!important;
  vertical-align:top!important;
  text-align:left!important;
}
.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td,
.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td{
  border-top:2px solid #0d1b2a!important;
  font-size:1.1rem!important;
  padding-top:16px!important;
}

/* Tarneviisi valik ilma mustast kastist: puhas, ühtlaste vahedega loend. */
.woocommerce-checkout #order_review ul#shipping_method{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.woocommerce-checkout #order_review ul#shipping_method li{margin:0!important;padding:10px 12px;border:1px solid #e4e7e5;border-radius:6px;background:#fff}
.woocommerce-checkout #order_review ul#shipping_method li label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;overflow-wrap:break-word;word-break:normal}
.woocommerce-checkout #order_review ul#shipping_method li input{flex:0 0 auto;margin:0}
.woocommerce-checkout #order_review table.shop_table tr.woocommerce-shipping-totals td{padding-top:14px!important;padding-bottom:14px!important}

/* Varasem "overflow-wrap:anywhere" murdis sõnu ka siis, kui vaja polnud. */
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{overflow-wrap:break-word!important;word-break:normal!important}

/* Maksmisviisi rida: kaardilogod ei tohi sõna "Kaardimakse" pooleks suruda –
   logod murduvad vajadusel omaette reale, silt ise jääb tervikuks (word-break:keep-all). */
.woocommerce-checkout #payment ul.payment_methods li{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px!important;border:1px solid #e4e7e5;border-radius:6px;margin:0 0 10px!important;background:#fff}
.woocommerce-checkout #payment ul.payment_methods li label{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;flex:1 1 auto;min-width:0;word-break:keep-all;overflow-wrap:normal;white-space:normal;font-weight:600;margin:0!important}
.woocommerce-checkout #payment ul.payment_methods li label img{height:22px!important;width:auto!important;max-width:160px!important;max-height:22px!important;object-fit:contain;flex:0 0 auto;margin:0!important;float:none!important}
.woocommerce-checkout #payment ul.payment_methods li input.input-radio{flex:0 0 auto;margin:0!important}
.woocommerce-checkout #payment ul.payment_methods li div.payment_box{flex-basis:100%;margin:10px 0 0!important}
.woocommerce-checkout #payment ul.payment_methods li div.payment_box::before{display:none!important}

@media(max-width:600px){
  .woocommerce-checkout #order_review ul#shipping_method li,
  .woocommerce-checkout #payment ul.payment_methods li{padding:10px!important}
}

/* ---------- v6.9.0: pakipunkti valik kohe valitud tarneviisi alla ----------
   MakeCommerce/Maksekeskus'e pakiautomaadi plugin lisab pakipunkti otsinguvälja
   omaette tabelireana KÕIGI tarneviiside (Omniva/DPD/SmartPosti) järele. Meie JS
   (assets/js/checkout-parcel-machine.js) tõstab selle rea SISU ümber otse valitud
   tarneviisi <li> alla; see CSS vastutab selle ilusa väljanägemise ja nähtavuse eest
   (nähtav ainult siis, kui JS lisab .is-open klassi valitud tarneviisi juurde). */
.woocommerce-checkout #order_review ul#shipping_method li{position:relative}
.woocommerce-checkout #order_review ul#shipping_method li .ke-parcel-machine-wrap{display:none;flex-basis:100%;width:100%;margin-top:10px;padding-top:10px;border-top:1px solid #e4e7e5}
.woocommerce-checkout #order_review ul#shipping_method li .ke-parcel-machine-wrap.is-open{display:block}
.woocommerce-checkout #order_review ul#shipping_method li .ke-parcel-machine-wrap .form-row{margin:0!important;padding:0!important}
.woocommerce-checkout #order_review ul#shipping_method li .ke-parcel-machine-wrap select,
.woocommerce-checkout #order_review ul#shipping_method li .ke-parcel-machine-wrap .parcel-machine-select-box{width:100%!important;max-width:100%!important;box-sizing:border-box}
/* Algne plugina tabelirida jääb DOM-i alles (plugin ise haldab seda oma klasside järgi),
   aga kuna selle sisu on JS-iga mujale tõstetud, ei tohi see enam ise nähtav olla. */
.woocommerce-checkout #order_review table.shop_table tr.parcel_machine_checkout{display:none!important}
