/*
Template Name: Electro - HTML Ecommerce Template
Author: yaminncco

Colors:
	Body 		: #333
	Headers 	: #263164
	Primary 	: #263164
	Dark 		: #15161D ##1E1F29
	Grey 		: #E4E7ED #FBFBFC #8D99AE #B9BABC

Ficheiro limpo e corrigido em: bug de sobreposição menu/pesquisa no mobile
(ver comentário na secção HEADER TOP) + media queries duplicadas unificadas.
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

* {
  max-width: 100%;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/*=========================================================
	01 -> GENERAL / TYPOGRAPHY
===========================================================*/

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
  margin: 0 0 10px;
  font-size: 20px;
}

a {
  color: #263164;
  font-weight: 500;
  transition: 0.2s color;
}

a:hover,
a:focus {
  color: #263164;
  text-decoration: none;
  outline: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* IMPORTANTE: inclua uma biblioteca de ícones (Font Awesome) no projeto
   para que os ícones (fas fa-search, fas fa-user, etc.) sejam exibidos. */

.section-title h3 {
  font-size: 34px;
  font-weight: 300;
  color: #000;
  text-align: center;
}

.section-title p {
  font-size: 18px;
  color: #000;
  margin-top: 8px;
  text-align: center;
}

/*=========================================================
	02 -> HEADER TOP (logo, pesquisa, ações)
===========================================================*/

.main-header {
  font-family: "Poppins", sans-serif;
  width: 100%;
  display: block;
  position: relative;
}

.header-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;           /* permite quebrar linha em ecrãs pequenos */
  padding: 10px 20px;
  background-color: #fff;
  /* FIX: era "height: 100px" fixo. Com flex-wrap ativo no mobile o
     conteúdo passa a ter 2 linhas (logo/ações + pesquisa) e uma altura
     fixa faz o conteúdo transbordar por baixo da caixa — é isso que
     fazia o menu (.navbar-blue), que vem a seguir no HTML, ficar
     desenhado por cima da barra de pesquisa. min-height deixa a caixa
     crescer conforme o conteúdo. */
  min-height: 100px;
  position: relative;
  z-index: 20;               /* garante que fica acima do menu se algo ainda transbordar */
  width: 100%;
}

/* 1. Logo */
.logo img {
  height: 70px;
}

/* Barra de pesquisa */
.search-wrapper {
  position: relative; /* nunca "absolute" no mobile */
}

.search-bar-container {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  height: 50px;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.search-bar-container:has(.search-input:focus) {
  border-color: #263164;
  box-shadow: 0 0 0 3px rgba(0, 107, 189, 0.3);
}

.search-bar-container .search-input {
  border: none;
  background: transparent;
  padding: 0 15px;
  flex-grow: 1;
  flex-basis: 0;
  font-size: 16px;
  color: #333;
  height: 100%;
  outline: none;
}

.search-bar-container .search-input::placeholder {
  color: #aaa;
  font-size: 16px;
}

.search-bar-container .search-button {
  background-color: #263164;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.search-bar-container .search-button:hover {
  background-color: #262861;
}

/* Ações do header (contacto, login, carrinho) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-info {
  display: flex;
  align-items: center;
  color: #333;
}

.contact-info > i {
  font-size: 18px;
  margin-right: 8px;
  color: #262861;
}

.phone-number {
  font-weight: bold;
}

.email {
  color: #262861;
  text-decoration: none;
  font-size: 16px;
}

.user-login {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  white-space: nowrap;
}

.user-login i {
  font-size: 14px;
  margin-right: 5px;
}

.shopping-cart {
  background-color: #f0f0f0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: #333;
  font-size: 20px;
  border-radius: 4px;
}

.cart-count {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #262861;
  color: white;
  font-size: 14px;
  border-radius: 50%;
  padding: 2px 5px;
  line-height: 1;
  font-weight: bold;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  text-decoration: none;
  color: #333;
  background: #f0f0f0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 18px;
  transition: 0.3s;
}

.icon-btn:hover {
  background: #007acb;
  color: #fff;
}

/*=========================================================
	03 -> NAVBAR / MENU
===========================================================*/

.navbar-blue {
  background: #263164;
  font-family: Arial, sans-serif;
  position: relative; /* referência para o dropdown mobile (.menu-toggle) */
  width: 100%;
  z-index: 10;         /* fica abaixo do header-top (z-index: 20) */
}

.menu-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 15px;
}

.main-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  display: flex;
  gap: 8px;
  width: 100%;
}

/* Botão hambúrguer - escondido no desktop */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/*=========================================================
	04 -> HERO / MARKETING BANNER
===========================================================*/

.hero-marketing-dell {
  background: #001e38;
  padding: 60px 8%;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.marketing-content-wrapper {
  flex: 0 0 50%;
  max-width: 500px;
}

.top-label {
  color: #007db8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.marketing-content-wrapper h2 {
  color: #ffffff;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.accent {
  color: #007db8;
}

.marketing-content-wrapper p {
  color: #ced4da;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.trust-indicators {
  display: flex;
  gap: 25px;
}

.indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  font-size: 0.75rem;
  opacity: 0.8;
}

.indicator i {
  color: #007db8;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.marketing-image-wrapper {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
}

.marketing-image-wrapper img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 125, 184, 0.2);
  transition: transform 0.5s ease;
}

.marketing-image-wrapper img:hover {
  transform: scale(1.03);
}

/*=========================================================
	05 -> SHOP / FEATURED CATEGORIES
===========================================================*/

.shop {
  position: relative;
  overflow: hidden;
  margin: 50px 0px;
}

.shop .shop-img {
  position: relative;
  background-color: #e4e7ed;
  width: 100%;
  z-index: -1;
}

.shop .shop-img > img {
  width: 100%;
  transition: 0.2s all;
}

.shop:hover .shop-img > img {
  transform: scale(1.1);
}

.shop .shop-body {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  z-index: 10;
}

.shop .shop-body h3 {
  font-weight: 300;
  font-size: 12px;
  color: #263164;
}

.shop .shop-body .cta-btn {
  color: #263164;
  text-transform: uppercase;
}

/*=========================================================
	06 -> FEATURES (ícones de vantagens)
===========================================================*/

.feature-area {
  padding: 60px 0;
  background-color: #fff;
}

.single-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 10px;
  transition: transform 0.3s ease;
}

.single-feature i {
  font-size: 45px;
  color: #263164;
  min-width: 50px;
  display: flex;
  justify-content: center;
}

.single-feature .desc {
  flex: 1;
}

.single-feature h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  text-transform: none;
}

.single-feature p {
  font-size: 15px;
  line-height: 1.5;
  color: #777;
  margin: 0;
}

.single-feature:hover {
  transform: translateY(-5px);
}

/*=========================================================
	07 -> BRANDS (slider infinito)
===========================================================*/

:root {
  --primary-tech: #0066ff;
  --bg-dark-section: #f8f9fa;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.starvele-brands {
  padding: 100px 0;
  background-color: var(--bg-dark-section);
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

.brands-header {
  text-align: center;
  margin-bottom: 80px;
}

.brands-main-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #1a1a1a, #0066ff);
  -webkit-text-fill-color: transparent;
}

.brands-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 40px 0;
  background: white;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

.brands-track {
  display: flex;
  width: calc(250px * 14);
  animation: scroll-left 30s linear infinite;
}

.brand-card {
  flex: 0 0 250px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.brand-card img {
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
}

.brand-card:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 7)); }
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.trust-badges .badge {
  background: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 102, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: 0.3s;
}

.trust-badges .badge:hover {
  background: var(--primary-tech);
  color: white;
}

.trust-badges .badge i {
  color: #28a745;
  margin-right: 10px;
}

.trust-badges .badge:hover i {
  color: white;
}

/*=========================================================
	08 -> PRODUCT CARDS
===========================================================*/

.contente-cards {
  justify-content: center;
  display: flex;
  width: 100%;
  height: auto;
  margin-top: 4rem;
  border: none;
}

.card {
  transition: 0.2s all;
  padding: 10px;
  background-color: #fff;
  text-align: center;
  z-index: 20;
  width: 250px;
  height: auto;
  margin: 20px;
  border: none !important;
  box-shadow: none !important;
}

.card > .imagem-produto {
  width: 80%;
  height: 150px;
}

.card > .imagem-produto:hover {
  transform: scale(1.1);
  transition: transform 0.6s ease;
}

.link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card > .add-carrinho {
  width: 100%;
  height: 40px;
  background-color: #263164;
  border-radius: 5px;
  color: white;
  border: none;
  outline: none;
  margin-top: 10px;
}

.card > .add-carrinho:hover {
  cursor: pointer;
  transition: ease-in all 0.5s;
  background: #263164;
  color: #fff !important;
}

.card:hover {
  box-shadow: 0px 0px 6px 0px #e4e7ed, 0px 0px 0px 2px #263164;
}

.card .titulo {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.card .saber-mais {
  color: #263164;
  text-transform: uppercase;
  font-size: 12px;
}

.card .preco {
  color: #263164;
  font-size: 18px;
}

/*=========================================================
	09 -> ASIDE / FILTROS
===========================================================*/

.aside + .aside {
  margin-top: 30px;
}

.aside > .aside-title {
  text-transform: uppercase;
  font-size: 18px;
  margin: 15px 0px 30px;
}

.checkbox-filter > div + div {
  margin-top: 10px;
}

.checkbox-filter .input-radio label,
.checkbox-filter .input-checkbox label {
  font-size: 12px;
}

.checkbox-filter .input-radio label small,
.checkbox-filter .input-checkbox label small {
  color: #8d99ae;
}

#price-slider {
  margin-bottom: 15px;
}

.noUi-target {
  background-color: #fff;
  box-shadow: none;
  border: 1px solid #e4e7ed;
  border-radius: 0px;
}

.noUi-connect {
  background-color: #263164;
}

.noUi-horizontal {
  height: 6px;
}

.noUi-horizontal .noUi-handle {
  width: 12px;
  height: 12px;
  left: -6px;
  top: -4px;
  border: none;
  background: #263164;
  box-shadow: none;
  border-radius: 50%;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none;
}

.price-filter .input-number {
  display: inline-block;
  width: calc(50% - 7px);
}

/*=========================================================
	10 -> STORE (grelha, ordenação, paginação)
===========================================================*/

.store-filter {
  margin-bottom: 15px;
  margin-top: 15px;
}

.store-sort {
  display: inline-block;
}

.store-sort label {
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 15px;
}

.store-grid {
  float: right;
}

.store-grid li {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #fff;
  border: 1px solid #e4e7ed;
  text-align: center;
  transition: 0.2s all;
}

.store-grid li + li {
  margin-left: 5px;
}

.store-grid li:hover {
  background-color: #e4e7ed;
  color: #263164;
}

.store-grid li.active {
  background-color: #263164;
  border-color: #263164;
  color: #fff;
  cursor: default;
}

.store-grid li a {
  display: block;
}

.store-pagination {
  float: right;
}

.store-pagination li {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #e4e7ed;
  transition: 0.2s all;
}

.store-pagination li + li {
  margin-left: 5px;
}

.store-pagination li:hover {
  background-color: #e4e7ed;
  color: #263164;
}

.store-pagination li.active {
  background-color: #263164;
  border-color: #263164;
  color: #fff;
  font-weight: 500;
  cursor: default;
}

.store-pagination li a {
  display: block;
}

.store-qty {
  margin-right: 30px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
}

/*=========================================================
	11 -> PRODUCT VIEW / SLIDER
===========================================================*/

#product-main-img .slick-prev {
  transform: translateX(-15px);
  left: 15px;
}

#product-main-img .slick-next {
  transform: translateX(15px);
  right: 15px;
}

#product-main-img .slick-prev,
#product-main-img .slick-next {
  opacity: 0;
  visibility: hidden;
  transition: 0.2s all;
}

#product-main-img:hover .slick-prev,
#product-main-img:hover .slick-next {
  transform: translateX(0%);
  opacity: 1;
  visibility: visible;
}

#product-main-img .zoomImg {
  background-color: #fff;
}

#product-imgs .product-preview {
  margin: 0px 5px;
  border: 1px solid #e4e7ed;
}

#product-imgs .product-preview.slick-current {
  border-color: #263164;
}

#product-imgs .slick-prev {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

#product-imgs .slick-next {
  top: calc(100% - 20px);
  left: 50%;
  transform: translateX(-50%);
}

#product-imgs .slick-prev:before {
  content: "\f106";
}

#product-imgs .slick-next:before {
  content: "\f107";
}

.product-preview img {
  width: 100%;
}

/*=========================================================
	12 -> PRODUCT DETAILS
===========================================================*/

.product-details .product-name {
  text-transform: uppercase;
  font-size: 18px;
}

.product-details .product-rating {
  display: inline-block;
  margin-right: 15px;
}

.product-details .product-rating > i {
  color: #e4e7ed;
}

.product-details .product-rating > i.fa-star {
  color: #263164;
}

.product-details .review-link {
  font-size: 12px;
}

.product-details .product-price {
  display: inline-block;
  font-size: 24px;
  margin-top: 10px;
  margin-bottom: 15px;
  color: #263164;
}

.product-details .product-price .product-old-price {
  font-size: 70%;
  font-weight: 400;
  color: #8d99ae;
}

.product-details .product-available {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 30px;
  color: #263164;
}

.product-details .product-options {
  margin-top: 30px;
  margin-bottom: 30px;
}

.product-details .product-options label {
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 15px;
  margin-bottom: 0px;
}

.product-details .product-options .input-select {
  width: 90px;
}

.product-details .add-to-cart {
  margin-bottom: 30px;
}

.product-details .add-to-cart .add-carrinho {
  position: relative;
  border: 2px solid transparent;
  height: 40px;
  padding: 0 30px;
  background-color: #ef233c;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 40px;
  transition: 0.2s all;
}

.product-details .add-to-cart .add-carrinho > i {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  line-height: 38px;
  color: #263164;
  opacity: 0;
  visibility: hidden;
}

.product-details .add-to-cart .add-carrinho:hover {
  background-color: #fff;
  color: #263164;
  border-color: #263164;
  padding: 0px 30px 0px 50px;
}

.product-details .add-to-cart .add-carrinho:hover > i {
  opacity: 1;
  visibility: visible;
}

.product-details .add-to-cart .qty-label {
  display: inline-block;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  margin-right: 15px;
  margin-bottom: 0px;
}

.product-details .add-to-cart .qty-label .input-number {
  width: 90px;
  display: inline-block;
}

.product-details .product-btns li {
  display: inline-block;
  text-transform: uppercase;
  font-size: 12px;
}

.product-details .product-btns li + li {
  margin-left: 15px;
}

.product-details .product-links {
  margin-top: 15px;
}

.product-details .product-links li {
  display: inline-block;
  text-transform: uppercase;
  font-size: 12px;
}

.product-details .product-links li + li {
  margin-left: 10px;
}

/*=========================================================
	13 -> PRODUCT TAB
===========================================================*/

#product-tab {
  margin-top: 60px;
}

#product-tab .tab-nav {
  position: relative;
  text-align: center;
  padding: 15px 0px;
  margin-bottom: 30px;
}

#product-tab .tab-nav:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-color: #e4e7ed;
  z-index: -1;
}

#product-tab .tab-nav li {
  display: inline-block;
  background: #fff;
  padding: 0px 15px;
}

#product-tab .tab-nav li + li {
  margin-left: 15px;
}

#product-tab .tab-nav li a {
  display: block;
  font-weight: 700;
  color: #8d99ae;
}

#product-tab .tab-nav li.active a {
  color: #263164;
}

#product-tab .tab-nav li a:after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background-color: #263164;
  transition: 0.2s all;
}

#product-tab .tab-nav li a:hover:after,
#product-tab .tab-nav li a:focus:after,
#product-tab .tab-nav li.active a:after {
  width: 100%;
}

/*=========================================================
	14 -> NEWSLETTER
===========================================================*/

#newsletter.section {
  background: url("../img/fundos/fund4.avif") center/cover no-repeat;
  position: relative;
  padding: 80px 0;
  text-align: left;
}

/*=========================================================
	15 -> FOOTER
===========================================================*/

.main-footer {
  background-color: #ffffff;
  padding: 60px 0;
  color: #666;
  font-family: "Segoe UI", Arial, sans-serif;
  border-top: 1px solid #eee;
  position: relative;
}

.main-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-logo-section {
  flex: 0 0 300px;
  text-align: left;
}

.logo-img {
  width: 70px;
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
  display: block;
}

.footer-col:not(.footer-logo-section) {
  flex: 0 0 180px;
  margin-left: 20px;
}

.footer-col:nth-child(2) {
  margin-left: auto;
}

.footer-legal {
  font-size: 13px;
  line-height: 1.6;
  color: #999;
  margin-bottom: 15px;
}

.footer-powered {
  font-size: 13px;
  font-weight: bold;
  color: #777;
  margin-bottom: 20px;
}

.footer-social {
  margin-bottom: 30px;
}

.footer-social a {
  color: #0088cc;
  font-size: 24px;
  margin-right: 20px;
  text-decoration: none;
}

.footer-payments {
  display: flex;
  gap: 10px;
}

.footer-payments img {
  height: 35px;
  width: auto;
}

.footer-col h4.footer-heading {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #666;
  font-size: 15px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #0088cc;
}

/*=========================================================
	16 -> MODAL CARRINHO
===========================================================*/

.modal-carrinho {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
}

.modal-carrinho.aberto {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content-carrinho {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  width: 340px;
  text-align: center;
  animation: scaleIn 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-content-carrinho h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #222;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-ir {
  background: #263164;
  padding: 12px;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-ir:hover {
  background: #004f91;
}

.btn-continuar {
  background: #009c35;
  border: none;
  padding: 12px;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.btn-continuar:hover {
  background: #007a2a;
}

/*=========================================================
	17 -> ALERTAS
===========================================================*/

.alert-box {
  max-width: 400px;
  margin: 15px auto;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
  font-weight: 500;
  animation: fadeDown 0.35s ease;
}

.alert-error {
  background: #ffe1e1;
  color: #c0392b;
  border-left: 5px solid #c0392b;
}

.alert-success {
  background: #e2ffe8;
  color: #1e7e34;
  border-left: 5px solid #1e7e34;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/*=========================================================
	18 -> WHATSAPP FLOAT
===========================================================*/

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  z-index: 10000;
  display: flex;
  align-items: center;
  padding: 15px 30px;
  text-decoration: none;
  transition: 0.3s;
  animation: pulse-whatsapp 2s infinite;
  font-weight: 600;
  gap: 5px;
}

.whatsapp-btn i {
  font-size: 1.2rem;
}

@keyframes pulse-whatsapp {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/*=========================================================
	19 -> RESPONSIVIDADE (TABLET) — até 1024px / 992px
===========================================================*/

@media (max-width: 1024px) {
  .brands-main-title {
    font-size: 30px;
  }

  .brand-card {
    flex: 0 0 calc(33.33% - 40px); /* mostra 3 logos */
  }

  .trust-badges {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .marketing-content-wrapper {
    flex: 0 0 100%;
    margin-bottom: 40px;
  }

  .trust-indicators {
    justify-content: center;
  }

  .marketing-image-wrapper {
    flex: 0 0 100%;
  }

  .footer-content {
    justify-content: space-around;
  }

  .footer-logo-section {
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 40px;
  }

  .logo-img {
    width: 70px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col:nth-child(2) {
    margin-left: 0;
  }

  .footer-col:not(.footer-logo-section) {
    flex: 1 1 200px;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-payments {
    justify-content: center;
  }
}

/*=========================================================
	20 -> RESPONSIVIDADE (MOBILE) — até 600px
	(bloco único; antes existiam 3 blocos @media 600px separados,
	agora reunidos aqui para evitar conflitos e facilitar manutenção)
===========================================================*/

@media only screen and (max-width: 600px) {

  /* ---------- HEADER TOP ---------- */
  .header-top {
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 12px 15px;
    height: auto;       /* reforça o fix: nunca deixar altura fixa aqui */
    min-height: auto;
  }

  .logo {
    order: 1;
    flex: 1;
  }

  .header-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .user-actions,
  .shopping-cart {
    display: flex;
    align-items: center;
  }

  .search-wrapper {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .search-bar-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 44px;
  }

  .search-input {
    flex: 1;
    height: 100%;
  }

  .search-button {
    height: 100%;
    min-width: 44px;
  }

  /* ---------- MENU / NAVBAR ---------- */
  .menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .hamburger-btn {
    display: flex; /* mostra o botão só no mobile */
  }

  /* Esconde o menu por padrão no mobile */
  .menu-toggle {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;   /* posicionado relativamente a .navbar-blue (position: relative) */
    left: 0;
    background: #263164;
    z-index: 30; /* acima do conteúdo da página, abaixo do modal do carrinho */
  }

  .menu-toggle.open {
    display: block;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 15px;
  }

  /* ---------- PRODUTOS ---------- */
  .produto-img,
  .card .imagem-produto {
    width: 100%;
    max-width: 180px;
    height: 130px;
    margin: 0 auto 10px;
    display: block;
    object-fit: contain;
  }

  .produto-card,
  .card {
    padding: 15px;
  }

  .btn-carrinho,
  .add-carrinho {
    width: 90%;
    max-width: 260px;
    padding: 10px 5px;
    font-size: 14px;
    margin: 10px auto 0;
    display: block;
    border-radius: 6px;
  }

  .btn-detalhes,
  .saber-mais {
    width: 90%;
    max-width: 260px;
    padding: 8px 5px;
    font-size: 14px;
    margin: 0 auto 10px;
    display: block;
  }

  /* ---------- RODAPÉ ---------- */
  .main-footer {
    padding: 40px 0;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo-section,
  .footer-col:not(.footer-logo-section) {
    flex: 0 0 100%;
    margin-left: 0;
    text-align: center;
    margin-bottom: 35px;
  }

  .footer-col:first-child {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    display: flex;
    gap: 15px;
  }

  .footer-social a {
    margin-right: 0;
  }

  .footer-payments {
    justify-content: center;
  }

  .footer-links li {
    margin-bottom: 15px; /* facilita o toque no telemóvel */
  }
}

@media (max-width: 500px) {
  .modal-content-carrinho {
    width: 85%;
    padding: 22px;
  }
}