/* BLESSED WEAR: mejora visual progresiva, sin reflejos ni efectos espejo. */
:root{--bw-motion:240ms;--bw-ease:cubic-bezier(.2,.75,.25,1);--bw-highlight:var(--bw-accent,var(--gold,#ffc400))}
body:not(.bw-admin) .products .product{position:relative;transition:transform var(--bw-motion) var(--bw-ease),box-shadow var(--bw-motion) var(--bw-ease),border-color var(--bw-motion) var(--bw-ease);border:1px solid transparent;box-shadow:0 3px 12px rgba(0,0,0,.07)}
@media(hover:hover) and (pointer:fine){body:not(.bw-admin) .products .product:hover{transform:translateY(-5px);box-shadow:0 13px 28px rgba(0,0,0,.13);border-color:var(--bw-highlight)}body:not(.bw-admin) .products .product .photo img{transition:transform 350ms var(--bw-ease)}body:not(.bw-admin) .products .product:hover .photo img{transform:scale(1.045)}}
body:not(.bw-admin) .products .product .photo{overflow:hidden}
body:not(.bw-admin) .products .product .btn,body:not(.bw-admin) #addCartBtn{transition:background-color var(--bw-motion),color var(--bw-motion),transform var(--bw-motion),box-shadow var(--bw-motion);-webkit-box-reflect:unset!important}
body:not(.bw-admin) .products .product .btn::after,body:not(.bw-admin) .products .product .btn::before{box-shadow:none}
@media(hover:hover){body:not(.bw-admin) .products .product .btn:hover,body:not(.bw-admin) #addCartBtn:hover{transform:translateY(-2px);filter:brightness(1.04)}}
body:not(.bw-admin) .modal{animation:bw-modal-enter 230ms var(--bw-ease) both}
@keyframes bw-modal-enter{from{opacity:.25;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Los colores de prenda se ven como muestras, pero conservan su nombre para accesibilidad. */
#colorOptions .bw-color-choice{width:43px;height:43px;min-width:43px;min-height:43px;padding:4px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:inherit;position:relative;transition:transform 180ms,border-color 180ms,box-shadow 180ms}
#colorOptions .bw-color-choice .bw-swatch{display:block;width:29px;height:29px;border-radius:50%;background:var(--bw-swatch,#ddd);border:1px solid rgba(0,0,0,.18)}
#colorOptions .bw-color-choice.selected{outline:2px solid var(--bw-highlight);outline-offset:2px}
#colorOptions .bw-color-choice:hover{transform:scale(1.09)}
#colorOptions .bw-color-choice:focus-visible{outline:3px solid var(--bw-highlight);outline-offset:3px}
#colorOptions .bw-color-choice .bw-swatch-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#colorOptions .bw-color-choice.bw-color-unmapped{width:auto;min-width:43px;padding:6px 10px;border-radius:12px;gap:5px}
#colorOptions .bw-color-choice.bw-color-unmapped .bw-swatch-label{position:static;width:auto;height:auto;clip-path:none;white-space:normal;font-size:12px}
/* Pedidos: mantener todos los colores y estados existentes. */
#pedidos .bw-plus-panel{border-radius:20px;box-shadow:0 8px 26px rgba(16,24,40,.07)}
#pedidos .bw-plus-stats .bw-stat{transition:transform 200ms,box-shadow 200ms;border-radius:14px}
@media(hover:hover){#pedidos .bw-plus-stats .bw-stat:hover{transform:translateY(-3px);box-shadow:0 9px 19px rgba(0,0,0,.09)}#pedidos .bw-orders-table tbody tr:hover{background:rgba(125,125,125,.055)}}
#pedidos .bw-orders-table td{vertical-align:middle}
@media(prefers-reduced-motion:reduce){body:not(.bw-admin) .products .product,body:not(.bw-admin) .products .product .photo img,body:not(.bw-admin) .modal,#colorOptions .bw-color-choice,#pedidos .bw-plus-stats .bw-stat{animation:none!important;transition:none!important;transform:none!important}}

.bw-tone-editor{padding:15px;border:1px solid #c8c8cc;border-radius:12px}.bw-tone-editor h3{margin:0 0 8px}.bw-tone-row,.bw-tone-add{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.bw-tone-add{align-items:end}.bw-tone-row span{flex:1;min-width:75px}.bw-tone-row input[type=text]{width:110px}.bw-tone-editor input[type=color]{width:46px;height:42px;padding:3px;cursor:pointer}.bw-tone-add>div:first-child{flex:1;min-width:120px}.bw-tone-add label{display:block}.bw-tone-row input[type=color]{border-radius:10px}.bw-tone-editor .btn{width:auto}.bw-tone-editor input{max-width:100%}
