/*
Theme Name: Ryan Electronics
Theme URI: https://ryan.co.il
Description: Ryan's multilingual electronics storefront on the licensed Porto parent theme.
Author: Ryan
Template: porto
Version: 1.0.0
Text Domain: ryan-electronics
*/

:root{--ryan-ink:#111827;--ryan-muted:#647082;--ryan-line:#e3e8ee;--ryan-bg:#f5f7f8;--ryan-lime:#d5fb61;--ryan-blue:#214fdd}
body.ryan-page{margin:0;background:var(--ryan-bg);color:var(--ryan-ink);font-family:Inter,Arial,"Noto Sans Arabic","Noto Sans Hebrew",sans-serif}
.ryan-page *{box-sizing:border-box}
.ryan-page a{text-decoration:none}
.ryan-wrap{width:min(1260px,calc(100% - 48px));margin-inline:auto}
.ryan-topbar{background:#111827;color:#cdd5e0;font-size:12px;letter-spacing:.04em;padding:8px 0;text-align:center}
.ryan-header{background:#fff;border-bottom:1px solid #e8edf2;position:sticky;top:0;z-index:40}
.ryan-header-inner{min-height:76px;display:flex;align-items:center;gap:40px}
.ryan-brand{display:inline-flex;align-items:center;gap:11px;color:var(--ryan-ink);font-size:24px;font-weight:900;letter-spacing:-.06em;white-space:nowrap}
.ryan-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--ryan-lime);font-size:21px;letter-spacing:-.12em}
.ryan-nav{display:flex;gap:28px;align-items:center;flex:1}
.ryan-nav a{color:#435064;font-size:14px;font-weight:700}
.ryan-nav a:hover,.ryan-nav a:focus{color:var(--ryan-blue)}
.ryan-langs{display:flex;gap:3px;background:#f0f2f4;padding:4px;border-radius:100px;white-space:nowrap}
.ryan-langs a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:7px 9px;border-radius:100px;color:#687385;font-weight:800;font-size:11px}
.ryan-langs a[aria-current="page"]{background:#111827;color:#fff}
.ryan-hero{padding:40px 0 25px}
.ryan-hero-grid{min-height:510px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border-radius:26px;background:#141b2a;color:#fff;box-shadow:0 24px 70px #13223d1e}
.ryan-hero-copy{padding:clamp(38px,6vw,85px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;z-index:2}
.ryan-eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--ryan-lime);font-size:12px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.ryan-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ryan-lime)}
.ryan-hero h1{font-size:clamp(44px,5.3vw,80px);line-height:1.04;letter-spacing:-.065em;font-weight:900;margin:21px 0 24px;max-width:650px;color:#fff}
.ryan-hero p{max-width:510px;color:#bac5d5;font-size:17px;line-height:1.75;margin:0 0 32px}
.ryan-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ryan-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:10px;background:var(--ryan-lime);color:#121826!important;font-size:14px;font-weight:900;transition:transform .18s ease,background .18s ease}
.ryan-button:hover{transform:translateY(-2px);background:#e2ff93}
.ryan-button-secondary{background:#fff;color:#111827!important;border:1px solid var(--ryan-line)}
.ryan-button-secondary:hover{background:#f3f6f9}
.ryan-hero-side{position:relative;min-height:430px;overflow:hidden;background:radial-gradient(circle at 55% 45%,#384b74 0,#202f4b 42%,#141b2a 78%)}
.ryan-hero-side:before,.ryan-hero-side:after{content:"";position:absolute;border:1px solid #ffffff21;border-radius:50%;width:480px;height:480px;left:12%;top:7%}
.ryan-hero-side:after{width:660px;height:660px;left:-6%;top:-15%;border-color:#ffffff0e}
.ryan-hero-device{position:absolute;width:62%;height:48%;left:20%;top:23%;border:12px solid #101720;border-bottom-width:16px;border-radius:18px;background:linear-gradient(135deg,#214fdd 5%,#8066d9 48%,#d5fb61 100%);box-shadow:0 35px 70px #080d18a1,0 0 0 2px #788599;transform:rotate(-8deg);z-index:2}
.ryan-hero-device:before{content:"";position:absolute;inset:12%;border:1px solid #ffffff6b;border-radius:50%;transform:rotate(30deg)}
.ryan-hero-device:after{content:"";position:absolute;width:118%;height:15px;left:-9%;bottom:-28px;background:linear-gradient(#b1bdca,#5e6a7a);border-radius:4px 4px 18px 18px;box-shadow:0 7px 12px #080d1866}
.ryan-float{position:absolute;z-index:3;background:#ffffffed;box-shadow:0 20px 38px #0a101c40;border-radius:16px;color:#172239;padding:15px 17px;font-size:12px;font-weight:800}
.ryan-float.a{top:14%;right:9%;transform:rotate(6deg)}.ryan-float.b{bottom:16%;left:7%;transform:rotate(-5deg)}
.ryan-float small{display:block;color:#6f7a88;font-weight:600;margin-top:3px}
.ryan-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0 70px}
.ryan-benefit{background:#fff;border:1px solid var(--ryan-line);border-radius:15px;padding:20px 22px;display:flex;gap:15px;align-items:center}
.ryan-benefit-icon{width:43px;height:43px;display:grid;place-items:center;flex:none;background:#f1f5e5;border-radius:12px;color:#1b3c25;font-size:20px}
.ryan-benefit strong{display:block;font-size:14px}.ryan-benefit span{display:block;color:var(--ryan-muted);font-size:12px;line-height:1.5;margin-top:3px}
.ryan-section{padding:0 0 80px}
.ryan-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
.ryan-kicker{display:block;color:var(--ryan-blue);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-bottom:11px}
.ryan-section h2{font-size:clamp(30px,3vw,43px);letter-spacing:-.045em;line-height:1.1;margin:0;color:#111827}
.ryan-section-head p{margin:0;max-width:480px;color:var(--ryan-muted);font-size:14px;line-height:1.7}
.ryan-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.ryan-category{position:relative;min-height:205px;padding:27px;border-radius:18px;background:#fff;border:1px solid var(--ryan-line);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.ryan-category:hover{transform:translateY(-4px);box-shadow:0 16px 38px #13223d15}
.ryan-category strong{position:relative;z-index:2;display:block;color:var(--ryan-ink);font-size:19px;letter-spacing:-.03em;max-width:65%}
.ryan-category small{position:relative;z-index:2;display:block;color:var(--ryan-muted);margin-top:10px;font-weight:700}
.ryan-category .ryan-arrow{position:absolute;bottom:25px;inset-inline-start:27px;color:var(--ryan-blue);font-size:20px;font-weight:700}
.ryan-art{position:absolute;display:block;width:118px;height:118px;inset-inline-end:16px;top:51px;border-radius:26px;background:linear-gradient(145deg,#ecf2ff,#cad7f5);transform:rotate(-15deg)}
.ryan-art:before,.ryan-art:after{content:"";position:absolute;display:block}
.ryan-art.phones:before{width:46px;height:82px;left:36px;top:17px;border:7px solid #1a2543;border-radius:12px;background:linear-gradient(145deg,#93b6fa,#2849ae)}
.ryan-art.phones:after{width:19px;height:3px;left:49px;top:24px;background:#d9e4ff;border-radius:3px}
.ryan-art.laptops{background:linear-gradient(145deg,#e2f4e5,#a7d7c9)}
.ryan-art.laptops:before{width:76px;height:53px;left:21px;top:25px;border:6px solid #203b45;border-radius:6px;background:linear-gradient(145deg,#66a9b8,#c8f5b2)}
.ryan-art.laptops:after{width:92px;height:8px;left:13px;top:80px;border-radius:3px;background:#304b56}
.ryan-art.gaming{background:linear-gradient(145deg,#f4e7ff,#d6c3f7)}
.ryan-art.gaming:before{width:82px;height:47px;left:18px;top:37px;border-radius:22px 22px 30px 30px;background:#412d73;box-shadow:inset 0 -6px #2c1c5b}
.ryan-art.gaming:after{width:28px;height:7px;left:30px;top:56px;background:#b8a9df;box-shadow:10px -10px #b8a9df;transform:rotate(90deg)}
.ryan-art.audio{background:linear-gradient(145deg,#fff1e1,#f4c8b0)}
.ryan-art.audio:before{width:72px;height:72px;left:23px;top:18px;border:9px solid #553c44;border-bottom:0;border-radius:50px 50px 0 0}
.ryan-art.audio:after{width:18px;height:35px;left:19px;top:58px;border-radius:10px;background:#553c44;box-shadow:62px 0 #553c44}
.ryan-art.home{background:linear-gradient(145deg,#e5f5fe,#c6dff4)}
.ryan-art.home:before{width:63px;height:72px;left:28px;top:18px;border-radius:40px 40px 18px 18px;background:#f8ffff;border:6px solid #315879}
.ryan-art.home:after{width:34px;height:7px;left:42px;top:71px;border-radius:4px;background:#73b5d5}
.ryan-art.accessories{background:linear-gradient(145deg,#ecf5dd,#d2e7a9)}
.ryan-art.accessories:before{width:80px;height:52px;left:19px;top:34px;border-radius:12px;background:#424b43;box-shadow:inset 0 8px #717e6c}
.ryan-art.accessories:after{width:5px;height:12px;left:34px;top:51px;background:#d5fb61;box-shadow:15px 0 #d5fb61,30px 0 #d5fb61,45px 0 #d5fb61}
.ryan-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ryan-product{display:block;background:#fff;border:1px solid var(--ryan-line);border-radius:18px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.ryan-product:hover{transform:translateY(-4px);box-shadow:0 16px 38px #13223d15}
.ryan-product-visual{height:235px;position:relative;background:linear-gradient(145deg,#e8edf6,#f7f9fc);overflow:hidden}
.ryan-product-visual .ryan-art{width:150px;height:150px;top:42px;inset-inline-end:calc(50% - 75px);transform:rotate(-9deg) scale(1.2);box-shadow:0 20px 30px #1722391b}
.ryan-product-body{padding:23px 24px 25px}.ryan-product-body small{color:var(--ryan-blue);font-weight:900;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.ryan-product-body strong{display:block;color:var(--ryan-ink);font-size:18px;line-height:1.35;margin:10px 0 7px}
.ryan-product-body p{color:var(--ryan-muted);font-size:13px;line-height:1.6;margin:0 0 15px;min-height:42px}
.ryan-link{color:var(--ryan-blue);font-size:13px;font-weight:900}
.ryan-banner{background:#d5fb61;border-radius:24px;padding:44px 50px;display:flex;justify-content:space-between;gap:25px;align-items:center}
.ryan-banner h2{max-width:620px}.ryan-banner p{max-width:680px;color:#43512e;font-size:14px;line-height:1.7;margin:13px 0 0}
.ryan-footer{background:#111827;color:#d7dfeb;padding:44px 0 28px;margin-top:20px}
.ryan-footer-row{display:flex;justify-content:space-between;gap:35px;align-items:start;flex-wrap:wrap}.ryan-footer .ryan-brand{color:white}.ryan-footer p{max-width:410px;line-height:1.7;color:#9daabd;font-size:13px}
.ryan-footer-links{display:flex;gap:22px;flex-wrap:wrap}.ryan-footer a{color:#cbd5e1;font-size:13px;font-weight:700}.ryan-footer a:hover{color:var(--ryan-lime)}
.ryan-footer-bottom{margin-top:34px;padding-top:20px;border-top:1px solid #ffffff24;color:#8190a5;font-size:11px}
.ryan-inner-hero{padding:64px 0 38px}.ryan-inner-hero h1{font-size:clamp(38px,4.4vw,62px);line-height:1.08;letter-spacing:-.06em;margin:10px 0 18px}.ryan-inner-hero p{color:var(--ryan-muted);max-width:680px;line-height:1.75;font-size:16px}
.ryan-breadcrumb{color:var(--ryan-muted);font-size:12px;font-weight:700}.ryan-breadcrumb a{color:var(--ryan-blue)}
.ryan-detail{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px;align-items:center;background:#fff;border:1px solid var(--ryan-line);border-radius:24px;padding:45px;margin-bottom:70px}
.ryan-detail .ryan-product-visual{height:420px;border-radius:16px}.ryan-detail .ryan-product-visual .ryan-art{width:190px;height:190px;top:110px;inset-inline-end:calc(50% - 95px);transform:rotate(-8deg) scale(1.6)}
.ryan-detail-copy h1{font-size:clamp(36px,4vw,56px);line-height:1.1;letter-spacing:-.055em;margin:12px 0 20px}.ryan-detail-copy p{color:var(--ryan-muted);font-size:16px;line-height:1.75}.ryan-detail-note{border-inline-start:3px solid var(--ryan-lime);background:#f5f8ec;color:#526048!important;padding:16px 18px;margin:28px 0;border-radius:0 10px 10px 0}
[dir="rtl"] .ryan-hero-device{transform:rotate(8deg)}[dir="rtl"] .ryan-detail-note{border-radius:10px 0 0 10px}
@media(max-width:900px){.ryan-header-inner{gap:18px;flex-wrap:wrap;padding:14px 0}.ryan-nav{order:3;flex-basis:100%;overflow-x:auto;padding-bottom:4px}.ryan-hero-grid{grid-template-columns:1fr}.ryan-hero-side{min-height:300px}.ryan-benefits{grid-template-columns:1fr}.ryan-category-grid,.ryan-product-grid{grid-template-columns:repeat(2,1fr)}.ryan-detail{grid-template-columns:1fr}}
@media(max-width:620px){.ryan-wrap{width:min(100% - 28px,1260px)}.ryan-topbar{font-size:10px}.ryan-brand{font-size:21px}.ryan-brand-mark{width:34px;height:34px}.ryan-header-inner{justify-content:space-between}.ryan-nav{gap:18px}.ryan-nav a{white-space:nowrap}.ryan-hero{padding-top:16px}.ryan-hero-grid{border-radius:18px}.ryan-hero-copy{padding:34px 25px}.ryan-hero h1{font-size:43px}.ryan-hero p{font-size:15px}.ryan-hero-side{min-height:250px}.ryan-hero-device{top:18%;height:53%}.ryan-benefits{margin-bottom:48px}.ryan-section{padding-bottom:55px}.ryan-section-head{display:block}.ryan-section-head p{margin-top:10px}.ryan-category-grid,.ryan-product-grid{grid-template-columns:1fr}.ryan-category{min-height:185px}.ryan-banner{padding:30px 24px;display:block}.ryan-banner .ryan-button{margin-top:20px}.ryan-detail{padding:18px;gap:20px}.ryan-detail .ryan-product-visual{height:280px}.ryan-detail .ryan-product-visual .ryan-art{top:55px}.ryan-inner-hero{padding-top:42px}}
