:root {
  --primary-color: #0c0c0c;
  --danger-color: #ee0b16;
  --dark-bg: #1a1a1a;
  --darker-bg: #000000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

/* ===== BOTÃO DEPARTAMENTOS ===== */
.btn-departamentos {
    color: var(--text-light);
    background-color: #333;
    border-color: #333;
    transition: var(--transition);
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}
  
.btn-departamentos:hover {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}



/* ===== ADMIN TOPBAR ===== */
.admin-topbar {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%);
  color: var(--text-light);
  height: 50px;
  border-bottom: 3px solid var(--primary-color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 1rem;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.admin-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ===== ÁREA DO USUÁRIO ===== */
.user-area-side {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.user-area-side i {
  font-size: 29px;
  color: var(--text-light);
  transition: var(--transition);
}

.user-area-side:hover i {
  color: var(--danger-color);
}

.user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.user-hello {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 1px;
}

.user-link,
.login-link,
.register-link {
  font-size: 14px;
  color: var(--danger-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  display: block;
}

.user-link:hover,
.login-link:hover,
.register-link:hover {
  color: var(--text-light);
}

/* ===== ADMIN USER DROPDOWN ===== */
.admin-user {
  position: relative;
  cursor: pointer;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
}

.user-info:hover {
  background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-details {
  line-height: 1.2;
}

.user-details strong {
  font-size: 0.9rem;
  display: block;
}

.user-details span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--text-light);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.admin-user:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
  transition: var(--transition);
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: #f8f9fa;
  color: var(--primary-color);
}

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

.dropdown-item.logout {
  color: #dc3545;
}

.dropdown-item.logout:hover {
  background: #dc3545;
  color: var(--text-light);
}

/* ===== LAYOUT PRINCIPAL ===== */
.search-user-container {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
}

.header .logo {
  float: left;
  transition: var(--transition);
}

.header .navbar {
  padding: 0;
  padding-left: 120px;
}

.navbar-expand-lg .navbar-collapse {
  display: block !important;
}

/* ===== MENU PRINCIPAL - DESKTOP ===== */
.header.shop .nav li {
  margin-right: 38px;
  position: relative;
  float: left;
}

.header.shop .nav li:last-child {
  margin-right: 0 !important;
}

.header.shop .nav li a {
  color: var(--text-light);
  text-transform: capitalize;
  font-size: 15px;
  padding: 20px 15px;
  font-weight: 500;
  display: block;
  position: relative;
  transition: var(--transition);
  text-decoration: none;
}

.header.shop .nav li:hover a {
  color: var(--text-light);
  background: var(--danger-color);
}

/* ===== DROPDOWN MENU ===== */
.header .nav li .dropdown {
  background: var(--text-light);
  width: 220px;
  position: absolute;
  top: 100%;
  z-index: 999;
  box-shadow: var(--shadow);
  transform-origin: 0 0 0;
  transform: scaleY(0.2);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  padding: 10px;
  left: 0;
  margin: 0;
}

.header .nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.header .nav li .dropdown li {
  float: none;
  margin: 0;
}

.header .nav li .dropdown li a {
  padding: 8px 15px;
  color: #666;
  display: block;
  font-weight: 400;
  text-transform: capitalize;
  background: transparent;
  border: none;
}

.header .nav li .dropdown li:hover a {
  color: var(--text-light);
  background: var(--danger-color);
}

/* ===== BADGE/NEW LABEL ===== */
.header.shop .nav li .new {
  background: var(--danger-color);
  color: var(--text-light);
  text-transform: uppercase;
  font-size: 9px;
  padding: 0px 9px;
  position: absolute;
  left: 0;
  top: 6px;
  font-weight: 500;
  height: 18px;
  line-height: 18px;
  text-align: center;
  display: block;
}

.header.shop .nav li .new::before {
  position: absolute;
  content: "";
  left: 4px;
  bottom: -8px;
  border: 4px solid var(--danger-color);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
}

/* ===== SHOPPING CART & WISHLIST ===== */
.header .shopping {
  display: inline-block;
  z-index: 9999;
  position: relative;
}

.header .shopping .shopping-item {
  position: absolute;
  top: 68px;
  right: 0;
  width: 300px;
  background: var(--text-light);
  padding: 20px 25px;
  transition: var(--transition);
  transform: translateY(10px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}

.header .shopping:hover .shopping-item {
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
}

.shopping-list li {
  overflow: hidden;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 15px;
  margin-bottom: 15px;
  position: relative;
}

/* ===== SEARCH BAR ===== */
.header.shop .search-bar {
  width: 535px;
  height: 50px;
  display: inline-block;
  background: var(--text-light);
  position: relative;
  margin: 0;
  line-height: 45px;
  border-radius: 5px;
  border: 1px solid #ececec;
}

.header.shop .search-bar input {
  height: 48px;
  background: transparent;
  color: #666;
  border: none;
  font-size: 14px;
  font-weight: 400;
  padding: 0 25px 0 20px;
  width: 328px;
}

.header.shop .search-bar .btnn {
  height: 50px;
  line-height: 53px;
  width: 62px;
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  background: var(--danger-color);
  position: absolute;
  right: -2px;
  top: -1px;
  border: none;
  border-radius: 0 5px 5px 0;
  transition: var(--transition);
  cursor: pointer;
}

.header.shop .search-bar .btnn:hover {
  background: #86070d;
}

/* ===== RIGHT BAR ICONS ===== */
.header.shop .right-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding: 0;
  margin: 0;
  top: 29px;
  position: relative;
}

.header.shop .right-bar .sinlge-bar {
  display: inline-block;
  margin-right: 25px;
}

.header.shop .right-bar .sinlge-bar:last-child {
  margin-right: 0px;
}

.header.shop .right-bar .sinlge-bar .single-icon {
  color: var(--danger-color);
  font-size: 20px;
  position: relative;
  text-decoration: none;
  transition: var(--transition);
}

.header.shop .right-bar .sinlge-bar .single-icon:hover {
  color: var(--text-light);
}

.header.shop .right-bar .sinlge-bar .single-icon .total-count {
  position: absolute;
  top: -7px;
  right: -8px;
  background: #86070D;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  color: var(--text-light);
  border-radius: 100%;
  font-size: 11px;
}

/* ===== LAYOUT ===== */
.header.shop .middle-inner {
  padding: 20px 0;
  background: #333333;
}

.header.shop .header-inner {
  background: #272727;
}

/* ===== MENU LATERAL (MOBILE) ===== */
.menu-lateral {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: var(--text-light);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.menu-lateral.open {
  left: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--danger-color);
  color: var(--text-light);
  border-bottom: 1px solid #e0e0e0;
}

.menu-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-scroll-container {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.menu-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.menu-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.menu-scroll-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.menu-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

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

.menu li {
  margin: 0;
  position: relative;
}

.menu li a {
  text-decoration: none;
  color: var(--text-dark);
  display: block;
  padding: 15px 20px;
  position: relative;
  transition: var(--transition);
}

.menu>li>a:hover {
  color: var(--text-light);
  background-color: var(--danger-color);
}

.tem-submenu>a::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.submenu-lateral {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100%;
  background: var(--text-light);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  flex-direction: column;
  transform: translateX(320px);
  transition: transform 0.3s ease;
}

.submenu-lateral.active {
  display: flex !important;
  transform: translateX(0);
}

.submenu-header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.submenu-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-left: 10px;
}

.back-btn {
  background: none;
  border: none;
  color: var(--danger-color);
  cursor: pointer;
  font-size: 14px;
  padding: 5px;
  display: flex;
  align-items: center;
}

.back-btn:hover {
  color: #c00a12;
}

.submenu-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.submenu-lateral ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu-lateral ul li {
  margin: 0;
}

.submenu-lateral ul li a {
  color: #555;
  text-decoration: none;
  padding: 12px 20px;
  display: block;
  border-bottom: 1px solid #f0f0f0;
}

.submenu-lateral ul li a:hover {
  color: var(--danger-color);
  background: #f8f9fa;
}

.submenu-nivel-2 {
  left: 100%;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.overlay.show {
  display: block;
}

.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  margin-left: 8px;

}

/* ===== HEADER SEARCH MOBILE ===== */
.header .search-top {
    display: none;
}

.header .search-top a {
    font-size: 17px;
}

.header .search-top a:hover {
    color: #EE0B16;
}

.header .search-form {
    position: absolute;
    left: -128px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    top: 46px;
    background: #ffffff75;
    padding: 7px;
    border-radius: 5px;
    transform: scaleY(0);
    box-shadow: 0px 4px 7px #0000003b;
    padding: 0;
    border-radius: 0;
}

.header .search-top.active .search-form {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

.header .search-form input {
    width: 220px;
    height: 45px;
    line-height: 45px;
    padding: 0 60px 0 15px;
    transition: var(--transition);
    border-radius: 3px;
    border: none;
    background: #fff;
    color: #333;
    border-radius: 0;
}

.header .search-form button {
    position: absolute;
    right: 0;
    height: 45px;
    top: 0;
    width: 45px;
    background: transparent;
    border: none;
    color: #3353ea;
    border-radius: 0 3px 3px 0;
    border-radius: 0;
    border-left: 1px solid #eee;
    font-size: 15px;
    color: #333;
    transition: var(--transition);
}

.header .search-form button:hover {
    color: #fff;
    background: #EE0B16;
    border-color: transparent;
}

/* Header Sticky */
.header .header-inner{
	width:100%;
	z-index:999;
}

.header.sticky .all-category h3{
	cursor:pointer;
	
}
.header.sticky .all-category .main-category{
	opacity:0;
	visibility:hidden;
	-webkit-transition:all 0.4s ease;
	-moz-transition:all 0.4s ease;
	transition:all 0.4s ease;
}
.header.sticky .all-category:hover .main-category{
	opacity:1;
	visibility:visible;
}
.header.sticky .header-inner .nav li a {
	color: #333;
}
.header.sticky.v3 .header-inner .nav li a {
	color: #fff;
}
.header.sticky .header-inner .nav li:hover a{
	color:#fff;
}
.header.sticky.v2 .header-inner .nav li:hover a{
	color:#EE0B16;
}
.header.sticky .header-inner .nav li .dropdown li a{
	color:#333;
}
.header.sticky.v2 .header-inner .nav li .dropdown li a{
	color:#333;
}
.header.sticky .header-inner .nav li .dropdown li a:hover{
	color:#fff;
}
.header.sticky .header-inner .nav li.active a {
	color: #fff;
}
.header.sticky .header-inner{
	position:fixed;
	top:0;
	left:0;
	background:#fff;
	animation: fadeInDown 1s both 0.2s;
	-webkit-box-shadow:0px 0px 10px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:0px 0px 10px rgba(0, 0, 0, 0.3);
	box-shadow:0px 0px 10px rgba(0, 0, 0, 0.3);
	z-index:999;
}
.header.sticky.v3 .header-inner{
	box-shadow:none;
}
.header.sticky.v3 .navbar-expand-lg .navbar-collapse{
	animation: fadeInDown 1s both 0.2s;
	-webkit-box-shadow:0px 0px 10px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:0px 0px 10px rgba(0, 0, 0, 0.3);
	box-shadow:0px 0px 10px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    transition: left 0.3s ease-in-out;
}


.menu-hamburger {
    display: none; /* Escondido no desktop */
}

/* 2. ESTILOS BASE DO MENU LATERAL */
.menu-lateral {
    transition: left 0.3s ease-in-out !important;
    z-index: 10002 !important;
}

.submenu-lateral {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background: var(--text-light);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10003 !important;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out !important;
}

.submenu-lateral.active {
    transform: translateX(0) !important;
    display: flex !important;
}

/* Esconde submenus inicialmente */
.tem-submenu .submenu-lateral {
    display: none !important;
}

.tem-submenu .submenu-lateral.active {
    display: flex !important;
}

/* 3. CORREÇÃO DOS BOTÕES DE TOGGLE */
.submenu-toggle {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.submenu-toggle:hover {
    color: var(--text-light);
    background-color: var(--danger-color);
}

/* 4. CORREÇÃO DO OVERLAY */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 10001 !important;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    display: block !important;
}

#overlay.show {
    visibility: visible;
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

/* 5. CORREÇÃO DO SCROLL */
.menu-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.menu-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.menu-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.menu-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.menu-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== HEADER MOBILE  ===== */
.mobile-header {
    display: none; /* Escondido por padrão */
    background: #333;
    padding: 15px;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 15px;
}

.mobile-logo {
    flex: 1;
    min-width: 0;
}

.mobile-logo img {
    max-height: 60px; /* Aumentado */
    width: auto;
    max-width: 100%;
}

.mobile-icons {
    display: flex;
    align-items: center;
    gap: 20px; /* Aumentado */
    margin-right: 10px;
}

#mobile-menu-hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 50px; /* Aumentado */
    cursor: pointer;
    padding: 8px; /* Aumentado */
    width: 44px; /* Aumentado */
    height: 44px; /* Aumentado */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

#mobile-menu-hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Menu Lateral Mobile - CORREÇÕES DE TAMANHO */
.mobile-menu-lateral {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%; /* Ocupa toda a largura no mobile */
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1100;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-menu-lateral.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px; /* Aumentado */
    background: #ee0b16;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-title {
    font-size: 40px; /* Aumentado */
    font-weight: 600;
}

#mobile-fechar-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 50px; /* Aumentado */
    cursor: pointer;
    padding: 8px; /* Aumentado */
    width: 44px; /* Aumentado */
    height: 44px; /* Aumentado */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

#mobile-fechar-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-content {
    padding: 0;
}

.mobile-user-area {
    padding: 25px 20px; /* Aumentado */
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 15px; /* Aumentado */
}

.mobile-user-info i {
    font-size: 24px; /* Aumentado */
    color: #666;
}

.mobile-user-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-user-hello {
    font-size: 16px; /* Aumentado */
    color: #666;
    font-weight: 500;
}

.mobile-user-link {
    font-size: 18px; /* Aumentado */
    font-weight: 600;
    color: var(--primary-color, #ee0b16);
    text-decoration: none;
}

.mobile-login-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mobile-login-link,
.mobile-register-link {
    padding: 12px 20px; /* Aumentado */
    border-radius: 6px; /* Aumentado */
    text-decoration: none;
    font-weight: 600;
    font-size: 28px; /* Aumentado */
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.mobile-login-link {
    color: var(--primary-color, #ee0b16);
    border: 2px solid var(--primary-color, #ee0b16); /* Aumentado */
    background: transparent;
}

.mobile-register-link {
    background: var(--primary-color, #ee0b16);
    color: #fff;
    border: 2px solid var(--primary-color, #ee0b16); /* Aumentado */
}

.mobile-login-link:hover,
.mobile-register-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Menu Principal Mobile - CORREÇÕES DE TAMANHO */
.mobile-main-nav {
    padding: 0;
}

.mobile-main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-main-nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-main-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px; /* Aumentado */
    color: #333;
    text-decoration: none;
    font-size: 18px; /* Aumentado */
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 60px; /* Garante altura mínima */
}

.mobile-main-nav ul li a:hover {
    background: #f8f9fa;
    color: var(--primary-color, #ee0b16);
}

/* Ícones dos itens do menu */
.mobile-main-nav ul li a i {
    margin-right: 12px; /* Aumentado */
    font-size: 20px; /* Aumentado */
    width: 24px;
    text-align: center;
}

/* Setas dos submenus */
.mobile-submenu-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px; /* Aumentado */
    transition: transform 0.3s ease;
    color: #666;
}

.mobile-submenu-toggle.active::after {
    transform: rotate(180deg);
    color: var(--primary-color, #ee0b16);
}

/* Submenus Mobile */
.mobile-submenu {
    display: none;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu li a {
    padding: 18px 25px 18px 45px; /* Aumentado e com indentação */
    font-size: 16px; /* Aumentado */
    color: #555;
    background: #f8f9fa;
}

.mobile-submenu li a:hover {
    background: #e9ecef;
    color: var(--primary-color, #ee0b16);
}

/* Overlay Mobile */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1099;
    backdrop-filter: blur(2px);
}

.mobile-overlay.show {
    display: block;
}

/* Ícones no mobile - CORREÇÕES DE TAMANHO */
.mobile-icons .single-icon {
    color: #fff;
    font-size: 50px; /* Aumentado */
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Aumentado */
    height: 60px; /* Aumentado */
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-icons .single-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-icons .total-count {
    background: #fff;
    color: #ee0b16;
    font-size: 24px; /* Aumentado */
    border-radius: 50%;
    width: 28px; /* Aumentado */
    height: 28px; /* Aumentado */
    line-height: 28px; /* Aumentado */
    text-align: center;
    position: absolute;
    top: -2px;
    right: -2px;
    font-weight: 700;
}
/* ===== CARRINHO PROFISSIONAL ===== */
.cart-dropdown {
    width: 380px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.dropdown-cart-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c00a12 100%);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-cart-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.dropdown-cart-header .item-count {
    font-size: 13px;
    opacity: 0.9;
}

.view-cart-btn {
    color: white;
    font-size: 12px;
    text-decoration: underline;
    opacity: 0.9;
    transition: var(--transition);
    align-self: flex-start;
}

.view-cart-btn:hover {
    opacity: 1;
    color: white;
}

.cart-items-container {
    max-height: 320px;
    overflow-y: auto;
    padding: 0;
}

.cart-items-container::-webkit-scrollbar {
    width: 4px;
}

.cart-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-items-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

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

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    transition: var(--transition);
    position: relative;
}

.cart-item:hover {
    background: #f8f9fa;
}

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

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e8e8e8;
}

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

.item-details {
    flex: 1;
    min-width: 0;
}

.item-title {
    margin: 0 0 6px 0;
    font-size: 14px;
    line-height: 1.3;
}

.item-title a {
    color: #333;
    text-decoration: none;
    transition: var(--transition);
}

.item-title a:hover {
    color: var(--primary-color);
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 12px;
}

.item-quantity {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    color: #666;
}

.item-price {
    color: var(--primary-color);
    font-weight: 700;
}

.item-subtotal {
    font-size: 11px;
    color: #666;
}

.item-subtotal strong {
    color: #333;
}

.remove-item {
    color: #dc3545;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
    font-size: 12px;
}

.remove-item:hover {
    opacity: 1;
    background: rgba(220, 53, 69, 0.1);
}

/* Carrinho Vazio */
.empty-cart {
    padding: 40px 20px;
    text-align: center;
}

.empty-cart-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Footer do Carrinho */
.cart-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e8e8e8;
}

.cart-totals {
    margin-bottom: 15px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.total-line.shipping {
    color: #28a745;
}

.free-shipping {
    color: #28a745;
    font-weight: 700;
}

.total-line.grand-total {
    border-top: 1px solid #ddd;
    margin-top: 8px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 16px;
}

.grand-total .total-amount {
    color: var(--primary-color);
    font-size: 18px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-checkout {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c00a12 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 11, 22, 0.3);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-1px);
}

.security-badges {
    display: flex;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid #e8e8e8;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #666;
}

.security-item i {
    color: #28a745;
}

/* Animação de entrada do dropdown */
.header .shopping .shopping-item {
    animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge do carrinho com animação */
.header .shopping .single-icon .total-count {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/* ===== RESPONSIVE MOBILE - VERSÃO MODERNIZADA ===== */

/* Animação de loading para o carrinho */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.cart-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.cart-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(243, 243, 243, 0.3);
  border-top: 3px solid var(--danger-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 10;
}

/* Estados de hover melhorados com transições suaves */
.header .shopping:hover .single-icon {
  color: var(--text-light);
  transform: translateY(-3px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HEADER MAIOR - TABLET (768px - 991px) ===== */
@media (max-width: 991px) {
  /* Esconde header desktop */
  .desktop-header {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  /* Mostra header mobile com animação - TAMANHO AUMENTADO */
  .mobile-header {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px 0; /* Aumentado de 12px */
    animation: slideDown 0.4s ease-out;
  }

  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Ajustes específicos para tablets - LOGO MAIOR */
  @media (min-width: 768px) and (max-width: 991px) {
    .mobile-header {
      padding: 40px 0; /* Mais espaço */
    }
    
    .mobile-logo img {
      max-height: 120px !important; /* Aumentado significativamente */
      width: auto;
      transition: transform 0.3s ease;
    }

    .mobile-logo:hover img {
      transform: scale(1.05);
    }

    .mobile-icons {
      gap: 25px; /* Mais espaço entre ícones */
    }

    #mobile-menu-hamburger {
      font-size: 32px !important; /* Muito maior */
      padding: 10px !important;
      width: 55px !important;
      height: 55px !important;
      background: var(--danger-color);
      color: white;
      border: none;
      border-radius: 12px;
    }

    .mobile-icons .single-icon {
      font-size: 26px !important; /* Aumentado */
      width: 55px !important;
      height: 55px !important;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-icons .total-count {
      font-size: 30px !important;
      width: 40px !important;
      height: 40px !important;
      line-height: 40px !important;
      top: -4px;
      right: -4px;
    }
  }
}

/* ===== HEADER MAIOR - MOBILE (até 767px) ===== */
@media (max-width: 767px) {
  /* Header mobile principal - TAMANHO AUMENTADO */
  .mobile-header {
    padding: 16px 20px !important; /* Aumentado */
    background: var(--darker-bg);
    min-height: 90px; /* Altura mínima maior */
    display: flex;
    align-items: center;
  }

  .mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px; /* Mais espaço */
  }

  .mobile-logo {
    flex: 1;
    display: flex;
    justify-content: flex-start; /* Alinhado à esquerda */
  }

  .mobile-logo img {
    max-height: 65px !important; /* LOGO MAIOR */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  }

  .mobile-icons {
    display: flex;
    align-items: center;
    gap: 20px; /* Mais espaço */
  }

  #mobile-menu-hamburger {
    font-size: 32px !important; /* ÍCONE MAIOR */
    padding: 10px !important;
    width: 55px !important;
    height: 55px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(238, 11, 22, 0.3);
  }

  #mobile-menu-hamburger:hover {
    background: #c00a12;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 11, 22, 0.4);
  }

  #mobile-menu-hamburger:active {
    transform: translateY(0);
  }

  .mobile-icons .single-icon {
    position: relative;
    color: white;
    font-size: 26px !important; /* ÍCONES MAIORES */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px !important;
    height: 55px !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }

  .mobile-icons .single-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .mobile-icons .total-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger-color);
    color: white;
    font-size: 14px !important; /* Aumentado */
    font-weight: 700;
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    text-align: center;
    border-radius: 50%;
    border: 2px solid var(--darker-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
  }

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

  /* Menu lateral modernizado - SEM MODO DARK */
  .mobile-menu-lateral {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px; /* Um pouco maior */
    height: 100vh;
    background: white; /* SEMPRE BRANCO */
    z-index: 1100;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-lateral.open {
    left: 0;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px; /* Mais padding */
    background: linear-gradient(135deg, var(--danger-color) 0%, #c00a12 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu-title {
    font-size: 24px !important; /* Aumentado */
    font-weight: 700;
    letter-spacing: 0.5px;
  }

  #mobile-fechar-menu {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px !important; /* Aumentado */
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  #mobile-fechar-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
  }

  .mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa; /* SEMPRE BRANCO/CLARO */
  }

  /* User area moderna - SEM MODO DARK */
  .mobile-user-area {
    padding: 25px 20px; /* Mais padding */
    background: white; /* SEMPRE BRANCO */
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .mobile-user-info {
    display: flex;
    align-items: center;
    gap: 18px; /* Mais espaço */
    margin-bottom: 25px; /* Mais espaço */
  }

  .mobile-user-info i {
    font-size: 28px !important; /* Aumentado */
    color: var(--danger-color);
    background: rgba(238, 11, 22, 0.1);
    width: 60px !important; /* Maior */
    height: 60px !important; /* Maior */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-user-text {
    flex: 1;
  }

  .mobile-user-hello {
    font-size: 16px !important; /* Aumentado */
    color: #666;
    margin-bottom: 6px;
  }

  .mobile-user-link {
    font-size: 20px !important; /* Aumentado */
    font-weight: 700;
    color: var(--darker-bg);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .mobile-user-link:hover {
    color: var(--danger-color);
  }

  .mobile-login-links {
    display: flex;
    gap: 15px; /* Mais espaço */
  }

  .mobile-login-link,
  .mobile-register-link {
    flex: 1;
    padding: 16px 24px !important; /* Botões maiores */
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px !important; /* Texto maior */
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
  }

  .mobile-login-link {
    color: var(--danger-color);
    border-color: var(--danger-color);
    background: white;
  }

  .mobile-login-link:hover {
    background: rgba(238, 11, 22, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 11, 22, 0.15);
  }

  .mobile-register-link {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
  }

  .mobile-register-link:hover {
    background: #c00a12;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 11, 22, 0.3);
  }

  /* Menu de navegação moderno - SEM MODO DARK */
  .mobile-main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-main-nav ul li {
    border-bottom: 1px solid #e9ecef;
  }

  .mobile-main-nav ul li:last-child {
    border-bottom: none;
  }

  .mobile-main-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 25px !important; /* Mais padding */
    color: #333;
    text-decoration: none;
    font-size: 18px !important; /* Texto maior */
    font-weight: 500;
    transition: all 0.3s ease;
    background: white; /* SEMPRE BRANCO */
  }

  .mobile-main-nav ul li a:hover {
    background: linear-gradient(135deg, var(--danger-color) 0%, #c00a12 100%);
    color: white;
    padding-left: 30px !important;
  }

  .mobile-main-nav ul li a i {
    margin-right: 15px; /* Mais espaço */
    font-size: 22px !important; /* Ícones maiores */
    width: 28px;
    text-align: center;
    transition: all 0.3s ease;
  }

  .mobile-main-nav ul li a:hover i {
    transform: scale(1.1);
  }

  .mobile-submenu-toggle::after {
    content: '›';
    font-size: 24px !important; /* Aumentado */
    transition: transform 0.3s ease;
    color: #666;
  }

  .mobile-submenu-toggle.active::after {
    transform: rotate(90deg);
    color: var(--danger-color);
  }

  .mobile-submenu {
    display: none;
    background: #f8f9fa; /* SEMPRE CLARO */
    border-top: 1px solid #e9ecef;
  }

  .mobile-submenu.active {
    display: block;
    animation: slideIn 0.3s ease;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-submenu li a {
    padding: 20px 25px 20px 55px !important; /* Mais padding */
    font-size: 16px !important; /* Texto maior */
    color: #555;
    background: #f8f9fa; /* SEMPRE CLARO */
    position: relative;
  }

  .mobile-submenu li a::before {
    content: '';
    position: absolute;
    left: 35px; /* Ajustado */
    top: 50%;
    transform: translateY(-50%);
    width: 8px; /* Maior */
    height: 8px; /* Maior */
    background: var(--danger-color);
    border-radius: 50%;
  }

  .mobile-submenu li a:hover {
    background: #e9ecef;
    color: var(--danger-color);
    padding-left: 60px !important;
  }

  /* Overlay moderno */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
  }

  .mobile-overlay.show {
    opacity: 1;
    visibility: visible;
  }
}

/* ===== HEADER MAIOR - MOBILE PEQUENO (até 576px) ===== */
@media (max-width: 576px) {
  .mobile-header {
    padding: 14px 18px !important;
    min-height: 85px;
  }

  .mobile-logo img {
    max-height: 60px !important; /* Ainda maior que antes */
  }

  .mobile-icons {
    gap: 18px;
  }

  #mobile-menu-hamburger {
    width: 50px !important;
    height: 50px !important;
    font-size: 28px !important;
  }

  .mobile-icons .single-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
  }

  .mobile-menu-lateral {
    width: 90%;
    max-width: 320px;
  }

  .mobile-menu-header {
    padding: 22px 18px;
  }

  .mobile-menu-title {
    font-size: 22px !important;
  }

  .mobile-user-area {
    padding: 22px 18px;
  }

  .mobile-user-info i {
    width: 55px !important;
    height: 55px !important;
    font-size: 26px !important;
  }

  .mobile-user-link {
    font-size: 18px !important;
  }

  .mobile-login-links {
    flex-direction: column;
    gap: 12px;
  }

  .mobile-login-link,
  .mobile-register-link {
    padding: 14px 20px !important;
    font-size: 16px !important;
  }

  .mobile-main-nav ul li a {
    padding: 20px 22px !important;
    font-size: 17px !important;
    min-height: 60px;
  }

  .mobile-main-nav ul li a i {
    font-size: 20px !important;
    margin-right: 12px;
  }

  .mobile-submenu li a {
    padding: 18px 22px 18px 52px !important;
    font-size: 15px !important;
  }
}

/* ===== HEADER MAIOR - MOBILE MUITO PEQUENO (até 380px) ===== */
@media (max-width: 380px) {
  .mobile-header {
    padding: 12px 16px !important;
    min-height: 80px;
  }

  .mobile-logo img {
    max-height: 55px !important;
  }

  .mobile-icons {
    gap: 15px;
  }

  #mobile-menu-hamburger {
    width: 48px !important;
    height: 48px !important;
    font-size: 26px !important;
  }

  .mobile-icons .single-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 22px !important;
  }

  .mobile-menu-lateral {
    width: 95%;
    max-width: 300px;
  }

  .mobile-user-info {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .mobile-user-info i {
    margin: 0 auto;
  }

  .mobile-user-text {
    text-align: center;
  }

  .mobile-main-nav ul li a {
    padding: 18px 20px !important;
    font-size: 16px !important;
    min-height: 58px;
  }

  .mobile-submenu li a {
    padding: 16px 20px 16px 45px !important;
    font-size: 14px !important;
  }

  .mobile-submenu li a::before {
    left: 30px;
  }
}

/* ===== BARRA DE PESQUISA MAIOR - RESPONSIVA ===== */
@media (max-width: 1200px) {
  .header.shop .search-bar {
    width: 100%;
    height: 100px !important; /* MUITO MAIOR */
    border-radius: 16px !important; /* Bordas mais arredondadas */
    margin: 15px 0 !important; /* Mais margem */
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .header.shop .search-bar:focus-within {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 4px rgba(238, 11, 22, 0.15);
    transform: translateY(-2px);
  }

  .header.shop .search-bar input {
    width: 100%;
    font-size: 2.5rem !important;

    border: none;
    outline: none;
    color: #333;
    font-weight: 500;
  }


  .header.shop .search-bar input::placeholder {
    color: #999;
    font-size: 2rem !important;
  }

  .header.shop .search-bar .btnn {
    width: 80px !important; /* MAIOR */
    height: 100px !important; /* MAIOR */
    font-size: 24px !important; /* ÍCONE MAIOR */
    border-radius: 0 16px 16px 0 !important;
    background: linear-gradient(135deg, var(--danger-color) 0%, #c00a12 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header.shop .search-bar .btnn:hover {
    background: linear-gradient(135deg, #c00a12 0%, #a00910 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(238, 11, 22, 0.3);
  }

  .search-user-container {
    flex-direction: column;
    align-items: stretch;
    gap: 15px; /* Mais espaço */
  }

  .user-area-side {
    justify-content: center;
    padding: 12px; /* Mais padding */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* Bordas mais arredondadas */
    backdrop-filter: blur(5px);
    margin-top: 10px;
  }

  .user-hello, .user-link {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 16px; /* Texto maior */
  }
}

/* ===== RESPONSIVO PARA O CARRINHO - AJUSTADO ===== */
@media (max-width: 480px) {
  .cart-dropdown {
    width: 340px !important; /* Um pouco maior */
    right: -50px !important;
    position: fixed !important;
    top: 90px !important; /* Ajustado para header maior */
    animation: slideInDown 0.3s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 18px; /* Bordas mais arredondadas */
    overflow: hidden;
  }
  
  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .cart-item {
    padding: 16px 18px !important; /* Mais padding */
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px; /* Mais espaço */
    align-items: center;
  }
  
  .item-image {
    width: 60px !important; /* Maior */
    height: 60px !important; /* Maior */
    border-radius: 12px; /* Bordas mais arredondadas */
    overflow: hidden;
    border: 1px solid #e9ecef;
  }
  
  .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .item-image:hover img {
    transform: scale(1.05);
  }
  
  .item-title {
    font-size: 15px !important; /* Texto maior */
    line-height: 1.4;
    margin: 0 0 6px 0;
  }
  
  .item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .item-title a:hover {
    color: var(--danger-color);
  }
  
  .item-meta {
    display: flex;
    align-items: center;
    gap: 10px; /* Mais espaço */
    flex-wrap: wrap;
  }
  
  .item-price {
    font-weight: 700;
    color: var(--danger-color);
    font-size: 16px !important; /* Maior */
  }
  
  .item-quantity {
    background: #f8f9fa;
    padding: 3px 10px !important; /* Mais padding */
    border-radius: 12px;
    font-size: 13px !important; /* Maior */
    color: #666;
  }
  
  .remove-item {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border: none;
    width: 35px !important; /* Maior */
    height: 35px !important; /* Maior */
    border-radius: 10px; /* Bordas mais arredondadas */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .remove-item:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: rotate(90deg);
  }
}

/* ===== DESKTOP (992px+) ===== */
@media (min-width: 992px) {
  .mobile-header {
    display: none !important;
  }
  
  .desktop-header {
    display: block !important;
    animation: fadeIn 0.5s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== ACESSIBILIDADE - SEM MODO DARK ===== */
@media (max-width: 991px) {
      body {
        padding-top: 330px !important; /* ajuste fino abaixo */
    }
  /* Tamanho mínimo para toque - MAIOR */
  .mobile-main-nav ul li a,
  #mobile-menu-hamburger,
  #mobile-fechar-menu,
  .mobile-icons .single-icon,
  .mobile-login-link,
  .mobile-register-link {
    min-height: 90px !important; /* Maior para toque mais fácil */
    min-width: 90px !important; /* Maior para toque mais fácil */

  }

  /* Foco visível - MAIS VISÍVEL */
  .mobile-main-nav ul li a:focus,
  #mobile-menu-hamburger:focus,
  #mobile-fechar-menu:focus,
  .mobile-icons .single-icon:focus,
  .mobile-login-link:focus,
  .mobile-register-link:focus {
    outline: 4px solid var(--danger-color) !important; /* Mais grosso */
    outline-offset: 3px !important; /* Mais distância */
    border-radius: 10px;
  }

  /* Contraste melhorado - SEMPRE BRANCO/ESCURO */
  .mobile-main-nav ul li a {
    color: #222 !important; /* SEMPRE ESCURO */
    background: white; /* SEMPRE BRANCO */
    font-size: 2.5rem !important;
  }

  

  .mobile-menu-lateral,
  .mobile-menu-content,
  .mobile-user-area,
  .mobile-main-nav ul li,
  .mobile-submenu {
    background: white !important; /* FORÇA BRANCO */
  }

  .mobile-menu-content {
    background: #f8f9fa !important; /* FORÇA CLARO */
  }

  .mobile-submenu {
    background: #ff0000 !important; /* FORÇA CLARO */
  }



  /* Suporte a prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce) {
    .mobile-menu-lateral,
    .mobile-overlay,
    .cart-dropdown,
    .mobile-main-nav ul li a,
    .mobile-icons .single-icon,
    #mobile-menu-hamburger,
    #mobile-fechar-menu {
      transition: none !important;
      animation: none !important;
    }
  }

  /* REMOVIDO: Suporte a modo escuro - SEMPRE CLARO */
}

/* ===== ANIMAÇÕES E MICROINTERAÇÕES ===== */
.header .shopping .single-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .shopping .single-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Badge do carrinho com animação */
.header .shopping .single-icon .total-count {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Loading state melhorado */
.cart-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95); /* SEMPRE BRANCO */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: 12px;
}

.cart-loading-spinner {
  width: 50px !important; /* Maior */
  height: 50px !important; /* Maior */
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--danger-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Feedback visual para ações */
.cart-item-removing {
  opacity: 0.5;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.cart-item-added {
  animation: highlight 0.6s ease;
}

@keyframes highlight {
  0% {
    background: rgba(238, 11, 22, 0.1);
  }
  100% {
    background: transparent;
  }
}

/* ===== COMPONENTES COM FONTES MAIORES ===== */
@media (max-width: 767px) {
  .mobile-main-nav ul li a,
  .mobile-user-link,
  .mobile-login-link,
  .mobile-register-link,
  .mobile-menu-title,
  .mobile-user-hello {
    font-size: larger !important; /* Fonte maior em geral */
  }
  
  .header.shop .search-bar input {
    font-size: 2.5rem !important;
  }
}