/*
Theme Name: FortSport AI
Theme URI: https://fortsport.eu/
Author: Fort Sport OÜ
Description: Fort Sporti mobiilisõbralik WordPressi ja WooCommerce'i teema.
Version: 0.1.13
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: yonex-ai
*/

:root{--ink:#172337;--muted:#59667a;--blue:#1457a5;--pale:#f2f5f8;--line:#dde4eb;--white:#fff;--max:1220px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #eea800;outline-offset:3px}.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.site-header{position:relative;z-index:30;background:#fff;border-bottom:1px solid var(--line)}.header-inner{min-height:86px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;flex:none}.brand img{width:170px;max-height:66px;object-fit:contain}.primary-nav{margin-left:auto}.primary-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.primary-nav a{display:block;color:var(--ink);font-size:.9rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.header-actions{display:flex;align-items:center;gap:12px}.button,.wp-block-button__link,button[type=submit],input[type=submit]{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 22px;border:1px solid var(--blue);border-radius:4px;background:var(--blue);color:white;font-weight:700;cursor:pointer}.button:hover,.wp-block-button__link:hover,button[type=submit]:hover,input[type=submit]:hover{background:#0d407d;color:#fff;text-decoration:none}.button-outline{color:var(--blue);background:#fff}.button-outline:hover{color:#fff}.menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:white;color:var(--ink);border:1px solid var(--line);border-radius:4px;cursor:pointer}.menu-toggle svg{width:22px;height:22px}.site-main{min-height:52vh}.page-heading{padding:45px 0 22px}.page-heading h1,.entry-title{margin:0;font-size:clamp(2rem,4vw,3.3rem);line-height:1.13}.lead{font-size:1.15rem;color:var(--muted);max-width:780px}.content-area{padding-block:34px 80px}.entry-content>*:first-child{margin-top:0}.entry-content h2{font-size:clamp(1.5rem,2.4vw,2.3rem);line-height:1.2}.entry-content h3{font-size:1.35rem}.entry-content p{max-width:75ch}.entry-content iframe{max-width:100%}.section{padding-block:60px}.section-alt{background:var(--pale)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.section-head h2{margin:0;font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.2}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.card{overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff}.card-media{aspect-ratio:4/3;display:block;overflow:hidden;background:var(--pale)}.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.card:hover .card-media img{transform:scale(1.035)}.card-body{padding:18px}.card h3{margin:0 0 8px;font-size:1.1rem;line-height:1.3}.card p{margin:0;color:var(--muted);font-size:.94rem}.hero{min-height:420px;display:flex;align-items:center;background:#e9eef3 center/cover no-repeat}.hero-shade{width:100%;padding:70px 0;background:transparent}.hero h1{max-width:680px;margin:0 0 16px;font-size:clamp(2.4rem,5vw,5rem);line-height:1.05}.hero p{max-width:560px;font-size:1.2rem}.category-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.category-link{display:flex;align-items:end;min-height:210px;padding:26px;border-radius:5px;background:#e9eef3 center/cover no-repeat;color:#fff;font-size:2rem;font-weight:800;text-shadow:0 2px 10px #000}.category-link:hover{color:#fff;text-decoration:none;filter:brightness(.9)}.project-card .card-media{aspect-ratio:3/4}.site-footer{background:#142845;color:#fff;padding:54px 0 24px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px}.site-footer a{color:#fff}.site-footer h2,.site-footer h3{margin:0 0 14px}.footer-logo{width:170px}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:6px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.25);margin-top:34px;padding-top:20px;font-size:.9rem;color:#ced8e4}.post-meta{color:var(--muted);font-size:.9rem}.pagination{margin-top:35px}.pagination .page-numbers{display:inline-block;margin-right:5px;padding:7px 12px;border:1px solid var(--line);border-radius:3px}.pagination .current{background:var(--blue);color:#fff}.search-form{display:flex;gap:8px;max-width:600px}.search-form input[type=search]{min-width:0;flex:1;padding:10px 14px;border:1px solid var(--line)}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.woocommerce .products ul,.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:20px 0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto;margin:0;border:1px solid var(--line);border-radius:5px;overflow:hidden;padding:0 0 16px}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:#fff}.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .button{margin-left:15px;margin-right:15px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem;line-height:1.4}.woocommerce div.product{margin-top:25px}.woocommerce div.product div.images img{max-height:650px;object-fit:contain}.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--blue)}.woocommerce .woocommerce-breadcrumb{margin:0 0 20px;color:var(--muted)}.woocommerce .woocommerce-breadcrumb a{color:var(--blue)}.woocommerce-result-count,.woocommerce-ordering{margin-bottom:20px!important}
@media(max-width:950px){.menu-toggle{display:inline-flex}.header-inner{min-height:74px;flex-wrap:wrap;gap:10px}.brand img{width:145px}.header-actions{margin-left:auto}.primary-nav{display:none;order:3;width:100%;margin:0 0 12px}.primary-nav.is-open{display:block}.primary-nav ul{display:block}.primary-nav li{border-top:1px solid var(--line)}.primary-nav a{padding:13px 4px}.grid-four,.woocommerce .products ul,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.wrap{width:min(var(--max),calc(100% - 28px))}.header-actions .button{display:none}.hero{min-height:320px}.hero-shade{padding:46px 0}.section{padding-block:42px}.grid,.grid-four,.category-links,.footer-grid{grid-template-columns:1fr}.woocommerce .products ul,.woocommerce ul.products{gap:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.92rem}.category-link{min-height:150px}.section-head{align-items:start;flex-direction:column}.page-heading{padding-top:30px}.content-area{padding-block:24px 54px}}
.ya-text{margin-bottom:24px}.ya-image{max-width:700px;margin:30px 0}.ya-image img{display:block}.ya-blurb{padding:18px;border:1px solid var(--line);margin-bottom:12px}.entry-content details{padding:15px;border-bottom:1px solid var(--line)}.entry-content summary{cursor:pointer;font-weight:700}.ya-map{display:block;width:min(100%,640px);height:360px;border:0;margin:20px 0 35px}.woocommerce .product-shop-link{margin:20px 0}.entry-content .grid{margin-block:24px}
.category-link{background-color:#143659}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%!important;min-width:0;float:none!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{overflow-wrap:anywhere}
@media(max-width:640px){.site-header .header-actions .button{display:inline-flex!important;padding:8px 12px;font-size:.9rem}.woocommerce div.product .woocommerce-tabs table{display:block;max-width:100%;overflow-x:auto}}@media(max-width:360px){.site-header .header-actions .button{display:none!important}}
.catalog-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:34px}.catalog-sidebar{align-self:start;border:1px solid var(--line);border-radius:5px;padding:16px}.catalog-sidebar summary{font-weight:700;cursor:pointer}.catalog-sidebar .widget-title{font-size:1rem}.catalog-sidebar ul{list-style:none;margin:0;padding-left:12px}.catalog-sidebar li{margin:5px 0}.catalog-sidebar a{font-size:.9rem}.catalog-main{min-width:0}@media(max-width:950px){.catalog-layout{grid-template-columns:1fr;gap:18px}}
.header-search{position:relative}.header-search summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;cursor:pointer}.header-search summary::-webkit-details-marker{display:none}.header-search svg{width:22px;height:22px}.header-search .search-form{position:absolute;right:0;top:50px;z-index:50;width:min(330px,calc(100vw - 28px));max-width:none;padding:12px;border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:0 8px 28px #0002}.header-search .search-form input[type=submit]{padding-inline:12px}@media(max-width:640px){.header-inner{gap:4px}.header-actions{gap:3px}.brand img{width:140px}}
.woocommerce div.product .summary .woocommerce-tabs{clear:none;margin:28px 0 0;width:100%}.woocommerce div.product .summary .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0}.woocommerce div.product .summary .woocommerce-tabs ul.tabs::before{display:none}.woocommerce div.product .summary .woocommerce-tabs ul.tabs li{margin:0;border-radius:4px 4px 0 0}.woocommerce div.product .summary .woocommerce-tabs .panel{margin:0;padding:20px 0 0;overflow-wrap:anywhere}.woocommerce div.product .summary .woocommerce-tabs .panel h2:first-child{margin-top:0}
.woocommerce div.product .related,.woocommerce div.product .upsells{clear:both;width:100%;padding-top:42px}
.woocommerce div.product .summary a.product-shop-link{max-width:100%;background:#7fbd32;color:#13200d;border-color:#6ca62a;font-weight:800;text-align:center;white-space:normal}.woocommerce div.product .summary a.product-shop-link:hover{background:#6cab27;color:#13200d;border-color:#5e9822}
.hero h1,.hero p{color:#fff;text-shadow:0 2px 5px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.7)}
.woocommerce div.product{display:flow-root}
.category-link{min-height:260px;background-position:center;background-size:cover}@media(max-width:640px){.category-link{min-height:190px}}
.category-link:nth-child(2){background-position:center 6%}
.ya-carousel-controls{display:flex;justify-content:flex-end;gap:8px;margin:-6px 0 12px}.ya-carousel-controls button{width:42px;height:42px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer}.ya-carousel-controls button:hover{border-color:var(--blue);color:var(--blue)}.ya-carousel-controls button:disabled{opacity:.4;cursor:default}.ya-product-carousel .woocommerce ul.products{display:flex!important;flex-wrap:nowrap!important;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;margin:0;padding:0 0 14px}.ya-product-carousel .woocommerce ul.products li.product{flex:0 0 clamp(200px,22vw,240px);width:auto!important;min-width:0;margin:0!important;scroll-snap-align:start}.ya-product-carousel .woocommerce ul.products li.product a img{margin-bottom:0}@media(max-width:640px){.ya-product-carousel .woocommerce ul.products li.product{flex-basis:72%}}
.ya-product-carousel{position:relative}.ya-carousel-controls{position:absolute;z-index:2;top:clamp(79px,calc(11vw - 21px),99px);left:8px;right:8px;display:flex;justify-content:space-between;margin:0;pointer-events:none}.ya-carousel-controls button{border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 2px 12px rgba(0,0,0,.18);pointer-events:auto}.ya-carousel-controls button:disabled{opacity:.55}@media(max-width:640px){.ya-carousel-controls{top:calc(36vw - 31px);left:7px;right:7px}}
.ya-news-carousel{position:relative}.ya-news-carousel .grid{display:flex;flex-wrap:nowrap;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;margin:0;padding:0 0 14px}.ya-news-carousel .card{flex:0 0 clamp(260px,31vw,380px);min-width:0;scroll-snap-align:start}.ya-news-carousel .ya-carousel-controls{top:clamp(76px,calc(11.625vw - 21px),122px)}@media(max-width:640px){.ya-news-carousel .card{flex-basis:82%}.ya-news-carousel .ya-carousel-controls{top:calc(30.75vw - 30px)}}
.ya-product-carousel .woocommerce ul.products,.ya-news-carousel .grid{scrollbar-width:none;-ms-overflow-style:none;padding-bottom:0}.ya-product-carousel .woocommerce ul.products::-webkit-scrollbar,.ya-news-carousel .grid::-webkit-scrollbar{display:none;width:0;height:0}
@media(max-width:640px){.site-header .header-actions .button{display:inline-flex!important;padding:7px 9px;font-size:.85rem}.site-header .brand img{width:118px}}
@media(max-width:360px){.site-header .header-actions .button{display:inline-flex!important}}
@media(max-width:640px){.woofc-count{display:none!important}}
.legacy-section{margin:0 0 28px}.legacy-row{display:flex;flex-wrap:wrap;gap:24px}.legacy-column{flex:1 1 250px;min-width:0}.legacy-blurb{margin:0 0 24px}.legacy-blurb h3{margin:0 0 8px}.legacy-section img{max-width:100%;height:auto}
.legacy-code .mapouter,.legacy-code .gmap_canvas,.legacy-code iframe{width:100%!important;max-width:100%}
.site-header .brand img{width:240px;max-height:68px}
@media(max-width:640px){.site-header .brand img{width:clamp(118px,35vw,160px)}}

/* Keep optional racket strings compact until the shopper chooses to browse them. */
.single-product .ya-string-picker{width:100%;max-width:none}
.single-product .ya-string-picker .wcpa_field_label,.single-product .ya-string-picker .wcpa_field_desc{display:none}
.single-product .ya-string-picker .wcpa_field_bottom{display:none}
.single-product .ya-string-toggle{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;margin:8px 0;padding:12px 42px 12px 14px;border:1px solid #cbd5df;border-radius:6px;background:#f8fafc;color:#182436;text-align:left;cursor:pointer}
.single-product .ya-string-toggle:hover,.single-product .ya-string-toggle:focus-visible{border-color:#147ac3;outline:2px solid transparent;box-shadow:0 0 0 2px #147ac333}
.single-product .ya-string-toggle-title{font-weight:700;line-height:1.25}
.single-product .ya-string-toggle-detail{font-size:.9rem;line-height:1.35;color:#536174}
.single-product .ya-string-toggle-arrow{position:absolute;right:15px;top:50%;font-size:1.55rem;line-height:1;transform:translateY(-55%)}
.single-product .ya-string-picker-open .ya-string-toggle-arrow{transform:translateY(-45%) rotate(180deg)}
.single-product .ya-string-picker .wcpa_field[hidden]{display:none!important}
.single-product .ya-string-picker .wcpa_field:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:8px 0 16px}
.single-product .ya-string-picker .wcpa_image{display:block!important;width:auto!important;min-width:0;margin:0!important}
.single-product .ya-string-picker .wcpa_image label{display:flex!important;align-items:center;gap:9px;height:100%;min-height:66px;margin:0!important;padding:7px 9px!important;border:1px solid #d9e1e8;border-radius:5px;background:#fff;cursor:pointer}
.single-product .ya-string-picker .wcpa_image label:hover{border-color:#147ac3}
.single-product .ya-string-picker .wcpa_image:has(input:checked) label{border-color:#147ac3;background:#edf7ff}
.single-product .ya-string-picker .wcpa_img_wrap{flex:0 0 42px;width:42px!important;height:42px!important;margin:0!important}
.single-product .ya-string-picker .wcpa_img_wrap img{width:100%!important;height:100%!important;object-fit:contain}
.single-product .ya-string-picker .wcpa_image_label{min-width:0;font-size:.85rem;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:640px){.single-product .ya-string-picker .wcpa_field:not([hidden]){grid-template-columns:1fr}.single-product .ya-string-picker .wcpa_image label{min-height:60px}}
.woocommerce-checkout-review-order-table{overflow:visible!important}
.woocommerce-checkout-review-order-table tr.montonio-pickup-point td{padding:18px!important;background:#eef5fb;border-left:4px solid var(--blue)!important}
.montonio-pickup-point-select-wrapper>label{display:block;margin-bottom:8px;font-size:1.1rem;font-weight:700}
.montonio-pickup-point .choices.is-open{z-index:1000}
.montonio-pickup-point .choices__list--dropdown{z-index:1001;box-shadow:0 8px 24px rgba(23,35,55,.2)}
.catalog-sidebar>.product-categories>li>a{font-weight:700}
@media(max-width:950px){.catalog-sidebar[open]{max-height:min(65vh,480px);overflow-y:auto}}
.hero-shade .wrap{text-align:center}
.hero h1{max-width:900px;margin:0 auto 26px;font-size:clamp(2.3rem,4.2vw,3.5rem);text-transform:uppercase}
.hero-sport-line{white-space:nowrap}
@media(max-width:360px){.hero h1{font-size:1.9rem}}
.header-cart{gap:8px}.header-cart svg{width:20px;height:20px;flex:none}
@media(max-width:640px){.site-header .header-actions .header-cart{width:44px;min-width:44px;padding:0!important}.header-cart-text{display:none}}
.catalog-sidebar li.current-cat>a{display:block;margin:0 -8px;padding:5px 8px;border-left:3px solid var(--blue);border-radius:3px;background:#eaf2fb;color:var(--ink);font-weight:800}
.catalog-sidebar li.current-cat-parent>a{font-weight:700}
.ya-product-carousel .woocommerce ul.products li.product{display:flex;flex-direction:column}
.ya-product-carousel .woocommerce ul.products li.product>.woocommerce-LoopProduct-link{display:block;flex:1 1 auto}
.ya-product-carousel .woocommerce ul.products li.product>.view-product-button{align-self:flex-start;margin-top:auto}
