/* WoodenBlinds catalog and standard-size collections. */
#wb-shop {
    --ink: #23362e;
    --muted: #526057;
    --line: #dddfd8;
    --paper: #f6f6f2;
    --accent: #304f3d;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    margin: 0 auto;
    width: 100%;
    max-width: 1536px;
    padding: clamp(25px, 3vw, 46px) clamp(22px, 3.4vw, 60px) clamp(48px, 6vw, 88px);
    color: var(--ink);
    background: #fff;
    font-size: 15px;
    line-height: 1.45;
    scroll-margin-top: 85px;
}
#wb-shop *, #wb-shop { box-sizing: border-box; }
#wb-shop :where(h1, h2, p, form, fieldset, legend, ul, li) { margin: 0; padding: 0; }
#wb-shop a { color: inherit; }
#wb-shop :is(a, button, select, summary, input):focus-visible,
#wb-shop .wbshop-choice input:focus-visible + span { outline: 2px solid #376d4a; outline-offset: 3px; }
#wb-shop .wbshop-sr {
    position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
}
#wb-shop .wbshop-head { padding-bottom: clamp(20px, 1.8vw, 28px); border-bottom: 1px solid var(--line); }
#wb-shop .wbshop-head h1 {
    color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -.045em;
    font-size: clamp(39px, 4.5vw, 68px); line-height: 1.07; text-transform: none; margin: 0;
}
#wb-shop .wbshop-bread { display: flex; gap: 9px; font-size: 13px; color: var(--muted); margin: 0 0 9px; }
#wb-shop .wbshop-head-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; margin-top: 9px; }
#wb-shop .wbshop-head-bottom p { font-size: clamp(14px, 1.14vw, 17px); color: var(--muted); margin: 0; }
#wb-shop .wbshop-custom { font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: #9fa99f; text-underline-offset: 4px; }
#wb-shop .wbshop-custom span { margin-left: 3px; }
#wb-shop .wbshop-layout { display: grid; grid-template-columns: clamp(194px, 16.2vw, 249px) minmax(0, 1fr); align-items: start; column-gap: clamp(22px, 3.2vw, 52px); }
#wb-shop .wbshop-sidebar { grid-column: 1; grid-row: 1 / span 3; margin: 0; width: 100%; min-width: 0; }
#wb-shop .wbshop-disclosure, #wb-shop .wbshop-directory { border: 0; padding: 0; margin: 0; }
#wb-shop summary { cursor: pointer; list-style: none; }
#wb-shop summary::-webkit-details-marker { display: none; }
#wb-shop .wbshop-disclosure > summary {
    min-height: 68px; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650;
    color: var(--ink); padding: 0; margin: 0; border-bottom: 1px solid var(--line);
}
#wb-shop .wbshop-controls-icon { display: inline-grid; gap: 3px; width: 16px; margin-right: 1px; }
#wb-shop .wbshop-controls-icon i { position: relative; display: block; width: 100%; height: 1px; background: currentColor; }
#wb-shop .wbshop-controls-icon i::after { content: ""; position: absolute; top: -1.5px; left: 3px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
#wb-shop .wbshop-controls-icon i:nth-child(2)::after { left: 10px; }
#wb-shop .wbshop-chevron { width: 8px; height: 8px; display: inline-block; margin: -4px 3px 0 auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
#wb-shop details[open] > summary .wbshop-chevron { transform: rotate(225deg); margin-top: 4px; }
#wb-shop .wbshop-disclosure summary b { font-size: 12px; background: var(--accent); color: #fff; border-radius: 50%; min-width: 18px; line-height: 18px; text-align: center; }
#wb-shop .wbshop-form { margin: 0; }
#wb-shop .wbshop-form fieldset { min-width: 0; margin: 0; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); }
#wb-shop .wbshop-form legend { float: left; display: block; width: 100%; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.35; margin: 0 0 10px; padding: 0; }
#wb-shop .wbshop-form legend + * { clear: left; }
#wb-shop .wbshop-dim-selects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
#wb-shop .wbshop-dim-selects label { display: block; color: var(--muted); font-size: 12px; font-weight: 550; margin: 0; }
#wb-shop .wbshop-dim-selects label span { font-size: 11px; font-weight: 400; }
#wb-shop select {
    color: var(--ink); background-color: #fff; border: 1px solid #c5ccc2; border-radius: 3px; box-shadow: none;
    appearance: auto; background-image: none; min-width: 0; cursor: pointer; letter-spacing: normal; font: inherit; padding: 0 5px;
}
#wb-shop .wbshop-dim-selects select { width: 100%; display: block; height: 38px; margin: 5px 0 0; font-size: 13px; }
#wb-shop .wbshop-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#wb-shop .wbshop-choice { cursor: pointer; margin: 0; position: relative; font-weight: 400; }
#wb-shop .wbshop-choice input { opacity: 0; position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
#wb-shop .wbshop-choice-label {
    display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 10px; background: #fff;
    color: #435247; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; line-height: 1.1;
}
#wb-shop .wbshop-choice-label i { width: 10px; height: 10px; border: 1px solid rgba(25,35,30,.28); border-radius: 50%; background: var(--chip); }
#wb-shop .wbshop-choice input:checked + span { border-color: var(--accent); background: #edf3eb; color: #233e2e; box-shadow: inset 0 0 0 .5px var(--accent); font-weight: 600; }
#wb-shop .wbshop-apply { margin: 17px 0; display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
#wb-shop .wbshop-apply button, #wb-shop .wbshop-sort button, #wb-shop .wbshop-empty a {
    background: var(--accent); color: white; border: 1px solid var(--accent); border-radius: 3px; cursor: pointer;
    min-height: 40px; font: inherit; font-weight: 600; font-size: 13px; line-height: 1.2; padding: 8px 14px; text-decoration: none; text-transform: none;
}
#wb-shop .wbshop-apply a { font-size: 12px; text-underline-offset: 3px; }
#wb-shop .wbshop-results-head { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px 15px; min-height: 68px; }
#wb-shop .wbshop-count { margin: 0; color: var(--muted); font-size: 14px; }
#wb-shop .wbshop-count b { font-weight: 650; color: var(--ink); }
#wb-shop .wbshop-count span { font-size: 12px; }
#wb-shop .wbshop-sort { display: flex; align-items: center; gap: 9px; margin: 0; }
#wb-shop .wbshop-sort label { color: var(--muted); font-weight: 450; font-size: 13px; margin: 0; }
#wb-shop .wbshop-sort select { max-width: 170px; height: 36px; width: auto; padding: 0 7px; margin: 0; font-size: 13px; }
#wb-shop.wbshop-enhanced .wbshop-sort button { display: none; }
#wb-shop .wbshop-results { grid-column: 2; grid-row: 2; min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px, 2.7vw, 44px) clamp(14px, 1.65vw, 26px); align-items: stretch; }
#wb-shop .wbshop-active { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: -10px; }
#wb-shop .wbshop-active a { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #c5cdc0; border-radius: 3px; background: #f1f4ed; min-height: 30px; padding: 3px 8px; font-size: 12px; text-decoration: none; }
#wb-shop .wbshop-active a span { font-size: 16px; margin-left: 2px; }
#wb-shop .wbshop-layout { scroll-margin-top: 85px; }
#wb-shop .wbshop-product { display: flex; flex-direction: column; margin: 0; min-width: 0; overflow: visible; }
#wb-shop .wbshop-product-link { color: var(--ink); display: flex; flex-direction: column; flex: 1; text-decoration: none; }
#wb-shop .wbshop-picture { position: relative; overflow: hidden; background: #eae9e2; aspect-ratio: 1.2; border-radius: 3px; width: 100%; }
#wb-shop .wbshop-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .23s ease-out; margin: 0; }
#wb-shop .wbshop-caption { position: absolute; bottom: 8px; right: 8px; padding: 2px 5px; color: #fff; background: rgba(28,34,29,.74); border-radius: 2px; font-size: 10px; font-weight: 500; line-height: 1.35; }
#wb-shop .wbshop-card-data { flex: 1; padding: 12px 1px 0; display: flex; flex-direction: column; }
#wb-shop .wbshop-size { margin: 0 0 3px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .035em; }
#wb-shop .wbshop-card-data h2 { margin: 0; padding: 0; font: 500 clamp(22px,2.1vw,31px)/1.17 var(--serif); letter-spacing: -.038em; color: var(--ink); text-transform: none; }
#wb-shop .wbshop-finish { display: flex; align-items: center; gap: 7px; margin: 7px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.2; }
#wb-shop .wbshop-finish-sample { width: 24px; height: 15px; margin: 0; border: 1px solid #a0a398; border-radius: 2px; object-fit: cover; }
#wb-shop .wbshop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 3px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
#wb-shop .wbshop-price { font-size: clamp(17px,1.5vw,22px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; color: var(--ink); }
#wb-shop .wbshop-arrow { display: grid; place-items: center; height: 29px; width: 29px; border-radius: 50%; background: #edf1eb; color: var(--ink); font-size: 17px; }
#wb-shop .wbshop-pages { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 30px 0 0; color: var(--ink); }
#wb-shop .wbshop-pages > * { min-width: 36px; min-height: 36px; display: inline-grid; place-items: center; text-decoration: none; border-radius: 3px; font-size: 14px; }
#wb-shop .wbshop-pages > [aria-current] { background: var(--ink); color: #fff; font-weight: 600; }
#wb-shop .wbshop-empty { grid-column: 1/-1; padding: 40px 24px; background: var(--paper); text-align: center; }
#wb-shop .wbshop-empty h2 { margin: 0 0 8px; font: 500 clamp(22px,3vw,34px)/1.18 var(--serif); }
#wb-shop .wbshop-empty p { margin: 0 0 15px; }
#wb-shop .wbshop-empty a { display: inline-grid; place-items: center; }
#wb-shop .wbshop-directory { border-top: 1px solid var(--line); margin-top: 38px; scroll-margin-top: 85px; }
#wb-shop .wbshop-directory summary { display: flex; align-items: center; padding: 14px 0; color: var(--ink); font-size: 15px; font-weight: 600; }
#wb-shop .wbshop-directory > div { margin: 10px 0 16px; }
#wb-shop .wbshop-directory p { font-size: 13px; color: var(--muted); }
#wb-shop .wbshop-directory ul { display: flex; flex-wrap: wrap; gap: 7px 15px; }
#wb-shop .wbshop-directory li { list-style: none; margin: 0; }
#wb-shop .wbshop-directory a { font-size: 13px; text-underline-offset: 3px; }
@media (hover: hover) {
    #wb-shop .wbshop-product-link:hover .wbshop-photo { transform: scale(1.025); }
    #wb-shop .wbshop-product-link:hover .wbshop-arrow, #wb-shop .wbshop-apply button:hover { color: #fff; background: #213c2c; }
    #wb-shop .wbshop-choice:hover .wbshop-choice-label, #wb-shop .wbshop-pages a:hover { border-color: var(--accent); background: #f0f4ed; }
}
@media (max-width: 899px) {
    #wb-shop { padding: 24px clamp(14px,3vw,26px) 46px; scroll-margin-top: 65px; }
    #wb-shop .wbshop-head { padding-bottom: 15px; }
    #wb-shop .wbshop-layout { grid-template-columns: auto minmax(0,1fr); column-gap: 8px; }
    #wb-shop .wbshop-sidebar { grid-column: 1/-1; grid-row: 1; }
    #wb-shop .wbshop-disclosure { padding: 9px 0; }
    #wb-shop .wbshop-disclosure > summary { min-height: 38px; width: fit-content; padding: 0 10px; font-size: 13px; gap: 7px; border: 1px solid #c5ccc2; border-radius: 3px; }
    #wb-shop .wbshop-disclosure .wbshop-chevron { width: 6px; height: 6px; margin-left: 3px; }
    #wb-shop .wbshop-form { padding: 2px 0 0; }
    #wb-shop .wbshop-form fieldset { padding: 12px 0; }
    #wb-shop .wbshop-choice-label { min-height: 36px; font-size: 13px; }
    #wb-shop .wbshop-dim-selects select { height: 40px; }
    #wb-shop .wbshop-results-head { pointer-events: none; grid-column: 2; grid-row: 1; min-height: 0; height: 56px; align-self: start; justify-self: end; justify-content: flex-end; z-index: 1; }
    #wb-shop .wbshop-sort { pointer-events: auto; }
    #wb-shop .wbshop-sort select { height: 38px; }
    #wb-shop .wbshop-count span { display: none; }
    #wb-shop .wbshop-results { grid-column: 1/-1; grid-row: 2; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px 14px; }
    #wb-shop .wbshop-results, #wb-shop .wbshop-pages { scroll-margin-top: 70px; }
    #wb-shop .wbshop-pages { grid-column: 1/-1; }
}
@media (max-width: 640px) {
    #wb-shop .wbshop-head h1 { font-size: clamp(33px,8.8vw,44px); }
    #wb-shop .wbshop-head-bottom { display: block; margin-top: 6px; }
    #wb-shop .wbshop-head-bottom p { font-size: 13px; }
    #wb-shop .wbshop-custom { margin-top: 4px; display: inline-block; font-size: 12px; }
    #wb-shop .wbshop-results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 10px; }
    #wb-shop .wbshop-picture { aspect-ratio: 1.05; }
    #wb-shop .wbshop-results-head { gap: 8px; }
    #wb-shop .wbshop-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    #wb-shop .wbshop-sort { gap: 3px; }
    #wb-shop .wbshop-sort select { max-width: 129px; font-size: 12px; padding: 0 3px; }
    #wb-shop .wbshop-count { font-size: 12px; }
    #wb-shop .wbshop-caption { bottom: 5px; right: 5px; font-size: 9px; }
    #wb-shop .wbshop-card-data { padding-top: 9px; }
    #wb-shop .wbshop-size { font-size: 11px; margin-bottom: 2px; }
    #wb-shop .wbshop-card-data h2 { font-size: clamp(20px, 5.4vw, 26px); }
    #wb-shop .wbshop-finish { gap: 5px; margin: 6px 0 8px; font-size: 12px; }
    #wb-shop .wbshop-card-foot { padding-top: 6px; }
    #wb-shop .wbshop-arrow { width: 24px; height: 24px; font-size: 15px; }
    #wb-shop .wbshop-price { font-size: 17px; }
    #wb-shop .wbshop-apply button { min-height: 44px; }
}
@media (max-width: 400px) {
    #wb-shop:not(.wbshop-enhanced) .wbshop-count { display: none; }
    #wb-shop .wbshop-disclosure > summary { gap: 5px; padding: 0 7px; }
}
@media (prefers-reduced-motion: reduce) {
    #wb-shop .wbshop-photo { transition: none; }
    #wb-shop .wbshop-product-link:hover .wbshop-photo { transform: none; }
}

#wb-shop .wbshop-adjust {
    align-self: start; display: inline-flex; align-items: center; gap: 5px; min-height: 36px;
    color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.3;
    text-decoration: underline; text-decoration-color: #a6b5a8; text-underline-offset: 3px;
}
#wb-shop .wbshop-adjust-icon { font-size: 16px; line-height: 1; }
#wb-shop .wbshop-adjust:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) {
    #wb-shop .wbshop-adjust { min-height: 40px; font-size: 12px; }
}
