/* ======================
   SHOP PAGE STYLING - NEWS DESIGN STYLE
   ====================== */

/* SHOP OVERVIEW SECTION */
.shop-overview {
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #fff;
}

.shop-overview h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: #000;
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
}

.shop-overview > p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  font-weight: 300;
  margin: 0 0 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* SHOP CARDS GRID */
.shop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  height: 100%;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

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

.shop-card:hover img {
  transform: scale(1.05);
}

.shop-card-content {
  padding: 1.75rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.shop-card h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #000;
  margin: 0 0 0.75rem;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.shop-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
  flex-grow: 1;
}

/* FAQ SECTION */
.faq-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fafafa;
}

.faq-section h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
  margin: 0 0 1rem;
  letter-spacing: 0;
}

.faq-section p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

.faq-section a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  transition: opacity 0.2s;
}

.faq-section a:hover {
  opacity: 0.6;
}

/* ======================
   CERAMIC SHOP - CATEGORY PAGES
   ====================== */

/* Category Header */
.category-header {
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
}

.category-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: #000;
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
}

.category-header p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  display: block;
  background-color: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

.category-bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover .category-bild {
  transform: scale(1.05);
}

.category-card-content {
  padding: 1.75rem;
  text-align: center;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-card-content h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  margin: 0;
  letter-spacing: 0.3px;
  padding: 0.65rem 1.5rem;
  border: 1.5px solid #000;
  border-radius: 50px;
  transition: all 0.25s ease;
  display: inline-block;
}

/* Hover nur auf die Pille selbst, nicht auf Card */
.category-card-content h2:hover {
  background-color: #000;
  color: #fff;
  transform: translateX(4px);
}

/* ======================
   WORKSHOPS PAGE
   ====================== */

/* Workshops Header */
.workshops-header {
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
}

.workshops-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: #000;
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
}

.workshops-header p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

/* Workshops Grid */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  height: 100%;
}

.workshop-card:hover {
  transform: translateY(-4px);
  border-color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

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

.workshop-card:hover img {
  transform: scale(1.05);
}

.workshop-card-content {
  padding: 1.75rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.workshop-card-content h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #000;
  margin: 0 0 0.75rem;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.workshop-card-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  font-weight: 300;
  flex-grow: 1;
}

/* Pillenform-Button wie auf News-Seite */
.workshop-cta {
  display: inline-block;
  margin-top: auto;
  padding: 0.65rem 1.5rem;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1.5px solid #000;
  border-radius: 50px;
  transition: all 0.25s ease;
  align-self: center;
  letter-spacing: 0.3px;
}

.workshop-cta:hover {
  background-color: #000;
  color: #fff;
  transform: translateX(4px);
}

/* ======================
   PRODUCT PAGES
   ====================== */

/* Product Header with Breadcrumb */
.product-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: #ccc;
}

.product-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  color: #000;
  margin: 0 0 0.75rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.product-header p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  font-weight: 300;
  margin: 0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  background-color: #fff;
}

.product-card {
  background-color: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #fafafa;
}

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

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.3rem 1rem;
  text-align: center;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: #000;
  margin: 0 0 0.5rem;
  letter-spacing: 0;
}

.product-info .price {
  font-weight: 400;
  color: #333;
  font-size: 1.05rem;
  margin: 0;
}

/* Product CTA Banner */
.product-cta-banner {
  background-color: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
  margin: 2rem 0 0;
}

.product-cta-banner h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  margin: 0 0 1rem;
  letter-spacing: 0;
}

.product-cta-banner p {
  font-size: 1.05rem;
  color: #555;
  margin: 0 0 2rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Pillenform-Button für CTA */
.product-cta-banner .cta-button {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border: 2px solid #000;
}

.product-cta-banner .cta-button:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Seasonal Note Section */
.seasonal-note {
  background-color: #fffbf0;
  border-left: 4px solid #f4b942;
  padding: 2rem;
  margin: 0 auto 3rem;
  max-width: 1200px;
}

.seasonal-note-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.seasonal-note-content h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #000;
  margin: 0 0 0.8rem;
  letter-spacing: 0;
}

.seasonal-note-content p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

/* Shop Banner */
.shop-banner {
  background-color: #fafafa;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.shop-banner h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 1rem;
}

.shop-banner p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Pillenform-Button */
.shop-banner-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.9rem 2.5rem;
  border: 2px solid #000;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.shop-banner-button:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ======================
   WORKSHOP/COURSE DETAIL PAGES
   ====================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.studio-section {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.studio-image {
  flex: 1 1 40%;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.studio-info {
  flex: 1 1 50%;
}

.studio-info h1 {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 1rem;
}

.studio-info p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
  margin-top: 1rem;
}

.tax-info {
  font-size: 0.9rem;
  color: #888;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dates Selection */
.dates {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.dates li {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid #e5e5e5;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fff;
}

.dates li:hover:not(.disabled) {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.dates li.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
  font-weight: 500;
}

.dates li.disabled {
  color: #999;
  text-decoration: line-through;
  pointer-events: none;
  border-color: #eee;
}

.dates li a {
  color: inherit;
  text-decoration: none;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quantity-selector button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.quantity-selector button:hover {
  background-color: #333;
  transform: scale(1.05);
}

.low-stock {
  color: #d88c00;
  margin-top: 1rem;
  font-weight: 500;
}

/* Description Section */
.description {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.description h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 1rem;
}

.description p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  font-weight: 300;
}

.important {
  color: #b00000;
  font-weight: 500;
}

.footnote {
  font-size: 0.9rem;
  color: #888;
  margin-top: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======================
   ANIMATION ON LOAD (wie News-Seite)
   ====================== */

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

.category-card,
.workshop-card,
.shop-card,
.product-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.category-card:nth-child(1),
.workshop-card:nth-child(1),
.shop-card:nth-child(1),
.product-card:nth-child(1) { animation-delay: 0.1s; }

.category-card:nth-child(2),
.workshop-card:nth-child(2),
.shop-card:nth-child(2),
.product-card:nth-child(2) { animation-delay: 0.2s; }

.category-card:nth-child(3),
.workshop-card:nth-child(3),
.shop-card:nth-child(3),
.product-card:nth-child(3) { animation-delay: 0.3s; }

.category-card:nth-child(4),
.workshop-card:nth-child(4),
.shop-card:nth-child(4),
.product-card:nth-child(4) { animation-delay: 0.4s; }

.category-card:nth-child(n+5),
.workshop-card:nth-child(n+5),
.shop-card:nth-child(n+5),
.product-card:nth-child(n+5) { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .workshop-card,
  .shop-card,
  .product-card {
    animation: none;
    opacity: 1;
  }
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */

@media (max-width: 768px) {
  .shop-overview,
  .category-header,
  .workshops-header,
  .product-header {
    padding: 3rem 1.5rem 2rem;
  }

  .shop-overview h1,
  .category-header h1,
  .workshops-header h1,
  .product-header h1 {
    font-size: 2rem;
  }

  .shop-overview > p,
  .category-header p,
  .workshops-header p,
  .product-header p {
    font-size: 1rem;
  }

  .shop-cards,
  .category-grid,
  .workshops-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .shop-card-image,
  .category-card-image,
  .workshop-card-image {
    height: 200px;
  }

  .shop-card-content,
  .category-card-content,
  .workshop-card-content {
    padding: 1.5rem;
  }

  .shop-card h2,
  .category-card-content h2,
  .workshop-card-content h2 {
    font-size: 1.2rem;
  }

  .studio-section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .studio-image {
    max-width: 350px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 1.5rem 3rem;
  }

  .product-image {
    height: 180px;
  }

  .product-info {
    padding: 1rem 0.8rem;
  }

  .product-info h3 {
    font-size: 1rem;
  }

  .product-info .price {
    font-size: 0.95rem;
  }

  .product-cta-banner,
  .shop-banner {
    padding: 2.5rem 1.5rem;
  }

  .product-cta-banner h2,
  .shop-banner h2 {
    font-size: 1.5rem;
  }

  .product-cta-banner p,
  .shop-banner p {
    font-size: 1rem;
  }

  .dates {
    flex-direction: column;
  }

  .dates li {
    width: 100%;
    text-align: center;
  }

  .breadcrumb {
    font-size: 0.85rem;
  }
}

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

/* Charity Badge */
.product-info .charity-note {
  display: inline-block;
  font-size: 0.75rem;
  color: #666;
  background-color: #f5f5f5;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-top: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  border: 1px solid #e0e0e0;
}

/* Optional: Icon-Version mit Herz */
.product-info .charity-note::before {
  content: "♥";
  margin-right: 0.4rem;
  color: #d88c00;
}