*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;background:#fafafa;color:#17201b}
a{color:inherit;text-decoration:none}
.top-strip{background:#000;color:white;text-align:center;font-size:13px;padding:8px}
.site-header{position:sticky;top:0;z-index:20;background:white;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.header-main{display:flex;align-items:center;gap:8px;padding:6px 4vw}
.brand{font-size:30px;font-weight:900;color:#be4c08;}
.search{flex:1;max-width:680px;margin:auto;position:relative}
.search input{width:100%;height:44px;border:1px solid #ddd;border-radius:999px;background:#f2f1ee;padding:0 52px 0 22px;font-size:15px}
.search button{position:absolute;right:6px;top:5px;width:34px;height:34px;border:0;border-radius:50%;background:white;font-size:22px;cursor:pointer}
.header-icons{display:flex;gap:20px;align-items:center;font-weight:600}
.header-icons b,.mobile-cart b{background:#f3bd00;border-radius:999px;padding:2px 7px;color:#17201b}
.cart-link{display:inline-flex;align-items:center;gap:6px;font-size:18px}
.departments{height:44px;background:#0a6877;color:white;display:flex;align-items:center;gap:28px;padding:0 4vw}
.departments button{background:0;border:0;color:white;font-weight:800;font-size:15px;cursor:pointer}
.desktop-nav{display:flex;gap:28px}
.desktop-nav a{font-weight:700;font-size:14px}
.desktop-nav a.sale{color:#ffd84d}
.hamburger,.mobile-cart,.mobile-menu{display:none}
.hero{min-height:560px;background:linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,.1)),url('../img/hombre-cazadora.jpg') center/cover;display:flex;align-items:center;padding:54px 4vw}
.hero-card{background:rgba(255,255,255,.92);max-width:590px;padding:44px;box-shadow:0 20px 60px rgba(0,0,0,.16)}
.hero-card p,.eyebrow{color:#0a6877;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.hero-card2{background:rgba(255,255,255,.92);max-width:590px;padding:44px;box-shadow:0 20px 60px rgba(0,0,0,.16)}
.hero-card2 p,.eyebrow{color:#0a6877;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.hero h1{font-size:clamp(42px,6vw,72px);line-height:1.04;margin:14px 0}
.hero span{display:block;color:#606965;font-size:18px;line-height:1.6}
.hero-actions{display:flex;gap:12px;margin-top:28px}
.hero-actions a,.offer a,.checkout-link,.card button:not(.wish),.checkout-form button{background:#006b3f;;color:white;border:0;border-radius:6px;padding:14px 22px;font-weight:800;cursor:pointer}
.hero-actions a:nth-child(2){background:white;color:#17201b;border:1px solid #ddd}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:38px 4vw;background:white;border-bottom:1px solid #e5e2dc}
.category-grid a{background:#e2e7eb;border:1px solid #e1ddd3;border-radius:10px;padding:26px;min-height:126px;display:flex;flex-direction:column;justify-content:space-between}
.category-grid b{font-size:22px}
.category-grid span{color:#0a6877;font-weight:800}
.offer{margin:42px 4vw;background:#093257;color:white;border-radius:14px;padding:32px;display:flex;justify-content:space-between;align-items:center;gap:22px}
.offer p{opacity:.85;font-weight:700}
.offer h2{font-size:34px;margin:8px 0}
.offer a{background:#f3bd00;color:#17201b}
.products,.catalog-layout,.cart-page,.checkout{padding:42px 4vw}
.products h2,.page-head h1{font-size:42px;margin:8px 0 26px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.card{position:relative;background:white;border:1px solid #e5e2dc;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);display:flex;flex-direction:column}
.card img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.wish{position:absolute;top:12px;right:12px;width:38px;height:38px;border-radius:50%;background:white;color:#0a6877;border:0;padding:0;box-shadow:0 4px 12px rgba(0,0,0,.12);cursor:pointer;font-size:18px}
.card-body{padding:16px;display:flex;flex-direction:column;flex:1}
.tag{font-size:12px;color:#68726d;text-transform:capitalize;margin:0}
.card h3{min-height:46px;margin:6px 0 12px;font-size:16px}
.card .price-row{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}
.card strong{color:#0a6877;font-size:22px}
.card .old{text-decoration:line-through;color:#999;font-size:14px}
.card .badge{position:absolute;top:12px;left:12px;background:#e63946;color:white;font-weight:800;padding:4px 10px;border-radius:6px;font-size:13px;z-index:2}
.card button:not(.wish){width:100%;margin-top:auto}
.page-head{background:white;border-bottom:1px solid #e5e2dc;padding:42px 4vw}
.page-head p,.page-head span{color:#68726d}
.catalog-layout{display:grid;grid-template-columns:240px 1fr;gap:30px}
.catalog-layout aside,.summary,.checkout-form>div,.cart-row{background:white;border:1px solid #e5e2dc;border-radius:10px;padding:22px;height:max-content}
.catalog-layout aside p{color:#68726d;border-top:1px solid #eee;padding-top:14px}
.cart-page,.checkout{display:grid;grid-template-columns:1fr 340px;gap:30px}
.cart-row{display:grid;grid-template-columns:92px 1fr auto;gap:18px;align-items:center;margin-bottom:14px}
.cart-row img{width:92px;height:116px;object-fit:cover;border-radius:6px}
.cart-row .meta{font-size:13px;color:#68726d}
.qty{display:flex;gap:8px;align-items:center;margin-top:8px}
.qty button{border:1px solid #ddd;background:white;border-radius:6px;width:30px;height:30px;cursor:pointer}
.summary{position:sticky;top:130px}
.summary p{display:flex;justify-content:space-between}
.summary strong{font-size:30px;color:#0a6877}
.checkout-form{display:grid;gap:20px}
.checkout-form input,.checkout-form textarea{width:100%;margin:8px 0;padding:14px;border:1px solid #ddd;border-radius:6px;font:inherit}
.checkout-form textarea{min-height:160px}
.logos{background:white;border-top:1px solid #e5e2dc;border-bottom:1px solid #e5e2dc;overflow:hidden;padding:28px 0}
.logos div{display:flex;animation:marquee 30s linear infinite}
.logos span{min-width:16.666vw;text-align:center;font-weight:900;font-size:28px;color:#7e8283; border-radius: 50%}
.chat,.to-top{position:fixed;bottom:24px;width:54px;height:54px;border:0;border-radius:50%;z-index:30;box-shadow:0 10px 24px rgba(0,0,0,.18);font-size:22px;cursor:pointer}
.chat{left:24px;background:#07bb71;color:white}
.to-top{right:24px;background:#17201b;color:white;display:none}
footer{background:#0a6877;color:white;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px;padding:52px 4vw}
footer a,footer p{display:block;color:rgba(255,255,255,.85);margin:10px 0}
@keyframes marquee{to{transform:translateX(-50%)}}

/* Modal producto */
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:50;padding:20px}
.modal-backdrop.open{display:flex}
.modal{background:white;border-radius:14px;max-width:880px;width:100%;max-height:90vh;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:0;position:relative}
.modal img{width:100%;height:100%;object-fit:cover;display:block}
.modal-body{padding:30px}
.modal-body h2{margin:0 0 8px;font-size:28px}
.modal-body .tag{margin-bottom:8px}
.modal-body .price-row{margin:14px 0 22px}
.modal-body strong{color:#0a6877;font-size:28px}
.modal-body .old{text-decoration:line-through;color:#999;font-size:16px;margin-left:10px}
.modal-section{margin:18px 0}
.modal-section label{font-weight:700;display:block;margin-bottom:8px;font-size:13px;text-transform:uppercase;letter-spacing:.05em}
.options{display:flex;flex-wrap:wrap;gap:8px}
.opt{border:1px solid #ddd;background:white;padding:8px 14px;border-radius:6px;cursor:pointer;font:inherit}
.opt.active{border-color:#0a6877;background:#0a6877;color:white}
.modal-add{background:#0a6877;color:white;border:0;border-radius:6px;padding:14px 22px;font-weight:800;width:100%;margin-top:14px;cursor:pointer;font-size:16px}
.modal-close{position:absolute;top:12px;right:12px;background:white;border:1px solid #ddd;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:18px;z-index:2}

/* Chat */
.chatbox{position:fixed;bottom:90px;left:24px;width:340px;max-height:480px;background:white;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.25);display:none;flex-direction:column;z-index:40;overflow:hidden}
.chatbox.open{display:flex}
.chat-header{background:#0a6877;color:white;padding:14px 16px;font-weight:800;display:flex;justify-content:space-between;align-items:center}
.chat-header button{background:transparent;border:0;color:white;font-size:18px;cursor:pointer}
.chat-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#f7f7f5}
.msg{max-width:85%;padding:9px 13px;border-radius:14px;font-size:14px;line-height:1.4}
.msg.bot{background:white;border:1px solid #e5e2dc;align-self:flex-start;border-bottom-left-radius:4px}
.msg.user{background:#0a6877;color:white;align-self:flex-end;border-bottom-right-radius:4px}
.chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px;background:white;border-top:1px solid #eee}
.chat-quick button{background:#f0eee8;border:1px solid #e1ddd3;border-radius:14px;padding:6px 10px;font-size:12px;cursor:pointer}
.chat-quick button:hover{background:#0a6877;color:white}
.chat-input{display:flex;border-top:1px solid #eee;background:white}
.chat-input input{flex:1;border:0;padding:12px 14px;font:inherit;outline:none}
.chat-input button{background:#0a6877;color:white;border:0;padding:0 18px;cursor:pointer;font-weight:700}

@media(max-width:900px){
  .search,.header-icons,.departments .desktop-nav{display:none}
  .hamburger,.mobile-cart{display:flex;align-items:center;gap:6px}
  .mobile-cart{margin-left:auto;font-size:18px}
  .hamburger{border:0;background:white;font-size:26px;cursor:pointer;margin-left:8px}
  .header-main{gap:14px}
  .mobile-menu.open{display:flex}
  .mobile-menu{position:absolute;right:4vw;left:4vw;top:96px;background:white;color:#17201b;border:1px solid #ddd;border-radius:14px;padding:18px;box-shadow:0 12px 30px rgba(0,0,0,.16);flex-direction:column;gap:0}
  .mobile-menu a{display:block;padding:12px 4px;border-bottom:1px solid #f0eee8;font-weight:700}
  .mobile-menu a:last-child{border-bottom:0}
  .departments{display:none}
  .category-grid,.grid{grid-template-columns:repeat(2,1fr)}
  .catalog-layout,.cart-page,.checkout,footer{grid-template-columns:1fr}
  .catalog-layout aside{display:none}
  .logos span{min-width:25vw}
  .modal{grid-template-columns:1fr}
  .modal img{max-height:280px}
  .brand {display: none}
  .hero-card {display: none}
}
@media(min-width:900px){
  .hero-card2 {display: none}
}
@media(max-width:560px){
  .hero{padding:28px 4vw}
  .hero-card{padding:28px}
  .hero-actions,.offer{flex-direction:column;align-items:flex-start}
  .category-grid,.grid{grid-template-columns:1fr}
  .logos span{min-width:50vw}
  .cart-row{grid-template-columns:80px 1fr}
  .cart-row>strong{grid-column:2}
  .top-strip{font-size:11px}
  .chatbox{left:10px;right:10px;width:auto}
}
