/*! 
 * Sterling Production Combined Stylesheet
 * Organized: Framework → Media Queries → Customizations/Overrides
 * Colors use rgb() format for ColdFusion compatibility
 * ============================================================================
 */

/* ==========================================================================
   SECTION 1: FRAMEWORK / BASE STYLES
   Core resets, variables, typography, and foundational layout
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1.1 CSS Custom Properties (Variables)
   --------------------------------------------------------------------------- */
:root {
  --main-red: rgb(234 0 42);
  --main-black: rgb(4 0 0);
  --main-white: rgb(248 248 248);
  --main-grey: rgb(96 96 96);
  --main-grey-light: rgb(244 244 244);
  --main-grey-dark: rgb(93 93 93);
  --p-line-height: 1.1;
}

.btn-primary {
  --bs-btn-disabled-color: rgb(0 0 0);
  --bs-btn-disabled-bg: rgb(180 180 180);
  --bs-btn-disabled-border-color: rgb(180 180 180);
  --bs-btn-disabled-opacity: 0.65;
}

/* ---------------------------------------------------------------------------
   1.2 Font Faces
   --------------------------------------------------------------------------- */
@font-face {
  font-family: Aptos;
  src: url("https://saturn.sterling.ca/cdn/fonts/Microsoft Aptos Fonts/Aptos.ttf")
    format("truetype");
}

@font-face {
  font-family: AptosBold;
  src: url("https://saturn.sterling.ca/cdn/fonts/Microsoft Aptos Fonts/Aptos-Bold.ttf")
    format("truetype");
}

/* ---------------------------------------------------------------------------
   1.3 Reset & Box Model
   --------------------------------------------------------------------------- */
html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  overflow-y: scroll;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: roboto, sans-serif;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  color: rgb(4 0 0);
  background-color: white;
}

img {
  vertical-align: middle;
}

/* ---------------------------------------------------------------------------
   1.4 Typography
   --------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: roboto, sans-serif;
  font-weight: bold;
}

h1,
h2,
h3 {
  font-family: AptosBold, sans-serif;
}

p {
  /* font-family: Aptos, sans-serif; */
  font-size: 1.25rem;
  line-height: var(--p-line-height);
}

h1 {
  font-size: 2.1875rem;
  color: var(--main-black);
}

h2 {
  font-size: 2rem;
  color: var(--main-black);
}

h3 {
  font-size: 1.5625rem;
  color: rgb(71 70 70);
}

hr {
  flex: 0 0 100%;
}

/* ---------------------------------------------------------------------------
   1.5 Links
   --------------------------------------------------------------------------- */
a {
  color: black;
  text-decoration: none !important;
}

a.anchor {
  display: block;
  position: relative;
  top: -110px;
  visibility: hidden;
}

ul li a {
  display: block;
}

/* ---------------------------------------------------------------------------
   1.6 Core Layout Structure
   --------------------------------------------------------------------------- */
header {
}

main {
  flex: 1;
}

footer {
  margin: 0;
  padding: 25px 20px;
  width: 100%;
  background-color: rgb(17 17 17);
  border-top: 2px solid rgb(51 51 51);
  color: rgb(238 238 238);
}

footer a,
footer h1,
footer h2,
footer h3 {
  color: white;
}

/* Footer Container Layout */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
}

/* Footer Left Section */
.footer-left {
  flex: 1 1;
  font-size: 1rem;
}

.footer-left img {
  max-width: 220px;
  padding-bottom: 20px;
}

/* Footer Middle Section */
.footer-middle {
  flex: 1 1;
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: rgb(255 255 255);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: rgb(227 6 19);
}

/* Footer Right Section */
.footer-right {
  flex: 1 1;
  max-width: 350px;
}

.footer-right h6 {
  margin-top: 0;
  font-size: 1.05rem;
  font-weight: bold;
}

.footer-right p {
  margin-bottom: 15px;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 15px;
}

.social-icons a.btn {
  border: 1px solid black;
}

.social-icons a:hover.btn {
  border: 1px solid var(--main-red);
}

.social-icons img {
  max-height: 30px;
}

#container {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#pageFrame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#bodyContent {
  flex-grow: 1;
  width: 100%;
}

#bodyContent section {
  padding: 60px 20px;
  text-align: center;
}

/* ---------------------------------------------------------------------------
   1.7 Utility Classes
   --------------------------------------------------------------------------- */
.pull-left {
  float: left !important;
}

.pull-right {
  float: right !important;
}

.noWrap {
  white-space: nowrap;
}

.noMargin {
  margin: 0;
}

.noPadding {
  padding: 0;
}

.center {
  margin: 0 auto;
}

.text-center table {
  margin: 0 auto;
}

.hide {
  visibility: collapse;
  height: 0px;
  width: 0px;
}

.hidden {
  display: none;
}

.popup-visible {
  display: block;
}

.spacerTop {
  margin-top: 20px !important;
}

.spacerBottom {
  margin-bottom: 20px !important;
}

.lightGrey {
  background-color: rgb(238 238 238);
}

.darkGrey {
  background-color: rgb(154 154 154);
  color: rgb(238 238 238);
}

.darkGrey a {
  color: rgb(238 238 238);
}

.searchHighlight {
  background-color: rgb(255 137 139);
}

/* ---------------------------------------------------------------------------
   1.8 Form Elements Base
   --------------------------------------------------------------------------- */
input[readonly],
select[readonly],
textarea[readonly] {
  background-color: rgb(221 221 221);
}

button {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  padding: 0px 10px;
  margin: 0px;
}

button i {
  font-size: 24px;
}

/* Search Form */
.search-form {
  position: relative;
  margin: 0 auto;
}

.search-form input:focus + button,
.search-form input:focus ~ button {
  background-color: transparent !important;
  color: var(--main-black);
}

/* Form Control Base */
.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgb(73 80 87);
  background-color: rgb(255 255 255);
  background-clip: padding-box;
  border: 1px solid rgb(206 212 218);
  border-radius: 0.25rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

/* ---------------------------------------------------------------------------
   1.9 Grid & Flexbox Utilities
   --------------------------------------------------------------------------- */
.row {
  row-gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.flexBoxLeftAlign {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.flexBoxLeftAlign > div {
  min-width: 200px;
  float: left;
}

.flexBoxCenterAlign {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.flexBoxCenterAlign h1,
.flexBoxCenterAlign h2,
.flexBoxCenterAlign h3,
.flexBoxCenterAlign h4,
.flexBoxCenterAlign h5 {
  flex-basis: 100%;
}

.flexGrow > div {
  float: left;
  flex-grow: 1;
}

.flexHelper {
  display: flex;
  justify-content: center;
  align-items: center;
}

div[style*="background-image"] {
  background-size: cover;
}

/* ---------------------------------------------------------------------------
   1.10 Container Classes
   --------------------------------------------------------------------------- */
.container-fluid {
  padding-top: 20px;
  max-width: 1536px;
}

.container:has(.card-holder) {
  width: 100%;
  max-width: 100%;
}

/* ==========================================================================
   SECTION 2: COMPONENT STYLES
   Cards, buttons, navigation, forms, and UI components
   ========================================================================== */

/* ---------------------------------------------------------------------------
   2.1 Button Base Styles
   --------------------------------------------------------------------------- */
.btn {
  font-weight: normal;
  background-color: var(--main-black);
  border: none;
  border-radius: 4px;
  font-size: 1em;
  height: 2.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn + .btn {
  margin-left: 4px;
}

.btn-short {
  min-width: 250px;
}

.btn-long {
  min-width: 450px;
}

/* Button Variants */
.btn-default,
.btn-default:visited {
  color: var(--main-red);
  border-color: var(--main-red);
}

.btn-default:active,
.btn-default:focus,
.btn-default:hover {
  color: rgb(244 244 244);
  background-color: var(--main-red);
  border-color: var(--main-red);
}

.btn-primary,
.btn-primary:visited {
  color: white;
  background-color: var(--main-red);
  border-color: var(--main-red);
}

.btn-primary:active,
.btn.active,
:not(.btn-check) + .btn-primary:active,
.btn:first-child:active,
.btn-primary:focus,
.btn-primary:hover {
  color: var(--main-white);
  background-color: var(--main-black);
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  color: var(--bs-btn-disabled-color);
  pointer-events: none;
  background-color: var(--bs-btn-disabled-bg);
  border-color: var(--bs-btn-disabled-border-color);
  opacity: var(--bs-btn-disabled-opacity);
}

.btn-default-red,
.btn-default-red:visited {
  color: var(--main-red);
  background-color: rgb(244 244 244);
  border-color: var(--main-red);
}

.btn-default-red:active,
.btn-default-red:focus,
.btn-default-red:hover {
  color: rgb(244 244 244);
  background-color: var(--main-red);
  border-color: var(--main-red);
}

.btn-accent,
.btn-accent:visited {
  color: rgb(96 96 96);
  border-color: rgb(96 96 96);
  background-color: rgb(244 244 244);
}

.btn-accent:active,
.btn-accent:focus,
.btn-accent:hover {
  color: rgb(244 244 244);
  background-color: rgb(96 96 96);
  border-color: rgb(96 96 96);
}

.btn-secondary,
.btn-secondary:visited {
  color: var(--main-white);
  background-color: var(--main-black);
  border-color: rgb(96 96 96);
}

.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:hover {
  background-color: var(--main-red);
}

.btn-red {
  background-color: var(--main-red);
  color: rgb(255 255 255);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  margin: 0 auto;
}

.btn-red:hover {
  background-color: rgb(4 0 0) !important;
  color: rgb(255 255 255);
}

/* ---------------------------------------------------------------------------
   2.2 Card Components
   --------------------------------------------------------------------------- */
.cardHolder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 20px;
  row-gap: 20px;
}

.card-holder {
  display: flex;
  gap: 20px;
  max-width: 9999px;
  margin: 0 auto;
  padding: 0 30px;
}

.card {
  width: 300px;
  box-shadow: 3px 3px 10px rgb(0 0 0 / 20%);
  flex-grow: 1;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.cardHolder .card {
  margin: 0 auto;
}

.card-holder .card {
  flex-grow: 0;
}

.card:hover {
  box-shadow: -1px -1px 10px rgb(0 0 0 / 20%);
}

.card-text {
  text-align: left;
}

.card-body {
  flex-grow: 0;
}

/* CTA Cards */
#cta-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px auto;
}

.cta-card {
  flex: 1 1 350px;
  padding: 30px;
  background-color: rgb(238 238 238);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  align-items: center;
}

.cta-card > h3 {
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.cta-card > h2 {
  color: var(--main-white);
}

/* ---------------------------------------------------------------------------
   2.3 Header & Navigation
   --------------------------------------------------------------------------- */
header,
.pageHeader {
  background-color: white;
  border-bottom: 1px solid var(--main-red);
}

.realHeader {
  position: sticky;
  top: 0;
  z-index: 102;
}

.appbar {
  background-color: var(--main-red);
}

.fixed-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: var(--main-red);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  padding-right: 20px;
  min-width: 410px;
  font-size: 14px;
  font-weight: 400;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
  transition: all 0.3s ease;
}

.fixed-header-spacer {
  min-width: 250px; /* Approximate button width */
  flex-shrink: 1;
}

.fixed-header .top-header p {
  margin: 0;
  padding: 0;
}

.fixed-header .top-subscribe a {
  text-decoration: none;
}

.fixed-header .top-subscribe:hover {
  background-color: rgb(51 51 51);
}

/* Shrink header slightly when scrolled */
html.scrolled .fixed-header {
  padding: 6px 20px;
  font-size: 13px;
}

.top-header {
  fill: white;
  color: white;
  padding: 1px 20px;
  font-size: 12px;
  text-align: center;
}

.top-header ul {
  margin: 0;
  padding: 0;
}

.top-header li {
  margin: 0 5px;
  padding: 0;
}

.top-header a {
  color: white;
}

.top-header p {
  margin: 10px 0;
}

.top-subscribe {
  min-width: 250px;
  text-align: center;
  padding: 0 20px;
  line-height: 2.2rem;
}

.top-subscribe a {
  color: var(--main-white);
}

.top-header-left {
  float: left;
}

.top-header-right {
  float: right;
}

.subscribe-btn:hover {
  border: 1px solid white;
}

.topHeaderAccountInfo {
  font-size: 0.8rem;
  line-height: 0.9rem;
}

/* Top Header Logo */
.topHeaderLogo {
  z-index: 1000;
  background-color: white;
}

.topHeaderLogo a {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Top Header Search */
.topHeaderSearch {
  flex: 1;
  margin: 0 5px;
  position: relative;
}

.topHeaderSearch input {
  border: none;
  height: 45px;
  background-color: rgb(230 228 225);
  border-radius: 0;
}

.topHeaderSearch button {
  border: none;
  position: absolute;
  background-color: rgb(230 228 225);
  top: 5px;
  right: 10px;
  width: 40px;
  height: 30px;
}

.topHeaderSearch button i {
  color: var(--main-color);
  font-size: 36px;
  line-height: 36px;
}

/* Top Header Actions */
.topHeaderActions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

/* Top Header Display Name */
.topHeaderDisplayName {
  position: relative;
  text-align: center;
  color: var(--main-black);
}

.topHeaderButton {
  position: relative;
}

/* Top Header Cart */
.topHeaderCart {
  position: relative;
}

.topHeaderCart a {
  display: block;
  padding: 6px;
  position: relative;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.accountIcon::before {
  display: inline-block;
  font-family: Material Symbols Outlined;
  content: "\f02e";
  font-size: 24px;
  margin-right: 10px;
}

.cartIcon::before {
  display: inline-block;
  font-family: Material Symbols Outlined;
  content: "\e8cc";
  font-size: 24px;
  margin-right: 10px;
}
.orderHistoryIcon::before {
  display: inline-block;
  font-family: Material Symbols Outlined;
  content: "\ef6e";
  font-size: 24px;
  margin-right: 10px;
}

/* Mini Cart Count Badge */
.minicart_count {
  top: 0;
  right: 0;
  position: absolute;
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 50%;
  color: rgb(255 255 255);
  font-weight: 500;
  background-color: rgb(51 51 51);
  line-height: 10px;
  text-align: center;
  padding: 5px 0;
}

/* Page Header Section Menu */
.pageHeader_sectionMenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Page Header Top */
.pageHeader_top {
  display: flex;
  justify-content: space-between;
  height: 85px;
  margin: 0 auto;
  align-items: center;
  z-index: 100;
  gap: 20px;
}

.pageHeader_container {
  display: block;
  background-color: rgb(255 255 255);
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 8px;
}

.pageHeader_container > div {
  background-color: white;
  margin-bottom: 0;
}

.pageHeader_sectionMenu {
  padding: 0 0;
}

.header-spacer {
  height: 103px;
}

.header-block {
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
  margin-top: 0;
}

.header-block-hero {
  width: 100%;
  overflow: hidden;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgb(204 204 204);
}

.header-block-hero img {
  width: 100%;
  height: auto;
  max-height: 400px;
  vertical-align: top;
  object-fit: contain;
}

.header-block-title {
  font-size: 24pt;
}

.header-block-title > span {
  font-weight: bold;
}

/* Sterling Header Nav */
.sterlingHeader {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: auto;
}

.sterlingHeader li {
  display: table-cell;
  padding: 20px;
  height: 100%;
  color: rgb(96 96 96);
}

.sterlingHeader li a {
  display: block;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: rgb(96 96 96);
}

.sterlingHeader li a div {
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
  vertical-align: middle;
  font-size: 19px;
  font-weight: bold;
  font-stretch: condensed;
  width: 100%;
  height: 100%;
  line-height: normal;
}

.sterlingHeader li:last-child div {
  border-right: none;
}

.sterlingHeader li:first-child div {
  border-left: none;
}

.sterlingHeaderAccent {
  width: 100%;
  min-height: 22px;
  background-color: var(--main-red);
  margin-bottom: 14px;
  color: white;
  font-size: 12px;
  line-height: 22px;
  padding-left: 5px;
}

.sterlingHeaderAccent a {
  color: white;
}

.sterlingHeaderAccent a:hover {
  color: black;
}

.sterlingHeaderSelected {
  background-color: var(--main-red);
}

.sterlingHeaderSelected:hover {
  background-color: var(--main-red) !important;
}

/* Top Menus */
.topMenus {
  display: flex;
  height: 81px;
  font-size: 19px;
  font-weight: bold;
  line-height: 22px;
}

.topMenus ul {
  list-style-type: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.topMenuLeft {
  text-align: center;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topMenuRight {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Menu */
.mainMenu {
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-content: space-evenly;
  margin: 0;
  padding: 0;
  gap: 60px;
  list-style: none;
}

.mainMenu > li {
  padding: 0;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  align-self: flex-start;
}

.mainMenu > li a {
  align-content: center;
  display: flex;
}

.mainMenu > li > a {
  padding: 0 2px;
}

.mainMenu > li:hover,
.mainMenu > li:hover a:hover,
.mainMenu > li:hover .headerMenuItem {
  color: var(--main-red);
  text-decoration: none;
}

.mainMenu div {
  text-align: center;
}

.specialMenuBtn {
  background-color: var(--main-red);
  color: white;
  padding: 0 2rem !important;
  border-radius: 8px;
}

.mainMenu > li > .specialMenuBtn:hover,
.specialMenuBtn:hover {
  background-color: var(--main-black);
  color: white !important;
}

/* Hamburger Menu */
#menuToggle {
  position: relative;
  display: none;
  visibility: collapse;

  user-select: none;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background-color: rgb(93 93 93);
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition:
    transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background-color: rgb(35 35 35);
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menu {
  position: absolute;

  top: 65px;
  bottom: 0;
  left: -25px;
  width: 300px;
  padding: 0 0 0 0;
  background-color: rgb(237 237 237);
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-130%, 0);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  z-index: 101;
}

#menu ul {
  width: 300px;
  background-color: rgb(237 237 237);
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#menu li {
  padding: 10px 20px;
  font-size: 22px;
  border-bottom: 1px solid lightgray;
}

#menuToggle input:checked ~ #menu {
  transform: none;
}

/* Logo */
#sterlingLogo,
.sterlingLogo {
  margin-bottom: 0;
  margin-left: 0;
  height: 50px;
  object-fit: contain;
}

.logoChunkLeft {
  display: inline-block;
  vertical-align: top;
}

.logoChunkCenter {
  display: inline-block;
  width: 100px;
  font-size: 0.6em;
  vertical-align: top;
}

.logoChunkRight {
  display: inline-block;
  vertical-align: top;
}

/* Language Picker */
.languagePicker {
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.languagePicker a {
  color: white;
}

.selectedlang {
  color: white;
  font-weight: bold;
}

.text-white a {
  color: white;
}

/* Dropdown Menus */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 25px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--main-grey-light);
  min-width: 250px;
  box-shadow: 0 8px 16px 0 rgb(0 0 0 / 0.2);
  z-index: 9999;
  text-align: left !important;
  padding-top: 5px;
  border: 1px solid var(--main-grey);
}

.dropdown-content a {
  padding-bottom: 12px;
  padding-left: 5px;
  background-color: var(--main-grey-light);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ---------------------------------------------------------------------------
   2.4 Hero & Carousel Components
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  max-height: 450px;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: left;
  padding-left: 5%;
}

.hero-text {
  color: white;
  max-width: 500px;
  background-color: rgb(255 255 255 / 0.7);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  text-align: center;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-transform: none;
  text-align: center;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(240 78 35);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: rgb(208 61 27);
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background-color: rgb(221 221 221);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  min-width: 100%;
  transition:
    opacity 0.6s ease-in-out,
    transform 0.1s ease;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  pointer-events: none;
  background-position: 70% center !important;
  background-size: cover !important;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.hero-slide_content h1 {
  margin-bottom: 10px;
  text-align: left;
}

.hero-slide_content p {
  max-width: 40%;
  margin-bottom: 20px;
}

.hero-slide_content {
  width: 100%;
  text-align: left;
}

/* ---------------------------------------------------------------------------
   Hero slide variant: "Offering more than you know"
   Banner image is 2576 x 470 (ratio 5.48:1). Its left ~32.4% is plain white
   (up to the red diagonal), and the headline sits centred in that white area.
   The image is anchored LEFT so the white column + headline never get cropped;
   on narrower screens the photo is trimmed from the RIGHT instead.
   --------------------------------------------------------------------------- */
.hero-carousel {
  --hero-h: 300px;              /* keep in sync with .hero-carousel height above */
}

.hero-offer_title {
  margin: 0;
  color: var(--main-black);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-offer_line {
  display: block;
  font-family: Aptos, sans-serif;
  font-weight: normal;
}

.hero-offer_line--strong {
  font-family: AptosBold, sans-serif;
  font-weight: bold;
}

/* the short red rule under the headline */
.hero-offer_title::after {
  content: "";
  display: block;
  width: 26%;
  min-width: 60px;
  height: 4px;
  margin-top: 0.45em;
  background-color: var(--main-red);
}

/* "Shop All Products" button under the red rule */
.hero-offer_btn {
  margin-top: 1.25rem;
  white-space: nowrap;
}

@media (min-width: 889px) {
  .hero-slide.hero-slide--offer {
    padding: 0;
    background-color: rgb(255 255 255);
    background-position: left center !important;
    background-size: cover !important;
  }

  /* Text column = the white part of the image.
     - wide screens: image is scaled to the slide width, so 32.4% of the slide
     - narrower: image is scaled to the slide height (300px * 5.48 = 1644px wide),
       so the white part is a fixed 1644px * 0.324 = ~533px                    */
  .hero-slide--offer .hero-slide_content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: max(32.4%, calc(var(--hero-h) * 2576 / 470 * 0.324));
    padding: 0 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    container-type: inline-size;   /* lets the font scale with the column */
  }

  .hero-slide--offer .hero-offer_title {
    font-size: 2.75rem;                         /* fallback for older browsers */
    font-size: clamp(1.75rem, 9.6cqi, 5rem);    /* ~matches the mock-up proportions */
  }
}

@media (max-width: 888px) {
  /* Small screens: behave like the other slides (white card at the bottom),
     and slide the photo over so the cashier is in frame. */
  .hero-slide.hero-slide--offer {
    background-position: 62% center !important;
  }

  .hero-slide--offer .hero-offer_title {
    font-size: 1.6rem;
  }

  .hero-slide--offer .hero-offer_btn {
    margin-top: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-slide--offer .hero-offer_title {
    font-size: 1.4rem;
  }
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.carousel-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: rgb(255 255 255);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots span.active {
  background-color: var(--main-black);
}

.carousel-dots span:hover {
  background-color: rgb(136 136 136);
}

.carousel-dots span.active:hover {
  background-color: var(--main-black);
}

/* Flickity Carousel */
.carousel {
  height: 100%;
  background-color: white;
}

.flickity-page-dots {
  bottom: 6px;
  opacity: 0.8;
}

.flickity-page-dots .dot {
  height: 4px;
  width: 25px;
  margin: 0 5px;
  border-radius: 2px;
}

.flickity-button {
  background-color: transparent;
}

.flickity-button:hover {
  background-color: rgb(255 153 0);
}

.flickity-prev-next-button {
  width: 30px;
  height: 30px;
  border-radius: 5px;
}

.flickity-button-icon {
  fill: gray;
}

.flickity-prev-next-button.previous {
  left: 0;
}

.flickity-prev-next-button.next {
  right: 0;
}

.carousel-cell {
  width: 100%;
  height: 180px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel.is-fullscreen .carousel-cell {
  height: 100%;
}

.carousel.is-fullscreen .flickity-prev-next-button,
.carousel.is-fullscreen .flickity-fullscreen-button {
  height: 100px;
  width: 100px;
}

.carousel.is-fullscreen .flickity-fullscreen-button .flickity-button-icon {
  position: absolute;
  width: 80px;
  height: 80px;
  left: 10px;
  top: 10px;
}

.carousel-cell img {
  display: block;
  max-height: 100%;
  max-width: 100%;
}

.flickity-enabled:focus .flickity-viewport {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

.flickity-enabled.is-fullscreen {
  z-index: 9999;
}

/* ---------------------------------------------------------------------------
   2.5 Product Components
   --------------------------------------------------------------------------- */
.productHeading {
  font-weight: bold;
  text-transform: none;
  color: var(--main-red);
  font-size: 18pt;
  text-align: center;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.productContainer {
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
}

.productContainer h3,
.productContainer h2,
.productContainer h1,
.productContainer h4 {
  text-align: left;
}

.productDescription {
  font-size: 20px;
  font-weight: bold;
  margin-top: 15px;
}

.productMenuButton {
  height: 48px;
  margin: 0px;
  background-color: var(--main-red);
  border-bottom: 1px solid rgb(121 213 253);
  color: white;
  text-align: center;
  vertical-align: middle;
  font-size: 19px;
  font-weight: bold;
  font-stretch: condensed;
  text-shadow: 0px 0px 2px rgb(0 0 0);
  line-height: 48px;
  cursor: pointer;
}

.productMenuButton:hover {
  background-color: rgb(96 182 230);
}

.productMenuButton i {
  font-size: 19px;
  line-height: 48px;
}

/* Product Tables */
.productTable {
  border-collapse: collapse;
  border-spacing: 0;
  text-align: center;
  margin-left: 15px;
  margin-right: 15px;
}

.productTable td {
  text-align: left;
  font-weight: normal;
  padding-left: 3px;
  padding-right: 3px;
}

.productTable th {
  text-align: left;
  font-weight: bold;
  padding-left: 3px;
  padding-right: 3px;
}

.productTable td h3 {
  text-align: center;
}

.productTable tr:nth-child(odd) {
  background-color: rgb(239 240 241);
}

.productTable tr:first-child {
  background-color: white;
}

.productTable tr:first-child td {
  text-align: center;
}

/* Full Size Product Display */
.fullSizeProduct {
  width: 100%;
  min-height: 380px;
  vertical-align: middle;
  text-align: center;
  position: relative;
}

.fullSizeProduct img {
  max-width: 100%;
  width: auto;
  max-height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0 auto;
}

/* Thumbnails */
.thumbnail {
  height: 60px;
  width: 60px;
}

.thumbnailHolder {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style-type: none;
  text-align: center;
  padding: 0;
  margin: 0 auto;
  margin-top: 10px;
}

.thumbnailHolder li {
  height: 62px;
  width: 62px;
  margin-right: 3px;
  position: relative;
  cursor: pointer;
  border: 1px solid rgb(204 204 204);
}

.thumbnailHolder li img {
  max-height: 60px;
  max-width: 60px;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Stock Items */
.stockItem {
  padding: 10px;
  position: relative;
  min-width: 240px;
  border: 1px solid rgb(222 220 220);
  background-color: white;
  margin: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stockItemImageHolder {
  height: 220px;
  position: relative;
}

.stockItemImage {
  max-height: 220px;
  width: 100%;
  transform: translate(-50%, -50%);
  background-color: white;
}

.stockItemImage:hover {
  transform: translate(-50%, -50%) scale(2.5);
  border: 1px solid black;
  z-index: 1000;
  border-radius: 10px;
}

.stockItemColourBlock {
  width: 100px;
  height: 100px;
  max-width: 150px;
  max-height: 150px;
  border: 1px solid rgb(229 229 229);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 2px 2px 2px 0px rgb(154 154 154 / 0.6);
}

.stockItemColourBlockCircle {
  border-radius: 50%;
}

.stockItemColourDateBlock {
  width: 80px;
  height: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.stockItemProduct {
  font-weight: bold;
  font-size: 1.3em;
}

.stockItemText {
  max-width: 300px;
}

.stockItemForm {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
}

.stockItemForm div:only-child {
  margin-left: auto;
}

.stockItemForm .btn {
  margin: 0;
}

.stockItemPrice {
  line-height: 35px;
  margin-right: 5px;
  max-width: 120px;
  max-height: 35px;
}

.stockItemPricePromo {
  line-height: 1rem;
  max-height: 2rem;
  overflow: hidden;
}

.stockItemContact {
  margin: 0;
  width: 100%;
  height: 30px;
  max-height: 30px;
}

.stockItemContactWithPrice {
  padding-left: 0px;
  padding-right: 0px;
  height: 30px;
  max-height: 30px;
  margin: 0;
}

.stockItemDescription {
  padding-top: 10px;
}

.stockHeader {
  margin: 0;
  padding: 10px;
}

/* Colour Swatches */
.colourSwatches {
  max-width: 400px;
}

.inkDot {
  width: 30px;
  min-width: unset !important;
  height: 30px;
  border-radius: 30px;
  text-decoration: none;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* ---------------------------------------------------------------------------
   2.6 Price & Form Components
   --------------------------------------------------------------------------- */
.price {
  color: var(--main-red);
  font-weight: bold;
  font-size: 24px;
  text-align: right;
}

.salePrice {
  color: rgb(209 0 116);
  font-weight: 600;
}

.regularPrice {
  color: var(--main-red);
  text-decoration: line-through;
  font-size: 0.9em;
}

.qty {
  text-align: left;
  font-weight: bold;
}

.priceForm {
  display: inline-block;
}

.priceForm table {
  width: 100%;
}

.qty-btn-group {
  height: 30px;
  vertical-align: baseline;
  font-size: 0;
}

.qty-btn-group select {
  vertical-align: bottom;
  box-sizing: border-box;
  height: 30px;
  width: auto;
  font-size: 14px;
  border: 1px solid var(--main-red);
  border-right: none;
  box-shadow:
    0 0 2px rgb(0 0 0 / 0.12),
    0 2px 2px rgb(0 0 0 / 0.2);
}

.qty-btn-group input {
  vertical-align: bottom;
  box-sizing: border-box;
  min-height: 30px;
  height: 30px;
  width: 50px;
  font-size: 18px;
  border: 1px solid var(--main-red);
  border-right: none;
  box-shadow:
    0 0 2px rgb(0 0 0 / 0.12),
    0 2px 2px rgb(0 0 0 / 0.2);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.qty-btn-group button {
  vertical-align: bottom;
  box-sizing: border-box;
  min-height: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  width: 50px;
  min-width: 50px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.checkoutButton {
  width: 600px;
  height: 100px;
  margin: 0 auto;
  display: block;
  margin-top: 30px;
}

/* ---------------------------------------------------------------------------
   2.7 Search Components
   --------------------------------------------------------------------------- */
.search {
  width: 100%;
  position: relative;
  display: flex;
}

.searchTerm {
  width: 100%;
  border: 3px solid rgb(204 204 204);
  border-right: none;
  padding: 10px;
  line-height: 20px;
  border-radius: 30px 0 0 30px;
  outline: none;
  color: rgb(204 204 204);
}

.searchTerm:focus {
  color: black;
}

.searchButton {
  width: 60px;
  height: 46px;
  border: 1px solid rgb(204 204 204);
  background-color: rgb(204 204 204);
  text-align: center;
  color: rgb(255 255 255);
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  font-size: 20px;
}

.wrap {
  width: 260px;
}

/* ---------------------------------------------------------------------------
   2.8 Tables
   --------------------------------------------------------------------------- */
.infoTable {
  border-collapse: collapse;
  border-spacing: 0;
  text-align: center;
  margin: 0 auto;
}

.infoTable td {
  text-align: center;
  border: 3px solid var(--main-red);
  font-weight: bold;
  padding: 2px;
}

.infoTable th {
  text-align: center;
  border: 3px solid var(--main-red);
  color: white;
  font-weight: bold;
  padding: 2px;
}

.infoTable tr {
  border-bottom: 3px solid rgb(238 37 36);
}

.infoTable tr:first-child {
  background-color: var(--main-red);
}

.discountTable {
  border-collapse: collapse;
  border-spacing: 0;
  text-align: center;
  border: 1px solid rgb(82 69 66);
}

.discountTable td {
  text-align: center;
  font-weight: normal;
  padding: 2px;
  border: 1px solid rgb(82 69 66);
}

.discountTable th {
  text-align: center;
  font-weight: bold;
  border: 1px solid rgb(82 69 66);
}

.discountTable tr:nth-child(odd) {
  background-color: rgb(239 240 241);
}

.discountTable tr:first-child {
  background-color: var(--main-red);
  color: white;
  font-weight: bold;
}

.cartDescriptionTable {
  width: 100%;
}

.cartDescriptionTable th {
  color: white;
  background-color: rgb(204 0 0);
  text-align: left;
  vertical-align: top;
}

.cartDescriptionTable tr:first-child th {
  text-align: center;
}

/* ---------------------------------------------------------------------------
   2.9 Modal & Overlay Components
   --------------------------------------------------------------------------- */
.overlay-on {
  overflow: hidden !important;
}

#overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999999;
  background-color: rgb(0 0 0 / 0.2);
  overflow: auto;
}

#mui-overlay {
  display: flex;
}

.modalEl {
  /*position: absolute;
  top: 50%;
  left: 50%;*/
  min-width: 400px;
  min-height: 400px;
  margin: auto;
  padding: 20px;
  text-align: center;
  background-color: rgb(255 255 255);
  border: 1px solid rgb(85 85 85);
  box-shadow: rgb(0 0 0 / 0.5) 0px 0px 10px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.modal-dialog {
  width: 600px;
  margin: auto;
  padding: 20px;
  text-align: center;
  background-color: rgb(255 255 255);
  border: 1px solid rgb(85 85 85);
  box-shadow: rgb(0 0 0 / 0.5) 0px 0px 10px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.modal-content {
  flex-grow: 1;
}

/* ---------------------------------------------------------------------------
   2.10 FAQ Accordion
   --------------------------------------------------------------------------- */
.faq-header {
  display: flex;
  margin: 0;
  cursor: pointer;
  user-select: none;
  border: 0;
  position: relative;
}

.faq-header i {
  position: absolute;
  right: 20px;
}

.faq-body {
  box-sizing: border-box;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.05s ease-out;
  margin-bottom: 7px;
}

.faq-body > div {
  padding: 10px;
  margin: 0;
  background-color: rgb(223 223 223);
}

.faq-body > p {
  padding: 2rem;
  margin: 0px;
}

.faq-header > p:last-of-type {
  margin: 0;
}

/* ---------------------------------------------------------------------------
   2.11 Block Container
   --------------------------------------------------------------------------- */
.blockContainer {
  display: grid;
  justify-content: center;
  flex-wrap: wrap;
  margin: 5px 0;
  align-content: flex-start;
  grid-template-columns: repeat(auto-fit, 350px);
  grid-column-gap: 30px;
}

.blockContainer > div,
.blockContainer > a {
  float: left;
  position: relative;
}

.blockContainer > a {
  display: block;
  background-color: white;
}

.blockContainer > div,
.blockContainer > a > div {
  width: 350px;
  margin-bottom: 5px;
  padding: 10px;
  border: 1px solid rgb(222 220 220);
  background-color: white;
}

.blockContainer > div:hover,
.blockContainer > a > div:hover {
  background-color: rgb(250 250 250);
  border: solid 1px rgb(224 224 224);
}

.blockContainer a:hover {
  text-decoration: none;
}

.blockContainer > a:visited,
.blockContainer > a {
  color: rgb(74 74 74);
}

.blockContainer > div:first-child {
  margin-left: 0;
}

.blockContainer > div:last-child {
  margin-right: 0;
}

.blockContainer > div > a {
  display: block;
  width: 100%;
  padding-bottom: 20px;
}

.blockContainerImageHolder {
  margin: 0 auto;
  vertical-align: middle;
  width: 328px;
  max-height: 328px;
  padding-bottom: 10px;
}

.blockContainerImageHolder img {
  max-width: 328px;
  max-height: 328px;
  display: block;
  margin: 0 auto;
}

.blockContainerBulletList {
  list-style-type: none;
  text-align: left;
  padding-left: 0;
  font-size: 1rem;
  width: 100%;
}

.blockContainer > div h2 {
  text-align: center;
}

.blockContainerHeading {
  font-size: 18px;
  line-height: 18px;
  height: 36px;
  vertical-align: top;
  overflow: hidden;
}

.blockContainerPrice {
  position: absolute;
  bottom: 0;
  font-size: 18px;
  line-height: 18px;
}

.blockContainerText {
  text-align: center;
  padding: 5px;
}

/* ---------------------------------------------------------------------------
   2.12 Tile Container
   --------------------------------------------------------------------------- */
.tileContainer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.tileContainer span {
  height: 182px;
  width: 267px;
  margin-top: 14px;
  display: block;
}

.tileContainer span img {
  height: 182px;
  width: 267px;
}

.tileContainer span.doubleWide,
.tileContainer span.doubleWide img {
  width: 548px;
}

.no-flexbox.no-flexboxlegacy .tileContainer span,
.no-flexbox.no-flexboxlegacy .blockContainer span {
  display: inline-block;
}

/* ---------------------------------------------------------------------------
   2.13 Breadcrumbs
   --------------------------------------------------------------------------- */
#breadCrumbs {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#breadCrumbs > li {
  display: inline;
}

/* ---------------------------------------------------------------------------
   2.14 Section Headers & Splash Pages
   --------------------------------------------------------------------------- */
h1.section-header {
  color: white;
  background-color: var(--main-red);
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0;
  text-align: center;
}

.splash h1 {
  color: var(--main-red);
  font-weight: bold;
  margin-bottom: 0;
}

.splash h2 {
  color: rgb(65 64 66);
  font-style: italic;
  margin-top: 0;
}

.splash h3 {
  color: var(--main-red);
  font-weight: bold;
  margin-top: 0;
}

.splash ul {
  padding-left: 20px;
}

/* Selection Page */
.selectionPage ul {
  list-style-type: none;
  text-align: center;
  padding-left: 0;
  font-size: 1rem;
  margin: 0px;
}

.selectionPage h2 {
  font-size: 19px;
  text-align: center;
  color: var(--main-red);
  font-weight: bold;
  font-stretch: condensed;
  margin: 0px;
}

.selectionPage h3 {
  color: var(--main-red);
  font-weight: bold;
  margin: 0px;
}

.selectionPage .productImage {
  width: auto;
  height: auto;
  max-width: 130px;
  max-height: 200px;
  vertical-align: top;
}

.selectionPage a:hover {
  text-decoration: none;
}

.selectionPage .exampleImage {
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 100px;
  vertical-align: top;
}

.selectionPageItem {
  margin: 7px;
}

/* ---------------------------------------------------------------------------
   2.15 Size Box Components
   --------------------------------------------------------------------------- */
.size-box {
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.size-box-contents {
  flex-shrink: 1;
  flex-grow: 1;
}

.size-box h3 {
  color: var(--main-red);
}

.size-box-product-outline {
  background-color: rgb(229 229 229);
  border: 3px solid var(--main-red);
  box-sizing: content-box;
  position: relative;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.size-box-product-outline-round {
  background-color: rgb(229 229 229);
  text-align: center;
  background-repeat: no-repeat;
  vertical-align: middle;
  border-radius: 50%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.size-box-dater-box {
  display: inline-block;
  height: 0.25in;
  width: 1in;
  background-color: white;
  line-height: 0.25in;
  font-family:
    Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco,
    "Courier New", monospace;
  font-size: 14px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-wrap: unset;
  white-space: nowrap;
  overflow: hidden;
}

.size-box-product-info {
  text-align: left;
  max-width: 250px;
}

.sizeSelectionContainer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.sizeSelectionContainer > div {
  padding: 10px;
  display: flex;
}

.sizeSelectionContainer h3 {
  color: var(--main-red);
}

.stamp-size {
  text-align: center;
  vertical-align: middle;
  background-color: rgb(229 229 229);
  border: 3px solid rgb(51 51 51);
  font-size: 14px;
}

.stamp-size-round {
  border-radius: 50%;
}

.stamp-size-dater {
  display: inline-block;
  height: 0.35in;
  width: 1in;
  background-color: white;
  line-height: 0.35in;
  font-family:
    Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco,
    "Courier New", monospace;
  zoom: 1;
}

/* ---------------------------------------------------------------------------
   2.16 Sterling Tab Selector
   --------------------------------------------------------------------------- */
.sterlingTabSelector {
  height: 32px;
  background-color: rgb(238 238 238);
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-left: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.sterlingTabSelector li {
  color: rgb(39 39 39);
  text-align: center;
  vertical-align: middle;
  font-size: 19px;
  font-weight: bold;
  font-stretch: condensed;
  width: 100%;
  height: 100%;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
}

.sterlingTabSelector li div {
  border-right: 1px solid rgb(193 193 193);
  border-left: 1px solid rgb(193 193 193);
  width: 100%;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sterlingTabSelector li:last-child div {
  border-right: none;
}

.sterlingTabSelector li:first-child div {
  border-left: none;
}

.sterlingTabSelector li:hover {
  background-color: rgb(96 182 230);
}

.sterlingTabSelector li a {
  display: block;
  height: 100%;
  width: 100%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sterlingTabSelector li a:hover {
  text-decoration: none;
}

.sterlingTabSelectorAccent {
  width: 100%;
  min-height: 22px;
  background-color: rgb(154 154 154);
  margin-bottom: 18px;
  color: white;
  font-size: 18px;
  line-height: auto;
  margin: 0px;
  padding: 0px 5px;
}

.sterlingTabSelectorAccent a {
  color: white;
}

.sterlingTabSelectorAccent span {
  margin-left: 5px;
  margin-right: 5px;
}

.sterlingTabSelectorAccent a:hover {
  color: black;
}

.sterlingTabSelectorSelected {
  background-color: rgb(154 154 154);
}

.sterlingTabSelectorSelected:hover {
  background-color: rgb(154 154 154) !important;
}

/* ---------------------------------------------------------------------------
   2.17 Input Components
   --------------------------------------------------------------------------- */
.inputLabelContainer {
  display: inline-block;
  margin-bottom: 10px;
  vertical-align: middle;
  font-size: 0;
  white-space: nowrap;
}

.inputLabel {
  display: inline-block;
  width: auto;
  height: 33px;
  min-width: 16px;
  padding: 5px;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
  text-shadow: 0 1px 0 rgb(255 255 255);
  background-color: rgb(238 238 238);
  border: 1px solid rgb(204 204 204);
  border-radius: 4px 0 0 4px;
  margin-right: -1px;
  vertical-align: top;
}

.inputWithLabel {
  position: relative;
  background-color: rgb(255 255 255);
  border: 1px solid rgb(204 204 204);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 0.075);
  transition:
    border linear 0.2s,
    box-shadow linear 0.2s;
  display: inline-block;
  padding: 4px 6px;
  color: rgb(85 85 85);
  vertical-align: top;
  width: 302px;
  height: 33px;
  margin-bottom: -1px;
}

.inputLabelContainer i.material-icons {
  font-size: 21px;
}

.hideInput {
  position: absolute;
  height: 0.1px;
  width: 0.1px;
  border: none;
  margin: 0;
  padding: 0;
}

/* ---------------------------------------------------------------------------
   2.18 Template & Proof Components
   --------------------------------------------------------------------------- */
.templateContainer {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.templateListPage {
  background-color: rgb(221 221 221);
}

.templateThumbnailMulti {
  z-index: 2;
  position: absolute;
  top: 0px;
  left: 0px;
  margin: 0px;
  max-height: 460px;
  max-width: 460px;
  background-color: white;
  border: 1px solid lightgrey;
}

.templateThumbnail {
  position: relative;
  max-height: 460px;
  max-width: 460px;
  box-shadow: rgb(0 0 0 / 0.5) 0px 0px 10px 0px;
  background-color: white;
  border: 1px solid lightgrey;
}

.confirmationProofMulti {
  z-index: 2;
  position: absolute;
  top: 0px;
  left: 0px;
  margin: 0px;
  max-height: 460px;
  max-width: 460px;
  box-shadow: rgb(0 0 0 / 0.5) 0px 0px 10px 0px;
  background-color: white;
  border: 1px solid lightgrey;
}

.confirmationProof {
  position: relative;
  max-height: 460px;
  max-width: 460px;
  box-shadow: rgb(0 0 0 / 0.5) 0px 0px 10px 0px;
  background-color: white;
  border: 1px solid lightgrey;
}

.previewImageContainerMulti {
  position: relative;
  height: 500px;
  width: 500px;
  margin: 10px;
}

.previewImageContainer {
  position: relative;
  max-height: 460px;
  max-width: 460px;
  margin: 10px;
  text-align: center;
}

.confirmationSpecs {
  text-align: center;
  margin: 10px;
}

.designLink {
  max-width: 300px;
  font-size: 18px;
  font-weight: bold;
}

.designLinkInfo {
  max-width: 300px;
  font-size: 15px;
}

.designerSubmitChunk {
  align-items: center;
}

/* ---------------------------------------------------------------------------
   2.19 Miscellaneous Components
   --------------------------------------------------------------------------- */
.noticeBox {
  border: 2px solid red;
  padding: 5px;
  max-width: 300px;
  font-weight: normal;
}

.err {
  border: 3px solid red;
  padding: 5px;
  font-weight: normal;
}

.err th {
  padding-right: 25px;
}

.err td {
  text-align: left;
}

.options {
  text-align: left;
}

.options th {
  padding-right: 25px;
}

.options th,
.options td {
  vertical-align: top;
}

.greyBox {
  border: 3px solid rgb(204 204 204);
}

.promoImage {
  height: 150px;
  max-width: 200px;
}

ul.NoStyle {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.datasheets {
  width: 530px;
}

.datasheets li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-image: url(https://saturn.sterling.ca/cdn/images/Adobe_PDF_file_icon_24x24.png);
  padding-left: 35px;
  background-repeat: no-repeat;
  line-height: 35px;
  background-position: left;
  background-position-x: 5px;
  background-color: rgb(238 238 238);
}

li.pdf {
  background-image: url(https://saturn.sterling.ca/cdn/images/Adobe_PDF_file_icon_24x24.png);
  background-repeat: no-repeat;
}

.datasheets li a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: underline;
}

#MapContainer {
  width: 100%;
  height: 300px;
}

.downArrow {
  background-image: url(/hteng/icons/down-arrow.svg);
  transform: translateY(-50%) rotate(270deg);
  height: 20px;
  width: 20px;
  top: 50%;
}

.menuOpenArrow {
  transform: rotate(0deg) translateY(-50%);
}

.threeChildDivsWide > div {
  width: 350px;
}

.threeSkinnyChildDivsWide > div {
  width: 275px;
}

.notificationMessage {
  border: 3px solid black;
  border-radius: 16px;
  padding: 30px;
}

.loginError {
  border: 3px solid var(--main-red);
  border-radius: 16px;
  padding: 30px;
}

.loginNoticeBanner {
  display: flex;
  padding: 10px;
  justify-content: center;
}

.page-body {
  padding: 10px 100px 10px 100px;
}

.pageBody {
  padding-top: 80px;
}

.anser-page {
  margin-top: 40px;
}

.top-margin-fix:before {
  content: " ";
  display: block;
  width: 100%;
  height: 0.0000001em;
}

/* Accessories */
.accessoryItem {
  display: flex;
  padding: 5px 15px;
}

.accessoryImgHolder {
  height: 100px;
  width: 100px;
  margin-right: 15px;
  display: grid;
  place-content: center;
}

.accessoryImg {
  max-height: 100px;
  max-width: 100px;
}

.accessoryDesc {
  max-width: 300px;
}

/* Address Page */
.addressPage {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
}

.addressHolder {
  border-radius: 25px;
  padding: 20px;
}

.addressHolder .checked {
  background-color: darkgray;
}

/* ---------------------------------------------------------------------------
   2.20 Banner & Promo Elements
   --------------------------------------------------------------------------- */
.introBanner {
  margin-bottom: 14px;
  height: 120px;
  width: 100%;
  background-image: url(/images/Intro-banner.png);
  padding: 15px 75px 20px 250px;
  color: white;
  font-size: 2.6em;
  font-weight: bold;
  font-stretch: condensed;
  line-height: 1rem;
  text-shadow: 0px 0px 2px rgb(0 0 0);
  text-align: center;
}

#verticalHeaderBar {
  height: auto;
  position: fixed;
  top: 100px;
  width: 100%;
  line-height: 40px;
  background-color: rgb(144 144 144);
  vertical-align: middle;
  padding-left: 40px;
  background-image: linear-gradient(
    to right,
    rgb(31 81 50),
    rgb(31 81 50) 9%,
    rgb(32 178 176) 9%,
    rgb(32 178 176) 33%,
    rgb(140 200 0) 33%
  );
  z-index: 100;
}

/* Starburst */
.starburst {
  display: block !important;
  width: 6em !important;
  height: 6em !important;
  transform: rotate(-67.5deg) !important;
  text-align: center !important;
  text-decoration: none !important;
  color: rgb(238 238 238) !important;
  font-weight: bold !important;
  font-family: roboto, sans-serif !important;
  text-shadow: 0 0 5px rgb(0 0 0) !important;
}

.starburst span {
  display: block !important;
  width: 6em !important;
  height: 6em !important;
  background-color: var(--main-red) !important;
  transform: rotate(22.5deg) !important;
  border-radius: 0em !important;
  transition: border-radius 0.2s ease-in !important;
  position: relative !important;
}

.starburst span div {
  position: absolute !important;
  width: 6em !important;
  height: initial !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.starburst:hover {
  background-color: transparent !important;
}

.starburst:hover span {
  color: rgb(255 255 255) !important;
  text-shadow:
    0 0 2px rgb(0 0 0),
    0 0 10px rgb(255 255 255) !important;
  border-radius: 0 !important;
  background-color: var(--main-red) !important;
}

/* Sterling Only Pattern */
.sterlingOnly {
  background-image: linear-gradient(
    45deg,
    rgb(255 105 105) 25%,
    rgb(255 255 255) 25%,
    rgb(255 255 255) 50%,
    rgb(255 105 105) 50%,
    rgb(255 105 105) 75%,
    rgb(255 255 255) 75%,
    rgb(255 255 255) 100%
  );
  background-size: 113.14px 113.14px;
  display: inline-block;
  padding: 20px;
}

.sterlingBody {
  background-image: url("/images/morethanstamps.png");
  background-repeat: no-repeat;
  background-size: 350px;
  background-position: 10px 50px;
  background-color: rgb(238 238 238);
}

#SterlingSlider {
  height: 800px;
}

#SterlingSlider #bgvid {
  width: 100%;
  min-height: 100%;
}

#SterlingSlider h1,
#SterlingSlider h2,
#SterlingSlider h3 {
  padding: 0;
}

.redAndWhite,
.redAndWhite h1,
.redAndWhite h2,
.redAndWhite h3 {
  color: white !important;
  background-color: var(--main-red) !important;
}

/* ---------------------------------------------------------------------------
   2.21 Homepage Sections
   --------------------------------------------------------------------------- */
.homepage-container {
  margin: 0 auto;
}

.homepage-container h3 {
  color: var(--main-white);
}

/* Company Intro */
.company-intro_content {
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  padding: 10px 30px 0 30px;
}

/* Features Section */
.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 10px auto;
  max-width: 1200px;
  position: relative;
}

.feature {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.feature img {
  width: 80px;
  height: 80px;
}

.features::before,
.features::after {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background-color: rgb(204 204 204);
}

.features::before {
  left: calc(33.333% - 1px);
}

.features::after {
  left: calc(66.666% - 1px);
}

/* Shop Section */
.shop-section {
  background-color: rgb(204 204 204);
  color: rgb(255 255 255);
  padding: 50px;
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-section > h2 {
  color: var(--main-white);
}

/* Trusted By Section */
.trusted {
  text-align: center;
  padding: 20px 20px;
}

.trusted-carousel {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.trusted-track {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  animation: scrollInfinite 30s linear infinite;
  will-change: transform;
}

.logo-placeholder {
  width: 280px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
  padding: 2px 0;
}

.logo-placeholder img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.logo-placeholder:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.trusted-carousel:hover .trusted-track {
  animation-play-state: paused;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-96.8%);
  }
}

/* ---------------------------------------------------------------------------
   2.22 Fixed Floating Buttons
   --------------------------------------------------------------------------- */
.feedback-btn,
.top-btn {
  position: fixed;
  right: 0;
  background-color: var(--main-red);
  color: rgb(255 255 255);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  z-index: 99;
}

.feedback-btn {
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  font-size: 16px;
  padding: 18px 3px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 8px 8px 0;
}

.feedback-btn:hover {
  right: 0;
  padding: 20px 10px;
  font-size: 18px;
  box-shadow: 0 8px 25px rgb(0 0 0 / 0.3);
  background-color: var(--main-black);
}

.top-btn {
  bottom: 20px;
  right: 20px;
  writing-mode: horizontal-tb;
  border-radius: 8px;
  padding: 5px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--main-red);
}

.top-btn:hover {
  background-color: var(--main-black);
  border: 1px solid white;
}

/* ---------------------------------------------------------------------------
   2.23 Pop-up & Mailchimp
   --------------------------------------------------------------------------- */
#pop-up {
  z-index: 999;
  position: fixed;
  bottom: 0.8%;
  right: 0.8%;
  width: 90vw;
  max-width: 400px;
  min-width: 280px;
  height: 52%;
  background-color: rgb(248 248 248);
  border-radius: 6px;
  box-sizing: border-box;
  outline: 10px solid rgb(0 0 0 / 0.1);
  transform: translateX(0);
}

#btn-close {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0.8%;
  right: 0.8%;
  margin-right: auto;
  border-radius: 50%;
  border: 2px solid rgb(17 17 17);
  background-color: rgb(248 248 248);
  opacity: 0.8;
  transition: 0.3s ease-out;
}

#btn-close:before,
#btn-close:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: var(--main-red);
  left: 50%;
  top: 50%;
}

#btn-close:after {
  transform: translate(-50%, -50%) rotate(45deg);
}

#btn-close:before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#btn-close:hover,
#btn-close:focus {
  transform: scale(1.15);
  opacity: 1;
}

#mc_embed_shell {
  margin-top: 3%;
}

#mc_embed_signup .button:hover {
  background-color: var(--main-red) !important;
}

#mc_embed_signup {
  margin: 24px auto !important;
}

/* ---------------------------------------------------------------------------
   2.24 Facebook & Social Widgets
   --------------------------------------------------------------------------- */
.fb-page {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* ---------------------------------------------------------------------------
   2.25 Material Icons
   --------------------------------------------------------------------------- */
.material-icons.md-18 {
  font-size: 18px;
}

.material-icons.md-24 {
  font-size: 24px;
}

.material-icons.md-36 {
  font-size: 36px;
}

.material-icons.md-48 {
  font-size: 48px;
}

/* ---------------------------------------------------------------------------
   2.26 Login & Landing Pages
   --------------------------------------------------------------------------- */
.narrow {
  width: 800px;
  display: flex;
  flex-direction: column;
}

.landingPageImage {
  /* max-width: 800px; */
  align-self: center;
  width: 100%;
}

.loginSplashContent {
  text-align: center;
}

.loginSplashContent p,
.loginSplashContent ul,
.loginSplashContent h2 {
  text-align: left;
}

.loginActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 30px 0;
}

.loginActionCard {
  flex: 1 0 calc(50% - 0.75rem);
  padding: 0.6rem 1rem;
  border: 3px solid var(--main-red);
  cursor: pointer;
  min-height: 200px;
  border-radius: 20px;
  position: relative;
}

.loginActionText {
  max-height: 200px;
  max-width: 375px;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem;
}

.loginActionText ul {
  padding: 20px;
  margin: 0;
}

.loginLandingActionName {
  font-weight: bold;
}

/* ---------------------------------------------------------------------------
   2.21 Cart & Checkout Components
   --------------------------------------------------------------------------- */
/* Cart Page Links */

/* Promo Block */
.promo-block {
  background-color: var(--main-white);
  padding: 15px 100px;
  margin: 0 auto;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  max-width: 800px;
}

.free-delivery::before {
  content: "";
  display: inline-block;
  font-family: Material Symbols Outlined;
  content: "shopping_cart";
  font-size: 24px;
  margin-right: 10px;
}

/* Cart Layout */
.main-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cart-items {
  flex: 7;
  background: white;
  padding: 20px;
  border-radius: 5px;
}

/* Order Summary */
.order-summary {
  flex: 3;
  background: white;
  padding: 20px;
  border-radius: 20px;
  border: 4px solid rgb(229 228 225);
  max-height: 450px;
  box-sizing: border-box;
}

/* Cart Table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgb(221 221 221);
}

.product-col {
  width: 70%;
}

.quantity-col {
  width: 10%;
}

.total-col {
  width: 20%;
}

/* Product Image */
.product-image {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  cursor: pointer;
  height: 100px;
  width: 100px;
  margin-right: 30px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: rgb(229 228 225);
  padding: 5px;
}

/* Image Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50px;
  transform: translateY(-50%);
  /*background: rgb(0 0 0 / 0.5);*/
  background-color: white;
  color: rgb(51 51 51);
  border: 1px solid rgb(229 228 225);
  border-radius: 2px;
  cursor: pointer;
  padding: 5px;
}

.nav-arrow:hover {
  color: rgb(51 51 51);
}

.left-arrow {
  left: -18px;
}

.right-arrow {
  right: -19px;
}

/* Image Magnifier */
.magnifier {
  position: absolute;
  bottom: 0;
  right: -2px;
  color: rgb(127 127 127 / 0.5);
  border: none;
  cursor: pointer;
  padding: 3px;
  font-size: 10px;
}

/* Product Details */
.product-details {
  margin-left: 0;
  display: inline-block;
  vertical-align: top;
  max-width: 350px;
}

/* Edit/Copy Buttons */
.edit-copy {
  margin-top: 5px;
}

.edit-copy button {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
}

/* Quantity Controls */
.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgb(229 228 225);
}

.quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: rgb(229 228 225);
  font-size: 23px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  user-select: none;
}

.quantity-btn:hover {
  color: rgb(51 51 51);
}

.quantity-input {
  width: 40px;
  text-align: center;
  border: none;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type="number"] {
  -moz-appearance: textfield;
}

select.quantity-input {
  width: auto;
  min-width: 60px;
  padding: 5px 8px;
  /*border: 2px solid rgb(229 228 225);*/
  border-radius: 4px;
  background: white;
  cursor: pointer;
  font-size: 14px;
}

select.quantity-input:hover {
  border-color: rgb(204 204 204);
}

/* Delete Button */
.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--main-red);
  display: inline-flex;
  align-items: center;
}

/* Summary Rows */
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1px;
}

.total-due {
  font-weight: bold;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 40px;
}

/* Promo Code Section */
.promo-section {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.promo-input {
  flex: 1;
  padding: 8px;
}

.apply-btn {
  background: rgb(0 0 0);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
}

.apply-btn:hover {
  background-color: rgb(51 51 51);
  color: white;
}

/* Checkout Button */
.checkout-btn {
  background: var(--main-red);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 5px;
}

/* Delete All Button */
.delete-all {
  background: var(--main-red);
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
  border-radius: 5px;
}

/* Full Screen Image Viewer */
.full-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.full-screen img {
  max-width: 70%;
  max-height: 70%;
}

.full-screen.active {
  display: flex;
}

.full-screen.active img {
  height: 100%;
  object-fit: none;
}

/* Material Symbols Alignment */
.material-symbols-outlined {
  vertical-align: middle;
}

/* moved from checkout.cfm */
.promo-block {
  background-color: #d4edda;
  color: #155724;
}
.checkout-page {
  padding: 30px 0;
}
.checkout-main {
  padding-right: 30px;
}
.order-summary-sidebar {
  background: white;
  padding: 20px;
  border-radius: 20px;
  border: 4px solid rgb(229 228 225);

  /*background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 20px;
	*/
  position: sticky;
  top: 20px;
}
.checkout-section {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}
.checkout-section-header {
  background: var(--main-red);
  color: #fff;
  padding: 8px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-section-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--main-white);
}
.checkout-section-header .step-badge {
  background: #fff;
  color: var(--main-red);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 10px;
}
.checkout-section-header .check-icon {
  display: none;
  color: #fff;
  font-size: 1.3rem;
}
.checkout-section.completed .checkout-section-header {
  /* background: #28a745; */
}
.checkout-section.completed .check-icon {
  display: inline;
}
.checkout-section-body {
  padding: 20px;
}
.checkout-section.collapsed .checkout-section-body {
  display: none;
}
.checkout-section-summary {
  padding: 10px 20px;
  background: #f0f0f0;
  font-size: 0.9rem;
  display: none;
}
.checkout-section.collapsed .checkout-section-summary {
  display: block;
}
.saved-address-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dee2e6;
}
.saved-address-pill {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
  background: #fff;
}
.saved-address-pill:hover {
  border-color: var(--main-red);
}
.saved-address-pill.active {
  border-color: var(--main-red);
  background: #fff5f5;
}
.saved-address-pill .addr-name {
  font-weight: bold;
}
.saved-address-pill .addr-detail {
  color: #666;
  font-size: 0.8rem;
}
.new-address-pill {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}
.new-address-pill:hover {
  border-color: var(--main-red);
  color: var(--main-red);
}
.new-address-pill.active {
  border-color: var(--main-red);
  background: #fff5f5;
  color: var(--main-red);
}
.address-form-row {
  margin-bottom: 10px;
}
.address-form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}
.address-form-row input,
.address-form-row select {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}
.shipping-option {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.shipping-option:hover {
  border-color: var(--main-red);
}
.shipping-option.active {
  border-color: var(--main-red);
  background: #fff5f5;
}
.shipping-option input[type="radio"] {
  margin-right: 10px;
}
.cart-item-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}
.cart-item-row:last-child {
  border-bottom: none;
}
.cart-item-desc {
  flex: 1;
  padding-right: 10px;
}
.cart-item-qty {
  color: #666;
  min-width: 30px;
  text-align: center;
}
.cart-item-price {
  font-weight: 600;
  min-width: 70px;
  text-align: right;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.9rem;
}
.totals-row.total-final {
  font-weight: bold;
  font-size: 1.1rem;
  border-top: 2px solid #333;
  padding-top: 10px;
  margin-top: 5px;
}
.btn-checkout-submit {
  background: var(--main-red);
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
}
.btn-checkout-submit:hover {
  /*background: #b8152b;*/
}
.btn-checkout-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.btn-next-section {
  /*	background: var(--main-red);
	color: #fff;
	border: none;
	padding: 10px 25px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;*/
}
.btn-next-section:hover {
  /*background: #b8152b; */
}
.edit-section-link {
  color: var(--main-red);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
}
.delivery-estimate {
  background-color: #d4edda;
  color: #155724;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.account-selector-row {
  margin-bottom: 15px;
}
.payment-method-option {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
}
.payment-method-option:hover {
  border-color: var(--main-red);
}
.payment-method-option.active {
  border-color: var(--main-red);
  background: #fff5f5;
}
/* Loading overlay */
.checkout-loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.checkout-loading-overlay.active {
  display: flex;
}
.checkout-loading-box {
  background: #fff;
  border-radius: 12px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.checkout-loading-box .spinner-border {
  width: 3rem;
  height: 3rem;
  color: var(--main-red);
}
.checkout-loading-box p {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #333;
}
/* Saved card selection */
.saved-card-option {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.saved-card-option:hover {
  border-color: var(--main-red);
}
.saved-card-option.active {
  border-color: var(--main-red);
  background: #fff5f5;
}
.saved-card-option input[type="radio"] {
  margin: 0;
}
.saved-card-icon {
  font-size: 1.3rem;
  color: #666;
}
.saved-card-details {
  flex: 1;
}
.saved-card-details .card-label {
  font-weight: 600;
}
.saved-card-details .card-date {
  font-size: 0.8rem;
  color: #999;
}
.save-card-checkbox {
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
}

/* ==========================================================================
   SECTION 3: MEDIA QUERIES
   Responsive breakpoints - organized from largest to smallest
   ========================================================================== */

/* ---------------------------------------------------------------------------
   3.1 Extra Large Screens (1600px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 1600px) {
  .sterlingHeader li a div {
    font-size: 17px;
  }

  .introBanner {
    font-size: 1.8em;
  }

  #SterlingSlider {
    height: 650px;
  }

  .small-header-spacer {
    height: 30px;
  }

  .header-spacer {
    visibility: collapse;
    display: none;
  }

  .pageHeader {
    position: static;
  }

  .mainMenu {
    gap: 40px;
  }
  .mainMenu > li {
    font-size: 1.1rem;
  }
}

/* ---------------------------------------------------------------------------
   3.2 Large Screens (1400px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .mainMenu > li {
    font-size: 1rem;
  }
}

/* ---------------------------------------------------------------------------
   3.3 Large Desktops (1200px and above)
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .card-columns {
    column-count: 5;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
}

/* ---------------------------------------------------------------------------
   3.4 Medium-Large Screens (1200px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .mainMenu > li {
    font-size: 0.9rem;
  }
  .mainMenu {
    justify-content: space-between;
    gap: 0;
  }
}

/* ---------------------------------------------------------------------------
   3.5 Footer Breakpoint (1060px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  footer {
    text-align: center;
  }

  footer > div > div {
    flex-grow: 1;
    flex-shrink: 1;
  }
}

/* ---------------------------------------------------------------------------
   3.6 Tablet Landscape (1024px and below)
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   3.7 Desktops (992px and above)
   --------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .card-columns {
    column-count: 4;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
}

/* ---------------------------------------------------------------------------
   3.8 Tablet (888px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 888px) {
  .hero-carousel {
    height: 250px;
  }

  .hero-slide {
    padding: 20px 20px 40px 20px;
    background-position: 55% center !important;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .hero-slide_content {
    text-align: center;
    width: 100%;
    background-color: rgb(255 255 255 / 0.8);
    padding: 20px;
    border-radius: 8px;
  }

  .hero-slide_content h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 0;
  }

  .hero-slide_content p {
    font-size: 1rem;
    margin-bottom: 10px;
    max-width: 100%;
    width: 100%;
  }

  .hero-text {
    max-width: 90%;
    padding: 15px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .hero-btn {
    font-size: 1em;
  }

  .page-body {
    padding: 50px;
  }
  .mainMenu > li {
    font-size: 0.8rem;
  }
  #menuToggle {
  }
  .fixed-header-spacer {
    display: none;
  }

  .fixed-header {
    justify-content: flex-end;
  }
  .container {
    padding: 0px;
  }

  #sterlingLogo {
    width: 150px;
  }

  #SterlingSlider {
    height: 500px;
  }

  /* Convert sterlingHeader to dropdown on smaller screens */
  .sterlingHeader {
    width: 100%;
    height: auto;
    background-color: var(--main-red);
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    text-shadow: 0px 0px 2px rgb(0 0 0);
    display: block;
  }

  .sterlingHeader li {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    display: block;
    border: 1px solid rgb(121 213 253);
  }

  .sterlingHeader li a div {
    width: 100%;
    font-size: 24px;
    height: 48px;
    line-height: 48px;
    border: none;
  }

  .topMenus {
    display: flex;
    height: 41px;
    font-size: 19px;
    font-weight: bold;
    line-height: 22px;
  }

  .topMenus a {
    color: var(--main-red);
  }

  .topMenus ul {
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .topMenuLeft {
    text-align: left;
    height: 41px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
  }

  .topMenuLeft li {
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
  }

  .topMenuRight {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .introBanner {
    font-size: 1.4em;
  }
}

@media (max-width: 770px) {
  #menuToggle {
    display: block;
    visibility: visible;
  }

  .collapse-lt-1050 {
    display: none !important;
    visibility: collapse;
  }

  .topHeaderSearch {
    padding-right: 50px;
  }

  p {
    font-size: 1rem;
  }

  h2 {
    font-size: 22px;
  }

  h1 {
    font-size: 30px;
  }

  .hero-carousel {
    height: 250px;
  }

  .hero-slide {
    background-position: 45% center !important;
  }
}

/* ---------------------------------------------------------------------------
   3.9 Tablet Portrait (768px and above)
   --------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .card-columns {
    column-count: 3;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
}

/* ---------------------------------------------------------------------------
   3.10 Tablet Portrait (768px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .pageHeader_container,
  .top-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .productContainer {
    display: block;
  }

  .productDetails {
    text-align: center;
  }

  .colourSwatches {
    justify-content: center;
  }

  .productBullets ul {
    list-style: none;
    padding: 0;
  }

  /* Footer responsive layout */
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}

/* ---------------------------------------------------------------------------
   3.11 Small Tablet / Large Phone (700px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 700px) {
  .page-body {
    padding: 20px;
  }

  /* The screen's width, as Bootstrap has it (at most 540px from 576px up). It was 578px, wider than any phone, so
     below 578px every page scrolled sideways. */
  .container {
    width: 100%;
  }

  #SterlingSlider {
    height: 400px;
  }

  .collapse-on-mobile {
    display: none !important;
    visibility: collapse;
  }

  footer {
    text-align: center;
  }

  .header-block-hero .header-block-title {
    top: 25%;
    left: 0;
    right: 0;
    width: 100vw;
    transform: translate(0, -25%);
  }

  .header-block-title > h1 {
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
   3.12 Landscape Phone (576px and above)
   --------------------------------------------------------------------------- */
@media (min-width: 576px) {
  .card-columns {
    column-count: 2;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
}

/* ---------------------------------------------------------------------------
   3.13 Small Phone Pop-up (500px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 500px) {
  #pop-up {
    width: 96vw;
    left: 2vw;
    right: 2vw;
    bottom: 2vh;
  }
}

/* ---------------------------------------------------------------------------
   3.14 Small Phone (480px and below)
   --------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-carousel {
    height: 600px;
  }

  .hero-slide {
    background-position: 40% center !important;
  }

  .hero-slide_content h2 {
    font-size: 1.6rem;
  }

  .btn-red {
    width: 180px;
    font-size: 17px;
  }
}

/* ==========================================================================
   SECTION 4: OVERRIDE CUSTOMIZATIONS
   MUI framework overrides and custom theme modifications
   ========================================================================== */

/* ---------------------------------------------------------------------------
   4.1 MUI Button Overrides
   --------------------------------------------------------------------------- */
.mui-btn--default,
.mui-btn--default:visited {
  color: var(--main-red);
  border-color: var(--main-red);
}

.mui-btn--default:active,
.mui-btn--default:focus,
.mui-btn--default:hover {
  color: rgb(244 244 244);
  background-color: var(--main-red);
  border-color: var(--main-red);
}

.mui-btn--primary,
.mui-btn--primary:visited {
  color: white;
  background-color: var(--main-red);
  border-color: var(--main-red);
}

.mui-btn--primary:active,
.mui-btn--primary:focus,
.mui-btn--primary:hover {
  color: var(--main-red);
  border-color: var(--main-red);
  background-color: white;
}

.mui-btn--default-red,
.mui-btn--default-red:visited {
  color: var(--main-red);
  background-color: rgb(244 244 244);
  border-color: var(--main-red);
}

.mui-btn--default-red:active,
.mui-btn--default-red:focus,
.mui-btn--default-red:hover {
  color: rgb(244 244 244);
  background-color: var(--main-red);
  border-color: var(--main-red);
}

.mui-btn--accent,
.mui-btn--accent:visited {
  color: rgb(96 96 96);
  border-color: rgb(96 96 96);
  background-color: rgb(244 244 244);
}

.mui-btn--accent:active,
.mui-btn--accent:focus,
.mui-btn--accent:hover {
  color: rgb(244 244 244);
  background-color: rgb(96 96 96);
  border-color: rgb(96 96 96);
}

.mui-btn--secondary,
.mui-btn--secondary:visited {
  color: rgb(244 244 244);
  background-color: rgb(96 96 96);
  border-color: rgb(96 96 96);
}

.mui-btn--secondary:active,
.mui-btn--secondary:focus,
.mui-btn--secondary:hover {
  color: rgb(96 96 96);
  border-color: rgb(96 96 96);
  background-color: rgb(244 244 244);
}

/* ---------------------------------------------------------------------------
   4.2 Text Block Overrides
   --------------------------------------------------------------------------- */
.text-block {
  padding: 30px 60px;
  min-height: 400px;
}

.text-block-grey,
.text-block-grey h2,
.text-block-grey h3 {
  background-color: rgb(244 244 244);
  color: rgb(93 93 93);
}

/* ---------------------------------------------------------------------------
   4.3 Overlay Text Components
   --------------------------------------------------------------------------- */
.overlay-text {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(244 244 244 / 0.8);
  font-size: 1em;
  font-weight: bold;
}

.overlay-text > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 75px;
}

.overlay-text-parent:hover .overlay-text {
  visibility: visible;
}

.no-a-decoration {
  color: inherit;
  text-decoration: none;
}

.no-a-decoration:hover {
  color: inherit;
  text-decoration: none;
}

.overlay-text-parent {
  text-align: center;
  height: 350px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
  position: relative;
}

/* ---------------------------------------------------------------------------
   4.4 Image Block Override
   --------------------------------------------------------------------------- */
.image-block {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

/* ---------------------------------------------------------------------------
   4.5 Outline Text Override
   --------------------------------------------------------------------------- */
.outline-text {
  color: white;
}

/* BendMark: bend-engraving note + hover help --------------------------------
   No literal # anywhere (class selectors + rgb() colours only), so this block
   can live in your site stylesheet OR be pasted inside a cfoutput'd <style>
   block in the .cfm with zero escaping changes. */

.bendNote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
  max-width: 850px; /* wraps neatly under the size-50 text input */
  font-size: 0.8em;
  color: var(--main-red);
}

.bendHelp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--main-grey);
  color: rgb(255 255 255 / 1);
  font-weight: bold;
  font-size: 13px;
  line-height: 1;
  cursor: help;
  user-select: none;
}

/* popup hidden by default; opens DOWNWARD because Line 1 sits near the
   top of the page and an upward popup would clip off-screen */
.bendHelp .bendHelpPop {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  width: 340px;
  max-width: 82vw;
  padding: 6px;
  background: rgb(255 255 255 / 1);
  border: 1px solid rgb(190 190 190 / 1);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.3);
  z-index: 1000;
}

.bendHelp .bendHelpPop img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* little arrow pointing up at the ? icon */
.bendHelp .bendHelpPop::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-bottom-color: rgb(255 255 255 / 1);
}

/* show on hover, plus tap/keyboard focus for mobile and accessibility */
.bendHelp:hover .bendHelpPop,
.bendHelp:focus .bendHelpPop,
.bendHelp:focus-within .bendHelpPop {
  display: block;
}

/* To open upward instead: on .bendHelpPop swap the top rule for
   bottom: calc(100% + 12px); and on ::after use top: 100%; with
   border-bottom-color: transparent; border-top-color: rgb(255 255 255 / 1); */

/* ---------------------------------------------------------------------------
   4.6 Red Header Variant
   Opt-in per page: pass headerStyle="red" to INCLUDES/PageModule.cfm and
   SterlingFrameTop.cfm puts .pageHeader--red on <header>. The home page
   (index.cfm) uses it. Everything inside the header is re-coloured to stay
   readable on Sterling red; the dropdown panels keep their own colours.
   --------------------------------------------------------------------------- */
header.pageHeader--red,
header.pageHeader--red .pageHeader_container,
header.pageHeader--red .pageHeader_container > div {
  background-color: var(--main-red);
}

/* The logo is red and black, so it keeps its white tile */
header.pageHeader--red .topHeaderLogo {
  background-color: white;
  padding: 6px 12px;
  border-radius: 6px;
}

header.pageHeader--red .topHeaderSearch input,
header.pageHeader--red .topHeaderSearch button {
  background-color: white;
}

header.pageHeader--red .topHeaderDisplayName,
header.pageHeader--red .topHeaderCart a,
header.pageHeader--red .topHeaderButton > a:not(.btn),
header.pageHeader--red .mainMenu > li > a {
  color: white;
}

/* Menu hover is red text on the white header; here it underlines instead.
   !important to beat the base a { text-decoration: none !important; } */
header.pageHeader--red .mainMenu > li:hover > a {
  color: white;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* .btn-secondary (Login / Logout) turns red on hover and would vanish here;
   go dark grey instead, as the Subscribe button in .fixed-header does */
header.pageHeader--red .btn-secondary:hover,
header.pageHeader--red .btn-secondary:focus,
header.pageHeader--red .btn-secondary:active {
  background-color: rgb(51 51 51);
}

/* Hamburger bars on phones and tablets */
header.pageHeader--red #menuToggle > span,
header.pageHeader--red #menuToggle input:checked ~ span {
  background-color: white;
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */

/* ---------------------------------------------------------------------------
   4.7 Header Bars: a page menu, a vertical
   A page's menu (one made in the CMS's Pages > Menus, Project FOLIO, or an old
   CMS page's) and a vertical's bar (its name | All products) are a bar across
   the bottom of the header, under the main menu, that scrolls away with it.
   SterlingFrameTop.cfm puts .headerBar on #verticalHeaderBar, and
   .pageMenuBar or .verticalBar.

   .headerBar takes only where the bar sits, so a vertical's colours, its
   Style CSS in the CMS (Verticals, or the site's override), still apply: a
   rule there on #verticalHeaderBar is weaker than #verticalHeaderBar.headerBar
   for these properties and wins for the rest. The fixed positions in 2.x
   predate the 2025-11 header: at top: 100px the bar covered the main menu's
   first line, and at 1600px and under it sat over the free shipping bar.

   A page menu has its own look: grey, or red when the page leaves the main
   menu off (.pageMenuBar--alone).
   --------------------------------------------------------------------------- */
#verticalHeaderBar.headerBar {
  position: static;
  top: auto;
  z-index: auto;
  width: auto;
  height: auto;
  min-height: 40px;
}

#verticalHeaderBar.pageMenuBar {
  padding: 8px 40px;
  line-height: 24px;
  background-image: none;
  background-color: rgb(144 144 144);
}

#verticalHeaderBar.pageMenuBar--alone {
  background-color: var(--main-red);
  color: white;
}

#verticalHeaderBar.pageMenuBar--alone a:not(.cmsMisc-menu-selected) {
  color: white;
}

@media (max-width: 1024px) {
  #verticalHeaderBar.pageMenuBar {
    padding: 8px 20px;
  }
}

/* ---------------------------------------------------------------------------
   4.8 The 404 page (Project DETOUR, INCLUDES/404.cfm)
   A grey panel with an ink stamp's impression (404, PAGE NOT FOUND, drawn in
   SVG with the ink's speckle and wobble as filters), what wasn't found, a
   search box with the address's words in it and the ways out; then cards for
   the pages the visitor may have meant, the catalogue's sections and the
   phone number. Everything is under .nf, so nothing here reaches other pages.
   The stamp is pressed on once as the page opens, unless the visitor asked
   for less motion.
   --------------------------------------------------------------------------- */
.nf {
  --nf-ink: var(--main-red);
  --nf-line: rgb(4 0 0 / 0.12);
  --nf-soft: rgb(60 60 60);
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 0 56px;
  color: var(--main-black);
}

.nf p {
  font-size: 1rem;
  line-height: 1.45;
}

.nf-hero {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 48px 56px;
  border-radius: 16px;
  background-color: var(--main-grey-light);
  /* a faint dot grid, like the paper a stamp is tried on */
  background-image: radial-gradient(rgb(4 0 0 / 0.07) 1px, transparent 1.4px);
  background-size: 20px 20px;
}

.nf-hero__stamp {
  display: flex;
  justify-content: center;
}

.nf-stamp {
  width: 100%;
  max-width: 360px;
  height: auto;
  color: var(--nf-ink);
  transform: rotate(-7deg);
  animation: nf-press 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.15s both;
}

.nf-stamp__code {
  font-family: AptosBold, "Arial Black", Arial, sans-serif;
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 6px;
}

.nf-stamp__words {
  font-family: AptosBold, "Arial Black", Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
}

@keyframes nf-press {
  from {
    opacity: 0;
    transform: rotate(-13deg) scale(1.45);
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: rotate(-7deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-stamp {
    animation: none;
  }
}

.nf-eyebrow {
  margin: 0 0 6px;
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

.nf-title {
  margin: 0 0 12px;
  font-size: 2.5rem;
  line-height: 1.1;
  /* lines of even length: no word left alone on the last ("page" in French) */
  text-wrap: balance;
}

.nf .nf-lead {
  max-width: 54ch;
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: var(--nf-soft);
}

.nf .nf-address {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--main-grey);
  overflow-wrap: anywhere;
}

.nf-address code {
  margin-left: 4px;
  padding: 2px 8px;
  border: 1px solid var(--nf-line);
  border-radius: 4px;
  background-color: rgb(255 255 255);
  color: var(--main-black);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95rem;
}

.nf .nf-why {
  margin: 0 0 18px;
  padding: 8px 12px;
  border-left: 4px solid var(--nf-ink);
  background-color: rgb(255 255 255);
  font-size: 0.95rem;
}

.nf-search {
  max-width: 580px;
}

.nf-search__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.nf-search__row {
  display: flex;
  overflow: hidden;
  border: 2px solid var(--main-black);
  border-radius: 8px;
  background-color: rgb(255 255 255);
}

.nf-search__row:focus-within {
  border-color: var(--nf-ink);
  box-shadow: 0 0 0 3px rgb(234 0 42 / 0.22);
}

.nf-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--main-black);
  font-size: 1.05rem;
}

.nf-search input:focus {
  outline: none;
}

.nf-search button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background-color: var(--main-black);
  color: rgb(255 255 255);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.nf-search button svg {
  width: 20px;
  height: 20px;
}

.nf-search button:hover,
.nf-search button:focus-visible {
  background-color: var(--nf-ink);
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nf-btn,
.nf-btn:visited {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 2px solid var(--main-black);
  border-radius: 8px;
  background-color: transparent;
  color: var(--main-black);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.nf-btn--solid,
.nf-btn--solid:visited {
  border-color: var(--nf-ink);
  background-color: var(--nf-ink);
  color: rgb(255 255 255);
}

.nf-btn:hover,
.nf-btn:focus-visible {
  border-color: var(--main-black);
  background-color: var(--main-black);
  color: rgb(255 255 255);
  text-decoration: none;
}

.nf-btn[hidden] {
  display: none;
}

.nf-section {
  margin-top: 48px;
}

.nf-section h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.nf-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-card,
.nf-card:visited {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--nf-line);
  border-radius: 12px;
  background-color: rgb(255 255 255);
  color: var(--main-black);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.nf-card:hover,
.nf-card:focus-visible {
  border-color: rgb(4 0 0 / 0.28);
  box-shadow: 0 10px 24px rgb(4 0 0 / 0.12);
  color: var(--main-black);
  text-decoration: none;
  transform: translateY(-3px);
}

.nf-card__pic {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background-color: var(--main-grey-light);
  color: rgb(4 0 0 / 0.2);
}

.nf-card__pic svg {
  width: 40%;
  height: auto;
}

/* the picture covers the drawing; one that doesn't load is taken out, and the drawing shows */
.nf-card__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  background-color: rgb(255 255 255);
  object-fit: contain;
}

.nf-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 16px;
}

.nf-card__kind {
  color: var(--main-grey);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-card__title {
  font-weight: 600;
  line-height: 1.3;
}

.nf-card:hover .nf-card__title {
  color: var(--nf-ink);
}

.nf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-chips a,
.nf-chips a:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background-color: var(--main-grey-light);
  color: var(--main-black);
  font-weight: 600;
  text-decoration: none;
}

.nf-chips a::after {
  content: "\2192";
  color: var(--nf-ink);
}

.nf-chips a:hover,
.nf-chips a:focus-visible {
  background-color: var(--main-black);
  color: rgb(255 255 255);
  text-decoration: none;
}

.nf-chips a:hover::after,
.nf-chips a:focus-visible::after {
  color: rgb(255 255 255);
}

.nf .nf-help {
  margin: 48px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--nf-line);
  color: var(--nf-soft);
  font-size: 1.05rem;
}

.nf-help a {
  color: var(--nf-ink);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .nf {
    padding-top: 8px;
  }

  .nf-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px 24px 32px;
  }

  .nf-stamp {
    max-width: 260px;
  }

  .nf-title {
    font-size: 2rem;
  }

  /* narrower: each suggestion a row, a small picture beside its title */
  .nf-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .nf-card,
  .nf-card:visited {
    flex-direction: row;
    align-items: center;
  }

  .nf-card__pic {
    flex: 0 0 88px;
    align-self: stretch;
    aspect-ratio: 1;
  }

  .nf-card__pic img {
    padding: 6px;
  }

  .nf-card__body {
    padding: 10px 14px;
  }
}

@media (max-width: 700px) {
  .nf-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------
   Catalogue SEO (Project WAYPOINT)
   --------------------------------------------------------------------------- */

/* The catalogue page title is now the page's <h1> (seometa heading, else the record's title);
   it keeps the look the <span> had */
.header-block-title > h1 {
  font-size: inherit;
  font-weight: bold;
  line-height: inherit;
  margin: 0;
}

/* FAQs on section, category, product group and product pages (INCLUDES/faqSection.cfm) */
.catalogFaqs {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 16px;
}

.catalogFaqs > h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.catalogFaq {
  border-bottom: 1px solid rgb(0 0 0 / 0.12);
  padding: 0.75rem 0;
}

.catalogFaq > summary {
  cursor: pointer;
  font-weight: 600;
}

.catalogFaq[open] > summary {
  color: var(--main-red);
}

.catalogFaqAnswer {
  padding-top: 0.5rem;
}

/* Search page (search.cfm): notes about the search, and the catalogue pages whose titles match */
.searchNote {
  margin: 0.25rem 0 0.75rem;
  color: rgb(0 0 0 / 0.65);
}

.searchPages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.searchPages > a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgb(0 0 0 / 0.2);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}

.searchPages > a:hover,
.searchPages > a:focus-visible {
  border-color: var(--main-red);
  color: var(--main-red);
}

/* Page template blocks (Project ATELIER, components/atelier/; the block library is in the CMS, pageBlocks.cfm) */
.atelier-heading {
  max-width: 1140px;
  margin: 1.5rem auto 0.5rem;
  padding: 0 16px;
  font-size: 1.5rem;
}

.atelier-richText,
.atelier-callout,
.atelier-bullets,
.atelier-banner {
  max-width: 1140px;
  margin: 1.5rem auto;
  padding: 0 16px;
}

.atelier-callout {
  padding: 1rem 1.25rem;
  border-left: 4px solid rgb(0 0 0 / 0.25);
  background: rgb(0 0 0 / 0.04);
  border-radius: 4px;
}

.atelier-callout > h2 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.atelier-callout > p {
  margin: 0;
}

.atelier-callout-sale {
  border-left-color: var(--main-red);
  background: rgb(200 16 46 / 0.06);
}

.atelier-callout-info {
  border-left-color: rgb(30 100 180);
  background: rgb(30 100 180 / 0.06);
}

.atelier-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.atelier-gallery {
  max-width: 1140px;
  margin: 1rem auto;
  padding: 0 16px;
}

.atelier-spacer-small {
  height: 1rem;
}

.atelier-spacer-medium {
  height: 2.5rem;
}

.atelier-spacer-large {
  height: 5rem;
}

.atelier-divider {
  max-width: 1140px;
  margin: 2rem auto;
  border: 0;
  border-top: 1px solid rgb(0 0 0 / 0.15);
}

/* a product group shown on any page (groupFeature: its own group, or one chosen in its settings) */
.atelier-feature {
  max-width: 1140px;
  margin: 2rem auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1.5rem;
  align-items: center;
}

.atelier-feature-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.atelier-feature-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(0 0 0 / 0.6);
}

.atelier-feature h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.atelier-feature h2 a {
  color: inherit;
  text-decoration: none;
}

.atelier-feature ul {
  margin: 0.75rem 0;
  padding-left: 1.2rem;
}

.atelier-feature-price {
  margin: 0.75rem 0;
  font-size: 1.1rem;
}

@media (max-width: 700px) {
  .atelier-feature {
    grid-template-columns: 1fr;
  }
}

/* a product group's products (productGrid) */
.atelier-products {
  max-width: 1140px;
  margin: 2rem auto;
  padding: 0 16px;
}

.atelier-products > h2 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

.atelier-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.atelier-product {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem;
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}

.atelier-product:hover,
.atelier-product:focus {
  border-color: rgb(0 0 0 / 0.35);
}

.atelier-product img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 0.4rem;
}

.atelier-product-code {
  font-weight: 700;
}

.atelier-product-size,
.atelier-product-title {
  font-size: 0.9rem;
  color: rgb(0 0 0 / 0.7);
}

.atelier-product-price {
  margin-top: auto;
  padding-top: 0.4rem;
  font-weight: 700;
}

.atelier-product-price s {
  font-weight: 400;
  color: rgb(0 0 0 / 0.55);
}

/* shown only to staff on the office network, when a block can't be shown */
.atelier-problem {
  max-width: 1140px;
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  border: 2px dashed rgb(185 28 28);
  color: rgb(185 28 28);
  background: rgb(254 242 242);
  font-family: monospace;
}

/* Project FOLIO's blocks for pages: hero banner, text and picture, video (the block library: CMS, Blocks) */
.atelier-hero {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1140px;
  margin: 1rem auto;
  padding: 2rem 3rem;
  border-radius: 6px;
  background-color: rgb(28 37 65);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.atelier-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.35);
}
.atelier-hero-dark-on-light::before { background: rgb(255 255 255 / 0.55); }
.atelier-hero-short { min-height: 260px; }
.atelier-hero-medium { min-height: 400px; }
.atelier-hero-tall { min-height: 560px; }
.atelier-hero-text { position: relative; max-width: 640px; }
.atelier-hero-center { justify-content: center; text-align: center; }
.atelier-hero-right { justify-content: flex-end; text-align: right; }
.atelier-hero-light-on-dark .atelier-hero-text { color: rgb(255 255 255); }
.atelier-hero-light-on-dark .atelier-hero-text h1 { color: rgb(255 255 255); }
.atelier-hero-dark-on-light .atelier-hero-text { color: rgb(33 37 41); }
.atelier-hero-text h1 { font-size: 2.4rem; margin-bottom: 0.75rem; }
.atelier-hero-body { font-size: 1.15rem; margin-bottom: 1rem; }
.atelier-textPicture {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 1140px;
  margin: 1.5rem auto;
  padding: 0 16px;
}
.atelier-textPicture-right { flex-direction: row-reverse; }
.atelier-textPicture-media,
.atelier-textPicture-text { flex: 1 1 0; min-width: 0; }
.atelier-textPicture-media img { width: 100%; height: auto; border-radius: 6px; }
.atelier-video { max-width: 1140px; margin: 1.5rem auto; padding: 0 16px; }
.atelier-video figcaption { margin-top: 0.5rem; color: rgb(0 0 0 / 0.6); text-align: center; }
.atelier-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.atelier-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
@media (max-width: 768px) {
  .atelier-hero { padding: 1.5rem; }
  .atelier-hero-text h1 { font-size: 1.8rem; }
  .atelier-textPicture,
  .atelier-textPicture-right { flex-direction: column; }
}

/* pictures put in text with INKWELL (js/inkwell.js): their size and place */
img.inkwell-img-small { width: 25%; height: auto; }
img.inkwell-img-medium { width: 50%; height: auto; }
img.inkwell-img-full { width: 100%; height: auto; }
img.inkwell-img-left { float: left; margin: 0 1rem 0.5rem 0; }
img.inkwell-img-right { float: right; margin: 0 0 0.5rem 1rem; }
img.inkwell-img-center { display: block; margin: 0.5rem auto; }
@media (max-width: 576px) {
  img.inkwell-img-small, img.inkwell-img-medium { width: 100%; }
  img.inkwell-img-left, img.inkwell-img-right { float: none; margin: 0.5rem 0; }
}

/* Live edit: the "Edit this page" button, for members of Website Editors (INCLUDES/liveEdit/panel.cfm) */
.le-launch {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgb(34 34 34);
  color: rgb(255 255 255);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
}

.le-launch:hover,
.le-launch:focus-visible {
  background: var(--main-red);
  color: rgb(255 255 255);
}

/* Project FOLIO (folio.cfm): a site's own page. The draft note is for Website Editors and the office only. */
.folio-page { display: flow-root; }
.folio-draft-note {
	max-width: 1100px;
	margin: 12px auto;
	padding: 10px 14px;
	border: 1px solid rgb(217 119 6 / 0.45);
	border-radius: 6px;
	background: rgb(254 243 199);
	color: rgb(120 53 15);
	font-size: 0.95rem;
}
