/*
Theme Name: SHO Editable
Theme URI: https://shopicks.blog/
Author: SHO
Description: Arabic responsive skincare recommendations theme, editable from Customizer and product editor. Works with companion SHO Essentials plugin.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: sho-editable
License: GPL-2.0-or-later
*/
:root{--sho-blue:#4b83a4;--sho-page:#f6fbfe;--sho-footer:#4b83a4;--sho-gap:16px;--sho-product-gap:18px;--sho-hero-height:400px;--sho-hero-height-mobile:310px;--sho-logo-width:410px;--sho-tagline-gap:-4px;--sho-banner-height:235px;--sho-banner-mobile:160px;--sho-card-radius:17px;--sho-mini-logo-width:105px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--sho-page);font-family:Tahoma,'Segoe UI',Arial,sans-serif;color:#376f8c;direction:rtl}img{max-width:100%;height:auto}button,input{font:inherit}a{color:inherit}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #4283ad;outline-offset:3px}.screen-reader-text{position:absolute;clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{clip-path:none;width:auto;height:auto;z-index:100;padding:10px;background:white}
.sho-hero{height:var(--sho-hero-height);position:relative;background:#bddcea;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column}.sho-hero-img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;object-position:center}.sho-hero-content{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;padding:14px}.sho-hero-logo{width:var(--sho-logo-width);max-width:87vw;display:block;object-fit:contain;max-height:calc(var(--sho-hero-height) * .66);filter:drop-shadow(0 2px 6px rgba(54,100,131,.08))}.sho-hero-tagline{font-family:Arial,sans-serif;font-size:11px;letter-spacing:4px;line-height:1.3;color:#fff;text-shadow:0 1px 4px #487e9f;direction:ltr;margin-top:var(--sho-tagline-gap);font-weight:600}.sho-home-body{background:linear-gradient(#eaf5fc, var(--sho-page) 135px);padding:18px 20px 78px}.sho-home-inner{max-width:1170px;margin:0 auto}.sho-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sho-gap)}.sho-category{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--sho-card-radius);overflow:hidden;background:#e6f2f7;text-decoration:none;isolation:isolate}.sho-category img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .35s ease}.sho-category:hover img{transform:scale(1.045)}.sho-category:after{content:'';position:absolute;bottom:0;inset-inline:0;height:50%;background:linear-gradient(transparent,rgba(36,43,53,.26));z-index:0}.sho-category-name{position:absolute;bottom:14px;right:14px;left:10px;color:#fff;font-size:clamp(12px,1.3vw,19px);font-weight:bold;text-shadow:0 1px 5px rgba(0,0,0,.35);z-index:1;text-align:right}
.sho-section-page{--accent:#579bc9;--pale:#f5fbff;--tint:#dceef8;background:var(--pale);padding-bottom:1px;min-height:75vh}.sho-topline{max-width:1140px;margin:auto;padding:18px 24px 10px;display:flex;align-items:center;justify-content:space-between;gap:16px;direction:rtl}.sho-crumbs{font-size:14px;color:var(--accent);line-height:1.65;min-width:0;font-weight:700;text-align:right}.sho-crumbs a{font-size:12px;color:#829dad;text-decoration:none;font-weight:400}.sho-crumbs a:hover{text-decoration:underline}.sho-mini-logo{display:block;width:var(--sho-mini-logo-width);height:62px;object-fit:contain;flex:none}.sho-mini-logo-link{flex:none}.sho-banner{height:var(--sho-banner-height);position:relative;background:var(--tint);overflow:hidden;display:flex;justify-content:center;align-items:center}.sho-banner-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sho-banner-title{position:relative;z-index:1;margin:0;font-size:clamp(26px,3vw,42px);color:var(--accent);font-weight:700;text-shadow:0 1px 12px rgba(255,255,255,.9);padding:8px 20px;text-align:center}.sho-products-wrap{max-width:1100px;margin:18px auto 0;padding:0 18px}.sho-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sho-product-gap)}.sho-product-link{border:1px solid rgba(255,255,255,.85);display:block;border-radius:13px;background:var(--tint);padding:10px 10px 14px;text-align:center;text-decoration:none;color:var(--accent);transition:border-color .2s ease}.sho-product-link:hover,.sho-product-link.is-open{border-color:var(--accent)}.sho-product-image-wrap{aspect-ratio:1/1;background:#fff;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.sho-product-image{width:100%;height:100%;object-fit:contain;transition:transform .3s ease}.sho-product-link:hover .sho-product-image{transform:scale(1.045)}.sho-product-image-placeholder{width:44%;height:44%;opacity:.46;color:var(--accent)}.sho-product-title{font-size:clamp(12px,1.2vw,16px);font-weight:700;margin:12px 0 7px;line-height:1.6}.sho-arrow{font-size:17px;line-height:1;display:inline-block;transition:transform .2s ease}.sho-product-link.is-open .sho-arrow{transform:rotate(180deg)}.sho-detail{display:none;margin-top:17px;background:#fff;border:1px solid var(--accent);border-radius:12px;padding:18px 20px;color:#506672;font-size:14px;line-height:1.95}.sho-detail:target,.sho-detail.is-open{display:block}.sho-detail h2{font-size:16px;color:var(--accent);margin:0 0 5px}.sho-detail p{margin:6px 0}.sho-detail .sho-edit-link{font-size:12px;color:#6c88a0}.sho-empty{background:#fff;border-radius:12px;padding:20px;grid-column:1/-1}
.sho-action-row{max-width:1100px;margin:64px auto 41px;padding:0 18px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;direction:rtl}.sho-outline{border:1px solid var(--accent);background:transparent;border-radius:10px;padding:11px 15px;color:var(--accent);text-decoration:none;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:43px}.sho-outline:hover{background:var(--tint)}.sho-subscription{max-width:min(430px,64%)}.sho-subscription summary{list-style:none;white-space:nowrap}.sho-subscription summary::-webkit-details-marker{display:none}.sho-subscription .sho-subscribe-panel{margin-top:12px;background:#fff;border:1px solid var(--accent);border-radius:12px;padding:17px;width:330px;max-width:min(83vw,400px)}.sho-mail-label{font-size:13px;color:var(--accent);margin:0 0 12px;line-height:1.9}.sho-mail-form{display:grid;gap:9px}.sho-mail-form input[type=email]{width:100%;border:1px solid #bfd6e5;background:white;color:#345f77;border-radius:7px;padding:11px}.sho-mail-form button{color:white;background:var(--accent);border:0;border-radius:7px;cursor:pointer;padding:11px}.sho-mail-consent{display:flex;align-items:start;gap:7px;font-size:11px;line-height:1.7;color:#5e7581}.sho-mail-consent input{margin-top:3px;flex:none}.sho-mail-message{font-size:13px;line-height:1.7;margin:0 0 10px}.sho-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sho-mail-note{font-size:10px;color:#7994a1;margin:3px 0 0}
.sho-footer{background:var(--sho-footer);color:#fff;padding:28px 20px 17px}.sho-footer-inner{max-width:1140px;margin:0 auto}.sho-footer details{max-width:100%;border-bottom:1px solid rgba(255,255,255,.28);padding:10px 2px}.sho-footer summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;font-size:16px;min-height:27px}.sho-footer summary::-webkit-details-marker{display:none}.sho-footer summary:after{content:'⌄';opacity:.8}.sho-footer details[open] summary:after{content:'⌃'}.sho-footer p{margin:11px 0 5px;font-size:13px;line-height:1.9;color:#f0f8ff}.sho-footer a{color:#fff}.sho-footer-copy{margin:18px 0 0;font-size:11px;opacity:.85;text-align:center;direction:ltr}.sho-footer-inner>:first-child{margin-top:0}.sho-main-content{max-width:950px;margin:50px auto;padding:0 20px 60px;min-height:45vh}.sho-main-content h1{color:var(--sho-blue)}.sho-admin-hint{background:#fff6dc;border:1px solid #ddc98a;color:#755d2f;padding:12px;margin:14px 0;font-size:13px}
@media(max-width:760px){.sho-hero{height:var(--sho-hero-height-mobile)}.sho-hero-logo{width:min(82vw,var(--sho-logo-width));max-height:calc(var(--sho-hero-height-mobile) * .67)}.sho-hero-tagline{font-size:10px;letter-spacing:2.5px}.sho-home-body{padding:12px 12px 50px}.sho-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.sho-category{border-radius:13px}.sho-category-name{font-size:clamp(12px,3.3vw,16px);bottom:11px;right:10px}.sho-topline{padding:10px 13px 7px;gap:10px}.sho-crumbs{font-size:11px}.sho-crumbs a{font-size:10px}.sho-mini-logo{width:min(82px,var(--sho-mini-logo-width));height:49px}.sho-banner{height:var(--sho-banner-mobile)}.sho-banner-title{font-size:25px}.sho-products-wrap{padding:0 12px;margin-top:12px}.sho-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sho-product-link{padding:7px 7px 11px}.sho-product-title{font-size:12px}.sho-action-row{margin:48px auto 28px;padding:0 12px;gap:8px}.sho-outline{padding:9px 9px;min-height:40px;font-size:11px;gap:5px}.sho-subscription{max-width:60%}.sho-footer{padding:23px 15px 15px}.sho-detail{padding:14px}.sho-subscription .sho-subscribe-panel{width:275px;max-width:80vw}}
@media(max-width:365px){.sho-mini-logo{width:65px}.sho-crumbs{font-size:10px}.sho-action-row{gap:4px}.sho-outline{font-size:10px;padding:8px 7px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
