@charset "UTF-8";
/*
$brand-color-1: #1d1d1d;
$brand-color-2: #fefefe;
$brand-color-3: #0398C9;
$brand-color-4: #00475f;
$brand-color-5: #04bdfa;
$brand-color-6: #9ee3fa;
$brand-color-7: #f3eae2;
*/
/* Sass variables for media queries */
/**
 * Product Page Styles
 * Drupal 10 - Product Display with Variations
 */
.product-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Main Product Container */
.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.main-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #f5f3f7;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 2px solid #e0e0e0;
}

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

.main-image-container:hover .main-product-image {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}

.badge {
  background: #ff6b6b;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.badge.new {
  background: #51cf66;
}

.badge.sale {
  background: #ff6b6b;
}

.badge.out-of-stock {
  background: #868e96;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.75rem;
}

.thumbnail {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Product Info Section */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-category {
  color: #868e96;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.product-title {
  font-size: 2.5rem;
  color: #2c3e50;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

/* Product Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  color: #ffd700;
  letter-spacing: 2px;
}

.rating-text {
  color: #6c757d;
}

/* Product Description */
.product-description {
  color: #495057;
  line-height: 1.7;
}

/* Product Variations */
.product-variations {
  padding: 1.5rem 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.variation-group {
  margin-bottom: 1.5rem;
}

.variation-group:last-child {
  margin-bottom: 0;
}

.variation-label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

.variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.variation-option {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #495057;
}

.variation-option:hover {
  border-color: #2c3e50;
  background: #f8f9fa;
}

.variation-option.active {
  border-color: #2c3e50;
  background: #2c3e50;
  color: white;
}

.variation-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f8f9fa;
}

.variation-option.disabled:hover {
  border-color: #e0e0e0;
  background: #f8f9fa;
}

/* Color Swatches */
.variation-option.color-swatch {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  position: relative;
}

.variation-option.color-swatch::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.variation-option.color-swatch.active::after {
  opacity: 1;
}

/* Product Pricing */
.product-pricing {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.price-label {
  color: #868e96;
  margin-bottom: 0.5rem;
}

.price-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
}

.old-price {
  font-size: 1.75rem;
  color: #868e96;
  text-decoration: line-through;
}

.price-vat {
  color: #6c757d;
}

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

.quantity-selector label {
  font-weight: 600;
  color: #2c3e50;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  padding: 0 10px;
}

.qty-btn {
  width: 45px;
  height: 45px;
  border: none;
  background: white;
  cursor: pointer;
  color: #495057;
  transition: all 0.2s ease;
  padding: 0;
}

.qty-btn:hover {
  background: #f8f9fa;
  color: #2c3e50;
}

.quantity-controls input {
  width: 70px;
  height: 45px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  color: #2c3e50;
}

.quantity-controls input::-webkit-outer-spin-button,
.quantity-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 1rem;
}

.btn-add-cart {
  flex: 1;
  padding: 1.25rem 2rem;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background: #1a252f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.btn-add-cart:disabled {
  background: #dee2e6;
  color: #868e96;
  cursor: not-allowed;
  transform: none;
}

.btn-wishlist {
  width: 60px;
  height: 60px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #868e96;
}

.btn-wishlist:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: scale(1.1);
}

.btn-wishlist.active {
  background: #ff6b6b;
  border-color: #ff6b6b;
  color: white;
}

/* Product Meta */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e9ecef;
}

.meta-item {
  display: flex;
  gap: 0.5rem;
}

.meta-label {
  font-weight: 600;
  color: #495057;
}

.meta-value {
  color: #6c757d;
}

.stock-status.in-stock {
  color: #51cf66;
  font-weight: 600;
}

.stock-status.out-of-stock {
  color: #ff6b6b;
  font-weight: 600;
}

.stock-status.low-stock {
  color: #ffa94d;
  font-weight: 600;
}

/* Product Details Tabs */
.product-details-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
}

.tabs-header {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 1rem 2rem;
  border-radius: 0;
  background: none;
  cursor: pointer;
  font-weight: 600;
  color: #868e96;
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: #1d1d1d;
  background-color: #f5f3f7;
  border-color: #1d1d1d;
}

.tab-btn.active::after {
  /*
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2c3e50;*/
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tabs-content {
  line-height: 1.8;
  color: #495057;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

  .product-title {
    font-size: 2rem;
  }

  .current-price {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .product-page {
    padding: 1rem;
  }

  .product-title {
    font-size: 1.75rem;
  }

  .tabs-header {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-wishlist {
    width: 100%;
  }
}
/* Loading State */
.product-page.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

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

/*# sourceMappingURL=product-page.css.map */
