/* Stanley collection · 58. Scoped to the collection and its product options. */
.stanley-collection,
.stanley-family-options { --stc-ink: #1f2923; --stc-muted: #626d65; --stc-line: #dce2d9; --stc-sage: #dce6d1; --stc-paper: #f7f8f3; --stc-green: #334d37; color: var(--stc-ink); }
.stanley-collection { background: #fff; padding-bottom: 1px; }
.stanley-collection *,
.stanley-family-options * { box-sizing: border-box; }
.stanley-collection [hidden],
.stanley-family-options [hidden] { display: none !important; }
.stanley-collection a,
.stanley-family-options a { color: inherit; text-decoration: none; }
.stanley-collection button,
.stanley-collection input,
.stanley-family-options button { font: inherit; }
.stanley-collection a:focus-visible,
.stanley-collection button:focus-visible,
.stanley-collection input:focus-visible,
.stanley-family-options a:focus-visible,
.stanley-family-options button:focus-visible { outline: 3px solid #537144; outline-offset: 4px; }
.stc-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.stanley-collection .stc-heading { background: var(--stc-paper); border-bottom: 1px solid var(--stc-line); padding: 18px 0 25px; }
.stc-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 11px; color: var(--stc-muted); margin-bottom: 20px; }
.stc-breadcrumb a:hover { color: var(--stc-green); text-decoration: underline; }
.stc-breadcrumb [aria-current] { color: var(--stc-ink); }
.stc-heading-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 330px); align-items: center; gap: 50px; }
.stanley-collection .stc-eyebrow,
.stanley-family-options .stc-eyebrow { margin: 0 0 12px; font-size: 10px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; color: var(--stc-green); }
.stanley-collection h1 { margin: 0; font: inherit; font-size: clamp(42px, 5vw, 56px); letter-spacing: -.055em; font-weight: 800; line-height: .98; }
.stc-intro { max-width: 610px; font-size: 12px; line-height: 1.8; margin: 14px 0 0; color: var(--stc-muted); }
.stc-summary { border-left: 1px solid #c9d1c2; padding-left: 28px; }
.stc-summary dl { display: grid; gap: 10px; margin: 0 0 12px; }
.stc-summary dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.stc-summary dt { font-size: 11px; color: var(--stc-muted); }
.stc-summary dd { margin: 0; font-size: 24px; font-weight: 700; line-height: 1; }
.stc-summary > span { display: block; font-size: 10px; line-height: 1.8; color: var(--stc-muted); }
.stc-directory { padding-top: 26px; padding-bottom: 52px; scroll-margin-top: 120px; }
.stc-directory-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 18px; }
.stanley-collection h2 { margin: 0; font-size: 27px; line-height: 1.25; letter-spacing: -.035em; font-weight: 700; }
.stc-directory-heading > p { font-size: 11px; line-height: 1.8; color: var(--stc-muted); margin: 0; }
.stc-group-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--stc-line); }
.stc-group-nav a { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--stc-line); border-radius: 4px; padding: 10px 13px; font-size: 11px; font-weight: 600; line-height: 1.35; transition: background-color .15s, border-color .15s; }
.stc-group-nav a > span { font-size: 10px; opacity: .7; }
.stc-group-nav a:hover { background: var(--stc-paper); border-color: #b0bca6; }
.stc-group-nav a[aria-current] { background: var(--stc-ink); color: #fff; border-color: var(--stc-ink); }
.stc-search { display: flex; align-items: center; gap: 15px; max-width: 520px; margin-top: 12px; }
.stc-search label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; border-bottom: 1px solid #b1bcae; }
.stc-search label > svg { flex: 0 0 auto; color: var(--stc-muted); }
.stc-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--stc-ink); padding: 10px 0; font-size: 12px; }
.stc-search input::placeholder { color: #7c867c; }
.stc-search button { padding: 10px 2px; border: 0; background: transparent; color: var(--stc-green); cursor: pointer; font-size: 11px; text-decoration: underline; }
.stc-search-status { font-size: 11px; color: var(--stc-muted); line-height: 1.6; margin: 12px 0 0; min-height: 0; }
.stc-search-status:empty { display: none; }
.stc-group { margin-top: 24px; scroll-margin-top: 120px; }
.stc-group-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 17px; }
.stanley-collection .stc-group-heading h2 { font-size: 20px; letter-spacing: -.025em; }
.stc-group-heading p { margin: 0; font-size: 10px; color: var(--stc-muted); }
.stc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stc-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--stc-line); border-radius: 7px; background: #fff; overflow: hidden; }
.stc-card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .92; background: #fafbf8; padding: 25px 28px 22px; overflow: hidden; }
.stc-card-media > img { width: 100%; height: 100%; max-height: 285px; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.stc-image-empty { color: var(--stc-muted); font-size: 12px; text-align: center; }
.stc-capacity { position: absolute; top: 14px; left: 14px; padding: 5px 8px; border-radius: 3px; background: #e6ecdf; color: #314130; font-size: 10px; line-height: 1.25; font-weight: 750; }
.stc-card-copy { display: flex; flex-direction: column; flex: 1; padding: 21px 20px 17px; min-width: 0; }
.stc-card-eyebrow { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 9px; font-size: 9px; color: var(--stc-muted); line-height: 1.5; }
.stanley-collection .stc-card h3 { margin: 0; font-size: 20px; line-height: 1.28; letter-spacing: -.025em; font-weight: 750; overflow-wrap: anywhere; }
.stc-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.stc-card-description { margin: 10px 0 0; color: var(--stc-muted); font-size: 11px; line-height: 1.8; }
.stc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 17px 0 0; }
.stc-facts > div { min-width: 0; }
.stc-facts dt { margin: 0 0 3px; color: var(--stc-muted); font-size: 9px; line-height: 1.5; }
.stc-facts dd { margin: 0; font-size: 11px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.stanley-collection .stc-live-options,
.stanley-family-options .stc-live-options { margin-top: 19px; }
.stanley-collection .stc-live-options h4,
.stanley-collection .stc-palette h4,
.stanley-family-options .stc-live-options h3,
.stanley-family-options .stc-palette h3 { margin: 0 0 10px; font-size: 10px; line-height: 1.5; font-weight: 750; }
.stc-live-options-list { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.stc-live-options-list > a { display: inline-flex; gap: 7px; align-items: center; min-width: 0; max-width: 100%; border: 1px solid var(--stc-line); border-radius: 4px; padding: 5px 7px 5px 4px; font-size: 9px; line-height: 1.4; transition: border-color .15s, background-color .15s; }
.stc-live-options-list > a:hover { border-color: #91a084; background: var(--stc-paper); }
.stc-live-options-list > a[aria-current] { border-color: var(--stc-green); background: #edf2e8; }
.stc-live-options-list > a > span:not(.stc-option-photo) { overflow-wrap: anywhere; }
.stc-live-options-list > a small { display: block; color: var(--stc-green); font-size: 8px; font-weight: 700; }
.stc-option-photo { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 2px; overflow: hidden; background: #f6f8f2; }
.stc-option-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.stc-option-photo > span { color: #7a8672; font-weight: 750; }
.stc-live-options-list svg { flex: 0 0 auto; }
.stanley-collection .stc-palette { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ecede8; }
.stc-palette h4 > span { margin-left: 4px; font-size: 9px; color: var(--stc-muted); font-weight: 500; }
.stc-palette-options { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.stc-palette-button { position: relative; display: grid; place-items: center; width: 44px; height: 49px; flex: 0 0 44px; padding: 4px 5px 11px; border: 1px solid var(--stc-line); border-radius: 4px; background: #fff; color: var(--stc-ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.stc-palette-button img { width: 100%; height: 100%; object-fit: contain; }
.stc-palette-button > span { position: absolute; right: 3px; bottom: 2px; font-size: 7px; line-height: 1; color: var(--stc-muted); }
.stc-palette-button:hover { border-color: #7e9271; background: #f3f6ef; }
.stc-palette-button[aria-pressed="true"] { border-color: var(--stc-green); box-shadow: inset 0 0 0 1px var(--stc-green); background: #f0f5eb; }
.stc-palette-button[aria-busy="true"] { opacity: .55; }
.stc-palette-original { border-bottom: 1px solid #b1bcae; color: var(--stc-green); font-size: 10px; margin: 0 8px 5px 0; line-height: 1.8; }
.stanley-collection .stc-palette-note,
.stanley-family-options .stc-palette-note { font-size: 9px; line-height: 1.7; color: var(--stc-muted); margin: 10px 0 0; }
.stc-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 21px; }
.stc-product-link { display: inline-flex; gap: 11px; align-items: center; font-size: 11px; font-weight: 750; line-height: 1.5; }
.stc-product-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.stanley-collection .stc-source,
.stanley-family-options .stc-source { font-size: 9px; line-height: 1.6; color: var(--stc-muted); margin: 0; }
.stc-catalogue-only { max-width: 240px; font-size: 10px; line-height: 1.6; color: var(--stc-muted); }
.stc-no-results { padding: 45px 24px; border: 1px solid var(--stc-line); border-radius: 6px; text-align: center; margin-top: 24px; background: var(--stc-paper); }
.stanley-collection .stc-no-results h3 { font-size: 18px; margin: 0 0 12px; }
.stc-no-results p { font-size: 12px; line-height: 1.8; margin: 0 0 15px; color: var(--stc-muted); }
.stc-planning { margin-top: 48px; border-top: 1px solid var(--stc-line); padding: 31px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; }
.stc-planning .stc-eyebrow { grid-column: 1 / -1; }
.stanley-collection .stc-planning h2 { font-size: 26px; }
.stc-planning > p:last-child { color: var(--stc-muted); font-size: 12px; line-height: 1.9; margin: 0; max-width: 500px; }
.stc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Standalone Stanley information inside the existing product page. */
.stanley-family-options { margin-top: 24px; border-top: 1px solid var(--stc-line); padding-top: 22px; min-width: 0; }
.stanley-family-options > header > h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; font-weight: 750; letter-spacing: -.025em; overflow-wrap: anywhere; }
.stanley-family-options > header > p:last-child { font-size: 11px; line-height: 1.7; color: var(--stc-muted); margin: 0; }
.stanley-family-options .stc-family-preview { display: grid; grid-template-columns: minmax(105px, 145px) minmax(0, 1fr); gap: 17px; margin-top: 22px; background: var(--stc-paper); border: 1px solid var(--stc-line); border-radius: 6px; padding: 15px; }
.stc-family-preview-media { display: grid; place-items: center; aspect-ratio: 1; align-self: start; min-width: 0; }
.stc-family-preview-media > img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.stanley-family-options .stc-family-description { font-size: 10px; line-height: 1.7; margin: -3px 0 12px; color: var(--stc-muted); }
.stanley-family-options .stc-family-preview .stc-source { margin-top: 9px; }

@media (max-width: 1000px) {
    .stc-heading-grid { gap: 35px; grid-template-columns: minmax(0, 1fr) minmax(210px, 280px); }
    .stc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stc-card-media > img { max-height: 300px; }
}
@media (max-width: 650px) {
    .stc-shell { width: calc(100% - 32px); }
    .stanley-collection .stc-heading { padding-top: 16px; padding-bottom: 22px; }
    .stc-breadcrumb { margin-bottom: 18px; gap: 6px; font-size: 10px; }
    .stc-heading-grid { display: block; }
    .stanley-collection h1 { font-size: 52px; }
    .stc-intro { font-size: 12px; line-height: 1.8; }
    .stc-summary { margin-top: 18px; border-left: 0; border-top: 1px solid #c9d1c2; padding: 14px 0 0; }
    .stc-summary dl { display: flex; gap: 26px; margin-bottom: 13px; }
    .stc-summary dl > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
    .stc-summary dt { font-size: 10px; }
    .stc-summary dd { font-size: 24px; }
    .stc-directory { padding-top: 27px; padding-bottom: 35px; }
    .stc-directory-heading { display: block; margin-bottom: 20px; }
    .stanley-collection h2 { font-size: 24px; }
    .stc-directory-heading > p { margin-top: 12px; font-size: 10px; }
    .stc-directory-heading > p br { display: none; }
    .stc-group-nav { gap: 6px; padding-bottom: 17px; }
    .stc-group-nav a { font-size: 10px; padding: 9px 10px; gap: 7px; }
    .stc-group-nav a > span { font-size: 9px; }
    .stc-group-heading { display: block; margin-bottom: 14px; }
    .stanley-collection .stc-group-heading h2 { font-size: 19px; }
    .stc-group-heading p { margin-top: 6px; }
    .stc-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
    .stc-card-media { aspect-ratio: 1 / .8; padding: 24px; }
    .stc-card-media > img { max-height: 260px; }
    .stc-card-copy { padding: 19px 18px 17px; }
    .stc-card-footer { padding-top: 18px; }
    .stc-planning { display: block; padding-top: 25px; margin-top: 34px; }
    .stanley-collection .stc-planning h2 { font-size: 24px; }
    .stc-planning > p:last-child { margin-top: 16px; font-size: 11px; }
    .stanley-family-options .stc-family-preview { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 13px; }
    .stc-family-preview-media { width: min(100%, 190px); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    .stanley-collection *,
    .stanley-family-options * { scroll-behavior: auto !important; transition: none !important; }
}

.stanley-family-options [data-stanley-note-add] { margin-top: 10px; min-height: 36px; padding: 7px 0; border: 0; background: transparent; color: var(--stc-green); cursor: pointer; }
.stanley-family-options [data-stanley-note-add]:disabled { opacity: .5; cursor: default; }
