.power-card { cursor: pointer; transition: border-color .2s ease; }
.power-card:hover { border-color: #ed0033; }
.power-card-open { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.power-card-open:focus-visible { outline-offset: -4px; }
.power-card-more { min-height: 44px; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid #ffffff19; background: transparent; color: #dddde4; font-size: 14px; text-align: left; }
.power-card-more:hover { color: #ff5074; }
.power-card .rig-details[hidden] { display: none; }
.power-product-dialog .modal-content { min-width: 0; }
.power-product-dialog .modal-image { background: radial-gradient(ellipse at 50% 60%,#6f092645,transparent 70%),#050506; }
.power-product-dialog .modal-image img { filter: drop-shadow(0 18px 20px #000b) drop-shadow(0 0 12px #ed003330); }
.power-tariffs { min-width: 0; margin: 20px 0 10px; padding: 0; border: 0; }
.power-tariffs legend { padding: 0; margin-bottom: 10px; color: #b5b5bf; font-size: 14px; }
.power-tariffs > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.power-tariffs button { padding: 12px; border: 1px solid #34343d; border-radius: 4px; background: #0c0c0e; text-align: left; }
.power-tariffs button[aria-pressed="true"] { border-color: #fff; color: #ff5074; background: #2d0914; box-shadow: inset 0 -2px #ed0033; }
.power-tariffs span,.power-tariffs strong { display: block; }
.power-tariffs span { margin-bottom: 5px; font-size: 14px; }
.power-tariffs strong { font-size: 18px; }
.power-price-note { color: #a2a2ad; font-size: 14px; }
.power-add { width: 100%; }
.power-dialog-status { margin: 10px 0; color: #f1ccd5; font-size: 14px; }
.power-product-qr { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #34343d; }
.power-product-qr > div { min-width: 0; flex: 1; }
.power-product-qr h3 { margin: 0 0 8px; color: #ff5074; font-size: 16px; }
.power-product-qr p { margin: 0 0 8px; color: #a2a2ad; font-size: 14px; }
.power-product-qr > a { flex: 0 0 164px; width: 164px; padding: 6px; border-radius: 4px; background: white; }
.power-product-qr img { display: block; width: 100%; height: auto; }
.power-product-qr div a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.power-payment { margin-top: 22px; padding-top: 18px; border-top: 1px solid #34343d; }
.power-payment summary { min-height: 44px; color: #dddde4; cursor: pointer; font-size: 14px; }
.power-payment p { color: #a2a2ad; font-size: 14px; }
.power-payment img { display: block; width: min(200px,100%); height: auto; padding: 8px; background: white; margin-bottom: 14px; }
@media(max-width:520px) { .power-product-qr { gap: 12px; } .power-product-qr > a { flex-basis: 120px; width: 120px; } .power-tariffs button { padding: 10px; } .power-tariffs strong { font-size: 16px; } }
@media(max-width:360px) { .power-product-qr { flex-direction: column; align-items: flex-start; } .power-product-qr > a { flex-basis: auto; width: 164px; } }

/* Shared equipment details and direct access to the existing order. */
.power-cart-link { width: 100%; margin-bottom: 16px; gap: 6px; background: transparent; border: 1px solid #454550; }
.power-cart-link:hover { background: #251019; border-color: #ed0033; }
.rig-dialog-kit { margin-top: 24px; padding-top: 20px; border-top: 1px solid #34343d; }
.rig-dialog-kit h3 { font-size: 18px; margin: 0 0 10px; }
.rig-dialog-kit p { color: #a2a2ad; font-size: 14px; }
.rigs-product-dialog .modal-image { position: relative; isolation: isolate; }
.rigs-product-dialog .modal-image::before { content: ''; position: absolute; left: 7%; top: 14%; bottom: 14%; width: 3px; background: #ed0033; box-shadow: 0 0 22px #ed0033bb; z-index: -1; }
.rigs-cart-launch { position: fixed; right: max(20px,env(safe-area-inset-right)); bottom: max(20px,env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid #ff5074; border-radius: 4px; background: #ed0033; color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 8px 24px #0008; }
body:has(.rigs-cart-launch) .site-footer { padding-bottom: 96px; }

.rig-title-open{display:block;width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}
.rig-title-open:hover{color:#ff5074}
.rig-title-open:focus-visible{outline:2px solid #fff;outline-offset:4px}
.rigs-grid .power-card .rig-rate{margin:0 0 12px;padding:10px 0 0}
.rigs-grid .power-card .rig-rate .rig-price-note{display:none}
.rigs-grid .power-card-more{color:#ff5074}

.power-product-dialog .modal-image:has(img[src*="upload-"]) { position:relative;isolation:isolate; }
.power-product-dialog .modal-image:has(img[src*="upload-"])::before { content:'';position:absolute;left:7%;top:14%;bottom:14%;width:3px;background:#ed0033;box-shadow:0 0 22px #ed0033bb;z-index:-1; }

/* Rig and cable detail photos share the dialog surface, without a black footer band. */
.rigs-product-dialog .modal-image { background:radial-gradient(ellipse at 50% 58%,#6f09262b,transparent 72%); }
.rigs-product-dialog .modal-image img { background:transparent; filter:drop-shadow(0 8px 15px #ed003330); }
