:root {

  /**
   * typography
   */
 
   --ff-poppins: 'Poppins', sans-serif;
   --ff-cuprum: 'Cuprum', sans-serif;
  
    --fs-1: 4.5rem;
    --fs-2: 3.6rem;
    --fs-3: 3.5rem;
    --fs-4: 3.2rem;
    --fs-5: 2.5rem;
    --fs-6: 2.4rem;
    --fs-7: 2.2rem;
    --fs-8: 2rem;
    --fs-9: 1.8rem;
    --fs-10: 1.5rem;
    --fs-11: 1.4rem;
    --fs-12: 1.3rem;
  
    --fw-600: 600;
    --fw-500: 500;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

  /**
   * spacing
   */
  --section-padding: 30px;

  /* shadow */
  --shadow-1: 3px 4px 30px hsla(0, 0%, 53%, 0.1);
  --shadow-2: 5px 3px 40px hsla(191, 100%, 17%, 0.1);

  /* Radius */
--raduis-5: 5px;

}


/*-----------------------------------*\
 * #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a { text-decoration: none; 
    color: inherit;
}

a,
img,
span,
input,
button,
ion-icon { display: block; }

img {
  height: auto;
}

button,
input {
  background: none;
    border: none;
    font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address {
  font-style: normal;
}

html {
  font-family: var(--ff-poppins);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #666666;
  font-size: 1.6rem;
  line-height: 1.7;
}

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: #fafafa; }
  
  ::-webkit-scrollbar-thumb { background-color: #cccccc; }
  
  ::-webkit-scrollbar-thumb:hover { background-color:#b3b3b3 ; }





/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 10px; }

.section { padding-block: var(--section-padding); }

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}
  
.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
  }

  .h1,
  .h2,
  .h3,
  .h2-sm {
    color: #19222f;
    font-family: var(--ff-cuprum);
  }

.h1 {
  font-size: var(--fs-1);
  line-height: 1.1;
}

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-7); }

.h2,
.h3,
.h2-sm {line-height: 1.3;}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

.btn {
  font-weight: var(--fw-600);
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: var(--radius-5);
    max-width: max-content;
    transition: var(--transition-1);
}

.btn-primary {
  background-color: #28af60;
  color: #ffffff;
}

.btn-primary:is(:hover, :focus) {
  --background: #19222f;
  --border-color: 	#ff8175;
}

.btn-secondary {
  --background: transparent;
  --border-color: #000000;
  --color: #000000;
}

.btn-secondary:is(:hover, :focus) { --background: hsla(0, 0%, 0%, 0.1); }

.has-scrollbar {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: inline mandatory;
}

.has-scrollbar > li {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }

.has-scrollbar::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 20px;
  outline: 2px solid 	#ff6e61;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: 	#ff6e61;
  border: 2px #ffffff;
  border-radius: 20px;
}

.w-100 { width: 100%; }
  
.text-center { text-align: center; }

.section-subtitle {
  color: #28af60;
  font-weight: var(--fw-500);
}

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 40px); }

.card-banner {
  -webkit-user-drag: none;
  pointer-events: none;
  background: #deeded;
  position: relative;
  height: 300px;
  overflow: hidden;
}

.image-contain {
  width: 100%;
    height: 100%;
    object-fit: cover;
  object-position: center;
  transition: var(--transition-2);
}

.product-card:is(:hover, :focus) .image-contain { transform: scale(1.1); }

.card-action-list {
  position: absolute;
  top: 20px;
  right: -20px;
  opacity: 0;
  transition: var(--transition-1);
}

.product-card:is(:hover, :focus) .card-action-list {
  right: 20px;
  opacity: 1;
}

.card-action-btn:is(:hover, :focus) + .card-action-tooltip { opacity: 1; }


  /*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/
  
  .header .btn-outline { display: none; }
  
  .header {
    /* margin-right: 60px; */
    background-color: #fff;
    padding-block: 15px;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4;
  }
  
  .header.active {
    background-color: #ffffff;
    box-shadow: var(--shadow-2);
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    color: #000000;
    font-family: var(--ff-cuprum);
    font-size: 33px;
    font-weight: var(--fw-500);
    line-height: 1;
  }
  
  .nav-open-btn {
    margin-left: 50px;
    color: #19222f;
    font-size: 35px;
  }
  
  .navbar {
    position:fixed;
    top: 0;
    left: -280px;
    max-width: 100%;
    width: 100%;
    height: 65%;
    background-color: #09100e;
    color: #ffffff;
    padding: 30px 20px;
    visibility: hidden;
    transition: 0.25s var(--cubic-out);
    z-index: 4;
  }
  
  .navbar.active {
    visibility: visible;
    transform: translateX(280px);
    transition-duration: 0.5s;
  }
  
  .navbar .logo,
  .nav-close-btn { color: #ffffff; }
  
  .navbar .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 25px;
  }
  
  .nav-close-btn { font-size: 30px; }
  
  .navbar-link {
    padding-block: 10px;
    transition: var(--transition-1);
  }
  
  .navbar-link:is(:hover, :focus) { color: #28af60; }
  
  .overlay {
    position:static;
    inset: 0;
    background-color: hsla(0, 0%, 100%, 0.7);
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-1);
    z-index: 3;
  }
  
  .overlay.active {
    visibility: visible;
    opacity: 1;
  }

  

/*-----------------------------------*\
 * #PRODUCTS
\*-----------------------------------*/

.product .section-title {
  text-align: center;
  margin-bottom: 25px;
  font-family: var(--ff-poppins);
}


.filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  color: #454545;
  padding: 10px 16px;
  font-family: var(--ff-poppins);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  border: 1px solid #e0e0e0;
  border-radius: 30px;
}

.filter-btn.active {
  background: 	#ff6e61;
  color: #ffffff;
  border-color: 	#ff6e61;
}

.product-list {
  display: grid;
  gap: 50px 25px;
}


/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: #121217;
  color: #deeded;
}

.footer-top .container {
  display: grid;
  gap: 40px;
}



.footer .logo { color: #ffffff; }

.footer-text { margin-block: 25px; }

.newsletter-form {
  position: relative;
  max-width: 350px;
}

.email-field {
  color: #ffffff;
  font-size: var(--fs-11);
  border: 1px solid #666666;
  padding: 15px;
  border-radius: var(--radius-5);
}

.footer .form-btn {
  background-color: #28af60;
  color: #ffffff;
  font-size: 24px;
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  padding-inline: 10px;
  border-radius: var(--radius-5);
}

.footer-list-title {
  font-family: var(--ff-poppins);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  line-height: 1.2;
  margin-block-end: 25px;
}

.footer-link {
  margin-block-start: 15px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus) { color: #28af60; }

.footer-item,
.social-list {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-item { margin-block-start: 15px; }

.footer-item > ion-icon {
  flex-shrink: 0;
  color: #28af60;
  font-size: 20px;
  margin-block-start: 3px;
}

.contact-link { transition: var(--transition-1); }

.contact-link:not(.address):is(:hover, :focus) { color: #28af60; }

.footer-item:last-child {
  margin-block-start: 15px;
  padding-block-start: 5px;
  border-block-start: 1px solid #666666;
}

.social-link {
  font-size: 14px;
  border: 1px solid #666666;
  padding: 10px;
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus) {
  background-color: #28af60;
  border-color: #28af60;
}

.footer-bottom {
  padding-block: 15px;
  border-block-start: 1px solid #2e2e2e;
}

.copyright {
  font-size: var(--fs-12);
  text-align: center;
  margin-block-end: 15px;
}

.copyright-link {
  display: inline-block;
  color: #28af60;
  font-weight: var(--fw-500);
}

.footer-bottom-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-bottom-link {
  font-size: var(--fs-11);
  transition: var(--transition-1);
}

.footer-bottom-link:is(:hover, :focus) { color: #28af60; }


/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5.4rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .has-scrollbar > li { min-width: calc(50% - 12.5px); }

  /**
   * PRODUCTS
   */

  .product-list { grid-template-columns: 1fr 1fr; }

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

     --fs-1: 7rem;
     --fs-2: 4rem;
     --fs-4: 3.5rem;
  }

  /**
   * REUSED STYLE
   */

   .container { max-width: 720px; }
  
   .btn { padding: 16px 32px; }
 
   .section-text.text-center {
     max-width: 50ch;
     margin-inline: auto;
   }
 
   .btn-link { --fs-12: 1.4rem; }

   /**
   * PRODUCTS
   */

  .product-list { grid-template-columns: repeat(4, 1fr); }

   /**
     * FOOTER
     */
  
     .footer-top .container { grid-template-columns: 1fr 1fr; }
  
    }
    

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-3: 2.4rem;

  }

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }

  /* .has-scrollbar > li { min-width: calc(33.33% - 16.66px); } */

  /**
     * HEADER
     */
  
     .nav-open-btn,
     .navbar .wrapper,
     .overlay { display: none; }
   
     .header { padding: 20px; }
   
     .navbar,
     .navbar.active { all: unset; }
   
     .navbar-list {
       display: flex;
       gap: 40px;
     }
   
     .navbar-link {
       color: #19222f;
       font-weight: var(--fw-500);
       padding-block: 0;
     }
   
     .header .btn-outline {
       display: block;
       color: #28af60;
       font-weight: var(--fw-600);
       text-transform: uppercase;
       border: 1px solid #28af60;
       padding: 7px 18px;
       transition: var(--transition-1);
     }
   
     .header .btn-outline:is(:hover, :focus) {
       background-color: #28af60;
       color: #ffffff;
     }

     /**
     * FOOTER
     */
  
    .footer-top .container { grid-template-columns: 1fr 0.8fr 0.8fr 1fr; }
  
    .footer-bottom .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .copyright { margin-block-end: 0; }
  
  }

  /**
   * PRODUCTS
   */

  .product-list { grid-template-columns: repeat(3, 1fr); }

/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

   /**
   * CUSTOM PROPERTY
   */

   :root {

    /**
     * typography
     */

     --fs-1: 7.5rem;
     --fs-4: 3.8rem;

  }

  /**
   * REUSED STYLE
   */

  .container { max-width: 1280px; }
  
  .btn-link { --fs-12: 1.5rem; }

  /**
   * PRODUCTS
   */

  .product-list { grid-template-columns: repeat(4, 1fr); }

}

}