/* Variáveis de Cores */
:root {
  /* Cores Principais */
  --primary-color: #f6bb00;
  --primary-hover: hsl(36, 100%, 48%);

  --white-color: #ffffff;
  --dark-color: #2d2d2d;
  --dark-hover: #1a1b1f;

  /* Cores de Fundo */
  --background-color: var(--white-color);
  --dark-background: var(--dark-color);

  /* Cores de Texto */
  --text-color: var(--dark-color);
  --dark-text: var(--white-color);

  /* Transições */
  --transition-speed: 0.3s;

  /* Bordas e Sombras */
  --border-radius: 0.375rem;
  --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Estilo Global */
.logo {
  height: 90px;
}

.header .navbar-nav {
  justify-content: center;
}

.header .navbar>.container,
.header .navbar>.container-fluid {
  align-items: flex-end !important;
}

body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  transition: background-color var(--transition-speed),
    color var(--transition-speed);
}

/* Cabeçalho */
header {
  background-color: var(--bs-header-bg);
  color: var(--bs-header-text-color);
  padding: 0 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-speed);
}

.header .mod-finder {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--bs-header-heading-color);
}

/* Header Sticky */
header.sticky-top,
.header-sticky {
  background-color: var(--bs-stick-header-bg-color);
  backdrop-filter: blur(10px);
}

/* Navigation Styles */
.navbar {
  background-color: var(--bs-header-bg);
  transition: background-color var(--transition-speed);
}

.navbar.sticky-top {
  background-color: var(--bs-stick-header-bg-color);
}

/* Nav Links */
.navbar-nav .nav-link {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--bs-stick-header-menu-link-color);
  padding: 0.75rem 1rem;
  transition: color var(--transition-speed);
}

.navbar-nav .nav-link:hover {
  color: var(--bs-stick-header-menu-link-hover-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  color: var(--bs-stick-header-menu-link-active-color);
}

/* Dropdown Menu */
.dropdown-menu {
  background-color: var(--bs-dropdown-bg-color);
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
}

.dropdown-item {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--bs-dropdown-link-color);
  padding: 0.5rem 1rem;
  transition: color var(--transition-speed),
    background-color var(--transition-speed);
}

.dropdown-item:hover {
  color: var(--bs-dropdown-menu-link-hover-color);
  background-color: rgba(246, 187, 0, 0.1);
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-dropdown-menu-active-link-color);
  background-color: var(--primary-color);
}

/* Navbar Brand/Logo */
.navbar-brand {
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--bs-header-heading-color);
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Títulos Gerais */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1,
.h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2,
.h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3,
.h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4,
.h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5,
.h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6,
.h6 {
  font-size: 1rem;
  font-weight: 500;
}

/* Links */
a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--dark-hover);
}

/* Botões */
button {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

button:hover {
  background-color: var(--primary-hover);
}

/* Rodapé */
footer {
  background-color: var(--dark-background);
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Modo Escuro */
body.dark-mode {
  background-color: var(--dark-background);
  color: var(--dark-text);
}

body.dark-mode header,
body.dark-mode footer {
  background-color: var(--dark-background);
  color: var(--dark-text);
}

.hikashop_cart_module {
  position: relative;
  padding-left: 2rem !important;
  color: #000000;
  /* Cor do texto do carrinho */
  display: block;
}

.hikashop_cart_module::before {
  content: '\f07a';
  font-family: 'Font Awesome 7 Free';
  font-weight: bold;
  position: absolute;

  left: 0;
  display: inline-block;
  font-size: 1.5rem;
}

.module-title {
  font-size: 2.3em;
  line-height: 1.2em;
  font-weight: 900;
  text-transform: none;
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  text-align: center;
  position: relative;
  left: 0;
  overflow: hidden;
}

.module-title span {
  display: table;
  margin: 0 auto;
  position: relative;
}

.module-title span::before,
.module-title span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100vw;
  height: 1px;
  background-color: #e5e5e5;
  transform: translateY(-50%);
}

.module-title span::before {
  right: 100%;
  margin-right: calc(var(--bs-gutter-x) * 0.5);
}

.module-title span::after {
  left: 100%;
  margin-left: calc(var(--bs-gutter-x) * 0.5);
}

/* Classes Utilitárias de Tipografia */
.text-barlow {
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
}

.text-poppins {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

.text-title {
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.text-body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

body [id*="hikashop_category_information_module"] .hikashop_product_image_subdiv {
  width: 100% !important;
}



body [id*="hikashop_category_information_module"] .hikashop_product_image {
  height: auto !important;
}

.search>.row {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search .module-name-hikashop_cart {
  margin-bottom: calc(var(--bs-gutter-x) * 0.5);
  border-radius: var(--border-radius);
}

/* ===============================
   SEARCH RESULTS GRID LAYOUT
   =============================== */

.search-results-grid .row {
  margin: 0;
}

.search-result-card {
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.search-result-card:hover {

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.search-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.search-result-card:hover::before {
  opacity: 1;
}

.search-result-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: #f8f9fa;
}

.search-result-image .image-link {
  display: block;
  height: 100%;
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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



.badge-new {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.product-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background-color: #28a745;
  color: white;
}

.search-result-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-result-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2em;
}

.search-result-title .result-title-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  line-height: 1.2em;
}

.search-result-title .result-title-link:hover {
  color: var(--text-color);
}

.product-price {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-original {
  color: #6c757d;
  font-size: 0.9rem;
  text-decoration: line-through;
}

.price-current {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Enhanced Joomla Alerts - Simplified */
.alert {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.alert-success {
  background: linear-gradient(135deg, var(--primary-color), #ffd700);
  border: 2px solid var(--primary-color);
  color: var(--dark-color);
  font-weight: 600;
}

.alert-info {
  background: linear-gradient(135deg, #17a2b8, #20c997);
  border: 2px solid #17a2b8;
  color: white;
}

.alert-warning {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  border: 2px solid #ffc107;
  color: var(--dark-color);
}

.alert-error,
.alert-danger {
  background: linear-gradient(135deg, #dc3545, #e74c3c);
  border: 2px solid #dc3545;
  color: white;
}

.search-result-description {
  flex: 1;
}

.search-result-description p {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.result-date {
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.search-result-url {
  margin-bottom: 1rem;
}

.search-result-url small {
  color: #6c757d;
  font-size: 0.75rem;
  word-break: break-all;
}

.search-result-tags {
  margin-top: auto;
}

.search-result-tags .badge {
  font-size: 0.7rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

/* Badge links for HikaShop products */
.search-result-tags a.badge {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.search-result-tags a.badge:hover {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;

  box-shadow: 0 2px 8px rgba(246, 187, 0, 0.3);
}

/* Prevent highlight styling in badge links */
.search-result-tags a.badge mark,
.search-result-tags a.badge .highlight {
  background: none !important;
  color: inherit !important;
  font-weight: inherit !important;
}

/* Finder Form Styling */
.modern-search-form {
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.search-header .search-input-group {
  position: relative;
}

.search-header .input-group-text {
  background: transparent;
  border: 1px solid #dee2e6;
  color: #6c757d;
}

.search-header .form-control {
  border: 1px solid #dee2e6;
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

.search-header .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(246, 187, 0, 0.25);
}

.search-header .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
}

.search-header .btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.search-header .btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.search-header .btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
}

/* Advanced Filters */

.filter-branch {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.filter-branch .control-group {
  padding: 0 calc(var(--bs-gutter-x) * 0.5);
  flex-shrink: 0;
  max-width: 100%;
  margin-top: var(--bs-gutter-y);
  flex: 0 0 auto;
  width: auto;
}

.com-finder__tips {
  background-color: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: var(--border-radius);
}



/* Search Results Header */
.search-controls {
  background: var(--white-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--box-shadow-sm);
}

.results-info h2 {
  color: var(--text-color);
  font-weight: 600;
}

.search-sorting select {
  border: 1px solid #dee2e6;
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  background: white;
}

/* Search Sidebar */
.search-sidebar {
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 2rem;
}

.sidebar-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.sidebar-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sidebar-title {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-check {
  margin-bottom: 0.5rem;
}

.form-check-label {
  font-size: 0.9rem;
  color: #6c757d;
  cursor: pointer;
}

.form-check-label .count {
  color: var(--text-color);
  font-weight: 500;
}

.price-range .price-inputs {
  display: flex;
  gap: 0.5rem;
}

.price-range .input-group-text {
  background: #f8f9fa;
  border-color: #dee2e6;
  font-size: 0.8rem;
}

.price-range .form-control {
  font-size: 0.8rem;
}

.form-range {
  width: 100%;
}

.form-range::-webkit-slider-thumb {
  background: var(--primary-color);
}

.form-range::-moz-range-thumb {
  background: var(--primary-color);
  border: none;
}

/* Loading shimmer effect */
.search-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Search result card loading state */
.search-result-card.loading .search-result-image {
  background: #f0f0f0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.search-result-card.loading .search-result-title,
.search-result-card.loading .product-price,
.search-result-card.loading .search-result-description,
.search-result-card.loading .product-actions {
  background: #f0f0f0;
  border-radius: 4px;
  animation: shimmer 1.5s infinite;
}

/* Search Results Container */
.search-results-container {
  margin-bottom: 2rem;
}

/* Accessibility improvements */
.search-result-card:focus-within {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.result-title-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

/* Typography improvements */
.search-result-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2em;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Better visual hierarchy */
.search-results-grid {
  margin-top: 1rem;
}

/* Empty state styling */
.com-finder__empty {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 2rem 0;
}

.com-finder__empty h2 {
  color: #6c757d;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.com-finder__empty p {
  color: #6c757d;
  font-size: 1rem;
  margin: 0;
}

/* Breadcrumb styling if present */
.finder-breadcrumb {
  background: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.finder-breadcrumb .breadcrumb-item {
  color: #6c757d;
}

.finder-breadcrumb .breadcrumb-item.active {
  color: var(--text-color);
  font-weight: 500;
}

/* Pagination */
.com-finder__navigation {
  background: var(--white-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: var(--box-shadow);
}

.search-pagination .pagination {
  justify-content: center;
  margin-bottom: 1rem;
}

.pagination .page-link {
  color: var(--text-color);
  border-color: #dee2e6;
  border-radius: var(--border-radius);
  margin: 0 0.125rem;
}

.pagination .page-link:hover {
  color: var(--text-color);
  background-color: #f8f9fa;
  border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.search-pages-counter {
  text-align: center;
  color: #6c757d;
  font-size: 0.9rem;
}

.section-slideshow {
  position: relative;
}

.section-slideshow .mod-finder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

/* Melhorias para o campo de busca dentro do slideshow */
.section-slideshow .mod-finder__search.input-group {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(246, 187, 0, 0.3);
  transition: all var(--transition-speed) ease;
}

.section-slideshow .mod-finder__search.input-group:hover {

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.section-slideshow .mod-finder__search .awesomplete {
  flex: 1;
}

.section-slideshow .mod-finder__search .form-control {
  border: none;
  background: transparent;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-color);
  border-radius: 50px 0 0 50px;
}

.section-slideshow .mod-finder__search .form-control:focus {
  box-shadow: none;
  outline: none;
  background: transparent;
}

.section-slideshow .mod-finder__search .form-control::placeholder {
  color: rgba(45, 45, 45, 0.6);
  font-weight: 300;
}

.section-slideshow .mod-finder__search .btn {
  border: none;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 15px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0 50px 50px 0;
  transition: all var(--transition-speed) ease;
}

.section-slideshow .mod-finder__search .btn:hover {
  background: var(--primary-hover);

}

.section-slideshow .mod-finder__search .btn .icon-search {
  margin-right: 8px;
  font-size: 14px;
}

/* Autocomplete styling */
.section-slideshow .awesomplete ul {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(246, 187, 0, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-top: 5px;
}

.section-slideshow .awesomplete li {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(246, 187, 0, 0.1);
  transition: all 0.2s ease;
}

.section-slideshow .awesomplete li:hover,
.section-slideshow .awesomplete li[aria-selected="true"] {
  background: rgba(246, 187, 0, 0.1);
  color: var(--dark-color);
}

/* Filtros de Categoria */
.section-slideshow .mod-finder__category-filter {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-slideshow .category-toggle-buttons {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(246, 187, 0, 0.2);
  transition: all var(--transition-speed) ease;
}

.section-slideshow .category-toggle-buttons:hover {

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.section-slideshow .category-toggle-buttons .btn-check {
  display: none;
}

.section-slideshow .category-toggle-buttons .btn {
  border: none;
  background: transparent;
  color: var(--dark-color);
  padding: 10px 20px;
  margin: 0 2px;
  border-radius: 25px !important;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-slideshow .category-toggle-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(246, 187, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.section-slideshow .category-toggle-buttons .btn:hover::before {
  left: 100%;
}

.section-slideshow .category-toggle-buttons .btn:hover {
  color: var(--text-color);

  box-shadow: 0 4px 12px rgba(246, 187, 0, 0.3);
}

.section-slideshow .category-toggle-buttons .btn-check:checked+.btn {
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;

  box-shadow: 0 6px 15px rgba(246, 187, 0, 0.4);
}

.section-slideshow .category-toggle-buttons .btn-check:checked+.btn:hover {
  background: var(--primary-hover);

}

/* ===============================
   MOD-FINDER PADRÃO (GERAL)
   =============================== */

/* Estilos para mod-finder fora do slideshow */
.mod-finder:not(.section-slideshow .mod-finder) {
  margin: 20px 0;
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search.input-group {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  overflow: hidden;
  background: var(--white-color);
  border: 2px solid rgba(246, 187, 0, 0.2);
  transition: all var(--transition-speed) ease;
  max-width: 500px;
  margin: 0 auto;
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search.input-group:hover {

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search .awesomplete {
  flex: 1;
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search .form-control {
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-color);
  border-radius: 25px 0 0 25px;
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search .form-control:focus {
  box-shadow: none;
  outline: none;
  background: transparent;
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search .form-control::placeholder {
  color: rgba(45, 45, 45, 0.6);
  font-weight: 300;
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search .btn {
  border: none;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 12px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0 25px 25px 0;
  transition: all var(--transition-speed) ease;
}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search .btn:hover {
  background: var(--primary-hover);

}

.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__search .btn .icon-search {
  margin-right: 6px;
  font-size: 13px;
}

/* Autocomplete styling para mod-finder padrão */
.mod-finder:not(.section-slideshow .mod-finder) .awesomplete ul {
  background: var(--white-color);
  border: 1px solid rgba(246, 187, 0, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 3px;
}

.mod-finder:not(.section-slideshow .mod-finder) .awesomplete li {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(246, 187, 0, 0.1);
  transition: all 0.2s ease;
}

.mod-finder:not(.section-slideshow .mod-finder) .awesomplete li:hover,
.mod-finder:not(.section-slideshow .mod-finder) .awesomplete li[aria-selected="true"] {
  background: rgba(246, 187, 0, 0.1);
  color: var(--dark-color);
}

/* Filtros de Categoria para mod-finder padrão */
.mod-finder:not(.section-slideshow .mod-finder) .mod-finder__category-filter {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons {
  background: var(--white-color);
  border-radius: 20px;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(246, 187, 0, 0.15);
  transition: all var(--transition-speed) ease;
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons .btn-check {
  display: none;
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons .btn {
  border: none;
  background: transparent;
  color: var(--dark-color);
  padding: 8px 16px;
  margin: 0 1px;
  border-radius: 18px !important;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(246, 187, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons .btn:hover::before {
  left: 100%;
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons .btn:hover {
  color: var(--text-color);
  box-shadow: 0 2px 8px rgba(246, 187, 0, 0.25);
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons .btn-check:checked+.btn {
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(246, 187, 0, 0.35);
}

.mod-finder:not(.section-slideshow .mod-finder) .category-toggle-buttons .btn-check:checked+.btn:hover {
  background: var(--primary-hover);

}

/* Responsividade para mod-finder padrão */
/* fim da section slideshow para  */

/* ===============================
   COMPONENTE FINDER (COM-FINDER)
   =============================== */

/* Formulário de busca principal do componente */
.js-finder-searchform.modern-search-form {
  background: var(--white-color);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(246, 187, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.js-finder-searchform.modern-search-form:hover {

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Header da pesquisa */
.search-header .search-input-group .input-group {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(246, 187, 0, 0.2);
  transition: all var(--transition-speed) ease;
  width: auto;
  display: inline-flex;
}

.search-header .search-input-group .input-group:hover {
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.search-header .search-input-group .input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(246, 187, 0, 0.25);
}

/* Ícone de pesquisa */
.search-header .input-group-text {
  background: transparent;
  border: none;
  padding: 15px 20px;
  color: rgba(45, 45, 45, 0.6);
}

.search-header .input-group-text i {
  font-size: 16px;
  transition: color var(--transition-speed) ease;
}

.search-header .input-group:focus-within .input-group-text i {
  color: var(--text-color);
}

/* Campo de entrada */
.search-header .form-control {
  border: none;
  background: transparent;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-color);
  box-shadow: none;
}

.search-header .form-control:focus {
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.search-header .form-control::placeholder {
  color: rgba(45, 45, 45, 0.6);
  font-weight: 300;
}

/* Botão de busca */
.search-header .btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 15px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed) ease;
}

.search-header .btn-primary:hover {
  background: var(--primary-hover);

}

/* Botão de filtros avançados */
.search-header .btn-outline-secondary {
  border: 2px solid rgba(108, 117, 125, 0.2);
  color: #6c757d;
  padding: 12px 20px;
  font-weight: 500;
  border-radius: 20px;
  transition: all var(--transition-speed) ease;
}

.search-header .btn-outline-secondary:hover {
  background: #6c757d;
  border-color: #6c757d;
  color: white;

  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Autocomplete para componente */
.search-header .awesomplete ul {
  background: var(--white-color);
  border: 1px solid rgba(246, 187, 0, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-top: 5px;
  backdrop-filter: blur(10px);
}

.search-header .awesomplete li {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(246, 187, 0, 0.1);
  transition: all 0.2s ease;
  font-size: 15px;
}

.search-header .awesomplete li:hover,
.search-header .awesomplete li[aria-selected="true"] {
  background: rgba(246, 187, 0, 0.1);
  color: var(--dark-color);
}

/* Container de filtros avançados */


/* Área de filtros */




/* Branch de filtros */
.filter-branch {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-branch .control-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 1rem;
}

.filter-branch .control-label label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.filter-branch .form-select {
  border: 2px solid rgba(246, 187, 0, 0.2);
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 14px;
  background: var(--white-color);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.filter-branch .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(246, 187, 0, 0.25);
  outline: none;
}

.filter-branch .form-select:hover {
  border-color: var(--primary-color);
}

/* Dicas de pesquisa */
.com-finder__tips {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 2px solid #90caf9;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0;
}

.com-finder__tips h6 {
  color: #1565c0;
  font-weight: 600;
  margin-bottom: 1rem;
}

.com-finder__tips h6 p {
  margin: 0;
  font-size: 16px;
}

.com-finder__tips small {
  color: #1976d2;
  line-height: 1.6;
}

.com-finder__tips small p {
  margin-bottom: 0.5rem;
}

.com-finder__tips strong {
  background: rgba(21, 101, 192, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
  color: #0d47a1;
}

.header .navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 500;
  transition: color var(--transition-speed) ease;
  position: relative;
}

.header .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 4px;
  bottom: -4px;
  left: 50%;
  background-color: var(--primary-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.header .navbar-nav .nav-link:hover::before {
  width: 100%;
}

/* ===============================
   HIKASHOP - BOTÃO CONCLUIR PEDIDO
   =============================== */

/* Botão de Concluir Pedido */
.hikashop_cart_proceed_to_checkout.hikabtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 0.75rem;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(246, 187, 0, 0.3);
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  margin: 10px 0;
}

/* Efeito de brilho animado */
.hikashop_cart_proceed_to_checkout.hikabtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hikashop_cart_proceed_to_checkout.hikabtn:hover::before {
  left: 100%;
}

/* Estados do botão */
.hikashop_cart_proceed_to_checkout.hikabtn:hover {
  color: var(--white-color);
  text-decoration: none;

  box-shadow: 0 12px 35px rgba(246, 187, 0, 0.4);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #d4a000 100%);
}

.hikashop_cart_proceed_to_checkout.hikabtn:active {

  box-shadow: 0 6px 20px rgba(246, 187, 0, 0.4);
}

.hikashop_cart_proceed_to_checkout.hikabtn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 187, 0, 0.3);
}

/* Styling do span interno */
.hikashop_cart_proceed_to_checkout.hikabtn span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Adicionar ícone de carrinho */


/* Animação do ícone */
@keyframes cartBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-3px);
  }

  60% {
    transform: translateY(-1px);
  }
}

/* Estado desabilitado */
.hikashop_cart_proceed_to_checkout.hikabtn[disabled],
.hikashop_cart_proceed_to_checkout.hikabtn.disabled {
  background: #6c757d;
  color: #ffffff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.6;
}

.hikashop_cart_proceed_to_checkout.hikabtn[disabled]:hover,
.hikashop_cart_proceed_to_checkout.hikabtn.disabled:hover {
  background: #6c757d;
  transform: none;
  box-shadow: none;
}

/* Versão responsiva */
/* Variações de cor para diferentes contextos */
.hikashop_cart_proceed_to_checkout.hikabtn.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.hikashop_cart_proceed_to_checkout.hikabtn.success:hover {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.hikashop_cart_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.hikashop_cart_buttons .hikashop_cart_proceed_to_checkout.hikabtn {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

/* ===============================
   FIM DOS ESTILOS CUSTOMIZADOS
   =============================== */

/* ===============================
   HIKASHOP CHECKOUT - PÁGINA DE FINALIZAÇÃO
   =============================== */

/* Container principal do checkout */
#hikashop_checkout_form {

  margin: 0 auto;

  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

.hk-container-fluid {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

.hk-container-fluid>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}

.hikashop_checkout_page {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 20px 0;
}

/* Títulos principais */
.hikashop_checkout_login h1,
.hikashop_checkout_login h2 {
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.hikashop_checkout_login h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hikashop_checkout_login h2 {
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Seção de Login */
#hikashop_checkout_login_form {
  background: var(--white-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(246, 187, 0, 0.2);
  transition: all var(--transition-speed) ease;
}

#hikashop_checkout_login_form:hover {

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Campos de entrada */
.userdata .control-group {
  margin-bottom: 1.5rem;
}

.userdata .input-prepend.input-append {
  display: flex;
  align-items: stretch;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
  transition: all var(--transition-speed) ease;
}

.userdata .input-prepend.input-append:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(246, 187, 0, 0.25);
}

.userdata .add-on {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
}

.userdata .add-on i {
  font-size: 16px;
}

.userdata input[type="text"],
.userdata input[type="password"] {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 15px;
  background: transparent;
  outline: none;
}

.userdata .btn {
  background: #6c757d;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 0;
  transition: background-color var(--transition-speed);
}

.userdata .btn:hover {
  background: #5a6268;
}

/* Checkbox Remember Me */
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.checkbox label {
  font-weight: 500;
  color: var(--dark-color);
  cursor: pointer;
}

/* Botão de Login */
#form-login-submit .controls {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.hikabtn_checkout_login_form {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(246, 187, 0, 0.3);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Efeito de brilho animado */
.hikabtn_checkout_login_form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.hikabtn_checkout_login_form:hover::before {
  left: 100%;
}

/* Adicionar ícone de login */
.hikabtn_checkout_login_form::after {
  content: '\f2f6';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 18px;
  position: relative;
  z-index: 2;
  animation: loginPulse 2s infinite;
}

/* Estados do botão */
.hikabtn_checkout_login_form:hover {
  color: var(--white-color);

  box-shadow: 0 12px 35px rgba(246, 187, 0, 0.5);
  background: linear-gradient(135deg, var(--primary-hover), #d4a000);
}

.hikabtn_checkout_login_form:active {

  box-shadow: 0 6px 20px rgba(246, 187, 0, 0.4);
}

.hikabtn_checkout_login_form:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 187, 0, 0.3);
}

/* Animação do ícone */
@keyframes loginPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Estado de loading/processando */
.hikabtn_checkout_login_form.loading {
  pointer-events: none;
  opacity: 0.8;
}

.hikabtn_checkout_login_form.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--white-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Links de "Esqueceu senha/usuário" */
.hikashop_login_forgot_password_line a,
.hikashop_login_forgot_username_line a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.hikashop_login_forgot_password_line a:hover,
.hikashop_login_forgot_username_line a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Seção de Registro */
#hikashop_checkout_registration {
  background: var(--white-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(246, 187, 0, 0.2);
  transition: all var(--transition-speed) ease;
}

#hikashop_checkout_registration:hover {

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Formulário horizontal */
.hkform-horizontal .hkform-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.hkform-horizontal .hkcontrol-label {
  flex: 0 0 30%;
  font-weight: 600;
  color: var(--dark-color);
  padding-top: 8px;
  font-size: 14px;
}

.hkform-horizontal .hkc-sm-8 {
  flex: 1;
}

/* Campos de entrada do registro */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 15px;
  transition: all var(--transition-speed) ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(246, 187, 0, 0.25);
  outline: none;
}

/* Select/Dropdown */
.form-select,
.hikashop_field_dropdown {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 15px;
  transition: all var(--transition-speed) ease;
  width: 100%;
  background: var(--white-color);
}

.form-select:focus,
.hikashop_field_dropdown:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(246, 187, 0, 0.25);
  outline: none;
}

/* Campos obrigatórios */
.hikashop_field_required_label {
  color: #dc3545;
  font-weight: bold;
  margin-left: 3px;
}

/* Grupo de senha com mostrar/ocultar */
.password-group {
  position: relative;
}

.input-group {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  flex-wrap: nowrap;
}

.input-password-toggle {
  background: #e9ecef;
  border: 2px solid #e9ecef;
  border-left: none;
  color: #6c757d;
  padding: 10px 15px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.input-password-toggle:hover {
  background: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}

/* Medidor de força da senha */
meter {
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
}

meter::-webkit-meter-bar {
  background: #e9ecef;
  border-radius: 4px;
}

meter::-webkit-meter-optimum-value {
  background: #28a745;
  border-radius: 4px;
}

meter::-webkit-meter-suboptimum-value {
  background: var(--primary-color);
  border-radius: 4px;
}

meter::-webkit-meter-even-less-good-value {
  background: #dc3545;
  border-radius: 4px;
}

/* Legenda de endereço */
legend {
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  width: 100%;
}

/* Botão de Registro */
.hikabtn_checkout_login_register {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Efeito de brilho animado */
.hikabtn_checkout_login_register::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.hikabtn_checkout_login_register:hover::before {
  left: 100%;
}

/* Adicionar ícone de registro */
.hikabtn_checkout_login_register::after {
  content: '\f234';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 18px;
  position: relative;
  z-index: 2;
  animation: registerPulse 2s infinite;
}

/* Estados do botão */
.hikabtn_checkout_login_register:hover {
  color: var(--white-color);

  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5);
  background: linear-gradient(135deg, #218838, #1e7e34);
}

.hikabtn_checkout_login_register:active {

  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.hikabtn_checkout_login_register:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

/* Animação do ícone */
@keyframes registerPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Estado de loading/processando */
.hikabtn_checkout_login_register.loading {
  pointer-events: none;
  opacity: 0.8;
}

.hikabtn_checkout_login_register.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--white-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Informações de campos obrigatórios */
.hikashop_registration_required_info_line {
  background: rgba(246, 187, 0, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary-color);
  font-size: 14px;
  color: var(--dark-color);
  font-weight: 500;
}

/* Métodos de Pagamento */
.hikashop_payment_methods_table {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.hikashop_payment_methods_table td {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  transition: background-color var(--transition-speed);
}

.hikashop_payment_methods_table td:hover {
  background: rgba(246, 187, 0, 0.05);
}

.hikashop_checkout_payment_radio {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
  margin-right: 1rem;
}

.hikashop_checkout_payment_name {
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-color);
  margin-left: 0.5rem;
}

.hikashop_checkout_payment_cost {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 1rem;
}

.hikashop_checkout_payment_description {
  margin-top: 0.5rem;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
}

.hikashop_checkout_payment_images img {
  max-height: 30px;
  margin-left: 1rem;
}

/* Campo de cupom */
.hikashop_checkout_coupon .input-group {
  max-width: 400px;
  margin: 1rem auto;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hikashop_checkout_coupon_field {
  border: 2px solid #e9ecef;
  border-right: none;
  border-radius: 0;
  padding: 12px 20px;
  max-width: 100% !important;
}

.hikabtn_checkout_coupon_add {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  border-radius: 0;
  padding: 12px 20px;
  transition: all var(--transition-speed) ease;
}

.hikabtn_checkout_coupon_add:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* Tabela do carrinho */
.hikashop_checkout_cart .table {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.hikashop_checkout_cart .table th {
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  padding: 1rem;
  border: none;
}

/* ==============================================================================
   HIKASHOP MODERN CHECKOUT REDESIGN (Bootstrap 5 & Custom UI)
   ============================================================================== */
#hikashop_checkout {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  font-family: 'Poppins', Arial, sans-serif;
}

/* Checkout Page Headers */
.hikashop_checkout_page h1,
.hikashop_checkout_login h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1e24;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Container Grid */
#hikashop_checkout .hk-container-fluid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

#hikashop_checkout .hkc-lg-4,
#hikashop_checkout .hkc-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

@media (min-width: 992px) {
  #hikashop_checkout .hkc-lg-4 {
    flex: 0 0 40%;
    max-width: 40%;
  }
  #hikashop_checkout .hkc-lg-8 {
    flex: 0 0 60%;
    max-width: 60%;
  }
}

/* Cards de Login e Registro */
#hikashop_checkout_login_form,
#hikashop_checkout_registration,
.hikashop_checkout_payment,
.hikashop_checkout_cart,
.hikashop_checkout_coupon,
.hikashop_checkout_shipping,
.hikashop_checkout_billing_address_block {
  background: #ffffff;
  border: 1px solid #eef0f5;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

#hikashop_checkout_login_form:hover,
#hikashop_checkout_registration:hover,
.hikashop_checkout_payment:hover,
.hikashop_checkout_cart:hover {
  border-color: #dfe3eb;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Títulos dos Cards */
#hikashop_checkout_login_form h2,
#hikashop_checkout_registration h2,
.hikashop_checkout_payment legend,
.hika_registration_address legend {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e242e;
  border-bottom: 2px solid #f2f4f8;
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
}

/* Form Controls & Inputs */
#hikashop_checkout .form-control,
#hikashop_checkout input[type="text"],
#hikashop_checkout input[type="password"],
#hikashop_checkout input[type="email"],
#hikashop_checkout select.form-select,
#hikashop_checkout .hikashop_field_dropdown {
  height: 48px;
  border-radius: 10px;
  border: 1.5px solid #dfe3e9;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  color: #2b303a;
  background-color: #fbfbfc;
  transition: all 0.25s ease;
  width: 100%;
}

#hikashop_checkout .form-control:focus,
#hikashop_checkout input[type="text"]:focus,
#hikashop_checkout input[type="password"]:focus,
#hikashop_checkout input[type="email"]:focus,
#hikashop_checkout select:focus {
  border-color: var(--primary-color, #f6bb00);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(246, 187, 0, 0.15);
  outline: none;
}

/* Form Groups & Labels */
#hikashop_checkout .hkform-group,
#hikashop_checkout .control-group {
  margin-bottom: 1.25rem;
}

#hikashop_checkout .hkcontrol-label,
#hikashop_checkout .control-label,
#hikashop_checkout label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5260;
  margin-bottom: 0.4rem;
  display: inline-block;
}

#hikashop_checkout .hikashop_field_required_label {
  color: #dc3545;
  margin-left: 3px;
  font-weight: bold;
}

/* Payment Methods Table / Cards */
.hikashop_payment_methods_table {
  border: none !important;
  margin-bottom: 0 !important;
}

.hikashop_payment_methods_table tr {
  display: block;
  margin-bottom: 1rem;
  background: #fbfbfc;
  border: 2px solid #eef0f5 !important;
  border-radius: 12px;
  transition: all 0.25s ease;
  overflow: hidden;
}

.hikashop_payment_methods_table tr:has(input:checked),
.hikashop_payment_methods_table tr.hikashop_payment_selected,
.payment-card-option.active-payment-card {
  border-color: var(--primary-color, #f6bb00) !important;
  background: #fffdf5 !important;
  box-shadow: 0 4px 15px rgba(246, 187, 0, 0.12);
}

.payment-card-option {
  border: 2px solid #eef0f5;
  transition: all 0.25s ease;
}

.payment-card-option:hover {
  border-color: var(--primary-color, #f6bb00);
}

.hikashop_payment_methods_table td {
  display: block;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  position: relative;
}

.hikashop_payment_methods_table .hikashop_checkout_payment_radio {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color, #f6bb00);
  margin-right: 0.75rem;
  vertical-align: middle;
  cursor: pointer;
}

.hikashop_payment_methods_table .hikashop_checkout_payment_name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e242e;
  vertical-align: middle;
}

.hikashop_payment_methods_table .hikashop_checkout_payment_cost {
  float: right;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 20px;
}

.hikashop_payment_methods_table .hikashop_checkout_payment_description {
  margin-top: 0.6rem;
  padding-left: 2rem;
  font-size: 0.88rem;
  color: #6c757d;
  line-height: 1.5;
}

.hikashop_payment_methods_table .hikashop_checkout_payment_images {
  margin-top: 0.5rem;
  padding-left: 2rem;
  display: block;
}

.hikashop_payment_methods_table .hikashop_checkout_payment_images img {
  max-height: 32px;
  width: auto;
  border-radius: 4px;
}

/* Cart Table Overhaul */
.hikashop_checkout_cart .table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.hikashop_checkout_cart .table thead th {
  background: #f8f9fc;
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #eef0f5;
  padding: 1rem 0.75rem;
}

.hikashop_checkout_cart .table tbody td {
  padding: 1.25rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f3f7;
}

.hikashop_cart_product_image_thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eef0f5;
}

.hikashop_cart_product_name a {
  font-size: 1rem;
  font-weight: 600;
  color: #1e242e;
  text-decoration: none;
  transition: color 0.2s;
}

.hikashop_cart_product_name a:hover {
  color: var(--primary-color, #f6bb00);
}

.hikashop_cart_product_quantity_value {
  white-space: nowrap;
}

.hikashop_checkout_cart .hikashop_product_quantity_field {
  width: 55px;
  height: 38px;
  text-align: center;
  border: 1.5px solid #dfe3e9;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
  margin-right: 6px;
}

.hikashop_cart_product_quantity_refresh,
.hikashop_cart_product_quantity_delete {
  display: inline-block;
  vertical-align: middle;
}

.hikashop_cart_product_quantity_refresh a,
.hikashop_cart_product_quantity_delete a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  text-decoration: none;
}

.hikashop_cart_product_quantity_refresh a {
  background: #eef2f7;
  color: #4a5260;
}

.hikashop_cart_product_quantity_refresh a:hover {
  background: #dfe5ef;
  color: #1e242e;
  transform: rotate(90deg);
}

.hikashop_cart_product_quantity_delete a {
  background: #fee2e2;
  color: #dc2626;
}

.hikashop_cart_product_quantity_delete a:hover {
  background: #fca5a5;
  color: #991b1b;
  transform: scale(1.08);
}

.hikashop_cart_total_row td {
  background: #fafbfc;
  font-size: 1.1rem;
  padding: 1.25rem 0.75rem;
}

.hikashop_checkout_cart_final_total {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e242e;
}

/* Status do checkout */
.hikashop_checkout_status {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border: 1px solid #eef0f5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.label-info {
  background: var(--primary-color, #f6bb00);
  color: #1a1e24;
  padding: 6px 12px;
  border-radius: 15px;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Botões Finais de Conclusão */
.hikashop_checkout_buttons {
  margin: 2rem 0;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.hikabtn_checkout_next {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.hikabtn_checkout_next:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #059669, #047857);
}

.hikashop_checkout_loading_elem.is-empty,
.hikashop_checkout_loading_spinner.is-empty {
  display: none;
}
.hikashop_checkout_billing_address_block,
.hikashop_checkout_shipping_address_block {
  background: var(--white-color);
  border: 2px solid var(--light-border);
  border-radius: 15px;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-speed) ease;
  position: relative;
}

.hika_address_field:hover,
.hikashop_checkout_billing_address_block:hover,
.hikashop_checkout_shipping_address_block:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(246, 187, 0, 0.15);

}

/* Legend do fieldset */
.hika_address_field legend,
.hikashop_checkout_billing_address_block legend,
.hikashop_checkout_shipping_address_block legend {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--white-color);
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(246, 187, 0, 0.3);
  position: relative;
}

/* Container do endereço */
.hika_address_element {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(246, 187, 0, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(246, 187, 0, 0.1);
}

/* Radio button de seleção */
.hika_address_element input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  accent-color: var(--primary-color);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 5px;
}

/* Exibição do endereço */
.hika_address_display {
  flex: 1;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark-color);
  background: var(--white-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--light-border);
  margin-right: 1rem;
}

/* Ações de edição */
.hika_edit {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  flex-shrink: 0;
}

.hika_edit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

/* Link de alterar */
.hika_edit a[title="Alterar"] {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: var(--white-color);
  border: none;
}

.hika_edit a[title="Alterar"]:hover {
  background: linear-gradient(135deg, #138496, #117a8b);

  box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

/* Link de excluir */
.hika_edit a[title="Excluir"] {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: var(--white-color);
  border: none;
}

.hika_edit a[title="Excluir"]:hover {
  background: linear-gradient(135deg, #c82333, #bd2130);

  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Botão "Novo" endereço */
.hikashop_checkout_address_new_button,
.hikabtn-success {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: var(--white-color) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 15px 30px !important;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-speed) ease !important;
  cursor: pointer !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Efeito shimmer */
.hikashop_checkout_address_new_button::before,
.hikabtn-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.hikashop_checkout_address_new_button:hover::before,
.hikabtn-success:hover::before {
  left: 100%;
}

/* Estados do botão */
.hikashop_checkout_address_new_button:hover,
.hikabtn-success:hover {
  background: linear-gradient(135deg, #218838, #1e7e34) !important;

  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5) !important;
  color: var(--white-color) !important;
}

.hikashop_checkout_address_new_button:active,
.hikabtn-success:active {

  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

.hikashop_checkout_address_new_button:focus,
.hikabtn-success:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3) !important;
}

/* Ícones nos botões */
.hikashop_checkout_address_new_button i,
.hikabtn-success i {
  font-size: 16px;
  position: relative;
  z-index: 2;
}

/* ===============================================
   SISTEMA DE PAGAMENTO PAYPAL
   =============================================== */

/* Container principal do PayPal */
.hikashop_paypalcheckout_end {
  background: var(--white-color);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--light-border);
}

/* Mensagem de seleção de pagamento */
#paypal-select-message {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--white-color) !important;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 2rem 0 !important;
  box-shadow: 0 8px 25px rgba(246, 187, 0, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Container dos botões PayPal */
#paypal-button-container {
  text-align: center !important;
  max-width: 100% !important;
  margin: 2rem 0 !important;
  padding: 1rem;
  background: rgba(246, 187, 0, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(246, 187, 0, 0.1);
}

/* Container do formulário de cartão */
.card_container {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
  color: var(--dark-color) !important;
  padding: 2.5rem !important;
  border: 2px solid var(--light-border) !important;
  border-radius: 20px !important;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.card_container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #28a745, #17a2b8, #dc3545);
  border-radius: 20px 20px 0 0;
}

/* Títulos dos cartões */
.card_title {
  color: var(--text-color) !important;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  margin: 0 0 2rem 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding-bottom: 1rem !important;
  border-bottom: 3px solid var(--primary-color) !important;
  position: relative !important;
}

.card_title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-hover);
  border-radius: 2px;
}

/* Labels do formulário */
.card_container label {
  display: block !important;
  margin: 1.5rem 0 0.5rem 0 !important;
  padding: 0 0 0 5px !important;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--dark-color) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Campos de entrada */
.card_container input.form-control {
  background: var(--white-color) !important;
  border: 2px solid var(--light-border) !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--dark-color) !important;
  transition: all var(--transition-speed) ease !important;
  width: 100% !important;
  margin-top: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.card_container input.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(246, 187, 0, 0.2) !important;
  outline: none !important;

}

/* Campos do PayPal (cartão, CVV, expiração) */
#card-number,
#expiration-date,
#cvv {
  height: 50px !important;
  width: 100% !important;
  border: 2px solid var(--light-border) !important;
  border-radius: 12px !important;
  background-color: var(--white-color) !important;
  margin-top: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all var(--transition-speed) ease !important;
  overflow: hidden !important;
}

#card-number:hover,
#expiration-date:hover,
#cvv:hover {
  border-color: var(--primary-color) !important;

  box-shadow: 0 5px 20px rgba(246, 187, 0, 0.15) !important;
}

/* Ajustes de layout */
.hkc-md-6.expiration_date_position_div {
  padding-left: 0 !important;
  padding-right: 10px !important;
}

.hkc-md-6.cvv_position_div {
  padding-right: 0 !important;
  padding-left: 10px !important;
}

/* Botão "Pague agora" */
.paypal_pay_button {
  width: 100% !important;
  margin: 2rem 0 1rem 0 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: var(--white-color) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 18px 40px !important;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-speed) ease !important;
  cursor: pointer !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.paypal_pay_button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.paypal_pay_button:hover::before {
  left: 100%;
}

.paypal_pay_button:hover {
  background: linear-gradient(135deg, #218838, #1e7e34) !important;

  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6) !important;
}

.paypal_pay_button:active {}

.paypal_pay_button:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.paypal_pay_button i {
  font-size: 20px !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Botão de cancelar */
.paypal_cancel_button_div {
  margin: 1rem 0 !important;
}

.paypal_cancel_button {
  width: 100% !important;
  margin: 0 !important;
  font-size: 16px !important;
  background: linear-gradient(135deg, #dc3545, #c82333) !important;
  color: var(--white-color) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 15px 30px !important;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all var(--transition-speed) ease !important;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  position: relative !important;
  overflow: hidden !important;
}

.paypal_cancel_button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.paypal_cancel_button:hover::before {
  left: 100%;
}

.paypal_cancel_button:hover {
  background: linear-gradient(135deg, #c82333, #bd2130) !important;

  box-shadow: 0 12px 35px rgba(220, 53, 69, 0.5) !important;
  color: var(--white-color) !important;
}

.paypal_cancel_button i {
  font-size: 18px !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Mensagens de erro */
#paypal-errors {
  font-size: 16px !important;
  color: #dc3545 !important;
  font-weight: 600 !important;
  background: rgba(220, 53, 69, 0.1) !important;
  border: 2px solid rgba(220, 53, 69, 0.2) !important;
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  margin: 1rem 0 !important;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
}

#paypal-errors:not(.is-empty) {
  display: block !important;
  animation: errorFadeIn 0.5s ease-in-out !important;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hikashop_product_name {
  font-size: 1.2rem;
  font-weight: 500;
}

.hikashop_product_manufacturer {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* ===============================================
   WRAPPER DE BOTÕES ADD TO CART
   =============================================== */

/* Wrapper para controlar largura dos botões */
.hikashop_cart_buttons_wrapper {
  display: inline-flex !important;
  flex-direction: column;
  gap: 0.5rem;
  width: auto !important;
  max-width: 250px;
  margin: 1rem auto !important;
  text-align: center;
}

/* Garantir que botões dentro do wrapper não ocupem 100% */
.hikashop_cart_buttons_wrapper .hikabtn,
.hikashop_cart_buttons_wrapper a,
.hikashop_cart_buttons_wrapper button {
  width: 100% !important;
  max-width: 250px !important;
  text-align: center;
  justify-content: center;
}

/* Botões de adicionar ao carrinho - largura controlada */
.hikabtn.hikacart,
a.hikabtn.hikacart,
button.hikabtn.hikacart {
  display: inline-flex !important;
  width: auto !important;
  max-width: 250px !important;
  min-width: 180px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  margin: 0.5rem auto !important;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
  color: var(--white-color) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(246, 187, 0, 0.3) !important;
  transition: all var(--transition-speed) ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.hikabtn.hikacart::before,
a.hikabtn.hikacart::before,
button.hikabtn.hikacart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.hikabtn.hikacart:hover::before,
a.hikabtn.hikacart:hover::before,
button.hikabtn.hikacart:hover::before {
  left: 100%;
}

.hikabtn.hikacart:hover,
a.hikabtn.hikacart:hover,
button.hikabtn.hikacart:hover {
  background: linear-gradient(135deg, #d4a000, #b8890d) !important;
  box-shadow: 0 8px 25px rgba(246, 187, 0, 0.5) !important;
  color: var(--white-color) !important;
  text-decoration: none !important;
}

/* Ajustar ícones e texto dentro do botão */
.hikabtn.hikacart span,
.hikabtn.hikawishlist span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  position: relative !important;
  z-index: 2 !important;
}

.hikabtn.hikacart span i,
.hikabtn.hikawishlist span i {
  font-size: 1.2rem !important;
  margin: 0 !important;
}

/* Botões de wishlist - mesma lógica */
.hikabtn.hikawishlist,
a.hikabtn.hikawishlist,
button.hikabtn.hikawishlist {
  display: inline-flex !important;
  width: auto !important;
  max-width: 250px !important;
  min-width: 180px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  margin: 0.5rem auto !important;
  background: linear-gradient(135deg, #dc3545, #c82333) !important;
  color: var(--white-color) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
  transition: all var(--transition-speed) ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.hikabtn.hikawishlist::before,
a.hikabtn.hikawishlist::before,
button.hikabtn.hikawishlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.hikabtn.hikawishlist:hover::before,
a.hikabtn.hikawishlist:hover::before,
button.hikabtn.hikawishlist:hover::before {
  left: 100%;
}

.hikabtn.hikawishlist:hover,
a.hikabtn.hikawishlist:hover,
button.hikabtn.hikawishlist:hover {
  background: linear-gradient(135deg, #a71d2a, #8b1a23) !important;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.5) !important;
  color: var(--white-color) !important;
  text-decoration: none !important;
}

/* Containers de módulos HikaShop - forçar centralização e largura auto */
[id*="hikashop_category_information_module"] .hikashop_cart_buttons_wrapper,
[id*="hikashop_module"] .hikashop_cart_buttons_wrapper,
.hikashop_module .hikashop_cart_buttons_wrapper {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

[id*="hikashop_category_information_module"] .hikabtn.hikacart,
[id*="hikashop_category_information_module"] .hikabtn.hikawishlist,
[id*="hikashop_module"] .hikabtn.hikacart,
[id*="hikashop_module"] .hikabtn.hikawishlist,
.hikashop_module .hikabtn.hikacart,
.hikashop_module .hikabtn.hikawishlist {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 250px !important;
}

/* Container de produto - centralizar botões */
.hikashop_product_listing_image+div,
.hikashop_product_image+div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsivo */
/* ===============================================
   OCULTAR ELEMENTOS VAZIOS
   =============================================== */

/* Ocultar elementos vazios com mb-3 */
.mb-3:empty,
.hikashop_product_price_with_options_main:empty,
.hikashop_product_quantity_main:empty,
.hikashop_product_contact_main:empty,
.hikashop_product_vote_mini:empty,
[class*="hikashop_"]:empty.mb-3 {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ocultar elementos com classe is-empty */
.is-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================
   LOGIN FORM STYLES
   ============================================ */

.com-users-login {
  max-width: 480px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.com-users-login__form {
  background: var(--white-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  margin-bottom: 1.5rem;
}

.com-users-login__form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Input Groups */
.com-users-login__input {
  margin-bottom: 1.5rem;
}

.com-users-login__input .control-label {
  margin-bottom: 0.5rem;
}

.com-users-login__input label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c3e50;
  display: block;
  margin-bottom: 0.5rem;
}

.com-users-login__input label .star {
  color: var(--danger-color, #dc3545);
  font-weight: bold;
}

/* Input Fields */
.com-users-login__input .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.com-users-login__input .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 52, 152, 219), 0.1);
  background-color: #fff;
}

.com-users-login__input .form-control:hover {
  border-color: #c0c0c0;
}

/* Password Input Group */
.password-group .input-group {
  position: relative;
  display: flex;
}

.password-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-right: 3rem;
}

.password-group .input-password-toggle {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
  border: 2px solid #e0e0e0;
  border-left: none;
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.password-group .input-password-toggle:hover {
  background: #e9ecef;
}

.password-group .form-control:focus+.input-password-toggle {
  border-color: var(--primary-color);
}

/* Validation States */
.com-users-login__input .has-danger .form-control,
.com-users-login__input .form-control.invalid,
.com-users-login__input .form-control-danger {
  border-color: var(--danger-color, #dc3545);
  background-color: #fff5f5;
}

.com-users-login__input .has-danger .form-control:focus,
.com-users-login__input .form-control.invalid:focus {
  border-color: var(--danger-color, #dc3545);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.com-users-login__input label.invalid {
  color: var(--danger-color, #dc3545);
}

.form-control-feedback {
  display: block;
  font-size: 0.875rem;
  color: var(--danger-color, #dc3545);
  margin-top: 0.25rem;
  font-weight: normal;
}

/* Remember Me Checkbox */
.com-users-login__remember {
  margin: 1.5rem 0;
}

.com-users-login__remember .form-check {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.com-users-login__remember .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.com-users-login__remember .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.com-users-login__remember .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 52, 152, 219), 0.15);
  outline: none;
}

.com-users-login__remember .form-check-label {
  font-size: 0.95rem;
  color: #495057;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

/* Submit Button */
.com-users-login__submit {
  margin-top: 2rem;
}

.com-users-login__submit .btn-primary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb, 52, 152, 219), 0.3);
  cursor: pointer;
}

.com-users-login__submit .btn-primary:hover {

  box-shadow: 0 6px 20px rgba(var(--primary-rgb, 52, 152, 219), 0.4);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
}

.com-users-login__submit .btn-primary:active {

  box-shadow: 0 2px 8px rgba(var(--primary-rgb, 52, 152, 219), 0.3);
}

.com-users-login__submit .btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 52, 152, 219), 0.2);
}

/* Options Links */
.com-users-login__options {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 1.5rem;
}

.com-users-login__options .list-group-item {
  background: var(--white-color);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
}

.com-users-login__options .list-group-item:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.com-users-login__options .list-group-item:active {
  transform: translateX(3px);
}

/* Loading state */
.com-users-login__form.loading {
  opacity: 0.6;
  pointer-events: none;
}

.com-users-login__form.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ============================================
   PASSWORD RESET & REMIND FORMS
   ============================================ */

.com-users-reset,
.com-users-remind {
  max-width: 520px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.com-users-reset__form,
.com-users-remind__form {
  background: var(--white-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.com-users-reset__form fieldset,
.com-users-remind__form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.com-users-reset__form legend,
.com-users-remind__form legend {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  width: 100%;
}

.com-users-reset__form .control-group,
.com-users-remind__form .control-group {
  margin-bottom: 1.5rem;
}

.com-users-reset__submit,
.com-users-remind__submit {
  margin-top: 2rem;
}

.com-users-reset__submit .btn-primary,
.com-users-remind__submit .btn-primary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb, 52, 152, 219), 0.3);
  cursor: pointer;
}

.com-users-reset__submit .btn-primary:hover,
.com-users-remind__submit .btn-primary:hover {

  box-shadow: 0 6px 20px rgba(var(--primary-rgb, 52, 152, 219), 0.4);
}

/* ============================================
   USER REGISTRATION FORM
   ============================================ */

.com-users-registration {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.com-users-registration__form {
  background: var(--white-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.com-users-registration__form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2rem 0;
  position: relative;
}

.com-users-registration__form fieldset:last-of-type {
  margin-bottom: 1.5rem;
}

.com-users-registration__form legend {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e8e8e8;
  width: 100%;
}

/* Field Spacer */
.field-spacer .spacer {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

.field-spacer .spacer .text {
  background: #fff3cd;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
  font-size: 0.9rem;
  border: 1px solid #ffc107;
}

.field-spacer .spacer .text .red {
  color: var(--danger-color, #dc3545);
  font-weight: bold;
  margin-right: 0.25rem;
}

/* Form Groups */
.com-users-registration__form .control-group {
  margin-bottom: 1.5rem;
}

.com-users-registration__form .control-label {
  margin-bottom: 0.5rem;
}

.com-users-registration__form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c3e50;
  display: block;
  margin-bottom: 0.5rem;
}

.com-users-registration__form label .star {
  color: var(--danger-color, #dc3545);
  font-weight: bold;
}

/* Input Fields */
.com-users-registration__form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.com-users-registration__form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 52, 152, 219), 0.1);
  background-color: #fff;
}

.com-users-registration__form .form-control:hover {
  border-color: #c0c0c0;
}

/* Select Dropdown */
.com-users-registration__form .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  appearance: none;
}

.com-users-registration__form .form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 52, 152, 219), 0.1);
}

/* Password Strength Meter */
.com-users-registration__form meter {
  width: 100%;
  height: 8px;
  margin-top: 0.5rem;
  border-radius: 4px;
  overflow: hidden;
  background: #e0e0e0;
  border: none;
}

.com-users-registration__form meter::-webkit-meter-bar {
  background: #e0e0e0;
  border-radius: 4px;
}

.com-users-registration__form meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, #28a745, #5cb85c);
  border-radius: 4px;
}

.com-users-registration__form meter::-webkit-meter-suboptimum-value {
  background: linear-gradient(90deg, #ffc107, #ffb000);
  border-radius: 4px;
}

.com-users-registration__form meter::-webkit-meter-even-less-good-value {
  background: linear-gradient(90deg, #dc3545, #c82333);
  border-radius: 4px;
}

/* Password rules hint */
#jform\[password1\]-rules {
  display: block;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.875rem;
  border-left: 3px solid #6c757d;
}

#jform\[password1\]-rules strong {
  color: #495057;
  font-weight: 600;
}

/* Password strength feedback */
.com-users-registration__form .password-group+div {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Submit Button */
.com-users-registration__submit {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.com-users-registration__submit .btn-primary {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb, 52, 152, 219), 0.3);
  cursor: pointer;
}

.com-users-registration__submit .btn-primary:hover {

  box-shadow: 0 6px 20px rgba(var(--primary-rgb, 52, 152, 219), 0.4);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
}

.com-users-registration__submit .btn-primary:active {

  box-shadow: 0 2px 8px rgba(var(--primary-rgb, 52, 152, 219), 0.3);
}

/* Responsive adjustments moved to responsive.css */


/* ==========================================================================
   HIKASHOP CUSTOMER PANEL (PAINEL DO CLIENTE) - MODERN REDESIGN
   ========================================================================== */

:root {
  --hk-gold: #f6bb00;
  --hk-gold-hover: #e5ad00;
  --hk-gold-light: rgba(246, 187, 0, 0.12);
  --hk-gold-glow: rgba(246, 187, 0, 0.25);
  --hk-card-bg: #ffffff;
  --hk-card-border: rgba(226, 232, 240, 0.9);
  --hk-card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --hk-card-hover-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.09), 0 6px 14px -2px rgba(15, 23, 42, 0.05);
  --hk-radius-lg: 16px;
  --hk-radius-md: 12px;
  --hk-radius-sm: 8px;
  --hk-text-dark: #0f172a;
  --hk-text-muted: #64748b;
  --hk-text-subtle: #94a3b8;
}

/* Desativa os pseudo-elementos clearfix legados que quebram o flexbox moderno */
#hikashop_dashboard.hikashop_dashboard::before,
#hikashop_dashboard.hikashop_dashboard::after,
.hk-card-default.hk-card-order .hk-row-fluid::before,
.hk-card-default.hk-card-order .hk-row-fluid::after {
  display: none !important;
  content: none !important;
  clear: none !important;
}

/* --- Container & Layout --- */
.hikashop_cpanel_main_interface {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
}

.hikashop_cpanel_main_interface .hikashop_header_title {
  margin-bottom: 2rem;
  border-bottom: none;
}

.hikashop_cpanel_main_interface .hikashop_header_title h1 {
  font-family: 'Barlow Semi Condensed', 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--hk-text-dark);
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin: 0;
}

.hikashop_cpanel_main_interface .hikashop_header_title h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--hk-gold) 0%, transparent 100%);
  border-radius: 4px;
}

/* Dashboard Row: Flexbox de 2 Colunas */
#hikashop_dashboard.hikashop_dashboard {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 28px !important;
  margin: 0 !important;
}

#hikashop_dashboard .hika_cpanel_side_bar {
  flex: 0 0 260px !important;
  width: 260px !important;
  max-width: 260px !important;
  float: none !important;
  padding: 0 !important;
}

#hikashop_dashboard .hika_cpanel_main_data {
  flex: 1 1 0% !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  min-width: 0 !important;
  padding: 0 !important;
}

@media (max-width: 991px) {
  #hikashop_dashboard.hikashop_dashboard {
    flex-direction: column !important;
    gap: 24px !important;
  }
  #hikashop_dashboard .hika_cpanel_side_bar {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Sidebar Navigation Cards --- */
.hika_cpanel_side_bar .hika_cpanel_icons {
  background: var(--hk-card-bg);
  border: 1px solid var(--hk-card-border);
  border-radius: var(--hk-radius-lg);
  padding: 12px;
  box-shadow: var(--hk-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hika_cpanel_side_bar .hika_cpanel_icons > a {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 16px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: var(--hk-radius-md) !important;
  color: #334155 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 !important;
}

.hika_cpanel_side_bar .hika_cpanel_icons > a:hover,
.hika_cpanel_side_bar .hika_cpanel_icons > a:focus {
  background: var(--hk-gold-light) !important;
  border-color: rgba(246, 187, 0, 0.35) !important;
  color: var(--hk-text-dark) !important;
  transform: translateX(4px);
}

.hika_cpanel_side_bar .hika_cpanel_icons .hk-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  flex-basis: 40px !important;
  background: #f8fafc;
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem !important;
  color: #d97706 !important;
  transition: all 0.25s ease;
  line-height: 1;
}

.hika_cpanel_side_bar .hika_cpanel_icons > a:hover .hk-icon {
  background: var(--hk-gold) !important;
  color: var(--hk-text-dark) !important;
  box-shadow: 0 4px 12px rgba(246, 187, 0, 0.3);
  transform: scale(1.06);
}

.hika_cpanel_side_bar .hika_cpanel_icons .hikashop_cpanel_button_text {
  flex-grow: 1;
  text-align: left !important;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.hika_cpanel_side_bar .hika_cpanel_icons .hikashop_cpanel_data {
  background: var(--hk-text-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
}

/* --- Section Header in Main Data --- */
.hika_cpanel_main_data .hika_cpanel_main_top {
  margin-bottom: 1.5rem;
}

.hika_cpanel_main_data .hika_cpanel_main_data_title {
  font-family: 'Barlow Semi Condensed', 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--hk-text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border-left: 4px solid var(--hk-gold);
  padding-left: 14px;
}

/* --- Empty Orders State --- */
.hika_no_orders.hk-well {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 2px dashed #cbd5e1 !important;
  border-radius: var(--hk-radius-lg) !important;
  padding: 3.5rem 2rem !important;
  text-align: center !important;
  box-shadow: none !important;
}

.hika_no_orders p {
  color: var(--hk-text-muted) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  font-style: normal !important;
  margin: 0 !important;
}

.hika_no_orders p::before {
  content: '\f290';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'FontAwesome';
  font-weight: 900;
  display: block;
  font-size: 2.8rem;
  color: var(--hk-text-subtle);
  margin-bottom: 0.75rem;
}

/* --- Order Cards (hk-card-order) --- */
.hk-card-default.hk-card-order {
  background: var(--hk-card-bg) !important;
  border: 1px solid var(--hk-card-border) !important;
  border-radius: var(--hk-radius-lg) !important;
  overflow: hidden !important;
  margin-bottom: 1.75rem !important;
  box-shadow: var(--hk-card-shadow) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease !important;
}

.hk-card-default.hk-card-order:hover {
  transform: translateY(-3px);
  box-shadow: var(--hk-card-hover-shadow) !important;
  border-color: rgba(246, 187, 0, 0.45) !important;
}

/* Order Header (Top Bar with Date and Price Badge) */
.hk-card-default.hk-card-order .hk-card-header {
  background: #f8fafc !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 14px 22px !important;
  transition: background-color 0.2s ease;
}

.hk-card-default.hk-card-order .hk-card-header:hover {
  background: #f1f5f9 !important;
}

.hk-card-default.hk-card-order .hk-card-header a {
  display: flex !important;
  width: 100% !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-decoration: none !important;
  color: inherit !important;
  flex-wrap: wrap;
  gap: 12px;
}

.hk-card-default.hk-card-order .hk-card-header .hika_cpanel_date {
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--hk-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  float: none !important;
  width: auto !important;
}

.hk-card-default.hk-card-order .hk-card-header .hika_cpanel_date i {
  color: #d97706;
  font-size: 0.95rem;
}

.hk-card-default.hk-card-order .hk-card-header .hika_cpanel_price {
  order: 2 !important;
  margin-left: auto !important;
  text-align: right;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--hk-gold) !important;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  letter-spacing: 0.2px;
  float: none !important;
  width: auto !important;
}

.hk-card-default.hk-card-order .hk-card-header .hika_cpanel_price i {
  color: var(--hk-gold);
  font-size: 0.9rem;
}

/* Order Body (Order Number, Status Pill, Action Button) */
.hk-card-default.hk-card-order .hk-card-body {
  padding: 16px 22px !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
}

.hk-card-default.hk-card-order .hk-card-body .hk-row-fluid {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.hk-card-default.hk-card-order .hk-card-body .hk-row-fluid > div {
  float: none !important;
  width: auto !important;
}

/* 1st Column: Order Number & Invoice */
.hk-card-default.hk-card-order .hk-card-body .hk-row-fluid > div:first-child {
  flex: 1 1 auto !important;
  text-align: left;
}

.hk-card-default.hk-card-order .hika_cpanel_title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--hk-text-subtle);
  font-weight: 700;
  margin-right: 6px;
}

.hk-card-default.hk-card-order .hika_cpanel_value {
  font-weight: 700;
  color: var(--hk-text-dark);
  font-size: 1.05rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.5px;
}

/* 2nd Column: Status Badges */
.hk-card-default.hk-card-order .hika_cpanel_order_status {
  flex: 0 0 auto !important;
  text-align: center;
}

.hk-card-default.hk-card-order .order-label {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* Status: Confirmed / Shipped / Delivered / Success */
.hk-card-default.hk-card-order .order-label-confirmed,
.hk-card-default.hk-card-order .order-label-shipped,
.hk-card-default.hk-card-order .order-label-delivered,
.hk-card-default.hk-card-order .order-label-success {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

/* Status: Created / Pending */
.hk-card-default.hk-card-order .order-label-created,
.hk-card-default.hk-card-order .order-label-pending,
.hk-card-default.hk-card-order .order-label-waiting {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

/* Status: Cancelled / Refunded */
.hk-card-default.hk-card-order .order-label-cancelled,
.hk-card-default.hk-card-order .order-label-refunded {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

/* 3rd Column: Order Actions */
.hk-card-default.hk-card-order .hika_cpanel_order_action {
  flex: 0 0 auto !important;
  text-align: right;
}

.hk-card-default.hk-card-order .hika_cpanel_order_action .btn,
.hk-card-default.hk-card-order .hika_cpanel_order_action .hk-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 7px 16px !important;
  border-radius: var(--hk-radius-sm) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hk-card-default.hk-card-order .hika_cpanel_order_action .btn:hover,
.hk-card-default.hk-card-order .hika_cpanel_order_action .hk-btn:hover {
  background: var(--hk-gold) !important;
  border-color: var(--hk-gold) !important;
  color: var(--hk-text-dark) !important;
  box-shadow: 0 4px 10px rgba(246, 187, 0, 0.25) !important;
}

/* Dropdown Menu */
.hk-dropdown-menu,
.dropdown-menu {
  border-radius: var(--hk-radius-md) !important;
  border: 1px solid var(--hk-card-border) !important;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12) !important;
  padding: 8px !important;
  background: #ffffff !important;
}

.hk-dropdown-menu > li > a,
.dropdown-menu > li > a {
  padding: 8px 14px !important;
  border-radius: var(--hk-radius-sm) !important;
  color: #334155 !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.hk-dropdown-menu > li > a:hover,
.dropdown-menu > li > a:hover {
  background: var(--hk-gold-light) !important;
  color: var(--hk-text-dark) !important;
}

/* --- Products & Methods Grid inside Order Card --- */
.hk-card-default.hk-card-order > .hk-row-fluid:last-child {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  padding: 16px 22px !important;
  background: #fafbfc !important;
  gap: 20px !important;
}

.hk-card-default.hk-card-order .hika_cpanel_products {
  flex: 1 1 55% !important;
  min-width: 280px !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}

.hk-card-default.hk-card-order .hika_cpanel_methods {
  flex: 0 0 250px !important;
  width: 250px !important;
  float: none !important;
  margin: 0 !important;
}

/* Products Items */
.hk-card-default.hk-card-order .hk-list-group-item.hika_cpanel_product {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px !important;
  margin-bottom: 8px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  border-radius: 10px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  gap: 12px;
}

.hk-card-default.hk-card-order .hk-list-group-item.hika_cpanel_product:hover {
  background: #fffdf5 !important;
  border-color: rgba(246, 187, 0, 0.4) !important;
  transform: translateX(3px);
}

.hk-card-default.hk-card-order .hika_cpanel_product_image_link {
  float: none !important;
  margin-right: 0 !important;
  flex: 0 0 46px;
}

.hk-card-default.hk-card-order .hika_cpanel_product_image {
  width: 46px !important;
  height: 46px !important;
  border-radius: var(--hk-radius-sm);
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
}

.hk-card-default.hk-card-order .hk-list-group-item.hika_cpanel_product > a:not(.hika_cpanel_product_image_link) {
  flex: 1 1 auto;
  text-decoration: none !important;
  min-width: 0;
}

.hk-card-default.hk-card-order .hika_cpanel_product_name {
  font-weight: 600;
  color: var(--hk-text-dark);
  font-size: 0.92rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.hk-card-default.hk-card-order .hk-list-group-item.hika_cpanel_product > a:hover .hika_cpanel_product_name {
  color: #d97706;
}

.hk-card-default.hk-card-order .hikashop_cpanel_product_code {
  font-size: 0.75rem;
  color: var(--hk-text-subtle);
  display: block;
}

.hk-card-default.hk-card-order .hika_cpanel_product_price {
  margin: 0 !important;
  flex: 0 0 auto;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.hk-card-default.hk-card-order .hika_cpanel_product_price_amount {
  color: var(--hk-text-dark);
  font-weight: 700;
}

/* "Show more products" link */
.hk-card-default.hk-card-order .hika_cpanel_product_more {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px !important;
  background: var(--hk-gold-light) !important;
  color: #92400e !important;
  border: 1px dashed rgba(246, 187, 0, 0.45) !important;
  border-radius: 10px !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.hk-card-default.hk-card-order .hika_cpanel_product_more:hover {
  background: var(--hk-gold) !important;
  color: var(--hk-text-dark) !important;
  border-style: solid !important;
}

/* Methods Box */
.hk-card-default.hk-card-order .hika_cpanel_order_methods {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--hk-radius-md);
  padding: 16px;
  margin: 0;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.hk-card-default.hk-card-order .hika_cpanel_order_methods dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--hk-text-subtle);
  font-weight: 700;
  margin-bottom: 2px;
}

.hk-card-default.hk-card-order .hika_cpanel_order_methods dd {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 12px;
  margin-left: 0;
}

.hk-card-default.hk-card-order .hika_cpanel_order_methods dd:last-child {
  margin-bottom: 0;
}

/* --- Orders Listing Page Harmonization --- */
#hikashop_order_listing .hikashop_search_block {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 1.5rem;
}

#hikashop_order_listing .hikashop_search_block input[type="text"] {
  border-radius: var(--hk-radius-sm);
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  font-size: 0.9rem;
}

#hikashop_order_listing .hikashop_search_block button {
  background: var(--hk-gold) !important;
  border: 1px solid var(--hk-gold) !important;
  color: var(--hk-text-dark) !important;
  border-radius: var(--hk-radius-sm);
  font-weight: 600;
  padding: 8px 18px;
  transition: all 0.2s ease;
}

#hikashop_order_listing .hikashop_search_block button:hover {
  background: var(--hk-gold-hover) !important;
}

#hikashop_order_listing .hikashop_order_sort select {
  border-radius: var(--hk-radius-sm);
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: #334155;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hk-card-default.hk-card-order .hk-card-header a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hk-card-default.hk-card-order .hk-card-header .hika_cpanel_price {
    margin-left: 0 !important;
    align-self: flex-start;
  }
  .hk-card-default.hk-card-order .hk-card-body .hk-row-fluid {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hk-card-default.hk-card-order .hika_cpanel_order_action {
    width: 100%;
    text-align: left;
  }
  .hk-card-default.hk-card-order > .hk-row-fluid:last-child {
    flex-direction: column;
  }
  .hk-card-default.hk-card-order .hika_cpanel_products,
  .hk-card-default.hk-card-order .hika_cpanel_methods {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   JOOMLA FANCY SELECT & CHOICES.JS - GLOBAL & MODERN STYLING
   Corrige elementos sobrepostos / "acavalados" e adiciona botao X funcional
   ========================================================================== */

joomla-field-fancy-select {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

.choices {
  position: relative !important;
  margin-bottom: 0 !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  width: 100% !important;
}

.choices:focus {
  outline: none !important;
}

/* Inner Container */
.choices__inner {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 6px 40px 6px 14px !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  border-color: #f6bb00 !important;
  box-shadow: 0 0 0 3px rgba(246, 187, 0, 0.2) !important;
}

.choices.is-open .choices__inner {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Arrow indicator for single select */
.choices[data-type*="select-one"]::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  margin-top: -3px !important;
  border-style: solid !important;
  border-width: 6px 5px 0 5px !important;
  border-color: #64748b transparent transparent transparent !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: transform 0.2s ease !important;
}

.choices[data-type*="select-one"].is-open::after {
  transform: rotate(180deg) !important;
  margin-top: -3px !important;
}

/* Single Select List Item */
.choices__list--single {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.choices__list--single .choices__item {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  position: relative !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Joomla Choices Button - Botao X com icone SVG nativo e nitido */
.choices__button_joomla {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: 50% !important;
  right: 18px !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  background-color: rgba(100, 116, 139, 0.15) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px 10px !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  opacity: 0.8 !important;
  z-index: 5 !important;
  transition: all 0.2s ease !important;
}

.choices__button_joomla:hover,
.choices__button_joomla:focus {
  background-color: #ef4444 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
  opacity: 1 !important;
}

.choices__button_joomla::before,
.choices__button_joomla::after {
  content: none !important;
  display: none !important;
}

/* No select-one: esconde o remove button se for valor vazio ou padrao */
.choices[data-type*="select-one"] .choices__item[data-value=""] .choices__button_joomla,
.choices[data-type*="select-one"] .choices__item[data-placeholder] .choices__button_joomla {
  display: none !important;
}

/* Multi-select Items & Badges (ex: Artigos, Banners, etc.) */
.choices__list--multiple {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.choices__list--multiple .choices__item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 4px 8px 4px 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  position: relative !important;
  margin: 0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* Remove button dentro do badge do multi-select */
.choices__list--multiple .choices__item .choices__button_joomla {
  position: static !important;
  transform: none !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 0 0 6px !important;
  background-size: 9px 9px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

/* Input de busca dentro do Choices */
.choices__input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.9rem !important;
  color: #1e293b !important;
  padding: 4px 6px !important;
  margin: 0 !important;
}

.choices[data-type*="select-multiple"] .choices__input {
  flex: 1 1 200px !important;
}

/* Dropdown Menu */
.choices__list--dropdown {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1050 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-top: none !important;
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  margin-top: 0 !important;
}

.choices.is-open .choices__list--dropdown,
.choices__list--dropdown.is-active {
  display: block !important;
}

.choices__list--dropdown .choices__list {
  max-height: 250px !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  list-style: none !important;
}

.choices__list--dropdown .choices__item {
  padding: 8px 16px !important;
  font-size: 0.9rem !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list--dropdown .choices__item:hover {
  background-color: rgba(246, 187, 0, 0.15) !important;
  color: #92400e !important;
}

.choices__list--dropdown .choices__item.is-selected {
  background-color: rgba(246, 187, 0, 0.08) !important;
  font-weight: 600 !important;
}

.choices__heading {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #94a3b8 !important;
  padding: 8px 16px 4px !important;
  background: #f8fafc !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.choices__heading:first-child {
  border-top: none !important;
}

.choices__list--dropdown .choices__input {
  width: calc(100% - 16px) !important;
  margin: 8px !important;
  padding: 8px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background-color: #f8fafc !important;
  font-size: 0.88rem !important;
}

.choices__list--dropdown .choices__input:focus {
  border-color: #f6bb00 !important;
  background: #ffffff !important;
}

/* ==========================================================================
   SWITCHER TOGGLE (Sim / Nao)
   ========================================================================== */
fieldset.switcher {
  display: inline-flex !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  padding: 4px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  gap: 2px !important;
  margin: 0 !important;
}

fieldset.switcher input[type="radio"] {
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  opacity: 0 !important;
}

fieldset.switcher label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 18px !important;
  border-radius: 6px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  cursor: pointer !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  line-height: 1 !important;
}

fieldset.switcher input[type="radio"]:checked + label {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

fieldset.switcher input[type="radio"][value="1"]:checked + label {
  color: #16a34a !important;
}

fieldset.switcher input[type="radio"][value="0"]:checked + label {
  color: #dc2626 !important;
}

/* ==========================================================================
   USER PROFILE FORM POLISH (#member-profile)
   ========================================================================== */
#member-profile {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0;
}

#member-profile fieldset {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

#member-profile legend {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  padding: 0 10px;
  margin-bottom: 1.5rem;
  border: none;
  width: auto;
  display: inline-block;
  border-bottom: 3px solid #f6bb00;
}

#member-profile .control-group {
  margin-bottom: 1.25rem;
}

#member-profile .control-label label {
	font-weight: 600;
	font-size: 0.92rem;
	color: #334155;
	margin-bottom: 6px;
	display: inline-block;
	margin-left: 0;
	margin-right: auto;
	width: 100%;
}

#member-profile .form-control {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

#member-profile .form-control:focus {
  border-color: #f6bb00;
  box-shadow: 0 0 0 3px rgba(246, 187, 0, 0.2);
}

#member-profile .com-users-profile__submit,
#member-profile .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
}

#member-profile .btn-primary {
  background: linear-gradient(135deg, #f6bb00 0%, #e5ad00 100%) !important;
  color: #0f172a !important;
  border: 1px solid #f6bb00 !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(246, 187, 0, 0.25) !important;
}

#member-profile .btn-primary:hover {
  background: linear-gradient(135deg, #e5ad00 0%, #d49f00 100%) !important;
  box-shadow: 0 6px 18px rgba(246, 187, 0, 0.35) !important;
}

