/* Shop2 UX 0.5.6 — scoped visual layer; preserves cart.css logic */
.shop2.shop2-temu{font-family:Arial,Helvetica,sans-serif!important;color:#292d30;background:#fff;max-width:1440px;margin:18px auto;padding:24px 26px;border-radius:8px;font-size:15px;line-height:1.45}
.shop2-temu *{box-sizing:border-box}
.shop2-temu .shop2-header{display:flex;align-items:center;justify-content:space-between;padding:0 0 16px;border-bottom:1px solid #e5e5e5;margin-bottom:14px}
.shop2-temu .shop2-header h1{font-size:28px;font-weight:600;color:#242424;margin:0}
.shop2-temu .shop2-header span{font-size:13px;color:#777}
.shop2-temu .shop2-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,370px);gap:32px;align-items:start}
.shop2-temu .shop2-lines{min-width:0;max-height:calc(100vh - 160px);overflow-y:auto;overscroll-behavior:contain;padding:0 10px 20px 0}
.shop2-temu .shop2-select-all{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 8px;border-bottom:1px solid #e8e8e8;margin-bottom:4px}
.shop2-temu .shop2-select-all label{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;cursor:pointer}
.shop2-temu .shop2-select-help{color:#8b8b8b;font-size:12px}
.shop2-temu input[type=checkbox]{appearance:none;-webkit-appearance:none;width:22px;height:22px;min-width:22px;border:2px solid #b5b5b5;border-radius:50%;background:#fff;cursor:pointer;position:relative;vertical-align:middle}
.shop2-temu input[type=checkbox]:checked{background:#222;border-color:#222}
.shop2-temu input[type=checkbox]:checked:after{content:'✓';color:#fff;position:absolute;left:4px;top:-3px;font-size:17px;font-weight:700}
.shop2-temu .shop2-line{display:flex;align-items:flex-start;gap:14px;background:#fff;border:0;border-bottom:1px solid #e7e7e7;border-radius:0;box-shadow:none;padding:23px 8px;min-width:0;position:relative}
.shop2-temu .shop2-checklabel{flex:0 0 24px;padding-top:5px}
.shop2-temu .shop2-info{flex:1 1 auto;min-width:0}
.shop2-temu .shop2-info h2{font-size:17px;line-height:1.35;font-weight:500;margin:0 0 9px;color:#242424}
.shop2-temu .shop2-info small{display:block;font-size:12px;color:#777;margin:5px 0}
.shop2-temu .shop2-price{display:block;color:#202020;font-size:19px;font-weight:700;margin:10px 0}
.shop2-temu .shop2-actions{display:flex;align-items:center;gap:3px;margin:38px 20px 0 0;flex:0 0 auto}
.shop2-temu .shop2-actions button{border:1px solid #d6d6d6;border-radius:5px;background:#fff;color:#292929;width:34px;height:35px;padding:0;font-size:19px}
.shop2-temu .shop2-actions input{border:1px solid #d6d6d6;border-radius:5px;width:55px;height:35px;text-align:center;font-size:15px;padding:0}
.shop2-temu .shop2-trash{background:transparent;border:0;color:#777;font-size:21px;cursor:pointer;margin:4px 0 0 auto;flex:0 0 auto;padding:5px}
.shop2-temu .shop2-trash:hover{color:#e04d28}
.shop2-temu .shop2-summary{position:sticky;top:18px;align-self:start;max-height:calc(100vh - 36px);overflow-y:auto;background:#fff;border:1px solid #e6e6e6;border-radius:8px;padding:20px;box-shadow:0 2px 12px rgba(0,0,0,.045)}
.shop2-temu .shop2-summary h2{font-size:21px;font-weight:600;color:#252525;margin:0 0 18px}
.shop2-temu .shop2-pair{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;font-size:13px;border:0}
.shop2-temu .shop2-pair strong{white-space:nowrap;font-weight:600;color:#252525}
.shop2-temu .shop2-quote-form{background:transparent;padding:8px 0;margin:8px 0;border:0}
.shop2-temu .shop2-field-title,.shop2-temu .shop2-quote-form>label:not(.shop2-promo-label){display:block;font-size:14px;font-weight:700;color:#303030;margin:18px 0 9px}
.shop2-temu .shop2-country-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shop2-temu .shop2-country-tile,.shop2-temu .shop2-region-tile,.shop2-temu .shop2-shipping-tile{background:#fff;border:1px solid #d8d8d8;color:#333;border-radius:7px;cursor:pointer;transition:background .12s,border-color .12s,box-shadow .12s;font-family:inherit}
.shop2-temu .shop2-country-tile{display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;font-size:15px;font-weight:600}
.shop2-temu .shop2-flag{font-size:31px;line-height:1}
.shop2-temu .shop2-country-tile.is-selected,.shop2-temu .shop2-region-tile.is-selected,.shop2-temu .shop2-shipping-tile.is-selected{background:#e7eee8;border:2px solid #27673b;box-shadow:inset 0 0 0 1px #27673b;color:#163c21}
.shop2-temu .shop2-region-tiles{display:flex;flex-wrap:wrap;gap:6px;max-height:158px;overflow-y:auto;padding:3px}
.shop2-temu .shop2-region-tile{display:flex;align-items:center;gap:5px;padding:6px 9px;font-size:12px;min-height:36px}
.shop2-temu .shop2-region-mark{font-weight:700;background:#eff0f0;padding:3px 5px;border-radius:3px;font-size:11px}
.shop2-temu .shop2-shipping-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.shop2-temu .shop2-shipping-tile{display:flex;align-items:flex-start;gap:8px;text-align:left;padding:11px 9px;min-width:0}
.shop2-temu .shop2-shipping-icon{font-size:23px}
.shop2-temu .shop2-shipping-tile strong{display:block;font-size:14px}
.shop2-temu .shop2-shipping-tile small{display:block;font-size:11px;overflow-wrap:anywhere;color:#666;margin-top:3px}
.shop2-temu .shop2-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip-path:inset(50%)!important}
.shop2-temu .shop2-promo-label{display:block!important;text-align:center!important;font-size:15px!important;font-weight:800!important;letter-spacing:.4px;color:#333!important;margin:21px 0 9px!important}
.shop2-temu #shop2-promo{width:100%;font:600 14px Arial,Helvetica,sans-serif!important;letter-spacing:.4px;text-align:center;text-transform:uppercase;border:1px solid #cfcfcf;border-radius:6px;padding:12px;background:#fff;color:#222}
.shop2-temu .shop2-notice{font-size:12px;line-height:1.5;color:#666;background:#f7f8f8;padding:10px;border-radius:6px}
.shop2-temu .shop2-quote-form select:not(.shop2-native-select){width:100%;font-size:14px;padding:10px}
.shop2-temu button:focus-visible,.shop2-temu input:focus-visible{outline:3px solid #267bb1;outline-offset:2px}
@media(max-width:900px){.shop2.shop2-temu{padding:16px}.shop2-temu .shop2-grid{grid-template-columns:minmax(0,1fr);gap:20px}.shop2-temu .shop2-lines{max-height:none;overflow:visible}.shop2-temu .shop2-summary{position:static;max-height:none;overflow:visible}.shop2-temu .shop2-select-help{display:none}}
@media(max-width:540px){.shop2-temu .shop2-line{flex-wrap:wrap;gap:9px}.shop2-temu .shop2-info{flex-basis:calc(100% - 70px)}.shop2-temu .shop2-actions{margin:0 0 0 37px}.shop2-temu .shop2-header h1{font-size:24px}.shop2-temu .shop2-shipping-tiles{grid-template-columns:1fr}}

/* v0.5.7 - panier compact, fiche image, resume sticky sans scroll interne */
.shop2.shop2-temu{max-width:1560px;overflow:visible!important}
.shop2-temu .shop2-grid{grid-template-columns:minmax(0,1fr) minmax(300px,350px);gap:18px;align-items:start;overflow:visible!important}
.shop2-temu .shop2-lines{height:calc(100vh - 185px);min-height:350px;max-height:none;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.shop2-temu .shop2-line{display:grid;grid-template-columns:26px 102px minmax(0,1fr) auto;grid-template-rows:auto 42px;gap:3px 12px;align-items:start;padding:14px 8px;min-height:140px}
.shop2-temu .shop2-checklabel{grid-column:1;grid-row:1/3}
.shop2-temu .shop2-product-photo{grid-column:2;grid-row:1/3;width:102px;height:102px;border:1px solid #e3e7e9;border-radius:8px;background:#f7f8f8;display:flex;align-items:center;justify-content:center;overflow:hidden}
.shop2-temu .shop2-product-photo img{display:block;width:100%;height:100%;object-fit:contain}
.shop2-temu .shop2-info{grid-column:3;grid-row:1/3;min-width:0}
.shop2-temu .shop2-info h2{font-size:17px;margin:1px 0 4px}
.shop2-temu .shop2-info small{margin:3px 0}
.shop2-temu .shop2-price{margin:7px 0;font-size:18px}
.shop2-temu .shop2-trash{grid-column:4;grid-row:1;justify-self:end;margin:0;padding:2px}
.shop2-temu .shop2-actions{grid-column:4;grid-row:2;justify-self:end;align-self:end;margin:0;display:flex;gap:3px}
.shop2-temu .shop2-summary{position:sticky!important;top:12px!important;align-self:start;max-height:none!important;height:auto!important;overflow:visible!important;overflow-x:hidden!important;padding:12px 13px;border-radius:7px;min-width:0;width:100%}
.shop2-temu .shop2-summary h2{font-size:18px;margin:0 0 8px}
.shop2-temu .shop2-pair{padding:3px 0;font-size:12px;gap:6px;line-height:1.35}
.shop2-temu .shop2-pair strong{font-size:12px}
.shop2-temu .shop2-quote-form{padding:3px 0;margin:2px 0}
.shop2-temu .shop2-field-title,.shop2-temu .shop2-quote-form>label:not(.shop2-promo-label){font-size:12px;margin:8px 0 4px}
.shop2-temu .shop2-country-tiles{gap:5px}
.shop2-temu .shop2-country-tile{min-height:38px;padding:4px 6px;font-size:12px;gap:6px;overflow:hidden;min-width:0}
.shop2-temu .shop2-flag{font-size:21px;line-height:1.1;white-space:nowrap}
.shop2-temu .shop2-region-tiles{max-height:none!important;overflow:visible!important;display:flex;flex-wrap:wrap;gap:3px;padding:0}
.shop2-temu .shop2-region-tile{padding:2px 4px;min-height:24px;min-width:30px;justify-content:center;font-size:10px;border-radius:4px}
.shop2-temu .shop2-region-mark{background:transparent;padding:0;font-size:10px}
.shop2-temu .shop2-shipping-tiles{gap:5px}
.shop2-temu .shop2-shipping-tile{padding:6px 5px;gap:5px;overflow:hidden}
.shop2-temu .shop2-shipping-icon{font-size:17px}
.shop2-temu .shop2-shipping-tile strong{font-size:12px}
.shop2-temu .shop2-shipping-tile small{font-size:10px;margin-top:1px;line-height:1.2}
.shop2-temu .shop2-promo-label{font-size:12px!important;margin:9px 0 4px!important}
.shop2-temu #shop2-promo{padding:7px;font-size:12px!important}
.shop2-temu .shop2-notice{font-size:10px;line-height:1.25;padding:5px 7px;margin:5px 0}
.shop2-temu .shop2-summary hr{margin:6px 0}
.shop2-temu .shop2-summary button[disabled]{padding:8px}
@media(max-width:900px){.shop2-temu .shop2-grid{grid-template-columns:minmax(0,1fr)}.shop2-temu .shop2-lines{height:auto;max-height:55vh;overflow-y:auto}.shop2-temu .shop2-summary{position:static!important}}
@media(max-width:540px){.shop2-temu .shop2-line{grid-template-columns:24px 75px minmax(0,1fr) 36px;grid-template-rows:auto 40px;gap:4px 7px}.shop2-temu .shop2-product-photo{width:75px;height:75px}.shop2-temu .shop2-actions{grid-column:3/5}.shop2-temu .shop2-trash{grid-column:4}.shop2-temu .shop2-info{grid-column:3/5}.shop2-temu .shop2-info h2{padding-right:35px}}

/* v0.5.8 : drapeaux plats, grille compacte, aucun texte sur les provinces */
.shop2-temu .shop2-country-tile{gap:7px;min-height:44px}
.shop2-temu .shop2-flag-img{display:block;width:42px;height:26px;object-fit:cover;border-radius:1px;flex-shrink:0}
.shop2-temu .shop2-region-tiles{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;overflow:visible!important;max-height:none!important}
.shop2-temu .shop2-region-tile{width:100%!important;min-width:0!important;min-height:40px!important;padding:2px!important;border:2px solid transparent!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
.shop2-temu .shop2-region-tile:hover{border-color:#8b9990!important;background:#f1f4f2!important}
.shop2-temu .shop2-region-tile.is-selected{border-color:#216c3d!important;background:#e4eee7!important;box-shadow:none!important}
.shop2-temu .shop2-region-flag{display:block;width:100%;height:34px;object-fit:cover;border-radius:1px}
.shop2-temu .shop2-region-mark{font-size:11px}
@media(max-width:540px){.shop2-temu .shop2-region-tiles{grid-template-columns:repeat(5,minmax(0,1fr))!important}.shop2-temu .shop2-region-tile{min-height:32px!important}.shop2-temu .shop2-region-flag{height:27px}}
