/* CarbonScope Tubes - Surplus Tubes page (store.carbonscopetubes.com/carbonscopetubes/)
   REDESIGN 2026-11-12 - LOCAL COPY ONLY, not live until Frank says go.
   One responsive page for phones, tablets and desktops (the old mobile-redirect script is gone).
   Header/footer rules are copied from the live cart (cart.css nav/footer section + cart-site-header.css)
   so the chrome matches cart, checkout and About. Adds the header cart icon (no count badge)
   drawn with an inline SVG mask so it does not need a cross-site icon font. */

/* ----- Base ----- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
   background-color: #F5F5F5;
   color: #000000;
   font-family: Arial, Helvetica, sans-serif;
   font-weight: normal;
   font-size: 11px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
a { color: #483D8B; text-decoration: none; }
a:visited { color: #6A5ACD; }
a:active { color: #0000FF; }
a:hover { color: #6A5ACD; text-decoration: underline; }
.cst-skip {
   position: absolute; left: -9999px; top: 0; z-index: 10000;
   background: #FFFFFF; color: #000000; padding: 8px 12px; font-size: 14px;
}
.cst-skip:focus { left: 8px; top: 8px; }

/* ----- Header nav + desktop footer pieces (from live cart.css) ----- */
#wb_CssMenu1
{
   border: 1px solid #F5F5F5;
   background-color: #000000;
   margin: 10px 5px 10px 5px;
   text-align: center;
   z-index: 1111 !important;
}
#wb_CssMenu1 ul
{
   list-style-type: none;
   margin: 0;
   padding: 0;
}
#wb_CssMenu1 li
{
   float: left;
   margin: 0;
   padding: 0px 0px 0px 0px;
   width: 12.49%;
}
#wb_CssMenu1 a
{
   display: block;
   float: left;
   color: #FFFFFF;
   border: 0px solid #CCCCCC;
   background-color: #2D2D2D;
   background-image: none;
   font-family: Arial;
   font-weight: normal;
   font-size: 12px;
   font-style: normal;
   text-decoration: none;
   width: 100%;
   box-sizing: border-box;
   height: 28px;
   padding: 0px 5px 0px 5px;
   vertical-align: middle;
   line-height: 28px;
   text-align: center;
}
#wb_CssMenu1 li:hover a, #wb_CssMenu1 a:hover, #wb_CssMenu1 .active
{
   color: #FFD700;
   border: 0px solid #2E6DA4;
   background-color: #000000;
   background-image: none;
}
#wb_CssMenu1 li.firstmain
{
   padding-left: 0px;
}
#wb_CssMenu1 li.lastmain
{
   padding-right: 0px;
}
#wb_CssMenu1 br
{
   clear: both;
   font-size: 1px;
   height: 0;
   line-height: 0;
}
#wb_Image2
{
   vertical-align: top;
}
#Image2
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Line6
{
   border-color: #FFFFFF;
   border-style: solid;
   border-bottom-width: 42px;
   border-top: 0;
   border-left: 0;
   border-right: 0;
   height: 0 !important;
   line-height: 0 !important;
   margin: 0;
   padding: 0;
}
#wb_Image4
{
   vertical-align: top;
}
#Image4
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Line7
{
   border-color: #FFFFFF;
   border-style: solid;
   border-bottom-width: 40px;
   border-top: 0;
   border-left: 0;
   border-right: 0;
   height: 0 !important;
   line-height: 0 !important;
   margin: 0;
   padding: 0;
}
#wb_Image5
{
   vertical-align: top;
}
#Image5
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#wb_Image6
{
   vertical-align: top;
}
#Image6
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#wb_TextMenu1
{
   background-color: transparent;
   background-image: none;
   color: #FFFFFF;
   font-family: Arial;
   font-weight: normal;
   font-style: normal;
   font-size: 12px;
   margin: 0;
   text-align: left;
}
#wb_TextMenu1 span
{
   display: block;
   margin: 0 0 5px 0;
   line-height: 15px;
}
#wb_TextMenu1 .active
{
   color: #FF0000;
   text-decoration: underline;
}
#wb_Text16 
{
   background-color: transparent;
   background-image: none;
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text16 div
{
   text-align: left;
}
#wb_Text18 
{
   background-color: transparent;
   background-image: none;
   border: 0px solid transparent;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   text-align: center;
}
#wb_Text18 div
{
   text-align: center;
}
#PageFooter1
{
   background-color: #DCDCDC;
   background-image: none;
   border: 1px solid #808080;
   box-sizing: border-box;
   border-radius: 0px;
   box-sizing: border-box;
}

/* ----- Header + footer match (from live cart-site-header.css) ----- */
/* ----- Desktop: match the home-page header ----- */
#Layer1 {
   background-color: #2D2D2D;
   background-image: none;
   border: 3px solid #FFFFFF;
   border-radius: 0;
   box-sizing: content-box;
}
#Layer1_Container {
   box-sizing: content-box;
}
a.CSTHomeLink {
   color: #000000;
   text-decoration: none;
   -webkit-text-shadow: 2px 2px 5px rgba(255,255,255,1.00);
   text-shadow: 2px 2px 5px rgba(255,255,255,1.00);
}
a.CSTHomeLink:visited {
   color: #000000;
   background: transparent;
   text-decoration: none;
   -webkit-text-shadow: 2px 2px 5px rgba(255,255,255,1.00);
   text-shadow: 2px 2px 5px rgba(255,255,255,1.00);
}
a.CSTHomeLink:active {
   color: #B4C0CB;
   text-decoration: none;
}
a.CSTHomeLink:hover {
   color: #4F4F4F;
   text-decoration: none;
   -webkit-text-shadow: 2px 2px 5px rgba(255,255,255,1.00);
   text-shadow: 2px 2px 5px rgba(255,255,255,1.00);
}

@media (min-width: 800px) {
   body {
      padding-top: 116px; /* 110px bar + 3px white border on top and bottom */
   }
   #wb_CssMenu1 {
      margin: 0 !important;
      display: block;
      box-sizing: border-box;
   }
   /* Mobile header and footer are only for 799px and below */
   .cst-m, #m_wb_LayoutGrid2, #m_FlexGrid3 {
      display: none !important;
   }

   /* Desktop footer: same gray bar as About, sits after cart content
      (About uses a page-specific absolute top; the cart height varies). */
   #PageFooter1 {
      position: relative;
      left: auto;
      top: auto;
      width: 100%;
      height: 203px;
      overflow: hidden;
      text-align: center;
      z-index: 30;
      margin-top: 32px;
      box-sizing: border-box;
      background-color: #DCDCDC;
      background-image: none;
      border: 1px solid #808080;
      border-radius: 0;
   }
   #PageFooter1_Container {
      width: 1004px;
      position: relative;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
      height: 203px;
   }
   #cst_ftr_cage {
      background: transparent;
      border: 2px solid #696969;
      border-radius: 10px;
      padding: 10px 5px 10px 10px;
      margin: 0;
      text-align: left;
      box-sizing: content-box;
   }
   #cst_ftr_addr {
      background: transparent;
      border: 0;
      padding: 0;
      margin: 0;
      text-align: right;
   }
   #cst_ftr_addr a,
   #wb_TextMenu1 a {
      color: #0000EE;
   }
}

/* ----- Mobile: match the About-page header ----- */
@media (max-width: 799px) {
   body {
      padding-top: 0;
   }
   /* Hide the desktop Layer1 bar (do not stack its menu) */
   #Layer1 {
      display: none !important;
   }
   div#container {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box;
   }

   #m_wb_LayoutGrid2 {
      clear: both;
      position: -webkit-sticky;
      position: sticky;
      top: 0;
      z-index: 7776;
      table-layout: fixed;
      display: table;
      text-align: center;
      width: 100%;
      background-color: #4F4F4F;
      background-image: none;
      border: 0 solid #CCCCCC;
      box-sizing: border-box;
      margin: 0;
   }
   #m_LayoutGrid2 {
      box-sizing: border-box;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      padding: 0;
      margin-right: auto;
      margin-left: auto;
      align-items: center;
   }
   #m_LayoutGrid2 > .col-1,
   #m_LayoutGrid2 > .col-2,
   #m_LayoutGrid2 > .col-3 {
      box-sizing: border-box;
      font-size: 0;
      min-height: 1px;
      padding-right: 2px;
      padding-left: 2px;
      position: relative;
      flex: 0 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      align-self: stretch;
      align-items: center;
   }
   #m_LayoutGrid2 > .col-1 {
      background-color: #4F4F4F;
      flex-basis: 16.66666667%;
      max-width: 16.66666667%;
      justify-content: flex-start;
      text-align: left;
   }
   #m_LayoutGrid2 > .col-2 {
      background-color: transparent;
      flex-basis: 66.66666667%;
      max-width: 66.66666667%;
      justify-content: center;
      text-align: center;
   }
   #m_LayoutGrid2 > .col-3 {
      background-color: transparent;
      flex-basis: 16.66666667%;
      max-width: 16.66666667%;
      justify-content: flex-end;
      text-align: right;
   }
   #m_wb_Text2 {
      background-color: transparent;
      border: 0;
      padding: 0;
      margin: 0;
      text-align: center;
      display: block;
      box-sizing: border-box;
      width: 100%;
   }
   #m_wb_PanelMenu1 {
      display: inline-block;
      width: 37px;
      height: 46px;
      text-align: center;
      position: relative;
   }
   #m_wb_PanelMenu1 a,
   #m_PanelMenu1_markup li a {
      display: block;
      text-align: left;
      vertical-align: middle;
   }
   #m_PanelMenu1 {
      padding-left: 35px;
      line-height: 46px;
      width: 2px;
      height: 46px;
      position: absolute;
      z-index: 999;
      color: #F5F5F5;
      text-decoration: none;
   }
   /* CSS hamburger (same 3-bar look as Font Awesome \f0c9 on the About
      page) so the icon does not depend on a cross-origin webfont. */
   #m_PanelMenu1:after {
      content: "";
      position: absolute;
      top: 50%;
      left: 8px;
      width: 22px;
      height: 2px;
      margin-top: -1px;
      background-color: #F5F5F5;
      box-shadow: 0 -7px 0 0 #F5F5F5, 0 7px 0 0 #F5F5F5;
      display: block;
      font-size: 0;
   }
   #m_PanelMenu1_markup {
      display: none;
      margin: 0;
      padding: 10px 0 0 0;
   }
   #m_PanelMenu1_panel #m_PanelMenu1_markup {
      display: block;
   }
   #m_PanelMenu1_markup ul {
      list-style: none;
      list-style-type: none;
      margin: 0;
      padding: 0;
   }
   #m_PanelMenu1_markup li a,
   #m_PanelMenu1_markup li a:hover {
      padding: 16px 10px 10px 15px;
      box-shadow: none;
   }
   #m_PanelMenu1_markup li a {
      color: #F7F7F7;
      border: 0 solid transparent;
      background-color: #3E3E3E;
      font-family: Arial;
      font-weight: normal;
      font-size: 16px;
      font-style: normal;
      text-decoration: none;
   }
   #m_PanelMenu1_markup li a:hover {
      color: #F7F7F7;
      background-color: #484848;
      border: 0 solid transparent;
   }
   #m_PanelMenu1_panel {
      display: none;
      position: fixed;
      top: 0;
      height: 100%;
      width: 300px;
      z-index: 9999;
      background-color: #3E3E3E;
      overflow-y: auto;
   }

   /* Hide the desktop footer on phones; show the About-matching mobile footer */
   #PageFooter1, .cst-d {
      display: none !important;
   }

   #m_FlexGrid3 {
      display: grid;
      background-color: #DCDCDC;
      background-image: none;
      border: 1px solid #A9A9A9;
      box-sizing: border-box;
      margin: 50px 0 0 0;
      padding: 0;
      font-size: 0;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      grid-template-rows: 100px auto 50px;
      grid-template-areas:
         "header header section1 section1"
         "nav sd se sf"
         "call footer footer email";
   }
   #m_FlexGrid3 .header,
   #m_FlexGrid3 .section1,
   #m_FlexGrid3 .nav,
   #m_FlexGrid3 .sd,
   #m_FlexGrid3 .se,
   #m_FlexGrid3 .sf,
   #m_FlexGrid3 .call,
   #m_FlexGrid3 .footer,
   #m_FlexGrid3 .email {
      display: flex;
      background-color: transparent;
      background-image: none;
      border: 0 solid #FFFFFF;
      border-radius: 0;
      flex-direction: row;
      flex-wrap: wrap;
   }
   #m_FlexGrid3 .header {
      grid-area: header;
      padding: 0;
      justify-content: center;
      align-items: flex-start;
      align-content: flex-start;
   }
   #m_FlexGrid3 .section1 {
      grid-area: section1;
      padding: 0 10px 0 0;
      justify-content: center;
      align-items: flex-start;
      align-content: flex-start;
   }
   #m_FlexGrid3 .nav {
      grid-area: nav;
      padding: 0 0 0 10px;
      justify-content: center;
      align-items: center;
      align-content: center;
   }
   #m_FlexGrid3 .sd,
   #m_FlexGrid3 .se {
      padding: 0;
      justify-content: center;
      align-items: center;
      align-content: center;
   }
   #m_FlexGrid3 .sd { grid-area: sd; }
   #m_FlexGrid3 .se { grid-area: se; }
   #m_FlexGrid3 .sf {
      grid-area: sf;
      padding: 0;
      justify-content: center;
      align-items: flex-end;
      align-content: flex-end;
   }
   #m_FlexGrid3 .call {
      grid-area: call;
      padding: 0;
      justify-content: flex-end;
      align-items: center;
      align-content: center;
   }
   #m_FlexGrid3 .footer {
      grid-area: footer;
      padding: 0;
      justify-content: center;
      align-items: center;
      align-content: center;
   }
   #m_FlexGrid3 .email {
      grid-area: email;
      padding: 0;
      justify-content: flex-start;
      align-items: center;
      align-content: center;
   }
   #m_FlexGrid3 #m_wb_Text1 {
      background-color: transparent;
      border: 0;
      padding: 0;
      margin: 16px 0 0 10px;
      text-align: left;
      display: inline-block;
      width: 168px;
      height: 99px;
   }
   #m_FlexGrid3 #m_wb_Text3 {
      background-color: transparent;
      background-image: none;
      border: 2px solid #696969;
      border-radius: 10px;
      padding: 10px 5px 10px 10px;
      margin: 10px 0 0 0;
      text-align: left;
      display: inline-block;
      width: 150px;
      height: 67px;
      box-sizing: content-box;
   }
   #m_wb_Image4 { margin: 18px 0 0 0; vertical-align: top; }
   #m_Image4 { border: 0; padding: 0; display: inline-block; width: 82px; height: 30px; vertical-align: top; }
   #m_wb_Image1 { margin: 15px 0 0 0; vertical-align: top; }
   #m_Image1 { border: 0; padding: 0; display: inline-block; width: 75px; height: 30px; vertical-align: top; }
   #m_wb_Image5 { margin: 15px 0 0 0; vertical-align: top; }
   #m_Image5 { border: 0; padding: 0; display: inline-block; width: 69px; height: 56px; vertical-align: top; }
   #m_wb_Image6 { margin: 0; vertical-align: top; }
   #m_Image6 { border: 0; padding: 0; display: inline-block; width: 47px; height: 57px; vertical-align: top; }
   #m_FlexGrid3 #m_wb_Text18 {
      background: transparent;
      border: 0;
      padding: 0;
      margin: 0;
      text-align: center;
      display: block;
      box-sizing: border-box;
      width: 100%;
   }
   /* Call (phone) and Contact (envelope) buttons — same size and slate-blue
      color as About, drawn with CSS so they do not need Font Awesome. */
   #m_wb_ThemeableButton2,
   #m_wb_ThemeableButton4 {
      border-radius: 4px;
      margin: 0;
      vertical-align: top;
   }
   #m_ThemeableButton2,
   #m_ThemeableButton4 {
      display: block;
      width: 43px;
      height: 43px;
      box-sizing: border-box;
      border: 1px solid #FFFFFF;
      border-radius: 4px;
      background-color: #DCDCDC;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 22px 22px;
      text-decoration: none;
      cursor: pointer;
   }
   #m_ThemeableButton2 {
      background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236A5ACD'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
   }
   #m_ThemeableButton4 {
      background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236A5ACD'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
   }
   #m_ThemeableButton2:hover,
   #m_ThemeableButton4:hover {
      border-color: #74B2E2;
      background-color: #E4F1FB;
   }
}

/* ----- Header cart icon (desktop #cst-dcart like About; mobile col-3 like About #m_ThemeableButton3) ----- */
.cst-cart-ico {
   display: inline-block;
   width: 26px;
   height: 24px;
   background-color: #F5F5F5;
   -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M7 17c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM0 1v2h2l3.6 7.6-1.35 2.4c-.16.3-.25.6-.25 1 0 1.1.9 2 2 2h12v-2H6.4c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0 0 19 3H4.2L3.3 1H0zm17 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
   mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M7 17c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM0 1v2h2l3.6 7.6-1.35 2.4c-.16.3-.25.6-.25 1 0 1.1.9 2 2 2h12v-2H6.4c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0 0 19 3H4.2L3.3 1H0zm17 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
   vertical-align: middle;
}
.cst-cart-link:hover .cst-cart-ico, .cst-cart-link:focus .cst-cart-ico { background-color: #0070A3; }
.cst-cart-link:active .cst-cart-ico { background-color: #FFFFFF; }
.cst-cart-link:focus-visible { outline: 2px solid #FFD700; outline-offset: 2px; }
#cst-dcart {
   position: absolute;
   width: 40px;
   height: 43px;
   border-radius: 4px;
   text-decoration: none;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 100;
}
@media (max-width: 799px) {
   #cst-dcart { display: none !important; }
   #m_LayoutGrid2 > .col-3 { padding-right: 6px; }   /* keep the cart icon off the screen edge */
   #m_wb_ThemeableButton3 { border-radius: 4px; margin: 0; vertical-align: top; }
   #m_ThemeableButton3 {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      text-decoration: none;
   }
}

/* ----- Surplus content ----- */
.cst-surplus { display: block; text-align: left; outline: none; }
.cst-wrap {
   max-width: 1004px;
   margin: 0 auto;
   padding: 24px 16px 8px 16px;
   box-sizing: border-box;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 16px;
   line-height: 1.45;
   color: #222222;
}

/* Intro text block. Its HTML is Frank's admin-entered group description (output as-is);
   these rules only tame its old fixed sizes so it fits every screen. */
.cst-intro { overflow: hidden; }
.cst-intro center { display: block; text-align: center; }
.cst-intro h1 {
   display: block;
   margin: 0 0 4px 0;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 30px;
   line-height: 1.2;
   font-style: italic;
   font-weight: bold;
   color: #4F4F4F;
   text-align: center;
}
.cst-intro h2 {
   margin: 0;
   font-size: 22px;
   line-height: 1.25;
   font-style: italic;
   color: #222222;
}
.cst-intro table { width: 100%; border-collapse: collapse; }
.cst-intro td { padding: 0; vertical-align: top; }
.cst-intro span { font-size: inherit !important; line-height: inherit; }
.cst-intro img {
   float: right;
   max-width: 40%;
   height: auto;
   margin: 0 0 12px 24px;
   border-radius: 6px;
}
.cst-intro hr { border: 0; border-top: 1px solid #CCCCCC; margin: 8px 0; }

/* Tube cards */
.cst-cards {
   display: grid;
   grid-template-columns: 1fr;
   gap: 20px;
   margin: 8px 0 0 0;
}
.cst-card {
   display: flex;
   flex-direction: column;
   background: #FFFFFF;
   border: 1px solid #DDDDDD;
   border-radius: 8px;
   box-shadow: 0 1px 4px rgba(0,0,0,.10);
   overflow: hidden;
   min-width: 0;
}
.cst-card-media {
   background: #FFFFFF;
   aspect-ratio: 14 / 9;
   display: flex;
   align-items: center;
   justify-content: center;
   border-bottom: 1px solid #EEEEEE;
}
.cst-card-media img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: contain;
}
.cst-card-body {
   display: flex;
   flex-direction: column;
   flex: 1 1 auto;
   padding: 14px 16px 16px 16px;
}
.cst-pn {
   margin: 0 0 10px 0;
   font-size: 17px;
   line-height: 1.3;
   font-weight: bold;
   font-style: normal;
   color: #222222;
   overflow-wrap: anywhere;
}
.cst-pn-label { color: #4F4F4F; font-weight: bold; }
.cst-specs { margin: 0 0 12px 0; padding: 0; font-size: 14px; }
.cst-spec {
   display: grid;
   grid-template-columns: 9.5em 1fr;
   gap: 8px;
   padding: 4px 0;
   border-bottom: 1px solid #EEEEEE;
}
.cst-spec dt { margin: 0; font-weight: bold; color: #4F4F4F; }
.cst-spec dd { margin: 0; overflow-wrap: anywhere; }
.cst-buy {
   margin-top: auto;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   flex-wrap: wrap;
}
.cst-price { margin: 0; font-size: 22px; font-weight: bold; color: #222222; }
.cst-price-label { font-size: 14px; color: #4F4F4F; margin-right: 4px; }
/* Add To Cart: same tonal charcoal pill as the 3-to-6-inch tubes page. No quantity selector. */
.cst-add {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   height: 32px;
   padding: 0 18px;
   box-sizing: border-box;
   margin: 0;
   font: bold 15px/1 Arial, Helvetica, sans-serif;
   letter-spacing: .2px;
   text-align: center;
   text-decoration: none;
   cursor: pointer;
   border-radius: 999px;
   background: #eef1f4;
   color: #1f2d3d;
   border: 1px solid #8a96a3;
   box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(31,45,61,.08);
   -webkit-appearance: none;
   appearance: none;
}
.cst-add:hover, .cst-add:focus {
   background: #e1e6eb;
   border-color: #5f6b78;
   color: #111a24;
   text-decoration: none;
}
.cst-add:active {
   background: #d3d9df;
   box-shadow: inset 0 1px 2px rgba(31,45,61,.18);
}
.cst-add:focus-visible { outline: 2px solid #1f2d3d; outline-offset: 2px; }
.cst-add[disabled], .cst-add[aria-disabled="true"] {
   background: #eef1f4;
   color: #5f6b78;
   border-color: #b5bec8;
   box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(31,45,61,.08);
   opacity: .75;
   cursor: default;
   pointer-events: none;
}
@media (max-width: 799px), (pointer: coarse) {
   .cst-add { height: 46px; font-size: 16px; padding: 0 22px; }
}
.cst-add-form { display: inline-flex; margin: 0; }
#cst-cart-frame {
   position: absolute;
   width: 0;
   height: 0;
   border: 0;
   overflow: hidden;
   visibility: hidden;
}
.cst-viewcart { text-align: center; margin: 24px 0 0 0; }
.cst-viewcart-btn, .cst-viewcart-btn:visited { background-color: #4F4F4F; border-color: #4F4F4F; }
.cst-viewcart-btn:hover, .cst-viewcart-btn:focus { background-color: #2D2D2D; border-color: #2D2D2D; }
.cst-empty { text-align: center; font-size: 16px; padding: 20px; }

/* Tablet: 2 cards per row */
@media (min-width: 600px) {
   .cst-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Desktop: 3 cards per row */
@media (min-width: 1000px) {
   .cst-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Phones: intro photo full width, cards full width */
@media (max-width: 599px) {
   .cst-wrap { padding: 16px 12px 4px 12px; }
   .cst-intro h1 { font-size: 24px; }
   .cst-intro h2 { font-size: 19px; }
   .cst-intro img {
      float: none;
      display: block;
      width: 100% !important;
      max-width: 100%;
      height: auto !important;
      margin: 0 0 14px 0;
   }
   }

/* ----- Collapsible tube cards (phones and tablets, 799px and below, when JavaScript is on) -----
   Collapsed by default: thumbnail, part number and price. Tap the header to open the full card
   (photo, specs, description, Add To Cart). Several cards can be open at once.
   Desktop (800px and up) and no-JavaScript visitors always see every card fully open. */
.cst-card-head { display: none; margin: 0; }
.cst-panel, .cst-panel-inner { display: flex; flex-direction: column; flex: 1 1 auto; }
@media (max-width: 799px) {
   html.cst-js .cst-cards {
      grid-template-columns: 1fr;
      gap: 12px;
      max-width: 680px;
      margin-left: auto;
      margin-right: auto;
   }
   html.cst-js .cst-card-head { display: block; font-size: inherit; }
   html.cst-js .cst-toggle {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      min-height: 72px;
      margin: 0;
      padding: 10px 14px 10px 10px;
      border: 0;
      background: #FFFFFF;
      color: #222222;
      font: inherit;
      text-align: left;
      cursor: pointer;
      -webkit-tap-highlight-color: rgba(51,112,183,.15);
      touch-action: manipulation;
   }
   html.cst-js .cst-toggle:focus-visible { outline: 3px solid #3370B7; outline-offset: -3px; }
   html.cst-js .cst-thumb {
      flex: 0 0 auto;
      width: 84px;
      height: 54px;
      object-fit: cover;
      border-radius: 4px;
      background: #EEEEEE;
   }
   html.cst-js .cst-toggle-text {
      flex: 1 1 auto;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
   }
   html.cst-js .cst-toggle-pn {
      font-size: 15px;
      line-height: 1.25;
      font-weight: bold;
      overflow-wrap: anywhere;
   }
   html.cst-js .cst-toggle-price { font-size: 17px; font-weight: bold; color: #3370B7; }
   html.cst-js .cst-chev {
      flex: 0 0 auto;
      width: 10px;
      height: 10px;
      margin: 0 4px 4px 0;
      border-right: 2.5px solid #4F4F4F;
      border-bottom: 2.5px solid #4F4F4F;
      transform: rotate(45deg);
      transition: transform .2s ease;
   }
   html.cst-js .cst-card.is-open .cst-chev { transform: rotate(-135deg); margin: 4px 4px 0 0; }
   html.cst-js .cst-card.is-open .cst-toggle { border-bottom: 1px solid #EEEEEE; }

   /* Smooth open/close without a height jump: the panel grows from 0 to its natural height. */
   html.cst-js .cst-panel {
      display: grid;
      grid-template-rows: 0fr;
      visibility: hidden;
      transition: grid-template-rows .25s ease, visibility 0s linear .25s;
   }
   html.cst-js .cst-card.is-open .cst-panel {
      grid-template-rows: 1fr;
      visibility: visible;
      transition: grid-template-rows .25s ease, visibility 0s linear 0s;
   }
   html.cst-js .cst-panel-inner { overflow: hidden; min-height: 0; }
   html.cst-js .cst-pn { display: none; }   /* part number is already in the header button */
   html.cst-js .cst-card-media { border-top: 0; }
}
@media (max-width: 799px) and (prefers-reduced-motion: reduce) {
   html.cst-js .cst-panel, html.cst-js .cst-card.is-open .cst-panel, html.cst-js .cst-chev { transition: none; }
}
