/* Modern Shop Page Styles */
.modern-shop-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 0;
  margin: 0;
}

/* Hero Section */
.modern-hero-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(211, 99, 83, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 0 20px;
}

.shop-brand-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease;
}

.shop-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.shop-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  font-weight: 300;
}

.shop-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.modern-btn {
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  text-decoration: none;
}

.modern-btn.primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modern-btn.primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.modern-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.modern-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Menu Section */
.modern-menu-section {
  padding: 40px 0;
  background: white;
  position: relative;
}

.modern-menu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-title i {
  color: #d36353;
  font-size: 2rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
}

.modern-menu-tabs {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 15px 0;
}

.menu-tab {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-content {
  background: #f8f9fa;
  padding: 15px 25px;
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tab-name {
  font-weight: 600;
  color: #666;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #d36353;
  transition: width 0.3s ease;
}

.menu-tab.active .tab-content {
  background: #d36353;
  border-color: #d36353;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 99, 83, 0.3);
}

.menu-tab.active .tab-name {
  color: white;
}

.menu-tab.active .tab-indicator {
  width: 100%;
}

.menu-tab:hover:not(.active) .tab-content {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-state i {
  font-size: 4rem;
  color: #d36353;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

/* Categories Section */
.modern-categories-section {
  padding: 20px 0;
  background: #f8f9fa;
}

.categories-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

/* Articles Section */
.modern-articles-section {
  padding: 30px 0;
  background: white;
  min-height: 300px;
}

.modern-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  animation: pulse 2s infinite;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-content {
  background: linear-gradient(135deg, #333, #555);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.scroll-to-top-btn:hover .scroll-top-content {
  background: linear-gradient(135deg, #d36353, #c04f40);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 99, 83, 0.4);
}

.cart-content {
  background: linear-gradient(135deg, #d36353, #c04f40);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(211, 99, 83, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
}

.floating-cart-btn:hover .cart-content {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(211, 99, 83, 0.5);
}

.cart-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-hero-section {
    height: 50vh;
    min-height: 300px;
  }
  
  .shop-title {
    font-size: 2rem;
  }
  
  .shop-brand-card {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .modern-menu-tabs {
    gap: 10px;
  }
  
  .tab-content {
    padding: 12px 20px;
  }
  
  .modern-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .floating-cart-btn {
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-to-top-btn {
    bottom: 20px;
    left: 20px;
  }
  
  .scroll-top-content {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .cart-content {
    padding: 12px 20px;
  }
  
  .cart-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .shop-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .modern-btn {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

/* Modern Modal Styles */
.modern-modal .modal-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
}

.article-image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-image:hover {
  transform: scale(1.05);
}

.article-info {
  padding: 30px;
  background: white;
}

.article-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.article-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.article-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #d36353;
}

.currency {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 50px;
  border: 2px solid #e9ecef;
}

.qty-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: #d36353;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.qty-btn:hover {
  background: #c04f40;
  transform: scale(1.1);
}

.qty-btn:active {
  transform: scale(0.95);
}

.quantity {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  min-width: 30px;
  text-align: center;
}

.modern-add-btn {
  background: linear-gradient(135deg, #d36353, #c04f40);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(211, 99, 83, 0.3);
}

.modern-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 99, 83, 0.4);
}

.modern-add-btn:active {
  transform: translateY(0);
}

/* Article Cards */
.article-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #f0f0f0;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.article-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.1);
}

.article-card-content {
  padding: 20px;
}

.article-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-card-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #d36353;
}

.article-add-btn {
  background: #d36353;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.article-add-btn:hover {
  background: #c04f40;
  transform: scale(1.1);
}

/* Category Pills */
.category-pill {
  background: #f8f9fa;
  color: #666;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.category-pill:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.category-pill.active {
  background: #d36353;
  color: white;
  border-color: #d36353;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

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

/* Modern Shop Details Modal */
.modern-shop-modal .modern-modal-content {
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.modal-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 99, 83, 0.8), rgba(0, 0, 0, 0.6));
}

.modal-title-section {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  z-index: 2;
}

.modal-shop-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-shop-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.modal-body {
  padding: 30px;
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.info-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #d36353;
}

.info-card-header i {
  font-size: 1.2rem;
}

.info-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.info-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
}

.info-item i {
  color: #d36353;
  width: 16px;
}

.description-section {
  margin-top: 20px;
}

.shop-description {
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Modern Share Modal */
.modern-share-modal .modern-modal-content {
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
}

.share-header {
  background: linear-gradient(135deg, #d36353, #c04f40);
  color: white;
  padding: 30px;
  text-align: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-subtitle {
  margin: 0;
  opacity: 0.9;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  padding: 30px;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 15px;
  border-radius: 15px;
  text-decoration: none;
  color: #333;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  cursor: pointer;
}

.share-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.share-option.facebook:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
}

.share-option.whatsapp:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

.share-option.telegram:hover {
  border-color: #0088cc;
  background: rgba(0, 136, 204, 0.1);
}

.share-option.linkedin:hover {
  border-color: #0077b5;
  background: rgba(0, 119, 181, 0.1);
}

.share-option.copy-link:hover {
  border-color: #d36353;
  background: rgba(211, 99, 83, 0.1);
}

.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.share-option.facebook .share-icon {
  background: #1877f2;
  color: white;
}

.share-option.whatsapp .share-icon {
  background: #25d366;
  color: white;
}

.share-option.telegram .share-icon {
  background: #0088cc;
  color: white;
}

.share-option.linkedin .share-icon {
  background: #0077b5;
  color: white;
}

.share-option.copy-link .share-icon {
  background: #d36353;
  color: white;
}

.share-option span {
  font-weight: 500;
  font-size: 0.9rem;
}

.link-section {
  padding: 0 30px 30px;
}

.link-input-container {
  display: flex;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e9ecef;
}

.share-link-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: #666;
}

.copy-btn {
  background: #d36353;
  color: white;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #c04f40;
}

/* Mobile Modal Adjustments */
@media (max-width: 768px) {
  .modern-modal .modal-content {
    margin: 10px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .article-image-container {
    height: 200px;
  }
  
  .article-info {
    padding: 20px;
  }
  
  .article-title {
    font-size: 1.5rem;
  }
  
  .price-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .quantity-controls {
    justify-content: center;
  }

  .modal-header {
    height: 150px;
  }
  
  .modal-shop-title {
    font-size: 1.5rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .share-options {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
  
  .link-section {
    padding: 0 20px 20px;
  }
}
