/* RCSetupXpress V40.4 — Product Generic (RC 2635) inline expansion.
   Retains React's list/tile layout, adds a full-width details row. */
article.product-list-row:has(.rcgen-inline-button),
article.product-tile:has(.rcgen-inline-button){
 position:relative;
}
.rcgen-inline-button{
 display:inline-flex!important;align-items:center;justify-content:center;gap:4px;
 box-sizing:border-box;min-height:26px;
 margin:2px 6px!important;padding:4px 9px!important;
 border:1px solid #9fcdb0!important;border-radius:6px!important;
 background:#e8f5eb!important;color:#175c37!important;
 font:700 11px/1.2 system-ui,-apple-system,'Segoe UI',sans-serif!important;
 white-space:nowrap;vertical-align:middle;cursor:pointer!important;
}
.rcgen-inline-button:hover{background:#d5eddd!important;border-color:#60ac7b!important}
.rcgen-inline-button:focus-visible{outline:2px solid #267f50;outline-offset:2px}
.rcgen-inline-button:disabled{opacity:.52;cursor:wait!important}
article.product-list-row.rcgen-row-expanded,
article.product-tile.rcgen-row-expanded{
 height:auto!important;max-height:none!important;overflow:visible!important;
}
article.product-list-row.rcgen-row-expanded{
 flex-wrap:wrap!important;
 grid-auto-rows:auto!important;
 border-color:#a2cdb1!important;
 background:#f7fbf8!important;
}
article.product-tile.rcgen-row-expanded{
 border:1px solid #a0ccad!important;
}
.rcgen-inline-detail{
 box-sizing:border-box!important;
 display:block;
 order:999;
 grid-column:1 / -1;
 flex-basis:100%!important;
 width:100%!important;min-width:0!important;
 max-width:100%;clear:both;
 padding:0!important;margin:9px 0 5px!important;
 border:1px solid #bed9c5;border-radius:8px;
 background:#fff!important;
 color:#1c3928;
 font:12px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;
 box-shadow:0 3px 12px rgba(24,80,43,.06);
}
.rcgen-inline-detail[hidden]{display:none!important}
.rcgen-inline-header{
 display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;
 padding:11px 13px;
 background:#16482f;color:#fff;
 border-radius:7px 7px 0 0;
}
.rcgen-inline-header strong{font-size:13px;font-weight:850;letter-spacing:.15px}
.rcgen-inline-header span{font-size:11px;color:#d8e9de}
.rcgen-inline-status{padding:10px 13px;font-size:11px;color:#516c58}
.rcgen-inline-warning{
 padding:10px 13px;margin:2px 10px 12px;
 border:1px solid #e2c89f;border-radius:5px;
 background:#fff5e5;color:#794e1e;font-size:11px;
}
.rcgen-inline-empty{padding:12px 13px;color:#587664}
.rcgen-inline-table{
 width:calc(100% - 24px)!important;margin:0 12px 10px!important;
 border-collapse:collapse!important;table-layout:fixed!important;
 font-size:11px;line-height:1.35;
}
.rcgen-inline-table th,
.rcgen-inline-table td{
 padding:6px 9px!important;text-align:left!important;vertical-align:top!important;
 border-bottom:1px solid #e2ede5!important;background:transparent!important;
 color:#253c2c!important;font-size:11px!important;overflow-wrap:anywhere;
}
.rcgen-inline-table th{
 background:#eef6f0!important;color:#24543b!important;
 text-transform:uppercase;letter-spacing:.25px;font-weight:850!important;font-size:10px!important;
}
.rcgen-inline-table .rcgen-inline-name{font-weight:600}
.rcgen-inline-table .rcgen-inline-qty{
 width:85px!important;text-align:right!important;white-space:nowrap;
 font-weight:900!important;font-size:12px!important;color:#144c30!important
}
.rcgen-inline-table .rcgen-inline-group{
 width:200px!important;color:#547060!important;font-size:10px!important
}
.rcgen-inline-footer{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;
 padding:9px 13px;border-top:2px solid #27794e;border-radius:0 0 7px 7px;
 background:#eaf5ed;color:#175d3a;
}
.rcgen-inline-footer strong{font-weight:900;font-size:12px}
.rcgen-inline-footer small{font-size:10px;color:#567460}
article.product-tile .rcgen-inline-button{
 max-width:100%;font-size:10px!important;white-space:normal;text-align:center;
}
article.product-tile .rcgen-inline-detail{font-size:10px}
article.product-tile .rcgen-inline-table th,
article.product-tile .rcgen-inline-table td{padding:4px!important;font-size:10px!important}
article.product-tile .rcgen-inline-table .rcgen-inline-qty{width:38px!important}
article.product-tile .rcgen-inline-table .rcgen-inline-group{width:75px!important}
@media(max-width:780px){
 .rcgen-inline-detail{margin:7px 0!important}
 .rcgen-inline-header{padding:9px}
 .rcgen-inline-table{width:calc(100% - 12px)!important;margin:0 6px 8px!important}
 .rcgen-inline-table th,.rcgen-inline-table td{padding:4px!important;font-size:10px!important}
 .rcgen-inline-table .rcgen-inline-qty{width:42px!important}
 .rcgen-inline-table .rcgen-inline-group{width:90px!important}
 .rcgen-inline-header strong{font-size:12px}
 .rcgen-inline-button{padding:4px 6px!important;font-size:10px!important}
}
@media print{.rcgen-inline-button,.rcgen-inline-detail{display:none!important}}


/* V40.5 — placed INSIDE the real React name button, never a 9th grid cell. */
article.product-list-row .product-list-main.rcgen-main-trigger,
article.product-tile .product-tile-name.rcgen-main-trigger{
 position:relative!important;
 overflow:visible!important;
 cursor:pointer!important;
}
article.product-list-row .product-list-main.rcgen-main-trigger{
 box-sizing:border-box!important;
 padding-right:138px!important;
 min-height:32px!important;
 width:100%!important;
}
article.product-list-row .product-list-main.rcgen-main-trigger > b,
article.product-list-row .product-list-main.rcgen-main-trigger > small{
 max-width:100%!important;
 text-overflow:ellipsis!important;
 overflow:hidden!important;
 white-space:nowrap!important;
}
.rcgen-inline-hint{
 box-sizing:border-box!important;
 display:inline-flex!important;align-items:center;justify-content:center;
 position:absolute!important;top:50%;right:1px;transform:translateY(-50%);
 min-height:23px;min-width:92px;
 padding:4px 8px!important;margin:0!important;
 background:#e5f4e9!important;color:#145d36!important;
 border:1px solid #a5cfb2!important;border-radius:6px!important;
 font:750 10px/1.15 system-ui,-apple-system,'Segoe UI',sans-serif!important;
 white-space:nowrap!important;pointer-events:none!important;user-select:none!important;
}
.rcgen-inline-hint.rcgen-inline-unavailable{opacity:.55}
article.product-list-row .product-list-main.rcgen-main-trigger:hover .rcgen-inline-hint,
article.product-tile .product-tile-name.rcgen-main-trigger:hover .rcgen-inline-hint{
 background:#d3eadb!important;border-color:#6cae82!important
}
article.product-list-row .product-list-main.rcgen-main-trigger:focus-visible,
article.product-tile .product-tile-name.rcgen-main-trigger:focus-visible{
 outline:2px solid #2c8b58!important;outline-offset:1px!important;
}
article.product-tile .product-tile-name.rcgen-main-trigger{
 min-height:44px!important;
 padding-bottom:26px!important;
}
article.product-tile .product-tile-name.rcgen-main-trigger .rcgen-inline-hint{
 top:auto;bottom:0;right:50%;transform:translateX(50%);
}
article.product-list-row.rcgen-row-expanded{
 min-height:150px!important;
 align-items:center!important;
}
article.product-list-row.rcgen-row-expanded > .rcgen-inline-detail{
 grid-column:1 / -1!important;
 align-self:stretch!important;
 justify-self:stretch!important;
 min-height:80px!important;
}
article.product-tile.rcgen-row-expanded > .rcgen-inline-detail{
 grid-column:1 / -1!important;
 align-self:stretch!important;
}
@media(max-width:850px){
 article.product-list-row .product-list-main.rcgen-main-trigger{
  padding-right:0!important;
  padding-bottom:24px!important;
  min-height:52px!important;
 }
 article.product-list-row .product-list-main.rcgen-main-trigger .rcgen-inline-hint{
  top:auto;bottom:0;right:0;transform:none;
  min-width:0!important;padding:3px 5px!important;font-size:9px!important
 }
}
@media print{.rcgen-inline-hint,.rcgen-inline-detail{display:none!important}}
