@import url("https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=League+Spartan:wght@100..900&display=swap");
html {
  background-color: rgb(255, 255, 255);
  color: #ffffff;
  padding: 0%;
  margin: 0;
  font-family: "Afacad";
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0%;
  overflow-x: hidden;
}

.hero {
  display: flex;
  background-color: #2e2e2e21;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  height: 100vh;
  width: 100%;
  z-index: 100;
  overflow-x: hidden;
}

.hero-header {
  display: flex;
  flex-direction: column;
  margin-top: 45vh;
  width: 100vw;
  align-items: center;
}
.hero-header-backdrop-positioner {
  display: flex;
  position: absolute;
  top: 0%;
  left: 0%;
  height: 94vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
}
.hero-header-backdrop {
  position: relative;
  left: 0%;
  top: 5rem;
  width: clamp(90px, 20vw, 200px);
  height: auto;
}

.hero-header h1 {
  font-family: "League Spartan";
  font-size: 6em;
  margin-bottom: 0%;
  z-index: 105;
}

.hero-header p {
  font-size: 1.8em;
  font-weight: 100;
  margin-top: 0%;
  z-index: 105;
}

.hero-cta-positioner {
  display: flex;
  position: absolute;
  top: 0%;
  left: 0%;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: end;
  overflow: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
}

.hero-cta {
  display: flex;
  position: relative;
  margin-bottom: 3rem;
}

.shop-btn {
  background-color: #22549f;
  padding: 1rem;
  width: 10rem;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.596);
  transition: all ease-in-out 0.5s;
  text-align: center;
  border-radius: 5em;
  font-size: 1.2rem;
}

.shop-btn:hover {
  background-color: #0a387e;
  transform: scale(1.1);
}

.product-highlights {
  display: flex;
  height: 85vh;
}

.heading {
  display: flex;
  width: 100%;
  height: 10vh;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.heading h2 {
  color: #2b2b2b;
  font-size: 2rem;
}

/* === Product Highlights === */
.product-highlights {
  display: block;
  height: auto;
  padding: 1rem 0 2rem;
}
.product-highlights .heading h2 {
  margin-bottom: 0.5rem;
}

/* Card host */
.product-highlights-card .ph {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 1rem 1rem 9rem;
  align-items: center;
  justify-content: center;
}

/* Tabs */
.ph-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  width: 50vw;
}
.ph-tab {
  border: 1px solid #d9def0;
  border-bottom: transparent;
  background: #fff;
  color: #2b2b2b;
  border-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0%;
  padding: 0.5rem 0.9rem;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.ph-tab.active {
  top: 0.1em;
  left: -0.5px;
  background: #f2f5fa;
  color: #22549f;
  border-color: #d9def0;
  z-index: 999;
}

/* Horizontal scroller */
.ph-track-wrap {
  position: relative;
  padding: 0;
  border: 1px solid #d9def0;
  background-color: #f2f5fa;
  box-shadow: 0 1px 10px rgba(34, 84, 159, 0.25);
  width: 50vw;
  min-height: 36rem;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
}
.ph-track {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  margin: 2rem;
  margin-top: 3rem;
  padding: 1.5rem;
}

.ph-track::-webkit-scrollbar {
  height: 10px;
  margin-top: 1rem;
}
.ph-track::-webkit-scrollbar-thumb {
  background: #cdd6ea;
  border-radius: 10px;
}

/* Card */
.ph-card,
.ph-track .product-card {
  background: #fff;
  border: 1px solid #ebeff7;
  border-radius: 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 300px;
  height: fit-content;
  min-height: 430px;
}

.ph-empty{
  color: #4d5363;
}

.pc-option-select, .ph-option-select{
  border: transparent;
  background-color: #c5d9f8;
  font-family: "Afacad";
  width: 100%;
  padding: 0.2rem;
  border-radius: 0.2rem;
}

.ph-card .card-content,
.ph-track .product-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.9rem;
  justify-content: space-between;
}

.ph-add-to-cart,
.pc-add-to-cart {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  align-items: flex-end;
}

.ph-add-to-cart .ph-add,
.pc-add-to-cart .pc-add {
  display: flex;
  width: 100%;
  height: 3rem;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  bottom: 0;
}

.ph-add,
.pc-add {
  margin-left: auto;
  align-items: center;
  justify-content: center;
  font-family: "Afacad";
  font-size: 1rem;
  background: #22549f;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: 2rem;
  transition: 0.2s;
  display: inline-flex;
}
.ph-add:hover,
.pc-add:hover {
  background: #0a387e;
}

.ph-card .ph-img,
.product-card .pc-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  max-height: fit-content;
}
.ph-code,
.pc-code {
  color: #7a86a6;
  font-size: 0.8rem;
  text-align: center;
}
.ph-title,
.pc-title {
  color: #2b2b2b;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  font-family: "League Spartan";
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2; /* future friendly */
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.25em * 2);
}

.ph-description,
.pc-description {
  color: #4d5363;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1; /* future-friendly */
  overflow: hidden;
  line-height: normal;
  height: 1.2rem;
  text-align: center;
}

.pc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
  height: 100%;
}

.ph-price,
.pc-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: auto;
}
.ph-option-select,
.pc-option-select{
  width: auto;
}

/* === Product Modal === */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 999999;
}
.product-modal.is-open {
  display: grid;
  place-items: center;
}
.pm-dialog {
  width: min(900px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e9eef7;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow: auto;
}
.pm-code, .pm-artikl{
      color: #7a86a6;
    margin-top: 6px;
}
.pm-attrs {
  color: #4d5363;
}
.pm-crumbs{
  text-decoration: none;
  color: #0a387e;
}
.pm-crumbs a{
  text-decoration: none;
  color: #0a387e;
}
.pm-crumbs a:hover{
  text-decoration: underline;
}
.pm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pm-title {
  font-family: "League Spartan";
  font-weight: 800;
  font-size: 1.6rem;
  color: #2b2b2b;
  margin: 0;
}
.pm-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.pm-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
}
.pm-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border: 1px solid #ebeff7;
  border-radius: 12px;
  background: #fff;
}
.pm-price .now {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2b2b2b;
}
.pm-price .was {
  color: #9aa6c5;
  text-decoration: line-through;
  margin-left: 8px;
}
.pm-desc {
  color: #4d5363;
  margin-top: 6px;
}
@media (max-width: 700px) {
  .pm-body {
    grid-template-columns: 1fr;
  }
}

.price-display {
  display: flex;
  flex-direction: column;
}

.ph-price .now,
.pc-price .now {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b2b2b;
}
.ph-price .was,
.pc-price .was {
  color: #9aa6c5;
  text-decoration: line-through;
  font-size: 0.95rem;
}
.ph-actions,
.pc-actions {
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
}
.ph-qty,
.pc-qty {
  display: flex;
  align-items: center;
  gap: 0;
}
.ph-qty button,
.pc-qty button {
  width: 25px;
  height: 28px;
  border: transparent;
  background: #c0c0c0;
  cursor: pointer;
  transition: all 0.5s ease;
}

.ph-qty button:hover,
.pc-qty button:hover {
  background-color: #929292;
}

#phTrack .card-content .ph-price .ph-qty > button:nth-child(1),
#phTrack .card-content .pc-price .pc-qty > button:nth-child(1) {
  border-radius: 0%;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.ph-qty button:nth-child(3),
.pc-qty button:nth-child(3) {
  border-radius: 0%;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.ph-qty input,
.pc-qty input {
  width: 42px;
  height: 28px;
  border: transparent;
  background-color: #d9d9d9;
  text-align: center;
  padding: 0%;
}

.ph-heart,
.pc-heart {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.8;
}

/* Arrows */
.ph-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d9def0;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.ph-left {
  left: -1.2rem;
}
.ph-right {
  right: -1.2rem;
}

/* CTA */
.ph-cta {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -1.5rem;
}

.ph-view-all {
  width: 350px;
  display: flex;
  background: #22549f;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: 0.2s;
  box-shadow: 0 6px 16px rgba(34, 84, 159, 0.25);
  align-items: center;
  justify-content: center;
}
.ph-view-all:hover {
  background: #0a387e;
}

.slideshow-container {
  width: 100vw;
  position: relative;
  margin: auto;
  overflow-x: hidden;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.slideshow-container .mySlides img {
  width: 100%;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
  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 {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.benefits {
  display: flex;
  flex-direction: row;

  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 4rem;
  margin-top: 8rem;
  margin-bottom: 8rem;
  margin-right: 2rem;
  margin-left: 2rem;
}

.b-box {
  display: flex;
  flex-direction: row;
  background-color: #efefef;
  height: 130px;
  width: fit-content;
  justify-content: space-between;
}

.b-row {
  display: flex;
  flex-direction: row;
  padding: 1.5rem;
  width: 100%;
}

.b-col-1 {
  display: flex;
  width: 30%;
  align-items: center;
  justify-content: center;
}

.b-col-2 {
  display: flex;
  width: 70%;
  text-align: left;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.b-col-2 h3 {
  font-size: 1.5rem;
  color: #3e3d3d;
  font-family: "League Spartan";
  margin: auto;
  font-weight: 800;
}

body > div.benefits > div:nth-child(1) > div > div.b-col-2 > h3 {
  padding-left: 2rem;
}

:root {
  --marquee-width: 100vw;
  --marquee-height: 20vh;
  /* --marquee-elements: 12; */ /* defined with JavaScript */
  --marquee-elements-displayed: 6;
  --marquee-element-width: calc(
    var(--marquee-width) / var(--marquee-elements-displayed)
  );
  --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
  --kc-bg: #2c2c2c;
  --kc-text: #f2f2f2;
  --kc-dim: #cfcfcf;
  --kc-accent: #2f56a6;
}

.marquee {
  z-index: 99;
  width: var(--marquee-width);
  height: var(--marquee-height);
  background-color: #efefef; /* page background behind the strip */
  overflow: hidden;
  position: relative;

  /* center the strip vertically, but DON'T center it horizontally */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* important for seamless scrolling */
}
.marquee:before,
.marquee:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}

.marquee-content {
  list-style: none;

  /* the white strip */
  background: #fff;
  height: clamp(60px, 9vh, 120px); /* your previous 9vh, with sane bounds */
  display: flex;
  gap: 0;
  will-change: transform;
  animation: scrolling var(--marquee-animation-duration) linear infinite;

  /* optional niceties */
  border-radius: 8px; /* remove if you want square edges */
  filter: grayscale(1);
  transition: filter 0.5s ease-in-out;
}
.marquee-content:hover {
  animation-play-state: paused;
  filter: grayscale(0);
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-1 * var(--marquee-element-width) * var(--marquee-elements))
    );
  }
}
.marquee-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
  flex-shrink: 0;
  width: var(--marquee-element-width);
  max-height: 100%;
  font-size: calc(var(--marquee-height) * 3 / 4); /* 5rem; */
  white-space: nowrap;
}

.marquee .marquee-content li img {
  max-width: 270px;
}

.brands-cta {
  display: flex;
  align-items: center;
  width: 100vw;
  height: fit-content;
  justify-content: center;
  position: absolute;
  margin-top: -1.5rem;
  z-index: 999;
}

.brands-cta .brands-view-all {
  width: 350px;
  display: flex;
  background: #22549f;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: 0.2s;
  box-shadow: 0 6px 16px rgba(34, 84, 159, 0.25);
  align-items: center;
  justify-content: center;
}
.brands-view-all:hover {
  background: #0a387e;
}

.category-display {
  display: flex;
  padding: 48px 0;
  background-image: url("../images/categories_bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  height: fit-content;
  align-items: center;
  justify-content: center;
}

.cats-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: fit-content;
  min-width: 320px;
  max-width: 50vw;
  padding-top: 8rem;
}

.cat-card {
  width: 300px;
  height: fit-content;
  min-height: 510px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.671);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.cat-card h3 {
  margin-top: 1rem;
  margin-left: 2rem;
  margin-right: 2rem;
  font-family: "League Spartan";
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b2b2b;
}

.cat-card .bar-blue {
  display: flex;
  width: 100%;
  height: 1rem;
  background-color: #22549f;
}

.cat-sublist {
  list-style: none;
  margin-left: 2rem;
  padding: 0;
  max-height: 470px;
  overflow: auto;
}

.cat-sublist li + li {
  margin-top: 6px;
}

.cat-sublist a {
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  color: #1f1f1f;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}
.cat-sublist a:hover {
  color: #22549f;
  border-color: currentColor;
}

/* Responsive */
@media (max-width: 1730px) {
  :root {
    --marquee-elements-displayed: 5;
  }
}
@media (max-width: 1425px) {
  :root {
    --marquee-elements-displayed: 4;
  }
}
@media (max-width: 1384px) {
  .hero-header {
    margin-top: 55vh;
  }
  .hero-header-backdrop {
    top: 12rem;
  }
}
@media (max-width: 1200px) {
}
@media (max-width: 1110px) {
  :root {
    --marquee-elements-displayed: 3;
  }
  .ph-track-wrap {
    width: 80vw;
  }
  .ph-tabs {
    width: 80vw;
  }
}

@media (max-width: 900px) {
}
@media (max-width: 820px) {
  :root {
    --marquee-elements-displayed: 2;
  }
}

@media (max-width: 770px) {
  .mySlides img {
    height: 350px;
    width: auto;
  }
}

@media (max-width: 703px) {
  .hero-header {
    margin-top: 40vh;
  }
  .hero-header-backdrop {
    top: 2rem;
  }
}

@media (max-width: 660px) {
  .ph-card,
  .ph-track .product-card {
    width: 220px;
    min-height: 330px;
  }
  .ph-card .ph-img,
  .ph-track .product-card .pc-img {
    height: 100px;
    width: 100%;
  }
  .ph-card .ph-title,
  .ph-track .product-card .pc-title {
    font-size: 1.2rem;
  }
  .ph-card .ph-price,
  .ph-track .product-card .pc-price {
    height: 45px;
  }
  .ph-track-wrap {
    min-height: 30rem;
  }
  .product-highlights-card .ph {
    padding-bottom: 5rem;
  }
  .b-box {
    width: 410px;
  }

  .ph-option-select,
  .pc-option-select {
    max-width: 180px;
  }
}
  body > div.benefits > div:nth-child(1) > div > div.b-col-2 > h3 {
    padding-left: 0%;
  }
  .benefits {
    gap: 2rem;
  }
  .ph-view-all,
  .brands-cta .brands-view-all {
    width: 250px;
  }
  .ph-tab {
    font-size: 0.9rem;
  }


@media (max-width: 580px) {
  :root {
    --marquee-elements-displayed: 1;
  }
}

@media (max-width: 425px) {
  .hero-header-backdrop {
    top: 0;
  }
}

@media (max-width: 381px) {
  body
    > div.product-highlights
    > div.product-highlights-card
    > div
    > div.ph-tabs
    > button:nth-child(3) {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    width: 4rem;
  }
  .ph-track {
    padding-left: 0%;
  }
  .b-col-1 img {
    width: 90px;
  }
  .shop-btn {
    width: 250px;
    display: flex;
    background: #22549f;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    transition: 0.2s;
    box-shadow: 0 6px 16px rgba(34, 84, 159, 0.25);
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .shop-btn:hover {
    transform: none;
    background-color: #0a387e;
  }
}
@media (max-width: 359px) {
  .ph-track-wrap {
    border-top-right-radius: 0;
    width: 265px;
  }
  .ph-tabs {
    width: 265px;
  }
  .ph-view-all,
  .brands-cta .brands-view-all {
    width: 180px;
  }
  .shop-btn {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .shop-btn:hover {
    transform: none;
    background-color: #0a387e;
  }
  .marquee .marquee-content li img {
    max-width: 200px;
  }
  .marquee-content {
    height: 15vh;
  }
  .marquee {
    height: 25vh;
  }
  .shop-btn {
    font-size: 0.9rem;
  }
  .b-col-2 {
    padding-left: 1.3rem;
  }
  #catsGrid {
    padding-top: 3rem;
  }
  body > div.benefits > div:nth-child(3) > div {
    padding-right: 0%;
  }
}
