/* Shed 2 Ordering 1.0.2 — 2026-10-22. */
#shed2-dialog { width: 600px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; color: #333; background: #fff; overflow: auto; box-shadow: none; }
#shed2-dialog::backdrop { background: #000c; }
.shed2-dialog-inner { padding: 48px; position: relative; box-sizing: border-box; }
.shed2-dialog-inner:has(.shed2-product-form) { padding: 70px 50px 50px 80px; min-height: 600px; }
#shed2-dialog h2 { color: #008f74; font: 700 25px/30px "Open Sans", sans-serif; margin: 0 0 10px; }
.shed2-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #aaa; font-size: 28px; line-height: 32px; cursor: pointer; }
.shed2-base-price { color: #222; font-size: 22px; line-height: 33px; margin-bottom: 15px; }
.shed2-description { margin: 0 0 16px; font-size: 16px; line-height: 24px; font-style: italic; }
.shed2-description p { margin: 0; }
.shed2-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 10px 0; padding: 0; color: #008f74; font-size: 12px; }
.shed2-field { margin: 0; padding: 3px; font-size: 14px; line-height: 21px; }
.shed2-field > label:not(.shed2-check) { display: block; font-weight: 700; line-height: 16.8px; margin-bottom: 0; }
.shed2-field select, .shed2-field textarea { display: block; max-width: 100%; padding: 10px; border: 1px solid #d1d1d1; background: #fff; color: #000; border-radius: 0; font: 14px/21px "Open Sans", sans-serif; box-sizing: border-box; margin-top: 10px; }
.shed2-field textarea { width: 188px; height: 56px; resize: vertical; }
.shed2-field select { width: 100%; }
.shed2-field .shed2-check { font-weight: 400; display: flex; align-items: center; margin: 0 0 10px; }
.shed2-check input { flex: 0 0 auto; accent-color: #008f74; width: 13px; height: 13px; margin: 8px; }
.shed2-product-form { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 24px; align-items: start; margin: 0 0 25px; }
.shed2-options { grid-column: 1 / -1; min-width: 0; margin-bottom: 20px; }
.shed2-product-form > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#shed2-quantity { grid-column: 1; grid-row: 2; width: 58px; height: 30px; padding: 1px 2px; color: #000; border: 1px solid #777; border-radius: 0; background: #fff; font: inherit; box-sizing: border-box; }
.shed2-product-form > button[type=submit] { grid-column: 2; grid-row: 2; justify-self: start; }
.shed2-estimate { grid-column: 1 / -1; grid-row: 3; font-size: 14px; font-weight: 400; margin: 12px 0 0; }
.shed2-error, .shed2-cart-errors { color: #9f1428; }
.shed2-product-form > .shed2-error { grid-column: 1 / -1; grid-row: 4; }
.shed2-error:empty, .shed2-cart-errors:empty { display: none; }
#shed2-dialog .button { display: inline-block; border: 1px solid #008f74; border-radius: 24px; padding: 10px 27px; background: #008f74; color: #fff; font: 700 13px/13px "Open Sans", sans-serif; text-transform: uppercase; cursor: pointer; text-decoration: none; text-align: center; box-sizing: border-box; }
.section-product-group .woocommerce ul.products li.product button.shed2-product-button, .woocommerce button.shed2-product-button { display: inline-block; flex-shrink: 0; border: 1px solid #008f74; border-radius: 24px; padding: 10px 27px; margin: 0 0 0 20px; background: #008f74; color: #fff; font: 700 13px/13px "Open Sans", sans-serif; text-transform: uppercase; cursor: pointer; text-decoration: none; box-sizing: border-box; }
#shed2-dialog .button:hover, .section-product-group .woocommerce ul.products li.product button.shed2-product-button:hover, .woocommerce button.shed2-product-button:hover { background: #006b57; border-color: #006b57; color: #fff; }
#shed2-dialog button:disabled, .shed2-product-button:disabled { opacity: .55; cursor: wait; }
#shed2-dialog :focus-visible, #shed2-cart-button:focus-visible, .shed2-product-button:focus-visible { outline: 3px solid #006b57; outline-offset: 3px; }
#shed2-cart-button { position: fixed; z-index: 999; top: 20px; right: 22px; padding: 12px 16px; border: 0; border-radius: 6px; background: #fff; color: #075d54; box-shadow: 0 3px 12px #0003; font: inherit; font-weight: 600; cursor: pointer; }
.shed2-cart-icon { display: none; }
.shed2-count { display: inline-block; padding: 2px 7px; margin-left: 4px; border-radius: 50%; background: #008f74; color: #fff; }
.shed2-cart-line { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 24px; padding: 18px 0; border-bottom: 1px solid #ddd; }
#shed2-dialog .shed2-cart-line h3 { font-size: 18px; margin: 0 0 12px; color: #008f74; }
.shed2-cart-line dl { margin: 0 0 12px; font-size: 14px; }
.shed2-cart-line dt { font-weight: 600; }
.shed2-cart-line dd { margin: 0 0 5px; overflow-wrap: anywhere; }
.shed2-line-controls { text-align: right; }
.shed2-line-controls label { display: block; font-size: 12px; }
.shed2-line-controls input { width: 76px; max-width: 100%; padding: 7px; color: #222; border: 1px solid #777; border-radius: 4px; background: #fff; box-sizing: border-box; }
.shed2-remove { border: 0; background: transparent; color: #9f1428; cursor: pointer; text-decoration: underline; }
.shed2-cart-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 24px; }
body.shed2-dialog-open { overflow: hidden; }
@media(max-width:600px){
    .shed2-dialog-inner { padding: 48px 22px 26px; }
    .shed2-dialog-inner:has(.shed2-product-form) { padding: 50px 36px 40px 60px; }
    #shed2-cart-button { display: flex; align-items: center; top: 20px; bottom: auto; right: 16px; height: 40px; max-width: 78px; padding: 8px; font-size: 12px; }
    .shed2-cart-label { display: none; }
    .shed2-cart-icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
    .shed2-count { margin-left: 4px; padding: 2px 5px; }
    .shed2-cart-line { gap: 14px; grid-template-columns: minmax(0,1fr) 66px; }
}
@media(max-width:360px){
    .shed2-dialog-inner:has(.shed2-product-form) { padding: 50px 24px 32px; }
    .shed2-product-form { column-gap: 16px; }
    .section-product-group .woocommerce ul.products li.product button.shed2-product-button { padding-right: 18px; padding-left: 18px; }
}
@media(max-height:650px){ .shed2-dialog-inner:has(.shed2-product-form) { min-height: 0; } }
