*{box-sizing:border-box}body{margin:0;color:#191b1e;font-family:Arial,sans-serif;background:#fff}a{color:inherit;text-decoration:none}header{height:78px;padding:0 max(calc((100% - 1120px)/2),24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee}header nav{display:flex;gap:30px;font-size:13px;color:#666}.brand{display:flex;gap:12px;align-items:center;font-weight:900;letter-spacing:2px;color:#191b1e}.brand:first-letter{color:#d94b32}.brand span{font-size:12px}.brand small{display:block;font-size:9px;color:#999;margin-top:4px}.btn{display:inline-block;padding:14px 20px;border:1px solid #ddd;font-size:12px;font-weight:bold;cursor:pointer;background:white}.dark{background:#191b1e;color:white}.red{background:#d94b32;color:white;border:0}.light{background:white;color:#191b1e}.hero{background:#f1f1ef;padding:75px max(calc((100% - 1120px)/2),24px);display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;min-height:460px}.eyebrow{font-size:10px;letter-spacing:2px;color:#d94b32;font-weight:bold}.hero h1{font-size:clamp(42px,5vw,66px);line-height:1.02;letter-spacing:-3px;margin:18px 0}.hero em,h2 em{font-style:normal;color:#d94b32}.hero p,.muted{font-size:14px;color:#777;line-height:1.8;max-width:470px;margin-bottom:28px}.hero-art{background:#202327;color:white;min-height:310px;padding:35px;display:flex;flex-direction:column;justify-content:center;gap:25px;box-shadow:15px 15px 0 #d94b32}.hero-art small{font-size:9px;letter-spacing:2px;color:#e16a55}.hero-art strong{font-size:clamp(32px,4vw,48px);line-height:1.05}.hero-art hr{width:40px;margin:0 0 -15px 0;border:1px solid #d94b32}.stripe{background:#d94b32;color:white;text-align:center;padding:22px 10px;font-size:10px;letter-spacing:1.5px;font-weight:bold}main>section:not(.hero){padding:80px max(calc((100% - 1120px)/2),24px)}h2{font-size:42px;letter-spacing:-1.5px;margin:15px 0}.tools{display:flex;gap:12px;margin:25px 0}.tools input,.tools select{padding:14px;border:1px solid #ddd;font-size:13px;background:white}.tools input{flex:1}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product{border:1px solid #e8e8e8}.photo{height:210px;background:#f1f1ef;display:grid;place-items:center;overflow:hidden;color:#ccc;font-size:55px}.photo img{width:100%;height:100%;object-fit:cover}.pad{padding:18px}.pad small{color:#d94b32;font-weight:bold;font-size:10px;letter-spacing:1px}.pad h3{font-size:17px;margin:9px 0}.pad p{font-size:12px;color:#777;line-height:1.6;min-height:38px}.price{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding-top:15px}.price a{font-size:11px;color:#d94b32;font-weight:bold}.empty{padding:45px;text-align:center;background:#f5f5f3;color:#777;grid-column:1/-1}.about{background:#f4f4f2}.about p{max-width:500px;color:#777;line-height:1.8}.contact{background:#202327;color:white;display:flex;justify-content:space-between;align-items:center}.contact h2{font-size:40px}footer{background:#191b1e;color:#aaa;padding:28px max(calc((100% - 1120px)/2),24px);display:flex;justify-content:space-between;font-size:11px}.admin{max-width:1120px;margin:50px auto;padding:0 22px;min-height:75vh}.login{max-width:430px;background:#f6f6f4;padding:35px;margin:40px auto}.login h1,.dashhead h1{font-size:38px}.login p{color:#777;font-size:13px}.login label,.editor label{display:block;font-size:12px;font-weight:bold;margin:14px 0}.login input,.editor input:not([type=checkbox]):not([type=file]),.editor textarea{display:block;width:100%;padding:12px;border:1px solid #ddd;margin-top:7px;font:13px Arial}.login .btn{width:100%;margin-top:10px}.dashhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.admin-grid{display:grid;grid-template-columns:390px 1fr;gap:20px}.editor,.inventory{background:#f6f6f4;padding:24px}.editor h2,.inventory h2{font-size:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.editor small{font-size:10px;color:#888}.check{display:flex!important;align-items:center;gap:8px}.item{display:flex;gap:10px;align-items:center;padding:13px 0;border-top:1px solid #ddd}.thumb{width:48px;height:48px;background:#ddd;display:grid;place-items:center;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.itemtext{flex:1;min-width:0}.itemtext b,.itemtext small{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.itemtext small{color:#888;margin-top:5px}.item button{padding:7px;border:1px solid #ddd;background:white;font-size:10px}#count{font-size:12px;background:#ddd;padding:5px} [hidden]{display:none!important}@media(max-width:750px){header nav{display:none}.hero{grid-template-columns:1fr;padding-top:50px;padding-bottom:55px;gap:30px}.grid{grid-template-columns:repeat(2,1fr)}main>section:not(.hero){padding-top:55px;padding-bottom:55px}.admin-grid{grid-template-columns:1fr}.contact{display:block}.contact .btn{margin-top:10px}}@media(max-width:480px){.grid{grid-template-columns:1fr 1fr;gap:9px}.photo{height:135px}.pad{padding:11px}.pad h3{font-size:14px}.price{display:block}.price a{display:block;margin-top:9px}.tools{flex-direction:column}.two{grid-template-columns:1fr}.dashhead{display:block}.dashhead .btn{margin-top:10px}footer{gap:10px;flex-wrap:wrap}}.admin-body{background:#f5f5f4}.admin{max-width:1200px}.admin-nav{display:flex;gap:8px;overflow-x:auto;padding:12px 0 20px;margin-bottom:18px}.admin-nav button{border:1px solid #ddd;background:#fff;border-radius:8px;padding:10px 14px;white-space:nowrap;cursor:pointer}.admin-nav button.active{background:#202020;color:#fff;border-color:#202020}.admin-view{background:#fff;border:1px solid #e6e6e6;border-radius:14px;padding:22px;margin:16px 0 30px}.admin-view h2{margin-top:0}.admin-view .editor{max-width:850px;margin:18px 0 26px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.stats article{border:1px solid #e5e5e5;border-radius:10px;padding:18px;background:#fafafa}.stats small{display:block;color:#666}.stats b{display:block;font-size:1.55rem;margin-top:8px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.table-wrap{overflow-x:auto;margin:18px 0}.table-wrap table{width:100%;border-collapse:collapse;min-width:650px}.table-wrap th,.table-wrap td{text-align:left;padding:12px;border-bottom:1px solid #e9e9e9;font-size:.92rem}.table-wrap th{background:#f7f7f7}.table-wrap button{margin:2px}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head p,.admin-view>p{color:#666}.admin-view [hidden]{display:none!important}.admin-view form label{display:block;margin:10px 0}.admin-view input,.admin-view select,.admin-view textarea{width:100%;padding:11px;border:1px solid #d5d5d5;border-radius:7px;margin-top:5px}.admin-view .check{display:flex;align-items:center;gap:8px}.admin-view .check input{width:auto}.admin-view .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-view .three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.status-low{color:#b42318;font-weight:700}.status-ok{color:#167647;font-weight:700}@media(max-width:700px){.stats{grid-template-columns:repeat(2,1fr)}.admin-view{padding:14px}.admin-view .two,.admin-view .three{grid-template-columns:1fr}.admin-nav{margin-right:-10px}}

/* SAN MARCOS REFACCIONARIA — identidad visual */
:root{--sm-red:#a92335;--sm-red-dark:#821b2a;--sm-ink:#171719;--sm-gray:#66666b;--sm-paper:#f5f4f2;--sm-line:#e5e1de}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--sm-ink);background:#fff}
header{height:auto;min-height:88px;padding:14px clamp(18px,5vw,72px);gap:24px;border-bottom:1px solid var(--sm-line);background:rgba(255,255,255,.97)}
.brand-logo{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none}
.brand-logo img{display:block;width:min(290px,32vw);height:76px;object-fit:contain;object-position:left center}
.brand-logo>small{font-size:10px;letter-spacing:2px;color:var(--sm-red);font-weight:800;white-space:nowrap}
header nav{gap:clamp(14px,2.5vw,32px)}
header nav a{font-size:13px;font-weight:700;color:#414145}
header nav a:hover{color:var(--sm-red)}
.btn{border-radius:5px;font-weight:800;letter-spacing:.2px;transition:transform .2s,background .2s}
.btn:hover{transform:translateY(-2px)}
.btn.red{background:var(--sm-red);border-color:var(--sm-red)}
.btn.red:hover{background:var(--sm-red-dark)}
.btn.dark{background:var(--sm-ink);border-color:var(--sm-ink)}
.hero{position:relative;overflow:hidden;min-height:510px;padding:clamp(48px,8vw,100px) clamp(22px,8vw,110px);background:linear-gradient(115deg,#171719 0%,#252528 65%,#3a2025 100%);color:white;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:45px}
.hero:after{content:"";position:absolute;width:390px;height:390px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-100px;top:-130px;box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.02)}
.hero .eyebrow{color:#ef9aa5}
.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.02;letter-spacing:-2px;margin:18px 0}
.hero h1 em,.about h2 em{color:#d64b5c;font-style:normal}
.hero p{max-width:540px;color:#d2d0d1;line-height:1.8;font-size:16px}
.hero-art{position:relative;z-index:1;min-height:280px;border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:34px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.025));display:flex;flex-direction:column;justify-content:center;box-shadow:0 24px 70px rgba(0,0,0,.22)}
.hero-art small{color:#e6a0a8;letter-spacing:2px;font-weight:800;font-size:10px}
.hero-art strong{font-size:clamp(34px,4vw,54px);line-height:1.08;margin:22px 0}
.hero-art hr{width:52px;margin:0 0 15px;border:0;border-top:3px solid var(--sm-red)}
.hero-art{color:#f5f2f2}
.stripe{background:var(--sm-red);color:white;padding:16px 18px;text-align:center;font-size:11px;font-weight:900;letter-spacing:1.5px}
main>section:not(.hero){padding-left:clamp(20px,8vw,110px);padding-right:clamp(20px,8vw,110px);padding-top:76px;padding-bottom:76px}
.eyebrow{color:var(--sm-red);font-weight:900;letter-spacing:2px;font-size:10px}
h2{font-size:clamp(30px,4vw,44px);letter-spacing:-1px;line-height:1.12}
.tools{margin:28px 0;gap:12px}
.tools input,.tools select{border:1px solid #d8d4d1;border-radius:5px;background:#fff;padding:14px 16px}
.grid{gap:18px}
.product{border:1px solid var(--sm-line);border-radius:7px;overflow:hidden;box-shadow:0 8px 25px rgba(30,20,20,.045);transition:transform .2s,box-shadow .2s}
.product:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(30,20,20,.1)}
.photo{background:#f0efed}
.pad h3{font-size:17px}
.price strong{color:var(--sm-red)}
.price a{font-weight:800;color:var(--sm-red)}
.about{background:var(--sm-paper)}
.about p{max-width:620px;color:#5f5d5d;line-height:1.8}
.contact{background:#211f20;color:white;display:flex;align-items:center;justify-content:space-between;gap:25px}
.contact .eyebrow{color:#e68a96}
.contact h2{color:white}
.btn.light{background:#fff;color:var(--sm-red);border-color:#fff}
footer{background:#111;color:#d1cdcd;padding:25px clamp(20px,8vw,110px);font-size:12px}
.admin-body{background:#f2f1ef}
.admin-body>header{background:#fff}
.admin-brand img{width:245px;height:72px}
.admin{max-width:1180px;padding:48px 24px}
.login{max-width:480px;margin:48px auto;background:#fff;border:1px solid var(--sm-line);border-radius:10px;padding:clamp(26px,5vw,48px);box-shadow:0 18px 55px rgba(20,15,15,.07)}
.login h1,.dashhead h1{letter-spacing:-1.5px}
.login h1 em,.dashhead h1 em{color:var(--sm-red);font-style:normal}
.login input{border:1px solid #d9d5d2;border-radius:5px;padding:13px}
.login .btn{width:100%;margin-top:12px}
.dashhead{background:#211f20;color:#fff;padding:28px;border-radius:9px}
.dashhead .muted{color:#c6c1c1}
.dashhead .btn{background:#fff;color:#222}
.admin-nav button{border:1px solid #ddd5d2;border-radius:5px;font-weight:750}
.admin-nav button.active{background:var(--sm-red);border-color:var(--sm-red)}
.admin-view{border:1px solid var(--sm-line);border-radius:8px;box-shadow:0 7px 22px rgba(20,15,15,.035)}
.stats article{border:1px solid var(--sm-line);border-radius:7px;background:#faf9f8}
.stats b{color:var(--sm-red)}
.admin-view .btn.red{background:var(--sm-red)}
.admin-view input:focus,.admin-view select:focus,.admin-view textarea:focus,.login input:focus,.tools input:focus{outline:2px solid rgba(169,35,53,.18);border-color:var(--sm-red)}
.table-wrap th{background:#f4f1ef;color:#4a4545}
footer{display:flex;justify-content:space-between}
@media(max-width:760px){
 header{flex-wrap:wrap;justify-content:space-between;padding:10px 16px}
 .brand-logo img{width:220px;height:58px}
 header nav{order:3;width:100%;justify-content:space-between;padding:7px 0}
 header>.btn{font-size:12px;padding:10px 12px}
 .hero{grid-template-columns:1fr;gap:28px;min-height:0;padding:54px 22px}
 .hero-art{min-height:220px}
 main>section:not(.hero){padding:54px 20px}
 .admin{padding:24px 14px}
 .admin-brand img{width:205px;height:58px}
 .login{margin:24px auto}
 footer{display:block;line-height:2}
}


/* Animación de entrada — solo afecta la portada pública */
.sm-intro{
  position:fixed;inset:0;z-index:99999;display:grid;place-items:center;
  background:#171719;color:#fff;opacity:1;visibility:visible;
  transition:opacity .8s ease,visibility .8s ease;
}
.sm-intro-inner{display:flex;flex-direction:column;align-items:center;gap:18px;
  padding:24px;text-align:center;animation:smIntroRise .9s cubic-bezier(.2,.75,.25,1) both}
.sm-intro img{display:block;width:min(310px,72vw);max-height:145px;object-fit:contain;
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.25))}
.sm-intro-line{display:block;width:0;height:3px;background:#a92335;
  animation:smIntroLine .75s .35s ease-out forwards}
.sm-intro p{margin:0;color:#e8dfe0;font-size:10px;font-weight:800;letter-spacing:3px;
  opacity:0;animation:smIntroText .5s .65s ease forwards}
.sm-intro.sm-intro-hide{opacity:0;visibility:hidden;pointer-events:none}
@keyframes smIntroRise{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes smIntroLine{to{width:min(190px,48vw)}}
@keyframes smIntroText{to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .sm-intro-inner,.sm-intro-line,.sm-intro p{animation:none;opacity:1}
  .sm-intro-line{width:190px}
}


/* ===== TIENDA SAN MARCOS: diseño profesional inspirado en ecommerce automotriz ===== */
.storefront{font-family:Arial,Helvetica,sans-serif;color:#25282c;background:#fff}
.topline{background:#24272b;color:#f6f6f6;font-size:10px;font-weight:700;letter-spacing:.8px}
.topline-inner{max-width:1240px;margin:auto;padding:10px 24px;display:flex;justify-content:space-between;gap:15px}
.topline a{color:#ffcc35}
.store-header{max-width:1240px;height:94px;margin:auto;padding:12px 24px;display:grid;grid-template-columns:210px minmax(260px,1fr) 245px;gap:28px;align-items:center;border:0}
.store-header .brand-logo{height:70px;overflow:hidden}
.store-header .brand-logo img{max-width:190px;max-height:68px;object-fit:contain}
.header-search{height:48px;display:flex;border:2px solid #d7d9dc;border-radius:5px;overflow:hidden;background:#fff}
.header-search:focus-within{border-color:#c92d2d;box-shadow:0 0 0 3px #c92d2d18}
.header-search input{border:0;outline:0;flex:1;min-width:0;padding:0 16px;font-size:14px;color:#292d32}
.header-search button{width:55px;border:0;background:#c92d2d;color:#fff;font-size:31px;line-height:1;cursor:pointer}
.header-help{display:flex;align-items:center;gap:12px;font-size:12px}
.help-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:#fff1ef;color:#c92d2d;font-size:21px}
.header-help b,.header-help small{display:block}.header-help b{font-size:12px}.header-help small{color:#777;margin-top:4px;font-size:11px}
.category-nav{background:#c92d2d;color:#fff}
.category-nav-inner{max-width:1240px;margin:auto;padding:0 24px;display:flex;align-items:center;gap:0;min-height:48px}
.category-nav a{font-size:12px;font-weight:700;padding:17px 20px;color:#fff}
.category-nav a:hover{background:#a91e1e}
.category-nav .nav-all{background:#a91e1e;padding-left:22px;padding-right:25px}
.market-hero{max-width:1240px;margin:26px auto 0;padding:50px 56px;min-height:390px;display:grid;grid-template-columns:1.1fr .9fr;gap:35px;align-items:center;background:linear-gradient(115deg,#f4f5f6 0%,#f4f5f6 58%,#e7e9eb 58%,#e7e9eb 100%);overflow:hidden}
.hero-kicker,.section-kicker{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#c92d2d}
.market-hero h1{font-size:clamp(36px,4.5vw,58px);line-height:1.05;letter-spacing:-2px;margin:16px 0;color:#24272b}
.market-hero h1 strong{color:#c92d2d}
.market-hero-copy>p{max-width:520px;color:#656b72;font-size:14px;line-height:1.8;margin:0 0 23px}
.hero-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.shop-button,.contact-button{display:inline-flex;align-items:center;gap:25px;background:#c92d2d;color:#fff;padding:16px 20px;font-size:11px;font-weight:800;letter-spacing:.5px;border-radius:3px;box-shadow:0 4px 0 #9f1e1e}
.shop-button:hover,.contact-button:hover{background:#a91e1e;transform:translateY(-1px)}
.shop-button span{font-size:19px}
.hero-link{font-size:12px;font-weight:700;color:#363a3f}
.hero-benefits{display:flex;gap:22px;flex-wrap:wrap;margin-top:27px;color:#656b72;font-size:11px}
.hero-benefits b{color:#c92d2d;margin-right:5px}
.market-hero-visual{height:285px;position:relative;display:grid;place-items:center;overflow:hidden}
.market-hero-visual:before{content:"";position:absolute;width:290px;height:290px;border-radius:50%;background:#c92d2d;opacity:.1}
.market-hero-visual:after{content:"";position:absolute;width:210px;height:210px;border:1px solid #c92d2d55;border-radius:50%}
.visual-orbit{position:absolute;border:1px solid #c92d2d66;border-radius:50%;transform:rotate(-25deg)}
.orbit-one{width:360px;height:145px}.orbit-two{width:310px;height:110px;transform:rotate(35deg)}
.visual-center{z-index:1;width:170px;height:170px;border-radius:50%;background:#25282d;border:8px solid #fff;box-shadow:0 12px 35px #0002;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.visual-mark{font-size:48px;line-height:1;font-weight:900;color:#fff;letter-spacing:-4px}
.visual-center b{font-size:10px;letter-spacing:1.5px;margin-top:9px}.visual-center small{font-size:8px;color:#ffcc35;letter-spacing:1.4px;margin-top:4px}
.visual-tag{position:absolute;bottom:5px;right:0;background:#25282d;color:#fff;padding:9px 12px;font-size:8px;font-weight:700;letter-spacing:1.1px}
.service-strip{max-width:1240px;margin:0 auto;padding:22px 34px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e7e8ea;border-top:0}
.service-strip>div{display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 15px;border-right:1px solid #e7e8ea}
.service-strip>div:last-child{border:0}
.service-symbol{width:36px;height:36px;display:grid;place-items:center;background:#fff0ef;color:#c92d2d;border-radius:50%;font-size:20px;font-weight:bold}
.service-strip b,.service-strip small{display:block}.service-strip b{font-size:12px}.service-strip small{font-size:10px;color:#85898e;margin-top:4px}
.categories-section,.catalog-section{max-width:1240px;margin:auto;padding:65px 24px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.section-heading h2{font-size:34px;letter-spacing:-1px;margin:9px 0;color:#25282c}
.section-heading h2 em,.about-section h2 em{font-style:normal;color:#c92d2d}
.text-link{color:#bd2525;font-size:12px;font-weight:800}
.category-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}
.category-cards a{min-height:150px;border:1px solid #e4e5e7;border-radius:5px;padding:20px 15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;transition:.2s;background:#fff}
.category-cards a:hover{border-color:#c92d2d;box-shadow:0 7px 20px #0000000c;transform:translateY(-3px)}
.category-icon{width:43px;height:43px;display:grid;place-items:center;background:#fcedec;color:#c92d2d;border-radius:50%;font-size:23px;margin-bottom:13px}
.category-cards b{font-size:13px}.category-cards small{font-size:10px;color:#81868c;margin-top:5px}
.category-note{font-size:10px;color:#85898e;margin-top:14px}
.promo-band{max-width:1192px;margin:0 auto 12px;padding:35px 42px;background:linear-gradient(105deg,#292c31,#3a3e44);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:7px solid #c92d2d}
.promo-band span{font-size:9px;letter-spacing:1.6px;color:#ffcc35;font-weight:800}
.promo-band h2{font-size:29px;line-height:1.12;margin:10px 0}
.promo-band p{font-size:12px;color:#d0d2d5;margin:0}
.promo-band>a{background:#ffcc35;color:#24272b;padding:15px 18px;font-size:10px;font-weight:900;white-space:nowrap;border-radius:3px}
.catalog-section{padding-top:62px}
.catalog-heading{margin-bottom:15px}
.catalog-heading .muted{font-size:12px;line-height:1.6;color:#737980;margin:8px 0 0;max-width:650px}
.catalog-tools{display:flex;align-items:center;gap:12px;margin:22px 0;padding:14px;background:#f5f6f7;border:1px solid #e8e9eb}
.catalog-tools label{font-size:11px;font-weight:700;color:#51565c}
.catalog-tools select{padding:10px 13px;border:1px solid #d7d9dc;background:#fff;border-radius:3px;font-size:12px;min-width:220px}
.storefront .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.storefront .product{border:1px solid #e4e5e7;border-radius:4px;overflow:hidden;transition:.2s;background:#fff}
.storefront .product:hover{box-shadow:0 8px 22px #00000012;transform:translateY(-2px)}
.storefront .photo{height:185px;background:#f5f6f7;color:#c92d2d}
.storefront .pad{padding:15px}
.storefront .pad small{color:#c92d2d}
.storefront .pad h3{font-size:14px;line-height:1.35;min-height:36px}
.storefront .pad p{font-size:11px;min-height:34px}
.storefront .price{align-items:center}
.storefront .price strong{font-size:15px;color:#25282c}
.storefront .price a{background:#c92d2d;color:#fff;padding:9px 10px;border-radius:3px;font-size:9px}
.about-section{max-width:1192px;margin:0 auto 55px;padding:40px 45px;background:#f4f5f6;display:grid;grid-template-columns:190px 1fr;gap:35px;align-items:center}
.about-emblem{width:150px;height:150px;border-radius:50%;background:#25282d;color:#fff;display:grid;place-items:center;font-size:47px;font-weight:900;border:8px solid #fff;box-shadow:0 5px 20px #0001}
.about-section h2{font-size:32px;line-height:1.12;margin:10px 0}
.about-section p{font-size:12px;line-height:1.8;color:#737980;max-width:600px}
.contact-section{background:#c92d2d;color:#fff;padding:35px max(calc((100% - 1192px)/2),24px);display:flex;justify-content:space-between;align-items:center;gap:20px}
.contact-section .section-kicker{color:#ffdb70}.contact-section h2{font-size:27px;margin:8px 0}.contact-section p{font-size:12px;color:#ffe5e5;margin:0}
.contact-button{background:#fff;color:#b92222;box-shadow:0 4px 0 #8e1717}
.contact-button:hover{background:#fff2f2;color:#9d1c1c}
.store-footer{background:#24272b;color:#fff}
.footer-main{max-width:1240px;margin:auto;padding:34px 24px;display:grid;grid-template-columns:190px 1fr auto;align-items:center;gap:25px}
.footer-brand img{max-width:175px;max-height:65px;object-fit:contain;background:#fff;border-radius:3px}
.footer-main p{font-size:11px;color:#c1c4c8}
.footer-links{display:flex;gap:20px}.footer-links a{font-size:11px;color:#fff}
.footer-bottom{border-top:1px solid #ffffff20;max-width:1240px;margin:auto;padding:17px 24px;display:flex;justify-content:space-between;color:#b6bbc0;font-size:10px}
.sm-intro{position:fixed;inset:0;z-index:9999;background:#202327;display:grid;place-items:center;transition:opacity .8s ease,visibility .8s ease}
.sm-intro-inner{display:flex;flex-direction:column;align-items:center;gap:20px;animation:smIntroRise .8s ease both}
.sm-intro-inner img{max-width:min(260px,65vw);max-height:160px;object-fit:contain;background:#fff;border-radius:4px;padding:8px}
.sm-intro-line{height:3px;width:0;background:#d52d2d;animation:smIntroLine 1s .25s ease forwards}
.sm-intro-inner p{color:#fff;font-size:10px;letter-spacing:3px;font-weight:800}
.sm-intro-hide{opacity:0;visibility:hidden}
@keyframes smIntroLine{to{width:180px}}
@keyframes smIntroRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.store-header{grid-template-columns:160px 1fr;gap:15px}.store-header .brand-logo img{max-width:150px}.header-help{display:none}.market-hero{margin:15px 16px 0;padding:35px 28px;grid-template-columns:1fr .8fr}.storefront .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-cards{grid-template-columns:repeat(3,1fr)}.service-strip{margin:0 16px}.promo-band,.about-section{margin-left:16px;margin-right:16px}}
@media(max-width:620px){.topline-inner{padding:9px 14px;justify-content:center;text-align:center}.topline-inner span:first-child{display:none}.store-header{height:auto;padding:13px 15px;grid-template-columns:110px 1fr;gap:12px}.store-header .brand-logo{height:54px}.store-header .brand-logo img{max-width:108px;max-height:52px}.header-search{height:43px}.header-search input{font-size:11px;padding:0 9px}.header-search button{width:40px;font-size:25px}.category-nav-inner{padding:0 8px;overflow-x:auto;white-space:nowrap}.category-nav a{padding:16px 12px;font-size:10px}.market-hero{display:block;margin:12px 10px 0;padding:30px 22px;background:linear-gradient(145deg,#f4f5f6 0%,#f4f5f6 65%,#e7e9eb 65%)}.market-hero h1{font-size:36px;letter-spacing:-1.5px}.market-hero-copy>p{font-size:12px}.market-hero-visual{height:205px;margin-top:20px}.visual-center{width:135px;height:135px}.visual-mark{font-size:38px}.visual-tag{right:3px;bottom:0}.hero-actions{gap:14px}.shop-button{padding:14px 15px;font-size:10px}.hero-link{font-size:10px}.hero-benefits{gap:12px;font-size:9px}.service-strip{margin:0 10px;padding:10px 4px;grid-template-columns:1fr}.service-strip>div{justify-content:flex-start;border-right:0;border-bottom:1px solid #eee;padding:10px 12px}.service-strip>div:last-child{border-bottom:0}.categories-section,.catalog-section{padding:42px 14px}.section-heading h2{font-size:28px}.section-heading{align-items:flex-start}.text-link{font-size:10px;white-space:nowrap;margin-top:17px}.category-cards{grid-template-columns:repeat(2,1fr);gap:9px}.category-cards a{min-height:125px;padding:14px}.category-cards a:last-child{grid-column:1/-1}.category-cards small{font-size:9px}.promo-band{margin:0 10px;padding:25px 20px;display:block}.promo-band h2{font-size:25px}.promo-band>a{display:inline-block;margin-top:17px}.catalog-tools{align-items:flex-start;flex-direction:column}.catalog-tools select{width:100%}.storefront .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.storefront .photo{height:135px}.storefront .pad{padding:10px}.storefront .pad h3{font-size:12px;min-height:32px}.storefront .pad p{font-size:10px;min-height:34px}.storefront .price{display:block}.storefront .price strong{font-size:13px;display:block;margin-bottom:9px}.storefront .price a{display:inline-block}.about-section{margin:0 10px 35px;padding:25px 20px;grid-template-columns:1fr;gap:18px}.about-emblem{width:95px;height:95px;font-size:31px}.about-section h2{font-size:27px}.contact-section{padding:27px 18px;display:block}.contact-section h2{font-size:23px}.contact-button{margin-top:18px}.footer-main{padding:27px 18px;grid-template-columns:1fr;gap:13px}.footer-links{flex-wrap:wrap}.footer-bottom{padding:15px 18px;gap:9px;flex-wrap:wrap}}

/* Ajustes para una refaccionaria local en crecimiento */
.category-cards-small{grid-template-columns:repeat(2,minmax(0,230px));}
.category-cards-small a{min-height:135px;}
.help-band span{color:#ffcc35;}
.help-band>a{background:#ffcc35;color:#24272b;}
@media(max-width:620px){.category-cards-small{grid-template-columns:repeat(2,minmax(0,1fr));}.category-cards-small a:last-child{grid-column:auto;}.help-band{margin:0 10px;padding:25px 20px;display:block;}.help-band h2{font-size:25px;}.help-band>a{display:inline-block;margin-top:17px;}}


/* Logo oficial en el área principal */
.market-hero-visual:before{width:310px;height:230px;border-radius:46%;opacity:.08}
.market-hero-visual:after{width:270px;height:190px;border-radius:48%;border-color:#c92d2d33}
.visual-logo-card{position:relative;z-index:1;width:min(92%,390px);min-height:150px;padding:18px 22px;background:#fff;border:1px solid #e8e8e8;border-radius:16px;box-shadow:0 14px 38px #18212b18;display:flex;align-items:center;justify-content:center}
.visual-logo-card img{display:block;width:100%;max-width:350px;height:auto;object-fit:contain}
.visual-tag{z-index:2}
@media(max-width:620px){.visual-logo-card{width:min(94%,340px);min-height:110px;padding:12px 14px;border-radius:12px}.market-hero-visual:before{width:230px;height:170px}.market-hero-visual:after{width:205px;height:145px}.visual-tag{font-size:7px;padding:7px 9px}}


/* Presentacion limpia del logo oficial: sin tarjeta ni orbitas */
.market-hero-visual{
  min-height:320px;
  height:320px;
  isolation:isolate;
  background:
    linear-gradient(132deg, transparent 0 18%, rgba(201,45,45,.045) 18% 19%, transparent 19% 100%),
    linear-gradient(48deg, transparent 0 66%, rgba(39,54,78,.055) 66% 100%),
    radial-gradient(ellipse at 52% 50%, rgba(201,45,45,.075), transparent 62%);
}
.market-hero-visual:before{
  content:"";
  position:absolute;
  width:82%;height:72%;
  border-radius:0;
  opacity:1;
  background:linear-gradient(135deg,rgba(255,255,255,.58),rgba(231,234,239,.22));
  clip-path:polygon(13% 0,100% 0,87% 100%,0 100%);
  z-index:-1;
}
.market-hero-visual:after{display:none;}
.visual-orbit{display:none;}
.visual-logo-card{
  width:min(100%,490px);
  min-height:0;
  padding:12px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:flex;
  align-items:center;
  justify-content:center;
}
.visual-logo-card img{
  display:block;
  width:100%;
  max-width:470px;
  height:auto;
  object-fit:contain;
  mix-blend-mode:multiply;
  filter:drop-shadow(0 9px 12px rgba(25,35,50,.09));
}
.visual-tag{
  position:absolute;
  right:5%;
  bottom:10px;
  background:#283246;
  border-left:3px solid #c92d2d;
  color:#fff;
  padding:10px 15px;
  font-size:8px;
  letter-spacing:1.35px;
}
@media(max-width:900px){
  .market-hero-visual{height:285px;min-height:285px;}
  .visual-logo-card{width:min(100%,420px);}
}
@media(max-width:620px){
  .market-hero-visual{height:205px;min-height:205px;margin-top:18px;}
  .market-hero-visual:before{width:90%;height:78%;}
  .visual-logo-card{width:100%;padding:8px;}
  .visual-logo-card img{max-width:360px;}
  .visual-tag{right:2%;bottom:0;font-size:7px;padding:7px 10px;}
}
