/*
Theme Name: Range Speed
Description: Independent bilingual WordPress and WooCommerce theme for Range Speed.
Version: 0.1.5
Text Domain: range-speed
Requires PHP: 7.4
*/

:root{--rs-ink:#101915;--rs-panel:#152720;--rs-gold:#e3bd89;--rs-paper:#f1ede2;--rs-cream:#f3e8d0;--rs-border:#69624f}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--rs-paper);color:var(--rs-ink);font:16px/1.65 var(--rs-ui-font,system-ui,sans-serif)}
a{color:inherit}
img{max-width:100%;height:auto;vertical-align:middle}
button,input,select,textarea{font:inherit}
:focus-visible{outline:2px solid var(--rs-gold);outline-offset:3px}
.range-shell{width:min(100% - 36px,1440px);margin-inline:auto}
.range-header,.range-footer{background:var(--rs-ink);color:var(--rs-cream)}
.range-header .range-shell{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 30px;padding-block:20px}
.range-header nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px}
.range-header a,.range-footer a{text-decoration:none}
.range-header a:hover,.range-footer a:hover{color:var(--rs-gold)}
.range-wordmark{font:700 clamp(25px,3vw,36px)/1.2 Georgia,serif;letter-spacing:.08em;white-space:nowrap}
.range-footer .range-shell{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-block:36px}
.range-footer h2{font-size:1.2rem;color:var(--rs-gold);margin:0 0 8px}
.range-footer p,.range-footer address{margin:0 0 8px;font-style:normal}
.range-content,.range-commerce{padding-block:clamp(22px,4vw,54px)}
.range-content h1,.range-commerce h1{line-height:1.25}
.range-commerce:has(.range-shop-tools) h1{font-size:clamp(29px,4vw,45px);text-align:center;margin:0 0 24px}
.range-shop-tools{display:grid;grid-template-columns:minmax(0,8rem) minmax(0,12rem) 1fr;gap:8px;align-items:start}
.range-shop-tools .woocommerce-ordering{grid-row:1;grid-column:2;margin:0;width:100%}
.range-shop-tools .woocommerce-ordering>span{display:none}
.range-shop-tools .woocommerce-ordering select{width:100%;box-sizing:border-box}
.range-shop-tools .woocommerce-result-count{grid-row:1;grid-column:3;margin:0;align-self:center;text-align:end}
.range-shop-tools .woocommerce-notices-wrapper{grid-column:1/-1}
@media(max-width:680px){.range-shop-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.range-shop-tools .woocommerce-result-count{grid-row:3;grid-column:1/-1;text-align:start}}
.range-skip{position:absolute;inset-inline-start:12px;top:-100px;z-index:100000;background:var(--rs-gold);color:var(--rs-ink);padding:10px}
.range-skip:focus{top:12px}
.range-content img{max-inline-size:100%}
.range-commerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,2vw,24px);margin:24px 0;padding:0;list-style:none}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand,.tax-brand) .range-commerce{max-width:1000px}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand,.tax-brand) .range-commerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.range-commerce ul.products::before,.range-commerce ul.products::after{content:none}
.range-commerce ul.products li.product{width:auto;float:none;margin:0;min-width:0;display:flex;flex-direction:column;border:1px solid var(--rs-border);background:#1d2821;color:var(--rs-cream);overflow:hidden;border-radius:7px}
.range-commerce ul.products li.product>a{color:inherit;text-decoration:none}
.range-part-photo{background:var(--rs-paper);isolation:isolate}
.range-commerce ul.products li.product img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--rs-paper);padding:10px;margin:0}
.range-part-photo img,.range-commerce .product .woocommerce-product-gallery img{mix-blend-mode:multiply}
.range-commerce .rs-system-nav a{text-decoration:none}
.range-commerce .woocommerce-ordering select{min-height:42px;padding:5px 12px;border:1px solid var(--rs-border);border-radius:5px;background:#faf7ef;color:var(--rs-ink)}
.range-commerce ul.products li.product :is(.woocommerce-loop-product__title,.price){padding:8px 12px;margin:0;color:inherit}
.range-commerce ul.products li.product .rs-card-description{display:block;color:var(--rs-cream);padding:0 12px 8px;line-height:1.55}
.range-commerce ul.products li.product .rs-card-actions{padding:8px;margin-block-start:auto}
.range-commerce .woocommerce-pagination{margin-block:24px}
.range-commerce .woocommerce-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;list-style:none;gap:10px;padding:0}
.range-commerce .product .woocommerce-product-gallery img{background:var(--rs-paper);object-fit:contain}
.range-commerce .woocommerce-product-gallery .flex-control-thumbs{display:flex;justify-content:space-evenly;gap:8px;padding:0;margin-block:12px;list-style:none}
.range-commerce .woocommerce-product-gallery .flex-control-thumbs li{width:min(22%,120px);float:none}
.range-commerce .woocommerce-product-gallery .flex-control-thumbs img{width:100%;aspect-ratio:1;object-fit:contain}
.rtl .range-commerce .product .woocommerce-product-gallery{float:left}
.rtl .range-commerce .product .summary{float:right}
.range-commerce .product .woocommerce-tabs{clear:both}
.range-product-sections{clear:both;padding-block:24px}
.range-product-sections section+section{margin-block-start:24px}
.range-product-sections table{width:100%;border-collapse:collapse}
.range-product-sections :is(td,th){padding:10px;border:1px solid var(--rs-border);overflow-wrap:anywhere}
.range-product-sections th{background:var(--rs-panel);color:var(--rs-cream)}
@media(max-width:970px){.range-commerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.range-header .range-shell{justify-content:center;text-align:center}.range-header nav{flex-basis:100%}.range-footer .range-shell{grid-template-columns:1fr}.range-commerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.rtl .range-commerce .product :is(.woocommerce-product-gallery,.summary){float:none;width:100%}}
@media(max-width:350px){.range-commerce ul.products{grid-template-columns:1fr}}
@media(max-width:720px){body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand,.tax-brand) .range-commerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,2vw,16px)}}
@media(max-width:350px){body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.tax-product_brand,.tax-brand) .range-commerce ul.products{grid-template-columns:1fr}}
