
.shop-launcher{position:fixed;z-index:1100;bottom:22px;right:22px;border:0;border-radius:999px;background:#174632;color:#fff;padding:14px 18px;box-shadow:0 6px 25px #173b3044;cursor:pointer;font:700 13px "DM Sans",sans-serif}.shop-launcher span{display:inline-grid;place-items:center;margin-left:6px;background:#d9e9a0;color:#173b30;border-radius:50%;min-width:22px;height:22px;padding:0 5px}.shop-panel{position:fixed;z-index:1200;right:22px;bottom:78px;width:min(560px,calc(100vw - 44px));max-height:min(78vh,780px);background:#fbfcf8;border:1px solid #dce7d8;border-radius:14px;box-shadow:0 12px 48px #193e2e55;overflow:auto;color:#173b30}.shop-panel[hidden]{display:none}.shop-panel>header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;background:#173e30;color:#fff;padding:18px 20px}.shop-panel header small{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#bdd499}.shop-panel header h2{font:800 19px Manrope,sans-serif;margin:5px 0 0}.shop-close{background:transparent;border:1px solid #9eb7a1;border-radius:50%;width:34px;height:34px;color:white;cursor:pointer}.shop-content{padding:18px 20px 24px}.shop-content h3{font:800 15px Manrope,sans-serif;margin:23px 0 10px}.shop-intro,.shop-hint,.shop-empty{color:#687e6d;font-size:12px;line-height:1.6;margin:0 0 12px}.shop-warning{padding:10px;background:#fff3d5;color:#705521;border-radius:6px;font-size:12px}.shop-items{padding:0;margin:0;list-style:none}.shop-items li{display:flex;align-items:center;gap:10px;border-top:1px solid #e4ebdf;padding:12px 0}.shop-item-copy{flex:1;min-width:0}.shop-item-copy strong,.shop-item-copy span{display:block}.shop-item-copy strong{font-size:13px;overflow-wrap:anywhere}.shop-item-copy span{color:#758779;font-size:11px;margin-top:4px}.shop-items label{display:flex;align-items:center;gap:5px;color:#718475;font-size:11px}.shop-items input{width:56px;padding:7px;border:1px solid #d8e4d6;border-radius:5px;color:#173b30}.shop-remove{border:0;background:transparent;color:#715f52;text-decoration:underline;cursor:pointer;font-size:11px}.shop-picker{display:grid;grid-template-columns:1fr 1.5fr;gap:9px}.shop-picker label{font-weight:700;font-size:11px;color:#667b69}.shop-picker select{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #d8e4d6;border-radius:6px;background:white;color:#173b30}.shop-picker button{grid-column:1/-1;justify-self:start;border:0;border-radius:6px;background:#2c6548;color:white;padding:10px 14px;font-weight:700;cursor:pointer}.shop-picker button:disabled{opacity:.5;cursor:not-allowed}.shop-comparison{display:grid;gap:9px}.shop-compare-card{border:1px solid #dfe8db;background:white;border-radius:8px;padding:13px}.shop-compare-title{display:flex;justify-content:space-between;gap:10px;font-size:13px}.shop-compare-title span{color:#728976;font-size:11px}.shop-compare-card p{font-size:12px;color:#496653;line-height:1.5;margin:7px 0}.shop-compare-card small{color:#8a9a8c}.shop-compare-card ul{padding-left:18px;color:#778a7b;font-size:11px;line-height:1.55}.shop-compare-card li+li{margin-top:3px}@media(max-width:600px){.shop-launcher{right:14px;bottom:14px}.shop-panel{right:10px;bottom:68px;width:calc(100vw - 20px);max-height:80vh}.shop-content{padding:16px}.shop-picker{grid-template-columns:1fr}.shop-items li{flex-wrap:wrap}.shop-item-copy{flex-basis:100%}}

.shop-checkout{background:#18573b;color:white;border:0;border-radius:8px;padding:12px 18px;font-weight:700;cursor:pointer}.shop-checkout:disabled{opacity:.5;cursor:not-allowed}

/* Carrito y comparación mantienen la jerarquía visual del directorio. */
.shop-launcher{background:#153f30;color:#fffdf5;border:1px solid #43755d;border-radius:14px;box-shadow:0 6px 22px #0b30214a;padding:13px 17px;font-weight:800}
.shop-launcher:hover{background:#275941}.shop-launcher span{background:#dce991;color:#183d30}
.shop-panel{background:#fffdf7;border:1px solid #dcd1be;border-radius:16px;box-shadow:0 18px 55px #0d30284a}
.shop-panel>header{background:#123a2f;padding:20px 22px}.shop-panel header small{color:#dbe991;letter-spacing:.16em}.shop-panel header h2{font-size:20px;letter-spacing:-.35px}
.shop-close{border-color:#a4c1ab}.shop-close:hover{background:#ffffff22}
.shop-content{padding:20px 22px 26px}.shop-content h3{font-size:16px;color:#173e30;letter-spacing:-.2px}.shop-intro,.shop-hint,.shop-empty{color:#5e7566}
.shop-items li{border-color:#e9e1d3;padding:14px 0}.shop-items input,.shop-picker select{border-color:#d6dfd0;border-radius:8px;min-height:40px}.shop-item-copy span,.shop-compare-card small{color:#6a7e6e}
.shop-remove{color:#9b5039;text-underline-offset:3px}.shop-picker button,.shop-checkout{background:#164331;border-radius:9px;min-height:42px}.shop-picker button:hover:not(:disabled),.shop-checkout:hover:not(:disabled){background:#2c684b}
.shop-compare-card{background:#faf7ef;border:1px solid #e5ddcd;border-radius:12px;padding:15px}.shop-compare-title strong{color:#1b4634}.shop-compare-title span{background:#e9efd9;border-radius:20px;padding:4px 8px;color:#4b6c4a;white-space:nowrap}.shop-compare-card ul{color:#596f5e}
.shop-panel button:focus-visible,.shop-launcher:focus-visible,.shop-panel input:focus-visible,.shop-panel select:focus-visible{outline:3px solid #c98760;outline-offset:3px}
@media(max-width:600px){.shop-launcher{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:11px 13px;border-radius:12px}.shop-panel{right:8px;bottom:calc(66px + env(safe-area-inset-bottom,0px));width:calc(100vw - 16px);max-height:75dvh}.shop-content{padding:17px}.shop-compare-title{align-items:flex-start}.shop-compare-title span{white-space:normal}}

/* Los nombres largos no deben ampliar el panel ni desplazar los controles. */
.shop-item-copy,.shop-compare-title strong,.shop-compare-card,.shop-items li{min-width:0;overflow-wrap:anywhere}
.shop-panel{overscroll-behavior:contain}

@media(max-width:600px){
  .shop-panel{left:8px;right:8px;width:auto}
  .search input,.buyer-account-login input,.buyer-body input,.buyer-body select,.owner-grid input,.owner-grid select,.shop-items input,.shop-picker select{font-size:16px}
}
