/* Layout & Floating Actions Styles */
.announcement-phone {
  margin-inline-start: auto;
  opacity: 0.85;
}

.announcement-phone a {
  color: inherit;
  text-decoration: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-brand-logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 50%;
}

.lang-switcher-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.toast-success {
  border-color: var(--color-success);
  color: #10b981;
}

.toast-error {
  border-color: var(--color-danger);
  color: #ef4444;
}

.footer-desc {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-address {
  color: var(--color-text-secondary);
}

.footer-whatsapp-link {
  color: #25D366;
}

.footer-hours {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-top: 8px;
}

/* Floating Action Buttons */
.compolab-floating-actions {
  position: fixed;
  bottom: 25px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[dir="rtl"] .compolab-floating-actions {
  left: 24px;
  right: auto;
}

[dir="ltr"] .compolab-floating-actions {
  right: 24px;
  left: auto;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
}

.floating-btn svg {
  width: 26px;
  height: 26px;
}

.floating-btn-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-btn-fb {
  background: linear-gradient(135deg, #1877F2, #0D65D9);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.floating-btn-phone {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #07090e;
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.45);
}

.floating-btn:hover {
  transform: scale(1.15) translateY(-3px);
}

.floating-btn-wa:hover {
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

.floating-btn-fb:hover {
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.65);
}

.floating-btn-phone:hover {
  box-shadow: 0 10px 28px rgba(0, 242, 254, 0.7);
}

.floating-tooltip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .floating-tooltip {
  right: 62px;
}

[dir="ltr"] .floating-tooltip {
  left: 62px;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
}

@media (max-width: 640px) {
  .compolab-floating-actions {
    bottom: 18px;
    gap: 10px;
  }

  [dir="rtl"] .compolab-floating-actions {
    left: 16px;
  }

  [dir="ltr"] .compolab-floating-actions {
    right: 16px;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
  }

  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* Home Categories & Brands Media */
.category-card-thumb {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 2.2rem;
}

.category-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
}

.brands-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.brand-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 84px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(14, 17, 26, 0.75);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: var(--transition-fast);
}

.brand-logo-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.brand-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-fast);
}

.brand-strip-fallback {
  color: var(--color-text-secondary);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0 14px;
  text-align: center;
}

.brand-logo-card:hover .brand-strip-fallback {
  color: var(--color-primary);
}
