:root { --verde: #0F806B; --verde-osc: #0b6352; --verde-claro: #E6F4F0; --dorado: #F6D369; --gris: #5B6470; --borde: #E3E8E6; --fondo: #F7F9F8; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 Roboto, system-ui, sans-serif; color: #15191d; background: var(--fondo); }
.hidden { display: none !important; } .muted { color: var(--gris); } .small { font-size: 12px; } .error { color: #C2410C; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.top { background: var(--verde); color: #fff; border-bottom: 4px solid var(--dorado); padding: 26px 0 22px; }
.top-in { display: flex; align-items: center; gap: 16px; } .top-logo { flex: none; border-radius: 50%; box-shadow: 0 0 0 2px var(--dorado); }
.top h1 { font-family: 'Roboto Slab', serif; margin: 0 0 6px; font-size: 28px; } .top p { margin: 0; opacity: .92; }
.layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; padding-top: 22px; padding-bottom: 60px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
input, textarea { font: inherit; padding: 10px 12px; border: 1px solid #cfd8d5; border-radius: 10px; width: 100%; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--verde); outline-offset: -1px; border-color: transparent; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--borde); background: #fff; border-radius: 99px; padding: 6px 13px; cursor: pointer; font: inherit; font-size: 13px; }
.chip.on { background: var(--verde); border-color: var(--verde); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.prod { background: #fff; border: 1px solid var(--borde); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.prod img, .prod .ph { width: 100%; aspect-ratio: 1; object-fit: cover; background: #EEF3F1; display: block; }
.prod .body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod h3 { margin: 0; font-size: 15px; font-weight: 500; } .prod p { margin: 0; color: var(--gris); font-size: 13px; flex: 1; }
.price { font-weight: 700; font-size: 17px; } .price s { font-weight: 400; color: var(--gris); font-size: 13px; margin-left: 6px; }
.btn { font: inherit; font-weight: 500; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--verde); background: #fff; color: var(--verde); cursor: pointer; }
.btn.primary { background: var(--verde); color: #fff; } .btn.primary:hover { background: var(--verde-osc); } .btn:disabled { opacity: .45; cursor: not-allowed; } .full { width: 100%; }
.stepper { display: flex; align-items: center; border: 1px solid var(--verde); border-radius: 10px; overflow: hidden; }
.stepper button { border: 0; background: var(--verde-claro); color: var(--verde); width: 38px; height: 38px; font-size: 18px; cursor: pointer; }
.stepper input { border: 0; text-align: center; border-radius: 0; padding: 8px 0; width: 100%; -moz-appearance: textfield; } .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart { position: sticky; top: 16px; background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 18px; max-height: calc(100vh - 32px); overflow: auto; }
.cart h2, .cart h3 { font-family: 'Roboto Slab', serif; margin: 0 0 10px; } .cart h2 { font-size: 20px; } .cart h3 { font-size: 16px; margin-top: 14px; }
.cart-items .ci { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid var(--borde); font-size: 14px; }
.ci .meta { color: var(--gris); font-size: 12px; } .ci button { border: 0; background: none; color: var(--gris); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; justify-self: start; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; padding: 12px 0 4px; border-top: 2px solid var(--dorado); margin-top: 8px; }
label { display: block; font-size: 12px; color: var(--gris); margin-bottom: 9px; } label input, label textarea { margin-top: 4px; color: #15191d; font-size: 15px; } textarea { min-height: 70px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fab { position: fixed; bottom: 14px; left: 14px; right: 14px; padding: 14px; border-radius: 12px; border: 0; background: var(--verde); color: #fff; font: inherit; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.2); z-index: 10; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .cart { position: static; max-height: none; } .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (min-width: 901px) { .fab { display: none !important; } }
/* Embebido: la web ya tiene su propio header; el carrito no puede ser sticky dentro del iframe */
.embedded .top { display: none; } .embedded .layout { padding-top: 8px; } .embedded .cart { position: static; max-height: none; } .embedded .fab { display: none !important; }
