:root{--navy:#071126;--navy2:#0c1b37;--panel:#102343;--cyan:#22d3ee;--blue:#3b82f6;--purple:#8b5cf6;--text:#f4f7ff;--muted:#a7b4cb;--line:rgba(168,194,235,.16);--white:#fff;--shadow:0 20px 60px rgba(0,0,0,.25)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--navy);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.announcement{text-align:center;background:linear-gradient(90deg,#0c2850,#173d68,#33245f);padding:8px 16px;font-size:.82rem;color:#dcecff}.site-header{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,72px);border-bottom:1px solid var(--line);background:rgba(7,17,38,.96);position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand img{width:52px;height:52px;object-fit:contain}.brand span{display:flex;flex-direction:column;line-height:1.25}.brand strong{font-size:1.16rem;letter-spacing:.04em}.brand small{color:var(--muted);font-size:.73rem;margin-top:4px}.site-header nav{display:flex;align-items:center;gap:24px;font-size:.9rem;color:#dce7fb}.site-header nav>a:hover,.text-link:hover{color:var(--cyan)}.cart-open{background:var(--panel);border:1px solid var(--line);border-radius:30px;padding:10px 15px;color:white}.cart-open span{display:inline-grid;place-items:center;margin-left:6px;background:var(--cyan);color:#061326;border-radius:50%;width:22px;height:22px;font-weight:800}.hero{min-height:420px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 75% 20%,rgba(34,211,238,.19),transparent 35%),radial-gradient(ellipse at 90% 80%,rgba(139,92,246,.25),transparent 34%),linear-gradient(120deg,#071126,#10294e 55%,#151d43)}.hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;pointer-events:none}.hero-slide{position:absolute;inset:0;display:flex;align-items:center;opacity:0;visibility:hidden;transition:opacity .65s;background-size:cover;background-position:center}.hero-slide.active{opacity:1;visibility:visible;position:relative;min-height:420px}.hero-content{position:relative;z-index:1;max-width:760px;padding:65px clamp(22px,8vw,110px)}.eyebrow{display:block;color:var(--cyan);font-weight:800;letter-spacing:.16em;font-size:.69rem}.hero h1{font-size:clamp(2.3rem,5vw,4.35rem);line-height:1.06;margin:18px 0;letter-spacing:-.045em;max-width:700px}.hero p{font-size:1.07rem;color:#c0cde2;max-width:530px;margin:0 0 27px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:12px 18px;font-weight:800;transition:transform .15s,filter .15s}.btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.btn-primary{background:linear-gradient(105deg,var(--blue),var(--purple));color:white;box-shadow:0 8px 25px rgba(59,130,246,.22)}.btn-secondary{background:#1c3154;color:white;border:1px solid var(--line)}.btn-light{background:#fff;color:#10203e}.btn-small{padding:9px 12px;font-size:.8rem;border-radius:8px}.btn-block{width:100%}.hero-dots{position:absolute;z-index:3;bottom:22px;left:clamp(22px,8vw,110px);display:flex;gap:8px}.hero-dot{width:8px;height:8px;border-radius:10px;border:0;background:#6e809d;padding:0}.hero-dot.active{width:26px;background:var(--cyan)}main{max-width:1400px;margin:auto}.section{padding:55px clamp(18px,5vw,72px)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.section-heading h2,.cart-heading h2{font-size:clamp(1.65rem,3vw,2.2rem);letter-spacing:-.035em;margin:6px 0}.section-heading p{margin:5px 0 0}.text-link{color:var(--cyan);font-weight:700;font-size:.9rem;white-space:nowrap}.category-list{display:flex;gap:10px;flex-wrap:wrap}.category-chip{padding:10px 16px;border:1px solid var(--line);border-radius:30px;background:#0b1b35;color:#cbd8ed;font-size:.88rem}.category-chip:hover,.category-chip.selected{border-color:rgba(34,211,238,.55);background:rgba(34,211,238,.1);color:#a8f4ff}.products-section{padding-top:20px}.search-form{display:flex;gap:10px;margin-bottom:24px;max-width:520px}.search-form input,.cart-footer input,.cart-footer textarea,.admin-form input,.admin-form textarea,.admin-form select,.login-card input{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px 13px;background:#09172e;color:white;outline:none}.search-form input:focus,.cart-footer input:focus,.cart-footer textarea:focus,.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{border-color:var(--cyan)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:linear-gradient(155deg,rgba(17,38,72,.9),rgba(9,24,48,.96));transition:transform .2s,border-color .2s;min-width:0}.product-card:hover{transform:translateY(-4px);border-color:rgba(34,211,238,.4)}.product-image{width:100%;height:225px;display:block;position:relative;border:0;background:radial-gradient(circle at 50% 35%,rgba(59,130,246,.18),transparent 55%),#0b1930;padding:0;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.product-card:hover .product-image img{transform:scale(1.035)}.image-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#607da9;background:radial-gradient(circle,rgba(34,211,238,.1),transparent 60%)}.image-placeholder span{font-size:3.5rem;font-weight:900;letter-spacing:-.12em;color:rgba(34,211,238,.42)}.image-placeholder small{font-size:.7rem}.featured-badge{position:absolute;top:12px;left:12px;background:rgba(34,211,238,.16);border:1px solid rgba(34,211,238,.45);color:#b6f7ff;border-radius:20px;padding:5px 9px;font-size:.7rem;font-weight:800}.product-info{padding:16px}.product-category{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--cyan);font-weight:800}.product-info h3{margin:7px 0 5px;font-size:1.05rem}.product-info p{margin:0;color:var(--muted);font-size:.84rem;min-height:42px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:17px}.product-bottom strong{font-size:1.05rem}.muted{color:var(--muted)}.empty-state{text-align:center;padding:50px 15px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}.cta-band{margin:15px clamp(18px,5vw,72px) 65px;padding:32px clamp(20px,4vw,48px);border-radius:18px;background:linear-gradient(105deg,#153d69,#243568 65%,#38245c);display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-band h2{font-size:clamp(1.5rem,3vw,2.25rem);margin:8px 0}.cta-band p{margin:0;color:#d1def3}.footer{border-top:1px solid var(--line);padding:28px clamp(18px,5vw,72px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:.8rem}.footer a:last-child{color:var(--cyan)}.brand-footer img{width:42px;height:42px}.modal-backdrop,.cart-backdrop{position:fixed;inset:0;z-index:30;background:rgba(0,0,0,.68);display:none;align-items:center;justify-content:center;padding:18px}.modal-backdrop.show,.cart-backdrop.show{display:flex}.modal{position:relative;background:#0d1d39;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);width:min(100%,600px);max-height:90vh;overflow:auto;padding:28px}.modal-close{border:0;background:transparent;color:#cbd8ed;font-size:1.9rem;line-height:1;padding:2px 8px}.product-modal>.modal-close{position:absolute;right:12px;top:12px;z-index:2}.modal-product-layout{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:start}.modal-product-layout img,.modal-product-layout .modal-image-placeholder{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#09172e}.modal h2{margin:0 0 8px}.modal-price{font-size:1.4rem;font-weight:900;color:#a6f6ff}.option-group{margin:17px 0}.option-group label,.field-label{display:block;font-size:.8rem;font-weight:800;color:#dce7fb;margin-bottom:7px}.option-group select,.option-group input{width:100%;background:#08152a;border:1px solid var(--line);border-radius:8px;color:white;padding:10px}.qty-control{display:flex;align-items:center;gap:12px}.qty-control button{background:#20395f;color:white;border:1px solid var(--line);border-radius:7px;width:34px;height:34px;font-size:1.2rem}.qty-control input{max-width:65px;text-align:center}.cart-backdrop{justify-content:flex-end;padding:0}.cart-panel{height:100%;width:min(100%,470px);background:#0a1830;border-left:1px solid var(--line);display:flex;flex-direction:column;box-shadow:var(--shadow)}.cart-heading{display:flex;align-items:center;justify-content:space-between;padding:23px;border-bottom:1px solid var(--line)}.cart-items{padding:16px 22px;overflow:auto;flex:1}.cart-empty{text-align:center;color:var(--muted);padding:50px 10px}.cart-item{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-item h4{margin:0 0 5px}.cart-item p{font-size:.78rem;color:var(--muted);margin:0}.cart-item strong{white-space:nowrap}.cart-item-actions{display:flex;align-items:center;gap:9px;margin-top:8px}.cart-item-actions button{background:transparent;color:#a8f4ff;border:0;padding:0;font-size:.78rem}.cart-footer{padding:18px 22px 24px;border-top:1px solid var(--line);display:grid;gap:10px}.cart-total{display:flex;align-items:center;justify-content:space-between;font-size:1rem;margin-bottom:5px}.cart-total strong{font-size:1.35rem}.cart-footer textarea{resize:vertical}.cart-footer small{font-size:.7rem;line-height:1.4}.admin-body{min-height:100vh;background:radial-gradient(ellipse at top right,rgba(34,211,238,.1),transparent 40%),var(--navy)}.admin-wrap{max-width:1200px;margin:auto;padding:35px 22px}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.admin-top h1{margin:0}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.admin-nav a{padding:9px 13px;background:#102343;border:1px solid var(--line);border-radius:8px;font-size:.85rem}.admin-card{padding:22px;background:#0d1d39;border:1px solid var(--line);border-radius:14px;margin-bottom:20px}.admin-card h2{margin-top:0}.admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-form .full{grid-column:1/-1}.admin-form label{display:block;font-size:.8rem;color:#cbd8ed;margin-bottom:6px}.admin-form textarea{min-height:100px}.admin-form input[type=checkbox]{width:auto}.admin-table{width:100%;border-collapse:collapse;font-size:.84rem}.admin-table th,.admin-table td{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top}.admin-table th{color:#9ff3ff}.admin-table td img{width:58px;height:48px;object-fit:cover;border-radius:6px}.table-wrap{overflow-x:auto}.notice{padding:12px 15px;border:1px solid rgba(34,211,238,.35);background:rgba(34,211,238,.08);border-radius:9px;margin-bottom:16px}.error{border-color:rgba(248,113,113,.5);background:rgba(248,113,113,.08)}.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(100%,430px);background:#0d1d39;border:1px solid var(--line);padding:30px;border-radius:18px;box-shadow:var(--shadow)}.login-card h1{margin:0 0 8px}.login-card label{display:block;margin:16px 0 7px;font-size:.85rem}.login-card .btn{margin-top:18px}.inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.danger-link{color:#fca5a5}.small-note{font-size:.78rem;color:var(--muted)}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-header{padding-inline:24px}}@media(max-width:760px){.site-header{height:auto;min-height:72px;padding:12px 17px;gap:10px}.brand img{width:43px;height:43px}.brand strong{font-size:1rem}.brand small{font-size:.65rem}.site-header nav{gap:10px}.site-header nav>a{display:none}.cart-open{padding:8px 10px;font-size:.8rem}.hero,.hero-slide.active{min-height:390px}.hero-content{padding:55px 23px}.section{padding:38px 18px}.section-heading{align-items:start}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-image{height:170px}.product-info{padding:12px}.product-info h3{font-size:.95rem}.product-info p{font-size:.78rem}.product-bottom{align-items:start;flex-direction:column}.product-bottom .btn{width:100%}.cta-band{margin:5px 18px 40px;flex-direction:column;align-items:start}.footer{flex-wrap:wrap}.footer p{order:3;width:100%}.modal-product-layout{grid-template-columns:1fr}.modal-product-layout img,.modal-product-layout .modal-image-placeholder{max-height:210px}.admin-form{grid-template-columns:1fr}.admin-form .full{grid-column:auto}.admin-top{align-items:start;flex-direction:column}.admin-table{min-width:650px}}@media(max-width:390px){.product-grid{grid-template-columns:1fr}.product-image{height:220px}.section-heading{flex-direction:column}.search-form .btn{padding:10px}}

/* PALETA CLARA FORYA3D — azul-claro predominante */
:root{--navy:#f2f8ff;--navy2:#e5f2ff;--panel:#ffffff;--cyan:#00bfe8;--blue:#087cf0;--purple:#6f55e8;--text:#12345c;--muted:#607b9c;--line:rgba(41,119,190,.20);--white:#fff;--shadow:0 16px 42px rgba(25,91,155,.13)}
body{background:#f3f9ff;color:#12345c}
.announcement{background:linear-gradient(90deg,#d8f3ff,#e5efff,#e9e3ff);color:#124276}
.site-header{background:rgba(255,255,255,.96);border-bottom-color:#d5e9fb}
.site-header nav{color:#214d7d}
.site-header nav>a:hover,.text-link:hover{color:#007ecb}
.cart-open{background:#e6f4ff;border-color:#c5e2fb;color:#164b7b}
.cart-open span{background:#00c7ec;color:#003a67}
.hero{background:radial-gradient(ellipse at 75% 20%,rgba(0,191,232,.24),transparent 35%),radial-gradient(ellipse at 90% 80%,rgba(111,85,232,.12),transparent 34%),linear-gradient(120deg,#dff5ff,#d8eaff 55%,#e9e7ff)}
.hero:after{background-image:linear-gradient(rgba(22,102,171,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(22,102,171,.045) 1px,transparent 1px)}
.hero h1{color:#103b70}
.hero p{color:#365f87}
.eyebrow,.text-link{color:#007dbb}
.btn-primary{background:linear-gradient(105deg,#087cf0,#00c6e8);color:#fff;box-shadow:0 8px 22px rgba(8,124,240,.18)}
.btn-secondary{background:#e4f2ff;color:#174a7b;border-color:#c7e3fb}
.hero-dot{background:#8caac9}.hero-dot.active{background:#00bfe8}
.category-chip{background:#fff;color:#315a82;border-color:#cfe4f7}
.category-chip:hover,.category-chip.selected{border-color:#39bde9;background:#dff7ff;color:#075c92}
.search-form input,.cart-footer input,.cart-footer textarea,.admin-form input,.admin-form textarea,.admin-form select,.login-card input{background:#fff;color:#12345c;border-color:#cbdff1}
.product-card{background:linear-gradient(155deg,#fff,#f0f8ff);border-color:#d0e5f8;box-shadow:0 8px 22px rgba(31,105,164,.07)}
.product-card:hover{border-color:#66c9ef}
.product-image{background:radial-gradient(circle at 50% 35%,rgba(8,124,240,.10),transparent 55%),#e8f4ff}
.image-placeholder{color:#4779aa;background:radial-gradient(circle,rgba(0,191,232,.13),transparent 60%)}
.image-placeholder span{color:rgba(0,142,210,.35)}
.featured-badge{background:#d9f8ff;border-color:#8bdcf2;color:#075c92}
.product-category{color:#007dbb}
.cta-band{background:linear-gradient(105deg,#d8f2ff,#dceaff 65%,#e8e2ff);border:1px solid #c9e6fa}
.cta-band p{color:#315b83}
.footer{border-top-color:#d5e7f6;color:#607b9c}
.footer a:last-child{color:#007dbb}
.modal-backdrop,.cart-backdrop{background:rgba(20,53,88,.42)}
.modal,.cart-panel{background:#f8fcff;border-color:#cfe3f5;color:#12345c}
.modal-close{color:#41688e}
.modal-product-layout img,.modal-product-layout .modal-image-placeholder{background:#e8f4ff}
.modal-price{color:#007dbb}
.option-group label,.field-label{color:#315a82}
.option-group select,.option-group input{background:#fff;border-color:#cbdff1;color:#12345c}
.qty-control button{background:#e4f2ff;color:#174a7b;border-color:#cbdff1}
.cart-panel{border-left-color:#cfe3f5}
.cart-heading,.cart-footer{border-color:#d6e7f6}
.cart-item{border-color:#d6e7f6}
.cart-item-actions button{color:#007dbb}
.admin-body{background:radial-gradient(ellipse at top right,rgba(0,191,232,.12),transparent 40%),#eff7ff;color:#12345c}
.admin-nav a{background:#fff;border-color:#cfe3f5;color:#214d7d}
.admin-card,.login-card{background:#fff;border-color:#d0e5f8;box-shadow:0 10px 28px rgba(25,91,155,.08)}
.admin-form label,.login-card label{color:#315a82}
.admin-table th,.admin-table td{border-color:#d6e7f6}
.admin-table th{color:#0877c8}
.notice{border-color:#8bdcf2;background:#e3f9ff;color:#145b83}
.error{border-color:#f3b4b4;background:#fff0f0;color:#8a2626}
.small-note{color:#607b9c}

/* FORYA3D IMPACT REDESIGN — light blue storefront + polished admin */
:root{--navy:#f4faff;--navy2:#e8f5ff;--panel:#fff;--cyan:#00c8ef;--blue:#087cf0;--purple:#7654ee;--text:#123a70;--muted:#587da7;--line:#cbe6fb;--white:#fff;--shadow:0 12px 34px rgba(13,93,166,.13)}
*{box-sizing:border-box}body{background:linear-gradient(180deg,#f7fbff 0%,#eaf6ff 100%);color:#123a70}a{transition:color .18s ease}.announcement{background:linear-gradient(90deg,#d7f5ff,#e2eaff,#f0e9ff);color:#14518b;font-weight:700}.site-header{height:76px;padding:0 clamp(16px,3vw,44px);background:rgba(255,255,255,.94);border-bottom:1px solid #cde7fa;box-shadow:0 4px 20px rgba(19,105,174,.06)}.brand img{width:auto;height:56px;max-width:190px;object-fit:contain}.brand strong,.brand small{display:none}.site-header nav{gap:clamp(10px,2vw,26px);color:#174e86;font-weight:700}.cart-open{background:linear-gradient(135deg,#e7f7ff,#dceaff);border:1px solid #c2e3fb;color:#0d5598;box-shadow:0 4px 12px rgba(8,124,240,.08)}.hero{margin:0 10px 12px;min-height:390px;border-radius:0 0 20px 20px;box-shadow:0 14px 32px rgba(6,80,151,.13);background:radial-gradient(ellipse at 82% 30%,rgba(0,211,255,.36),transparent 35%),linear-gradient(115deg,#064b9b,#087cf0 50%,#3b48b9)}.hero:after{background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:34px 34px}.hero-slide{background-size:cover;background-position:center}.hero-slide.active{min-height:390px}.hero-content{padding:clamp(30px,5vw,72px);max-width:760px}.hero h1{color:#fff;font-size:clamp(2.5rem,5.2vw,4.6rem);font-weight:900;letter-spacing:-.055em;text-shadow:0 3px 20px rgba(0,28,82,.18)}.hero h1 em,.hero h1 span{color:#27e7ff}.hero p{color:#f0f8ff;font-size:1.08rem}.eyebrow{color:#00a9dc;letter-spacing:.1em}.btn{border-radius:10px}.btn-primary{background:linear-gradient(110deg,#087cf0,#00c6ee);box-shadow:0 7px 18px rgba(8,124,240,.22)}.btn-secondary{background:#eaf6ff;color:#14518b;border:1px solid #c5e4fb}.hero .btn-primary{background:linear-gradient(110deg,#36e4ff,#00aeea);color:#063d75}.section{padding:34px clamp(14px,2.5vw,38px)}.section-heading{margin-bottom:18px}.section-heading h2,.cart-heading h2{font-size:clamp(1.45rem,2.4vw,2rem);font-weight:900;color:#123f7b}.category-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.category-chip{border-radius:13px;background:linear-gradient(145deg,#fff,#e4f6ff);border:1px solid #b9e3fc;padding:18px 12px;text-align:center;color:#075b9d;font-weight:800;box-shadow:0 5px 16px rgba(14,111,182,.07)}.category-chip:hover,.category-chip.selected{background:linear-gradient(135deg,#d8f8ff,#dceaff);border-color:#58c8f3;color:#07518d;transform:translateY(-2px)}.products-section{padding-top:18px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid #c7e5fb;border-radius:13px;box-shadow:0 6px 20px rgba(13,96,159,.08);overflow:hidden}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(13,96,159,.16);border-color:#67cffa}.product-image{height:clamp(150px,17vw,225px);background:linear-gradient(135deg,#e9f7ff,#d5edff)}.product-image img{transition:transform .35s}.product-info{padding:13px 14px 15px}.product-code,.modal-product-code{background:#e2f2ff;color:#087cf0;border:1px solid #b8ddff;border-radius:5px;font-weight:900}.product-category{font-size:.66rem;color:#118bbd}.product-info h3{color:#123e76;font-size:.98rem;line-height:1.25}.product-info p{color:#6482a4}.product-bottom{margin-top:12px;align-items:center}.product-bottom strong{color:#064b9d;font-size:1.08rem}.product-bottom .btn{white-space:nowrap}.featured-badge{background:linear-gradient(100deg,#087cf0,#00c6ee);border:0;color:#fff;box-shadow:0 4px 10px rgba(8,124,240,.22)}.cta-band{background:linear-gradient(110deg,#034b9c,#087cf0 52%,#3549bb);color:#fff;border:1px solid #7acdf5;box-shadow:0 12px 28px rgba(8,80,155,.18)}.cta-band p{color:#e5f5ff}.footer{background:#fff;border-top:1px solid #cde7fa;color:#5b7fa4}.footer a:last-child{color:#087cf0}.modal-backdrop,.cart-backdrop{background:rgba(5,32,74,.55);backdrop-filter:blur(7px)}.modal,.cart-panel{background:#fff;border:1px solid #c5e4fa;color:#123a70;box-shadow:0 24px 70px rgba(2,50,105,.24)}.modal p,.modal .muted{color:#587da7}.modal h2{color:#123f7b}.modal-close{color:#245d92}.modal-product-layout img,.modal-product-layout .modal-image-placeholder{background:#eaf6ff}.modal-price{color:#087cf0}.option-group label,.field-label{color:#164c82}.option-group select,.option-group input{background:#f5fbff;border-color:#c7e3f8;color:#123a70}.qty-control button{background:#e7f5ff;color:#075b9d;border-color:#c4e4fa}.cart-heading,.cart-footer{border-color:#d5eafb}.cart-item{border-color:#dcecf9}.cart-item p{color:#6785a5}.cart-item-actions button{color:#087cf0}.cart-total strong{color:#0754a1}.cart-footer input,.cart-footer textarea{background:#f8fcff;color:#123a70;border-color:#c7e3f8}.search-form input{background:#fff;color:#123a70;border-color:#c7e3f8}
/* Admin area shares the storefront's design system */
.admin-body{background:linear-gradient(140deg,#f5fbff,#e7f4ff 65%,#f1edff);color:#123a70}.admin-wrap{max-width:1440px;padding:26px clamp(14px,2.5vw,36px)}.admin-top{background:linear-gradient(105deg,#fff,#e5f5ff);border:1px solid #cbe6fb;border-radius:16px;padding:18px 22px;box-shadow:0 8px 22px rgba(13,96,159,.07)}.admin-top h1{font-size:clamp(1.45rem,2.5vw,2rem);color:#103e7a}.admin-nav{background:#fff;border:1px solid #cbe6fb;border-radius:13px;padding:8px;gap:7px;box-shadow:0 5px 16px rgba(13,96,159,.06)}.admin-nav a{background:#eff8ff;color:#18558e;border:1px solid transparent;border-radius:9px;font-weight:750}.admin-nav a:hover{background:linear-gradient(110deg,#087cf0,#00bfe8);color:#fff}.admin-card{background:rgba(255,255,255,.96);border:1px solid #c9e5f9;border-radius:15px;box-shadow:0 8px 24px rgba(13,96,159,.08);padding:22px;color:#123a70}.admin-card h2{color:#123f7b}.admin-form label,.login-card label{color:#315d87;font-weight:750}.admin-form input,.admin-form textarea,.admin-form select,.login-card input{background:#f7fbff;color:#123a70;border-color:#c6e2f7}.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{border-color:#087cf0;box-shadow:0 0 0 3px rgba(8,124,240,.1)}.admin-table th{color:#0b65b5;background:#edf8ff}.admin-table td,.admin-table th{border-bottom:1px solid #dcecf9}.table-wrap{border:1px solid #d6eafb;border-radius:10px}.notice{background:#e7f8ff;border-color:#8edaf4;color:#14518b}.login-shell{background:radial-gradient(circle at 20% 15%,#d8f7ff,transparent 35%),linear-gradient(140deg,#eff8ff,#e4edff)}.login-card{background:#fff;border:1px solid #c6e5fb;box-shadow:0 20px 60px rgba(13,96,159,.15);color:#123a70}.login-card h1{color:#123f7b}.small-note,.muted{color:#6785a5}.danger-link{color:#c5365a}
@media(max-width:900px){.category-list{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-header{padding-inline:16px}.brand img{max-width:145px;height:48px}}
@media(max-width:650px){.site-header{min-height:66px;height:auto}.site-header nav{gap:7px}.hero,.hero-slide.active{min-height:340px}.hero{margin:0 6px 8px}.hero-content{padding:35px 22px}.hero h1{font-size:2.5rem}.section{padding:27px 12px}.category-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.category-chip{padding:13px 7px;font-size:.78rem}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:160px}.product-info{padding:10px}.product-info h3{font-size:.88rem}.product-bottom .btn{font-size:.7rem;padding:8px}.cta-band{margin:10px 12px 30px;padding:22px}.admin-wrap{padding:12px}.admin-top{padding:15px;flex-direction:row;align-items:center}.admin-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-nav a{text-align:center;font-size:.78rem}.admin-card{padding:15px}.admin-form{grid-template-columns:1fr}.admin-form .full{grid-column:auto}.admin-table{min-width:650px}}


/* Forya3D — acabamento visual premium inspirado na referência aprovada */
:root{--navy:#073b83;--navy2:#0759b7;--panel:#ffffff;--cyan:#00c8f2;--blue:#087cf0;--purple:#8055ef;--text:#103b78;--muted:#6382a8;--line:#cfe7fb;--white:#fff;--shadow:0 12px 32px rgba(20,105,180,.12)}
body{background:linear-gradient(145deg,#f8fcff 0%,#eaf6ff 52%,#f3f7ff 100%);color:#123d79}
.announcement{background:linear-gradient(90deg,#0754ad,#087cf0,#00bde8);color:#fff}
.site-header{background:rgba(255,255,255,.94);border-bottom:1px solid #d5eafb;box-shadow:0 5px 22px rgba(16,99,174,.07);color:#104b91}
.brand img{object-fit:contain}
.site-header nav a{font-weight:700;color:#164e91}
.site-header nav a:hover,.site-header .icon-button:hover{color:#087cf0}
.hero,.hero-slide.active{border-radius:18px;overflow:hidden;box-shadow:0 18px 36px rgba(0,75,150,.18)}
.hero-content h1{letter-spacing:-.045em;text-shadow:0 3px 18px rgba(0,20,60,.2)}
.hero-content h1 em{color:#00e1f5}
.btn-primary,.btn,.product-bottom .btn{background:linear-gradient(105deg,#087cf0,#00c8ef);color:#fff;border:0;box-shadow:0 5px 14px rgba(8,124,240,.18);transition:transform .18s,box-shadow .18s}
.btn-primary:hover,.btn:hover,.product-bottom .btn:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(8,124,240,.25)}
.btn-secondary{background:#fff;color:#0870d4;border:1px solid #9ed6ff}
.category-chip{background:linear-gradient(145deg,#fff,#e5f6ff);border:1px solid #bfe4ff;border-radius:14px;color:#12509a;box-shadow:0 5px 15px rgba(12,118,200,.07);transition:transform .18s,box-shadow .18s}
.category-chip:hover{transform:translateY(-3px);box-shadow:0 12px 22px rgba(12,118,200,.13)}
.section h2,.section-title{color:#103f82;letter-spacing:-.025em}
.product-card{background:rgba(255,255,255,.96);border:1px solid #c9e6fb;border-radius:14px;overflow:hidden;box-shadow:0 7px 22px rgba(16,104,180,.08);transition:transform .2s,box-shadow .2s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(16,104,180,.16)}
.product-image{background:linear-gradient(135deg,#e8f6ff,#d4edff)}
.product-info h3{color:#103f82}
.product-price,.price{color:#087cf0;font-weight:850}
.product-code{display:inline-flex;background:#e5f4ff;color:#087cf0;border:1px solid #b8e0ff;border-radius:6px;padding:3px 7px;font-size:.72rem;font-weight:850;letter-spacing:.035em}
.featured-badge{background:linear-gradient(100deg,#087cf0,#00c8ef);color:#fff}
.modal-content,.modal-product,.cart-panel,.cart-drawer{background:#fff;color:#123d79;border:1px solid #cde8fb;box-shadow:0 24px 70px rgba(6,62,130,.22)}
.modal-product-layout img{border-radius:14px}
input,select,textarea{border-color:#c7e3f8}
input:focus,select:focus,textarea:focus{outline:none;border-color:#087cf0;box-shadow:0 0 0 3px #087cf01a}
.cart-heading,.cart-footer,.cart-item{border-color:#d5eafb}
.cart-total strong{color:#0754a1}
footer,.site-footer{background:linear-gradient(105deg,#063c83,#087cf0 62%,#0751b5);color:#fff}
.admin-body{background:linear-gradient(140deg,#f8fcff,#e6f4ff 65%,#f1edff);color:#123a70}
.admin-wrap{max-width:1480px}
.admin-top,.admin-card,.login-card{box-shadow:0 12px 30px rgba(13,96,159,.09)}
.admin-nav a{transition:background .18s,transform .18s}
.admin-nav a:hover{transform:translateY(-1px)}
.admin-table tbody tr:hover{background:#f0f9ff}
@media(max-width:650px){.hero,.hero-slide.active{border-radius:12px}.product-card{border-radius:11px}.site-header{box-shadow:0 3px 12px rgba(16,99,174,.06)}}


/* REDESIGN ESTRUTURAL V2 — referência visual Forya3D */
:root{--brand-bg:#f1f8ff;--brand-text:#0b3b7c;--brand-primary:#087cf0;--brand-secondary:#00c8ee;--brand-accent:#7856f4;--line:#cce6fb;--shadow:0 12px 32px rgba(13,89,159,.12)}
body{background:linear-gradient(180deg,#f5fbff 0%,#eaf6ff 58%,#f7fbff 100%);color:#103f80}
.announcement{background:linear-gradient(90deg,#0754b1,#087cf0 52%,#00bce7);color:white;font-weight:700;padding:7px 16px;font-size:.78rem}
.site-header{height:72px;padding:0 clamp(14px,3.2vw,46px);background:rgba(255,255,255,.96);border-bottom:1px solid #d5eafb;box-shadow:0 5px 18px rgba(15,94,167,.06)}
.site-header .brand img{width:clamp(145px,16vw,190px);height:52px}
.site-header nav{gap:clamp(12px,2.1vw,28px);font-weight:750;color:#0a4b98}
.cart-open{background:#e8f5ff;border:1px solid #bce2ff;color:#0753a4;padding:8px 13px;font-weight:800}
.hero{margin:0 clamp(4px,.4vw,8px);min-height:clamp(245px,28vw,330px);height:clamp(245px,28vw,330px);border-radius:0 0 18px 18px;box-shadow:0 18px 38px rgba(7,68,135,.2);background-color:#063a80}
.hero-slide{padding:clamp(24px,4vw,54px);background-size:cover;background-position:center}
.hero-slide:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,27,75,.34),transparent 70%)}
.hero-content{position:relative;z-index:1;max-width:610px}
.hero-content .eyebrow{color:#21e5ff!important;font-weight:900;letter-spacing:.11em;font-size:.72rem}
.hero-content h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1.02;letter-spacing:-.045em;max-width:620px;margin:14px 0}
.hero-content p{font-size:clamp(.95rem,1.4vw,1.12rem);max-width:480px;color:#fff}
.hero .btn-primary{border-radius:999px;padding:12px 22px}
.hero-dots{bottom:13px}
.section{padding:clamp(24px,3vw,38px) clamp(14px,2.2vw,32px);max-width:1600px;margin:0 auto}
.section-heading{align-items:end;margin-bottom:18px}
.section-heading h2{font-size:clamp(1.35rem,2vw,1.8rem);letter-spacing:-.035em;color:#103e80;margin:5px 0 7px}
.eyebrow{font-weight:900;letter-spacing:.1em;font-size:.69rem;color:#087cf0}
.muted{color:#6a87aa}
.category-list.category-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.category-tile{min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;padding:12px 8px;background:linear-gradient(145deg,#fff,#e6f6ff);border:1px solid #bfe3ff;border-radius:13px;box-shadow:0 5px 16px rgba(9,109,189,.07);color:#10498f;transition:transform .18s,box-shadow .18s}
.category-tile:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(9,109,189,.14)}
.category-tile .category-symbol{font-size:1.55rem;line-height:1;color:#087cf0;font-weight:900}
.category-tile strong{font-size:.86rem}
.category-tile small{font-size:.7rem;color:#087cf0}
.category-tile.selected{background:linear-gradient(135deg,#d8f7ff,#e9f1ff);border-color:#00bfe8;box-shadow:inset 0 0 0 1px #00bfe8}
.products-section{padding-top:15px}
.catalog-count{font-size:.68rem;letter-spacing:.09em;font-weight:900;color:#087cf0;background:#e0f3ff;border:1px solid #b8e0ff;border-radius:999px;padding:8px 12px;white-space:nowrap}
.search-form{display:flex;gap:10px;max-width:760px;margin:18px 0 24px}
.search-form input{min-width:0;flex:1;border:1px solid #c5e3fa;border-radius:10px;background:white;color:#153e77;padding:13px 15px}
.search-form .btn{border-radius:10px;padding:0 22px}
.product-grid.product-grid-premium{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-card{background:#fff;border:1px solid #cce7fb;border-radius:13px;overflow:hidden;box-shadow:0 7px 22px rgba(13,90,160,.08);transition:transform .2s,box-shadow .2s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(13,90,160,.15)}
.product-card-featured{background:linear-gradient(160deg,#eaf7ff,#fff 75%);border:1.5px solid #6ac8ff;box-shadow:0 8px 22px rgba(8,124,240,.11)}
.product-image{height:clamp(150px,17vw,225px);width:100%;display:block;background:linear-gradient(135deg,#e8f7ff,#cfeaff);padding:0;position:relative;overflow:hidden;border:0}
.product-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s}
.product-card:hover .product-image img{transform:scale(1.045)}
.product-info{padding:13px 14px 15px}
.product-code{display:inline-flex;margin:0 0 7px;padding:3px 7px;background:#e6f4ff;color:#087cf0;border:1px solid #b6dfff;border-radius:5px;font-size:.7rem;font-weight:900}
.product-category{display:block;color:#087cf0;font-size:.66rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px}
.product-info h3{color:#103e80;font-size:.96rem;line-height:1.3;margin:3px 0 5px}
.product-info p{color:#6684a7;font-size:.8rem;min-height:2.2em;margin:0 0 13px}
.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
.product-bottom strong{font-size:1.02rem;color:#063f91;white-space:nowrap}
.product-bottom .btn{border-radius:8px;padding:9px 12px;font-size:.76rem;white-space:nowrap}
.featured-badge{position:absolute;top:10px;left:10px;border-radius:7px;background:linear-gradient(100deg,#087cf0,#00c8ee);color:#fff;padding:5px 9px;font-size:.68rem;font-weight:900;box-shadow:0 4px 12px #034e8b38}
.cta-band{margin:10px clamp(14px,2.2vw,32px) 28px;padding:28px clamp(18px,3vw,38px);border-radius:16px;background:linear-gradient(105deg,#063b83,#087cf0 60%,#00a9d7);border:0;color:#fff;box-shadow:0 12px 28px rgba(7,75,150,.17)}
.cta-band h2,.cta-band p,.cta-band .eyebrow{color:#fff}
.cta-band .btn-light{background:#fff;color:#0756b0;border-radius:999px;font-weight:900}
.contact-section{margin:0 clamp(14px,2.2vw,32px) 32px;background:rgba(255,255,255,.94);border-color:#c9e5fa;box-shadow:0 8px 25px rgba(13,90,160,.06)}
.footer{background:linear-gradient(105deg,#063b83,#075fbd 58%,#087cf0);color:#fff;padding:22px clamp(18px,4vw,52px);display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer p{color:#dceeff;font-size:.78rem}
.footer .brand img{width:155px;height:45px}
.btn-primary{background:linear-gradient(105deg,#087cf0,#00c8ee)!important;color:#fff!important;border:0;box-shadow:0 6px 16px rgba(8,124,240,.2)}
.btn-secondary{background:#fff;color:#0870d4;border:1px solid #a9d8ff;box-shadow:0 5px 14px rgba(8,124,240,.08)}
.modal-backdrop,.cart-backdrop{backdrop-filter:blur(8px);background:rgba(3,28,69,.56)}
.modal.product-modal,.cart-panel{background:#fff;color:#123d79;border:1px solid #cde8fb;box-shadow:0 24px 70px rgba(6,62,130,.22)}
.modal-product-layout img{border-radius:14px}
.cart-heading,.cart-footer,.cart-item{border-color:#d5eafb}
.admin-body{background:linear-gradient(145deg,#f4faff,#e7f5ff 62%,#f1f3ff);color:#103d7b}
.admin-wrap{max-width:1540px;padding:20px;display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:auto 1fr;gap:16px;align-items:start}
.admin-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(105deg,#fff,#e8f6ff);border:1px solid #c9e6fb;border-radius:17px;padding:14px 20px;box-shadow:0 10px 28px rgba(13,90,160,.08)}
.admin-top .brand img{width:145px;height:52px;object-fit:contain}
.admin-top h1{font-size:1.5rem;margin:2px 0;color:#103d7b}
.admin-nav{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:7px;position:sticky;top:18px;padding:12px;background:#fff;border:1px solid #cbe6fb;border-radius:16px;box-shadow:0 8px 24px rgba(13,90,160,.07)}
.admin-nav a{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:10px;color:#164a88;background:#f0f8ff;font-weight:800;font-size:.9rem}
.admin-nav a:hover,.admin-nav a:focus{background:linear-gradient(100deg,#087cf0,#00bfe8);color:#fff;transform:translateX(2px)}
.admin-wrap> :not(.admin-top):not(.admin-nav){grid-column:2}
.admin-wrap .admin-card,.admin-wrap .admin-panel,.admin-wrap form,.admin-wrap table{max-width:100%}
.admin-body .btn{border-radius:10px}
.admin-body input,.admin-body select,.admin-body textarea{border:1px solid #c9e3f8;border-radius:9px;background:#fff;color:#173e73;padding:10px}
.admin-body table{border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #d0e7fa;border-radius:12px;overflow:hidden}
.admin-body th{background:#eaf6ff;color:#154984}
.admin-body td,.admin-body th{border-bottom:1px solid #e1effa;padding:11px 12px}
@media(max-width:900px){.product-grid.product-grid-premium{grid-template-columns:repeat(3,minmax(0,1fr))}.category-list.category-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-wrap{grid-template-columns:190px minmax(0,1fr);padding:12px;gap:10px}}
@media(max-width:650px){.site-header{height:auto;min-height:64px;padding:8px 12px}.site-header .brand img{width:130px;height:42px}.site-header nav{gap:8px;font-size:.76rem}.site-header nav>a:nth-child(3){display:none}.cart-open{padding:6px 8px}.hero{height:260px;min-height:260px}.hero-slide{padding:25px 20px}.hero-content h1{font-size:2rem}.category-list.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.category-tile{min-height:85px}.product-grid.product-grid-premium{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:155px}.product-info{padding:10px}.product-info h3{font-size:.86rem}.product-bottom{align-items:flex-start;flex-direction:column}.product-bottom .btn{width:100%}.catalog-count{display:none}.footer{flex-wrap:wrap}.admin-wrap{display:flex;flex-direction:column;padding:10px}.admin-top{width:100%;flex-wrap:wrap;padding:12px}.admin-top .brand img{width:110px}.admin-nav{position:static;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.admin-nav a{font-size:.78rem;padding:10px}.admin-wrap> :not(.admin-top):not(.admin-nav){width:100%;grid-column:auto}}


/* Forya3D reference redesign: full storefront and admin system */
:root{--ice:#f1f9ff;--line:#c6e5ff;--ink:#073d83;--primary:#087cf0;--aqua:#00c8ef;--violet:#7755ed;--card:#fff}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(145deg,#f8fcff,#eaf6ff 70%,#f5f8ff);color:#123e7b;font-family:Inter,"Segoe UI",Arial,sans-serif}
.announcement{min-height:30px;display:flex;align-items:center;justify-content:center;padding:6px 16px;background:linear-gradient(90deg,#0752a9,#087cf0,#00bce8);color:white;font-weight:750;font-size:12px}
.site-header{height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px clamp(16px,3vw,44px);position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid #cce7ff;box-shadow:0 5px 22px #0b5e9c0d;backdrop-filter:blur(16px)}
.site-header .brand{display:flex;align-items:center;min-width:150px}.site-header .brand img{width:170px;height:54px;object-fit:contain;object-position:left center}
.site-header nav{display:flex;align-items:center;gap:clamp(12px,2vw,28px)}.site-header nav>a{font-size:13px;font-weight:750;color:#164e91}.site-header nav>a:hover{color:#087cf0}
.cart-open{display:inline-flex;align-items:center;gap:10px;border:1px solid #bde2ff;border-radius:24px;padding:9px 15px;background:#eaf6ff;color:#0754a5;font-weight:800}.cart-open span{display:inline-grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:#00c8ef;color:#003b80}
.hero{margin:0 auto;max-width:1600px;height:clamp(300px,31vw,430px);min-height:300px;border-radius:0 0 18px 18px;overflow:hidden;position:relative;background:#073d83;box-shadow:0 18px 34px #0754a51b}
.hero-slide{position:absolute;inset:0;display:flex;align-items:center;padding:clamp(24px,5vw,70px);background-position:center;background-size:cover;opacity:0;visibility:hidden;transition:opacity .7s}.hero-slide.active{opacity:1;visibility:visible}
.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,30,78,.8),rgba(0,53,112,.26) 68%,rgba(0,20,60,.04));pointer-events:none}
.hero-content{position:relative;z-index:2;max-width:590px;color:#fff}.hero-content .eyebrow{color:#00e1f5;font-weight:900;letter-spacing:.1em}
.hero-content h1{max-width:650px;font-size:clamp(2.2rem,4.5vw,4.2rem);line-height:.99;letter-spacing:-.055em;font-weight:900;margin:18px 0 14px;color:#fff;text-shadow:0 4px 22px #001b49a8}.hero-content p{font-size:clamp(1rem,1.4vw,1.2rem);line-height:1.5;max-width:440px;color:#f1f8ff}
.hero-dots{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:4}.hero-dot{width:8px;height:8px;border:0;border-radius:50%;background:#b8d8f8;cursor:pointer;padding:0}.hero-dot.active{width:27px;border-radius:20px;background:#00d1f4}
.btn,.btn-primary,.btn-secondary{border-radius:10px;font-weight:800;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;text-decoration:none;cursor:pointer;transition:transform .2s,box-shadow .2s}
.btn-primary{background:linear-gradient(105deg,#087cf0,#00c8ef);color:white;border:0;box-shadow:0 7px 18px #087cf02c}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 11px 22px #087cf044}.btn-secondary{background:#fff;color:#0872d9;border:1px solid #a9d9ff;box-shadow:0 5px 15px #087cf014}.btn-small{padding:8px 12px;min-height:34px;font-size:12px;border-radius:8px}
main{max-width:1600px;margin:0 auto}.section{padding:30px clamp(16px,2.5vw,38px)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.section-heading h2{font-size:clamp(1.4rem,2.2vw,2rem);letter-spacing:-.04em;color:#0a438b;margin:7px 0}.section-heading p{margin:8px 0 0;color:#6685aa}.eyebrow{font-size:11px;letter-spacing:.11em;font-weight:900;color:#087cf0}.text-link{color:#087cf0;font-weight:800;text-decoration:none;white-space:nowrap}
.category-list.category-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.category-tile{min-height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:14px 10px;border:1px solid #b9e0ff;border-radius:13px;background:linear-gradient(145deg,#fff,#e3f5ff);box-shadow:0 6px 18px #0b6cb70c;color:#124b90;text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s}
.category-tile:hover{transform:translateY(-3px);box-shadow:0 12px 24px #0b6cb71a;border-color:#00c8ef}.category-tile.selected{background:#d9f7ff;border-color:#00bfe9;box-shadow:inset 0 0 0 1px #00bfe9}.category-tile .category-symbol{font-size:23px;line-height:1;color:#087cf0}.category-tile strong{font-size:13px}.category-tile small{font-size:10px;color:#087cf0}
.products-section{padding-top:15px}.search-form{display:flex;gap:10px;max-width:650px;margin:18px 0 24px}.search-form input{flex:1;min-width:0;border:1px solid #c0e2ff;border-radius:10px;background:#fff;padding:14px;font-size:15px;color:#123e7b}
.product-grid.product-grid-premium{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{position:relative;min-width:0;border:1px solid #c3e3fc;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 7px 22px #0754a512;transition:transform .2s,box-shadow .2s,border-color .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #0754a522;border-color:#68c8ff}
.product-card-featured{background:linear-gradient(160deg,#e8f6ff,#fff 65%);border:2px solid #55baff;box-shadow:0 9px 24px #087cf01c}.product-image{height:clamp(165px,17vw,245px);width:100%;display:block;position:relative;overflow:hidden;border:0;padding:0;background:linear-gradient(145deg,#e8f6ff,#cfeaff);cursor:pointer}.product-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}.product-card:hover .product-image img{transform:scale(1.045)}
.featured-badge{position:absolute;top:10px;left:10px;border-radius:20px;padding:5px 10px;font-size:10px;font-weight:900;background:linear-gradient(100deg,#087cf0,#00c8ef);color:#fff}.product-info{padding:13px 14px 15px}
.product-code,.modal-product-code{display:inline-flex;width:max-content;max-width:100%;font-size:11px;font-weight:900;letter-spacing:.035em;color:#087cf0;background:#e4f4ff;border:1px solid #b7e0ff;border-radius:6px;padding:4px 8px;margin:0 0 8px}.product-category{display:block;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.1em;color:#087cf0;margin:0 0 6px}
.product-info h3{font-size:15px;line-height:1.3;margin:0 0 5px;color:#0b4387}.product-info>p{font-size:12px;line-height:1.4;color:#6985a7;min-height:18px;margin:0 0 12px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.product-bottom>strong{font-size:17px;color:#087cf0;font-weight:900}
.cta-band{margin:18px clamp(16px,2.5vw,38px) 28px;padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #b8ddff;border-radius:16px;background:linear-gradient(105deg,#e1f3ff,#d7f8ff 65%,#e9e5ff)}.cta-band h2{color:#0a438b;margin:6px 0}.cta-band p{color:#557aa5;margin:0}
.contact-section{margin:0 clamp(16px,2.5vw,38px) 35px;padding:24px 28px;border:1px solid #c7e5fb;border-radius:16px;background:#fff;box-shadow:0 8px 24px #0754a510;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.contact-section h2{color:#0a438b;margin:7px 0}.contact-details{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.contact-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e8f6ff;border:1px solid #c4e6ff;color:#087cf0}.contact-icon svg{width:22px;height:22px;fill:currentColor}
.footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:25px clamp(18px,4vw,55px);background:linear-gradient(105deg,#063a80,#086be0 58%,#064db0);color:#fff}.footer .brand img{width:160px;height:50px;object-fit:contain}.footer p{font-size:12px;color:#d7ebff}.footer a:last-child{color:#fff}
.modal-backdrop,.cart-backdrop{background:rgba(2,26,65,.55);backdrop-filter:blur(8px)}.modal.product-modal{border:1px solid #c5e4ff;border-radius:20px;box-shadow:0 28px 80px #002c6850;background:#fff;color:#123e7b}.modal-product-layout{gap:26px}.modal-product-layout>img{width:100%;max-height:520px;object-fit:cover;border-radius:14px;background:#e8f6ff}.modal-product-layout h2{font-size:clamp(1.5rem,2vw,2rem);color:#0a438b;margin:8px 0}.modal-price{font-size:25px;color:#087cf0;font-weight:900;margin:10px 0 18px}
.option-group{margin:14px 0}.option-group label,.field-label{display:block;font-size:12px;font-weight:850;color:#164e91;margin-bottom:7px}.option-group input,.option-group select,.cart-footer input,.cart-footer textarea{width:100%;border:1px solid #c2e2fb;border-radius:9px;padding:11px;background:#fafdff;color:#123e7b}.qty-control{display:flex;align-items:center;gap:0}.qty-control button,.cart-item-actions button{border:1px solid #c2e2fb;background:#f1f9ff;color:#0870d4;padding:9px 13px;font-weight:900}.qty-control input{width:70px;text-align:center;border-radius:0}
.cart-panel{background:#fafdff;color:#123e7b;border-left:1px solid #bfe2ff;box-shadow:-20px 0 70px #002c6824}.cart-heading{background:linear-gradient(105deg,#e4f4ff,#fff);border-bottom:1px solid #cde7fb;padding:20px}.cart-heading h2{color:#0a438b;margin:4px 0}.cart-items{padding:16px}.cart-item{display:grid;grid-template-columns:1fr auto;gap:12px;padding:15px;margin-bottom:10px;border:1px solid #cde7fb;border-radius:12px;background:#fff;box-shadow:0 5px 14px #0754a50a}.cart-item h4{margin:0 0 6px;color:#104687}.cart-item p{font-size:12px;color:#6483a7;margin:5px 0}.cart-item>strong{color:#087cf0;white-space:nowrap}.cart-item-actions{display:flex;align-items:center;gap:7px;margin-top:10px}.cart-item-actions button{border-radius:6px;padding:5px 9px}.cart-footer{padding:18px;border-top:1px solid #cde7fb;background:#fff}.cart-total{display:flex;justify-content:space-between;align-items:center;font-weight:800;margin-bottom:16px;color:#124b90}.cart-total strong{font-size:23px;color:#087cf0}.cart-footer .btn-block{width:100%;margin:14px 0 8px}
.admin-body{margin:0;min-height:100vh;background:#edf7ff;color:#123e7b;font-family:Inter,"Segoe UI",Arial,sans-serif}.admin-layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.admin-sidebar{background:linear-gradient(180deg,#0753a9,#064181 80%,#032f68);color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:12px}
.admin-brand{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;padding:9px;margin-bottom:15px;min-height:68px}.admin-brand img{width:100%;max-width:190px;height:54px;object-fit:contain}.admin-sidebar-label{padding:8px 12px;color:#9edfff;font-size:10px;font-weight:900;letter-spacing:.12em}
.admin-nav{display:flex;flex-direction:column;gap:6px;margin:0}.admin-nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:9px;color:#eaf6ff;background:transparent;border:1px solid transparent;font-size:13px;font-weight:750;text-decoration:none}.admin-nav a span{width:20px;text-align:center;font-size:16px;color:#7feaff}.admin-nav a:hover,.admin-nav a:focus{background:#0b70d2;border-color:#3a9bfa}.admin-sidebar-foot{margin-top:auto;padding:18px 10px 5px;color:#b7dcff;font-size:11px;line-height:1.7}
.admin-workspace{min-width:0;padding:25px clamp(18px,3vw,42px)}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin:0 0 22px;background:linear-gradient(110deg,#fff,#e6f5ff);border:1px solid #c5e4ff;border-radius:16px;box-shadow:0 8px 24px #0754a510}.admin-top h1{margin:5px 0 0;color:#0a438b;font-size:25px}.admin-main{min-width:0}
.admin-card{padding:22px;background:#fff;border:1px solid #c7e5fb;border-radius:16px;margin-bottom:20px;box-shadow:0 8px 24px #0754a50d}.admin-card h2{margin-top:0;color:#0a438b}.admin-card p,.muted{color:#6684a7}.admin-main .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-nav a[href="index.php"]{background:#0b70d2}
.admin-form input,.admin-form select,.admin-form textarea{background:#fafdff;border:1px solid #c5e4fa;color:#123e7b;border-radius:8px;padding:10px}.admin-table{background:#fff;color:#16477e}.admin-table th{background:#eaf6ff;color:#124b90}.admin-table th,.admin-table td{border-bottom:1px solid #e0effb;padding:12px 10px}.admin-table tbody tr:hover{background:#f1f9ff}
@media(max-width:980px){.category-list.category-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid.product-grid-premium{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-layout{grid-template-columns:190px minmax(0,1fr)}.admin-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.site-header{height:auto;min-height:62px;padding:7px 12px}.site-header .brand img{width:130px;height:44px}.site-header nav{gap:8px}.site-header nav>a{display:none}.cart-open{padding:7px 10px;font-size:12px}.hero{height:340px;min-height:0;border-radius:0 0 13px 13px}.hero-slide{padding:24px 20px}.hero-content h1{font-size:2.3rem}.section{padding:24px 14px}.category-list.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.category-tile{min-height:78px}.product-grid.product-grid-premium{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:155px}.product-info{padding:10px}.product-info h3{font-size:13px}.product-info>p{font-size:11px}.product-bottom{align-items:flex-start;flex-direction:column}.product-bottom .btn{width:100%}.cta-band{margin:10px 14px 22px;padding:20px;align-items:flex-start;flex-direction:column}.contact-section{margin:0 14px 24px;padding:18px}.footer{padding:22px 16px}.admin-layout{display:block}.admin-sidebar{padding:10px;gap:8px}.admin-brand{min-height:50px;margin:0 auto;width:190px}.admin-brand img{height:36px}.admin-sidebar-label,.admin-sidebar-foot{display:none}.admin-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.admin-nav a{justify-content:center;padding:9px 4px;font-size:11px;flex-direction:column;gap:3px}.admin-workspace{padding:12px}.admin-top{padding:14px}.admin-top h1{font-size:20px}.admin-main .product-grid{grid-template-columns:1fr}.admin-form{grid-template-columns:1fr}}

/* HOME V3 — página inicial organizada por categoria, inspirada na referência Forya3D */
.categories-section{padding-top:30px;padding-bottom:18px}
.category-list.category-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.category-tile{min-height:132px;padding:17px 12px;gap:9px;border-radius:15px;background:linear-gradient(150deg,#fff 0%,#e9f7ff 100%);box-shadow:0 8px 20px rgba(8,100,175,.075)}
.category-tile .category-symbol{display:flex;width:52px;height:52px;align-items:center;justify-content:center;color:#087cf0;font-size:2.4rem;line-height:1}
.category-tile .category-symbol svg{width:43px;height:43px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 4px rgba(8,124,240,.12))}
.category-tile strong{font-size:.9rem;font-weight:850;color:#0a438b}
.category-tile small{font-size:.73rem;font-weight:700;color:#087cf0}
.category-tile.selected{background:linear-gradient(145deg,#dffaff,#e9f2ff);border:1.5px solid #00bfe8}
.featured-section{padding-top:14px;padding-bottom:18px}
.featured-section .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.category-products-section{padding-top:10px}
.home-category-block{padding:20px 0 25px;border-top:1px solid #d6eafb}
.home-category-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px}
.home-category-heading h3{margin:0;color:#0a438b;font-size:1.2rem;font-weight:900;letter-spacing:-.025em}
.home-category-block .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-category-block .product-image{height:clamp(170px,16vw,220px)}
.products-section .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.category-list.category-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.featured-section .product-grid,.home-category-block .product-grid,.products-section .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.categories-section{padding-top:22px}.category-list.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-tile{min-height:116px;padding:13px 8px}.category-tile .category-symbol{width:46px;height:46px}.category-tile .category-symbol svg{width:39px;height:39px}.category-tile strong{font-size:.82rem}.category-tile small{font-size:.68rem}.featured-section .product-grid,.home-category-block .product-grid,.products-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-category-block{padding:16px 0 20px}.home-category-heading h3{font-size:1rem}.home-category-block .product-image{height:150px}}
@media(max-width:390px){.category-list.category-tiles{gap:8px}.category-tile{min-height:108px}.category-tile .category-symbol{width:40px;height:40px}.category-tile .category-symbol svg{width:35px;height:35px}.product-grid.product-grid-premium{gap:8px}}


/* V4 — home com quatro categorias e carrinho mobile legível */
.categories-section{padding-top:30px;padding-bottom:14px}
.category-list.category-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.category-tile{min-height:138px}
.catalog-all-wrap{display:flex;justify-content:center;margin:18px auto 0}
.catalog-all-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:52px;padding:11px 24px;border:1px solid #9bd8fa;border-radius:13px;background:linear-gradient(110deg,#087cf0,#00bfe8);color:#fff;font-weight:900;font-size:15px;box-shadow:0 8px 20px rgba(8,124,240,.18);transition:transform .18s,box-shadow .18s}
.catalog-all-button:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(8,124,240,.24)}
.catalog-all-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.catalog-all-button b{font-size:20px;line-height:1}
/* The item list scrolls independently; order total and checkout stay visible. */
.cart-panel{min-height:0;min-width:0}
.cart-items{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.cart-item{min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.cart-item>div{min-width:0;overflow-wrap:anywhere}
.cart-item h4{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.cart-item>strong{font-size:14px;align-self:start}
.cart-item-actions{flex-wrap:wrap}
.cart-item-actions button{min-width:34px;min-height:32px;padding:5px 9px;background:#edf7ff;border:1px solid #c7e3f8;border-radius:7px;font-weight:800}
.cart-item-actions span{font-size:12px;font-weight:800;color:#164e91}
@media(max-width:700px){
  .categories-section{padding:22px 14px 12px}
  .category-list.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .category-tile{min-height:112px;padding:13px 8px}
  .catalog-all-wrap{margin-top:14px}
  .catalog-all-button{width:100%;min-height:50px;font-size:14px}
  .cart-backdrop{align-items:stretch;justify-content:stretch;padding:0}
  .cart-panel{width:100%;max-width:none;height:100vh;height:100dvh;max-height:100dvh;border:0;border-radius:0;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
  .cart-heading{flex:0 0 auto;padding:12px 16px;min-height:58px}
  .cart-heading h2{font-size:20px;margin:1px 0}
  .cart-heading .eyebrow{font-size:9px}
  .cart-items{flex:1 1 auto;min-height:0;overflow-y:auto;padding:9px 12px 12px}
  .cart-item{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;margin-bottom:8px;border-radius:10px}
  .cart-item h4{font-size:13px;margin-bottom:4px}
  .cart-item p{font-size:11px;line-height:1.35;margin:3px 0;overflow-wrap:anywhere}
  .cart-item .product-code{font-size:10px;padding:2px 6px;margin-bottom:4px}
  .cart-item>strong{font-size:13px;white-space:nowrap}
  .cart-item-actions{gap:6px;margin-top:7px}
  .cart-item-actions button{min-width:32px;min-height:32px;padding:4px 8px;font-size:12px}
  .cart-item-actions span{font-size:11px}
  .cart-footer{flex:0 0 auto;max-height:43vh;overflow-y:auto;padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:7px;box-shadow:0 -5px 18px rgba(6,62,130,.07)}
  .cart-total{margin:0 0 2px;font-size:14px}
  .cart-total strong{font-size:20px}
  .cart-footer .field-label{font-size:11px;margin:0 0 3px}
  .cart-footer input,.cart-footer textarea{padding:9px 10px;font-size:13px}
  .cart-footer textarea{min-height:48px;max-height:70px}
  .cart-footer .btn-block{margin:4px 0 0;min-height:44px}
  .cart-footer small{font-size:10px;line-height:1.25}
}
@media(max-width:380px){
  .cart-item{grid-template-columns:minmax(0,1fr);gap:5px}
  .cart-item>strong{justify-self:end}
  .cart-footer{max-height:46vh}
}

/* V5 — amostras de cores e alinhamento dos contatos no celular */
.color-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:8px 0 2px}
.color-swatch{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:5px 10px 5px 6px;border:1px solid #c9deef;border-radius:999px;background:#fff;color:#174b80;font-size:12px;font-weight:750;line-height:1.2;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.color-swatch:hover{border-color:#5bb9f3;background:#f1f9ff}
.color-swatch.selected{border:2px solid #087cf0;background:#eaf6ff;box-shadow:0 0 0 2px rgba(8,124,240,.12);padding:4px 9px 4px 5px}
.color-swatch-dot{display:block;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--swatch,#dbeafe);border:1px solid rgba(20,55,90,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.color-swatch[title="Branco"] .color-swatch-dot,.color-swatch[title="branco"] .color-swatch-dot{border:1px solid #aebdca}
.color-native-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.contact-social-links{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;flex:0 0 auto}
.contact-social-links .contact-icon{flex:0 0 42px;width:42px;height:42px;margin:0;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){
 .contact-section{align-items:stretch;gap:14px}
 .contact-section>div{width:100%;min-width:0}
 .contact-details{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;width:100%}
 .contact-social-links{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:12px;width:auto}
 .contact-social-links .contact-icon{display:inline-flex!important;flex:0 0 44px;width:44px;height:44px}
 .contact-text-extra{display:block;max-width:100%;overflow-wrap:anywhere;line-height:1.4}
 .contact-section>.btn{width:100%;text-align:center}
 .color-swatches{gap:8px}
 .color-swatch{min-height:40px;font-size:12px}
}


/* V6 — galeria de fotos do produto e miniaturas no painel */
.modal-product-gallery{min-width:0}
.modal-product-gallery .modal-main-image{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#09172e;border-radius:12px}
.modal-gallery-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.modal-gallery-thumb{width:54px;height:54px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#09172e;overflow:hidden}
.modal-gallery-thumb.active{border:2px solid #22d3ee;box-shadow:0 0 0 2px rgba(34,211,238,.15)}
.modal-gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:5px}
.product-gallery-admin{margin-top:14px;padding:14px;border:1px solid #c5e4fa;border-radius:10px;background:#f5fbff;color:#16477e}
.product-gallery-admin-grid{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.product-gallery-admin-item{display:flex;flex-direction:column;gap:6px;max-width:130px;font-size:12px;color:#16477e}
.product-gallery-admin-item img{width:110px;height:90px;object-fit:cover;border:1px solid #c5e4fa;border-radius:8px;background:#fff}
.product-gallery-admin-item span{display:flex;align-items:center;gap:4px}
@media(max-width:700px){.modal-product-layout{grid-template-columns:1fr}.modal-product-gallery .modal-main-image{max-height:300px}.modal-gallery-thumbs{gap:7px}.modal-gallery-thumb{width:48px;height:48px}}


/* V7 — miniaturas e reordenação por arrastar e soltar no cadastro */
.product-gallery-admin-grid.sortable-gallery{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px}
.sortable-gallery-item{width:145px;max-width:145px;padding:8px;border:1px solid #c5e4fa;border-radius:10px;background:#fff;cursor:grab;user-select:none}
.sortable-gallery-item.dragging{opacity:.42;border:2px dashed #087cf0}
.sortable-gallery-item.drag-over{outline:3px solid #55b8f5;outline-offset:2px}
.sortable-gallery-item img{display:block;width:100%;height:112px;object-fit:cover}
.gallery-drag-handle{display:block;padding:4px 2px;font-size:11px;font-weight:800;color:#087cf0;cursor:grab}
.gallery-remove{display:flex;align-items:center;gap:5px;margin-top:7px;font-size:11px;line-height:1.3;color:#9b2635}
.gallery-remove input{width:auto;margin:0}
.product-gallery-admin-item.is-main{width:145px;max-width:145px}
.product-gallery-admin-item.is-main img{width:100%;height:112px}
@media(max-width:700px){.product-gallery-admin-grid.sortable-gallery{gap:9px}.sortable-gallery-item,.product-gallery-admin-item.is-main{width:calc(50% - 6px);max-width:calc(50% - 6px)}.sortable-gallery-item img,.product-gallery-admin-item.is-main img{height:125px}}


/* V8 — descrição curta no detalhe e no carrinho; miniatura e retorno à loja */
.modal-short-description{margin:9px 0 13px;color:#526780;font-size:.94rem;line-height:1.55;max-width:62ch}
.cart-item{display:grid;grid-template-columns:68px minmax(0,1fr) auto;gap:12px;align-items:start}
.cart-item-photo{width:68px;height:68px;border-radius:9px;overflow:hidden;background:#eaf4fc;display:flex;align-items:center;justify-content:center;color:#1685e8;font-weight:900;flex:none}
.cart-item-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cart-item-details{min-width:0;overflow-wrap:anywhere}
.cart-item .cart-short-description{color:#536b84;font-size:12px;line-height:1.4;margin:4px 0}
.cart-continue{margin:2px 0 0;background:#eaf4fc!important;color:#15518b!important;border:1px solid #c8e2f7!important}
@media(max-width:700px){
 .cart-item{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:9px;margin-bottom:8px}
 .cart-item-photo{width:54px;height:54px;border-radius:7px}
 .cart-item h4{font-size:13px}
 .cart-item .cart-short-description{font-size:10.5px;line-height:1.35}
 .cart-item>strong{font-size:12px;white-space:nowrap}
 .cart-item-actions{gap:5px}
 .cart-continue{min-height:40px;padding:9px 12px;font-size:13px}
}
@media(max-width:360px){.cart-item{grid-template-columns:46px minmax(0,1fr);}.cart-item-photo{width:46px;height:46px}.cart-item>strong{grid-column:2;justify-self:end}}


/* AJUSTE ADMIN V10 — contraste do menu e indicador de pedidos */
.admin-sidebar .admin-nav{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.admin-sidebar .admin-nav a{background:transparent!important;color:#f2f8ff!important;border:1px solid transparent!important}
.admin-sidebar .admin-nav a span{color:#7feaff!important}
.admin-sidebar .admin-nav a:hover,.admin-sidebar .admin-nav a:focus{background:#0b70d2!important;color:#fff!important;border-color:#3a9bfa!important}
.admin-sidebar .admin-nav a.active{background:#0b70d2!important;color:#fff!important;border-color:#3a9bfa!important}
.admin-main>.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.admin-main>.product-grid .admin-card{min-width:0}
.admin-main>.product-grid .admin-card h2{margin:8px 0 10px}
@media(max-width:980px){.admin-main>.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.admin-main>.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* V11 — destaque do card Pedidos e revisão editável antes do WhatsApp */
.admin-main>.product-grid .admin-orders-highlight{background:linear-gradient(135deg,#086bd1,#1249a0)!important;border:1px solid #56b7ff!important;color:#fff!important;box-shadow:0 12px 28px rgba(0,91,190,.24)}
.admin-main>.product-grid .admin-orders-highlight .eyebrow,.admin-main>.product-grid .admin-orders-highlight .text-link{color:#fff!important}
.admin-main>.product-grid .admin-orders-highlight h2{color:#fff!important}
.review-backdrop{position:fixed;inset:0;z-index:60;background:rgba(3,15,35,.78);display:none;align-items:center;justify-content:center;padding:16px}
.review-backdrop.show{display:flex}
.order-review-panel{width:min(100%,850px);max-height:94vh;overflow:auto;background:#f7fbff;color:#123b6c;border:1px solid #b9dcf8;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.35);padding:24px}
.review-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;border-bottom:1px solid #d8eaf8;padding-bottom:14px;margin-bottom:16px}
.review-heading h2{font-size:1.7rem;margin:4px 0;color:#104a91}.review-heading p{margin:0;color:#6583a5;font-size:.92rem}
.review-heading .eyebrow{color:#087cf0}.review-heading .modal-close{color:#174b80}
.review-items{display:grid;gap:12px}.review-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;padding:13px;border:1px solid #d7e9f7;border-radius:13px;background:#fff}
.review-item-photo{width:82px;height:82px;object-fit:cover;border-radius:9px;background:#eaf4fc}.review-item h3{margin:0 0 4px;color:#164b83;font-size:1rem}.review-item-code{font-size:.7rem;color:#087cf0;font-weight:900;margin:0 0 5px}.review-item-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}.review-item-controls label,.review-customer .field-label{display:block;font-size:.75rem;font-weight:800;color:#47698d;margin-bottom:4px}.review-item-controls input,.review-customer input,.review-customer textarea{width:100%;min-width:0;padding:9px 10px;border:1px solid #c8deef;border-radius:8px;background:#fff;color:#163e68}.review-item-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;color:#315a83;font-size:.86rem}.review-remove{border:0;background:#fff0f0;color:#b42332;border-radius:7px;padding:7px 10px;font-weight:800}.review-customer{margin-top:18px;padding:16px;border:1px solid #d7e9f7;border-radius:13px;background:#fff}.review-customer h3{margin:0 0 12px;color:#164b83}.review-customer input,.review-customer textarea{margin-bottom:10px}.review-bottom{margin-top:16px;padding-top:14px;border-top:1px solid #d8eaf8}.review-bottom .cart-total{display:flex;justify-content:space-between;align-items:center;font-size:1rem;color:#174b80}.review-bottom .cart-total strong{font-size:1.5rem;color:#087cf0}.review-actions{display:flex;gap:10px;margin:14px 0 9px}.review-actions .btn{flex:1;min-height:48px}.btn-whatsapp{background:#19a85a;color:#fff}.review-bottom>small{display:block;color:#6583a5;font-size:.75rem}
@media(max-width:650px){.review-backdrop{padding:0;align-items:stretch}.order-review-panel{width:100%;max-height:100dvh;height:100dvh;border:0;border-radius:0;padding:15px 13px calc(14px + env(safe-area-inset-bottom))}.review-heading h2{font-size:1.35rem}.review-item{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:10px}.review-item-photo{width:62px;height:62px}.review-item-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.review-actions{flex-direction:column}.review-actions .btn{width:100%;min-height:46px}.review-item-meta{flex-wrap:wrap}}

/* V12 — carrinho em tela cheia, sem rolagem da página de fundo */
body.overlay-open{overflow:hidden;touch-action:none}


/* V13: carrinho lateral restaurado */
.cart-backdrop{justify-content:flex-end!important;align-items:stretch!important;padding:0!important}
.cart-panel{width:min(100%,470px)!important;max-width:470px!important;height:100%!important;max-height:100dvh!important;border-radius:18px 0 0 18px!important;border:1px solid #c5e4fa!important;display:flex!important;flex-direction:column!important;min-height:0!important}
.cart-items{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
.cart-footer{flex:0 0 auto!important;max-height:46vh;overflow-y:auto!important}
@media(max-width:520px){.cart-panel{width:min(100%,430px)!important;border-radius:16px 0 0 16px!important}.cart-footer{max-height:48vh}}


/* V14 — carrinho sem barras visiveis e sobreposicao correta do menu */
.site-header{z-index:10!important}
.cart-backdrop{z-index:100!important}
.cart-panel{position:relative;z-index:101!important;overflow:hidden!important}
.cart-items,.cart-footer{scrollbar-width:none!important;-ms-overflow-style:none!important}
.cart-items::-webkit-scrollbar,.cart-footer::-webkit-scrollbar,.cart-panel::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.review-backdrop{z-index:110!important}

/* V15 — uma única rolagem contínua para produtos e dados do comprador */
.cart-panel{
  height:100%!important;
  max-height:100dvh!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.cart-panel::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.cart-heading{flex:0 0 auto!important}
.cart-items{
  flex:0 0 auto!important;
  min-height:auto!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
  -webkit-overflow-scrolling:auto!important;
}
.cart-footer{
  flex:0 0 auto!important;
  max-height:none!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
  box-shadow:none!important;
}
@media(max-width:520px){
  .cart-panel{width:min(100%,430px)!important;max-width:430px!important;height:100dvh!important;max-height:100dvh!important;border-radius:16px 0 0 16px!important}
  .cart-items{padding-bottom:12px!important}
  .cart-footer{padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}
}


/* V28 — correção definitiva: títulos e links das seções alinhados à esquerda no celular */
@media screen and (max-width: 760px) {
  .categories-section .section-heading,
  .featured-section .section-heading,
  .how-section .section-heading,
  .faq-section .section-heading,
  .products-section .section-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .categories-section .section-heading > div,
  .featured-section .section-heading > div,
  .how-section .section-heading > div,
  .faq-section .section-heading > div,
  .products-section .section-heading > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .categories-section .section-heading .eyebrow,
  .categories-section .section-heading h2,
  .categories-section .section-heading .text-link,
  .featured-section .section-heading .eyebrow,
  .featured-section .section-heading h2,
  .featured-section .section-heading .text-link,
  .how-section .section-heading .eyebrow,
  .how-section .section-heading h2,
  .faq-section .section-heading .eyebrow,
  .faq-section .section-heading h2,
  .faq-section .section-heading p,
  .products-section .section-heading .eyebrow,
  .products-section .section-heading h2,
  .products-section .section-heading p,
  .products-section .section-heading .text-link {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .categories-section .section-heading .text-link,
  .featured-section .section-heading .text-link {
    align-self: flex-start !important;
    margin-top: 8px !important;
  }
}

/* Ajuste da revisão: miniatura, descrição e subtotal na mesma linha. */
.review-item{grid-template-columns:82px minmax(0,1fr) auto;align-items:center}.review-item-photo{display:block;object-fit:cover}.review-item>div{min-width:0}.review-item>strong{white-space:nowrap}@media(max-width:650px){.review-item{grid-template-columns:62px minmax(0,1fr) auto}.review-item>strong{font-size:.85rem}}

/* Opções de modelos com foto e preço individuais */
.product-variant-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-top:8px}.product-variant-option{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid #d7e5f2;border-radius:12px;background:#fff;cursor:pointer}.product-variant-option:has(input:checked){border-color:#087cf0;box-shadow:0 0 0 2px rgba(8,124,240,.12)}.product-variant-option input{accent-color:#087cf0}.product-variant-option img{width:100%;height:105px;object-fit:cover;border-radius:8px}.product-variant-option span{font-weight:750;font-size:.92rem}

.variant-selected-description{margin:10px 0 14px;padding:10px 12px;background:#f1f7fc;border-left:3px solid #42a5df;border-radius:7px;color:#34495e;font-size:.94rem;line-height:1.45}.variant-selected-description[hidden]{display:none}

/* V4: miniaturas compactas no painel e opções de produto */
.admin-table td img{width:54px!important;height:54px!important;max-width:54px;object-fit:cover;border-radius:8px}.photo-admin-item img{width:64px!important;height:64px!important;object-fit:cover}.gallery-sort-item>img{width:64px!important;height:64px!important;object-fit:cover}


/* Miniatura compacta do vídeo do YouTube nos detalhes do produto */
.product-video-thumb-wrap{margin:12px 0 0;max-width:240px}
.product-video-thumb{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:1px solid #cbdced;border-radius:10px;background:#07182c;cursor:pointer;text-align:left;aspect-ratio:16/9}
.product-video-thumb img{display:block;width:100%;height:100%;object-fit:cover;opacity:.88;transition:opacity .2s}
.product-video-thumb:hover img{opacity:1}
.product-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;padding-left:3px;border-radius:50%;background:rgba(0,0,0,.72);border:2px solid #fff;color:#fff;font-size:20px;box-shadow:0 2px 12px #0005}
.product-video-caption{position:absolute;left:0;right:0;bottom:0;padding:18px 9px 7px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff;font-size:12px;font-weight:700}
.video-lightbox{display:none;position:fixed;inset:0;z-index:10050;align-items:center;justify-content:center;padding:22px;background:rgba(2,8,18,.88)}
.video-lightbox.show{display:flex}
.video-lightbox-panel{position:relative;width:min(100%,1000px);background:#000;border-radius:12px;box-shadow:0 18px 60px #0008}
.video-lightbox-close{position:absolute;right:0;top:-48px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#14263c;font-size:28px;line-height:1;cursor:pointer}
.video-lightbox-frame{position:relative;width:100%;aspect-ratio:16/9}
.video-lightbox-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:12px}
body.video-open{overflow:hidden}
@media(max-width:600px){.product-video-thumb-wrap{max-width:200px}.video-lightbox{padding:12px}.video-lightbox-panel{width:100%}.video-lightbox-close{top:-44px}}


/* Somente na seção de categorias da página inicial: fotos circulares escolhidas no Admin. */
.home-page .categories-section .category-photo-wrap{width:66px;height:66px;flex:0 0 66px;border-radius:50%;overflow:hidden;border:2px solid #b9e4fb;background:#fff;box-shadow:0 4px 12px rgba(8,100,175,.12);}
.home-page .categories-section .category-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
@media(max-width:700px){.home-page .categories-section .category-photo-wrap{width:56px;height:56px;flex-basis:56px;}}

/* AJUSTE MOBILE — cabeçalho compacto e títulos alinhados à esquerda */
@media (max-width:650px){
  .site-header{
    display:grid!important;
    grid-template-columns:minmax(96px,1.1fr) minmax(76px,.9fr) auto auto;
    align-items:center;
    column-gap:6px;
    row-gap:0;
    min-height:62px;
    height:auto;
    padding:7px 9px;
  }
  .site-header .brand{grid-column:1;grid-row:1;min-width:0;width:100%;}
  .site-header .brand img{width:100%!important;max-width:125px;height:40px!important;object-fit:contain;object-position:left center;}
  .site-header .main-nav{display:contents!important;}
  .site-header .main-nav>a{display:none!important;}
  .site-header .main-nav .header-search{
    display:flex!important;grid-column:2;grid-row:1;order:initial!important;
    width:100%!important;max-width:none!important;min-width:0;
    gap:2px;padding:2px;border-radius:22px;
  }
  .site-header .main-nav .header-search input{
    flex:1 1 auto;width:1px!important;min-width:0;padding:6px 5px;
    font-size:11px;line-height:1.2;
  }
  .site-header .main-nav .header-search button{
    flex:0 0 28px;width:28px;height:28px;font-size:17px;
  }
  .site-header .cart-open{
    grid-column:3;grid-row:1;align-self:center;white-space:nowrap;
    padding:6px 7px;font-size:10px;line-height:1.2;margin:0;
  }
  .site-header .cart-open span{width:19px;height:19px;margin-left:2px;font-size:11px;}
  .site-header .hamburger-menu{
    grid-column:4;grid-row:1;width:36px;height:36px;min-width:36px;
    flex:0 0 36px;margin:0;border-radius:10px;gap:4px;
  }
  .site-header .hamburger-menu span{width:17px;}
  .standard-home-section .section-heading{
    display:flex;flex-direction:column;align-items:flex-start;
    justify-content:flex-start;text-align:left;gap:8px;width:100%;
  }
  .standard-home-section .section-heading>div,
  .standard-home-section .section-heading .eyebrow,
  .standard-home-section .section-heading h2,
  .standard-home-section .section-heading p,
  .standard-home-section .section-heading>.text-link{
    text-align:left;margin-left:0;margin-right:auto;align-self:flex-start;
  }
  .standard-home-section .section-heading>.text-link{white-space:normal;}
}
@media (max-width:370px){
  .site-header{grid-template-columns:minmax(88px,1fr) minmax(68px,.85fr) auto auto;column-gap:5px;padding-left:7px;padding-right:7px;}
  .site-header .brand img{max-width:112px;}
  .site-header .cart-open{padding:5px 5px;font-size:9px;}
  .site-header .cart-open span{width:17px;height:17px;font-size:10px;}
  .site-header .hamburger-menu{width:34px;height:34px;min-width:34px;flex-basis:34px;}
}


/* Ajuste pontual: no mobile, carrinho somente com ícone e contador azul. */
.cart-open-icon{display:none;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 23px}
@media(max-width:650px){
  .site-header .cart-open{display:inline-flex!important;align-items:center;justify-content:center;gap:0!important;padding:0!important;width:34px;height:36px;min-width:34px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#0753a4!important;font-size:0!important;line-height:1!important}
  .site-header .cart-open .cart-open-icon{display:block;width:23px;height:23px}
  .site-header .cart-open .cart-open-label{display:none!important}
  .site-header .cart-open span#cartCount{display:inline-grid!important;place-items:center;position:relative;top:-8px;margin-left:-5px!important;width:18px!important;min-width:18px!important;height:18px!important;padding:0!important;border:2px solid #fff;border-radius:50%!important;background:#087cf0!important;color:#fff!important;font-size:10px!important;font-weight:800;line-height:1!important}
}

/* Miniaturas circulares também na página completa de categorias */
.categories-page-section .category-photo-wrap{width:66px;height:66px;flex:0 0 66px;border-radius:50%;overflow:hidden;border:2px solid #b9e4fb;background:#fff;box-shadow:0 4px 12px rgba(8,100,175,.12);}
.categories-page-section .category-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
@media(max-width:700px){.categories-page-section .category-photo-wrap{width:56px;height:56px;flex-basis:56px;}}


/* Correção robusta das miniaturas na página completa de categorias */
.categories-page-section .category-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;}
.categories-page-section .category-page-photo-wrap{display:block!important;width:66px!important;height:66px!important;min-width:66px;min-height:66px;flex:0 0 66px!important;overflow:hidden!important;border-radius:50%!important;border:2px solid #b9e4fb;background:#fff;box-shadow:0 4px 12px rgba(8,100,175,.12);line-height:0;font-size:0;}
.categories-page-section .category-page-photo{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%!important;margin:0!important;padding:0!important;}
@media(max-width:700px){.categories-page-section .category-page-photo-wrap{width:56px!important;height:56px!important;min-width:56px;min-height:56px;flex-basis:56px!important;}}


/* Carrinho somente com icone e contador azul tambem no desktop */
@media (min-width:651px){
  .site-header .cart-open{
    position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:0!important;width:42px!important;height:42px!important;min-width:42px!important;
    padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
    box-shadow:none!important;color:#0753a4!important;font-size:0!important;line-height:1!important;
  }
  .site-header .cart-open .cart-open-icon{display:block!important;width:25px;height:25px;}
  .site-header .cart-open .cart-open-label{display:none!important;}
  .site-header .cart-open span#cartCount{
    display:inline-grid!important;place-items:center;position:absolute!important;top:0!important;right:-2px!important;
    margin:0!important;width:19px!important;min-width:19px!important;height:19px!important;padding:0!important;
    border:2px solid #fff;border-radius:50%!important;background:#087cf0!important;color:#fff!important;
    font-size:10px!important;font-weight:800;line-height:1!important;
  }
}
