/* 
 * PRODUKTVORSCHAU STYLES
 * Planizer - Premium 3D Printed Lighting
 * 
 * Dies ist die Stylesheet für die Produktvorschau-Seite.
 */

 :root {
    --planizer-gold: linear-gradient(135deg, #daa520, #f5ce7f, #daa520);
    --planizer-dark: #121212;
    --planizer-light: #f5f5f7;
    --planizer-grey: #86868b;
    --planizer-accent: #007aff;
    --planizer-success: #34c759;
    --planizer-warning: #ff9500;
    --planizer-error: #ff3b30;
  }
  
  body {
    background-color: var(--planizer-dark);
    color: var(--planizer-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  /* Breadcrumb */
  .breadcrumb-container {
    padding: 20px 0;
  }
  
  .breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
  }
  
  .breadcrumb-item, .breadcrumb-item.active {
    color: var(--planizer-grey);
  }
  
  .breadcrumb-item a {
    color: var(--planizer-light);
    text-decoration: none;
  }
  
  .breadcrumb-item a:hover {
    text-decoration: underline;
  }
  
  .breadcrumb-item+.breadcrumb-item::before {
    color: var(--planizer-grey);
  }
  
  /* Product Preview Section */
  .product-preview-section {
    padding: 30px 0 60px;
  }
  
  /* Gallery */
  .product-gallery {
    position: relative;
    margin-bottom: 30px;
  }
  
  .product-image-container {
    border-radius: 12px;
    overflow: hidden;
    background-color: #1c1c1e;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    height: 0;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
  }
  
  .product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .product-image-container:hover img {
    transform: scale(1.05);
  }
  
  .thumb-image-container {
    border-radius: 8px;
    overflow: hidden;
    background-color: #1c1c1e;
    cursor: pointer;
    height: 0;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }
  
  .thumb-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .swiper-slide-thumb-active .thumb-image-container {
    opacity: 1;
    border: 2px solid #daa520;
  }
  
  /* Swiper Navigation Buttons */
  .swiper-button-next, .swiper-button-prev {
    color: #daa520;
    background-color: rgba(18, 18, 18, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
  .swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
  }
  
  /* Product Info */
  .product-info {
    padding: 20px;
  }
  
  .product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--planizer-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
  }
  
  .product-pricing {
    display: flex;
    flex-direction: column;
  }
  
  .product-price {
    font-size: 1.8rem;
    font-weight: 600;
  }
  
  .product-tax-info {
    font-size: 0.85rem;
    color: var(--planizer-grey);
  }
  
  .product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .rating-stars {
    display: flex;
    color: #daa520;
  }
  
  .rating-stars i {
    margin-right: 2px;
  }
  
  .rating-count {
    color: var(--planizer-grey);
    font-size: 0.9rem;
  }
  
  .product-description {
    line-height: 1.6;
    color: #e5e5e7;
  }
  
  /* Product Details */
  .product-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #daa520;
  }
  
  .details-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .details-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .details-list li:last-child {
    border-bottom: none;
  }
  
  .detail-label {
    color: var(--planizer-grey);
  }
  
  .detail-value {
    font-weight: 500;
  }
  
  /* Purchase Options */
  .quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .quantity-selector label {
    flex: 0 0 auto;
  }
  
  .quantity-input-group {
    display: flex;
    align-items: center;
    max-width: 120px;
  }
  
  .quantity-btn {
    background-color: #1c1c1e;
    border: 1px solid #444;
    color: var(--planizer-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.2s ease;
  }
  
  .quantity-btn:hover {
    background-color: #2c2c2e;
  }
  
  #quantityInput {
    background-color: #1c1c1e;
    border: 1px solid #444;
    color: var(--planizer-light);
    text-align: center;
    width: 48px;
    height: 36px;
    padding: 0 5px;
    border-left: 0;
    border-right: 0;
  }
  
  #quantityInput:focus {
    outline: none;
    box-shadow: none;
  }
  
  /* Hide spin buttons */
  #quantityInput::-webkit-inner-spin-button, 
  #quantityInput::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0;
  }
  
  .action-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  
  .apple-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #daa520;
    color: #000;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    cursor: pointer;
  }
  
  .apple-btn:hover {
    background-color: #f5ce7f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
  }
  
  .wishlist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--planizer-light);
    border: 1px solid #444;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .wishlist-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .wishlist-btn.active {
    color: #daa520;
  }
  
  .wishlist-btn.active i {
    color: #daa520;
  }
  
  /* Reviews Section */
  .reviews-section {
    padding: 60px 0;
    background-color: #1c1c1e;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
  }
  
  .reviews-summary {
    background-color: #121212;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #daa520;
    line-height: 1;
  }
  
  .overall-rating .rating-stars {
    margin: 10px 0;
    font-size: 1.4rem;
  }
  
  .rating-count {
    color: var(--planizer-grey);
    font-size: 0.9rem;
  }
  
  .rating-bars {
    margin-top: 20px;
  }
  
  .rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .stars-label {
    width: 70px;
    font-size: 0.9rem;
    color: var(--planizer-grey);
  }
  
  .progress {
    flex-grow: 1;
    height: 8px;
    background-color: #2c2c2e;
    margin: 0 10px;
    border-radius: 4px;
  }
  
  .progress-bar {
    background-color: #daa520;
    border-radius: 4px;
  }
  
  .percentage {
    width: 40px;
    font-size: 0.9rem;
    text-align: right;
    color: var(--planizer-grey);
  }
  
  .reviews-list {
    overflow-y: auto;
    max-height: 600px;
    padding-right: 10px;
  }
  
  .review-item {
    background-color: #121212;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .reviewer-info {
    display: flex;
    flex-direction: column;
  }
  
  .reviewer-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .verified-badge {
    background: linear-gradient(135deg, #34c759, #30d158);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .unverified-badge {
    background: linear-gradient(135deg, #ff9500, #ffb340);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .review-date {
    font-size: 0.85rem;
    color: var(--planizer-grey);
  }
  
  .review-rating {
    font-size: 1.1rem;
    color: #daa520;
  }
  
  .review-content {
    line-height: 1.6;
    color: #e5e5e7;
  }
  
  .review-actions {
    margin-top: 15px;
    text-align: right;
  }
  
  .edit-review-btn {
    background: transparent;
    border: none;
    color: var(--planizer-accent);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
  }
  
  .edit-review-btn:hover {
    text-decoration: underline;
  }
  
  .no-reviews {
    text-align: center;
    padding: 30px;
    color: var(--planizer-grey);
  }
  
  /* Rating Input in Modal */
  .rating-input {
    display: flex;
    font-size: 1.8rem;
    color: #2c2c2e;
    margin-bottom: 10px;
  }
  
  .rating-input .rating-star {
    cursor: pointer;
    margin-right: 5px;
    transition: color 0.2s ease;
  }
  
  .rating-input .rating-star:hover,
  .rating-input .rating-star.active {
    color: #daa520;
  }
  
  /* Similar Products Section */
/* Collections Luxe */
.collections-luxe-section { padding: 60px 0; }
.collections-head { text-align: center; margin-bottom: 24px; }
.collections-head .section-subtitle { color: var(--planizer-grey); margin-top: 8px; }
  
  .product-card {
    background-color: #1c1c1e;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }
  
  .product-card-img {
    width: 100%;
    height: 0;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    overflow: hidden;
  }
  
  .product-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .product-card:hover .product-card-img img {
    transform: scale(1.05);
  }
  
  .product-card-body {
    padding: 15px;
  }
  
  .product-card-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--planizer-light);
    text-decoration: none;
  }
  
  .product-card-price {
    color: #daa520;
    font-weight: 600;
  }
  
  /* Toasts */
  .toast {
    background-color: #1c1c1e;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .toast-header {
    background-color: #2c2c2e;
    color: var(--planizer-light);
    border-bottom: 1px solid #444;
  }
  
  .toast-body {
    color: var(--planizer-light);
  }
  
  /* Responsive */
  @media (max-width: 991.98px) {
    .product-title {
      font-size: 2rem;
    }
    
    .product-price {
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 767.98px) {
    .rating-bar-item {
      font-size: 0.8rem;
    }
    
    .stars-label {
      width: 60px;
    }
    
    .percentage {
      width: 35px;
    }
  }
  
  @media (max-width: 575.98px) {
    .product-preview-section {
      padding: 15px 0 30px;
    }
    
    .reviews-section, 
    .similar-products-section {
      padding: 30px 0;
    }
    
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 25px;
    }
    
    .action-buttons {
      flex-direction: column;
      align-items: stretch;
    }
    
    .wishlist-btn {
      justify-content: center;
    }
  }

.collection-card,
.collection-card.luxe {
  background-color: #1c1c1e;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  margin-bottom: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.08);
}
  
  .collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }
  
.collection-card-media {
    width: 100%;
  aspect-ratio: 1 / 1; /* 1:1 Zuschnitt */
    position: relative;
    overflow: hidden;
  box-sizing: border-box;
  display: block;
  }

.collection-name-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-radius: 10px;
  backdrop-filter: blur(2px);
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
  
.collection-card-media img {
    position: absolute;
    top: 0;
    left: 0;
  width: 100% !important;
  height: 100% !important;
    object-fit: cover;
    transition: transform 0.5s ease;
  display: block;
  }
  
.collection-card.luxe:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(218,165,32,0.35);
}
.collection-card.luxe:hover .collection-card-media img { transform: scale(1.06); }

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.55) 80%),
              linear-gradient(180deg, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.55) 100%);
}

.collection-card-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
  
.collection-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #1c1c1e;
  min-height: 110px;
}
.collection-card-body.under { border-top: 1px solid rgba(255,255,255,0.06); }
  
.collection-card-title {
    font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
    color: var(--planizer-light);
    text-decoration: none;
    display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  }

.collection-card-desc {
  color: #cfcfd2;
  margin: 0;
  line-height: 1.4;
  font-size: 0.9rem;
}
  
.collection-card .apple-btn.silm,
.collection-card .apple-btn.slim {
  align-self: flex-start;
  padding: 6px 16px;
  font-size: 0.85rem;
  background: #daa520;
  color: #000;
  border-radius: 24px;
}
  
  /* Titel-Anpassung */
  .similar-products-section .section-title {
    margin-bottom: 30px;
  }
  
  /* Responsive-Anpassungen */
  @media (max-width: 767.98px) {
    .collection-card-title {
    font-size: 1rem;
    }
    
    .collection-card-description {
    font-size: 0.85rem;
    }

/* Bootstrap-konforme Spaltenabstände (nutzt Gutter-Variablen) */
.similar-products [class^="col-"],
.similar-products [class*=" col-"] {
  padding-left: calc(var(--bs-gutter-x, 1rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1rem) * 0.5);
}
    
    .collection-card .apple-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    }
  }

