/* Configuration presentation only; all amounts come from the existing catalog. */
.mes-shape-picker,.fan-shape-actions:has([data-fan-shape]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 22px}
.mes-shape-picker .mes-shape-tile,.fan-shape-actions .mes-shape-tile{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:68px;padding:12px 8px;background:#fff;color:#202020;border:1px solid #aaa;text-decoration:none;font-size:15px;font-weight:700;letter-spacing:0;cursor:pointer}
.mes-shape-tile svg{width:30px;height:30px;flex:none}
.mes-shape-picker [aria-current=page],.fan-shape-actions [aria-pressed=true]{background:#fff8d4;border:2px solid #806300;box-shadow:inset 0 -3px #ffd400}
.mes-shape-tile:focus-visible{outline:2px solid #202020;outline-offset:3px}
@media(min-width:761px){.accessory-option:focus-within{outline:2px solid #202020;outline-offset:3px}}
.accessories .accessory-option{display:grid;grid-template-columns:32px minmax(0,1fr) 22px;gap:12px;align-items:center;border:1px solid #bbb;padding:12px;margin:9px 0;cursor:pointer;background:#fff}
@media(min-width:761px){.accessories .accessory-option:has(input:checked){border-color:#806300;background:#fff8d4}}
.accessory-option .mes-addon-icon{grid-column:1;grid-row:1;width:32px;height:32px}
.accessory-option input{grid-column:3;grid-row:1;width:20px;height:20px;margin:0;accent-color:#806300}
.accessory-option .mes-addon-copy{grid-column:2;grid-row:1;display:grid;gap:4px;min-width:0;font-size:15px;line-height:1.4}
.mes-addon-copy strong,.mes-addon-copy small,.mes-addon-copy b{display:block;color:#202020;font-size:inherit}
.mes-addon-copy small{font-size:13px;font-weight:400;color:#505050}
.mes-price-breakdown{display:grid;gap:8px;padding:14px 0;border-top:1px solid #ddd;margin-top:16px;font-size:14px;color:#404040}
.mes-price-breakdown>span{display:flex;justify-content:space-between;gap:12px}
.mes-price-breakdown b{white-space:nowrap;color:#202020}
.price-row{flex-wrap:wrap;gap:8px 16px}.price-row #totalPrice{font-size:25px;white-space:nowrap}
.mes-fan-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;font-size:16px}
.mes-fan-quantity input{width:82px;height:46px;font:inherit;padding:8px;border:1px solid #aaa}
.fan-price{overflow-wrap:anywhere}
@media(max-width:760px){.checkout-form input:not([type=checkbox]):not([type=radio]),.checkout-form select,.checkout-form textarea,.line-controls input,#quantity,#fanQuantity,#variant{font-size:16px}.price-row{display:flex;align-items:baseline;justify-content:space-between}.price-row #unitPrice{font-size:14px;flex-basis:100%}.price-row #totalPrice{font-size:26px;white-space:normal;overflow-wrap:anywhere;max-width:100%;min-width:0;line-height:1.25}.fan-price{font-size:26px;line-height:1.4}.mes-shape-tile svg{width:25px;height:25px}.accessories .accessory-option{padding:10px;gap:8px}.mes-addon-copy small{font-size:14px}}

.buy-card>.mes-shape-picker,.buy-card>.mes-price-breakdown,.buy-card>.mes-variant-heading{grid-column:1/-1;min-width:0}.buy-card>.mes-variant-heading{font-size:15px;font-weight:700;line-height:1.4}.mes-price-breakdown{width:100%}

.fan-shape-actions button.mes-shape-tile:hover{background:#f4f4f1;color:#202020}.fan-shape-actions button.mes-shape-tile[aria-pressed=true],.fan-shape-actions button.mes-shape-tile[aria-pressed=true]:hover{background:#fff8d4;color:#202020;border:2px solid #806300}.fan-shape-purchase .fan-price{margin:12px 0;font-size:26px;line-height:1.4}.fan-shape-purchase{gap:0}.fan-shape-purchase .fan-shape-actions{margin-bottom:0}

@media(max-width:420px){.mes-shape-picker .mes-shape-tile,.fan-shape-actions .mes-shape-tile{flex-direction:column;gap:6px;min-height:84px;padding:10px 4px;font-size:13px;text-align:center}.mes-shape-tile span{max-width:100%;overflow-wrap:anywhere}}

/* Approved MES navigation pictures: original WebP assets, no crop or distortion. */
.mes-shape-picker .mes-shape-tile,.fan-shape-actions .mes-shape-tile{flex-direction:column;gap:8px;padding:10px 8px;border:1px solid #dedede;border-radius:10px;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.045);text-transform:none;transition:box-shadow .15s,border-color .15s}
.mes-shape-tile img{display:block;width:100%;max-width:130px;height:auto;aspect-ratio:1;object-fit:contain;border-radius:5px}
.mes-shape-picker [aria-current=page],.fan-shape-actions button.mes-shape-tile[aria-pressed=true],.fan-shape-actions button.mes-shape-tile[aria-pressed=true]:hover{background:#fff;border:1px solid #d3ab00;box-shadow:inset 0 -3px #ffd400,0 3px 12px rgba(0,0,0,.045)}
.mes-shape-picker .mes-shape-tile:hover,.fan-shape-actions button.mes-shape-tile:hover{background:#fff;border-color:#c4a000;box-shadow:0 5px 15px rgba(0,0,0,.075)}
.accessories .accessory-option{grid-template-columns:52px minmax(0,1fr) 22px;border-radius:9px}
.accessory-option .mes-addon-icon{width:52px;height:52px}
.mes-addon-icon img{display:block;width:100%;height:100%;object-fit:contain;border-radius:4px}
.mes-delivery-icon{display:flex;align-items:center;gap:10px}
.mes-delivery-icon img{display:block;width:40px;height:40px;flex:0 0 40px;object-fit:contain;border-radius:4px}
.product-choice-grid.mes-product-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mes-product-navigation .mes-product-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;padding:16px;background:#fff;color:#202020;border:1px solid #dedede;border-radius:12px;box-shadow:0 3px 12px rgba(0,0,0,.045);text-decoration:none;transition:box-shadow .15s,border-color .15s}
.mes-product-tile:hover{border-color:#d3ab00;box-shadow:0 5px 16px rgba(0,0,0,.075)}
.mes-product-tile:focus-visible{outline:2px solid #d3ab00;outline-offset:3px}
.mes-product-pictures{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;gap:4px}
.mes-product-pictures img{display:block;width:100%;max-width:150px;height:auto;aspect-ratio:1;object-fit:contain;min-width:0}
.mes-product-pictures:has(img+img) img{width:calc(50% - 2px);max-width:130px}
.mes-product-navigation .mes-product-name{font-size:17px;font-weight:700;line-height:1.3;text-align:center}
@media(max-width:760px){.product-choice-grid.mes-product-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mes-product-navigation .mes-product-tile{padding:10px;gap:8px}.mes-product-navigation .mes-product-tile:last-child{grid-column:1/-1}.mes-product-navigation .mes-product-name{font-size:15px}.mes-product-pictures img{max-width:120px}.mes-shape-tile img{max-width:105px}.accessories .accessory-option{grid-template-columns:44px minmax(0,1fr) 22px}.accessory-option .mes-addon-icon{width:44px;height:44px}}

/* Unified selection appearance; control values and behavior unchanged. */
.mes-shape-picker .mes-shape-tile[aria-current=page],.fan-shape-actions button.mes-shape-tile[aria-pressed=true],.fan-shape-actions button.mes-shape-tile[aria-pressed=true]:hover,.checkout-form .mes-combined-options label.mes-checkout-option:has(>input:checked){background:#fff8d4;border-color:#d3ab00;box-shadow:inset 0 -3px #ffd400}

/* MES-INTEGRA-04: product-family navigation only; not configurator controls or cart. */
.mes-product-navigation>a.mes-product-tile{background:#fff;color:#202020;transform:none;box-shadow:none;transition:none}
.mes-product-navigation>a.mes-product-tile:hover,.mes-product-navigation>a.mes-product-tile:focus-visible{background:#fff;color:#202020;border-color:#ffd400;transform:none;box-shadow:none}
.mes-product-navigation>a.mes-product-tile:focus-visible{outline:2px solid #ffd400;outline-offset:3px}

/* MES-INTEGRA-04A: shape tiles only; keep layout and form behavior unchanged. */
.mes-shape-picker a.mes-shape-tile,.fan-shape-actions button.mes-shape-tile{background:#fff;color:#202020;border-color:#dedede;box-shadow:none;transform:none;transition:none}
.mes-shape-picker a.mes-shape-tile[aria-current=page],.mes-shape-picker a.mes-shape-tile[aria-current=page]:hover,
.fan-shape-actions button.mes-shape-tile[aria-pressed=true],.fan-shape-actions button.mes-shape-tile[aria-pressed=true]:hover,
.mes-shape-picker a.mes-shape-tile:hover,.fan-shape-actions button.mes-shape-tile:hover,
.mes-shape-picker a.mes-shape-tile:focus-visible,.fan-shape-actions button.mes-shape-tile:focus-visible{background:#fff;color:#202020;border:1px solid #ffd400;box-shadow:none;transform:none}
.mes-shape-picker a.mes-shape-tile:focus-visible,.fan-shape-actions button.mes-shape-tile:focus-visible{outline:2px solid #ffd400;outline-offset:3px}
.mes-shape-picker a.mes-shape-tile:focus:not(:focus-visible),.fan-shape-actions button.mes-shape-tile:focus:not(:focus-visible),.mes-product-navigation>a.mes-product-tile:focus:not(:focus-visible){outline:none}

/* Mobile accessory selection only; desktop and checkout selection remain unchanged. */
@media(min-width:761px){.accessories .accessory-option:has(input:checked){background:#fff8d4;border-color:#d3ab00;box-shadow:inset 0 -3px #ffd400}}
@media(max-width:760px){
 body:is([data-family="kwadrat"],[data-family="okragly"]) .accessories .accessory-option{background:#fff;box-shadow:none}
 body:is([data-family="kwadrat"],[data-family="okragly"]) .accessories .accessory-option:has(input:checked){background:#fff;border-color:#ffd400;box-shadow:none}
 body:is([data-family="kwadrat"],[data-family="okragly"]) .accessories .accessory-option:has(input:focus-visible){outline:2px solid #ffd400;outline-offset:3px}
}
