/* 
    Origin Roots - Shop
    TEMPLATES - templates.js, templates.css
    Author: Jan - Ole Rieper
    Company: Origin Roots Fashion UG

    Last Update:     2026-07-11  YYYY-MM-DD
    Version:         1.0
*/



/* ------------------------ TEMPLATE - HOME CARUSEL V1 ------------------------ */
/* TEMPLATE - HOME CARUSEL V1 - SECTION */
.v1-home-carusel {
  height: clamp(300px, 40vh, 600px);
  width: 100%;
  max-width: 100%;
  padding-top: 20px;
  padding-bottom: 14px;

  border-top: solid 1px rgba(0, 0, 0, 0.04);

  overflow-x: scroll;
}


.v1-home-carusel-inner-controls {
  position: absolute;

  /* width: 100%; REMOVE PADDING LEFT -> WIDTH 100% or auto */
  width: calc(100vw - 2em);
  margin-top: clamp(120px, 1vh, 280px);

  background: transparent;

  z-index: 19;
}


.v1-home-carusel-inner-controls button {
  position: relative;
  transform: translateY(50%);

  display: flex;

  height: 42px;
  width: 42px;
  padding: 4px;

  justify-content: center;
  align-content: center;

  border: none;
  outline: none;

  background: transparent;
  transition: ease-in-out 200ms;
}


.v1-home-carusel-inner-controls img {
  height: 28px;
  width: auto;
  padding: 2px;

  opacity: 1;
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.3));
  transition: ease-in-out 200ms;
}

.v1-home-carusel-inner-controls img:hover {
  height: 27px; 

  opacity: 0.4;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}


#v1-home-carusel-left-btn {
  position: absolute;
  left: 0;
}



#v1-home-carusel-right-btn {
  position: absolute;
  right: 0;
}


/* TEMPLATE - HOME CARUSEL V1 - INNER SECTION */
.v1-home-carusel-inner {
  height: 100%;
  display: flex;
  min-width: 100%;
  width: max-content;
  justify-content: center;
  gap: 0.6em;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  z-index: 29;
}


/* TEMPLATE - HOME CARUSEL V1 - CONTAINER */
.v1-home-carusel-container {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 4 / 6;
  overflow: hidden;

  cursor: pointer;
}


/* TEMPLATE - HOME CARUSEL V1 - CONTAINER - A */
.v1-home-carusel-container a {
  display: flex;
  height: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top: 2px;

  justify-content: center;
  align-items: center;
  text-decoration: none;

  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
}


/* TEMPLATE - HOME CARUSEL V1 - CONTAINER - A */
.v1-home-carusel-container p {
  margin: 0;
  padding: 0;
  padding-top: 6px;

  text-align: center;
  font-size: 11px;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
}


/* TEMPLATE - HOME CARUSEL V1 - CONTAINER - IMG */
.v1-home-carusel-container img {
  display: block;
  flex: 9;

  height: 88%;
  width: 100%;

  object-fit: cover;
  background: #f5f5f5d6;
}


/* TEMPLATE - HOME CARUSEL V1 - CONTAINER - BUTTON (COLLECTION) */
.v1-home-carusel-collection-btn {
  font-size: 10px;
  letter-spacing: 1px;

  background: transparent;
  transition: background 0.2s ease;
}


/* TEMPLATE - HOME CARUSEL V1 - CONTAINER - BUTTON (PRODUCT) */
.v1-home-carusel-product-btn {
  font-size: 11px;
  letter-spacing: 1px;
  
  background: transparent;
  transition: background 0.2s ease;
}




/* ------------------------ TEMPLATE - FAQ ------------------------ */
/* TEMPLATE - FAQ - CONTENT */
.template-faq-content {
  position: relative;

  color: var(--text);
}

/* TEMPLATE - FAQ - CONTENT (HOVER)
.template-faq-content:hover {
  transform:translateY(-6px);

  box-shadow: 0 15px 40px rgba(0,0,0,.08);
} */

/* TEMPLATE - FAQ - CONTENT (HOVER) */
.template-faq-content::before {
  /*content: ""; */
  position: absolute;
  left: 0;
  top: 0;

  width: 8px;
  height: 100%;

  background: var(--accent);

  border-radius: 20px;
}

/* TEMPLATE - FAQ - CONTENT - CONTAINER */
.template-faq-content-container {
  position: relative;
  margin-bottom: 10px;
  padding-top: 3em;     /* USE IF ACTIV - DISABLE IF CLOSED */
  padding-bottom: 3em;  /* USE IF ACTIV - DISABLE IF CLOSED */

  border: solid 1px rgba(0,0,0,.08);
  border-radius:18px;
  color: var(--text);

  transition: ease 350ms;
}

/* TEMPLATE - FAQ - CONTENT - CONTAINER (HOVER) 
  IF (Hover) -> margin-bottom: 10px; */
.template-faq-content-container:hover {
  transform:translateY(-6px);

  box-shadow: 0 15px 40px rgba(0,0,0,.08);
}


/* TEMPLATE - FAQ - CONTENT - H4 */
.template-faq-content h4 {
  display:inline-block;
  padding:.3rem 1rem;
 
  border-radius:50px;

  font-size: clamp(19px, 1vh, 25px);
  font-weight: 600;
  letter-spacing:3px;
  text-transform:uppercase;

  color:white;
  background:black;
  opacity: scale(0.5);
}

/* TEMPLATE - FAQ - CONTENT - H4 */
.template-faq-content h4:hover {
  opacity: scale(1);
}

/* TEMPLATE - FAQ - CONTENT - H5 */
.template-faq-content h5 {
  margin: 0;
  padding-bottom: 8px;
  font-size: clamp(16px, 1vh, 20px);
  font-weight: 600;
}

/* TEMPLATE - FAQ - CONTENT - P */
.template-faq-content p {
  margin: 0;
  padding-left: 10px;
  padding-right: 20px;

  font-size: clamp(14px, 1vh, 22px);
  line-height: 24px;
}

/* TEMPLATE - FAQ - CONTENT SPACING */
.template-faq-content-spacing {
  height: 4em;
}

.template-faq-question {
  padding-left: 16px;
}


.template-faq-answer {
  max-height:0;
  padding-left: 1em;

  overflow:hidden;

  transform:translateY(-10px);

  transition: max-height .45s ease, opacity .35s ease, transform .35s ease;
}


.template-faq-content.active .template-faq-answer {
  max-height: 500px;
  padding-top: 20px;

  transform:translateY(0);
}


.template-faq-icon {
  padding-right: 1em;

  font-size: 30px;
  font-weight: bold;

  transition: 350ms;
}


.template-faq-content.active .template-faq-icon {
  transform: rotate(45deg);
}


.template-faq-toggle {
  display:flex;
  width:100%;
  padding:25px 0;
  
  justify-content:space-between;
  align-items:center;
  text-align:left;

  border:none;

  font-size:18px;
  color: var(--text);
  background:none;

  cursor:pointer;
}



/* ------------------------ RESPONSIVE ------------------------ */
/* RESPONSIVE - MAX WIDTH 800 */
@media(max-width: 900px) {
  .v1-home-carusel-inner-controls {
    display: none;
  }

  .template-faq-content-container {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .template-faq-content p {
    padding-left: 12px;
  }

  .template-faq-toggle {
    gap: 8px;
  }

  .template-faq-toggle span {
    font-size: 17px;
  }

  .template-faq-answer {
    padding-left: 8px;
    padding-right: 6px;
    padding-bottom: 2px;
    padding-top: 0;
  }
}
