/* Product page buy box fixes (Issues #188 and #189). Functional and accessibility only; uses the existing theme. */
:root{--dc-pdp-in:#1b6b45;--dc-pdp-low:#8a5300;--dc-pdp-out:#b3173d;--dc-pdp-muted:#4a4a4a}

/* The hidden attribute must win over the theme's display rules (the quantity box of an out-of-stock product). */
.pdpWrap [hidden]{display:none !important}

/* Stock, shipping and delivery lines under the price. */
.pdpAttrWrap .pawSec .dcPdpInfo{margin-top:10px;font-size:.77em;line-height:1.6;color:var(--dc-pdp-muted)}
.pdpAttrWrap .pawSec .dcPdpInfo p{margin:0}
.pdpAttrWrap .pawSec .dcStock{font-weight:700;font-size:1.1em}
.pdpAttrWrap .pawSec .dcStock-in{color:var(--dc-pdp-in)}
.pdpAttrWrap .pawSec .dcStock-low{color:var(--dc-pdp-low)}
.pdpAttrWrap .pawSec .dcStock-out{color:var(--dc-pdp-out)}

/* "Out of stock" takes the place of the Add to cart button. */
.pdpAttrWrap .pawSec .dcOutOfStock{margin:0 0 8px;padding:15px 0;text-align:center;border:1px solid var(--dc-pdp-out);border-radius:3px;color:var(--dc-pdp-out);font-weight:700;text-transform:uppercase;letter-spacing:.066em}

/* A link that stands in for the button (digital items without a cart flow). */
.pdpAttrWrap .pawSec a.actionBtn{display:block;color:#fefefe}
.pdpAttrWrap .pawSec a.actionBtn:hover,.pdpAttrWrap .pawSec a.actionBtn:focus{color:#fefefe;text-decoration:none}

/* Disabled plus button and in-flight buttons. */
.pdpAttrWrap .pawSec .qtyWrap button:disabled,.pdpAttrWrap .pawSec .actionBtn:disabled{opacity:.45;cursor:not-allowed}

/* The first (LCP) image has no lazyload class, so it needs the same sizing the lazyload class gives the others;
   width and height attributes are only there to reserve space. */
.productDisp img{max-width:100%;height:auto}
.productDisp img.dcLcp{min-width:100%;max-width:100%;width:100%;height:auto}

/* Visible, readable error and status text. */
.pdpAttrWrap .pawSec .errorMsg{min-height:20px;height:auto}
