/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      4.1.165
 Text Domain:  bricks
*/

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

.brx-body,
.site-wrapper,
.bricks-site-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===================================
  Header Styles
   =================================== */

.hotelequip-header {
  width: 100%;
  position: relative;
  z-index: 999999 !important;
  /* Header acima de todo conteúdo */
}

/* Topbar */
.header-topbar {
  background-color: #2b2b2b;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.topbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-topbar .header-container {
  justify-content: center;
}

.topbar-item,
.topbar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.topbar-item i,
.topbar-link i {
  font-size: 16px;
}

.topbar-link:hover {
  opacity: 0.8;
}

/* Main Header */
.header-main {
  background-color: #ffffff !important;
  padding: 15px 0;
  border-bottom: 1px solid #ebebeb;
}

.header-main .header-container {
  gap: 30px;
}

.header-logo img {
  width: 120px;
  height: auto;
  display: block;
}

.header-search {
  flex: 1;
  max-width: 600px;
}

.header-search-mobile {
  display: none;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 100000;
}

.search-field {
  width: 100%;
  padding: 7px 50px 7px 22px;
  border: 1.5px solid #d0d0d0;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  color: #333;
  background-color: #E5E5E5;
  transition: border-color 0.2s;
}

.search-field:focus {
  border-color: #999;
}

.search-field::placeholder {
  color: #999;
}

.search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.search-submit:hover {
  background: #333;
}

/* Search Dropdown Autocomplete */
/* Search Dropdown */
.header-main {
  position: relative;
}

.header-search .search-form {
  position: relative;
}

.header-search {
  position: static;
}

.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 92vw;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 99999;
}

.search-results-dropdown.active {
  display: block;
}

/* 2-Column Layout */
.search-dropdown-layout {
  display: flex;
}

/* Left Column: Populares + Categorias */
.search-dropdown-left {
  width: 25%;
  min-width: 200px;
  border-right: 1px solid #f0f0f0;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}

.search-sidebar-section {
  padding: 0 16px;
  margin-bottom: 16px;
}

.search-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: #131313;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.search-sidebar-link {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  padding: 5px 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-sidebar-link:hover {
  color: #004F6B;
}

.search-sidebar-all-cats {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #004F6B;
  text-decoration: none;
  padding: 6px 0 0;
  margin-top: 4px;
}

.search-sidebar-all-cats:hover {
  text-decoration: underline;
}

.search-view-all-btn {
  display: block;
  margin: auto 16px 0;
  padding: 12px 20px;
  background: #004F6B;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.search-view-all-btn:hover {
  background: #003a50;
  color: #fff;
}

/* Right Column: Products Grid */
.search-dropdown-right {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.search-products-title {
  font-size: 14px;
  font-weight: 700;
  color: #131313;
  margin: 0 0 12px;
  padding: 8px 0 0 4px;
}

.search-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-height: 400px;
  overflow-y: auto !important;
  overflow-x: hidden;
  padding-bottom: 10px;
}

.search-product-card {
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.search-product-card:hover,
.search-product-card.keyboard-active {
  border-color: #004F6B;
}

.search-product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.search-product-img {
  background: #f5f5f5;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.search-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.search-product-name {
  font-size: 12px;
  font-weight: 500;
  color: #131313;
  padding: 8px 10px 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 10px;
  font-size: 11px;
}

.search-product-brand {
  font-weight: 700;
  color: #004F6B;
  text-transform: uppercase;
}

.search-product-sku {
  font-weight: 400;
  color: #999;
  white-space: nowrap;
}

.search-product-excerpt {
  font-size: 11px;
  color: #666;
  padding: 4px 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-product-prices {
  padding: 6px 10px 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.search-price-current {
  font-size: 14px;
  font-weight: 700;
  color: #131313;
}

.search-price-incl {
  font-size: 11px;
  font-weight: 400;
  color: #999;
}

/* Loading & No results */
.search-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.search-loading {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

/* "Ver todos" — desktop mostra na coluna esquerda, mobile esconde */
.search-view-all-btn--mobile { display: none; }
.search-view-all-btn--desktop { display: block; }

/* Mobile: stack columns */
@media (max-width: 768px) {
  .search-dropdown-layout {
    flex-direction: column;
  }
  .search-dropdown-left {
    width: 100%;
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
  }
  /* Esconder o "ver todos" do desktop, mostrar o do mobile */
  .search-view-all-btn--desktop { display: none; }
  .search-view-all-btn--mobile {
    display: block;
    margin: 12px 0 4px;
  }
  .search-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  /* Fundo branco nos cards de produto para não ficarem transparentes */
  .search-dropdown-right {
    background: #fff;
  }
  .search-product-card {
    background: #fff;
  }
  .search-product-img {
    background: #fff;
  }
}

.search-view-all {
  display: block;
  padding: 12px;
  text-align: center;
  background: #f8f8f8;
  color: #e74c3c;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 15px 15px;
  transition: background-color 0.2s;
}

.search-view-all:hover {
  background: #f0f0f0;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-action-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.header-action-item:hover {
  color: #555;
}

.header-action-item i {
  font-size: 22px;
}

.action-text {
  display: none;
}

/* Mostrar total do carrinho */
.header-cart .action-text {
  display: flex;
  flex-direction: column;
}

.action-label {
  font-weight: 400;
  font-size: 13px;
}

.action-value {
  font-weight: 400;
  font-size: 13px;
}

/* User Dropdown */
.header-user-wrapper {
  position: relative;
}

.header-user-account {
  justify-content: center;
  min-width: 24px;
}

.header-user-account .action-text {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  pointer-events: none;
}

.header-user-account .action-label {
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
}

.action-username {
  display: block;
  max-width: 72px;
  font-size: 12px;
  line-height: 1.1;
  color: #5b6570;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 100000;
  padding: 8px 0;
}

.header-user-wrapper:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
  white-space: nowrap;
}

.user-dropdown-item:hover {
  background: #f5f5f5;
  color: #004F6B;
}

.user-dropdown-item i {
  width: 16px;
  text-align: center;
  color: #666;
  font-size: 13px;
}

.user-dropdown-item:hover i {
  color: #004F6B;
}

.header-cart-wrapper {
  position: relative;
}

.header-cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #e74c3c;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.cart-total {
  font-weight: 600;
  font-size: 14px;
}

/* Cart Dropdown */
.cart-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 480px;
  max-width: 90vw;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 100000;
}

.header-cart-wrapper:hover .cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart-dropdown-items {
  max-height: 400px;
  overflow-y: auto;
  padding: 15px;
}

.cart-dropdown-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fafafa;
  border-radius: 6px;
  margin-bottom: 10px;
  position: relative;
}

.cart-dropdown-item:last-child {
  margin-bottom: 0;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-name:hover {
  color: #e74c3c;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #666;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 6px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.qty-btn:hover {
  color: #e74c3c;
}

.qty-input {
  width: 45px;
  height: 32px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #333 !important;
  background: transparent;
  outline: none;
  line-height: 32px;
  padding: 0;
  margin: 0;
  cursor: default;
  user-select: none;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: #e74c3c;
  white-space: nowrap;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 14px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  color: #e74c3c;
}

.cart-dropdown-footer {
  padding: 15px;
  border-top: 1px solid #e0e0e0;
  background: #f8f8f8;
  border-radius: 0 0 8px 8px;
}

/* Barra Frete Grátis (mini-cart e global) */
.heq-free-shipping-bar {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #f0faf4;
  border-radius: 8px;
  border: 1px solid #d1f0e0;
}
.heq-fsb-message {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #444;
  margin-bottom: 8px;
}
.heq-fsb-message i { color: #004F6B; font-size: 13px; }
.heq-fsb-message strong { color: #131313; }
.heq-fsb-achieved { color: #16a34a; }
.heq-fsb-achieved i { color: #16a34a; }
.heq-fsb-track {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 50px;
  overflow: hidden;
}
.heq-fsb-fill {
  height: 100%;
  background: linear-gradient(90deg, #004F6B, #16a34a);
  border-radius: 50px;
  transition: width 0.5s ease;
}

.cart-dropdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: #333;
}

.cart-dropdown-total strong {
  font-size: 18px;
  color: #e74c3c;
}

.cart-dropdown-btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s;
  margin-bottom: 8px;
}

.cart-dropdown-btn:last-child {
  margin-bottom: 0;
}

.cart-btn-view {
  background: transparent;
  color: #04111d;
  border: 1px solid #04111d;
}

.cart-btn-view:hover {
  background: #04111d;
  color: #ffffff;
}

.cart-btn-checkout {
  background: #04111d;
  color: #ffffff;
  border: 1px solid #04111d;
}

.cart-btn-checkout:hover {
  background: #02080f;
  border-color: #02080f;
}

/* Categories Bar */
.header-categories {
  background-color: #ffffff;
  padding: 0;
  position: relative;
  z-index: 9999 !important;
  /* Acima de tudo */
  overflow: visible;
}

.header-categories .header-container {
  padding: 0;
}

.categories-wrapper {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  overflow: visible;
  position: relative;
  padding: 0;
  gap: 0;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
}

.category-item {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  background: #ffffff;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  color: #333333;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition: background-color 0.2s, color 0.2s;
  text-align: center;
  line-height: 1.2;
}

.category-link-label,
.mobile-category-link-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}

.category-link .category-icon,
.mobile-category-link .category-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #004f6b;
}

.category-link:hover {
  background-color: #f5f5f5;
  color: #131313;
  padding: 12px 14px;
}

/* Indicador ativo/aberto: linha azul no topo e fundo claro */
.category-item.is-open .category-link,
.category-item:hover .category-link {
  color: #004f6b;
  background: #f4f8fa;
}

.category-item.is-open::before,
.category-item.has-submenu:hover::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: #004f6b;
  z-index: 1;
}

/* Swiper para categorias */
.header-categories-swiper {
  width: 100%;
  overflow: hidden;
}

.header-categories-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

.header-categories-swiper .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
}

/* Botões de navegação das categorias */
.categories-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  color: #999;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categories-nav-btn:hover {
  background: #fff;
  color: #666;
  border-color: #999;
}

.categories-nav-btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.categories-nav-prev {
  left: 5px;
}

.categories-nav-next {
  right: 5px;
}

.categories-nav-btn i {
  font-size: 14px;
}

/* Botão "Ver todas as categorias" */
.categories-all-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 6px 14px;
  margin-left: 8px;
  background: transparent;
  border: 1.5px solid #d0d0d0;
  border-radius: 20px;
  color: #333333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.categories-all-btn i {
  width: 14px;
  height: 14px;
}

.categories-all-btn:hover {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}

/* ── Mega Menu ─────────────────────────────────────────────────────── */

/* header-categories is the positioning context for megamenus */
.header-categories {
  position: relative;
}

/* Chevron icon inside category link */
.category-item.has-submenu .category-link i[data-lucide="chevron-down"],
.category-item.has-submenu .category-link .lucide-chevron-down {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.category-item.has-submenu.is-open .category-link i[data-lucide="chevron-down"],
.category-item.has-submenu:hover .category-link i[data-lucide="chevron-down"],
.category-item.has-submenu.is-open .category-link .lucide-chevron-down,
.category-item.has-submenu:hover .category-link .lucide-chevron-down {
  transform: rotate(180deg);
}

/* Container for all megamenus - positioned below the categories bar */
.megamenus-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: visible;
}

/* Megamenu panel */
.category-megamenu {
  position: absolute;
  top: 0;
  left: 0;
  /* largura fixa generosa para grid de cards */
  width: min(92vw, 920px);
  min-width: 460px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
  overflow: hidden;
  max-height: min(calc(100vh - 230px), 760px);
}

.category-megamenu.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.category-megamenu.has-media {
  width: min(94vw, 1200px);
  min-width: 720px;
}

.category-megamenu-inner {
  display: flex;
  align-items: stretch;
  max-height: min(calc(100vh - 230px), 760px);
}

.megamenu-category-media {
  position: relative;
  display: block;
  width: 280px;
  min-width: 280px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(180deg, #0f3a49 0%, #09252f 100%);
}

.megamenu-category-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.megamenu-category-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(135deg, rgba(0, 79, 107, 0.82) 0%, rgba(0, 42, 56, 0.92) 100%);
}

.megamenu-category-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 100%;
  padding: 28px 24px;
}

.megamenu-category-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.megamenu-category-title {
  font-size: 22px;
  line-height: 1.15;
}

.megamenu-category-description {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.92;
}

.megamenu-category-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.megamenu-content {
  flex: 1;
  min-width: 0;
  padding: 22px 22px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.megamenu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 16px;
}

.megamenu-header-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.megamenu-header-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #004f6b;
}

.megamenu-header-name {
  font-size: 20px;
  font-weight: 800;
  color: #131313;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.megamenu-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.megamenu-header-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: #ffffff;
  background: #004f6b;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  transition: background-color 0.15s;
}

.megamenu-header-link:hover {
  background: #003548;
  color: #ffffff;
}

.megamenu-close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition: all 0.15s;
}

.megamenu-close:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}

/* Grid de cards bordados */
.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 10px;
  align-content: start;
}

.megamenu-card {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #131313;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.megamenu-card:hover {
  border-color: #004f6b;
  background: #f4f8fa;
  color: #004f6b;
  box-shadow: 0 4px 10px rgba(0, 79, 107, 0.08);
  transform: translateY(-1px);
}

.megamenu-card-name {
  display: block;
  word-break: break-word;
}

/* Navigation - mobile only */
.header-nav {
  display: none; /* hidden on desktop; shown on mobile via media query */
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  position: relative;
  z-index: 1;
}

.header-nav .header-container {
  padding: 0;
  position: relative;
}

.menu-wrapper {
  display: contents;
}

/* Hide mobile categories on desktop */
.mobile-categories {
  display: none;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-menu>li {
  position: relative;
}

.main-menu>li>a {
  display: block;
  padding: 15px 18px;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.main-menu>li>a:hover,
.main-menu>li.current-menu-item>a {
  background-color: #f5f5f5;
  color: #333333;
}

/* Submenu */
.main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

.main-menu>li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
}

.main-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333333;
  text-decoration: none;
  font-size: 13px;
  transition: background-color 0.3s;
}

.main-menu .sub-menu li a:hover {
  background-color: #f5f5f5;
  color: #e74c3c;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 15px 20px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {

  .topbar-left,
  .topbar-right {
    gap: 15px;
  }

  .topbar-item span {
    display: none;
  }

  .header-main .header-container {
    gap: 15px;
  }

  .header-logo img {
    width: 140px;
  }

  .action-text {
    display: none;
  }
}

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

  .header-main {
    padding: 10px 0;
  }

  .header-main .header-container {
    flex-wrap: nowrap;
    align-items: center;
  }

  /* Hamburguer menu visible in header-main on mobile */
  .header-main .mobile-menu-toggle {
    display: flex;
    order: 1;
    flex: 0 0 auto;
    padding: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  .header-logo {
    order: 2;
    flex: 1;
  }

  .header-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
  }

  .header-actions {
    order: 3;
    gap: 10px;
    flex: 0 0 auto;
  }

  /* Hide action text on mobile, show only icons */
  .header-actions .action-text {
    display: none;
  }

  .header-actions .header-action-item i {
    font-size: 22px;
    margin: 0;
  }

  .header-search {
    display: none;
  }

  /* Header Nav - segunda linha no mobile com busca */
  .header-nav {
    display: block;
    position: relative;
    padding: 10px 0;
  }

  .header-nav .header-container {
    display: flex;
    align-items: center;
    padding: 0 15px;
  }

  /* Hide hamburguer from header-nav on mobile */
  .header-nav .mobile-menu-toggle {
    display: none;
  }

  .header-search-mobile {
    display: block;
    flex: 1;
    width: 100%;
  }

  .header-search-mobile .search-field {
    font-size: 14px;
    padding: 10px 50px 10px 20px;
  }

  .header-search-mobile .search-submit {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Search dropdown mobile - full width */
  .header-search-mobile .search-results-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: 100vw;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-top: 0;
    background: #fff;
  }
  /* Também no search desktop em mobile */
  .header-search .search-results-dropdown {
    background: #fff;
  }

  /* Hide cart dropdown on mobile */
  .cart-dropdown {
    display: none !important;
  }

  /* Hide categories bar on mobile */
  .header-categories {
    display: none;
  }

  /* Menu wrapper for mobile */
  .menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1000;
  }

  .menu-wrapper.active {
    display: block;
  }

  /* Show mobile categories inside menu */
  .menu-wrapper .mobile-categories {
    display: block;
  }

  .main-menu {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu>li {
    width: 100%;
  }

  .main-menu>li>a {
    padding: 12px 20px;
  }

  .main-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background-color: #f9f9f9;
    padding-left: 20px;
  }

  /* Categories inside mobile menu */
  .mobile-categories {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
  }

  .mobile-category-item {
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-category-item:last-child {
    border-bottom: none;
  }

.mobile-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  background-color: #f8f8f8;
}

.mobile-category-link i[data-lucide="chevron-down"] {
  transition: transform 0.3s;
}

.mobile-category-item.active .mobile-category-link i[data-lucide="chevron-down"] {
  transform: rotate(180deg);
}

  .mobile-subcategories {
    display: none;
    background-color: #ffffff;
    padding: 10px 0 10px 30px;
  }

  .mobile-category-item.active .mobile-subcategories {
    display: block;
  }

  .mobile-subcategories a {
    display: block;
    padding: 8px 10px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
  }

  .mobile-subcategories a:hover {
    color: #e74c3c;
  }
}

@media (max-width: 480px) {
  .header-logo img {
    max-height: 35px;
    width: auto;
  }

  .search-field {
    padding: 7px 45px 7px 15px;
    font-size: 13px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-action-item i {
    font-size: 18px;
  }
}

/* ===================================
   Footer Styles
   =================================== */

.hotelequip-footer {
  width: 100%;
  background-color: #fbfdfc;
  color: #04111d;
}

.footer-container-full {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo and Description Section */
.footer-intro-section {
  padding: 48px 0 32px;
  text-align: center;
}

.footer-logo-wrapper {
  margin-bottom: 16px;
  text-align: center;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 200px;
  display: inline-block;
}

.footer-description-expandable {
  max-width: 100%;
  width: 100%;
  margin: 0;
  text-align: left;
}

.footer-description-short,
.footer-description-expanded {
  font-size: 14px;
  line-height: 1.6;
  color: #04111d;
}

.footer-description-short p,
.footer-description-expanded p {
  margin-bottom: 12px;
}

.footer-description-short strong,
.footer-description-expanded strong {
  font-weight: 600;
}

.footer-description-expanded {
  margin-top: 12px;
}

/* Botão Ler Mais */
.footer-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  margin-top: 12px;
  color: #04111d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

.footer-read-more-btn:hover {
  opacity: 0.7;
}

.read-more-icon {
  transition: transform 0.3s ease;
}

.footer-read-more-btn:hover .read-more-icon {
  transform: translateY(2px);
}

/* Newsletter Section (Dark) */
.footer-newsletter-dark {
  background-color: #04111d;
  color: #ffffff;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
}

.newsletter-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
  min-width: 280px;
}

.newsletter-title {
  font-size: 24px;
  font-weight: 700;
  color: #d4ff00;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.newsletter-subtitle {
  font-size: 18px;
  margin: 0;
  line-height: 1.4;
}

.newsletter-subtitle strong {
  font-weight: 700;
}

.newsletter-subtitle em {
  font-style: italic;
}

.newsletter-form-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.newsletter-form-flex {
  display: flex;
  gap: 12px;
}

.newsletter-input-field {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  background-color: #ffffff;
  color: #04111d;
  height: 38px;
}

.newsletter-input-field::placeholder {
  color: #999;
  font-size: 12px;
}

.newsletter-btn-submit {
  background-color: #d4ff00;
  color: #ffffff;
  border: none;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 38px;
}

.newsletter-btn-submit:hover {
  background-color: #bfe600;
}

.newsletter-message {
  margin-top: 12px;
  display: none;
}

.newsletter-message.active {
  display: block;
}

.newsletter-message .alert {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-message .alert-success {
  background-color: #10b981;
  color: #ffffff;
}

.newsletter-message .alert-error {
  background-color: #ef4444;
  color: #ffffff;
}

/* Footer Links Grid (5 columns) */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-grid-column {
  min-width: 0;
}

.footer-column-title {
  font-weight: 700;
  font-size: 16px;
  color: #cc0000;
  margin: 0 0 16px 0;
}

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

.footer-links-list li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #04111d;
}

/* Contact Items with Icons */
.footer-contact-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-contact-text,
.footer-contact-link {
  font-size: 14px;
  line-height: 1.6;
  color: #04111d;
  text-decoration: none;
}

.footer-contact-link:hover {
  text-decoration: underline;
  color: #cc0000;
}

.footer-link {
  color: #04111d;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.footer-link:hover {
  text-decoration: underline;
}

.text-semibold {
  font-weight: 600;
}

.text-small {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 2px;
}

/* Social Icons */
.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-icon-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.social-icon-link {
  color: #1a1a2e;
}

.social-icon-link:hover {
  opacity: 0.7;
}

.social-icon-link svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Social icons - Images (SVG/PNG) */
.social-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* Order Tracking */
.footer-tracking-section {
  margin-top: 24px;
}

.tracking-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 8px 0;
}

.tracking-form {
  display: flex;
  gap: 8px;
}

.tracking-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  outline: none;
  height: 32px;
}

.tracking-input::placeholder {
  font-size: 11px;
}

.tracking-input:focus {
  border-color: #04111d;
}

.tracking-btn {
  padding: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background-color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.tracking-btn svg {
  width: 16px;
  height: 16px;
  fill: #000000;
}

.tracking-btn:hover {
  background-color: #f5f5f5;
}

/* Payment Methods, Security, and Apps */
.footer-payment-section {
  border-top: 1px solid rgba(4, 17, 29, 0.1);
  padding-top: 32px;
  margin-bottom: 32px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.payment-col {
  min-width: 0;
}

.payment-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 16px 0;
  color: #04111d;
}

/* Payment Methods Icons */
.payment-methods-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.payment-methods-icons img {
  display: block;
  max-width: 80px;
  height: auto;
  object-fit: contain;
}

/* Legacy payment icons (if not using custom SVG) */
.payment-icon,
.payment-icon-text {
  width: 48px;
  height: 32px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #04111d;
  text-align: center;
}

.payment-icon-text {
  font-size: 9px;
  padding: 0 4px;
}

/* Security Badges */
.security-badges-flex {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.security-badges-flex img {
  display: block;
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

/* Legacy security badges (if not using custom SVG) */
.security-badge-item {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 8px 12px;
  background-color: #ffffff;
  text-align: center;
}

.badge-text-bold {
  font-weight: 700;
  font-size: 11px;
  color: #04111d;
}

.badge-text-bold.green {
  color: #10b981;
}

.badge-text-small {
  font-size: 9px;
  color: #666;
  margin-top: 2px;
}

/* App Downloads */
.app-downloads-flex {
  display: flex;
  gap: 8px;
}

.app-store-btn {
  background-color: #000000;
  color: #ffffff;
  border-radius: 4px;
  padding: 8px 12px;
  text-decoration: none;
  transition: opacity 0.3s;
  display: block;
}

.app-store-btn:hover {
  opacity: 0.7;
}

.app-btn-small {
  font-size: 10px;
  margin-bottom: 2px;
}

.app-btn-bold {
  font-weight: 700;
  font-size: 12px;
}

/* Copyright Section */
.footer-copyright-section {
  border-top: 1px solid rgba(4, 17, 29, 0.1);
  padding-top: 24px;
  padding-bottom: 32px;
  font-size: 12px;
  color: rgba(4, 17, 29, 0.7);
  line-height: 1.6;
}

.copyright-text {
  margin: 8px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container-full {
    max-width: 95%;
    padding: 0;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

@media (max-width: 768px) {
  .footer-intro-section {
    padding: 32px 0 24px;
  }

  .footer-newsletter-dark {
    padding: 24px;
    margin-bottom: 32px;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-title {
    font-size: 20px;
  }

  .newsletter-subtitle {
    font-size: 16px;
  }

  .newsletter-form-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
  }

  .payment-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .footer-intro-section {
    padding: 24px 0 16px;
  }

  .footer-newsletter-dark {
    padding: 20px 16px;
    margin-bottom: 24px;
  }

  .newsletter-title {
    font-size: 18px;
  }

  .newsletter-subtitle {
    font-size: 14px;
  }

  .newsletter-form-flex {
    flex-direction: column;
  }

  .newsletter-input-field,
  .newsletter-btn-submit {
    width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }

  .footer-social-icons {
    justify-content: flex-start;
  }

  .payment-methods-icons,
  .security-badges-flex,
  .app-downloads-flex {
    flex-wrap: wrap;
  }

  .footer-copyright-section {
    padding: 16px 0;
    text-align: center;
  }

  .footer-copyright-section p {
    font-size: 11px;
    line-height: 1.5;
  }

  .footer-column-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer-links-list li,
  .footer-link {
    font-size: 13px;
  }

  .footer-logo-img {
    max-width: 150px;
  }
}

/* ============================================
   MARCAS
   ============================================ */

.marcas-grid-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marcas-grid-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  width: 100%;
}

.marca-item {
  position: relative;
  width: 100%;
}

.marca-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.marca-image-wrapper {
  width: 100%;
  height: 60px;
  background-color: #231f20;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 6px;
  overflow: visible;
}

.marca-link:hover .marca-image-wrapper {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: #04111d;
}

.marca-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Mobile: Grid de 4 colunas com 3px de gap */
@media (max-width: 768px) {
  .marcas-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
  }
}

/* ===================================
   Categorias Carousel
   =================================== */

.categorias-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.categorias-carousel {
  display: grid;
  gap: 15px;
  transition: transform 0.3s ease;
  cursor: grab;
  width: 100%;
}

/* Grid dinâmico baseado na quantidade de categorias */
.categorias-carousel[data-count="1"] {
  grid-template-columns: repeat(1, 1fr);
}

.categorias-carousel[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.categorias-carousel[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.categorias-carousel[data-count="4"] {
  grid-template-columns: repeat(4, 1fr);
}

.categorias-carousel[data-count="5"] {
  grid-template-columns: repeat(5, 1fr);
}

.categorias-carousel[data-count="6"] {
  grid-template-columns: repeat(6, 1fr);
}

.categorias-carousel[data-count="7"],
.categorias-carousel[data-count]:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]):not([data-count="4"]):not([data-count="5"]):not([data-count="6"]) {
  grid-template-columns: repeat(7, 1fr);
}

.categorias-carousel:active {
  cursor: grabbing;
}

.categoria-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.categoria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.categoria-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.categoria-card-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* Aspect ratio 1:1 (quadrado) */
  overflow: hidden;
  background: #f5f5f5;
}

.categoria-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.categoria-card:hover .categoria-card-image img {
  transform: scale(1.05);
}

.categoria-card-title {
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

/* Tablet - máximo 6 colunas */
@media (max-width: 1024px) {
  .categorias-carousel[data-count="1"] {
    grid-template-columns: repeat(1, 1fr);
  }

  .categorias-carousel[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
  }

  .categorias-carousel[data-count="3"] {
    grid-template-columns: repeat(3, 1fr);
  }

  .categorias-carousel[data-count="4"] {
    grid-template-columns: repeat(4, 1fr);
  }

  .categorias-carousel[data-count="5"] {
    grid-template-columns: repeat(5, 1fr);
  }

  .categorias-carousel[data-count="6"],
  .categorias-carousel[data-count]:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]):not([data-count="4"]):not([data-count="5"]) {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Mobile - máximo 2 colunas */
@media (max-width: 767px) {
  .categorias-carousel[data-count="1"] {
    grid-template-columns: repeat(1, 1fr);
  }

  .categorias-carousel[data-count]:not([data-count="1"]) {
    grid-template-columns: repeat(2, 1fr);
  }

  .categorias-carousel {
    gap: 10px;
  }
}

/* ===================================
   Products Carousel
   =================================== */

/* Capas das categorias (quando o shortcode é usado com category="…") */
.products-carousel-cat-covers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 8px 0;
  margin-bottom: -10px;
}
.products-carousel-cat-covers .pcc-cover {
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}
.products-carousel-cat-covers .pcc-cover:hover {
  border-color: #004F6B;
  transform: translateY(-2px);
}
.products-carousel-cat-covers .pcc-cover img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  background: #fff;
  display: block;
}
.products-carousel-cat-covers .pcc-cover-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .products-carousel-cat-covers .pcc-cover {
    flex: 0 0 calc((100% - 24px) / 3);
  }
}
@media (max-width: 480px) {
  .products-carousel-cat-covers .pcc-cover {
    flex: 0 0 calc((100% - 12px) / 2);
  }
  .products-carousel-cat-covers .pcc-cover img { height: 60px; }
}

.products-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 30px 46px;
}

/* Esconde até o JS inicializar para evitar flash de cards gigantes */
.products-carousel-wrapper:not(.is-ready) .products-carousel-track {
  opacity: 0;
}

.products-carousel-container {
  overflow: hidden;
  width: 100%;
}

.products-carousel-track {
  display: flex;
  gap: 15px;
  transition: transform 0.4s ease, opacity 0.3s ease;
  width: fit-content;
}

/* Cards dentro do carrossel */
.products-carousel-track .product-card {
  flex-shrink: 0;
}

/* Arrows de navegação */
.products-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  transition: opacity 0.3s ease;
  font-size: 24px;
  color: #000;
  line-height: 1;
}

.products-carousel-arrow:hover {
  opacity: 0.6;
}

.products-carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.products-carousel-prev {
  left: 6px;
}

.products-carousel-next {
  right: 6px;
}

/* Tablet - 4 colunas + metade do 5º */
@media (max-width: 1024px) {
  .products-carousel-prev {
    left: 4px;
  }

  .products-carousel-next {
    right: 4px;
  }

  .products-carousel-arrow {
    font-size: 20px;
  }
}

/* Mobile - 2 colunas + metade do 3º */
@media (max-width: 767px) {
  .products-carousel-track {
    gap: 10px;
  }

  .products-carousel-wrapper {
    padding: 24px 34px;
  }

  .products-carousel-prev {
    left: 2px;
  }

  .products-carousel-next {
    right: 2px;
  }

  .products-carousel-arrow {
    font-size: 18px;
  }
}
