/* The hero image */
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)),
    url("assets/thinsolehero.webp");
  height: 30vh;
  max-height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: block;
}
.staggered-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.product {
  /*flex-basis: calc(33.33% - 20px);*/
  flex-basis: 0;
  flex-grow: 1;
  margin: 10px;
  max-width: 400px;
  min-width: 200px;
  background-color: #242a33;
  border: 1px solid #1a1e24; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
.insole-size {
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #d6e0f5;
  text-align: center;
  width: 100%;
  color: #d6e0f5;
  background-color: #232c3c;
  margin-top: 1rem; 
}
.insole-size tr:nth-child(even) {
  background-color: #434b5b;
  color: #d6e0f5;
  margin-top: 1rem; 
}
.cookie-size {
  border-collapse: collapse;
  border: 1px solid #d6e0f5;
  text-align: center;
  width: 100%;
  color: #d6e0f5;
  background-color: #434b5b;
  margin-top: 1rem; 
}
.cookie-size tr:nth-child(3n+1), .cookie-size tr:nth-child(3n+2), .cookie-size tr:nth-child(3n+3), .cookie-size tbody tr:nth-child(3n+4) {
  background-color: #434b5b;
}
.cookie-size tr:nth-child(3n+5), .cookie-size tr:nth-child(3n+6) {
  background-color: #232c3c;
}
.cookie-size .highlight {
  background-color: #434b5b;
}
.productImg {
  width: 100%;
  border-radius: 15px 15px 0 0;
  position: relative; /* Add this line */
}

.textBanner {
  position: relative;
  width: 100%;
  height : 2rem;
  line-height: 2rem;
  bottom: 2rem; /* Align to the bottom */
  text-align: center;
  color: #d6e0f5;
  background-color: #204080;
  display: block;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-shadow: 3px 5px 5px #050a14;
}
.productDesc {
  display: block;
  min-height: 200px;
  padding: 1rem;
}
.expandable {
  cursor: pointer;
  padding: 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.expandable-header {
  display: flex; 
  align-items: center;
  padding: 0;
  font-weight: bold;
}

.expandable-title {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.expandable-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.carot-icon {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease-out;
  width: 30px;
  height: 30px;
}

.expandable-content.expanded {
  max-height: 200px; /* or whatever max-height you want when expanded */
}

.carot-icon.flipped {
  transform: rotate(180deg);
}
/* Quote Slider */
.quoteSlider {
  text-align: center;
  height: 450px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: block;
  background-image: url("assets/testamonial-bkgd.webp");
}
.Slides {
  display: block;
  position: relative;
  height: 280px;
  width: 75%;
  left: 50%;
  transform: translateX(-50%);
}
.quoteBox {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 80%;
  height: 200px;
  left: 50%;
  transform: translateX(-50%);
  /*border-radius: 25px;
    border: solid 1px #818181;*/
  margin-top: 50px;
}
/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10%;
  margin-top: -22px;
  padding: 16px;
  color: #818181;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color: #204080;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #d6e0f5;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  z-index: 1;
}
.active,
.dot:hover {
  background-color: #204080;
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0.75s;
  animation-name: fade;
  animation-duration: 0.75s;
}
@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* Tabbed Section */
.tabbedSectionContainer {
  height: 600px;
}
.tabbedSection {
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 500px;
  margin: auto;
  max-width: 800px;
  position: relative;
  padding-bottom: 2rem;
  background-color: #232c3c;
}
.tabbedSection::after {
  content: "";
  display: table;
  clear: both;
}
.tabbedSection .tabHeader {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  text-align: center;
  background-color: transparent;
}
.tabbedSection .tab {
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: 0.4s;
  background-color: transparent;
  border: none;
  color: #d6e0f5;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: 'Comfortaa';
  width: calc(100% / 3);
}
.tabbedSection .tab:hover {
  background-color: #204080;
}
.tabbedSection .tab.active {
  background-color: transparent;
  border-bottom: 4px solid #204080;
}
.tabbedSection .tabContent {
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 1rem;
  color: #d6e0f5;
  background-color: #232c3c;
  height: 100%;
  min-height: 200px;
  border-top: 1px solid #d6e0f5;
}
.tabbedSection .tabContent.active {
  display: flex;
}
.tabbedSection .tabContent h3 {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 1rem;
}
.tabbedSection .tabContent p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ZIG ZAG PANELS */
.zigZagRow {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.zigZagRow::after {
  content: "";
  display: table;
  clear: both;
}
.zigZagText {
  float: left;
  width: 65%;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.zigZagImage {
  position: relative;
  float: left;
  width: 33%;
  height: 90%;
  /*max-height: 300px;*/
  margin-top: 50px;
  margin-bottom: 50px;
}
.zigZagBorder {
  position: relative;
  float: left;
  width: 33%;
  height: 90%;
  max-height: 300px;
  /*top: 50%;
    transform: translateY(-50%);*/
  margin-top: 50px;
  margin-bottom: 50px;
  border-left: solid 2px #959595;
  border-top: none;
  padding-left: 15px;
}

/* Hero Card Accordion */
.accCardContainer {
  width: 90%; 
  margin: auto; 
  max-width: 500px; 
  padding: 25px 0px 95px;
}
.accHeroCard {
  position: relative; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 100%; 
  max-width: 500px; 
  padding: 15px; 
  z-index: 1; 
  border-radius: 8px;
  box-shadow: 0px 0px 15px #d6e0f5; 
  cursor: pointer;
  /*background-color: #1d2129;*/
  background-color: #232c3c;
  transition: 0.4s box-shadow;
}
.accHeroCard:after { /*open/close button*/
  content: '\002B';
  display: block;
  width: 25px;
  height: 25px;
  padding: 0px 16px 30px 18px;
  color: #204080;
  font-weight: 600;
  font-size: 40px; 
  position: relative;
  background-color: #d6e0f5;
  border-radius: 50%;
  margin: auto;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.activeHeroAcc, .accHeroCard:hover {
  box-shadow: 0 0 15px #204080;
}
.activeHeroAcc:after {
  content: "\2212";
  background-color: #e9e9e9;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.accHeroPanel {
  position: relative; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 90%; 
  border: 1px solid #204080; 
  z-index: 0; 
  cursor: pointer; 
  background-color:#204080; 
  color:#d6e0f5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accPanelText {
  text-align: center; 
  line-height: 1.6;
  font-weight: 500; 
  font-size: larger; 
  padding: 20px 35px;
  font-family: 'Comfortaa';
  text-shadow: 3px 5px 3px #050a14;

}
.accHeroText {
  text-align:center;
  line-height: 1.6;
  font-weight: 400; 
  padding: 30px; 
  font-size: 28px;
  text-shadow: 3px 5px 3px #050a14;
}
@media screen and (max-height: 450px) {
  .mobileSpace {
    height: 10vh;
  }  
}
@media screen and (max-width: 768px) {
  .product {
    max-width: 500px;
    min-width: 300px;
  }
  .tabbedSectionContainer {
    width: 90%;
    height: 650px;
    margin: auto;
  }
  .tabbedSection {
    width: 90%;
    height: 600px;
    padding-bottom: 0;
  }
  .tabbedSection {
    flex-direction: row;
    height: 100%;
  }
  .tabbedSection .tabHeader {
    flex-direction: column;
    width: 50px;
    height: 100%;
    flex-shrink: 0;
  }
  .tabbedSection .tab {
    width: 50px;
    height: calc(100% / 3);
    writing-mode: vertical-lr;
    padding: 0.5rem;
  }
  .tabbedSection .tab.active {
    background-color: transparent;
    border-right: 4px solid #204080;
    border-bottom: none;
  }
  
  .tabbedSection .tabContent {
    border-left: 1px solid #d6e0f5;
    border-top: none;
    height: 100%;
  }
  .zigZagText {
    width: 100%;
    text-align: center;
  }
  .zigZagImage {
    display: none;
  }
  .zigZagBorder {
    border-left: none;
    border-top: solid 2px #959595;
    margin-top: 0px;
    width: 90%;
    left: 5%;
    max-height: fit-content;
  }
}
@media screen and (max-width: 576px) {
  .tabbedSection .tabContent h3 {
    font-size: 1.5rem;
  }
  .tabbedSection .tabContent p {
    font-size: 1rem;
    padding-bottom: 2rem;
  }
  .staggered-column {
    flex-direction: column;
    align-items: center;
    
  }
  .staggered-column .item1 {
    order: 2;
  }
  .staggered-column .item2 {
    order: 1;
  }  
  .staggered-column .item3 {
    order: 3;
  }  
  .accHeroText {
    font-size: 24px;
  }
  .zigZagText {
    width: 100%;
    text-align: center;
  }
}
