/* Store Header Styles - Twitter Style */
.store-header-section {
  position: relative;
  margin-bottom: 1rem;
}

/* Cover Image - Full width, fixed height */
.store-cover-container {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

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

.store-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  color: rgba(255, 255, 255, 0.7);
}

/* Profile Section - Below cover */
.store-profile-section {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 15px 15px;
  margin-top: -60px;
  z-index: 10;
  border-radius: 20px 20px 0 0;
}

[data-theme="dark"] .store-profile-section {
  background: rgba(20, 20, 20, 0.65);
}

.store-profile-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 15px;
}

/* Avatar - Overlaps cover (Twitter style) */
.store-avatar-wrapper {
  flex-shrink: 0;
}

.store-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card-bg, #fff);
  border: 4px solid var(--card-bg, #fff);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.store-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF6B35, #F7931E);
  color: white;
}

/* Store Info */
.store-info {
  flex: 1;
  min-width: 200px;
  padding-top: 10px;
}

.store-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--text-color, #000);
}

.store-type {
  font-size: 0.9rem;
  color: var(--text-muted, #666);
  margin: 0 0 3px;
}

.store-location {
  font-size: 0.85rem;
  color: var(--text-muted, #666);
  margin: 0;
}

/* Contact Buttons */
.store-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.store-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.store-contact-btn i {
  font-size: 0.9rem;
}

.phone-btn {
  background: #28a745;
  color: white;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.email-btn {
  background: #dc3545;
  color: white;
}

.website-btn {
  background: #6f42c1;
  color: white;
}

.share-btn {
  background: #ffc107;
  color: #000;
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .store-cover-container {
    height: 150px;
  }
  
  .store-profile-section {
    margin-top: -50px;
  }
  
  .store-profile-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .store-avatar {
    width: 80px;
    height: 80px;
  }
  
  .store-info {
    text-align: center;
    padding-top: 5px;
  }
  
  .store-name {
    font-size: 1.25rem;
  }
  
  .store-contact-buttons {
    justify-content: center;
  }
  
  .store-contact-btn span {
    display: none;
  }
  
  .store-contact-btn {
    padding: 10px;
    border-radius: 50%;
  }
  
  .store-contact-btn i {
    font-size: 1rem;
  }
}

/* Legacy support - keep old classes working */
.store-cover-image {
  width: 100%;
  height: 100%;
}

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

/* Floating Contact Info (legacy) */
.floating-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.floating-contact-item {
  position: relative;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-btn::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.5s ease;
}

.floating-btn:hover::before {
  left: 100%;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: white;
}

.floating-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.floating-btn:hover i {
  transform: scale(1.2);
}

.contact-label {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Specific button colors */
.phone-item .floating-btn {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.8), rgba(32, 201, 151, 0.8));
  border-color: rgba(40, 167, 69, 0.6);
}

.whatsapp-item .floating-btn {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.8), rgba(18, 140, 126, 0.8));
  border-color: rgba(37, 211, 102, 0.6);
}

.email-item .floating-btn {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.8), rgba(200, 35, 51, 0.8));
  border-color: rgba(220, 53, 69, 0.6);
}

.website-item .floating-btn {
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.8), rgba(90, 50, 163, 0.8));
  border-color: rgba(111, 66, 193, 0.6);
}

.share-item .floating-btn {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.8), rgba(255, 152, 0, 0.8));
  border-color: rgba(255, 193, 7, 0.6);
  border: 1px solid rgba(255, 193, 7, 0.6);
  cursor: pointer;
}

.share-item .floating-btn:hover {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 152, 0, 0.9));
  border-color: rgba(255, 193, 7, 0.8);
}

.share-item .floating-btn.share-success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(32, 201, 151, 0.9));
  border-color: rgba(40, 167, 69, 0.8);
  animation: successPulse 0.5s ease;
}

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

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Store Description Section */
.store-description-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.01) 0%, rgba(118, 75, 162, 0.01) 100%);
  position: relative;
  overflow: hidden;
}

.store-description-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23764ba2" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23667eea" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23764ba2" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.description-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  animation: slideInUp 0.6s ease-out;
}

.description-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.1), transparent, rgba(118, 75, 162, 0.1), transparent);
  animation: rotate 20s linear infinite;
  opacity: 0.3;
}

.description-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.description-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.description-icon {
  font-size: 1.5rem;
  color: #667eea;
  margin-bottom: 0.75rem;
  opacity: 0.5;
  animation: none;
}

.description-text {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  font-style: italic;
  position: relative;
  opacity: 0.8;
}

.description-decoration {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  margin: 1rem auto 0;
  border-radius: 1px;
  position: relative;
  opacity: 0.6;
}

.description-decoration::before,
.description-decoration::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #667eea;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

.description-decoration::before {
  left: -12px;
}

.description-decoration::after {
  right: -12px;
}

/* Additional animations */
@keyframes slideInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

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

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



/* Store Search Bar */
.store-search-container {
  animation: fadeInDown 0.6s ease-out;
}

.store-search-container form {
  position: relative;
}

.store-search-container .form-control {
  height: 50px;
  border-radius: 25px;
  padding: 0 60px 0 1.5rem;
  font-size: 1rem;
  border: 2px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
  width: 100%;
}

.store-search-container .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.store-search-container .search-float-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  width: 42px;
  min-width: 42px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-search-container .search-float-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 20px 0 rgba(102,126,234,0.25);
}

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

/* Facet Bubbles */
.facets-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.facet-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 50px;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.facet-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
  transition: left 0.5s ease;
}

.facet-bubble:hover::before {
  left: 100%;
}

.facet-bubble:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  color: var(--text-color);
  text-decoration: none;
}

.facet-bubble.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: #764ba2;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.facet-bubble.active:hover {
  background: linear-gradient(135deg, #5568d3, #6639a0);
  transform: translateY(-2px) scale(1.05);
  color: white;
}

.facet-bubble.active .facet-count {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.facet-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.4rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

/* Store Ads Section */
.empty-state {
  padding: 4rem 1rem;
}

.empty-state i {
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .store-cover-container {
      height: 250px;
      overflow: visible;
  }
  
  .store-name {
      font-size: 2.25rem;
  }
  
  .store-avatar {
      width: 110px !important;
      height: 110px !important;
      margin: 0 auto 10px !important;
      border-radius: 50%;
      overflow: hidden;
      position: relative;
      z-index: 100;
  }
  
  .store-avatar img {
      width: 100% !important;
      height: 100% !important;
      display: block !important;
      object-fit: cover !important;
      border-radius: 50% !important;
      border: 3px solid rgba(255,255,255,.85) !important;
  }
  
  .store-avatar-placeholder {
      width: 100% !important;
      height: 100% !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      border-radius: 50% !important;
      background: rgba(0,0,0,0.5) !important;
  }
  
  .store-profile-overlay {
      padding: 1rem 0 2rem 0;
      z-index: 50;
  }
  
  .store-info {
      text-align: center;
  }
  
  .floating-contact-info {
      justify-content: center;
      gap: 0.75rem;
  }
  
  .floating-btn {
      padding: 0.6rem 1rem;
      font-size: 0.85rem;
  }
  
  .store-description-section {
      padding: 1.5rem 0;
  }
  
  .description-card {
      padding: 1.25rem;
      margin: 0 1rem;
  }
  
  .description-text {
      font-size: 0.95rem;
  }
  
  .description-icon {
      font-size: 1.25rem;
  }
  
  .store-search-container .form-control {
      height: 45px;
      font-size: 0.95rem;
      padding: 0 55px 0 1.25rem;
  }
  
  .store-search-container .search-float-btn {
      height: 38px;
      width: 38px;
      min-width: 38px;
  }
  
  .facets-container {
      gap: 0.5rem;
      padding: 0 0.5rem;
  }
  
  .facet-bubble {
      font-size: 0.85rem;
      padding: 0.45rem 0.85rem;
  }
  
  .facet-count {
      min-width: 20px;
      height: 20px;
      font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .store-cover-container {
      height: 250px;
      overflow: visible;
  }
  
  .store-name {
      font-size: 1.75rem;
  }

  .store-avatar {
      width: 90px !important;
      height: 90px !important;
      margin: 0 auto 10px !important;
      border-radius: 50%;
      overflow: hidden;
      position: relative;
      z-index: 100;
  }
  
  .store-avatar img {
      width: 100% !important;
      height: 100% !important;
      display: block !important;
      object-fit: cover !important;
      border-radius: 50% !important;
      border: 3px solid rgba(255,255,255,.85) !important;
  }
  
  .store-avatar-placeholder {
      width: 100% !important;
      height: 100% !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      border-radius: 50% !important;
      background: rgba(0,0,0,0.5) !important;
  }
  
  .store-profile-overlay {
      padding: 1rem 0 1.5rem 0;
      z-index: 50;
  }
  
  .store-info {
      text-align: center;
      margin-top: 1rem;
  }
  
  .floating-contact-info {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
  }
  
  .floating-btn {
      padding: 0.5rem 0.75rem;
      font-size: 0.8rem;
      min-width: 120px;
      flex: 1;
      max-width: 150px;
  }
  
  .store-description-section {
      padding: 1rem 0;
  }
  
  .description-card {
      padding: 1rem;
      margin: 0 0.5rem;
  }
  
  .description-text {
      font-size: 0.9rem;
  }
  
  .description-icon {
      font-size: 1rem;
  }
  
  .store-search-container .form-control {
      height: 42px;
      font-size: 0.9rem;
      padding: 0 50px 0 1rem;
  }
  
  .store-search-container .search-float-btn {
      height: 36px;
      width: 36px;
      min-width: 36px;
  }
  
  .facets-container {
      gap: 0.4rem;
  }
  
  .facet-bubble {
      font-size: 0.8rem;
      padding: 0.4rem 0.75rem;
  }
  
  .facet-count {
      min-width: 18px;
      height: 18px;
      font-size: 0.65rem;
  }
}

/* View Toggle Button (reused from search) */
.view-toggle-btn {
  margin: 1rem 0;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color, #0d6efd);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.view-toggle-btn:hover {
  background: var(--primary-color-hover, #0b5ed7);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.view-toggle-btn i { font-size: 1rem; }

/* Map container (reuse class for consistency) */
.search-map-container {
  width: 100%;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin: 1rem 0;
  background-color: var(--bg-secondary);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.search-map-container .leaflet-container { width: 100%; height: 100%; border-radius: 12px; }

.search-map-container.is-visible { opacity: 1; transform: scale(1); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.search-map-container.is-exiting { opacity: 0; transform: scale(0.98); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* Popup should look like cards */
.map-popup { min-width: 190px; max-width: 190px; padding: 0; margin: 0; overflow: hidden; }
.map-popup-hero { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; }
.map-popup .result-card { height: 260px; }
.map-popup .result-desc { font-size: 0.9rem; }
.map-popup .result-desc { font-size: 0.63rem; } /* reduced ~30% */

/* Transparent Leaflet popup chrome */
.search-map-container .leaflet-popup-content-wrapper,
.search-map-container .leaflet-popup-tip {
  background: transparent;
  box-shadow: none;
  border: none;
}
.search-map-container .leaflet-popup-content { margin: 0; }

/* Cluster styles (mirroring search.css) */
.marker-cluster { background: transparent !important; border: none !important; border-radius: 0 !important; width: auto !important; height: auto !important; box-shadow: none !important; }
.marker-cluster div:not(.cluster-marker) { background: transparent !important; border: none !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }

.cluster-marker {
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: content-box;
  background: var(--primary-color, #0d6efd);
}

.cluster-marker::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cluster-marker:hover { transform: scale(1.08); z-index: 1000; box-shadow: 0 8px 22px rgba(13,110,253,0.3), 0 4px 10px rgba(0,0,0,0.2); }

.cluster-small { min-width: 35px; min-height: 35px; }
.cluster-medium { min-width: 50px; min-height: 50px; }
.cluster-large { min-width: 60px; min-height: 60px; }
.cluster-xlarge { min-width: 70px; min-height: 70px; }

.cluster-count { color: #ffffff; font-weight: 700; font-size: 0.95rem; line-height: 1; text-align: center; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-shadow: 0 1px 1px rgba(0,0,0,0.25); }
.cluster-small .cluster-count { font-size: 0.8rem; }
.cluster-medium .cluster-count { font-size: 0.95rem; }
.cluster-large .cluster-count { font-size: 1.05rem; }
.cluster-xlarge .cluster-count { font-size: 1.15rem; }

/* Cluster popup list */
.cluster-popup { min-width: 200px; max-width: 300px; max-height: 400px; overflow-y: auto; }
.cluster-popup h6 { margin: 0 0 0.75rem 0; font-size: 1rem; font-weight: 600; color: var(--text-color); }
.cluster-popup-list { list-style: none; padding: 0; margin: 0; }
.cluster-popup-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.cluster-popup-list li:last-child { border-bottom: none; }
.cluster-popup-list li a { color: var(--primary-color, #0d6efd); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.cluster-popup-list li a:hover { color: var(--primary-color-hover, #0b5ed7); text-decoration: underline; }

/* Price marker pill (reused) */
.price-marker-wrapper { transform: translate(-50%, -100%); }
.price-marker {
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  white-space: nowrap;
  user-select: none;
}
.price-marker-text { display: inline-flex; align-items: baseline; gap: 2px; }
.price-marker-currency { opacity: 0.9; }

/* Floating Mobile QR Code */
.floating-mobile-qr {
  position: fixed;
  top: 76px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.floating-mobile-qr:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.mobile-qr-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

.mobile-qr-label i {
  font-size: 1.1rem;
  color: #667eea;
}

/* Dark mode styles for floating QR */
[data-theme="dark"] .floating-mobile-qr {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .floating-mobile-qr:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .mobile-qr-label {
  color: var(--text-color);
}

[data-theme="dark"] .mobile-qr-label i {
  color: #8b9aff;
}

.floating-mobile-qr #qrcode {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-mobile-qr #qrcode img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .floating-mobile-qr {
    display: none;
  }
}        .profile-avatar, .cover-image-container {
            position: relative;
            cursor: pointer;
        }
        
        .drop-zone-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 123, 255, 0.8);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 8px;
            z-index: 10;
        }
        
        .profile-avatar .drop-zone-overlay {
            border-radius: 50%;
            width: 120px;
            height: 120px;
            margin: 0 auto;
        }
        
        .cover-image-container .drop-zone-overlay {
            border-radius: 8px;
        }
        
        .drop-zone-overlay i {
            margin-bottom: 8px;
        }
        
        .profile-avatar:hover, .cover-image-container:hover {
            opacity: 0.9;
        }
        
        /* Store badge preview styles */
        #storeBadgePreview .author-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.35rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8125rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        
        #storeBadgePreview .store-badge {
            background-color: #e8f5e9;
            color: #2e7d32;
            border: 1px solid #a5d6a7;
        }
        
        #storeBadgePreview .store-badge:hover {
            background-color: #c8e6c9;
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
        }
        
        #storeBadgePreview .store-badge i {
            font-size: 0.875rem;
        }

        /* Store Lists Management Styles */
        .list-tab-btn.active {
            font-weight: 600;
        }
        
        .list-items-grid .list-item-card {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.2s ease;
            position: relative;
        }
        
        .list-items-grid .list-item-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }
        
        .list-item-card .list-item-image {
            width: 100%;
            height: 120px;
            object-fit: cover;
            background-color: #f5f5f5;
        }
        
        .list-item-card .list-item-placeholder {
            width: 100%;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f5f5f5;
            color: #999;
        }
        
        .list-item-card .list-item-body {
            padding: 0.75rem;
        }
        
        .list-item-card .list-item-title {
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .list-item-card .list-item-price {
            font-size: 0.8125rem;
            color: #28a745;
            font-weight: 600;
        }
        
        .list-item-card .btn-remove-item {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 28px;
            height: 28px;
            padding: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.9);
            border: 1px solid #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        
        .list-item-card:hover .btn-remove-item {
            opacity: 1;
        }
        
        .list-item-card .btn-remove-item:hover {
            background: #dc3545;
            color: #fff;
            border-color: #dc3545;
        }
        
        /* Modal article grid styles */
        #availableArticlesGrid .article-select-card {
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }
        
        #availableArticlesGrid .article-select-card:hover {
            border-color: #007bff;
            box-shadow: 0 2px 8px rgba(0,123,255,0.2);
        }
        
        #availableArticlesGrid .article-select-card.in-list {
            border-color: #28a745;
            background-color: rgba(40, 167, 69, 0.05);
        }
        
        #availableArticlesGrid .article-select-card.in-list::after {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: 8px;
            right: 8px;
            width: 24px;
            height: 24px;
            background: #28a745;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        
        #availableArticlesGrid .article-select-card.selected {
            border-color: #007bff;
            background-color: rgba(0, 123, 255, 0.1);
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
        }
        
        #availableArticlesGrid .article-select-card.selected::after {
            content: '\f058';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: 8px;
            right: 8px;
            width: 24px;
            height: 24px;
            background: #007bff;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        
        #availableArticlesGrid .article-select-card.in-list {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        #availableArticlesGrid .article-image {
            width: 100%;
            height: 100px;
            object-fit: cover;
            background-color: #f5f5f5;
        }
        
        #availableArticlesGrid .article-placeholder {
            width: 100%;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f5f5f5;
            color: #999;
        }
        
        #availableArticlesGrid .article-body {
            padding: 0.5rem;
        }
        
        #availableArticlesGrid .article-title {
            font-size: 0.8125rem;
            font-weight: 500;
            margin-bottom: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        #availableArticlesGrid .article-price {
            font-size: 0.75rem;
            color: #28a745;
            font-weight: 600;
        }
