/**
 * Theme Name: Valtech Blog
 */

:root {
  /* Colors */
  --color-primary: #ff8048;
  --color-primary-dark: #d45c27;
  --color-primary-light: #f47130;
  --color-secondary: #4a7a96;
  --color-accent: #5b849d;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-background: #f5f5f5;
  --color-white: #ffffff;
  --color-gray-100: #f8f8f8;
  --color-gray-200: #eeeeee;
  --color-gray-300: #e0e0e0;
  --color-gray-400: #bdbdbd;
  --color-gray-500: #9e9e9e;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;

  /* Typography */
  --font-family: "Source Sans 3", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 3rem;

  /* Border radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Container width */
  --container-width: 1310px;

  /* Reveal animation */
  --reveal-distance: 20px;
  --reveal-duration: 0.6s;

  --scroll-speed: 50s;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  color: var(--color-text);
  line-height: 1.5;
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Header styles */
.top-bar {
  width: 100%;
  background-color: var(--color-primary-dark);
  padding: 0.5rem;
  font-size: 12px;
  color: #fff;
  display: none;
  a {
    text-decoration: none;
    color: #fff;
  }

  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
  }
}
.top-bar span:first-child {
  display: none;
}

body.is-home .top-bar > span {
  display: inline-block;
}

.header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-md) 0;
  .logo {
    margin-top: var(--spacing-sm);
    max-width: 160px;
    img {
      width: 100%;
    }
    @media (max-width: 768px) {
      margin-top: 2.5rem;
    }
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.search-box {
  flex: 1;
  max-width: 500px;
  margin: 0 var(--spacing-lg);
  position: relative;
}

.search-box input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-sm)
    var(--spacing-md);
  height: 45px;
  border-radius: 2rem;
  border: none;
  outline: none;
  padding-right: 1rem;
  color: #333;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;

  @media (max-width: 768px) {
    padding-right: 3rem;
  }
}

.search-box button {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart {
  position: relative;
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
  &:hover {
    transform: scale(1.05);
    transform: translateY(-2px);
    opacity: 0.9;
  }
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #5b849d;
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-left: var(--spacing-xs);
}

@media (max-width: 768px) {
  .header {
    padding: 3rem 0 1rem 0;
  }
  .logo {
    margin-top: 54px;
    max-width: 120px;
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-container {
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: 1.5rem;
  }
}

/* Categories navigation */
.categories-nav {
  background-color: var(--color-gray-100);
  /* border-bottom: 1px solid var(--color-gray-300); */
  padding: 0.6rem 0;
  .fa-angle-left,
  .fas {
    font-size: 0.8rem;
    display: inline-block;
    margin-right: 0.5rem;
  }
  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* position: relative; */

    @media (max-width: 768px) {
      flex-direction: column;
      align-items: flex-start;
      gap: var(--spacing-md);
    }
  }

  @media (max-width: 768px) {
    padding: 0;
  }
}

.menu-wrapper {
  position: relative;
  /* border: solid 1px red; */
}

.main-nav {
  ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-xxl);
    li a {
      text-transform: uppercase;
      font-weight: 200;
      display: flex;
      align-items: center;

      transition: all 0.3s ease;

      &:hover {
        color: var(--color-primary);
      }
    }

    @media (max-width: 768px) {
      flex-direction: column;
      align-items: flex-start;
      gap: var(--spacing-md);
    }
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    z-index: 5;

    overflow-y: auto;
    padding: 2rem 0;

    ul {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      display: flex;
      li a {
        text-transform: uppercase;
        display: block;
        text-align: center;
        font-size: 2rem;
        font-weight: 600;
        text-decoration: none;
        &:hover {
          text-decoration: none;
        }
      }
    }

    transition: all 0.3s ease;
    transform: translateX(0);
    display: none;
    &.hidden {
      transform: translateX(200%);
    }
  }
}

.categories-button {
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  /* display: block; */
  position: relative;

  img {
    width: 1.5rem;
    height: 1.5rem;
  }

  @media (max-width: 768px) {
    display: none;
  }
}

.categories-button svg {
  margin-left: var(--spacing-xs);
}

/* Banner */
.banner {
  background-color: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: var(--spacing-sm) 0;
  font-size: 1.5rem;
  letter-spacing: 0.38em;
  font-weight: 500;
  /* height: 378px; */
  text-transform: lowercase;

  @media screen and (max-width: 768px) {
    font-size: 1.3rem;
    padding: 1rem;
  }
}

/* Main content */
.main {
  padding: 0 0 var(--spacing-xxl);
}

/* Hero section */
.hero {
  margin-bottom: var(--spacing-xxl);
  height: 600px;
  background: #444;
  /* transform-style: preserve-3d; */
  background-image: url("https://plus.unsplash.com/premium_photo-1683141052679-942eb9e77760?q=80&w=1200&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;

  .container {
    width: 100%;
  }
}

.hero p {
  margin-top: var(--spacing-sm);
  font-size: 2rem;
  color: var(--color-accent);
  font-weight: 200;
}

.hero-content {
  width: 100%;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  /* gap: 0.1rem; */

  h1,
  h2 {
    font-size: 6rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 0.9;
    margin: 0;
  }
}

.featured-products {
  margin-top: -180px;
}

/* Section titles */
.section-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(calc(305px - var(--spacing-md)), 1fr)
  );
  gap: 30px;
  /* margin-bottom: var(--spacing-xxl); */
}

.product {
  /* text-align: center; */
  border: solid 1px #e5e5e5;
  text-decoration: none;
  transition: transform 0.3s ease;
  &:hover {
    transform: scale(1.05);
  }
}

.product-img {
  background-color: var(--color-gray-200);
  aspect-ratio: 1;
  margin-bottom: var(--spacing-sm);
}

.product-content {
  padding: 1rem;
}

.product-name {
  font-size: var(--font-size-md);
  color: var(--color-text);
}

.product-price {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
}

/* Categories section with horizontal scroll */
.categories-section {
  margin-top: var(--spacing-xxl);
}

.categories-scroll {
  overflow: hidden;
  width: 100%;
}

.scroll-track {
  display: flex;
  gap: 30px;
  /* padding-block: 1rem; */
}

.scroller[data-animated="true"] {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  .scroll-track {
    flex-wrap: nowrap;
    animation: scroll 20s linear infinite;
    width: max-content;
  }
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 15px));
  }
}

.category {
  width: 161px;
  flex-shrink: 1;
  /* background: #fff; */
  color: #fff;
  /* padding: 1rem; */
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  &:hover {
    transform: scale(1.05);
  }
}

/* keyframe animando para a esquerda */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.category {
  flex: 0 0 auto;
  width: 160px;
  text-align: left;
}

.category-img {
  background-color: var(--color-gray-200);
  width: 160px;
  height: 160px;
  margin-bottom: var(--spacing-md);
}

.category-name {
  font-size: var(--font-size-xs);
  color: var(--color-text);
  display: block;
  padding-left: 0.2rem;
}

/* Best sellers section */
.best-sellers {
  margin-top: var(--spacing-xxl);
}

.bestseller-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(calc(416px - var(--spacing-md)), 1fr)
  );
  gap: 30px;
}

.bestseller {
  background-color: var(--color-gray-200);
  aspect-ratio: 1;
}

.highlights {
  margin-top: var(--spacing-xxl);
}

/* Parallax banner */
.parallax-banner {
  height: 378px;
  background-color: var(--color-gray-200);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: var(--spacing-xxl);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media screen and (max-width: 768px) {
    height: auto;
    width: 100%;
  }
}

.parallax-content {
  text-align: center;
  color: var(--color-white);
  padding: var(--spacing-md);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-sm);
}

.parallax-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

/* Portfolio section */
.portfolio {
  /* margin-bottom: var(--spacing-xxl); */
  margin-top: var(--spacing-xxl);
}

.recent-products {
  margin-top: var(--spacing-xxl);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(calc(238px - var(--spacing-md)), 1fr)
  );
  gap: 30px;
}

.portfolio-item {
  background-color: var(--color-gray-200);
  aspect-ratio: 1;
}

.main-content {
  display: flex;
  gap: var(--spacing-lg);
  /* margin-top: 4rem; */

  .products-container {
    flex: 1;
  }

  @media (max-width: 768px) {
    flex-direction: column-reverse;
    gap: 0;
  }
}

/* sidebar */
.sidebar {
  flex: 0 0 22%;
  /* margin-top: var(--spacing-xxl); */

  @media (max-width: 768px) {
    flex: 1;
    /* margin-top: 0; */
  }

  .sidebar-title {
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 0.625rem;
    color: #333;
  }
  .current-category {
    font-size: 1rem;
    font-weight: 600;
  }
  .sidebar-list {
    margin-top: var(--spacing-xxl);

    &.nomargin {
      margin-top: 0;
    }

    padding: 1rem;
    &.nude {
      border: solid 2px #eee;
    }
    &.filled {
      background-color: #eee;
    }
    ul {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      li {
        a {
          /* font-size: 10px; */
          font-weight: 400;
          color: #333;
          transition: all 0.3s ease;
          transform: translateX(0);
          &:hover {
            opacity: 0.8;
            padding-left: 5px;
            color: var(--color-primary);
          }
        }
      }

      li.has-children {
        > a {
          display: flex;
          justify-content: space-between;

          .handle-menu-icon {
            position: relative;
            &::after {
              content: "+";
              width: 16px;
              height: 16px;
              display: flex;
              align-items: center;
              justify-content: center;
              border: 2px solid;
              border-radius: 4px;
              font-size: 15px;
              color: black;
              font-weight: 600;
            }

            &.opened::after {
              content: "-";
            }
          }
        }
        li a {
          padding-left: 10px;
          &:hover {
            opacity: 0.8;
            padding-left: 15px;
            color: var(--color-primary);
          }
        }
        > ul {
          gap: 0.5rem;
          height: 0;
          overflow: hidden;
          transition: all 0.3s ease;
          opacity: 0;
          background-color: rgba(255, 255, 255, 0.6);
          &.visible {
            padding: 0.8rem 0;
            margin-top: 0.8rem;
            height: auto;
            overflow: visible;
            opacity: 1;
          }
        }
      }
    }
  }
}

/* breadcrumb */
.breadcrumb {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  font-size: 10px;
  margin-top: var(--spacing-xxl);
  a {
    font-weight: 600;
    color: var(--color-accent);
    &:hover {
      text-decoration: underline;
    }
  }
}

/* category text below products */
.category-text {
  font-size: 1.2rem;
  font-weight: 400;
  margin: var(--spacing-xxl) 0 0;
  /* margin-bottom: var(--spacing-xxl); */
  a {
    font-size: 1.2rem;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: inline;
  }
}

.category-title-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;

  h1 {
    font-size: 2rem;
    font-weight: 600;
  }

  p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #000;
  }
}

.category-banner {
  width: 100%;
  height: 210px;
  background-color: #f4f4f4;
  margin-bottom: var(--spacing-lg);
}

/* product single page */
.product-single {
  margin-top: var(--spacing-xxl);
}

.product-content-container {
  display: flex;
  gap: 2rem;

  @media (max-width: 768px) {
    /* flex-direction: column-reverse; */
    flex-direction: column;
  }
}

.product-images-container {
  display: flex;
  gap: 1rem;
  flex: 1;
  .product-image {
    width: 500px;
    height: 500px;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.4s ease;
    border-radius: 4px;
    overflow: hidden;

    @media (max-width: 768px) {
      width: 100%;
      height: 300px;
    }
  }
  .product-images-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border 0.3s;

      border-radius: 4px;
      overflow: hidden;

      &:hover {
        border-color: #333;
      }
    }
  }

  @media (max-width: 768px) {
    flex-direction: column;
    .product-images-nav {
      flex-direction: row;
      img {
        width: 60px;
        height: 60px;
      }
    }
  }
}

/* product info */
.product-info-container {
  flex: 1;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  .product-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
  }
  .product-ref {
    font-size: 1.125rem;
    font-weight: 400;
  }
  .product-cta {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    &:hover {
      background-color: var(--color-primary-light);
    }
  }

  .product-categories {
    font-size: 1.125rem;
    font-weight: 400;
    color: #000;
  }
  .product-categories-title {
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: block;
  }
  .product-description {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.7;
  }
  .product-categories-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    a {
      font-size: 1rem;
      font-weight: 400;
      color: #000;
      transition: all 0.3s ease;
      border: solid 1px #e5e5e5;
      border-radius: 8px;
      padding: 0.3rem 2rem;
      &:hover {
        background-color: var(--color-primary);
        color: var(--color-background);
      }
    }
  }
}

.main-text {
  font-size: 1.125rem;
  font-weight: 400;
}

.blue-link {
  font-size: 1.125rem;
  font-weight: 400;
  color: #5b849d;
  transition: all 0.3s ease;
  &:hover {
    text-decoration: underline;
    opacity: 0.9;
  }
}

/* related products */
.related-products {
  margin-top: var(--spacing-xxl);
  .related-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  label {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
  }
  &.horizontal {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    label {
      flex: 0 0 30%;
      display: flex;
      gap: 0.5rem;
    }
    .form-input {
      flex: 2;
    }

    &.has-textarea {
      align-items: flex-start;
    }
    &.has-select {
      select {
        flex: 0.5;
      }
    }
    @media (max-width: 768px) {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
      .form-input {
        width: 100%;
      }
    }
  }
  .customer-found {
    background-color: #f6f6f6;
    padding: 1.5rem;
    .customer-found-title {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }
    .checkbox-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .checkbox-list-item {
      display: flex;
      gap: 1rem;
      align-items: center;
      font-size: 1rem;
      font-weight: 400;
      color: #000;
      input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-right: 0.5rem;
      }
      cursor: pointer;
      position: relative;

      input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
      }
      .checkbox-text {
        position: relative;
        padding-left: 1.75rem;
        /* top: 90px; */

        @media (max-width: 768px) {
          padding-left: 2rem;
        }

        &::before {
          content: "";
          position: absolute;
          left: 0;
          top: 1px;
          width: 20px;
          height: 20px;
          border: 1px solid #ccc;
          border-radius: 3px;
          background-color: #fff;
          box-sizing: border-box;
        }
      }

      input[type="radio"]:checked + .checkbox-text::before {
        background-color: var(--color-primary);
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L9 1' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
      }
    }
  }
}

.fake-checkbox {
  input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
  }
  cursor: pointer;
  position: relative;

  input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .checkbox-text {
    position: relative;
    padding-left: 1.75rem;
    @media (max-width: 768px) {
      padding-left: 2rem;
    }
    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 1px;
      width: 20px;
      height: 20px;
      border: 1px solid #ccc;
      border-radius: 3px;
      background-color: #fff;
      box-sizing: border-box;
    }
  }

  input[type="radio"]:checked + .checkbox-text::before {
    background-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L9 1' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
  }
}

.form-input {
  outline: none;
  border: none;
  border: solid 1px #333;
  border-radius: 4px;
  height: 40px;
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
}

textarea.form-input {
  height: 100px;
}

.cart-container-section {
  .cart-container {
    display: flex;
    gap: var(--spacing-xxl);
    flex: 1;
    .cart-content {
      flex: 1;
    }
    .cart-title {
      display: block;
      margin-bottom: var(--spacing-md);
      font-weight: 800;
      font-size: 2.5rem;
    }
    .cart-list-container {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .cart-list-item {
      /* flex: 1; */
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 0 1.5rem;
      border: solid 1px #f0f3f4;
      border-radius: 4px;
      transition: all 0.3s ease;
      &:hover {
        box-shadow: 0 0 10px rgba(100, 100, 100, 0.1);
        transform: translateX(8px);
      }
    }
    .product-row,
    .product-footer {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 1rem;
      padding: 1rem 0;
    }
    .product-footer {
      justify-content: space-between;
      border-top: solid 1px #f0f3f4;

      .product-qty {
        display: flex;
        gap: 1rem;
        align-items: center;
      }

      .product-qty-title {
        font-size: 18px;
        font-weight: 400;
        color: #333;
        font-family: "Source Sans 3";
      }

      .product-qty-field {
        width: 90px;
      }

      .product-qty-action {
        display: flex;
        gap: 1rem;
        align-items: center;
        transition: all 0.3s ease;
        &:hover {
          opacity: 0.9;
          transform: translateX(-3px);
        }
      }
    }
    .product-info {
      display: flex;
      flex-direction: column;
      /* gap: 1rem; */
      .product-name {
        font-weight: 600;
        &:hover {
          text-decoration: underline;
        }
      }
    }

    .product-image {
      width: 97px;
      height: 97px;
      border-radius: 4px;
      overflow: hidden;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    @media (max-width: 768px) {
      flex-direction: column;
    }
  }
}

.send-cart-btn {
  align-self: flex-end;
  justify-self: flex-end;
}

/* CTA section */
.cta-section {
  background-color: var(--color-secondary);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-xxl);

  .cta-title {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-xl);
  }
  .cta-text {
    font-size: var(--font-size-md);
    color: var(--color-white);
    font-weight: 300;
  }
  .cta-button {
    border: solid 1px var(--color-white);
    padding: 0.8rem 2rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    border-radius: 4px;
    transition: all 0.3s ease;
    &:hover {
      background-color: var(--color-white);
      color: var(--color-secondary);
    }
  }
}

/* Footer */
.footer {
  background-color: var(--color-gray-100);
  border-top: 1px solid var(--color-gray-300);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  border-bottom: solid 1px #111;
}

.feature {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  width: 80px;
  height: 80px;
  /* border: solid 1px red; */
  display: flex;
  /* align-items: flex-end; */
  justify-content: flex-end;
  margin-right: var(--spacing-sm);
  img {
    width: 70px;
    height: 40px;
    object-fit: contain;
  }
}

.feature-content h4 {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
}

.feature-content p {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.link-column h5 {
  font-size: var(--font-size-xs);
  margin-bottom: var(--spacing-sm);

  @media (max-width: 768px) {
    margin-bottom: 0;
  }
}

.link-column {
  @media (max-width: 768px) {
    margin-top: 2rem;
    &:not(:nth-child(4)) {
      display: none;
    }
  }
}

.link-column ul {
  margin-bottom: 1rem;
  flex-direction: column;
  display: flex;
  gap: 0.25rem;
}

.link-column ul li {
}

.link-column ul li a {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.link-column ul li a:hover {
  color: var(--color-primary);
}

.footer-socials {
  .social-icons {
    display: flex;
    gap: 1rem;
  }
}

.social-icons,
.payments-icons {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  justify-self: flex-end;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  gap: 1rem;
  .social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    border-radius: 50px;
    background-color: var(--color-accent);
    color: #fff;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    &:hover {
      transform: translateY(-5px);
    }
  }

  @media (max-width: 768px) {
    justify-self: last baseline;
    margin-top: 1rem;
  }
}

.copyright {
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-gray-300);
  p + p {
    margin-top: var(--spacing-xs);
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration), transform var(--reveal-duration);
  &.active {
    opacity: 1;
    transform: translateY(0);
  }
}
/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 3rem;
  z-index: 999;
}

.whatsapp-button a {
  animation: infinite pulse 2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.whatsapp-button a:hover {
  transform: scale(1.1);
}

.whatsapp-button svg {
  width: 30px;
  height: 30px;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.blog-container-section {
  .blog-banner {
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-decoration: none;

    transition: all 0.3s ease;

    &:hover {
      .blog-banner-image {
        opacity: 0.9;
      }
    }

    @media screen and (max-width: 768px) {
      height: 300px;
      overflow: hidden;
    }

    .blog-banner-image {
      width: 100%;
      height: 100%;
      max-width: 900px;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
    }
    .blog-banner-content {
      background-color: #fff;
      height: 260px;
      display: flex;
      align-items: center;
      padding: 2rem;
      position: relative;
      .blog-title {
        font-size: 2.25rem;
        color: #000;
        font-weight: 600;
        max-width: 630px;
      }

      @media (max-width: 768px) {
        height: auto;
        flex-direction: column;
        margin: 2rem;
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 4px;
        backdrop-filter: blur(5px);
        .blog-title {
          font-size: 1.5rem;
          text-align: center;
        }
      }
    }
  }
  .blog-title {
    display: block;
    margin-bottom: 1rem;
  }
  .blog-content {
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
    /* font-weight: 500; */
    font-weight: 400;
    img {
      max-width: 100%;
      height: auto;
      /* margin: 2rem 0; */
      object-fit: cover;
      border-radius: 4px;
    }
  }

  @media (max-width: 768px) {
    margin-bottom: 2rem;
  }
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;

  .blog-list-item {
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease-in-out;

    &:hover {
      transform: translateX(10px);
    }

    @media screen and (max-width: 768px) {
      flex-direction: column;
    }

    .blog-list-image {
      width: 100%;
      max-width: 300px;
      height: 150px;
      overflow: hidden;
      border-radius: 4px;

      @media screen and (max-width: 768px) {
        max-width: 100%;
        height: auto;
      }

      img {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        transition: all 0.3s ease-in-out;
        filter: grayscale(50%);
        &:hover {
          transform: scale(1.05);
          filter: grayscale(0%);
        }
      }
    }
    .blog-list-title {
      font-weight: 600;
      margin-bottom: 0.5rem;
      font-size: 1.5rem;
    }
    .blog-list-text {
      flex: 1;
      font-size: 1rem;
    }
  }
}

.mobile-menu-ico {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.hide-on-mobile {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: inline-block;
  }
  .container {
    padding: 0 var(--spacing-md);
  }

  .search-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-features,
  .footer-links {
    grid-template-columns: 1fr;
    margin-bottom: 0;
    gap: 0;
  }

  .cta-section {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    flex-wrap: nowrap;
    /* position: relative; */
  }

  /* .logo {
    margin-bottom: var(--spacing-sm);
  } */

  .search-box {
    width: 100%;
    max-width: 100%;
  }

  .bestseller-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .hero h2 {
    font-size: 3rem;
  }
}

.main-title {
  font-size: 2.25rem;
  color: #000;
  font-weight: 600;
  line-height: 1.2;
}

.divided-content {
  display: flex;
  gap: 1.875rem;

  @media (max-width: 768px) {
    flex-direction: column;
  }
  img {
    height: 280px !important;
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    &:hover {
      transform: scale(1.05);
    }
  }
  div {
    flex: 1;
  }
}

.btn {
  border: solid 1px var(--color-white);
  padding: 0.8rem 2rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;

  display: inline-block;

  &.primary {
    color: var(--color-white);
    background-color: var(--color-primary);
    &:hover {
      background-color: var(--color-primary-light);
    }
  }

  &.blue {
    color: var(--color-white);
    background-color: var(--color-accent);
    &:hover {
      background-color: var(--color-secondary);
    }
  }
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.db {
  display: block;
}

.tdu {
  text-decoration: underline;
}

.d-flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}
.flex-col {
  flex-direction: column;
}
.gap-1 {
  gap: 1rem;
}
