*{box-sizing:border-box}.box-set-page{margin:0;min-height:100vh;color:var(--fds-text-primary);background:radial-gradient(circle at 12% 0,#e7eddf 0,transparent 30%),linear-gradient(135deg,#f7f3e8,#eef0e9 70%);font-family:"Avenir Next","Segoe UI",sans-serif}.box-set-header{position:sticky;z-index:30;top:0;height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 clamp(18px,4vw,52px);border-bottom:1px solid var(--fds-border);background:rgba(255,255,255,.92);backdrop-filter:blur(14px)}.box-set-header>:last-child{justify-self:end}.box-set-header-links{display:flex;gap:8px}.box-set-brand{color:inherit;font-weight:800;text-decoration:none}.box-set-main{width:min(1320px,calc(100% - 40px));margin:auto;padding:clamp(42px,7vw,88px) 0}.box-set-heading{max-width:760px;margin-bottom:36px}.box-set-heading h1{margin:8px 0;font-family:Georgia,serif;font-size:clamp(46px,7vw,82px);font-weight:500;letter-spacing:-.055em}.box-set-heading p{max-width:620px;color:var(--fds-text-muted);line-height:1.65}.box-set-message,.box-set-empty{padding:34px;border:1px solid var(--fds-border);border-radius:22px;background:#fff}.box-set-empty{text-align:center}.box-set-empty h2{font-family:Georgia,serif;font-size:32px}.box-set-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.box-set-items{display:grid;gap:14px}.box-set-item{display:grid;grid-template-columns:110px minmax(190px,1fr) 130px minmax(210px,.8fr);gap:18px;align-items:center;padding:20px;border:1px solid var(--fds-border);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 18px 46px rgba(24,41,32,.07)}.box-set-item-media{width:110px;height:110px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#dfe6da,#f0e7d7);color:var(--fds-text-muted);font-size:12px}.box-set-item-media img{width:100%;height:100%;object-fit:contain}.box-set-item-copy h2{margin:5px 0;font-family:Georgia,serif;font-size:24px;font-weight:500}.box-set-item-copy p,.box-set-item-copy small{margin:0;color:var(--fds-text-muted)}.box-set-item-copy small{display:block;margin-top:8px}.box-set-quantity{display:grid;gap:6px;color:var(--fds-text-muted);font-size:12px}.box-set-quantity input{width:100%;min-height:44px;padding:9px 10px;border:1px solid var(--fds-border-strong);border-radius:9px;font:inherit}.box-set-price{margin:0}.box-set-price>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:12px}.box-set-price dt{color:var(--fds-text-muted)}.box-set-price dd{margin:0;font-weight:700}.box-set-price>div:last-child{margin-top:4px;padding-top:8px;border-top:1px solid var(--fds-border)}.box-set-item-actions{grid-column:2/-1;display:flex;justify-content:flex-end;gap:8px}.box-set-summary{position:sticky;top:88px;padding:26px;border-radius:22px;color:#f8f6ee;background:#183b2c;box-shadow:0 26px 60px rgba(24,59,44,.2)}.box-set-summary h2{margin:7px 0 20px;font-family:Georgia,serif;font-size:30px;font-weight:500}.box-set-summary dl{margin:0}.box-set-summary dl>div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.15)}.box-set-summary dd{margin:0;font-weight:700}.box-set-summary p{color:#cdd9d1;font-size:12px}.box-set-summary button{width:100%;margin-top:10px}.box-set-summary .fds-btn-primary:disabled{color:#aebbb4;background:#52685e;border-color:#52685e}.boxset-wrap{position:relative}.box-set-panel{position:absolute;z-index:80;right:0;top:48px;width:min(390px,calc(100vw - 24px));max-height:min(620px,calc(100vh - 84px));overflow:auto;padding:18px;border:1px solid var(--fds-border);border-radius:16px;background:#fff;box-shadow:0 24px 64px rgba(17,24,39,.2)}.box-set-panel>header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--fds-border)}.box-set-panel>header button,.box-set-dialog header button{width:38px;height:38px;border:1px solid var(--fds-border);border-radius:9px;background:#fff}.box-set-panel-state{padding:28px 8px;text-align:center}.box-set-panel-state span{color:var(--fds-text-muted);font-size:11px;text-transform:uppercase}.box-set-panel-state h3{margin:8px 0;font-family:Georgia,serif;font-size:24px}.box-set-panel-state p{color:var(--fds-text-muted);line-height:1.5}.box-set-panel-list{display:grid;gap:10px;padding:12px 0}.box-set-panel-list article{display:grid;grid-template-columns:64px 1fr;gap:11px;align-items:center}.box-set-thumb{width:64px;height:64px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#edf0e8}.box-set-thumb img{width:100%;height:100%;object-fit:contain}.box-set-panel-list strong,.box-set-panel-list small,.box-set-panel-list span{display:block}.box-set-panel-list small,.box-set-panel-list span{margin-top:3px;color:var(--fds-text-muted);font-size:11px}.box-set-panel>footer{display:flex;justify-content:space-between;align-items:end;gap:12px;padding-top:14px;border-top:1px solid var(--fds-border)}.box-set-panel>footer small,.box-set-panel>footer strong{display:block}.box-set-overlay-open{overflow:hidden}.box-set-layer{position:fixed;z-index:130;inset:0}.box-set-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.55)}.box-set-dialog{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 32px));padding:24px;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(17,24,39,.28)}.box-set-dialog header,.box-set-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.box-set-dialog h2{margin:4px 0}.box-set-dialog p{color:var(--fds-text-muted);line-height:1.6}.box-set-dialog footer{justify-content:flex-end;margin-top:20px}[hidden]{display:none!important}
@media(max-width:900px){.box-set-layout{grid-template-columns:1fr}.box-set-summary{position:static}.box-set-item{grid-template-columns:88px minmax(0,1fr) 110px}.box-set-item-media{width:88px;height:88px}.box-set-price{grid-column:2/-1}.box-set-item-actions{grid-column:1/-1}.box-set-panel{position:fixed;inset:auto 0 0;width:100%;max-height:82vh;border-radius:22px 22px 0 0;padding-bottom:max(18px,env(safe-area-inset-bottom));animation:boxSetRise .18s ease-out}.box-set-overlay-open:before{content:"";position:fixed;z-index:49;inset:0;background:rgba(17,24,39,.42)}}
@media(max-width:600px){.box-set-header{height:56px;padding:0 12px;grid-template-columns:1fr auto}.box-set-header>strong{display:none}.box-set-main{width:calc(100% - 24px);padding:36px 0 110px}.box-set-heading h1{font-size:46px}.box-set-item{grid-template-columns:72px 1fr;padding:14px}.box-set-item-media{width:72px;height:72px}.box-set-quantity,.box-set-price{grid-column:1/-1}.box-set-item-actions{justify-content:stretch;flex-wrap:wrap}.box-set-item-actions button{flex:1}.box-set-dialog{inset:auto 0 0;transform:none;width:100%;border-radius:22px 22px 0 0;padding-bottom:max(24px,env(safe-area-inset-bottom))}}
@keyframes boxSetRise{from{transform:translateY(28px);opacity:0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Box Set popover: pill-style header, rows and actions */
.box-set-panel{padding:14px;border-color:rgba(17,24,39,.08);border-radius:20px;box-shadow:0 18px 48px rgba(17,24,39,.16)}
.box-set-panel>header{gap:8px;justify-content:flex-start;padding:2px 2px 12px}
.box-set-panel>header strong{font-size:15px;font-weight:600}
.box-set-panel>header span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:600}
.box-set-panel>header button{margin-left:auto;width:32px;height:32px;border:0;border-radius:50%;background:#f1f2f3;font-size:18px;line-height:1;cursor:pointer}
.box-set-panel>header button:hover{background:#e6e8ea}
.box-set-panel-list{gap:8px;padding:12px 0}
.box-set-panel-list article{grid-template-columns:56px minmax(0,1fr) auto;gap:10px;padding:8px;border:1px solid rgba(17,24,39,.08);border-radius:16px}
.box-set-panel-list .box-set-thumb{width:56px;height:56px;border-radius:12px;overflow:hidden;background:#f1f2f3;display:grid;place-items:center}
.box-set-panel-list .box-set-thumb img{width:100%;height:100%;object-fit:cover}
.box-set-panel-copy{min-width:0}
.box-set-panel-copy strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.box-set-panel-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.box-set-panel-copy span{color:#111!important;font-weight:600}
.box-set-panel-copy em{display:block;margin-top:3px;font-style:normal;font-size:11px;color:#b45309}
.box-set-panel-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.box-set-pill{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 14px;border:1px solid rgba(17,24,39,.14);border-radius:999px;background:#fff;color:#111;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}
.box-set-pill:hover{background:#f1f2f3}
.box-set-pill.is-dark{background:#111;border-color:#111;color:#fff}
.box-set-pill.is-dark:hover{background:#2a2d31}
.box-set-panel>footer{align-items:center;padding:12px 2px 2px}
.box-set-panel>footer strong{font-size:17px}
.box-set-panel>footer .box-set-pill{height:36px;padding:0 18px}
.box-set-panel-state{padding:22px 8px}
.box-set-panel-state h3{font-family:inherit;font-size:17px;font-weight:600}
.box-set-panel-state .box-set-pill{height:36px;margin-top:6px}
@media(max-width:900px){body.box-set-overlay-open header{backdrop-filter:none;-webkit-backdrop-filter:none}.box-set-panel{border-radius:22px 22px 0 0}}
.box-set-pill.is-remove{border-color:transparent;background:transparent;color:#b42318}
.box-set-pill.is-remove:hover{background:#fdecea}
.box-set-pill.is-remove.is-confirming{background:#b42318;border-color:#b42318;color:#fff}

/* Language menu in the header (customer pages and the Configurator): a <details> whose list opens below the pill */
.lang-menu{position:relative;display:inline-flex}
.lang-menu>summary{list-style:none;cursor:pointer;user-select:none}
.lang-menu>summary::-webkit-details-marker{display:none}
.lang-menu>summary::after{content:"";width:6px;height:6px;margin-inline-start:7px;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.6}
.lang-menu[open]>summary::after{transform:translateY(1px) rotate(-135deg)}
.lang-menu-list{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;z-index:90;display:grid;gap:2px;min-width:172px;max-height:min(70vh,420px);overflow:auto;padding:6px;border:1px solid #e3e5e8;border-radius:14px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.14)}
.lang-menu-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-radius:9px;color:#111827;font-size:14px;font-weight:500;line-height:1.3;text-decoration:none;white-space:nowrap}
a.lang-menu-item:hover,a.lang-menu-item:focus-visible{background:#f2f3f5}
.lang-menu-item.is-current{font-weight:700}
.lang-menu-item.is-current::after{content:"✓";font-weight:700}
/* Phones: the button is the short language code alone, so the header still fits on one line at 320px. */
@media(max-width:560px){.lang-menu>summary::after{display:none}}

/* Shared language trigger: globe icon for storefront and editor headers. */
.lang-icon{display:block;flex:0 0 16px;width:16px;height:16px}
.lang-menu>summary{gap:6px}
/* Keep the trigger compact on narrow phones; its accessible label stays present. */
@media(max-width:420px){.lang-menu>summary .lbl-short,.lang-menu>summary .lbl-full{display:none}.lang-menu>summary{gap:0}}

/* Optional packaging prompt: native modal focus and Escape handling. */
.rigid-pack-dialog{box-sizing:border-box;width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:28px;border:1px solid var(--fds-border);border-radius:var(--fds-radius-lg,16px);background:var(--fds-white);color:var(--fds-text-primary);box-shadow:var(--fds-shadow-3);font:inherit}
.rigid-pack-dialog::backdrop{background:rgba(15,23,42,.4)}
.rigid-pack-dialog h2{font-size:20px;line-height:1.4;margin:0 0 12px}
.rigid-pack-dialog p{font-size:14px;line-height:1.7;margin:0 0 16px;overflow-wrap:anywhere}
.rigid-pack-name{font-weight:600}
.rigid-pack-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.rigid-pack-actions .box-set-pill{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;white-space:normal;height:auto}
.rail-pack-description{font-size:13px;line-height:1.6;margin:0 0 12px;color:var(--fds-text-secondary,#4b5563)}
@media(max-width:480px){.rigid-pack-actions{flex-direction:column}.rigid-pack-actions .box-set-pill{width:100%}}

/* Per-type sale quantities remain separate, including pieces and rolls. */
.box-set-panel-list article>.box-set-pack-action{grid-column:2/-1;justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--fds-border,#e5e7eb);border-radius:8px;background:var(--fds-bg-subtle,#f8fafc);color:var(--fds-text-secondary,#475569);font-size:12px;line-height:1.4;text-decoration:none;max-width:100%}
.box-set-pack-action span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.box-set-pack-action svg{flex:none}.box-set-panel-list .box-set-panel-copy strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45}
.box-set-panel>footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.box-set-footer-top{grid-column:1/-1;min-width:0}.box-set-quantity-groups{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.box-set-quantity-tag{display:inline-flex;align-items:center;gap:5px;border-radius:6px;background:#f3f4f6;padding:4px 7px;font-size:11px;color:#475569;line-height:1.5;white-space:nowrap}.box-set-quantity-tag b{font-weight:500}.box-set-footer-total small{display:block;font-size:11px;color:#64748b}.box-set-footer-total strong{display:block;margin-top:3px}.box-set-footer-top>small{font-size:12px;color:#64748b}

#pkRibbonForms .rail-chip:disabled{filter:grayscale(1);color:var(--fds-text-muted,#92949b);background:var(--fds-bg-subtle,#f1f2f4);border-color:var(--fds-border,#e5e7eb);cursor:not-allowed;opacity:.6;box-shadow:none;}
