/* Scoped selection controls; catalogue and shared navigation keep their existing styling. */
.selection-add[hidden],.selection-actions[hidden],.selection-page [hidden],.selection-actions [hidden]{display:none}
@media(min-width:701px) and (max-width:850px){.site-header .header-inner{padding-inline:20px;gap:16px}}
.site-header .selection-link{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;position:relative;text-decoration:none}
.site-header .selection-link svg{width:22px;height:22px}.selection-count{font-size:11px;font-weight:700;line-height:18px;min-width:18px;text-align:center;border-radius:50%;background:#1c1c1c;color:#fff}
.selection-add{display:block;background:transparent;color:var(--primary-color);border:1px solid var(--border-color);border-radius:3px;padding:10px 12px;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;cursor:pointer;text-align:center;min-height:44px;width:100%;margin-top:10px}
.selection-add:hover{background:var(--bg-light)}.selection-add[aria-pressed=true]{border-color:var(--accent-deep)}
.product-cta .selection-add{margin-top:12px}
.page-header-modern.selection-header{padding:40px 0 34px}
.selection-header h1{font-size:2.5rem}
.selection-header h1::after{margin-top:14px}
.selection-page{padding-top:28px;padding-bottom:40px;max-width:1040px}
.selection-heading{font-size:16px;font-weight:600;margin:0;padding-bottom:12px;border-bottom:1px solid var(--border-color)}
.selection-line{display:grid;grid-template-columns:104px minmax(0,1fr) 190px;align-items:center;gap:24px;padding:22px 0;border-bottom:1px solid var(--border-color);scroll-margin-block:100px 150px}
.selection-photo{display:block;background:var(--bg-light);border-radius:3px;overflow:hidden}
.selection-photo img{width:104px;height:112px;object-fit:contain}
.selection-info{min-width:0}
.selection-info h2,.selection-info h4{font-size:17px;line-height:1.4;margin:0 0 4px;font-weight:700;letter-spacing:normal;text-transform:none}
.selection-info h2 a:hover,.selection-info h4 a:hover{text-decoration:underline;text-underline-offset:3px}
.selection-dimensions{font-size:14px;color:var(--text-light)}
.selection-price{font-size:16px;font-weight:600;margin-top:5px}
.selection-pricing{font-size:13px;color:var(--text-light);line-height:1.5}
.selection-reference{display:block;font-size:12px;color:var(--text-light);margin-top:5px;overflow-wrap:anywhere}
.selection-controls{justify-self:end;max-width:190px}
.selection-quantity label{font-size:12px;display:block;margin-bottom:6px;color:var(--text-light)}
.selection-stepper{display:inline-flex;align-items:center;border:1px solid var(--border-color);border-radius:3px;background:#fff}
.selection-stepper button{width:44px;height:44px;border:0;background:transparent;color:var(--primary-color);font:inherit;font-size:22px;cursor:pointer;border-radius:2px}
.selection-stepper button:hover:not(:disabled){background:var(--bg-light)}
.selection-stepper button:disabled{color:var(--text-light);opacity:.45;cursor:default}
.selection-stepper input{appearance:textfield;-moz-appearance:textfield;box-sizing:border-box;width:48px;height:44px;padding:0 2px;border:0;border-inline:1px solid var(--border-color);background:#fff;color:var(--primary-color);font:inherit;font-size:16px;text-align:center;font-variant-numeric:tabular-nums;border-radius:0}
.selection-stepper input::-webkit-inner-spin-button,.selection-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.selection-quantity-error{font-size:12px;line-height:1.45;color:var(--danger-color);margin-top:8px;max-width:30ch}
.selection-remove,.selection-undo button{border:0;background:transparent;color:var(--text-light);text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px;cursor:pointer;min-height:44px;padding:8px}
.selection-remove{display:block;margin-left:auto}
.selection-remove:hover,.selection-undo button:hover{color:var(--primary-color)}
.selection-note{font-size:13px;color:var(--text-light);margin:22px 0;max-width:80ch}
.selection-actions{display:flex;flex-direction:row-reverse;gap:16px;align-items:center;justify-content:space-between;padding-top:4px}
.selection-continue{font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.selection-undo{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;margin:12px 0;background:var(--bg-light);border-radius:3px;font-size:14px}
.selection-undo p{margin:0}
.selection-undo button{font-weight:600;color:var(--primary-color);flex-shrink:0}
.selection-empty{padding:30px 0 40px;text-align:center}
.selection-empty h2{font-size:22px;margin-bottom:8px;text-transform:none}
.selection-empty p{color:var(--text-light);margin-bottom:24px}
.selection-categories{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;list-style:none;margin:0 0 24px;padding:0}
.selection-categories a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--border-color);border-radius:3px;font-size:14px;font-weight:600}
.selection-categories a:hover{border-color:var(--primary-color)}
.selection-total{font-size:16px;font-weight:700;margin:20px 0 0;text-align:right}
#selection-status:not(:empty){margin-top:20px;color:var(--danger-color);font-size:14px}
.selection-feedback{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--primary-color);color:#fff;padding:12px 20px;border-radius:3px;z-index:1001;max-width:calc(100% - 30px);font-size:14px}
.selection-feedback:empty{display:none}
.selection-share-tools{margin:16px 0;border-bottom:1px solid var(--border-color)}
.selection-share-tools summary{cursor:pointer;font-size:14px;padding:12px 0;min-height:44px;width:fit-content}
.selection-share-content{padding:0 0 18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.selection-share-content p{width:100%;font-size:14px;margin:0;color:var(--text-light)}
.selection-share-tools[hidden],.selection-shared[hidden]{display:none!important}
.selection-share-tools button,.selection-shared button{min-height:44px;padding:10px 14px;background:#fff;color:var(--primary-color);border:1px solid var(--primary-color);border-radius:3px;font:inherit;font-size:14px;cursor:pointer}
.selection-share-tools input{width:100%;min-width:0;padding:12px;border:1px solid var(--border-color);font:inherit;font-size:14px}
.selection-share-tools label{width:100%;font-size:13px}
.selection-shared{padding:28px;background:var(--bg-light);margin-bottom:28px;border-radius:3px}
.selection-shared h2{font-size:22px;text-transform:none;margin-bottom:12px}
.selection-shared p{font-size:14px;max-width:75ch;margin-bottom:14px}
.selection-shared-list{list-style:none;padding:0;margin:20px 0}
.selection-shared-list li{display:flex;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border-color)}
.selection-shared-list img{width:64px;height:72px;object-fit:contain;background:#fff;flex-shrink:0}
.selection-shared-list strong{font-size:15px}.selection-shared-list p{margin:3px 0;font-size:13px}.selection-shared-list small{color:var(--text-light)}
.selection-shared-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.selection-shared button.selection-shared-primary{background:var(--primary-color);color:#fff;border-color:var(--primary-color);font-weight:600}
.selection-shared button.selection-shared-replace{background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:3px;padding-inline:0}
.selection-page :is(button,input,a,summary):focus-visible{outline:2px solid var(--primary-color);outline-offset:3px}
#selection-summary{margin-bottom:20px}
#selection-summary .selection-line{grid-template-columns:64px minmax(0,1fr);gap:12px}
#selection-summary .selection-photo img{width:64px;height:75px}
.selection-line:not(:has(.selection-photo)) .selection-info{grid-column:1 / 3}
#selection-summary .selection-line:not(:has(.selection-photo)) .selection-info{grid-column:1 / -1}
.selection-delivery{margin:20px 0}.selection-delivery label{display:block;margin-top:12px}.selection-delivery select,.selection-delivery input{width:100%;padding:12px;border:1px solid var(--border-color);border-radius:3px;font:inherit;background:#fff}
@media(max-width:700px){
    html:has(.selection-page){scroll-padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}
    .site-header .header-actions{gap:4px}.site-header .selection-link{min-width:36px}.site-header .selection-count{position:absolute;top:0;right:0}
    .page-header-modern.selection-header{padding:26px 0 24px}
    .selection-header h1{font-size:1.85rem;margin-bottom:10px}
    .selection-header h1::after{margin-top:12px}
    .selection-header p{font-size:14px}
    .selection-page{padding-top:20px;padding-bottom:20px}
    .selection-shared{padding:20px 16px}
    .selection-line{grid-template-columns:76px minmax(0,1fr);gap:14px 16px;align-items:start;padding:18px 0}
    .selection-photo img{width:76px;height:94px}
    .selection-info h2{font-size:16px}
    .selection-dimensions{font-size:13px}
    .selection-controls{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 16px;max-width:none;justify-self:stretch}
    .selection-quantity{min-width:0}
    .selection-remove{margin:0;flex-shrink:0}
    .selection-note{margin:18px 0;font-size:12px}
    .selection-actions{flex-direction:column;gap:0;align-items:stretch;padding:12px 0 calc(4px + env(safe-area-inset-bottom,0px));background:#fff}
    .selection-actions-ready{position:sticky;bottom:0;z-index:20;border-top:1px solid var(--border-color)}
    .selection-actions .btn-primary{width:100%;text-align:center;padding:14px 16px}
    .selection-continue{justify-content:center;font-size:13px}
    .selection-feedback{bottom:130px}
}
