/* PajavandCage - Orange / White product options UI */
.pco51-box{--pco-orange:#f47b20;--pco-orange-dark:#d95f0b;--pco-orange-soft:#fff4e9;--pco-border:#ececec;--pco-text:#262626;--pco-muted:#777;direction:rtl;margin:24px 0;padding:0;border:1px solid var(--pco-border);border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.06);overflow:hidden;font-family:inherit}
.pco51-title{position:relative;margin:0;padding:17px 20px;background:linear-gradient(135deg,var(--pco-orange-dark),var(--pco-orange));color:#fff;font-size:19px;font-weight:800;line-height:1.6}
.pco51-title:before{content:"";display:inline-block;width:7px;height:24px;border-radius:8px;background:#fff;margin-left:10px;vertical-align:-5px;opacity:.95}
.pco51-field{margin:0;padding:18px 20px;border-bottom:1px solid #f1f1f1;background:#fff}
.pco51-field:last-of-type{border-bottom:0}
.pco51-label{display:flex;align-items:center;gap:5px;margin:0 0 10px;color:var(--pco-text);font-size:18px;font-weight:800;line-height:1.7}
.pco51-label span{color:#e23b24}
.pco51-control{box-sizing:border-box;width:100%;min-height:46px;padding:9px 13px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#333;font-family:inherit;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}
.pco51-control:focus{border-color:var(--pco-orange);box-shadow:0 0 0 3px rgba(244,123,32,.13)}
.pco51-control:hover{border-color:#cfcfcf}
.pco51-check{display:flex;align-items:center;gap:9px;margin:8px 0;padding:11px 12px;border:1px solid #eee;border-radius:10px;background:#fff;color:#444;font-size:14px;cursor:pointer;transition:.2s}
.pco51-check:hover{border-color:#f5bd91;background:var(--pco-orange-soft)}
.pco51-check input{width:18px;height:18px;margin:0;accent-color:var(--pco-orange);cursor:pointer}
.pco51-number{max-width:180px;text-align:center}
.pco51-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:18px 20px;background:linear-gradient(180deg,#fff9f4,#fff);border-top:1px solid #f0e2d7;color:#333;font-size:16px;font-weight:700}
.pco51-total-value{color:var(--pco-orange-dark);font-size:24px;font-weight:900;white-space:nowrap;direction:ltr;display:inline-block}
.pco51-total>span:last-child{color:var(--pco-muted);font-size:13px;font-weight:600;margin-right:auto}
@media(max-width:600px){.pco51-box{margin:18px 0;border-radius:13px}.pco51-title{padding:14px 15px;font-size:17px}.pco51-field{padding:15px}.pco51-label{font-size:16px}.pco51-total{padding:15px;flex-wrap:wrap}.pco51-total-value{font-size:21px}.pco51-total>span:last-child{margin-right:0}}

/* Feature and option thumbnails (5.4.0) */
.pco51-label{display:flex;align-items:center;gap:10px}
.pco51-feature-image{width:42px;height:42px;object-fit:cover;border-radius:8px;border:1px solid #eee;background:#fff;flex:0 0 auto}
.pco51-label>span{display:inline-block}
.pco51-option-image{width:42px;height:42px;object-fit:cover;border-radius:7px;border:1px solid #eee;background:#fff;flex:0 0 auto}
.pco51-check{flex-wrap:wrap}
.pco51-selected-image-wrap{margin-top:9px}
.pco51-selected-image{width:64px;height:64px;object-fit:cover;border:1px solid #eee;border-radius:9px;padding:3px;background:#fff}

/* Quantity stepper: compact on desktop, touch-friendly on mobile */
.pco51-stepper{display:flex;align-items:center;gap:5px;max-width:190px}
.pco51-stepper .pco51-number{flex:1;min-width:0;max-width:none;min-height:36px;height:36px;padding:5px 8px;text-align:center;appearance:textfield;-moz-appearance:textfield}
.pco51-stepper .pco51-number::-webkit-inner-spin-button,.pco51-stepper .pco51-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pco51-step{display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border:1px solid #f0b487;border-radius:7px;background:#fff4e9;color:#d95f0b;font-size:19px;font-weight:800;line-height:1;cursor:pointer;touch-action:manipulation}
.pco51-step:hover,.pco51-step:focus{background:#f47b20;color:#fff;border-color:#f47b20}
@media(max-width:600px){.pco51-stepper{max-width:100%;gap:10px}.pco51-step{width:52px;min-width:52px;height:48px;min-height:48px;border-radius:10px;font-size:25px}.pco51-stepper .pco51-number{min-height:48px;height:48px}}

/* Per-option and per-unit price labels (5.4.8) */
.pco51-option-price{display:inline-flex;align-items:center;margin-right:auto;padding:4px 8px;border-radius:7px;background:#fff4e9;color:#b94b00;font-size:12px;font-weight:800;white-space:nowrap;direction:rtl}
.pco51-option-name{flex:1;min-width:0}
.pco51-unit-price-note{display:inline-flex;align-items:center;gap:5px;margin:0 0 10px;padding:5px 9px;border-radius:7px;background:#fff7f0;color:#666;font-size:12px}
.pco51-unit-price-note strong{color:#b94b00;font-weight:800}
@media(max-width:600px){.pco51-check{align-items:center}.pco51-option-price{margin-right:auto;font-size:12px}}

/* v5.4.9 - dedicated nest-door option */
.pco51-description{font-size:13px;line-height:1.8;color:#666;margin:4px 0 10px}.pco51-nest-door{display:grid;gap:8px;margin-top:8px}.pco51-nest-door .pco51-sub-label{font-size:13px;font-weight:600;color:#444;margin-top:4px}.pco51-nest-door .pco51-control{width:100%;min-height:42px}.pco51-nest-price-note{font-size:13px;color:#d97706;font-weight:600;min-height:18px}

/* v5.5.0 - feeder door option */
.pco51-feeder-door{display:grid;gap:8px;margin-top:8px}.pco51-feeder-door .pco51-sub-label{font-size:13px;font-weight:600;color:#444;margin-top:4px}.pco51-feeder-door .pco51-control{width:100%;min-height:42px}.pco51-feeder-room-wrap[hidden],.pco51-feeder-one[hidden],.pco51-feeder-two[hidden],.pco51-feeder-four[hidden]{display:none!important}.pco51-feeder-price-note{font-size:13px;color:#d97706;font-weight:600;min-height:18px}

/* Quantity selector wording: add to N rooms */
.pco51-add-to-rooms{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:8px 0 12px;font-size:14px;font-weight:600}
.pco51-add-to-rooms .pco51-stepper{margin:0}
.pco51-add-to-rooms>span{white-space:nowrap}
