:root {
  /* ===== REDESIGN TOKENS (see redesign/REDESIGN_BRIEF.md §2) ===== */
  /* color */
  --ink:        #0A1A26;  /* header, hero, footer, primary buttons, headings */
  --ink-2:      #12283A;  /* inputs and panels on dark */
  --line-dark:  #2B4A5E;  /* borders on dark */
  --line-ink:   #1E3546;  /* dividers inside --ink areas */
  --accent:     #9BE15D;  /* lime: ONLY on dark backgrounds or as a fill behind --ink text */
  --accent-print: #3F8F2A;/* green for logo/graphics on white backgrounds */
  --text:       #0A1A26;
  --text-2:     #34495A;  /* body copy on white */
  --text-3:     #4A6070;  /* captions, labels (passes 4.5:1 on white) */
  --on-dark:    #FFFFFF;
  --on-dark-2:  #C4D2DC;
  --on-dark-3:  #A9BCC9;
  --surface:    #F2F5F7;  /* table headers, image wells */
  --line:       #DCE3E8;
  --line-soft:  #EEF2F4;  /* row dividers */
  --radius:     6px;      /* buttons, inputs */
  --radius-lg:  10px;     /* cards, panels, tables */
  --maxw:       1240px;

  /* type */
  --font-display: 'Archivo', sans-serif;          /* headings, prices: 700–800 */
  --font-body:    'Source Sans 3', system-ui, sans-serif; /* body 17px / 1.5 */
  --font-mono:    'JetBrains Mono', monospace;    /* Cat #, specs, labels */

  /* ===== LEGACY (used by pages not yet redesigned) ===== */
  --header-color: #FFFFFF;
  --standard-text-color: var(--text-2);
  --second-text-color: var(--text-3);
  --important-text-color: #6f3543;
  --standard-background-color: #FFFFFF;
  --green-text-color:#228181;
  }


body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--ink); }
a:hover { color: var(--line-dark); }

:focus-visible {
  outline: 2px solid var(--accent-print);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

ul li {
  margin-bottom: 0.5rem;
}

.ul-li-text {
  font-family: var(--font-body);
  color: var(--standard-text-color);
  max-height: fit-content; 
  /* min-height:15vh;  */
  font-size: clamp(1rem, 1.3vw, 1.5rem);
  text-align: start;
  line-height:1.3;
}

.cont-width80 {
  width:80%; 
}
ol li {
  margin-bottom: 0.5rem;
}



/* ===== SITE HEADER (dark) ===== */
.site-header {
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.site-header :focus-visible {
  outline-color: var(--accent);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--on-dark);
}

.site-logo:hover {
  color: var(--on-dark);
}

.site-logo img {
  display: block;
  width: 44px;
  height: 32px;
}

.site-logo__word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-logo__word span {
  font-weight: 500;
  color: var(--on-dark-3);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  font-size: 16px;
  font-weight: 600;
}

.site-nav a {
  color: var(--on-dark);
  text-decoration: none;
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

/* "Catalog" dropdown: a disclosure button (init_nav_dropdown in script.js) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--on-dark);
  font: inherit;
  cursor: pointer;
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle[aria-expanded="true"],
.nav-dropdown:has([aria-current="page"]) .nav-dropdown__toggle {
  color: var(--accent);
}

.nav-dropdown__toggle svg {
  transition: transform 0.15s;
}

.nav-dropdown__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 50;
  min-width: 210px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}

.nav-dropdown__toggle[aria-expanded="true"] + .nav-dropdown__menu {
  display: block;
}

.site-nav .nav-dropdown__menu a {
  display: block;
  padding: 10px 16px;
}

.nav-dropdown__all {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-dark);
}

.site-header__tools {
  flex: 1 1 220px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

/* override the global form grid */
.site-search {
  display: block;
  flex: 0 1 260px;
  min-width: 0;
  margin: 0;
}

.site-search input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--on-dark);
  font: inherit;
  font-size: 15px;
}

.site-search input::placeholder {
  color: var(--on-dark-3);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.cart-btn:hover {
  color: var(--on-dark);
  border-color: var(--on-dark-3);
}

/* ☰ hidden on desktop */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: var(--on-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* phones: logo · cart · ☰ on row 1, search on row 2, nav behind ☰ */
@media (max-width: 768px) {
  .site-header__inner {
    padding: 12px 16px;
    gap: 12px 10px;
  }

  .site-logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-logo__word {
    font-size: 20px;
  }

  .site-header__tools {
    display: contents;
  }

  .cart-btn {
    order: 2;
  }

  .hamburger {
    display: block;
    order: 3;
  }

  .site-search {
    order: 4;
    flex: 1 1 100%;
  }

  .site-nav {
    order: 5;
    flex: 1 1 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line-dark);
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  /* the Catalog dropdown becomes plain rows in the ☰ menu */
  .nav-dropdown__toggle {
    display: none;
  }

  .nav-dropdown__menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }

  .site-nav .nav-dropdown__menu a {
    padding: 12px 0;
  }

  .nav-dropdown__all {
    margin: 0;
    padding: 0;
    border: 0;
  }
}

.container{
  display: block;
  margin-left: auto; 
  margin-right: auto;
  padding-bottom: 0.5rem;
  text-align: center;
  border-radius: 5px;
  height:fit-content;
  width:80%;
  max-width:1200px;
}

/* related products section */
.rel-prod-container {
display: flex;
flex-direction: row;
/* justify-content: center; */
/* align-items: center; */
font-family: var(--font-body);
font-size:20pt;
font-weight: bold;
width: 100%;
height: 25vw;
border-radius: 0.3vw;
background-color: var(--standard-background-color); 
margin: 0;
}

.rel-prod-container_item{
/* display: flex;
flex-direction: row;
position:relative; */
  align-items: center;
justify-content: center;
text-align: Left;
  padding-bottom: 0;
  /* margin: 0; */
  width: 20%;
  height: 75%;
  border: none; /*2px solid #384347;*/
font-size: clamp(1pt, 1.1rem , 2.5rem);
box-shadow: none;
border-radius: 0.3vw;
color: rgb(89, 89, 89);
}

.rel-prod-container_item a {
  text-decoration: none;
  color: rgb(89, 89, 89);
}

.main_page_product_parent {
display: flex;
flex-direction: row;
box-sizing: border-box;
position:relative;
top: 0;
left: 0;
 /*transform: translate(0, -10%);*/
/*flex-wrap: nowrap*/

justify-content: center;
align-items: center;
font-family: var(--font-body);
font-size:20pt;
font-weight: bold;
width: 100%;
height: 25vw;
color: var(--green-text-color);

border-radius: 0.3vw;
background-color: var(--standard-background-color); 
margin: 0;

a:link {
      color: green-text-color; 
	text-decoration: none;
    }
a:visited {
      	color: green-text-color; 
	text-decoration: none;
    } 
a:hover {
      	color:var(--important-text-color); 
	text-decoration: none;
	 }
}
.main_page_product_parent a {
  margin:0;
  padding:0;
}

.main_page_product_parent a:hover {
transform: translate(+0.2vw, -0.15vw);
transition:  0.1s ease-in-out;
box-shadow: -0.7vw 0.5vw 1.5vw rgba(0, 0, 0, 0.4);
/* border-radius: 5%; */
}

/* .text-6f3543 {
  color:var(--important-text-color);
} */

.box20rem {
  flex-direction: column; 
  width: 20rem;  
  height:20rem; 
  margin:1rem; 
  align-items: center; 
  border: 1px solid var(--important-text-color);
}
a:hover .box20rem {
  border:none;
}

.main_page_parent_container{
  display: block;
  margin-left: auto; 
  margin-right: auto;
  text-align: center;
  border-radius: 5px;
  height:fit-content;
  width:80%;
  max-width:1200px;
  & a:link {
    color: var(--green-text-color); 
    text-decoration: none;
      }
  & a:visited {
    color: var(--green-text-color);
    text-decoration: none;
      } 
  & a:hover {
    color: var(--important-text-color); 
    text-decoration: none;
    }
}

.main_page_product_block {
  width: 275px; 
  height:275px;
  display: inline-block;
  vertical-align: top;
  padding: 30px;
  margin:10px;
  border: 2px solid #384347;
  border-radius: 10px;
}

.main_page_product_block p {
  font-size: clamp(1rem, 1.5rem , 2rem);
}

.main_page_product_block:hover p {
  color: var(--important-text-color);
  font-size: clamp(1rem, 1.5rem , 2rem);
}

.main_page_product_block:hover {
transform: translate(+0.2vw, -0.15vw);
transition:  0.1s ease-in-out;
box-shadow: -0.7vw 0.5vw 1.5vw rgba(0, 0, 0, 0.4);
}
.main_page_product_block img {
  max-width: 80%;
  max-height: 80%;
}




.main_page_product_item{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
  padding-bottom: 10px;
  margin: 10px;
  /* width: 32%; */
 width:450px;

  height: 90%;

  border: 2px solid #384347;
font-size: clamp(1rem, 1.5vw , 2.5rem);
box-shadow: none;
transition: box-shadow 0.1s ease-in-out;
border-radius: 0.3vw;
}
.main_page_product_item_no_shadow{
display: flex;
flex-direction: row;
flex-wrap: wrap;
position:relative;
  align-items: top;
justify-content: left;
text-align: center;
  padding: 0;
  margin: 10px;
  width: 32%;
  height: 90%;
  /*border: 2px solid #384347;*/
font-size: clamp(1rem, 1.5vw , 2.5rem);
box-shadow: none;
border-radius: 0.3vw;
}

.main_page_product_item_no_shadow_thumb{
display: flex;
flex-direction: row;
flex-wrap: wrap;
position:relative;
left: 0; 
bottom:0;
height: 50%; 
margin:5px 0 0 5px;
padding: 0;
  align-items: top;
justify-content: left;
text-align: center;
font-size: clamp(0.5rem, 1rem , 2rem);
color:#384347;
box-shadow: none;
border-radius: 0.3vw;
border:none;
}

.main_page_product_item_no_shadow_thumb_img{
  max-width:50%; 
  height:auto; 
  place-self: center; 
  margin-left:0.2vw;
}

.main_page_product_item:hover {
transform: translate(+0.2vw, -0.15vw);
transition:  0.1s ease-in-out;

box-shadow: -0.7vw 0.5vw 1.5vw rgba(0, 0, 0, 0.4);
}

.main_page_product_item_img{
 max-width: 50%; 
  height: auto;  
}


.secondary_page_product_parent {
display: grid;

grid-template-columns: 6rem 1rem 5rem 5rem 5rem 1rem 1rem  55rem 1fr ;
grid-template-rows: 1rem 10rem 10rem 0.5rem 6rem 2rem 7rem;


/*grid-template-areas:
". pic_large pic_large pic_large . grid_text  ."
". pic_large pic_large pic_large . grid_list grid_list"
". pic_large pic_large pic_large . grid_list grid_list"
" pic_small pic_small pic_small pic_small pic_small  grid_list grid_list"
". . . . . grid_table grid_button"
"grid_logo grid_logo . . . . . " */

box-sizing: border-box;
position:relative;
width: 80%;
height: 75vh;
margin: 0 auto ;

min-height:50vh;
 /*transform: translate(0, -10%);*/
/*flex-wrap: nowrap*/
flex-direction: row;
justify-content: center;
align-items: center;
font-family: var(--font-body);
font-size:1rem;
font-weight: bold;
color: var(--green-text-color);
border: none; /*2px solid red;*/
border-radius: 0.3vw;
background-color: var(--header-color); /* #f0ffff; */

a:link {
      color: var(--green-text-color);
  text-decoration: none;
    }
a:visited {
        color: var(--green-text-color);
  text-decoration: none;
    } 
a:hover {
        color: #384347; 
  text-decoration: none;
    }
}

.secondary_page_product_grid_internal {
display: grid;
grid-template-columns: 2rem 6rem 12rem 6rem 6rem 6rem 6rem 6rem 1fr ;
grid-template-rows: 2rem 2rem 2rem 2rem 0.5rem 2rem ;
border: noone; /*2px solid red;*/
}
.secondary_page_nested_grid_item{
display: grid;
position:relative;
  align-items: center;
justify-content: center;
text-align: left;
padding-bottom: 0;
margin: 0;
border: none; /*2px solid #384347;*/
font-size: clamp(1pt, 1.1rem , 2.5rem);
box-shadow: none;
color: rgb(89, 89, 89);
}

.secondary_page_product_item_descr{
display: inline-block;
font-size: clamp(1rem, 2vw, 1.6rem);
align-items: center;
padding: 0;
margin: 0;
color: rgb(89, 89, 89);
}

.secondary_page_product_item{
display: flex;
flex-direction: row;
position:relative;
  align-items: center;
justify-content: center;
text-align: Left;
  padding-bottom: 0;
  margin: 0;
  width: 20%;
  height: 75%;
  border: none; /*2px solid #384347;*/
font-size: clamp(1pt, 1.1rem , 2.5rem);
box-shadow: none;
border-radius: 0.3vw;
color: rgb(89, 89, 89);
a:hover {
    color: var(--green-text-color); 
    transition: 0.5s;
    transform:none;
    box-shadow: none;
	}
}

.square_item {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
text-align: center;
  padding-bottom: 0;
  margin: 0;
  width: 100%;
  /* height: fit-content; */
  font-size: clamp(1pt, 1.1rem , 2.5rem);
box-shadow: none;
border-radius: 0.3vw;
color: rgb(89, 89, 89);
}
.square_item:first-child {
flex: 1; 
min-height: 0;              
display: flex;         
justify-content: center;
align-items: center;
}
.square_item_text {
  margin-top: auto;
  margin-bottom:1rem;
  color:var(--important-text-color) !important; 
}

.square_item img {
max-width:90%;
max-height: 90%;
object-fit: contain;
}

.related_product_desc {
  min-width: 30%; 
  flex-direction: column;  
  height: fit-content; 
  font-size: clamp(1vw, 1.2rem, 3vw);
  align-items: start; 
  align-self: start;
  color: rgb(89, 89, 89);
}

.related_product_table_wrap{
  width:100%; 
  height: auto; 
  font-size: clamp(1vw, 1.2rem, 3vw);
  align-items: start; 
  margin-top:0.25vw;
}

hr.my-line {
  height: 2px; 
  background-color: rgb(89, 89, 89);
  width: 90%; 
  margin: 20px auto; 
}

.header1 {
  background-color: var(--header-color);
  padding:0;
  margin:0;
}

/* ===== SITE FOOTER (dark) ===== */
.site-footer {
  margin-top: 80px;
  background: var(--ink);
  color: var(--on-dark-3);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}

.site-footer__main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__main svg {
  flex: none;
}

.site-footer a {
  color: var(--on-dark-2);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer :focus-visible {
  outline-color: var(--accent);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

/* category links: their own row above the copyright line */
.site-footer__cats {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.site-footer__cats a,
.site-footer__links a {
  display: inline-block;
  padding: 10px 0;
  text-decoration: none;
  font-weight: 600;
}

.site-footer__ruo {
  flex: 1 1 100%;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 48px;
  }

  .site-footer__inner {
    padding: 32px 16px;
  }

  .site-footer__main {
    align-items: flex-start;
  }
}

.mp_element_1_h1 {
display: block;

font-family: var(--font-body);
color: #646464;
background-color: var(--standard-background-color);
text-align: center;
padding: 40px 20px 40px 40px;
width: 100%;
height: 10vwpx;
font-size: clamp(1.5rem, 3vw + 1rem, 3rem);
}
.mp_element_1_h2 {
font-family: var(--font-body);
color: #595959;
background-color: var(--standard-background-color);
text-align: center;
padding: 40px 20px 40px 40px;
width: 100%;
height: 160px;
font-size: clamp(1rem, 3vw + 1rem, 3rem);
}

.mp_element_1_p {
font-family: var(--font-body);
color: var(--green-text-color);
padding: 40px 20px 40px 40px;
width: 100%;
height: 160px;
font-size: clamp(1rem, 1.5vw , 2rem);
}


.parent-container_pagetitle {
  display: flex;
  justify-content: space-between; /* Distributes items with space between them */
  align-items: center; /* Vertically centers items */
}


h1 {
font-family: var(--font-display);
font-weight:800;
color: var(--text);
background-color: var(--header-color); /* #b4eee7  ;*/
text-align: center;
text-indent: 0;

/* line-height:0; */
padding-top: 40px;
padding-bottom: 10px;

margin-top: 0;
margin-bottom: 0;

letter-spacing: -0.025em;
line-height: 1.05;
font-size: clamp(2rem, 3vw, 3.3rem);
height: fit-content;
width:100%;
}


h2 {
font-family: var(--font-display);
font-weight:700;
font-size: clamp(1.5rem, 3vw, 2rem);

color: var(--text);
/* background-color: var(--header-color);  */
text-align: center;
line-height:1.5;
margin-top: 0;
margin-bottom: 0;
padding-top: 1rem;
padding-bottom: 1rem;
width:100%;
}

h3 {
font-family: var(--font-display);
font-weight:600;
font-size: clamp(1.2rem, 2vw, 1.5rem);
color: var(--text);
text-align: center;
line-height:1.3;
padding-top: 0.5rem;
padding-bottom: 1rem;
margin: 0 auto;
}
h4 {
font-family: var(--font-display);
font-weight:600;
font-size: clamp(1rem, 2vw, 1.3rem);
color: var(--text);
/* text-align: center; */
line-height:1.3;
padding-bottom: 1rem;
}

p {
font-family: var(--font-body);
color: var(--text-2);
font-size: clamp(0.8rem, 1.5vw , 3rem);
}


.scroll_btn {
  position: fixed;
  bottom: 10vh; /* Distance from bottom */
  right: 2vw;  /* Distance from right */
  display: none; /* Hidden by default */
  padding: 10px;
  padding-top:0;
  z-index: 1000;
    /* width:20px; */
    font-size: 2rem;
    font-weight: bold;
    
}

/* ===== INLINE STYLE EXTRACTIONS ===== */

.page-h1 {
  padding-top: 3rem;
}

.page-h2-subtitle {
  padding: 0;
  padding-top: 0.5rem;
  padding-bottom: 5vh;
  line-height: 1;
}

.text-smaller {
  font-size: smaller;
}

.display-inline {
  display: inline;
}

.text-center {
  text-align: center;
}

.width-full {
  width: 100%;
}

.height-fit-content {
  height: fit-content;
}

.height-90pct {
  height: 90%;
}

.min-height-60pct {
  min-height: 60%;
}

.mt-10px {
  margin-top: 10px;
}

.mt-18px {
  margin-top: 18px;
}

.no-margin-padding {
  margin: 0;
  padding: 0;
}

.img-contain-full {
  max-width: 100%;
  max-height: 100%;
}

.img-contain-60 {
  max-width: 60%;
  max-height: 100%;
}

.highlight-banner {
  width: 100%;
  background-color: var(--surface);
  border: none;
}

.highlight-banner-inner {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  border: none;
  padding-top: 0.5rem;
}

.highlight-list-heading {
  font-size: clamp(0.75rem, 1.5vw, 3rem);
  text-align: left;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.product-detail-main {
  width: 80%;
  min-height: 50vh;
  height: fit-content;
  margin: auto;
  margin-bottom: 3rem;
  margin-top: 5vh;
}

.product-gallery-col {
  flex-direction: column;
  justify-content: left;
  align-items: start;
  min-height: 450px;
  min-width: 300px;
  width: 50vw;
}

.thumbnail-strip {
  flex-direction: row;
  justify-content: center;
  align-items: start;
  height: 100%;
  margin: 0;
  padding: 0;
}

.thumbnail-strip-mt {
  flex-direction: row;
  justify-content: center;
  align-items: start;
  height: 100%;
  margin: 0;
  margin-top: 1rem;
  padding: 0;
}

.thumb-arrow {
  width: 7%;
}

.thumb-arrow:hover {
  transform: scale(1.2);
}

.thumb-arrow-hidden {
  visibility: hidden;
}

.thumb-frame-15 {
  width: 15%;
  justify-content: center;
  align-items: center;
}

.thumb-frame-17 {
  width: 17%;
  justify-content: center;
  align-items: center;
}

.thumb-frame-18 {
  width: 18%;
  justify-content: center;
  align-items: center;
}

.thumb-img {
  height: 100%;
  max-width: 90%;
}

.thumb-img-center {
  height: 100%;
  max-width: 90%;
  place-self: center;
}

.thumb-img-tall {
  max-height: 70%;
  max-width: 90%;
}

.thumb-img-tall-center {
  max-height: 70%;
  max-width: 90%;
  place-self: center;
}

.product-col-spacer {
  width: 3rem;
  height: 100%;
}

.product-info-col {
  flex-direction: column;
  height: fit-content;
}

.product-desc-table {
  display: table;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  max-height: fit-content;
  margin-top: 1rem;
}

.product-desc-row {
  display: table-row;
  flex-direction: column;
  width: 90%;
  max-height: fit-content;
  min-height: 15vh;
  font-size: clamp(0.8rem, 1.3vw, 1.2rem);
  align-items: start;
  line-height: 1.3;
}

.product-desc-row-tight {
  display: table-row;
  flex-direction: column;
  width: 90%;
  max-height: fit-content;
  min-height: 15vh;
  font-size: clamp(0.8rem, 1.3vw, 1.2rem);
  align-items: start;
  line-height: 1.1;
}

.order-table-width-85 {
  width: 85%;
}

.order-table-width-90 {
  width: 90%;
  margin: 0;
  margin-bottom: 2rem;
}

.order-col-cat { width: 13%; }
.order-col-name { width: 38%; }
.order-col-size { width: 25%; }
.order-col-price { width: 8%; }
.order-col-quantity { width: 15%; }

.spec-section {
  width: 80%;
  height: auto;
  margin: auto;
}

.content-section-80 {
  width: 80%;
  height: fit-content;
  margin: 0 auto;
}

.spec-desc-half {
  flex-direction: column;
  justify-self: start;
  align-self: start;
  width: 50%;
  font-size: clamp(0.5rem, 1rem, 3vw);
  word-wrap: normal;
}

.spec-desc-full {
  flex-direction: column;
  justify-self: start;
  align-self: start;
  width: 100%;
  font-size: clamp(0.5rem, 1rem, 3vw);
  word-wrap: normal;
}

.related-products-title-bar {
  width: 80%;
  height: 2.5rem;
  margin: 2rem auto;
}

.related-products-title-bar-mt {
  width: 80%;
  height: 2rem;
  margin: auto;
  margin-top: 10vh;
  margin-bottom: 3rem;
}

.related-title-inner {
  width: 100%;
  font-size: clamp(0.5rem, 1rem, 3vw);
}

.related-products-heading {
  font-size: 1.2rem;
  border-top: 1px solid black;
  width: 100%;
  place-self: center;
}

.related-product-card {
  outline: 1px solid grey;
  width: 80%;
  margin: auto;
  margin-bottom: 0.5rem;
  height: fit-content;
  align-items: start;
}

.related-product-img-wrap {
  min-height: 10%;
  height: 10rem;
  min-width: 10vw;
  width: 20vw;
}

.related-product-img-wrap-fit {
  min-height: 10%;
  height: 10rem;
  min-width: 10vw;
  width: fit-content;
}

.related-product-img-wrap-max {
  min-height: 10%;
  max-height: 10rem;
  min-width: 10vw;
  width: fit-content;
}

.related-product-details {
  flex-direction: row;
  height: fit-content;
  align-items: start;
}

.related-product-info {
  justify-content: left;
  align-items: center;
  min-height: 5rem;
  height: fit-content;
  min-width: 20vw;
}

.related-product-info-tall {
  justify-content: left;
  align-items: center;
  min-height: 5rem;
  height: 10rem;
  min-width: 20vw;
}

.related-product-info-short {
  justify-content: left;
  align-items: center;
  height: fit-content;
  min-width: 20vw;
}

.related-product-table-wrap {
  flex-direction: column;
  width: 100%;
  height: auto;
  font-size: clamp(1vw, 1.2rem, 3vw);
  overflow: hidden;
  align-items: start;
  margin-top: 0.25vw;
}

.related-product-table-wrap-plain {
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow: hidden;
  align-items: start;
  margin-top: 0.25vw;
}

.related-product-desc {
  flex-direction: column;
  height: auto;
  font-size: clamp(1vw, 1.2rem, 3vw);
  overflow: hidden;
}

.related-product-desc-sm {
  flex-direction: column;
  height: auto;
  font-size: clamp(0.7em, 1.2rem, 3vw);
  overflow: hidden;
}

.related-product-desc-start {
  flex-direction: column;
  height: fit-content;
  font-size: clamp(1vw, 1.2rem, 3vw);
  overflow: hidden;
  align-items: start;
}

.related-product-desc-start-sm {
  flex-direction: column;
  height: fit-content;
  font-size: clamp(0.7em, 1.2rem, 3vw);
  overflow: hidden;
  align-items: start;
}

.related-product-row-center {
  flex-direction: row;
  height: 10rem;
  align-items: center;
}

.related-product-row-start {
  flex-direction: row;
  height: 10rem;
  align-items: start;
}

.page-bottom-spacer {
  width: 80%;
  height: 4rem;
  margin: auto;
}

.pagetitle-padding {
  padding-left: 5px;
  margin-left: 5px;
}

.pagetitle-scale {
  transform: scale(0.75);
  margin: 0;
  padding: 0;
}

.logo-size-4vw {
  width: 4vw;
  height: 4vw;
}

.logo-size-15vw {
  width: 15vw;
  height: 15vw;
}

.cart-icon-4vw {
  width: 4vw;
  display: inline-flex;
}

.cart-icon-3vw {
  width: 3vw;
  display: inline-flex;
}

.success-content-area {
  width: 100%;
  margin: auto;
  min-height: 55vh;
  height: fit-content;
  justify-content: start;
}

/* FORMs */
form {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns of equal width */
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.full-width {
    grid-column: span 2; 
}
input[type="email"],input[type="text"],input[type="tel"],textarea, select {
    width:100%;
    height:25px;
    margin: 0;
    padding: 0;
    background-color:#fff;
    border:1px solid #D1D1D1;
    border-radius:4px;
    box-shadow:none;
    box-sizing:border-box;
}
textarea {
    min-height:65px;
    padding-top:6px;
    padding-bottom:6px;
}
form label {
    font-weight:600;
    margin-bottom: 5px;
}
form input[type="checkbox"], form input[type="radio"] {
    display:inline;
}
form .inline-checkbox label {
    font-weight: 400;
}
input[type="submit"] {
	padding: 0 30px;
	font-size: 11px;
	font-weight: 600;
	line-height: 38px;
	letter-spacing: .1rem;
	text-transform: uppercase;
	background-color: transparent;
	border-radius: 4px;
	border: 1px solid #bbb;
	cursor: pointer;
 }
input[type="submit"]:hover, input[type="submit"]:focus {
    color:#333;
    border-color:#888;
    outline:0;
}
input[type="text"]:required, input[type="tel"]:required, input[type="email"]:required {
    border-color:red;
}
input[type="text"]:valid, input[type="tel"]:valid, input[type="email"]:valid {
    border-color:green;
}

/* ==============================
   MODALS
   ============================== */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Hiding mechanics for animation */
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Prevents clicking invisible elements */
  
  /* Smooth transition duration */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 2. Fade everything in when the ID matches the URL hash */
.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Restores clickability */
  overflow-y: auto; /* Allows scrolling if content exceeds viewport */
}

/* 3. The dark backdrop overlay */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* 4. The modal content box */
.modal-content {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8rem;
  background: white;
  padding: 20px;
  border-radius: 8px;
  z-index: 2000;
  width: fit-content;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.5s ease;
}
.modal-wrapper:target .modal-content {
  transform: scale(1);
}
.close-btn {
    color: #000;
    position: absolute;
    font-size: 1.5rem;
    top: 5px;
    right: 10px;
    text-decoration: none;
}
body:has(.modal-wrapper:target) {
  overflow: hidden;
}
/* ==============================
   RESPONSIVE 
   ============================== */

/* Global responsive container */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}


@media (max-width: 1024px) {
  .main_page_product_parent {
    flex-direction: column;
    align-items: center;
  }

  .main_page_product_parent.thumbnail-strip,
  .main_page_product_parent.thumbnail-strip-mt {
    flex-direction: row;
    flex-wrap: nowrap;
    height: auto;
  }

  .thumb-arrow {
    min-width: 28px;
  }

  .rel-prod-container {
    flex-direction: column;
    align-items: center;   

  }

  .rel-prod-container_item {
    width: 100%;
    justify-content: flex-start;
  }
  .secondary_page_product_item {
    width: 100%;
    justify-content: flex-start;
  }

}

/* ==============================
   BUTTONS (redesign)
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  min-height: 44px;
  padding: 0 26px;
  box-sizing: border-box;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--ink);
  color: var(--on-dark);
}

.btn--primary:hover {
  background: var(--ink-2);
  color: var(--on-dark);
}

/* on dark backgrounds only: lime fill, ink text */
.btn--on-dark {
  background: var(--accent);
  color: var(--ink);
}

.btn--on-dark:hover {
  background: #B2EA82;
  color: var(--ink);
}

.btn--secondary {
  background: #FFFFFF;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

/* existing add-to-cart button (cart JS relabels it): primary look */
.add_to_cart_button {
  width: 100%;
  min-width: 134px;
  min-height: 44px;
  padding: 0 18px;
  box-sizing: border-box;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.add_to_cart_button:hover {
  background: var(--ink-2);
}

/* ==============================
   ORDER / CATALOG TABLE (redesign)
   ============================== */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
}

.order_table,
.table-scroll .order_table {
  width: 100%;
  min-width: 560px;
  margin: 0;
  border-collapse: collapse;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}

.order_table_head,
.order_table_head_small {
  background: var(--surface);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order_table th {
  padding: 14px 18px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.order_table td {
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
  vertical-align: middle;
}

.order_table_item,
.order_table_item_small {
  color: inherit;
  font-size: inherit;
  border-bottom: 0;
}

/* Cat # in mono, name bold, size muted, price right-aligned and bold */
.order_table td:nth-child(1) {
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
}

.order_table td:nth-child(2) {
  font-weight: 600;
}

.order_table td:nth-child(3) {
  color: var(--text-2);
}

.order_table th:nth-child(4),
.order_table td:nth-child(4) {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.order_table th:nth-child(5),
.order_table td:nth-child(5) {
  text-align: right;
}

/* the "Add to Cart" row has empty cells; no divider above it */
.order_table tr:has(> td > div > .add_to_cart_button) td {
  border-top-color: transparent;
  padding-top: 4px;
}

/* group rows ("Purification", ...) */
.order_table .order_table_group td {
  padding: 18px 18px 8px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-3);
}

/* homepage: group headings link to their category page */
.order_table .order_table_group a {
  color: var(--text);
  text-decoration: none;
}

.order_table .order_table_group a:hover {
  text-decoration: underline;
}

/* quantity stepper: bordered pill with 44px targets.
   The − / + stay <span>s: the cart JS finds each table's Add button
   with table.querySelector('button'). */
.order_table_item_quant {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #C5D0D8;
  border-radius: var(--radius);
  background: #FFFFFF;
  overflow: hidden;
  vertical-align: middle;
}

.order_table_item_quant_textbox {
  flex: none;
  width: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

span.order_table_item_quant_textbox {
  font-size: 20px;
  cursor: pointer;
  user-select: none;
}

span.order_table_item_quant_textbox:hover {
  background: var(--surface);
}

.order_table_item_quant input.order_table_item_quant_textbox {
  width: 44px;
  height: 100%;
  padding: 0;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
}

/* replaced by JS when an item is backordered */
.order_table_item_quant:not(:has(input)) {
  align-items: center;
  padding: 0 14px;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
}

/* Legacy product-card containers (until steps 4–5 replace them): some have
   fixed heights, and on narrow screens they size themselves to the table.
   Let them grow, and on narrow screens fill the card so the table scrolls
   inside .table-scroll instead of being cut off. */
.main_page_product_parent:has(.table-scroll),
.rel-prod-container:has(.table-scroll) {
  height: auto;
}

.table-scroll {
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .main_page_product_parent:has(.table-scroll),
  .rel-prod-container:has(.table-scroll) {
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
  }
}

/* .product-desc-table is display:table, which can't shrink below its
   content's min-width; keep the order table from widening it. */
.product-desc-table .table-scroll {
  contain: inline-size;
  width: 100%;
}

/* phones: stack each order row instead of scrolling sideways
   (row 1: name · price, row 2: Cat # · size · stepper, then a full-width
   Add to Cart). Cells keep their order, so the cart JS is unaffected. */
@media (max-width: 600px) {
  .table-scroll .order_table {
    display: block;
    min-width: 0;
  }

  .table-scroll .order_table colgroup,
  .table-scroll .order_table thead {
    display: none;
  }

  .table-scroll .order_table tbody {
    display: block;
  }

  .table-scroll .order_table tr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 6px 12px;
    padding: 12px 14px;
    border-top: 1px solid var(--line-soft);
  }

  .table-scroll .order_table tbody tr:first-child {
    border-top: 0;
  }

  .table-scroll .order_table td {
    display: block;
    padding: 0;
    border: 0;
    text-align: left;
  }

  .table-scroll .order_table td:empty {
    display: none;
  }

  .table-scroll .order_table td:nth-child(2) { grid-column: 1 / 3; grid-row: 1; }
  .table-scroll .order_table td:nth-child(4) { grid-column: 3; grid-row: 1; text-align: right; }
  .table-scroll .order_table td:nth-child(1) { grid-column: 1; grid-row: 2; }
  .table-scroll .order_table td:nth-child(3) { grid-column: 2; grid-row: 2; font-size: 15px; }
  .table-scroll .order_table td:nth-child(5) { grid-column: 3; grid-row: 2; text-align: right; }

  /* Add to Cart row: one full-width button */
  .table-scroll .order_table tr:has(.add_to_cart_button) {
    display: block;
    border-top: 1px solid var(--line-soft);
  }

  .table-scroll .order_table tr:has(.add_to_cart_button) td:last-child {
    display: block;
  }

  /* group rows ("Purification", ...) span the full width */
  .table-scroll .order_table tr.order_table_group {
    display: block;
    padding: 16px 14px 4px;
    border-top: 1px solid var(--line);
  }

  .table-scroll .order_table tr.order_table_group td {
    padding: 0;
    border: 0;
  }
}

/* rows hidden by the catalog filter (beats the phone grid layout) */
.table-scroll .order_table tr[hidden] {
  display: none;
}

/* ==============================
   HOMEPAGE (redesign)
   ============================== */
/* undo the legacy centered, padded headings */
.home-hero h1,
.home-section h2,
.home-section h3,
.pp h1,
.pp h2,
.pp h3 {
  width: auto;
  padding: 0;
  background: none;
  text-align: left;
}

/* the legacy p size scales with the window (13px on phones, 22px on desktop) */
:where(.home-section, .home-hero, .pp) p {
  font-size: 17px;
}

.home-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 40px;
  box-sizing: border-box;
}

.home-section h2 {
  margin: 0;
  font-size: clamp(30px, 2.4vw + 16px, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* text-style button (e.g. "Show all products") */
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* secondary button on dark backgrounds */
.btn--ghost-dark {
  border: 1.5px solid #5D7A8E;
  color: var(--on-dark);
  font-weight: 600;
}

.btn--ghost-dark:hover {
  border-color: var(--on-dark-3);
  color: var(--on-dark);
}

/* --- hero --- */
.home-hero {
  background: var(--ink);
  color: var(--on-dark);
}

.home-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 88px;
  box-sizing: border-box;
  border-top: 1px solid var(--line-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.home-hero :focus-visible {
  outline-color: var(--accent);
}

.home-hero__text {
  flex: 1 1 520px;
  min-width: 0;
}

.home-hero h1 {
  margin: 0 0 22px;
  color: var(--on-dark);
  font-size: clamp(38px, 4vw + 20px, 60px);
  line-height: 1.02;
}

.home-hero__text p {
  max-width: 560px;
  margin: 0 0 34px;
  color: var(--on-dark-2);
  font-size: 20px;
}

.home-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__ctas .btn {
  height: 54px;
}

.spec-readout {
  flex: 1 1 380px;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
}

.spec-readout > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid var(--line-ink);
}

.spec-readout > div:first-child {
  border-top: 0;
}

.spec-readout dt {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

.spec-readout dd {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

.spec-readout dd.spec-readout__plain {
  color: var(--on-dark);
}

/* --- shop by application --- */
.shop-apps {
  padding-bottom: 0;
}

.shop-apps h2 {
  margin-bottom: 24px;
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
}

.app-card:hover {
  color: var(--text);
  border-color: var(--ink);
}

/* fixed-height well so photos of any shape line up */
.app-card__img {
  display: block;
  height: 190px;
  padding: 16px;
  box-sizing: border-box;
  background: var(--surface);
}

.app-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
}

.app-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.app-card:hover .app-card__title {
  text-decoration: underline;
}

.app-card__desc {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

/* pinned to the bottom so the prices line up across the row */
.app-card__from {
  margin-top: auto;
  padding-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

.app-card__from .js-price-from {
  font-family: var(--font-display);
  font-weight: 700;
}

@media (max-width: 900px) {
  .app-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .app-cards {
    grid-template-columns: 1fr;
  }
}

/* --- featured kit --- */
.feature-kit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.feature-kit__video {
  flex: 1 1 460px;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}

.feature-kit__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-kit__text {
  flex: 1 1 420px;
  min-width: 0;
}

.feature-kit h2 {
  margin-bottom: 14px;
}

.feature-kit h2 a {
  color: inherit;
  text-decoration: none;
}

.feature-kit h2 a:hover {
  text-decoration: underline;
}

.feature-kit__text p {
  margin: 0 0 24px;
}

.feature-kit__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.feature-kit__price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
}

.feature-kit__pair {
  font-weight: 600;
}

/* --- catalog --- */
.catalog {
  padding-top: 56px;
  padding-bottom: 24px;
}

.catalog__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #C5D0D8;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill:hover {
  background: var(--surface);
}

.filter-pill[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

/* "You searched for …" + Clear search */
.catalog__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 16px;
  padding: 10px 10px 10px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.catalog__search[hidden] {
  display: none;
}

.btn-clear-search {
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-clear-search:hover {
  background: var(--line-soft);
}

.catalog-table td:nth-child(2) a,
.workflow-table td:nth-child(2) a {
  font-weight: 600;
  text-decoration: none;
}

.catalog-table td:nth-child(2) a:hover,
.workflow-table td:nth-child(2) a:hover {
  text-decoration: underline;
}

.catalog-table td:nth-child(5) {
  padding-top: 8px;
  padding-bottom: 8px;
}

.btn-add,
.btn-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 44px;
  box-sizing: border-box;
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn-add {
  border: 1.5px solid var(--ink);
  font-size: 16px;
  cursor: pointer;
}

.btn-size {
  border: 1.5px solid #C5D0D8;
}

.btn-add:hover,
.btn-size:hover {
  background: var(--surface);
  color: var(--ink);
}

.catalog-backordered {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
}

.catalog-table tr.catalog-empty td {
  padding: 24px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  white-space: normal;
}

.catalog__note {
  margin: 14px 0 0;
  font-size: 15px;
}

/* --- protocols --- */
.protocols h2 {
  margin-bottom: 20px;
}

.protocols__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.protocol-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.protocol-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.protocol-card p {
  flex: 1;
  margin: 0 0 18px;
}

.protocol-card a {
  font-weight: 700;
}

/* --- story / proof / sample --- */
.three-up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  padding-top: 72px;
  padding-bottom: 0;
}

.three-up__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.three-up h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.15;
}

.three-up p {
  margin: 0;
}

.three-up__card--dark {
  justify-content: flex-start;
  gap: 0;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
}

.three-up__card--dark h2 {
  font-size: 28px;
  color: var(--on-dark);
}

.three-up__card--dark p {
  margin-bottom: 18px;
  color: var(--on-dark-2);
}

.three-up__card--dark a {
  color: var(--accent);
  font-weight: 700;
}

.three-up__card--dark :focus-visible {
  outline-color: var(--accent);
}

.three-up__stat {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.three-up figure {
  margin: 0;
}

.three-up blockquote {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.three-up figcaption {
  font-size: 14px;
  color: var(--text-3);
}

/* --- free sample form (sample.html) --- */
.sample-page {
  font-size: 16px;
  color: var(--text);
}

.sample-page form label {
  margin-bottom: 6px;
  font-size: 15px;
}

.sample-page input[type="text"],
.sample-page input[type="email"],
.sample-page select,
.sample-page textarea {
  height: 44px;
  padding: 0 12px;
  border: 1px solid #C5D0D8;
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
}

.sample-page textarea {
  height: auto;
  min-height: 88px;
  padding: 10px 12px;
}

.sample-page input:user-invalid,
.sample-page select:user-invalid {
  border-color: #B42318;
}

.sample-page .sample-form-message {
  color: #B42318;
  font-weight: 600;
}

.sample-page input[type="submit"] {
  height: 52px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.sample-page input[type="submit"]:hover {
  background: var(--ink-2);
  color: var(--on-dark);
}

@media (max-width: 600px) {
  .home-section {
    padding: 56px 16px 24px;
  }

  .home-hero__inner {
    padding: 48px 16px 56px;
    gap: 40px;
  }

  .home-hero__text p {
    font-size: 18px;
  }

  .spec-readout > div {
    padding: 16px 18px;
  }

  .spec-readout dd {
    font-size: 19px;
  }

  .feature-kit {
    gap: 28px;
  }

  .three-up {
    padding-top: 48px;
    padding-bottom: 0;
  }

  .three-up__card {
    padding: 24px;
  }

  .sample-page form {
    grid-template-columns: 1fr;
  }

  .sample-page .full-width {
    grid-column: auto;
  }
}

/* ==============================
   PRODUCT PAGE (redesign)
   ============================== */
.pp {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 20px 0 28px;
  font-size: 15px;
  color: var(--text-3);
}

.breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: var(--text);
  font-weight: 600;
}

.pp-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* --- gallery --- */
.pp-gallery__main {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.pp-gallery__main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pp-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pp-thumb {
  position: relative;
  flex: none;
  width: 80px;
  height: 80px;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.pp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pp-thumb:hover {
  border-color: #C5D0D8;
}

.pp-thumb[aria-pressed="true"] {
  border: 2px solid var(--ink);
  padding: 3px;
}

.pp-thumb__tag {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  padding: 1px 0;
  border-radius: 3px;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
}

/* --- buy box --- */
.buy-box h1,
.pp .buy-box h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 2.4vw + 18px, 48px);
  font-weight: 800;
  line-height: 1.05;
}

/* several products on one page (mag-stand-pcr.html) */
.pp-onpage {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: -8px 0 28px;
  font-size: 15px;
  color: var(--text-3);
}

.pp-onpage a {
  color: var(--ink);
  font-weight: 600;
}

.pp-product {
  scroll-margin-top: 16px;
}

.size-rows__note {
  font-size: 14px;
  color: var(--text-2);
}

.pp-product + .pp-product {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.buy-box__lede {
  margin: 0 0 22px;
  font-size: 18px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.spec-strip > div {
  padding: 14px 16px;
  border-left: 1px solid var(--line);
}

.spec-strip > div:first-child {
  border-left: 0;
}

.spec-strip dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.spec-strip dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.buy-box__label {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text-3);
}

/* size rows: the existing order table, one bordered card per size.
   Cells keep the order the cart JS expects (cat, name, size, price, stepper). */
.size-rows,
.size-rows tbody {
  display: block;
  width: 100%;
}

.size-rows caption {
  display: block;
}

.size-rows tr {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas:
    "size size  price qty"
    "cat  badge unit  qty";
  align-items: center;
  gap: 2px 14px;
  margin-bottom: 10px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.size-rows td {
  display: block;
  padding: 0;
}

.size-rows td:empty {
  display: none;
}

.size-rows__cat   { grid-area: cat; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.size-rows__size  { grid-area: size; font-size: 18px; font-weight: 700; }
.size-rows__price { grid-area: price; font-family: var(--font-display); font-size: 20px; font-weight: 800; text-align: right; }
.size-rows__unit  { grid-area: unit; font-size: 14px; color: var(--text-3); text-align: right; white-space: nowrap; }
.size-rows__badge { grid-area: badge; }
.size-rows__qty   { grid-area: qty; }

/* the product name cell is filled by the cart JS but the H1 already says it */
.size-rows td.size-rows__name {
  display: none;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* the Add to Cart row */
.size-rows tr.size-rows__add {
  display: block;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
}

.size-rows__add .add_to_cart_button {
  height: 54px;
  font-size: 17px;
}

.buy-box__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 20px 0 22px;
  font-weight: 600;
}

.buy-box__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.trust-list {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15px;
  color: var(--text-2);
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
}

.trust-list svg {
  flex: none;
  margin-top: 2px;
  color: var(--ink);
}

/* --- section links (tab look) --- */
.pp-tabs {
  display: flex;
  gap: 28px;
  margin-top: 64px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.pp-tabs a {
  flex: none;
  padding: 14px 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--text-2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.pp-tabs a:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

/* --- sections --- */
.pp-section {
  padding-top: 48px;
  scroll-margin-top: 16px;
}

.pp-section h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 1.6vw + 16px, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.pp-section p {
  margin: 0 0 14px;
  max-width: 70ch;
}

.pp-section__lede {
  color: var(--text-2);
}

.pp-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 0 56px;
}

.pp-bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--text-2);
}

.pp-bullets li {
  margin-bottom: 6px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.spec-table th,
.spec-table td {
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
  border-top: 0;
}

.spec-table th {
  width: 45%;
  padding-right: 16px;
  font-weight: 500;
  color: var(--text-3);
}

.spec-table td {
  font-weight: 600;
}

.protocol-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protocol-steps li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.protocol-steps__label {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.protocol-steps li p {
  margin: 0;
  font-size: 16px;
}

/* video in the gallery (YouTube iframe is created on first click) */
.pp-gallery__main iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
}

.pp-thumb--video img {
  object-fit: cover;
}

.pp-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -20px 0 0 -14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 11px;
  line-height: 28px;
  text-align: center;
}

.pp-note {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
  font-size: 16px;
}

.pp-section .pp-note {
  max-width: none;
}

.pp p.pp-gallery__note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-3);
}

.pp-section p.pp-section__more {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--text-2);
}

.protocol-full {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.protocol-full summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
}

.protocol-full[open] summary {
  border-bottom: 1px solid var(--line-soft);
}

.protocol-full__body {
  padding: 4px 20px 20px;
  font-size: 16px;
}

.protocol-full__body ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.protocol-full__body li {
  margin-bottom: 10px;
}

.protocol-full__body li small {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 15px;
}

@media (max-width: 900px) {
  .pp-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .pp-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 600px) {
  .pp {
    padding: 0 16px;
  }

  .breadcrumb {
    padding: 14px 0 18px;
    font-size: 14px;
  }

  .pp-gallery__main {
    padding: 16px;
  }

  .pp-gallery__thumbs {
    gap: 8px;
  }

  .pp-thumb {
    width: 60px;
    height: 60px;
  }

  .spec-strip > div {
    padding: 12px;
  }

  .spec-strip dd {
    font-size: 17px;
  }

  /* badge gets its own line so it can't collide with the per-ml price */
  .size-rows tr {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "size  price qty"
      "cat   unit  qty"
      "badge badge qty";
    gap: 2px 10px;
    padding: 10px 10px 10px 12px;
  }

  .size-rows__badge {
    margin-top: 4px;
  }

  .pp-tabs {
    flex-wrap: wrap;
    gap: 0 20px;
    margin-top: 48px;
  }

  .pp-section {
    padding-top: 36px;
  }
}

/* ==============================
   CATEGORY PAGES (redesign): intro + filtered catalog table
   (inside main.pp, so they share the product page width and breadcrumb)
   ============================== */
.pp .cat-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 2.4vw + 18px, 48px);
  font-weight: 800;
  line-height: 1.05;
}

.cat-intro p {
  margin: 0 0 32px;
  max-width: 62ch;
  color: var(--text-2);
}

/* "Choose by tube type" photo cards (mag-stand.html) */
.pp .tube-cards h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}

.tube-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.tube-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
}

.tube-card:hover {
  border-color: var(--ink);
}

/* fixed-height well so photos of any shape line up across the cards */
.tube-card__img {
  display: block;
  height: 260px;
  padding: 16px;
  box-sizing: border-box;
  background: var(--surface);
}

.tube-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tube-card__text {
  padding: 16px 20px 20px;
}

.tube-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.tube-card:hover .tube-card__title {
  text-decoration: underline;
}

.tube-card__sub {
  display: block;
  margin-top: 4px;
  color: var(--text-2);
  font-size: 15px;
}

/* one-line use under a product name (buffers.html) */
.catalog-table .cat-use {
  display: block;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 400;
}

.pp .cat-more {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--text-2);
}

.pp .cat-others {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--text-2);
}

.cat-others a {
  font-weight: 600;
}

@media (max-width: 600px) {
  .tube-card__img {
    height: 200px;
  }
}

/* ==============================
   CART (redesign): item list + order summary
   ============================== */
.pp h1.cart-title {
  margin: 0;
  padding: 40px 0 28px;
  font-size: clamp(34px, 2.4vw + 18px, 48px);
  font-weight: 800;
  line-height: 1.05;
}

.cart-title:focus {
  outline: none;
}

.cart-title__count {
  margin-left: 10px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.cart-layout[hidden],
.cart-empty[hidden],
.cart-item[hidden] {
  display: none;
}

.cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto 96px;
  align-items: center;
  gap: 12px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__img {
  width: 80px;
  height: 80px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: var(--radius);
  background: var(--surface);
}

.cart-item__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item__meta {
  margin-top: 2px;
  color: var(--text-3);
  font-size: 15px;
}

.cart-item__cat {
  font-family: var(--font-mono);
  font-size: 14px;
}

.cart-item__unit {
  margin-top: 2px;
  color: var(--text-2);
  font-size: 15px;
}

.cart-item__qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cart-item__qty [aria-disabled="true"] {
  color: var(--text-3);
  cursor: default;
}

.cart-item__remove {
  min-height: 32px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.cart-item__remove:hover {
  color: var(--ink);
}

.cart-item__total {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.cart-summary {
  position: sticky;
  top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
}

.cart-summary__subtotal {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
}

.pp .cart-summary__note {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 15px;
}

.cart-summary__checkout {
  width: 100%;
  height: 54px;
  margin-top: 20px;
}

.cart-summary__checkout + .cart-summary__note {
  margin-top: 12px;
}

.cart-summary__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 16px;
}

.cart-summary__links a {
  font-weight: 700;
}

.cart-summary__links .link-btn {
  min-height: 32px;
  color: var(--text-2);
  font-weight: 600;
}

/* empty cart */
.cart-empty {
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}

.pp p.cart-empty__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}

.pp p.cart-empty__note {
  margin: 20px 0 0;
  color: var(--text-2);
  font-size: 16px;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cart-summary {
    position: static;
  }
}

/* phones: photo · name · total on top, stepper + Remove underneath */
@media (max-width: 600px) {
  .pp h1.cart-title {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "img info total"
      "img qty  qty";
    gap: 12px 14px;
    padding: 16px 0;
  }

  .cart-item__img { grid-area: img; width: 64px; height: 64px; align-self: start; }
  .cart-item__info { grid-area: info; }
  .cart-item__total { grid-area: total; align-self: start; font-size: 18px; }

  .cart-item__qty {
    grid-area: qty;
    flex-direction: row;
    justify-content: space-between;
  }

  .cart-empty {
    padding: 36px 20px;
  }
}

/* ==============================
   ORDER CONFIRMED (success.php)
   ============================== */
.order-done {
  max-width: 760px;
  padding-top: 48px;
}

.pp.order-done h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 2.4vw + 18px, 48px);
  font-weight: 800;
  line-height: 1.05;
}

.pp p.order-done__lede {
  margin: 0 0 28px;
  color: var(--text-2);
  font-size: 18px;
}

.order-done__card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.order-done__number {
  margin-bottom: 16px;
  font-size: 17px;
}

.order-done__number strong {
  font-family: var(--font-mono);
}

.order-done__items {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.order-done__items th {
  padding: 8px 12px 8px 0;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.order-done__items td {
  padding: 10px 12px 10px 0;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
}

.order-done__items th:last-child,
.order-done__qty {
  padding-right: 0;
  text-align: right;
}

.order-done__cat {
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
}

.order-done__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.order-done__total span:last-child {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
}

.pp p.order-done__note {
  margin: 24px 0 24px;
  color: var(--text-2);
  font-size: 16px;
}

/* ==============================
   FREE SAMPLE PAGE (sample.html)
   ============================== */
.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.sample-layout__form {
  max-width: 640px;
}

.pp p.sample-page__note {
  margin: 0 0 18px;
  color: var(--text-3);
  font-size: 15px;
}

.sample-layout__aside {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.pp .sample-layout__aside h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.sample-products {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sample-products li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.sample-products li:first-child {
  border-top: 0;
  padding-top: 0;
}

.sample-products a {
  display: block;
  font-weight: 700;
}

.sample-products span {
  display: block;
  margin-top: 2px;
  color: var(--text-2);
  font-size: 15px;
}

.pp p.sample-page__more {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 15px;
}

/* ==============================
   ABOUT (about.html)
   ============================== */
.about-intro p {
  max-width: 70ch;
  font-size: 19px;
}

.about-section {
  margin-top: 48px;
}

.pp .about-section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 1.6vw + 16px, 32px);
  font-weight: 800;
  line-height: 1.15;
}

.about-section p {
  max-width: 70ch;
  margin: 0;
  color: var(--text-2);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.about-cards li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.about-cards__num {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.pp .about-cards h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}

.about-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 0 56px;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

/* ==============================
   OPPORTUNITIES (opportunities.html)
   ============================== */
.pp .job-head h1 {
  max-width: 22ch;
  margin: 0 0 16px;
  font-size: clamp(32px, 2.4vw + 16px, 46px);
  font-weight: 800;
  line-height: 1.08;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.job-tags li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
}

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.job-body p {
  max-width: 70ch;
  margin: 0 0 16px;
  color: var(--text-2);
}

.pp .job-body h2 {
  margin: 36px 0 10px;
  font-size: 24px;
  font-weight: 800;
}

.job-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
  max-width: 70ch;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.job-tiers li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
  font-size: 16px;
}

.job-tiers__rate {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.job-apply {
  position: sticky;
  top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.pp .job-apply h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.pp .job-apply p {
  margin: 0 0 20px;
  color: var(--text-2);
  font-size: 16px;
}

.job-apply .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .sample-layout,
  .job-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .job-apply {
    position: static;
  }
}

/* ==============================
   PAGE NOT FOUND (404.html, served by my_app/app.js for any missing address)
   ============================== */
.notfound__intro {
  padding-top: 64px;
}

.notfound__intro p {
  margin-bottom: 24px;
}

.notfound__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pp .notfound__apps h2 {
  margin: 56px 0 20px;
  font-size: 24px;
  font-weight: 800;
}

@media (max-width: 600px) {
  .notfound__intro {
    padding-top: 40px;
  }
}
