/*
Theme Name: Supermercados Fernandez
Theme URI: https://example.com/
Author: OpenAI
Description: Tema institucional e promocional responsivo para Supermercados Fernandez.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fernandez
*/
:root{--blue:#0047AB;--navy:#002D72;--deep:#061a3a;--yellow:#FFD100;--gold:#F5B800;--red:#E60000;--white:#fff;--ink:#17233b;--muted:#65728a;--soft:#f4f7fc;--radius:20px;--shadow:0 14px 40px rgba(0,34,91,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Montserrat,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input{font:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}.topbar{background:var(--deep);color:#dbe7ff;font-size:12px;padding:8px 0}.topbar .container{display:flex;justify-content:space-between;gap:12px}.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 4px 20px #001b4b35}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-weight:950;font-style:italic;letter-spacing:-1.5px;font-size:clamp(21px,3vw,31px);line-height:.9}.brand small{display:block;font-size:9px;letter-spacing:3px;font-style:normal;text-align:center;margin-bottom:4px}.brand-mark{color:#fff;text-shadow:2px 3px 0 #001c52}.brand-mark em{color:var(--yellow);font-style:normal}.main-nav{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:800}.main-nav a:hover{color:var(--yellow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;padding:14px 22px;font-weight:900;font-size:13px;cursor:pointer;transition:.2s;box-shadow:0 7px 18px #001c5222}.btn:hover{transform:translateY(-2px);filter:brightness(1.04)}.btn-yellow{background:var(--yellow);color:#14213b}.btn-blue{background:var(--blue);color:#fff}.btn-outline{border:2px solid #fff;color:#fff;background:transparent}.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:28px}.hero{position:relative;min-height:610px;color:#fff;background:linear-gradient(90deg,rgba(0,37,101,.05) 0%,rgba(0,41,111,.08) 40%,rgba(0,36,102,.35) 100%),url('assets/fernandez-hero.png') center/cover no-repeat;display:flex;align-items:center;overflow:hidden}.hero:after{content:"";position:absolute;inset:auto -5% -90px -5%;height:125px;background:var(--yellow);border-radius:50% 50% 0 0/45% 45% 0 0;transform:rotate(-1deg);opacity:.98}.hero-content{position:relative;z-index:2;width:50%;margin-left:auto;padding:65px 0 100px;text-shadow:0 2px 12px #001b4b55}.eyebrow{display:inline-block;color:var(--yellow);font-weight:950;letter-spacing:2px;font-size:13px;text-transform:uppercase}.hero h1{font-size:clamp(34px,4.4vw,58px);line-height:1.05;letter-spacing:-2px;margin:15px 0 18px;font-weight:950}.hero p{font-size:17px;max-width:520px;color:#edf4ff}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.section{padding:82px 0}.section-soft{background:var(--soft)}.section-blue{background:linear-gradient(125deg,var(--navy),var(--blue));color:#fff;position:relative;overflow:hidden}.section-blue:after{content:"🛒";position:absolute;right:4%;top:5%;font-size:170px;opacity:.06;transform:rotate(-12deg)}.section-heading{text-align:center;max-width:720px;margin:0 auto 38px}.section-heading .eyebrow{color:var(--blue)}.section-blue .section-heading .eyebrow{color:var(--yellow)}.section-heading h2{font-size:clamp(27px,3.5vw,42px);line-height:1.12;margin:10px 0;font-weight:950;letter-spacing:-1.2px}.section-heading p{color:var(--muted);margin:0}.section-blue .section-heading p{color:#dce9ff}.filters{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-bottom:28px}.filter-btn{border:1px solid #dbe3f1;background:#fff;color:var(--navy);padding:9px 16px;border-radius:999px;font-size:12px;font-weight:850;cursor:pointer}.filter-btn.active,.filter-btn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}.offers-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.offer-card{background:#fff;border:1px solid #e8edf5;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);position:relative;display:flex;flex-direction:column}.offer-photo{height:175px;background:linear-gradient(135deg,#f6f8fc,#e8eef8);display:flex;align-items:center;justify-content:center;color:#a2afc4;font-size:48px;position:relative}.offer-photo img{width:100%;height:100%;object-fit:contain;padding:12px}.discount{position:absolute;top:13px;left:13px;background:var(--red);color:#fff;padding:6px 10px;border-radius:7px;font-weight:950;font-size:11px}.offer-info{padding:17px;display:flex;flex-direction:column;flex:1}.offer-category{font-size:10px;color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:1px}.offer-info h3{font-size:16px;line-height:1.25;margin:6px 0 10px}.old-price{font-size:12px;color:#8a95a7;text-decoration:line-through;min-height:18px}.new-price{font-size:28px;line-height:1.1;font-weight:950;color:var(--red);margin:2px 0 14px}.new-price small{font-size:12px;color:var(--ink)}.offer-actions{display:flex;gap:7px;margin-top:auto}.offer-actions .btn{padding:10px 12px;font-size:11px;flex:1}.empty-offers{grid-column:1/-1;background:#fff;border:2px dashed #d8e1f0;padding:35px;text-align:center;border-radius:18px;color:var(--muted)}.departments-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.department{background:#fff;border:1px solid #e9eef6;border-radius:18px;padding:25px;box-shadow:0 8px 25px #002d7210;transition:.2s}.department:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.department-icon{width:52px;height:52px;background:#fff5c4;color:var(--blue);display:grid;place-items:center;border-radius:15px;font-size:26px}.department h3{margin:15px 0 5px;font-size:18px}.department p{margin:0;color:var(--muted);font-size:13px}.vip-wrap{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px;background:linear-gradient(110deg,var(--navy),var(--blue));border-radius:26px;padding:42px;color:#fff;position:relative;overflow:hidden}.vip-wrap:after{content:"🛒";font-size:145px;position:absolute;right:24%;bottom:-28px;opacity:.14}.vip-wrap h2{font-size:clamp(25px,3vw,38px);line-height:1.1;margin:8px 0}.vip-wrap p{color:#dce8ff;margin:0}.vip-form{display:flex;gap:8px;position:relative;z-index:1}.vip-form input{min-width:220px;border:0;border-radius:999px;padding:14px 17px;outline:none}.stores-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.store-card{border:1px solid #e5ebf4;border-radius:18px;padding:26px;box-shadow:var(--shadow)}.store-card h3{margin:0 0 12px}.store-card p{color:var(--muted);font-size:14px;margin:7px 0}.store-card .btn{margin-top:13px}.map-placeholder{margin-top:22px;border-radius:18px;overflow:hidden;background:#eaf0f9;min-height:270px}.map-placeholder iframe{width:100%;height:270px;border:0}.shopping-list{position:fixed;right:20px;bottom:92px;z-index:60;background:#fff;color:var(--ink);width:min(350px,calc(100vw - 40px));border-radius:18px;box-shadow:0 18px 55px #001a4660;padding:18px;display:none}.shopping-list.open{display:block}.shopping-list h3{margin:0 0 10px}.list-items{max-height:190px;overflow:auto;padding-left:20px;font-size:13px}.list-items li{padding:4px 0}.list-footer{display:flex;gap:8px;margin-top:12px}.list-footer .btn{flex:1;padding:11px 8px}.floating-wa{position:fixed;right:22px;bottom:20px;z-index:70;background:#18b85a;color:#fff;border-radius:999px;padding:14px 18px;font-weight:900;box-shadow:0 8px 25px #00351c55;display:flex;align-items:center;gap:9px}.site-footer{background:var(--deep);color:#fff;padding:55px 0 20px;border-top:7px solid var(--yellow)}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px}.site-footer h4{color:var(--yellow);font-size:13px;letter-spacing:1.5px;margin:0 0 16px}.site-footer p,.site-footer li{color:#c6d3e8;font-size:13px}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0}.site-footer a:hover{color:var(--yellow)}.footer-bottom{border-top:1px solid #ffffff25;margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;gap:15px;color:#aabbd5;font-size:11px}.notice{font-size:11px;color:#9fb1cc;margin-top:18px}.mobile-nav{display:none}
@media(max-width:980px){.main-nav{gap:13px;font-size:11px}.header-cta{padding:12px 14px;font-size:11px}.offers-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:560px}.hero-content{width:53%}}
@media(max-width:720px){.topbar{display:none}.header-inner{min-height:70px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:70px;background:var(--navy);padding:18px 22px 24px;flex-direction:column;align-items:stretch;gap:0}.main-nav.open{display:flex}.main-nav a{padding:13px 0;border-bottom:1px solid #ffffff20;font-size:13px}.header-cta{display:none}.hero{min-height:690px;align-items:flex-end;background-position:28% center}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,30,83,.96),rgba(0,39,104,.05) 82%)}.hero-content{width:100%;padding:280px 0 105px;margin:0}.hero h1{font-size:37px;letter-spacing:-1px}.hero p{font-size:15px}.section{padding:60px 0}.offers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.offer-photo{height:130px}.offer-info{padding:12px}.offer-info h3{font-size:13px}.new-price{font-size:23px}.offer-actions{flex-direction:column}.departments-grid{grid-template-columns:repeat(2,1fr);gap:11px}.department{padding:17px}.department h3{font-size:14px}.department p{font-size:11px}.vip-wrap{grid-template-columns:1fr;padding:27px}.vip-form{flex-direction:column}.vip-form input{min-width:0;width:100%}.stores-grid,.footer-grid{grid-template-columns:1fr}.footer-grid{gap:25px}.footer-bottom{flex-direction:column}.floating-wa{right:14px;bottom:14px;padding:13px 16px}.hero-actions .btn{width:100%}}
