/*--------------------------------------------------------------
# Shop Page Styles
--------------------------------------------------------------*/
.shop-page {
  --shop-primary: var(--accent-color);
  --shop-secondary: color-mix(in srgb, var(--accent-color), #667eea 40%);
}

/*--------------------------------------------------------------
# Shop Hero Section
--------------------------------------------------------------*/
.shop-hero {
  padding: 80px 0 60px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.breadcrumb-nav a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
}

.breadcrumb-nav i {
  font-size: 0.7rem;
  opacity: 0.6;
}

.shop-identity {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;
}

.shop-logo-large {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--default-color), transparent 85%);
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.shop-logo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.shop-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 85%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 90%) 100%
  );
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
}

.shop-verified-badge i {
  font-size: 1.1rem;
}

.shop-name {
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 15px 0 10px;
  font-family: var(--heading-font);
  line-height: 1.2;
}

.shop-category-tag {
  display: inline-block;
  padding: 8px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-quick-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface-color);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.quick-info-item:hover {
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.quick-info-item i {
  font-size: 1.2rem;
  color: var(--accent-color);
}

.shop-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-top: 25px;
}

.shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.shop-actions .btn-primary,
.shop-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.shop-actions .btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--shop-secondary) 100%
  );
  color: var(--contrast-color);
  box-shadow: 0 6px 20px
    color-mix(in srgb, var(--accent-color), transparent 60%);
}

.shop-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px
    color-mix(in srgb, var(--accent-color), transparent 50%);
}

.shop-actions .btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.shop-actions .btn-secondary:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.btn-icon-action {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  background: transparent;
  color: var(--default-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-icon-action:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: scale(1.1);
}

/* Shop Stats Card */
.shop-stats-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 8px 30px
    color-mix(in srgb, var(--default-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  position: sticky;
  top: 100px;
}

.shop-stats-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-family: var(--heading-font);
}

.stat-item-detailed {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}

.stat-item-detailed:last-of-type {
  border-bottom: none;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 90%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 95%) 100%
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.stat-content h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
  font-family: var(--heading-font);
}

.stat-content p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.shop-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}

.shop-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.quality-badge {
  background: color-mix(in srgb, #fbbf24, transparent 85%);
  color: #f59e0b;
}

.eco-badge {
  background: color-mix(in srgb, #10b981, transparent 85%);
  color: #059669;
}

.local-badge {
  background: color-mix(in srgb, #ef4444, transparent 85%);
  color: #dc2626;
}

/*--------------------------------------------------------------
# Shop Gallery Section
--------------------------------------------------------------*/
.shop-gallery .gallery-item-large,
.shop-gallery .gallery-item-small {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  height: 100%;
}

.shop-gallery .gallery-item-large {
  height: 500px;
}

.shop-gallery .gallery-item-small {
  height: 240px;
}

.shop-gallery .gallery-item-large img,
.shop-gallery .gallery-item-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-gallery .gallery-item-large:hover img,
.shop-gallery .gallery-item-small:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--default-color), transparent 20%) 0%,
    transparent 100%
  );
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-gallery .gallery-item-large:hover .gallery-overlay {
  opacity: 1;
}

/*--------------------------------------------------------------
# Shop Reviews Section
--------------------------------------------------------------*/
.shop-reviews {
  padding: 80px 0;
}

.reviews-summary {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 5px 20px
    color-mix(in srgb, var(--default-color), transparent 92%);
  position: sticky;
  top: 100px;
}

.average-rating {
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 2px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
  margin-bottom: 25px;
}

.average-rating h2 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-family: var(--heading-font);
  line-height: 1;
}

.average-rating .stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}

.average-rating .stars i {
  color: #fbbf24;
  font-size: 1.4rem;
}

.average-rating p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.rating-bar .bar {
  height: 8px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 10px;
  overflow: hidden;
}

.rating-bar .fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    var(--shop-secondary) 100%
  );
  border-radius: 10px;
  transition: width 0.8s ease;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.review-item {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 3px 15px
    color-mix(in srgb, var(--default-color), transparent 95%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.review-item:hover {
  box-shadow: 0 8px 25px
    color-mix(in srgb, var(--default-color), transparent 88%);
  transform: translateY(-3px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-color);
}

.reviewer-details h5 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 3px;
}

.review-date {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.review-rating i {
  color: #fbbf24;
  font-size: 1rem;
}

.review-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 15px;
}

.review-footer {
  padding-top: 12px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
}

.verified-purchase {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 500;
}

.verified-purchase i {
  font-size: 1rem;
}

/*--------------------------------------------------------------
# Contact Shop Section
--------------------------------------------------------------*/
.contact-info .info-item {
  margin-bottom: 25px;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-info .info-item:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateX(5px);
}

.contact-info .info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 90%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 95%) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.contact-info .info-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-info .info-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-family: var(--heading-font);
}

.contact-info .info-content p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
  margin: 0;
}

.social-contact h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.social-contact .social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-contact .social-icon:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Related Shops Section
--------------------------------------------------------------*/
.related-shops {
  padding: 80px 0;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 1200px) {
  .shop-stats-card {
    position: static;
    margin-top: 30px;
  }

  .reviews-summary {
    position: static;
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .shop-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .shop-name {
    font-size: 2.5rem;
  }

  .shop-quick-info {
    grid-template-columns: 1fr;
  }

  .shop-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .shop-hero {
    padding: 60px 0 40px;
  }

  .shop-logo-large {
    width: 100px;
    height: 100px;
  }

  .shop-name {
    font-size: 2rem;
  }

  .shop-stats-card,
  .reviews-summary {
    padding: 25px;
  }

  .shop-gallery .gallery-item-large {
    height: 300px;
  }

  .shop-gallery .gallery-item-small {
    height: 180px;
  }

  .average-rating h2 {
    font-size: 3rem;
  }

  .shop-actions .btn-primary,
  .shop-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .breadcrumb-nav {
    font-size: 0.8rem;
  }

  .shop-identity {
    gap: 20px;
  }

  .shop-name {
    font-size: 1.8rem;
  }

  .quick-info-item {
    font-size: 0.85rem;
  }

  .stat-content h5 {
    font-size: 1.1rem;
  }

  .review-header {
    flex-direction: column;
    gap: 10px;
  }
}
