:root {
  /* MAIN COLORS */
  --color-primary: #1f3a65;
  --color-primary-dark: #152947;
  --color-secondary: #d90429;
  --color-light: #ececec;
  --color-white: #fafafa;
  --color-gray: #8d99ae;
  --color-light-gray: #cccccc;
  --color-md-gray: #979797;
  --color-dark-gray: #555;
  --color-light-dark: #222222;
  --color-dark: #1e1e1e;
  --color-whatsapp: #1ebe5b;
  --color-hover-whatsapp: #019501;
  --color-back-button: #0077cc;
  --color-hover-back-button: #005fa3;
  --color-blue: #2f5bea;
  --color-dark-blue: #2336c4;

  /* FONTS */

  --font-title: "Montserrat", sans-serif; /* Titles */
  --font-body: "Open Sans", sans-serif; /* Normal texts */

  /* SPACING */

  --space-xs: 0.25rem; /* 4px */
  --space-sm: 0.5rem; /* 8px */
  --space-md: 1rem; /* 16px */
  --space-lg: 2rem; /* 32px */
  --space-xl: 3rem; /* 48px */

  /* BORDERS */

  --border-radius-sm: var(--space-sm); /* Rounded corners */
  --border-radius-md: var(--space-md); /* Rounded corners */
  --border-radius-btn: 2rem;
  --border-gray: 1px solid var(--color-gray);

  /* SHADOWS */

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);

  /* SEMANTIC Z-INDEX */
  --z-header: 1000;
  --z-dropdown: 1100;
  --z-modal: 1200;
  --z-backdrop: 1190;
  --z-toast: 1300;
  --z-floating-btn: 1400;
  --z-whatsapp: 1500;
}

html {
  font-size: 1rem;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-primary);
  margin: 0;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--background-image-url);
  background-position: center 20%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: auto;
  z-index: -1;
  opacity: 0.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

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

/* ################# ERROR MESSAGES ################### */

.messages {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.message {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
}

.message.success {
  background-color: #e6ffed;
  color: #05632c;
  border-color: #9ae6b4;
}

.message.error {
  background-color: #ffe6e6;
  color: #9b1c1c;
  border-color: #feb2b2;
}

.message.warning {
  background-color: #fffaf0;
  color: #975a16;
  border-color: #fbd38d;
}

.message.info {
  background-color: #ebf8ff;
  color: #2c5282;
  border-color: #90cdf4;
}

.message.debug {
  background-color: #f7fafc;
  color: #4a5568;
  border-color: #e2e8f0;
}

/* ============== TEMPLATE BASE =================== */

/* ======= WHATSAPP ICON ======== */
.whatsapp-float {
  position: fixed;
  width: 100px;
  bottom: 70px;
  right: 60px;
  z-index: var(--z-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.4));
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-float.pulse {
  animation: pulse 1.6s ease-in-out 3;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 95%;
  left: 50%;
  width: max-content;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-sm);
  font-size: 1.2rem;
  font-family: var(--font-body);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  z-index: var(--z-whatsapp);
}

.whatsapp-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--color-whatsapp) transparent transparent transparent;
}

.whatsapp-tooltip span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.whatsapp-tooltip span.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===========   MAIN HEADER   ============ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  z-index: var(--z-header);
  padding: var(--space-sm) 0;
  width: 100%;
}

.logo {
  position: relative;
  min-height: 50px;
}

.logo-img {
  display: block;
}

.logo-img img {
  height: 90px;
}

.header-content {
  display: flex;
  flex-direction: row;
}

.logo-text {
  display: none;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
}

.logo-img,
.logo-text {
  transition: opacity 0.3s ease;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-desktop .menu {
  margin-left: auto;
}

.nav-link {
  color: var(--color-primary);
  font-weight: 600;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color 0.3s;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--color-secondary);
}

/* ======= Dropdown navbar Products ======= */

.dropdown-parent {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-sm);
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: var(--z-dropdown);
  list-style: none;
  padding-left: 0;
}

.dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-primary);
  transition: background 0.3s;
}

.dropdown-item:hover {
  background: var(--color-light);
  border-radius: var(--border-radius-sm);
}

.dropdown-parent:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 2px;
  margin-top: 2px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(225deg);
  transition: transform 0.3s;
}

.dropdown-parent:hover .dropdown-toggle::after {
  transform: rotate(45deg);
  margin-bottom: 3px;
  border-right: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

.dropdown-parent:hover .nav-link {
  color: var(--color-secondary);
}

/* ====== MENU MOBILE ====== */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: var(--z-header);
}

.hamburger-line {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--color-primary);
  margin: 4px 0;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* Transformation into X */
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MENU MOBILE ===== */
.nav-mobile {
  position: absolute;
  top: 105px;
  left: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-10%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  z-index: var(--z-dropdown);
}

.nav-mobile[data-visible="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==== Dropdown Mobile ==== */
.nav-mobile .dropdown-menu {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  position: fixed;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.5s;
  margin: 0;
  z-index: var(--z-dropdown);
  pointer-events: none;
}

.menu-mobile {
  list-style: none;
  padding-left: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.menu-mobile > li {
  padding: 0 var(--space-md);
}

.menu-mobile .nav-link {
  display: block;
  padding: var(--space-md) 0;
  font-weight: 600;
  border-bottom: 2px solid var(--color-light);
}

.nav-mobile .dropdown-menu a {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--color-gray);
  transition: color 0.3s;
}

.nav-mobile .dropdown-menu a:hover {
  color: var(--color-dark);
}

/* =========== SOCIAL MEDIA HEADER ========== */
.header-socials {
  display: flex;
  gap: 1.5rem;
  margin-left: 2rem;
  align-items: center;
}

.header-socials a,
.mobile-socials a {
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.header-socials a:hover,
.mobile-socials a:hover {
  color: var(--color-secondary);
}

/* =========== CART HEADER ========== */
.header-cart {
  margin: 0 0 0 1.3rem;
  display: flex;
  align-items: center;
}

.cart-link {
  position: relative;
  text-decoration: none;
  color: inherit;
  top: 4px;
}

.cart-link i {
  font-size: 1.8rem;
}

.cart-count {
  background-color: #e63946;
  color: #fff;
  font-size: 0.6rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 0.3rem 0.6rem;
  position: absolute;
  top: -13px;
  right: -18px;
}

/* ======= FOOTER ======== */

.footer {
  background-color: var(--color-dark);
  color: var(--color-md-gray);
  padding: var(--space-xl) var(--space-md) var(--space-md);
  font-size: 1rem;
  font-family: var(--font-body);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.footer-col h3 {
  font-family: var(--font-title);
  color: var(--color-light);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.footer-logo-img {
  width: 120px;
  height: auto;
  margin: auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-family: var(--font-title);
  color: var(--color-light);
  text-align: center;
}

.footer-col .footer-title {
    font-size: 1.30em;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    display: block;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: var(--color-md-gray);
  transition: color 0.3s ease;
  text-transform: capitalize;
}

.footer-col p,
.footer-col li {
  font-size: 1rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-light);
}

.footer-address {
  margin-left: 1rem;
}

.footer-address p {
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-bottom: 0.65rem;
}

.footer-social a {
  font-size: 1.5rem;
  color: var(--color-md-gray);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-light);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-lg);
  border-top: var(--border-gray);
  padding-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* ============== RESPONSIVENESS(TEMPLATE BASE) ============== */

@media (max-width: 1025px) {
  .whatsapp-float {
    right: 20px;
  }

  .whatsapp-tooltip::after {
    left: 74%;
  }

  .whatsapp-tooltip {
    left: 5%;
  }

  /* ====  HEADER(PRODUCTS) ==== */

  .dropdown-parent:hover .dropdown-toggle::after {
    transform: rotate(45deg);
    margin-bottom: 3px;
    border-color: var(--color-secondary);
  }

  .dropdown-parent:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }

  .dropdown-parent .dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 4px;
    margin-bottom: 3px;
    width: 8px;
    height: 8px;
    border-color: var(--color-primary);
    transform: rotate(45deg);
    transition: transform 0.3s;
  }
}

@media (max-width: 768px) {
  /* ==== HEADER + MENU DROPDOWN(HAMBURGUER) ==== */

  body::before {
    background-image: none;
    background-color: var(--color-light);
    opacity: unset;
  }

  .header-content {
    gap: 2rem;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .header-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    margin: 0;
  }

  .header-cart {
    margin: 0;
  }

  .header-socials a,
  .mobile-socials a {
    font-size: 2rem;
  }

  .nav-desktop .menu {
    display: none;
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .logo-img {
    display: block;
  }

  .nav-mobile .dropdown-menu {
    position: relative;
    box-shadow: none;
    display: none;
  }

  .nav-mobile .dropdown-menu a {
    line-height: 2.2;
  }

  .dropdown-menu.open {
    display: block;
  }

  .nav-mobile[data-visible="true"] .menu-mobile {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ------------------ FINISH TEMPLATE BASE ----------------------- */

/* =================== TEMPLATE HOME ========================== */

/* ===== BANNER ===== */

.banner-slider {
  max-width: 100vw;
  aspect-ratio: 17 / 4;
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  margin-top: 105px;
}

.banner-slider .glide__track {
  height: 100%;
}

.glide__slide {
  width: 100%;
}

.banner-image {
  width: 100%;
  aspect-ratio: 17 / 4;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.banner-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.banner-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
}

.banner-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  color: var(--color-white);
}

.banner-description {
  font-size: 2.5rem;
  font-family: var(--font-title);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  max-width: 30ch;
  line-height: 1.2;
}

.banner-btn {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 0.6rem 1.25rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.4s;
  border-radius: var(--border-radius-btn);
  margin-top: 30px;
  font-size: 1.25rem;
}

.banner-btn:hover {
  background-color: #a80320;
}

.glide__arrow {
  width: 56px;
  height: 56px;
  border: none;
  background: none;
  display: flex;
  color: var(--color-white);
  font-size: 3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.glide__arrow:hover {
  transform: scale(1.2);
}

.glide__arrow--left {
  left: 30px;
}

.glide__arrow--right {
  right: 30px;
}

.banner-slider .glide__arrows {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.banner-slider:hover .glide__arrows {
  opacity: 1;
  pointer-events: auto;
}

/* ========= FEATURED PRODUCTS ======== */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.featured-products {
  padding: 4rem 0.5rem;
  background-color: var(--color-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.product-title {
  font-size: 1.4rem;
  color: var(--color-dark-gray);
  line-height: 1.5;
}

.product-description {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

.product-btn {
  background-color: var(--color-secondary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-btn);
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.3s;
  align-self: center;
  margin-top: auto;
}

.product-btn:hover {
  background-color: #a80320;
}

/* ============ WHY GAZIL SECTION ============= */

.why-gazil {
  padding: 4rem 1rem;
}

.why-gazil .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-dark);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.reason-card {
  padding: 2rem;
  text-align: center;
  background: var(--color-white);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.reason-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-style: normal;
}

.reason-card p {
  text-align: center;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

.reason-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.reason-description {
  font-size: 1rem;
  color: var(--color-dark-gray);
  line-height: 1.5;
}

/* ============== RESPONSIVENESS(TEMPLATE HOME) ================ */

@media (max-width: 1025px) {
  /* ==== BANNER ==== */

  .banner-slider {
    aspect-ratio: 17 / 6;
  }

  .banner-image {
    aspect-ratio: 17 / 6;
  }

  .banner-description {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    max-width: 100%;
  }

  .banner-btn {
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-md);
    font-size: 1rem;
  }
}

@media (max-width: 968px) {
  .products-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    margin-top: -15px;
    padding: 15px;
    scroll-padding-left: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .products-grid::-webkit-scrollbar {
    display: none;
  }

  .products-grid > .product-card-link {
    flex: 0 0 calc(100% - 3rem);
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  /* ==== BANNER ==== */

  .banner-slider {
    aspect-ratio: 17 / 8;
  }

  .banner-image {
    aspect-ratio: 17 / 8;
  }

  .banner-slide {
    width: 100%;
    height: 100%;
  }

  .banner-overlay {
    height: 100%;
    padding: var(--space-md);
  }

  .why-gazil {
    padding: 0 1rem;
  }

  .reasons-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 15px;
    padding-right: 15px;
    scroll-padding-left: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .reasons-grid::-webkit-scrollbar {
    display: none;
  }

  .reasons-grid > .reason-card {
    flex: 0 0 calc(100% - 3.5rem);
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  /* ====== HOME PAGE ====== */

  .banner-slider {
    aspect-ratio: 14 / 8;
  }

  .banner-image {
    aspect-ratio: 14 / 8;
  }

  .banner-description {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    max-width: 100%;
  }

  .banner-btn {
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-sm);
    font-size: 1rem;
  }
}

@media (max-width: 460px) {
  .header-content {
    gap: 2rem;
    padding-right: 0.5rem;
  }

  .header-socials {
    margin: 0 auto;
    gap: 2rem;
  }

  .banner-slider {
    aspect-ratio: 12 / 9;
  }

  .banner-image {
    aspect-ratio: 12 / 9;
  }

  .banner-description {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    max-width: 100%;
  }

  .banner-btn {
    margin-top: var(--space-md);
    font-size: 1rem;
  }

  .reason-card {
    padding: 1rem;
  }
}

@media (max-width: 365px) {
  .header-content {
    gap: 1.3rem;
    padding-right: 0.5rem;
  }

  .header-socials {
    margin: 0 auto;
    gap: 1.3rem;
  }

  /* ====== BANNER ====== */

  .banner-description {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    max-width: 100%;
  }

  .banner-slider {
    aspect-ratio: 10 / 8;
  }

  .banner-image {
    aspect-ratio: 10 / 8;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .message {
    font-size: 12px;
  }
}

/* ---------------- FINISH TEMPLATE HOME -------------------- */

/* ============== TEMPLATE CONTACTS =============== */

/* ====== HEADER PAGE CONTACTS ======= */

.contact-header {
  background-color: var(--color-primary);
  padding: 60px 20px;
  text-align: center;
  margin-top: 100px;
}

.contact-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-white);
}

.contact-header p {
  font-size: 1.5rem;
  color: var(--color-light-gray);
  max-width: 800px;
  margin: 0 auto;
}

/* =========== CONTACTS SECTION =========== */

.section-title-contact {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--color-light-dark);
  text-align: left;
}

.contact-section {
  padding: 1.2rem;
  background-color: var(--color-light);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
  width: 100%;
}

.contact-info,
.contact-form {
  flex: 1 1 400px;
  min-width: 280px;
  padding: 40px 20px;
  background-color: var(--color-light);
  color: var(--color-dark);
}

/* ==== SERVICE CHANNELS ==== */

.contact-info {
  background-color: var(--color-light);
  padding: 40px 20px;
  text-align: center;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-light);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
  text-align: left;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-sublist {
  padding-left: 30px;
  color: var(--color-dark-gray);
  font-size: 1rem;
}

.icon {
  color: var(--color-md-gray);
  font-size: 1.2rem;
  min-width: 20px;
}

.contact-sublist a .icon:hover {
  color: var(--color-dark-gray);
}

.copy-email-button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-md-gray);
  font-size: 1rem;
  padding: 2px;
}

.email-text {
  word-break: break-all;
  color: var(--color-dark-gray);
}

.copy-feedback {
  display: none;
  margin-left: 10px;
  font-size: 0.9rem;
  color: green;
  animation: fadeInOut 2s ease-in-out forwards;
}

.copy-feedback.visible {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ========= FORM ========== */

.form-required-alert {
  background-color: var(--color-light);
  color: var(--color-dark-gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -15px;
}

.form-required-alert .required-symbol {
  color: var(--color-secondary);
  font-weight: bold;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  padding: 12px 16px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-white);
  font-size: 1rem;
  transition:
    border 0.3s,
    box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(100, 100, 255, 0.1);
  background-color: var(--color-white);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 12px 20px;
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius-btn);
  font-size: 1rem;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.contact-form button:hover {
  background-color: var(--color-dark-blue);
}

.errorlist {
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin: 0;
  padding-left: 15px;
}

/* ------ FORM SENT SUCCESSFULLY ------ */
.success-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-light);
  padding: 40px 20px;
  min-height: 70vh;
}

.success-container {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 450px;
  width: 100%;
  color: var(--color-dark);
}

.success-container h1 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.success-container p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--color-dark-gray);
}

.success-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.success-button:hover {
  background-color: var(--color-dark-blue);
}

/* ====== ADDRESSES AND MAP SECTION ====== */

.location-and-map {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-locations {
  padding: 0 20px;
  text-align: left;
  color: var(--color-dark);
}

.address-item {
  margin-bottom: 20px;
}

.address-text {
  display: block;
  margin-bottom: 5px;
  color: var(--color-dark-gray);
}

.map-link {
  display: none;
}

#custom-map {
  display: block;
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
}

/* ========= RESPONSIVENESS TEMPLATE CONTACTS ========== */

@media (max-width: 768px) {
  .contact-header {
    padding: 40px 20px;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1.1rem;
  }

  .contact-grid {
    flex-direction: column;
    margin-bottom: 0;
  }

  /* ---- FORM ----- */

  .contact-form {
    padding: 20px 5px;
  }

  /* ----- SERVICE CHANNELS ----- */

  .contact-info {
    padding: 30px 5px;
  }

  .contact-line i {
    margin-top: 5px;
  }

  .contact-list {
    margin: 0;
  }

  /* ----- MAPS----- */

  .location-and-map {
    margin: 0;
  }

  #custom-map {
    display: none;
  }

  .contact-locations {
    padding: 0 5px;
    text-align: left;
    color: var(--color-dark);
  }

  .map-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 1rem;
    color: var(--color-secondary);
    text-decoration: underline;
  }

  .map-link:hover {
    color: var(--color-primary);
  }
}

@media (max-width: 450px) {
  .contact-grid {
    gap: 30px;
    margin: 0;
  }

  .contact-info {
    padding: 0 5px;
  }

  .contact-line {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ------------------- FINISH TEMPLATE CONTACTS -------------------- */

/* =================== TEMPLATE WHO WE ARE ======================= */

.main-content {
  background: var(--color-light);
  opacity: 0.8;
}

.about-page {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--color-dark);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 900;
}

.about-page section {
  margin-bottom: 4rem;
  background-color: var(--color-light);
}

.about-page h1 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.about-page h2 {
  font-size: 2.5rem;
  text-align: center;
}

.about-page p {
  margin-bottom: 1.35rem;
  font-size: 1.2rem;
  text-align: center;
}

.about-page ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.about-page .note {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  font-style: italic;
}

.about-page blockquote {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-secondary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-dark);
}

.about-page .closing-line {
  margin-top: 2rem;
  font-weight: 700;
  color: var(--color-dark-gray);
}

.section-clients {
  max-width: 1100px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 2rem;
}

.section-clients h2 {
  margin-bottom: 2.5rem;
}

.section-clients img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

.glide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  font-size: 1.2rem;
  z-index: 10;
}

.glide__arrow:hover {
  background-color: var(--color-secondary);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .section-clients {
    padding: 0 1rem;
  }

  .glide__arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .glide__arrow--left {
    left: 5px;
  }

  .glide__arrow--right {
    right: 5px;
  }
}

/* ========= RESPONSIVENESS TEMPLATE WHO WE ARE ========== */

@media (max-width: 1440px) {
  .main-content {
    padding: 50px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 20px 10px;
  }

  .about-page {
    padding: 2rem 1.5rem;
    font-size: 1rem;
    margin-top: 3rem;
  }

  .about-page h1 {
    font-size: 2rem;
  }

  .about-page h2 {
    font-size: 1.5rem;
  }

  .about-page ul {
    font-size: 1rem;
  }

  .about-page p {
    font-size: 1rem;
  }
}

/* ------------------ FINISH TEMPLATE WHO WE ARE ------------------- */

/* ======================= PRODUCTS SECTION ======================== */
/* ======================= INDEX TEMPLATE ======================== */

/* -------- PARTIAL HERO ---------- */

.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  margin-top: 100px;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

.hero-content h2 {
  font-family: var(--font-body);
  font-size: 2rem;
  margin: 3rem auto 0;
}

.hero-content p {
  font-family: var(--font-body);
  font-size: 1.575rem;
  margin: 0 auto 3rem;
}

/* ---------- SEARCH BAR ------------- */

.search-bar {
  display: flex;
  align-items: center;
  max-width: 550px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.search-bar input {
  background: var(--color-white);
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  font-size: 1rem;
  outline: none;
}

.search-bar button {
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  color: var(--color-dark);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar button:hover {
  background: var(--color-light-gray);
}

/* --------- LISTING OF PRODUCT TYPES ----------- */

.categories {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-light);
  text-align: center;
}

.categories-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.categories-subtitle {
  font-size: 1.375rem;
  color: var(--color-dark-gray);
  text-align: center;
  margin-bottom: 2rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  padding: 1rem;
  color: var(--color-dark);
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.category-card:hover {
  border-color: var(--color-light-gray);
}

.card-content {
  padding: 0;
  text-align: center;
}

.card-content h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
}

/* ================= RESPONSIVENESS INDEX TEMPLATE =============== */

@media (max-width: 1369px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 var(--space-xl) var(--space-xl) var(--space-xl);
  }

  .hero-content h1 {
    padding: 2rem 0 1rem;
    margin: 0;
    font-size: 2.8rem;
  }

  .hero-content h2 {
    margin: 1.5rem auto 0.5rem;
  }

  .hero-content p {
    margin: 0 0 1.3rem 0;
    font-size: 1.25rem;
  }

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

@media (max-width: 650px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content h2 {
    font-size: 1.7rem;
    margin: 1.5rem auto 0.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 550px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

@media (max-width: 490px) {
  .hero-content h1 {
    padding: 1.5rem 0 0.5rem;
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
  }
}

@media (max-width: 450px) {
  .hero-content h1 {
    font-size: 2rem;
    padding: 1.7rem 0 1rem;
  }

  .categories-title {
    font-size: 1.75rem;
  }

  .categories-subtitle {
    font-size: 1.2rem;
  }

  .category-card {
    padding: 0.3rem;
  }

  .card-content h3 {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.55rem;
    padding: 1.5rem 0 1rem;
  }

  .hero-content h2 {
    font-size: 1.4rem;
    margin: 0.75rem auto 0.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* ------------------- FINISH TEMPLATE INDEX -------------------- */

/* ================== LIST PRODUCTS TEMPLATE =================== */

/* ------ MAIN CLASSES ------*/
.content {
  background: var(--color-light);
}

.list-product {
  padding-bottom: 4rem !important;
}

/* -------- ORDERING --------- */

.ordering {
  padding: 0;
  margin: 0;
}

.ordering form {
  display: flex;
  gap: 1rem;
}

.ordering form label {
  width: max-content;
}

.ordering select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.75rem;
}

/* ------- LIST TITLE --------- */

.list-title h2 {
  text-align: center;
  font-size: 2.5rem;
  padding: 2rem;
  margin: 0;
}

/* -------------- LISTED PRODUCTS ------------ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-light);
  margin-bottom: 2.5rem;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
  transition: border-color 0.5s ease;
}

.product-list-card:hover {
  border-color: var(--color-light-gray);
}

.card-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-light);
}

.card-product-image img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-sm);
  object-fit: contain;
}

.card-product-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-product-content h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.card-product-content .short-desc {
  font-size: 0.95rem;
  color: var(--color-dark-gray);
}

.card-product-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: auto;
}

/* ------ PRODUCT CARD BUTTONS ------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--border-radius-md);
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-cart {
  background-color: #e6f4ea;
  color: #185c37;
  border: 1px solid var(--color-primary);
  width: 100%;
}

.btn-cart:hover {
  background-color: #185c37;
  color: #e6f4ea;
}

.btn-details {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-light);
}

.btn-details:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-light);
}

.btn i {
  font-size: 20px;
}

.icon-composto {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.icon-composto .fa-clipboard {
  font-size: 1.3rem;
}

.card-product-actions .btn-cart {
  background-color: #3b7b51 !important;
  color: #ffffff !important;
  border: 1px solid #3b7b51 !important;
  transition: all 0.2s ease;
}

.card-product-actions .btn-cart:hover {
  background-color: #2e613f !important;
  border-color: #2e613f !important;
  transform: translateY(-2px);
}

.card-product-actions .btn-cart .icon-composto .fa-clipboard {
  color: #ffffff;
}

.card-product-actions .btn-cart .icon-composto .fa-plus {
  position: absolute;
  bottom: 0;
  right: -0.2em;
  font-size: 0.5rem !important;
  width: 0.85rem !important;
  height: 0.85rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #3b7b51;
  border: 0.15em solid #3b7b51;
  border-radius: 50%;
  line-height: 1;
  transition: all 0.2s;
}

/* --------- PARTIAL PAGINATION --------- */

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  padding-bottom: 0.95rem;
}

.pagination a {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: var(--color-light-dark);
  transition: background 0.5s ease;
}

.pagination a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.pagination span {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: var(--color-light);
}

/* ##### CLASSES FOR WHEN THERE ARE NO RESULTS IN THE SEARCHES ##### */

.no-results {
  text-align: center;
  padding: 60px 20px;
  border: 2px dashed var(--color-md-gray);
  border-radius: 16px;
  background: #fafafa;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.no-results:hover {
  border-color: var(--color-dark-gray);
  background: whitesmoke;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.no-results h2 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--color-light-dark);
}

.no-results p {
  font-size: 16px;
  color: var(--color-dark-gray);
}

.no-results .btn-back {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--color-back-button);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  margin: 2rem 0 0;
}

.no-results .btn-back:hover {
  background: var(--color-hover-back-button);
}

.no-results i {
  font-size: 40px;
  color: var(--color-whatsapp);
  display: block;
  margin: 0.5rem 0 0;
}
/* ========== RESPONSIVENESS LIST_PRODUCT TEMPLATE ========== */

@media (max-width: 1440px) {
  .product-grid {
    gap: 10px;
  }

  .content:has(.no-results) {
    padding: 4rem 0;
  }

  .btn {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .header .nav-desktop {
    padding: 0 10px;
  }

  .container {
    padding: 0;
    width: 95%;
  }

  .btn {
    font-size: 12.5px;
  }

  .btn i {
    font-size: 20px;
  }

  .no-results {
    padding: 20px;
  }
}

@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .btn {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .card-product-content h2 {
    font-size: 1.25rem;
  }

  .container {
    width: 90%;
  }

  .product-grid {
    padding: 0 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-list-card {
    margin-bottom: 2rem;
  }

  .btn {
    font-size: 14px;
  }

  .btn i {
    font-size: 22px;
  }
}

@media (max-width: 650px) {
  .container {
    padding: 0;
    width: 95%;
  }

  .ordering {
    padding: 0;
  }

  .list-title h2 {
    padding: 1.25rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }

  .card-product-content {
    padding: 5px;
  }

  .card-product-actions .btn i {
    font-size: 20px;
  }
}

@media (max-width: 450px) {
  .header .nav-desktop {
    padding: 0 10px;
  }

  .hero {
    padding: 0 0.5rem 1.2rem;
  }

  .hero-content p {
    line-height: 1.3;
  }

  .ordering label {
    font-size: 0.9rem;
  }

  .list-title h2 {
    font-size: 1.5rem;
  }

  .product-grid {
    padding: 0;
  }

  .card-product-content {
    padding: 0px;
  }

  .card-product-content h2 {
    font-size: 0.9rem;
  }

  .card-product-content .short-desc {
    font-size: 0.7rem;
  }

  .card-product-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    margin-top: auto;
  }

  .card-product-actions .btn i {
    font-size: 20px;
  }

  .btn-details {
    flex-grow: 1;
    display: flex;
    width: auto;
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem !important;
    justify-content: space-between;
    text-align: center;
    white-space: nowrap;
  }

  .btn-details i {
    display: none;
  }

  .btn-details::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
  }

  .btn-cart {
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-cart .btn-text {
    display: none !important;
  }

  .btn {
    font-size: 0.75rem;
    padding: 0.45rem 0;
  }

  .btn i {
    font-size: 2.25rem;
  }

  .no-results h2 {
    font-size: 1.2rem;
  }

  .no-results p {
    font-size: 0.95rem;
    margin: 0;
  }

  .no-results i {
    font-size: 30px;
    color: var(--color-whatsapp);
    margin: 0 0 0 0.5rem;
  }
}

@media (max-width: 360px) {
  .btn-details {
    flex-grow: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .btn-cart {
    border-radius: 50%;
  }
  .btn-details .btn-text,
  .btn-details::after {
    display: none !important;
  }

  .btn-details i {
    display: flex !important;
    font-size: 1.1rem !important;
    margin: 0;
  }
}

/* ---------------- FINISH TEMPLATE LIST PRODUCTS ------------------ */

/* =================== DETAIL_PRODUCT TEMPLATE ===================== */

.product-detail-container {
  margin: 0 auto;
  padding: 2.5rem 0;
  background: var(--color-light);
}

.product-detail-header {
  text-align: left;
  margin-bottom: 2rem;
}

.product-detail-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
  background: transparent;
  border-radius: 0;
}

.product-detail-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.product-detail-image img {
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.product-detail-info {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-detail-title {
  font-size: 2.5rem;
  color: var(--color-primary-dark);
  margin: 0 0 0.5rem 0;
}

.product-detail-short {
  font-size: 1.1rem;
  color: #666;
  font-weight: normal;
  margin: 0;
}

.product-detail-long {
  margin: 3rem 0 0;
}

.product-detail-long p {
  margin: 0;
}

.product-detail-buttons {
  display: flex;
  flex-direction: row;
  margin: 0;
  gap: 12px;
  justify-content: space-between;
}

.product-detail-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s;
}

.product-detail-buttons form,
.product-detail-buttons .btn-whatsapp {
  flex: 1;
}

.product-detail-buttons .btn-cart {
  color: white;
  border: 1px solid #3b7b51;
  background-color: #3b7b51;
}

.product-detail-buttons .btn-cart:hover {
  transform: translateY(-2px);
  background-color: #2e613f;
}

.product-detail-buttons .btn-cart i {
  font-size: 1.4rem;
}

.product-detail-buttons .btn-whatsapp {
  background-color: #ffffff;
  color: #3b7b51;
  border: 1px solid #e0e0e0;
}

.product-detail-buttons .btn-whatsapp i {
  color: #25d366;
  font-size: 1.2rem;
}

.product-detail-buttons .btn-whatsapp:hover {
  border-color: #3b7b51;
  background-color: #f4fbf6;
}

.product-detail-buttons .btn-cart .icon-composto {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-detail-buttons .btn-cart .icon-composto .fa-plus {
  position: absolute;
  bottom: 0;
  right: -0.2em;
  font-size: 0.5rem !important;
  width: 0.85rem !important;
  height: 0.85rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #3b7b51;
  border: 0.15em solid #3b7b51;
  border-radius: 50%;
  line-height: 1;
  transition: all 0.2s;
}

.product-detail-buttons .btn-cart:hover .icon-composto .fa-plus {
  border-color: #2e613f;
  color: #2e613f;
}

/* ----------- RELATED PRODUCTS ------------- */

.related-section h2 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  text-align: center;
  padding-bottom: 10px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-grid > a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.related-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
}

.related-card img {
  max-width: 100%;
  border-radius: var(--border-radius-sm);
  margin: auto auto 15px auto;
}

.related-card h3 {
  font-size: 1.1rem;
  margin: 0;
  margin-top: auto;
}

.related-card p {
  font-size: 0.9rem;
  color: var(--color-dark-gray);
  margin-bottom: 15px;
}

.related-section .no-results {
  padding: 30px 0;
}

/* ============ RESPONSIVENESS DETAIL_PRODUCT ============= */

@media (max-width: 1440px) {
  .product-detail-container {
    padding: 2.5rem 0;
  }

  .product-detail-main {
    gap: 1rem;
  }

  .product-detail-image {
    justify-content: center;
    align-items: baseline;
  }

  .product-detail-image img {
    width: 90%;
  }

  .product-detail-buttons .btn-whatsapp {
    font-size: 18px;
  }

  .product-detail-buttons .btn-cart i {
    font-size: 28px;
  }
}

@media (max-width: 1072px) {
  .product-detail-main {
    gap: 0;
  }

  .product-detail-buttons .btn-whatsapp {
    font-size: 14px;
    padding: 8px 12px;
  }

  .product-detail-buttons .btn-cart i {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .product-detail-container {
    max-width: 100%;
    padding: 3rem 0;
  }

  .product-detail-main {
    flex-direction: column;
    margin: 0 0 3.5rem 0;
    padding: 0 15px;
    justify-content: center;
    align-items: center;
  }

  .product-detail-title {
    font-size: 2.5rem;
  }

  .product-detail-buttons {
    margin: 0;
  }

  .product-detail-buttons .btn-cart i {
    font-size: 35px;
  }

  .product-detail-buttons .btn-whatsapp {
    font-size: 17px;
    padding: 10px 14px;
  }

  .related-grid {
    gap: 10px;
  }

  .related-section {
    margin: 6rem 0 0;
  }

  .related-card {
    padding: 10px;
  }
}

@media (max-width: 650px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-detail-image img {
    width: 100%;
  }

  .product-detail-image {
    align-items: center;
    justify-content: unset;
  }

  .product-detail-buttons i {
    font-size: 43px;
  }

  .product-detail-buttons .btn-group-inline .btn {
    padding: 0;
  }
}

@media (max-width: 450px) {
  .product-detail-main {
    padding: 0;
  }

  .product-detail-image {
    width: 100%;
  }

  .product-detail-title {
    font-size: 2rem;
  }

  .product-detail-buttons {
    flex-direction: column;
    gap: 12px;
    margin: 0;
  }

  .product-detail-buttons form,
  .product-detail-buttons .btn-whatsapp {
    width: 100%;
  }

  .product-detail-buttons .btn {
    width: 100%;
    padding: 14px 10px;
    justify-content: center;
  }

  .product-detail-buttons .btn .btn-text {
    display: block !important;
    font-size: 1rem;
  }

  .product-detail-buttons .btn i {
    font-size: 1.4rem !important;
    margin-right: 8px;
  }

  .product-detail-buttons .btn-cart {
    background-color: #3b7b51 !important;
    color: #ffffff !important;
    border: 1px solid #3b7b51 !important;
  }

  .product-detail-buttons .btn-whatsapp {
    background-color: #ffffff !important;
    color: #3b7b51 !important;
    border: 1px solid #d1d5db !important;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ---------------- FINISH TEMPLATE DETAIL PRODUCTS ---------------- */

/* ################# PARTIAL _BREADCRUMBS ################### */

.content-breadcrumb {
  background-color: var(--color-light);
  margin-top: 100px;
  opacity: 0.8;
  padding-top: 1rem;
}

.content-contacts {
  background-color: var(--color-light);
  padding: 0 0 0 2rem;
}

.content-success {
  background-color: var(--color-light);
  margin-top: 105px;
}

.content-products-custom {
  background-color: var(--color-light);
}

.content-products-custom .breadcrumb {
  padding: 0.75rem 0 0;
}

.content-products-custom .container {
  width: 95%;
}

.content-products {
  width: 100%;
  padding: 0.5rem 0;
  background-color: var(--color-light);
}

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

.product-header-container {
  gap: 1rem;
}

.content-products-list {
  background-color: var(--color-light);
}

.content-products-detail {
  background-color: var(--color-light);
}

.breadcrumb {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  padding: 0;
  font-weight: bold;
  gap: 0.3rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb .no-active:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.8rem;
  }
}

@media (max-width: 550px) {
  .content-products-list .breadcrumb {
    font-size: 0.75rem;
  }

  .content-products-detail .breadcrumb {
    font-size: 0.6rem;
  }

  .content-products-detail .breadcrumb li {
    padding: 0 0.15rem;
  }
}

@media (max-width: 480px) {
  .content-products .container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .ordering {
    padding-left: 1.2rem;
  }
}

/* ------------------ FINISH PRODUCTS SECTION ------------------- */

/* ======================= CART SECTION ======================== */

.cart-content {
  background: var(--color-light);
  margin: 6rem 0 0;
  padding: 1rem 0 5rem;
}

.cart-container {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.breadcrumbs-cart .container {
  width: 100%;
}

.cart-header {
  display: flex;
  align-items: center;
  margin: 1rem 0 0;
  gap: 1rem;
}

.cart-header h1 {
  font-size: 1.2rem;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cart-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
}

.cart-image img {
  width: 140px;
  height: auto;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
}

.cart-details {
  flex: 1;
}

.cart-details h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-light-dark);
}

.cart-details p {
  font-size: 0.9rem;
  color: var(--color-dark-gray);
  margin-bottom: 1rem;
}

.remove-btn {
  border: none;
  background: #f8f8f8;
  color: var(--color-secondary);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}

.remove-btn:hover {
  background: var(--color-white);
  color: #a00;
}

.cart-budget {
  width: 50%;
}

.cart-budget form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-budget input,
.cart-budget textarea {
  font-family: inherit;
  padding: 12px 16px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-white);
  font-size: 1rem;
  transition:
    border 0.3s,
    box-shadow 0.3s;
}

.cart-budget input:focus,
.cart-budget textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(100, 100, 255, 0.1);
  background-color: var(--color-white);
}

.cart-budget textarea {
  min-height: 120px;
  resize: vertical;
}

.cart-budget button {
  padding: 12px 20px;
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius-btn);
  font-size: 1rem;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.cart-budget button:hover {
  background-color: var(--color-dark-blue);
}

.cart-empty {
  text-align: center;
  color: var(--color-dark-gray);
  padding: 3rem 6rem;
  background: var(--color-white);
  border-radius: 8px;
}

.cart-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.messages a {
  text-decoration: underline;
  transition: 0.3s;
}

.messages a:hover {
  text-decoration: none;
}

/* ============== RESPONSIVENESS CART TEMPLATE ================= */

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

  .cart-budget {
    width: auto;
  }
}

/* =================== PROJETOS SOB MEDIDA ======================= */
.custom-project-section {
  padding: 4rem 0;
  background-color: var(--color-light);
}

.custom-project-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

/* --- GRID DO MÉTODO --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.step-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-card i {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* --- GRID DO PORTEFÓLIO --- */
.portfolio-section {
  margin-bottom: 5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.portfolio-info {
  padding: 1.5rem;
  text-align: center;
}

/* --- FORMULÁRIO SOB MEDIDA --- */
.custom-form-section {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.form-file-upload {
  margin: 2rem 0;
  text-align: center;
  padding: 2rem;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}

.file-label {
  display: block;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.btn-submit-custom {
  width: 100%;
  padding: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit-custom:hover {
  background: var(--color-secondary);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .custom-form-section {
    padding: 1.5rem;
  }
}
