.rigs-page { padding-block: 24px 48px; }
.rigs-heading { padding-block: 4px 24px; }
.rigs-back { color: #b5b5bf; font-size: 14px; }
.rigs-back:hover { color: #ff4165; }
.rigs-kicker { margin: 18px 0 10px; color: #ff4165; font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.rigs-heading h1 { margin: 0; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.rigs-heading > p:last-child { margin-bottom: 0; color: #a2a2ad; }
.rigs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rig-card { min-width: 0; overflow: hidden; border: 1px solid #2c2c32; border-radius: 6px; background: #101013; display: flex; flex-direction: column; }
.rig-visual { position: relative; margin: 0; isolation: isolate; background: #050506; }
.rig-visual::before { content: ''; position: absolute; z-index: -1; inset: 8% 3%; background: radial-gradient(ellipse at 50% 68%, #9c002c60, transparent 68%); }
.rig-visual::after { content: ''; position: absolute; top: 14%; bottom: 14%; left: 7%; width: 3px; background: #ed0033; box-shadow: 0 0 22px #ed0033bb; z-index: -1; }
.rig-visual img { display: block; width: 100%; height: 220px; padding: 14px; object-fit: contain; filter: drop-shadow(0 19px 18px #000c) drop-shadow(0 0 9px #ed00333d); }
/* Wide transparent margins sit outside the card; the complete hardware still uses contain. */
#p135 .rig-visual img { width: 200%; max-width: none; margin-left: -50%; }
#p151 .rig-visual { overflow: hidden; }
#p151 .rig-visual img { transform: scale(1.6); }
.rig-visual figcaption { padding: 0 20px 12px; color: #a2a2ad; font-size: 14px; }
.rig-content { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.rig-brand { margin: 0 0 8px; color: #ff4165; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.rig-content h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.rig-description { margin: 0 0 18px; color: #b5b5bf; font-size: 16px; }
.rig-content h3 { margin: 8px 0; font-size: 16px; }
.rig-kit { margin: 0 0 16px; padding-left: 20px; color: #d8d8df; }
.rig-kit li::marker { color: #ed0033; }
.rig-exclusions { margin: 0 0 12px; color: #a0a0ac; font-size: 12px; }
.rig-stock { margin: 0 0 12px; padding-left: 9px; border-left: 2px solid #ed0033; color: #dddde4; font-size: 14px; }
.rig-usage { margin: 0 0 12px; color: #b5b5bf; font-size: 14px; }
.rig-rate { margin-top: 12px; padding-top: 12px; border-top: 1px solid #ffffff19; }
.rig-rate label { display: block; margin-bottom: 8px; font-size: 14px; color: #b5b5bf; }
.rig-rate select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #454550; border-radius: 4px; color: #fff; background: #0b0b0e; font: inherit; }
.rig-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 12px; }
.rig-price strong { font-size: 22px; line-height: 1.2; }
.rig-price span { color: #a2a2ad; font-size: 14px; }
.rig-price-note { margin: 0 0 20px; color: #93939f; font-size: 14px; }
.rig-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px; }
.rig-actions .button { min-height: 44px; padding: 10px 12px; width: 100%; }
.rig-actions .text-link { font-size: 14px; }
.rigs-status { min-height: 26px; margin: 22px 0 0; color: #f1ccd5; overflow-wrap: anywhere; }
.rigs-bottom { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 12px; }
.category-links a[aria-current="page"] { color: #ff315d; border-color: #fff; background: linear-gradient(135deg, #310b16, #140d11); box-shadow: inset 0 -2px 0 #ed0033, 0 0 12px #ed00331c; }

.rig-content h2 span { display: block; margin-top: 5px; color: #b5b5bf; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.rig-details { border-top: 1px solid #ffffff19; padding-top: 10px; }
.rig-details summary { min-height: 34px; padding: 5px 0; color: #dddde4; font-size: 14px; cursor: pointer; }
.rig-details summary::marker { color: #ed0033; }
.rig-details summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rig-details[open] summary { margin-bottom: 10px; }
.rig-photo-note { color: #93939f; font-size: 12px; }
.rig-price-note { margin-top: 12px; }
.rig-qr-link { text-align: center; color: #b5b5bf; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; min-height: 28px; }
.rig-qr-link:hover { color: #ff5074; }
.rigs-payment { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 32px; margin-top: 36px; padding: 28px; border: 1px solid #393940; border-top: 2px solid #ed0033; border-radius: 6px; background: #101013; scroll-margin-top: 32px; }
.rigs-payment h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; }
.rigs-payment p { max-width: 600px; color: #b5b5bf; }
.rigs-payment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.rigs-payment-actions a { font-size: 14px; }
.rigs-payment-qr { margin: 0; text-align: center; }
.rigs-payment-qr a { display: block; background: #fff; padding: 10px; border-radius: 6px; }
.rigs-payment-qr img { display: block; width: 100%; height: auto; }
.rigs-payment-qr figcaption { margin-top: 8px; color: #a2a2ad; font-size: 12px; }
@media (min-width: 801px) and (max-width: 1023px) { .rigs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .rigs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .rig-visual img { height: 190px; padding: 12px; } }
@media (max-width: 680px) { .rigs-payment { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 22px; } .rigs-payment-qr { width: min(100%, 260px); justify-self: center; } }
@media (max-width: 520px) { .rig-content { padding: 12px; } .rig-visual img { height: 150px; padding: 8px; } .rig-content h2 { font-size: 16px; overflow-wrap: anywhere; } .rig-price strong { font-size: 20px; } .rig-price span { font-size: 12px; } }
@media (max-width: 360px) { .rig-content { padding: 10px; } .rig-visual img { height: 130px; } .rigs-grid { gap: 10px; } }
@media (max-width: 319px) { .rigs-grid { grid-template-columns: minmax(0, 1fr); } }

.rig-card { scroll-margin-top: 100px; }
.rig-product-qr { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ffffff19; }
.rig-product-qr a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.rig-product-qr img { display: block; width: min(156px,100%); height: auto; margin: 10px 0; padding: 6px; background: #fff; border-radius: 4px; }

/* Continuous card surface: no separate black photo panel or bottom shadow. */
:is(#rigs, #cables) .power-card-open { display:block; flex:none; line-height:0; background:transparent; }
:is(#rigs, #cables) .rig-visual { margin:0; background:transparent; border:0; box-shadow:none; overflow:hidden; }
:is(#rigs, #cables) .rig-visual img { display:block; background:transparent; filter:drop-shadow(0 8px 15px #ed003330); }
/* Keep the tall kit large while its transparent side margins stay outside the stage. */
#p135 .rig-visual img { width:190%; max-width:none; margin-left:-45%; }
