/*
Theme Name: my Beshop
Theme URI: https://mybeshop.com
Author: my Beshop
Description: RTL-ready WooCommerce storefront theme for my Beshop.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: my-beshop
*/
:root{--navy:#101d32;--navy2:#172941;--orange:#f07820;--orange-dark:#d95e0d;--cream:#fffaf4;--ink:#172033;--muted:#667085;--line:#ece7e0;--white:#fff;--radius:18px;--shadow:0 10px 32px rgba(18,29,47,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,"Noto Sans Hebrew",sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--orange-dark)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.wrap{width:min(1240px,calc(100% - 40px));margin-inline:auto}.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}.skip-link{position:absolute;top:-60px;right:12px;background:#fff;padding:10px;z-index:99}.skip-link:focus{top:12px}
.site-header{background:#fff;color:var(--ink);position:relative;z-index:5}.header-main{min-height:76px;display:flex;align-items:center;gap:28px}.brand{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:var(--ink);font-size:25px;font-weight:500;line-height:1}.brand:hover{color:var(--ink)}.brand-name b{font-weight:800}.brand-bird{color:var(--orange);display:block;width:42px;height:30px;flex:0 0 42px;transform:none}.custom-logo{max-height:54px;width:auto}.custom-logo-link{display:flex;align-items:center}.site-search{height:46px;display:flex;flex:1;max-width:560px;border-radius:12px;background:#fff;overflow:hidden;border:1px solid rgba(255,255,255,.35)}.site-search input{min-width:0;flex:1;border:0;padding:0 16px;background:transparent;color:var(--ink);outline:none}.site-search button{border:0;background:var(--orange);color:#fff;width:52px;font-size:27px;cursor:pointer}.header-actions{display:flex;align-items:center;gap:20px}.header-action{display:flex;align-items:center;gap:7px;font-size:14px;white-space:nowrap}.action-icon{font-size:20px}.cart-link{position:relative}.cart-count{font-style:normal;background:var(--orange);color:#fff;border-radius:99px;font-size:11px;min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;margin-inline-start:-5px}.primary-nav{border-top:1px solid rgba(16,29,50,.12);border-bottom:1px solid rgba(16,29,50,.12)}.nav-inner{min-height:46px;display:flex;align-items:center}.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0;width:100%}.primary-nav li{margin:0}.primary-nav li a{display:block;padding:10px 18px;font-size:14px;color:var(--ink)}.primary-nav li a:hover,.primary-nav .current-menu-item>a{color:var(--orange-dark)}.primary-nav li+li{border-inline-start:1px solid rgba(16,29,50,.12)}.menu-toggle{display:none;background:none;border:0;color:var(--ink);padding:8px}.menu-toggle span{display:block;width:22px;height:2px;background:var(--ink);margin:5px}
.hero{margin-block:26px 0;min-height:360px;border-radius:20px;overflow:hidden;background:var(--navy) url("assets/store-hero.png") left center/cover no-repeat;color:#fff;display:flex;align-items:center;position:relative}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(16,29,50,.97) 0%,rgba(16,29,50,.88) 38%,rgba(16,29,50,.05) 72%)}.hero-copy{position:relative;z-index:1;width:50%;padding:48px 6% 48px 3%;margin-inline-start:0;text-align:right}.eyebrow{display:inline-block;color:#ffc08c;background:rgba(240,120,32,.14);padding:6px 12px;border-radius:99px;font-size:13px;font-weight:700}.hero h1{font-size:clamp(34px,4vw,54px);line-height:1.16;margin:14px 0 10px;max-width:560px;color:#fff}.hero p{font-size:20px;color:#e8edf5;margin:0 0 24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:11px 23px;border-radius:11px;font-weight:700;transition:transform .18s,background .18s;cursor:pointer}.button:hover{transform:translateY(-2px)}.button-orange{background:var(--orange);color:#fff}.button-orange:hover{background:var(--orange-dark);color:#fff}.button-light{background:#fff;color:var(--navy)}.button-outline{border:1px solid var(--orange);color:var(--orange-dark);background:#fff}html[dir="ltr"] .hero-copy{margin-inline-start:auto;text-align:left}.hero-image{display:none}
.benefits{background:#fff4e8;margin-top:0}.benefits-row{min-height:62px;display:flex;align-items:center;justify-content:center;gap:clamp(20px,7vw,105px);color:#344054;font-weight:700}.benefits-row div{display:flex;align-items:center;gap:10px}.benefits-row span{color:var(--orange);font-size:23px}.category-section,.products-section{padding-top:36px;padding-bottom:20px}.section-heading{display:flex;align-items:center;justify-content:center;gap:24px;margin:0 auto 24px}.section-heading span{height:2px;background:var(--orange);width:min(20vw,170px)}.section-heading h2{font-size:30px;line-height:1.2;margin:0;text-align:center;color:var(--navy)}.category-grid ul.products,.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}.category-grid ul.products{display:contents}.category-grid li.product-category{list-style:none!important;float:none!important;width:auto!important;margin:0!important;border-radius:var(--radius);overflow:hidden;background:var(--cream);box-shadow:var(--shadow);position:relative;text-align:center;padding-bottom:12px}.category-grid li.product-category img{width:100%;height:170px;object-fit:cover;margin:0}.category-grid li.product-category h2{font-size:18px!important;color:var(--ink);padding:10px!important;margin:0!important}.category-grid .count{display:none}.category-fallback a{background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);min-height:124px;display:flex;align-items:center;justify-content:center;gap:14px;font-size:18px;font-weight:700}.category-fallback span{color:var(--orange);font-size:32px}
.products-section ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important;padding:0!important}.products-section ul.products:before,.products-section ul.products:after{display:none!important}.products-section ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px 12px 18px!important;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);text-align:center;display:flex;flex-direction:column;align-items:center;transition:transform .18s,box-shadow .18s}.products-section ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(18,29,47,.12)}.products-section ul.products li.product a img{width:100%;height:190px;object-fit:contain;margin:0 auto 10px}.products-section ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;line-height:1.4;color:var(--ink);padding:0 4px;margin:4px 0 8px!important}.products-section .price{color:var(--orange-dark)!important;font-weight:800!important;font-size:20px!important}.products-section .star-rating{color:#edae24!important;margin:2px auto 8px!important}.products-section a.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--orange);color:#fff;border-radius:9px;padding:11px 16px;font-weight:700;border:0}.products-section a.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--orange-dark);color:#fff}.products-section ul.products li.product .button{margin-top:auto}.center-link{text-align:center;margin-top:24px}.setup-note{background:var(--cream);border:1px solid var(--line);border-radius:12px;padding:18px;text-align:center}.newsletter-band{margin-top:28px;background:var(--navy2);color:#fff}.newsletter-inner{min-height:155px;display:flex;align-items:center;justify-content:space-between;gap:24px}.newsletter-inner h2{margin:0 0 4px;font-size:25px}.newsletter-inner p{margin:0;color:#d9e0eb}
.content-area{padding-block:40px 70px;min-height:300px}.content-area h1,.content-area h2{color:var(--navy)}.woocommerce-area{}.woocommerce .woocommerce-breadcrumb{color:var(--muted)}.woocommerce .woocommerce-breadcrumb a{color:var(--orange-dark)}.woocommerce div.product .product_title{color:var(--navy)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--orange-dark)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce-page form .form-row input.input-text{border:1px solid #d0d5dd;border-radius:9px;min-height:44px;padding:9px 12px;background:#fff}.woocommerce form .form-row label{font-weight:600;color:#344054}.woocommerce .quantity .qty{min-height:42px;border:1px solid #d0d5dd;border-radius:8px}.woocommerce-message,.woocommerce-info{border-top-color:var(--orange)}.woocommerce-message:before,.woocommerce-info:before{color:var(--orange)}
.site-footer{background:#0c1728;color:#e6eaf0;padding-top:38px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px;padding-bottom:34px}.footer-brand .brand{margin-bottom:14px}.footer-grid h2{font-size:16px;margin:0 0 10px;color:#fff}.footer-grid a:not(.brand){display:block;color:#d5dbe5;margin:5px 0;font-size:14px}.footer-grid p{font-size:14px;color:#c1cad8;margin:6px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:13px 0;color:#aeb8c7;font-size:13px}
@media(max-width:900px){.wrap{width:min(100% - 28px,700px)}.header-main{gap:14px;min-height:70px}.brand{font-size:22px}.site-search{max-width:none}.header-action span:not(.action-icon){display:none}.header-actions{gap:12px}.primary-nav li a{padding-inline:11px;font-size:13px}.hero{min-height:330px}.hero-copy{width:60%;padding-inline:5% 2%}.hero h1{font-size:38px}.category-grid,.products-section ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.category-grid li.product-category img{height:150px}.products-section ul.products li.product a img{height:190px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wrap{width:calc(100% - 24px)}.header-main{min-height:64px;gap:10px}.menu-toggle{display:block;order:0}.brand{font-size:19px;order:1}.brand-bird{width:34px;height:25px;flex-basis:34px}.site-search{order:2;height:40px;flex:1}.site-search input{padding-inline:10px;font-size:13px}.site-search button{width:40px;font-size:23px}.header-actions{order:3;margin-inline-start:0;gap:9px}.header-action{font-size:0;gap:0}.action-icon{font-size:19px}.cart-count{font-size:10px}.primary-nav{display:none;position:absolute;top:100%;right:0;left:0;background:#fff;box-shadow:0 12px 20px rgba(0,0,0,.18)}.primary-nav.is-open{display:block}.nav-inner{width:100%;padding:8px 12px}.primary-nav ul{display:block}.primary-nav li+li{border-inline-start:0;border-top:1px solid rgba(16,29,50,.12)}.primary-nav li a{padding:11px 14px}.hero{width:100%;margin-top:0;border-radius:0;min-height:440px;align-items:flex-end;background-position:35% center}.hero:before{background:linear-gradient(0deg,rgba(16,29,50,.98) 0%,rgba(16,29,50,.9) 43%,rgba(16,29,50,.06) 100%)}.hero-copy{width:100%;padding:190px 24px 28px;margin:0}.eyebrow{font-size:11px}.hero h1{font-size:32px;max-width:420px}.hero p{font-size:17px;margin-bottom:18px}.button{min-height:44px;padding:9px 17px}.benefits-row{min-height:70px;gap:10px;justify-content:space-between}.benefits-row div{font-size:11px;gap:5px}.benefits-row span{font-size:18px}.category-section,.products-section{padding-top:27px}.section-heading{gap:12px;margin-bottom:17px}.section-heading span{width:12vw}.section-heading h2{font-size:23px}.category-grid,.products-section ul.products{gap:10px!important}.category-grid li.product-category img{height:120px}.category-grid li.product-category h2{font-size:14px!important}.category-fallback a{font-size:14px;min-height:95px;gap:8px}.category-fallback span{font-size:24px}.products-section ul.products li.product{padding:8px 8px 12px!important;border-radius:13px}.products-section ul.products li.product a img{height:135px;margin-bottom:6px}.products-section ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}.products-section .price{font-size:17px!important}.products-section ul.products li.product .button{font-size:12px;padding:9px 11px}.newsletter-inner{min-height:155px;align-items:flex-start;flex-direction:column;justify-content:center;padding-block:20px;gap:14px}.newsletter-inner h2{font-size:21px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px 12px}.footer-grid h2{font-size:14px}.footer-grid p,.footer-grid a:not(.brand){font-size:12px}}

/* Header layout: brand right, wide search in the middle, cart at the far left. */
.header-main{direction:ltr;display:flex;align-items:center;gap:clamp(14px,2vw,30px);min-height:92px}
.brand{order:3;display:flex;align-items:center;justify-content:flex-end;flex:0 0 218px;width:218px;min-width:0}
.brand img{display:block;width:100%;height:auto;max-height:72px;object-fit:contain}
.site-search{order:2;direction:rtl;display:flex;align-items:stretch;flex:1 1 620px;width:auto;min-width:280px;max-width:none;height:54px;border:1px solid #aab2c0;border-radius:12px;background:#fff;overflow:hidden}
.site-search input[type=search]{display:block;flex:1 1 auto;width:100%;min-width:0;height:100%;padding:0 18px;border:0;outline:0;background:#fff;color:var(--navy);font-size:17px;box-sizing:border-box}
.site-search input[type=search]::placeholder{color:#667085;opacity:1}
.site-search button{display:flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;border:0;background:var(--orange);color:#fff;cursor:pointer}
.site-search button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.header-actions{order:1;direction:ltr;display:flex;align-items:center;justify-content:flex-start;gap:18px;flex:0 0 auto;white-space:nowrap}
.header-actions .cart-link{order:0}.header-actions .account-link{order:1}
.cart-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-action{font-size:14px}.brand:hover{color:inherit}
/* Keep the showcase products on the left and all banner copy in the empty right area. */
.hero{direction:ltr;background-position:left center;background-size:cover;min-height:380px}
.hero:before{background:linear-gradient(270deg,rgba(16,29,50,.92) 0%,rgba(16,29,50,.70) 36%,rgba(16,29,50,0) 70%)}
.hero-copy{direction:rtl;text-align:right;width:47%;margin-left:auto;margin-right:0;padding:44px clamp(28px,5vw,72px) 44px 24px}
.hero h1,.hero p{text-align:right;margin-inline-start:auto}
@media(max-width:1050px){.header-main{gap:14px}.brand{flex-basis:185px;width:185px}.header-actions{gap:10px}.header-action{font-size:12px}.site-search{min-width:230px}}
@media(max-width:700px){
 .header-main{min-height:72px;gap:9px;padding-block:8px;flex-wrap:nowrap}
 .menu-toggle{display:block;order:0;flex:0 0 34px;padding:4px}
 .header-actions{order:1;gap:7px;flex:0 0 auto}
 .header-actions .account-link{display:none}
 .header-actions .header-action span:not(.action-icon){display:none}
 .header-actions .cart-link{font-size:0;gap:0}
 .site-search{order:2;flex:1 1 40%;min-width:90px;width:auto;height:42px}
 .site-search input[type=search]{font-size:14px;padding-inline:9px}
 .site-search button{height:42px;flex-basis:40px;width:40px}
 .brand{order:3;flex:0 1 142px;width:142px}
 .brand img{max-height:48px}
 .hero{min-height:0;padding-top:220px;display:flex;flex-direction:column;align-items:stretch;background-size:auto 220px;background-position:left top;background-color:var(--navy)}
 .hero:before{display:none}
 .hero-copy{width:100%;padding:24px 22px 28px;margin:0;text-align:right;background:var(--navy)}
 .hero h1{font-size:clamp(28px,8vw,38px)}
}
@media(max-width:390px){.header-main{gap:6px}.brand{flex-basis:112px;width:112px}.site-search{min-width:72px}.site-search input[type=search]{font-size:12px;padding-inline:6px}.header-actions .cart-icon{width:19px;height:19px}}

/* White newsletter and footer areas, with dark readable text. */
.newsletter-band{background:#fff;color:var(--navy);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.newsletter-inner p{color:var(--muted)}
.newsletter-band .button-light{background:var(--orange);color:#fff}
.site-footer{background:#fff;color:var(--ink);border-top:1px solid var(--line)}
.footer-grid h2{color:var(--navy)}
.footer-grid a:not(.brand){color:#344054}
.footer-grid p{color:#667085}
.footer-bottom{border-top:1px solid rgba(16,29,50,.14);color:#667085}

/* White newsletter and footer areas, with dark readable text. */
.newsletter-band{background:#fff;color:var(--navy);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.newsletter-inner p{color:var(--muted)}
.newsletter-band .button-light{background:var(--orange);color:#fff}
.site-footer{background:#fff;color:var(--ink);border-top:1px solid var(--line)}
.footer-grid h2{color:var(--navy)}
.footer-grid a:not(.brand){color:#344054}
.footer-grid p{color:#667085}
.footer-bottom{border-top:1px solid rgba(16,29,50,.14);color:#667085}

/* Category cards use real category/product images and exclude empty terms. */
.category-grid-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.category-grid-cards .category-card{display:block;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);text-align:center}
.category-card-image{height:190px;background:#fffaf4;display:flex;align-items:center;justify-content:center;padding:12px}
.category-card-image img{width:100%;height:100%;object-fit:contain;margin:0}
.category-card-placeholder{height:190px;display:grid;place-items:center;background:#fffaf4;color:var(--orange);font-size:44px}
.category-card h3{margin:0;padding:13px 10px 16px;font-size:17px;color:var(--navy)}
.category-card:hover h3{color:var(--orange-dark)}
@media(max-width:900px){.category-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.category-grid-cards{gap:10px}.category-card-image,.category-card-placeholder{height:140px}.category-card h3{font-size:14px;padding:10px 6px 12px}}

@media(min-width:1101px){.category-grid-cards{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px) and (min-width:601px){.category-grid-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
