@keyframes pulse {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes loading {
  0% {
    background-position: 200%0;
  }
  to {
    background-position: -200%0;
  }
}
@keyframes qvShimmer {
  to {
    background-position: -200%0;
  }
}
@keyframes heartBeat {
  0%,
  60% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.3);
  }
  30% {
    transform: scale(0.95);
  }
  45% {
    transform: scale(1.15);
  }
}
.nav-login-desktop {
  display: none;
}
@media (min-width: 1100px) {
  .nav-login-desktop {
    display: inline-block;
  }
  .nav-login-desktop.nav-logged-in {
    display: none !important;
  }
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.category-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-base);
  transition: var(--transition-base);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.category-card h3 {
  font-size: var(--font-size-xl);
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.category-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}
#loading-state,
.loading-state {
  text-align: center;
  padding: 3rem;
}
.animate-pulse {
  animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.bg-gray-100 {
  background-color: #f3f4f6;
}
.h-48 {
  height: 12rem;
}
.h-9 {
  height: 2.25rem;
}
.w-1\/5 {
  width: 20%;
}
.w-2\/5 {
  width: 40%;
}
.w-3\/5 {
  width: 60%;
}
.w-4\/5 {
  width: 80%;
}
.w-5\/6 {
  width: 83.333%;
}
.w-1\/2 {
  width: 50%;
}
.w-1\/3 {
  width: 33.333%;
}
.w-2\/3 {
  width: 66.666%;
}
.w-1\/4 {
  width: 25%;
}
.w-3\/4 {
  width: 75%;
}
.spinner {
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-btn,
.filter-btn .filter-icon {
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.filter-btn {
  position: relative;
  display: inline-flex;
  padding: 0.4rem;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  background: #fff;
  border-radius: 0.75rem;
  cursor: pointer;
  color: #48484a;
  overflow: visible;
}
.filter-btn .filter-icon {
  display: flex;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.5rem;
  background: #f3f4f6;
}
.filter-btn .filter-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--primary-color, #070709);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  z-index: 50;
}
.filter-btn .filter-label::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-bottom-color: var(--primary-color, #070709);
}
.filter-btn:focus .filter-label,
.filter-btn:hover .filter-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.filter-btn.active,
.filter-btn:hover {
  border-color: #070709;
  color: #070709;
}
.filter-btn:hover .filter-icon {
  background: rgba(7, 7, 9, 0.08);
}
.filter-btn.active {
  background: rgba(7, 7, 9, 0.04);
}
.filter-btn.active .filter-icon {
  box-shadow: 0 2px 8px rgba(7, 7, 9, 0.25);
}
.filter-btn.filter-btn-all {
  flex-direction: row;
  min-width: auto;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 9999px;
}
.filter-btn.active .filter-icon,
.filter-btn.filter-btn-all.active {
  background: var(--primary-color);
  color: #fff;
}
.filter-btn.filter-btn-all.active .filter-icon {
  background: 0 0;
  box-shadow: none;
}
.special-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  background: #fff;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  color: #48484a;
}
.special-filter-btn svg {
  flex-shrink: 0;
}
.special-filter-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: #f5f5f5;
}
.special-filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.filter-separator {
  width: 1px;
  align-self: stretch;
  background: var(--gray-200, #e5e7eb);
  margin: 0 0.25rem;
}
.advanced-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.advanced-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600, #48484a);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.advanced-filter-input {
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 0.5rem;
  font-size: 0.82rem;
  background: #fff;
  color: var(--gray-900, #121214);
  outline: 0;
  transition: border-color 0.15s ease;
}
.advanced-filter-input:focus {
  border-color: var(--primary-color, #070709);
  box-shadow: 0 0 0 2px rgba(7, 7, 9, 0.08);
}
.advanced-filter-select {
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 0.5rem;
  font-size: 0.82rem;
  background: #fff;
  color: var(--gray-900, #121214);
  outline: 0;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.advanced-filter-select:focus {
  border-color: var(--primary-color, #070709);
}
.advanced-filter-chip input:checked + .chip-label {
  background: var(--primary-color, #070709);
  color: #fff;
  border-color: var(--primary-color, #070709);
}
.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--gray-600, #48484a);
  background: #fff;
}
.chip-label:hover {
  border-color: var(--gray-400, #aeaeb2);
}
#advanced-filters-panel {
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}
html.dark .advanced-filter-input,
html.dark .advanced-filter-select {
  background: #1a1a1c;
  border-color: #2a2a2c;
  color: #ebebeb;
}
html.dark .advanced-filter-input:focus,
html.dark .advanced-filter-select:focus {
  border-color: #636366;
}
html.dark .advanced-filter-label {
  color: #b8b8b8;
}
html.dark .chip-label {
  background: #1a1a1c;
  border-color: #2a2a2c;
  color: #b8b8b8;
}
html.dark .chip-label:hover {
  border-color: #636366;
}
html.dark .advanced-filter-chip input:checked + .chip-label {
  background: #fefefe;
  color: #111113;
  border-color: #fefefe;
}
html.dark #advanced-filters-panel {
  background: #18181a;
  border-color: #2a2a2c;
}
html.dark .btn-suplementos {
  border-color: #fff;
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  margin-top: 2rem;
}
.hero-trust,
.hero-trust-icon {
  display: flex;
  align-items: center;
}
.hero-trust {
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3a3a3c;
  letter-spacing: 0.01em;
}
.hero-trust-icon {
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #070709;
  color: #fff;
  flex-shrink: 0;
}
.hero-trust-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}
.hero-trust-label {
  white-space: nowrap;
}
html.dark .hero-trust {
  color: #d1d1d3;
}
html.dark .hero-trust-icon {
  background: #fff;
  color: #070709;
}
.search-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  z-index: 200;
  max-height: 380px;
  overflow-y: auto;
  display: none;
  margin-top: 0.35rem;
}
.search-autocomplete.active {
  display: block;
}
.catalog-search-dropdown {
  border-radius: 1rem;
  max-height: 420px;
}
.sac-header {
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400, #aeaeb2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-100, #f3f3f3);
}
.sac-count {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: background 0.12s ease;
  text-decoration: none;
  color: inherit;
}
.search-autocomplete-item.highlighted,
.search-autocomplete-item:hover {
  background: var(--gray-50, #f8f8f8);
}
.search-autocomplete-item img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--gray-100, #f3f3f3);
}
.search-autocomplete-item .sac-text {
  flex: 1;
  min-width: 0;
}
.search-autocomplete-item .sac-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-900, #121214);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sac-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.search-autocomplete-item .sac-price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-color, #070709);
}
.sac-price-old {
  font-size: 0.68rem;
  color: var(--gray-400, #aeaeb2);
  text-decoration: line-through;
}
.search-autocomplete-item .sac-category {
  font-size: 0.68rem;
  color: var(--gray-400, #aeaeb2);
  margin-top: 1px;
}
.search-autocomplete-empty {
  padding: 1.2rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-500, #636366);
}
.search-autocomplete-empty strong {
  color: var(--gray-700, #48484a);
}
.sac-view-all {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--primary-color, #070709);
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--gray-100, #f3f3f3);
  transition: background 0.12s ease;
}
.sac-view-all:hover {
  background: var(--gray-50, #f8f8f8);
}
.sac-view-all strong {
  font-weight: 700;
}
html.dark .search-autocomplete {
  background: #1a1a1c;
  border-color: #2a2a2c;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
html.dark .sac-header {
  color: #636366;
  border-color: #2a2a2c;
}
html.dark .search-autocomplete-item.highlighted,
html.dark .search-autocomplete-item:hover {
  background: #2a2a2c;
}
html.dark .search-autocomplete-item img {
  border-color: #2a2a2c;
}
html.dark .search-autocomplete-item .sac-name {
  color: #ebebeb;
}
html.dark .search-autocomplete-item .sac-price {
  color: #d1d1d6;
}
html.dark .sac-price-old {
  color: #636366;
}
html.dark .search-autocomplete-empty {
  color: #8e8e93;
}
html.dark .search-autocomplete-empty strong {
  color: #c7c7cc;
}
html.dark .sac-view-all {
  color: #d1d1d6;
  border-color: #2a2a2c;
}
html.dark .sac-view-all:hover {
  background: #2a2a2c;
}
.nav-search-wrapper {
  position: relative;
  flex: 1;
}
.nav-search-wrapper .search-autocomplete {
  min-width: 0;
  width: max(100%, 300px);
  max-width: calc(100vw - 2rem);
  right: auto;
}
.nav-search-input {
  width: 100%;
  padding: 0.45rem 0.7rem 0.45rem 2rem;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 9999px;
  font-size: 0.82rem;
  background: var(--gray-50, #f8f8f8);
  color: var(--gray-900, #121214);
  outline: 0;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.nav-search-input:focus {
  border-color: var(--primary-color, #070709);
  box-shadow: 0 0 0 3px rgba(7, 7, 9, 0.06);
  background: #fff;
}
.nav-search-icon {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--gray-400, #aeaeb2);
  pointer-events: none;
}
html.dark .mobile-search-input,
html.dark .nav-search-input {
  background: #1a1a1c;
  border-color: #2a2a2c;
  color: #ebebeb;
}
html.dark .nav-search-input:focus {
  border-color: #636366;
  background: #1e1e20;
}
.mobile-search-wrapper {
  position: relative;
  padding: 0.5rem 0.75rem;
}
.mobile-search-wrapper::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: var(--gray-400, #aeaeb2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E")
    center/contain no-repeat;
  pointer-events: none;
  z-index: 1;
}
.mobile-search-input {
  width: 100%;
  padding: 0.6rem 0.75rem 0.6rem 2.3rem;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 0.75rem;
  font-size: 0.88rem;
  background: var(--gray-50, #f8f8f8);
  color: var(--gray-900, #121214);
  outline: 0;
  transition: border-color 0.15s ease;
}
.mobile-search-input:focus {
  border-color: var(--primary-color, #070709);
}
@media (max-width: 1023px) {
  #category-filter-btns {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 2px;
  }
  #category-filter-btns::-webkit-scrollbar {
    display: none;
  }
  #category-filter-btns .filter-btn {
    flex: 0 0 auto;
  }
}
@media (max-width: 767px) {
  #filter-bar {
    top: 64px !important;
    padding: 0.4rem 0.5rem !important;
    gap: 0.5rem !important;
  }
  #category-filter-btns .filter-btn .filter-icon {
    width: 2rem;
    height: 2rem;
  }
  #catalog-extra-filters {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }
  #catalog-extra-filters > * {
    flex: 0 0 auto;
  }
  #sort-select,
  .special-filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
  #sort-select {
    padding: 0.4rem 1.8rem 0.4rem 0.75rem;
  }
  #reset-filters {
    white-space: nowrap;
    font-size: 0.75rem;
  }
}
.newsletter {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.empty-state h3,
.newsletter h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: 1rem;
}
.newsletter p {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  opacity: 0.9;
}
.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: 0;
  font-size: var(--font-size-base);
}
.newsletter-form button {
  padding: 1rem 2rem;
  white-space: nowrap;
}
.badge,
.newsletter-form input,
.notification {
  border-radius: var(--border-radius);
}
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  transform: translateX(400px);
  transition: transform var(--transition-base);
  max-width: 300px;
  border-left: 4px solid var(--success-color);
}
.notification.notification-success {
  border-left-color: var(--success-color);
}
.notification.notification-error {
  border-left-color: var(--error-color);
}
.notification.notification-warning {
  border-left-color: var(--warning-color);
}
.notification.notification-info {
  border-left-color: #2c2c2e;
}
.notification.show {
  transform: translateX(0);
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}
.badge-success {
  background: var(--success-color);
  color: #fff;
}
.badge-warning {
  background: var(--warning-color);
  color: #fff;
}
.badge-error {
  background: var(--error-color);
  color: #fff;
}
.badge-primary {
  background: var(--primary-color);
  color: #fff;
}
.in-stock,
.low-stock,
.out-stock {
  color: var(--success-color);
  font-weight: 600;
  font-size: var(--font-size-sm);
}
.low-stock,
.out-stock {
  color: var(--error-color);
}
.low-stock {
  color: var(--warning-color);
}
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
.slide-in-right {
  animation: slideInRight 0.5s ease-out;
}
.skeleton {
  background: linear-gradient(
    90deg,
    var(--gray-200) 25%,
    var(--gray-100) 50%,
    var(--gray-200) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: var(--border-radius);
}
.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}
.skeleton-title {
  height: 2rem;
  margin-bottom: 1rem;
}
.skeleton-image {
  height: 200px;
  width: 100%;
}
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: var(--font-size-2xl);
  color: var(--gray-700);
}
.empty-state p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}
.status,
[data-tooltip]:hover::after {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
}
.status {
  display: inline-block;
  font-weight: 600;
}
.status-pendiente {
  background: #ebebeb;
  color: #3a3a3c;
}
.status-procesando {
  background: #d5d5d5;
  color: #1c1c1e;
}
.status-enviado {
  background: #2c2c2e;
  color: #fefefe;
}
.status-entregado {
  background: #070709;
  color: #fefefe;
}
.status-cancelado {
  background: #f8d7da;
  color: #842029;
}
[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: #fff;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .filters {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}
@media print {
  .btn,
  .main-footer,
  .main-header,
  .notification {
    display: none !important;
  }
}
.fav-card,
.fav-img-wrap {
  position: relative;
  overflow: hidden;
}
.fav-card {
  background: #fff;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.3s ease;
}
.fav-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(7, 7, 9, 0.1),
    0 8px 16px rgba(7, 7, 9, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
}
.fav-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  background: #f7f7f8;
}
.fav-img,
.fav-img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.fav-img {
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.fav-card:hover .fav-img {
  transform: scale(1.08);
}
.fav-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 9, 0.06) 0, transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.fav-card:hover .fav-img-wrap::after {
  opacity: 1;
}
.fav-img-top-left {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  z-index: 2;
}
.fav-cat-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 0.3rem;
  background: rgba(7, 7, 9, 0.8);
  color: #fefefe;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  line-height: 1.4;
}
.fav-sale-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  background: #b91c1c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 0.3rem;
  line-height: 1.3;
}
.fav-heart-btn {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: #e11d48;
  box-shadow: 0 2px 10px rgba(7, 7, 9, 0.15);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fav-heart-btn:hover {
  background: #e11d48;
  color: #fff;
  transform: scale(1.15);
}
.fav-heart-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  pointer-events: none;
}
.fav-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}
.fav-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #070709;
  text-decoration: none;
  transition: color 0.2s ease;
}
.fav-name:hover {
  color: #48484a;
}
.fav-meta,
.fav-price-row {
  display: flex;
  flex-wrap: wrap;
}
.fav-meta {
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.fav-price-row {
  align-items: baseline;
  gap: 0.4rem;
}
.fav-price-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.fav-price-final {
  font-size: 1rem;
  font-weight: 800;
  color: #070709;
  letter-spacing: -0.01em;
}
.fav-price-original {
  font-size: 0.75rem;
  color: #767676;
  text-decoration: line-through;
  font-weight: 400;
}
.fav-discount-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: #b91c1c;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  letter-spacing: 0.03em;
}
.fav-badge-stock {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 0.25rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.fav-badge-avail {
  background: #dcfce7;
  color: #15803d;
}
.fav-badge-out {
  background: #fee2e2;
  color: #b91c1c;
}
.fav-shipping {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #6e6e73;
  font-weight: 400;
}
.fav-shipping-free {
  color: #15803d;
  font-weight: 600;
}
.fav-icon-sm {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}
.fav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.55rem;
}
.fav-btn-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  background: #070709;
  color: #fefefe;
  border: 2px solid #070709;
  border-radius: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.fav-btn-cart::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}
.fav-btn-cart:hover::before {
  left: 100%;
}
.fav-btn-cart:hover {
  background: #2c2c2e;
  border-color: #2c2c2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 7, 9, 0.2);
}
.fav-btn-cart:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}
.fav-btn-cart--disabled,
.fav-btn-cart[disabled] {
  background: #ebebeb;
  color: #8e8e93;
  border-color: #ebebeb;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.fav-btn-cart--disabled::before,
.fav-btn-cart[disabled]::before {
  display: none;
}
.fav-btn-view {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.58rem 0.62rem;
  background: 0 0;
  color: #070709;
  border: 2px solid #d5d5d5;
  border-radius: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
  white-space: nowrap;
}
.fav-btn-view:hover {
  background: #070709;
  border-color: #070709;
  color: #fefefe;
  transform: translateY(-1px);
}
.fav-btn-view:active {
  transform: translateY(0) scale(0.98);
}
.fav-icon-btn {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  pointer-events: none;
}
.qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 16px;
}
.qv-overlay.active {
  opacity: 1;
  visibility: visible;
}
.qv-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: min(92vw, 960px);
  max-height: min(90dvh, 680px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}
.qv-overlay.active .qv-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.qv-close,
.qv-image-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qv-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #070709;
  cursor: pointer;
  z-index: 10;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
}
.qv-close svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.qv-close:hover {
  background: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.qv-close:active {
  transform: scale(0.95);
}
.qv-image-panel {
  position: relative;
  background: #f5f5f7;
  overflow: hidden;
  min-height: 320px;
}
.qv-image-panel img,
.qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qv-image-panel iframe,
.qv-image-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.qv-thumbs {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 6px;
  border-radius: 10px;
}
.qv-thumb {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition:
    opacity 0.2s,
    border-color 0.2s,
    transform 0.2s;
  background: #eee;
}
.qv-thumb.active,
.qv-thumb:hover {
  opacity: 1;
  border-color: var(--primary-color, #070709);
  transform: scale(1.05);
}
.qv-thumb-play {
  position: relative;
}
.qv-gallery-nav,
.qv-thumb-play::after {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qv-thumb-play::after {
  content: "▶";
  inset: 0;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
}
.qv-gallery-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  color: #070709;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition:
    background 0.2s,
    transform 0.2s;
  z-index: 2;
}
.qv-gallery-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.qv-gallery-prev {
  left: 10px;
}
.qv-gallery-next {
  right: 10px;
}
.qv-info-panel {
  padding: 28px 52px 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qv-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #070709;
  line-height: 1.3;
  margin: 0;
}
.qv-desc {
  font-size: 0.82rem;
  color: #636366;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.qv-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}
.qv-actions .fav-btn-cart {
  flex: 1;
}
.qv-actions .fav-btn-cart,
.qv-actions .fav-btn-view {
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
}
.qv-skeleton .qv-image-panel,
.qv-skeleton .qv-info-panel > * {
  background: linear-gradient(110deg, #e8e8e8 8%, #f5f5f5 18%, #e8e8e8 33%);
  background-size: 200% 100%;
  animation: qvShimmer 1.5s linear infinite;
}
.qv-skeleton .qv-info-panel > * {
  border-radius: 6px;
  color: transparent !important;
  min-height: 1.1em;
}
@media (max-width: 640px) {
  .qv-modal {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 92dvh;
    border-radius: 14px;
  }
  .qv-image-panel {
    min-height: 220px;
    max-height: 260px;
  }
  .qv-info-panel {
    padding: 20px 18px 18px;
  }
  .qv-name {
    font-size: 1.1rem;
    padding-right: 36px;
  }
  .qv-close {
    top: -1px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
  .qv-close svg {
    width: 14px;
    height: 14px;
  }
  .qv-actions {
    flex-direction: column;
    gap: 8px;
  }
  .qv-actions .fav-btn-cart,
  .qv-actions .fav-btn-view {
    width: 100%;
    justify-content: center;
  }
  .qv-thumbs {
    bottom: 8px;
  }
  .qv-thumb {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 400px) {
  .qv-overlay {
    padding: 8px;
  }
  .qv-info-panel {
    padding: 16px 14px 14px;
    gap: 8px;
  }
  .qv-image-panel {
    min-height: 180px;
    max-height: 220px;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .qv-modal {
    width: 90vw;
    grid-template-columns: 45% 55%;
  }
}
html.dark .qv-modal {
  background: #1a1a1c;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
html.dark .qv-image-panel {
  background: #111113;
}
html.dark .qv-name {
  color: #ebebeb;
}
html.dark .qv-desc {
  color: #8e8e93;
}
html.dark .qv-close {
  background: rgba(30, 30, 32, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ebebeb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
html.dark .qv-close:hover,
html.dark .qv-gallery-nav:hover {
  background: rgba(50, 50, 52, 0.95);
}
html.dark .qv-gallery-nav {
  background: rgba(30, 30, 32, 0.88);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
html.dark .qv-gallery-nav,
html.dark .qv-thumbs {
  background: rgba(30, 30, 32, 0.85);
}
html.dark .qv-gallery-nav {
  color: #fefefe;
}
html.dark .qv-gallery-nav:hover {
  background: #1e1e20;
}
html.dark .qv-thumb {
  background: #2a2a2c;
}
html.dark .qv-skeleton .qv-image-panel,
html.dark .qv-skeleton .qv-info-panel > * {
  background: linear-gradient(110deg, #2a2a2c 8%, #333 18%, #2a2a2c 33%);
  background-size: 200% 100%;
  animation: qvShimmer 1.5s linear infinite;
}
.fav-card .fav-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.45em * 2);
  max-height: calc(1.45em * 2);
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.72rem;
  color: #8e8e93;
  line-height: 1.45;
  margin: 0;
}
.fav-card .catalog-btn-view {
  flex: 1;
}
html.dark .fav-card {
  background: #1a1a1c;
  border-color: #2a2a2c;
}
html.dark .fav-card:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 8px 16px rgba(0, 0, 0, 0.25);
  border-color: #3a3a3c;
}
html.dark .fav-img-wrap {
  background: #1e1e20;
}
html.dark .fav-name {
  color: #ebebeb;
}
html.dark .fav-name:hover {
  color: #b8b8b8;
}
html.dark .fav-price-final,
html.dark .gymark-popup-inner h3,
html.dark .gymark-popup-success h4 {
  color: #fefefe;
}
html.dark .fav-price-original {
  color: #8e8e93;
}
html.dark .fav-desc,
html.dark .fav-shipping {
  color: #8e8e93;
}
html.dark .fav-shipping-free {
  color: #4ade80;
}
html.dark .fav-badge-avail {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}
html.dark .fav-badge-out {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}
html.dark .fav-btn-cart {
  background: #fefefe;
  color: #111113;
  border-color: #fefefe;
}
html.dark .fav-btn-cart:hover {
  background: #ebebeb;
  border-color: #ebebeb;
  color: #111113;
  box-shadow: 0 4px 12px rgba(254, 254, 254, 0.12);
}
html.dark .fav-btn-cart::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
}
html.dark .fav-btn-cart--disabled,
html.dark .fav-btn-cart[disabled] {
  background: #2a2a2c;
  color: #636366;
  border-color: #2a2a2c;
}
html.dark .fav-btn-view {
  color: #ebebeb;
  border-color: #3a3a3c;
}
html.dark .fav-btn-view:hover {
  background: #fefefe;
  border-color: #fefefe;
  color: #111113;
}
html.dark .fav-discount-badge,
html.dark .fav-sale-badge {
  background: #dc2626;
}
html.dark .catalog-fav-btn,
html.dark .fav-heart-btn {
  background: rgba(30, 30, 32, 0.92);
  color: #f87171;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
html.dark .fav-heart-btn:hover {
  background: #e11d48;
  color: #fff;
}
html.dark .catalog-fav-btn {
  color: #b8b8b8;
}
html.dark .catalog-fav-btn:hover {
  background: #1e1e20;
  color: #f87171;
}
html.dark .catalog-fav-btn.is-fav {
  background: rgba(225, 29, 72, 0.9);
  color: #fff;
}
html.dark .filter-btn,
html.dark .special-filter-btn {
  background: #1a1a1c;
  border-color: #2a2a2c;
  color: #b8b8b8;
}
html.dark .filter-btn:hover {
  border-color: #fefefe;
  color: #fefefe;
}
html.dark .filter-btn .filter-icon,
html.dark .filter-separator {
  background: #2a2a2c;
}
html.dark .filter-btn:hover .filter-icon {
  background: rgba(254, 254, 254, 0.1);
}
html.dark .filter-btn.active {
  border-color: #fefefe;
  color: #fefefe;
  background: rgba(254, 254, 254, 0.06);
}
html.dark .filter-btn.active .filter-icon {
  background: #fefefe;
  color: #111113;
}
html.dark .special-filter-btn:hover {
  border-color: #636366;
  color: #ebebeb;
  background: #1e1e20;
}
html.dark .special-filter-btn.active {
  background: #636366;
  border-color: #636366;
  color: #fefefe;
}
html.dark .filter-btn .filter-label {
  background: #ebebeb;
  color: #111113;
}
html.dark .filter-btn .filter-label::before {
  border-bottom-color: #ebebeb;
}
html.dark .notification {
  background: #1e1e20;
  color: #ebebeb;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.45);
}
html.dark .skeleton {
  background: linear-gradient(90deg, #2a2a2c 25%, #3a3a3c 50%, #2a2a2c 75%);
  background-size: 200% 100%;
}
html.dark .bg-gray-100 {
  background-color: #1e1e20 !important;
}
html.dark .bg-gray-200 {
  background-color: #2a2a2c !important;
}
html.dark .category-card {
  background: #1a1a1c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
html.dark .category-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.45);
}
html.dark [data-tooltip]:hover::after {
  background: #ebebeb;
  color: #111113;
}
html.dark .status-pendiente {
  background: #2a2a2c;
  color: #d5d5d5;
}
html.dark .status-procesando {
  background: #3a3a3c;
  color: #ebebeb;
}
.catalog-fav-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transition:
    background 0.2s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease;
  padding: 0;
  opacity: 0;
  transform: scale(0.8);
}
.fav-card:hover .catalog-fav-btn {
  opacity: 1;
  transform: scale(1);
}
@media (hover: none) {
  .catalog-fav-btn {
    opacity: 1;
    transform: scale(1);
  }
}
.catalog-fav-btn:hover {
  background: #fff;
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.catalog-fav-icon {
  width: 1rem;
  height: 1rem;
  stroke: #9ca3af;
  fill: none;
  transition:
    stroke 0.2s ease,
    fill 0.2s ease;
  pointer-events: none;
}
.catalog-fav-btn.is-fav .catalog-fav-icon {
  stroke: #ef4444;
  fill: #ef4444;
  animation: heartBeat 0.6s ease-in-out;
}
.catalog-fav-btn.is-fav {
  opacity: 1;
  transform: scale(1);
}
.catalog-fav-btn.is-fav:hover .catalog-fav-icon {
  stroke: #dc2626;
  fill: #dc2626;
}
.catalog-fav-btn.catalog-fav-loading {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
.theme-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 0.6rem;
  background: 0 0;
  color: var(--gray-600);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--gray-900);
  transform: scale(1.08);
}
.theme-toggle-btn:active {
  transform: scale(0.95);
}
.theme-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  pointer-events: none;
}
html.dark .theme-toggle-btn {
  border-color: #3a3a3c;
  color: #b8b8b8;
}
html.dark .theme-toggle-btn:hover {
  background: #2a2a2c;
  border-color: #636366;
  color: #fefefe;
}
@media (max-width: 450px) {
  #filter-bar {
    gap: 4px;
    padding-left: 8px;
    padding-right: 8px;
  }
  #catalog-extra-filters {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid var(--gray-200, #e5e7eb);
    padding-top: 6px;
  }
  .special-filter-btn {
    font-size: 0;
    padding: 0.4rem;
    gap: 0;
  }
  .special-filter-btn svg {
    width: 1.1rem;
    height: 1.1rem;
  }
  #sort-select {
    max-width: 130px;
    padding-left: 0.5rem;
    padding-right: 1.5rem;
  }
  #reset-filters,
  #sort-select {
    font-size: 0.73rem;
  }
}
html.dark #filter-bar {
  background: #18181a !important;
  border-color: #2a2a2c;
}
html.dark #sort-select,
html.dark .nav-search-toggle {
  background: #1a1a1c;
  border-color: #2a2a2c;
  color: #ebebeb;
}
.nav-search-center {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}
.nav-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  background: var(--gray-50, #f8f8f8);
  cursor: pointer;
  color: var(--gray-500, #6b7280);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
  flex-shrink: 0;
}
.nav-search-toggle:hover {
  color: var(--primary-color, #070709);
  border-color: var(--gray-400, #9ca3af);
}
.nav-search-toggle svg {
  width: 1rem;
  height: 1rem;
}
html.dark .nav-search-toggle {
  color: #aeaeb2;
}
html.dark .nav-search-toggle:hover {
  color: #ebebeb;
  border-color: #636366;
}
.nav-search-center .nav-search-wrapper {
  max-width: 200px;
  width: 100%;
  display: none;
}
.nav-search-center.active {
  flex: 1 1 0%;
  justify-content: center;
  min-width: 0;
}
.nav-search-center.active .nav-search-toggle {
  display: none;
}
.nav-search-center.active .nav-search-wrapper {
  display: block;
}
nav .flex.justify-between > .flex.items-center:first-child,
nav .flex.justify-between > .flex.items-center:last-child {
  flex-shrink: 0;
}
@media (max-width: 1099px) {
  nav .space-x-4 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.5rem;
  }
}
@media (max-width: 1099px) and (min-width: 570px) {
  .nav-search-toggle {
    display: none !important;
  }
  .nav-search-center {
    flex: 1 1 0%;
    justify-content: center;
    min-width: 0;
  }
  .nav-search-center .nav-search-wrapper {
    display: block !important;
    max-width: 260px;
  }
}
@media (max-width: 569px) {
  nav .flex.justify-between {
    flex-wrap: nowrap;
  }
  nav .flex.justify-between > .flex.items-center:first-child {
    flex: 0 0 auto;
  }
  .nav-search-center {
    flex: 0 0 auto;
    padding: 0;
    margin-left: auto;
    margin-right: 0.35rem;
  }
  .nav-search-center.active {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
  }
  html.dark .nav-search-center.active {
    background: #0e0e10;
  }
  .nav-search-center.active .nav-search-wrapper {
    max-width: 100%;
  }
  nav .flex.justify-between.items-center.h-16 {
    position: relative;
  }
}
@media (max-width: 479px) {
  .nav-search-center {
    padding: 0 0.25rem;
  }
  .nav-search-center .nav-search-wrapper {
    max-width: 110px;
  }
  .nav-search-center .nav-search-input {
    font-size: 0.75rem;
    padding: 0.3rem 0.4rem 0.3rem 1.55rem;
  }
  .nav-search-center .nav-search-icon {
    left: 0.35rem;
    width: 0.8rem;
    height: 0.8rem;
  }
  nav .space-x-4 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.25rem;
  }
  nav .space-x-4 .p-2 {
    padding: 0.3rem;
  }
  nav .theme-toggle-btn {
    width: 1.75rem;
    height: 1.75rem;
  }
  nav .theme-toggle-btn .theme-icon {
    width: 0.85rem;
    height: 0.85rem;
  }
}
@media (max-width: 379px) {
  nav .space-x-4 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.125rem;
  }
  nav .space-x-4 .p-2 {
    padding: 0.25rem;
  }
  .nav-search-center .nav-search-wrapper {
    max-width: 90px;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  nav .hidden.md\:flex {
    display: none !important;
  }
  nav #mobile-menu-button {
    display: block !important;
  }
  nav #mobile-menu:not(.hidden) {
    display: block !important;
  }
  nav #mobile-menu.hidden,
  nav .hidden.md\:block,
  nav .hidden.md\:inline {
    display: none !important;
  }
}
@media (max-width: 1099px) {
  #login-button-icon,
  #user-menu-container {
    display: none !important;
  }
}
@media (min-width: 870px) and (max-width: 1099px) {
  .page-catalog nav .hidden.md\:flex {
    display: flex !important;
  }
  .page-catalog nav #mobile-menu,
  .page-catalog nav #mobile-menu-button {
    display: none !important;
  }
  .page-catalog nav .hidden.md\:inline {
    display: inline !important;
  }
  .page-catalog #user-menu-container,
  .page-catalog nav .hidden.md\:block {
    display: block !important;
  }
}
.sobre-hero {
  background-color: #ffffff;
  color: #18181a;
}
.sobre-hero-sub {
  color: #636366;
}
html.dark .sobre-hero {
  background-color: #1f242a;
  color: #fff;
}
html.dark .sobre-hero-sub {
  color: rgba(255, 255, 255, 0.8);
}
.gymark-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.gymark-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.gymark-popup-card {
  position: relative;
  width: min(70vw, 920px);
  height: min(70vh, 600px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fefefe;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gymark-popup-overlay.active .gymark-popup-card {
  transform: translateY(0) scale(1);
}
.gymark-popup-img {
  position: relative;
  overflow: hidden;
  background: #070709;
  background-size: cover;
  background-position: center;
}
.gymark-popup-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}
.gymark-popup-close,
.gymark-popup-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gymark-popup-content {
  flex-direction: column;
  padding: 2.5rem 2.75rem;
  text-align: center;
  position: relative;
  overflow-y: auto;
}
.gymark-popup-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: 0 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 5;
}
.gymark-popup-close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.gymark-popup-close svg {
  width: 20px;
  height: 20px;
  stroke: #48484a;
  stroke-width: 2;
}
.gymark-popup-inner {
  max-width: 340px;
  width: 100%;
}
.gymark-popup-inner .popup-eyebrow {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6e73;
  margin-bottom: 1rem;
}
.gymark-popup-discount,
.gymark-popup-inner h3 {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-weight: 400;
}
.gymark-popup-inner h3 {
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #070709;
  margin: 0 0 0.65rem;
}
.gymark-popup-inner .popup-subtitle {
  font-family: "Barlow", sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #636366;
  margin: 0 0 1.25rem;
}
.gymark-popup-discount {
  display: inline-block;
  background: #070709;
  color: #fefefe;
  font-size: 1rem;
  letter-spacing: 0.14em;
  padding: 0.4rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}
.gymark-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}
.gymark-popup-form input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid #d5d5d5;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: "Barlow", sans-serif;
  color: #070709;
  background: #fefefe;
  outline: 0;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.gymark-popup-form input[type="email"]:focus {
  border-color: #070709;
}
.gymark-popup-form input[type="email"]::placeholder {
  color: #b8b8b8;
}
.gymark-popup-form button[type="submit"] {
  width: 100%;
  padding: 0.9rem;
  border: 0;
  border-radius: 8px;
  background: #070709;
  color: #fefefe;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.12s;
}
.gymark-popup-form button[type="submit"]:hover {
  background: #2c2c2e;
}
.gymark-popup-form button[type="submit"]:active {
  transform: scale(0.98);
}
.gymark-popup-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gymark-popup-fine {
  font-size: 0.7rem;
  color: #767676;
  margin-top: 1.15rem;
  line-height: 1.4;
}
.gymark-popup-error {
  font-size: 0.8rem;
  color: #b91c1c;
  margin-top: 0.1rem;
  display: none;
}
.gymark-popup-error.visible {
  display: block;
}
.gymark-popup-coupon,
.gymark-popup-success {
  display: none;
  flex-direction: column;
  align-items: center;
}
.gymark-popup-success {
  gap: 0.75rem;
  width: 100%;
}
.gymark-popup-success.visible {
  display: flex;
}
.gymark-popup-success .success-check {
  width: 56px;
  height: 56px;
  background: #15803d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gymark-popup-success .success-check svg {
  width: 28px;
  height: 28px;
  stroke: #fefefe;
  fill: none;
  stroke-width: 2.5;
}
.gymark-popup-success h4 {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #070709;
  margin: 0;
}
.gymark-popup-success p {
  font-size: 0.85rem;
  color: #636366;
  margin: 0;
  line-height: 1.5;
}
.gymark-popup-coupon {
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.gymark-popup-coupon.visible {
  display: flex;
}
.gymark-popup-coupon span {
  font-size: 0.8rem;
  color: #636366;
}
.gymark-popup-coupon-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: #f5f5f5;
  border: 2px dashed #d5d5d5;
  border-radius: 8px;
  padding: 0.65rem 1.75rem;
  color: #070709;
  user-select: all;
}
.gymark-popup-coupon .popup-copy-btn {
  font-size: 0.75rem;
  color: #8e8e93;
  background: 0 0;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.gymark-popup-coupon .popup-copy-btn:hover {
  color: #070709;
}
html.dark .gymark-popup-card {
  background: #111113;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
html.dark .gymark-popup-content {
  background: #111113;
}
html.dark .gymark-popup-overlay {
  background: rgba(0, 0, 0, 0.7);
}
html.dark .gymark-popup-close:hover {
  background: rgba(255, 255, 255, 0.08);
}
html.dark .gymark-popup-close svg {
  stroke: #b8b8b8;
}
html.dark .gymark-popup-inner .popup-eyebrow {
  color: #8e8e93;
}
html.dark .gymark-popup-coupon span,
html.dark .gymark-popup-inner .popup-subtitle,
html.dark .gymark-popup-success p {
  color: #8e8e93;
}
html.dark .gymark-popup-discount,
html.dark .gymark-popup-form button[type="submit"] {
  background: #fefefe;
  color: #070709;
}
html.dark .gymark-popup-form input[type="email"] {
  background: #1e1e20;
  border-color: #3a3a3c;
  color: #fefefe;
}
html.dark .gymark-popup-form input[type="email"]::placeholder {
  color: #636366;
}
html.dark .gymark-popup-form input[type="email"]:focus {
  border-color: #8e8e93;
}
html.dark .gymark-popup-form button[type="submit"]:hover {
  background: #ebebeb;
}
html.dark .gymark-popup-fine {
  color: #8e8e93;
}
html.dark .gymark-popup-error {
  color: #f87171;
}
html.dark .gymark-popup-coupon-code {
  background: #1e1e20;
  border-color: #3a3a3c;
  color: #fefefe;
}
@media (max-width: 900px) {
  .gymark-popup-card {
    width: min(88vw, 720px);
    height: auto;
    max-height: 85vh;
    max-height: 85dvh;
  }
  .gymark-popup-content {
    padding: 2rem 2rem 2.25rem;
  }
  .gymark-popup-inner h3 {
    font-size: 2rem;
  }
}
@media (max-width: 640px) {
  .gymark-popup-overlay {
    padding: 0.75rem;
    box-sizing: border-box;
  }
  .gymark-popup-card {
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    height: auto;
    max-height: 92vh;
    max-height: 92dvh;
    grid-template-columns: 1fr;
    grid-template-rows: 180px 1fr;
    border-radius: 14px;
    box-sizing: border-box;
  }
  .gymark-popup-content {
    padding: 1.5rem 1.25rem 1.75rem;
  }
  .gymark-popup-inner {
    max-width: 100%;
  }
  .gymark-popup-inner h3 {
    font-size: 1.75rem;
  }
  .gymark-popup-inner .popup-subtitle {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }
  .gymark-popup-discount {
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
  }
  .gymark-popup-close {
    top: 0.6rem;
    right: 0.6rem;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.3);
  }
  .gymark-popup-close svg {
    stroke: #fefefe;
    width: 17px;
    height: 17px;
  }
  .gymark-popup-close:hover {
    background: rgba(0, 0, 0, 0.45);
  }
  .gymark-popup-form input[type="email"] {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }
  .gymark-popup-form button[type="submit"] {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  .gymark-popup-fine {
    font-size: 0.65rem;
    margin-top: 0.75rem;
  }
}
@media (max-width: 380px) {
  .gymark-popup-overlay {
    padding: 0.5rem;
  }
  .gymark-popup-card {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    grid-template-rows: 150px 1fr;
    border-radius: 12px;
  }
  .gymark-popup-content {
    padding: 1.25rem 1rem 1.5rem;
  }
  .gymark-popup-inner h3 {
    font-size: 1.5rem;
  }
  .gymark-popup-inner .popup-subtitle {
    font-size: 0.78rem;
  }
  .gymark-popup-discount {
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
  }
  .gymark-popup-form input[type="email"] {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }
  .gymark-popup-form button[type="submit"] {
    padding: 0.65rem;
    font-size: 0.8rem;
  }
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonio-card {
  background: var(--bg-primary, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
html.dark .testimonio-card {
  background: #1e1e21;
  border-color: #2a2a2d;
}
html.dark .testimonio-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.testimonio-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonio-avatar,
.testimonio-avatar-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonio-avatar {
  object-fit: cover;
  border: 2px solid var(--border, #e2e8f0);
}
html.dark .testimonio-avatar {
  border-color: #3a3a3d;
}
.testimonio-avatar-fallback {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonio-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.testimonio-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.dark .testimonio-name {
  color: #e4e4e7;
}
.testimonio-product {
  font-size: 0.8rem;
  color: var(--text-tertiary, #94a3b8);
}
.testimonio-product a {
  color: var(--primary, #1a1a2e);
  text-decoration: none;
  font-weight: 500;
}
.testimonio-product a:hover {
  text-decoration: underline;
}
html.dark .testimonio-product {
  color: #71717a;
}
html.dark .testimonio-product a {
  color: #60a5fa;
}
.testimonio-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
}
.testimonio-text {
  color: var(--text-secondary, #64748b);
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex: 1;
}
html.dark .testimonio-text {
  color: #a1a1aa;
}
@media (max-width: 640px) {
  .testimonios-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .testimonio-card {
    padding: 1.25rem;
  }
}
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.cat-btn {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--surface-100, #f3f4f6);
  color: var(--text-secondary, #6b7280);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cat-btn:hover {
  background: var(--surface-200, #e5e7eb);
}
.cat-btn.active {
  background: var(--primary, #070709);
  color: #fff;
}
.cat-count {
  font-size: 0.6875rem;
  opacity: 0.7;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.blog-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-100, #f3f4f6);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary, #070709);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--text-primary, #070709);
  margin: 0 0 0.5rem;
  transition: color 0.15s ease;
}
.blog-card:hover .blog-card-cta,
.blog-card:hover .blog-card-title {
  color: var(--accent, #047857);
}
.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary, #6b7280);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.blog-content a,
.blog-tag {
  color: var(--accent, #047857);
}
.blog-content blockquote,
.blog-tag {
  background: var(--surface-100, #f0fdf4);
}
.blog-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}
.blog-card-cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary, #070709);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.blog-search-box input,
.page-btn {
  border: 1px solid var(--border, #e5e7eb);
  background: var(--surface, #fff);
}
.page-btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  color: var(--text-secondary, #6b7280);
  cursor: pointer;
  transition: all 0.15s ease;
}
.page-btn:hover {
  background: var(--surface-100, #f3f4f6);
}
.page-btn.active {
  border-color: var(--primary, #070709);
  pointer-events: none;
}
.page-dots {
  padding: 0.5rem 0.25rem;
  color: var(--text-muted, #9ca3af);
}
.blog-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 2rem;
}
.blog-article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 0.75rem;
}
.blog-article-cat {
  background: var(--primary, #070709);
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 0.25rem;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.blog-article-title,
.blog-content h2 {
  letter-spacing: 0.03em;
  color: var(--text-primary, #070709);
}
.blog-article-title {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}
.blog-article-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary, #6b7280);
  line-height: 1.6;
  margin: 0;
}
.blog-card-cat-sm {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent, #047857);
}
.blog-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-primary, #1f2937);
}
.blog-content h2 {
  font-family: "Bebas Neue", "Barlow", Arial, sans-serif;
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}
.blog-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.blog-content p {
  margin: 0 0 1.25rem;
}
.blog-content ol,
.blog-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.blog-content li {
  margin-bottom: 0.5rem;
}
.blog-content img {
  max-width: 100%;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}
.blog-content blockquote {
  border-left: 4px solid var(--accent, #047857);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: var(--text-secondary, #374151);
}
.blog-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-content h3,
.blog-content strong,
.blog-related-info h4 {
  font-weight: 700;
  color: var(--text-primary, #070709);
}
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.blog-content td,
.blog-content th {
  border: 1px solid var(--border, #e5e7eb);
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-size: 0.9375rem;
}
.blog-content th {
  background: var(--surface-100, #f3f4f6);
  font-weight: 700;
}
.blog-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border, #e5e7eb);
}
.blog-share-btn,
.blog-share-label {
  color: var(--text-secondary, #6b7280);
}
.blog-share-label {
  font-size: 0.8125rem;
  font-weight: 700;
}
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--surface-100, #f3f4f6);
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.blog-share-btn:hover,
.page-btn.active {
  background: var(--primary, #070709);
  color: #fff;
}
.blog-related-title {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  margin: 3rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border, #e5e7eb);
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.blog-related-card {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, #e5e7eb);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}
.blog-related-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.blog-related-card img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.blog-related-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.blog-related-info h4 {
  font-size: 0.875rem;
  line-height: 1.3;
  margin: 0;
}
.blog-search-box {
  position: relative;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}
.blog-search-box input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-primary, #1f2937);
  outline: 0;
  transition: border-color 0.15s;
}
.blog-search-box input:focus {
  border-color: var(--primary, #070709);
}
.blog-search-box svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--text-muted, #9ca3af);
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .blog-article-title {
    font-size: 1.75rem;
  }
  .blog-hero-img {
    max-height: 280px;
    border-radius: 0.75rem;
  }
  .blog-content {
    font-size: 1rem;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
}
.dark .blog-card {
  background: var(--surface, #1a1a1f);
  border-color: var(--border, #2d2d35);
}
.dark .blog-card-body {
  color: var(--text-primary, #e5e7eb);
}
.dark .blog-card-title,
.dark .blog-content h2,
.dark .blog-content h3,
.dark .blog-content strong {
  color: var(--text-primary, #f3f4f6);
}
.dark .cat-btn {
  background: var(--surface-100, #27272a);
  color: var(--text-secondary, #a1a1aa);
}
.dark .blog-share-btn:hover,
.dark .cat-btn.active,
.dark .page-btn.active {
  background: #fff;
  color: #070709;
}
.dark .blog-content {
  color: var(--text-primary, #e5e7eb);
}
.dark .blog-content blockquote {
  background: var(--surface-100, #1f2937);
}
.dark .blog-share-btn {
  background: var(--surface-100, #27272a);
  color: var(--text-secondary, #a1a1aa);
}
.dark .blog-search-box input,
.dark .page-btn {
  background: var(--surface, #1a1a1f);
  border-color: var(--border, #2d2d35);
}
.dark .page-btn {
  color: var(--text-secondary, #a1a1aa);
}
.dark .page-btn.active {
  border-color: #fff;
}
.dark .blog-search-box input {
  color: var(--text-primary, #e5e7eb);
}
.dark .blog-tag {
  background: var(--surface-100, #1f2937);
  color: var(--accent, #10b981);
}
