/* Shop Info Section - Shopee Style Design - Mobile First */

/* Base Shop Info Container */
.shop-info-section {
}

/* Shop Info Container */
.shop-info-container {
  margin: 0 auto;
  padding: 0 0.5rem;
  padding-top: 20px;
}

/* Shop Header Card - Minimal White Design */
.shop-header-card {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.shop-header-card::before {
  display: none; /* Remove gradient overlay */
}

.shop-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* Shop Avatar */
.shop-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.shop-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.2);
}

.shop-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
}

/* Shop Info Content - Dark Text */
.shop-info-content {
  flex: 1;
  color: #333;
}

.shop-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
}

.shop-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0rem;
  color: #28a745;
  font-size: clamp(0.8rem, 0.7385rem + 0.3077vw, 1rem);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.shop-quick-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.quick-stat i {
  color: #E60012;
}

/* Shop Wall Link Button */
.shop-wall-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #E60012;
  color: white;
  padding: 5px 7px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

.shop-wall-link:hover {
  background: #c4000e;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
  text-decoration: none;
}

/* Bento Grid Layout */
.shop-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Shop Cards */
.shop-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.shop-card-header {
  padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 2px solid #f8f9fa;
}

.shop-card-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #E60012 0%, #ff6b35 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.shop-card-title {
  flex: 1;
}

.shop-card-title h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
  color: #333;
}

.shop-card-title p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.shop-card-content {
  padding: 0.8rem 1.2rem 1.2rem 1.2rem;
}

/* Shop Stats Card */
.shop-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.shop-stat-item {
  text-align: center;
  padding: 0.8rem;
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.shop-stat-item:hover {
  background: linear-gradient(145deg, #e9ecef 0%, #dee2e6 100%);
}

.shop-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #E60012;
  margin-bottom: 0.2rem;
  display: block;
}

.shop-stat-label {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

/* Trust Indicators Card */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  color: #E60012;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(230, 0, 18, 0.2);
}

/* Action Buttons Card */
.shop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.shop-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary-action {
  background: linear-gradient(135deg, #E60012 0%, #ff6b35 100%);
  color: white;
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #c4000e 0%, #e55a2b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
  color: white;
}

.btn-secondary-action {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.3);
}

.btn-secondary-action:hover {
  background: #6c757d;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Shop Policies */
.shop-policies {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.shop-policy-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem;
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  font-size: 0.8rem;
  color: #555;
}

.policy-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Responsive Design - Tablet */
@media (min-width: 576px) {
  .shop-info-container {
    padding: 0;
  }

  
  .shop-avatar {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
  }
  
  .shop-verified-badge {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  
  .shop-name {
    font-size: clamp(1.2rem, 1.1077rem + 0.4615vw, 1.5rem);
  }
  
  .shop-bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  
  .shop-actions {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* Responsive Design - Desktop */
@media (min-width: 768px) {
  
  
  .shop-bento-grid {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }
  
  .shop-stats-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  
  .shop-card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .shop-card-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .shop-bento-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .shop-actions {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .shop-action-btn {
    padding: 1rem 1.2rem;
  }
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes cardFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0px); }
}

.shop-card:hover {
  animation: cardFloat 0.6s ease;
}

/* Loading states */
.shop-loading {
  opacity: 0.7;
  pointer-events: none;
}

.shop-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #E60012;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

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

/* Focus states for accessibility */
.shop-action-btn:focus {
  outline: 2px solid #E60012;
  outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .shop-card {
    border: 2px solid #333;
  }
  
  .shop-header-card {
    border: 2px solid #fff;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile specific optimizations */
@media (max-width: 575px) {
  .shop-info-section {
  }

  
  .shop-header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .shop-avatar {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
  }
  
  .shop-name {
    font-size: 1.1rem;
    justify-content: center;
  }
  .shop-status {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
  
  .shop-quick-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .shop-wall-link {
    align-self: center;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
  
  .shop-bento-grid {
    gap: 0.8rem;
  }
  
  .shop-card {
    border-radius: 15px;
  }
  
  .shop-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .shop-stat-value {
    font-size: 1.2rem;
  }
  
  .shop-actions {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  
  .shop-action-btn {
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .trust-indicators {
    justify-content: center;
  }
  
  .trust-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}
