/** Shopify CDN: Minification failed

Line 455:8 Expected identifier but found whitespace
Line 455:9 Unexpected "#888"

**/
/* Treasured Scents Product Page Styles */

.ts-product-page {
  background-color: #000;
  color: #fff;
  min-height: 100vh;
  padding: 2rem 0;
}

/* Breadcrumb Styles - Matching Next.js Implementation */
.ts-breadcrumb {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(-10px);
  animation: ts-breadcrumb-fade-in 0.4s ease-out forwards;
}

@keyframes ts-breadcrumb-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ts-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
  color: #71717a; /* text-muted-foreground */
}

.ts-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.ts-breadcrumb__link {
  color: #71717a; /* text-muted-foreground */
  text-decoration: none;
  transition: color 0.3s ease;
}

.ts-breadcrumb__link:hover {
  color: #d2686f; /* text-primary coral color */
}

.ts-breadcrumb__separator {
  color: rgba(113, 113, 122, 0.5); /* text-muted-foreground/50 */
  font-size: 0.75rem;
}

.ts-breadcrumb__current {
  color: #fff; /* text-foreground */
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

/* Responsive Breadcrumb */
@media (min-width: 640px) {
  .ts-breadcrumb__list {
    font-size: 1rem; /* Increased from 0.875rem to 1rem (16px) */
    gap: 0.625rem;
  }

  .ts-breadcrumb__item {
    gap: 0.625rem;
  }

  .ts-breadcrumb__current {
    max-width: 300px;
  }
}

/* Hide category and subcategory on mobile for space */
@media (max-width: 639px) {
  .ts-breadcrumb__item--category,
  .ts-breadcrumb__item--subcategory {
    display: none;
  }

  .ts-breadcrumb__item--category + .ts-breadcrumb__separator,
  .ts-breadcrumb__item--subcategory + .ts-breadcrumb__separator {
    display: none;
  }
}

/* Product Main Layout */
.ts-product-main {
  margin-bottom: 4rem;
}

.ts-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Product Image Gallery Styles - Matching Next.js */
.ts-product-media {
  position: sticky;
  top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: ts-media-fade-in 0.5s ease-out forwards;
}

@keyframes ts-media-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ts-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ts-product-main-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #18181b; /* zinc-900 matching Next.js */
  border: none;
}

.ts-product-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.ts-product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: brightness(0.9); /* Slight darkening like Next.js */
}

.ts-product-main-img:hover {
  transform: scale(1.05);
}

.ts-product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #18181b; /* zinc-900 */
}

.ts-product-placeholder-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ts-product-placeholder-text {
  font-size: 4rem;
  font-weight: bold;
  color: #52525b; /* zinc-600 */
  font-family: serif;
}

/* Product Badges - Matching Next.js Design */
.ts-product-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ts-product-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  border: none;
  text-align: center;
  line-height: 1.2;
}

.ts-product-badge--sale {
  background-color: #4caf50; /* Green matching Next.js */
}

.ts-product-badge--new {
  background-color: #4caf50; /* Green for "New" badge */
}

.ts-product-badge--bestseller {
  background-color: #ff6b35; /* Orange/coral for "Best Seller" */
}

/* Navigation Arrows - Matching Next.js Style */
.ts-product-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.ts-product-image-container:hover .ts-product-nav {
  opacity: 1;
}

.ts-product-nav--prev {
  left: 1rem;
}

.ts-product-nav--next {
  right: 1rem;
}

.ts-product-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.ts-product-nav svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* Thumbnail Gallery - Matching Next.js Grid */
.ts-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.ts-product-thumbnail {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid #3f3f46; /* zinc-700 border */
  cursor: pointer;
  transition: border-color 0.3s ease;
  background-color: #18181b; /* zinc-900 */
  position: relative;
}

.ts-product-thumbnail--active {
  border-color: #d2686f; /* coral primary color */
}

.ts-product-thumbnail:hover {
  border-color: #d2686f; /* coral primary color */
}

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

.ts-product-thumbnail:hover .ts-product-thumbnail-img {
  transform: scale(1.05);
}

.ts-product-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #27272a; /* zinc-800 */
  color: #71717a; /* zinc-500 */
  font-weight: bold;
  font-size: 1.25rem;
}

/* More thumbnails indicator */
.ts-product-thumbnail--more {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: #3f3f46;
}

.ts-product-thumbnail-more-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Product Information Panel - Matching Next.js */
.ts-product-info {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  animation: ts-info-fade-in 0.5s ease-out 0.2s forwards;
}

@keyframes ts-info-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ts-product-details {
  display: flex;
  flex-direction: column;
}

/* Product Title - Matching Next.js Typography */
.ts-product-title {
  font-size: 2.625rem; /* text-[42px] */
  font-weight: bold;
  margin-bottom: 2rem;
  color: #fff;
  line-height: 1.2;
  font-family: serif;
}

/* Price and Rating Section */
.ts-product-price-rating {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ts-product-price-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ts-product-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ts-price-current {
  font-size: 1.25rem; /* text-xl */
  color: #fff;
  font-weight: normal;
}

.ts-price-compare {
  font-size: 1.125rem; /* text-lg */
  color: #71717a; /* text-muted-foreground */
  text-decoration: line-through;
}

/* Stock Status */
.ts-product-stock {
  margin-top: 0.5rem;
}

.ts-stock-status {
  font-size: 1rem; /* Increased from 0.875rem to 1rem (16px) */
  font-weight: 500;
}

.ts-stock-status--in-stock {
  color: #4CAF50; /* Green */
}

.ts-stock-status--out-of-stock {
  color: #ef4444; /* Red */
}

/* Rating Section */
.ts-product-rating-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ts-product-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.ts-rating-stars {
  display: flex;
  gap: 0.125rem;
}

.ts-star {
  width: 20px;
  height: 20px;
  color: #52525b; /* zinc-600 */
  fill: none;
}

.ts-star--filled {
  color: #fff;
  fill: #fff;
}

.ts-rating-count {
  font-size: 0.875rem;
  color: #a1a1aa; /* zinc-400 */
  margin-top: 0.5rem;
}

/* Product Description */
.ts-product-description {
  color: #71717a; /* text-muted-foreground */
  margin-bottom: 3rem;
  line-height: 1.6;
}
  color: #888;
}

/* Stock Status */
.ts-product-stock {
  margin-bottom: 2rem;
}

.ts-stock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.ts-stock-status--in-stock {
  color: #16a34a;
}

.ts-stock-status--out-of-stock {
  color: #dc2626;
}

/* Variant Selector */
.ts-product-variants {
  margin-bottom: 2rem;
}

.ts-variant-option {
  margin-bottom: 1.5rem;
}

.ts-variant-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #ccc;
}

.ts-variant-values {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ts-variant-input {
  display: none;
}

.ts-variant-value {
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  background-color: transparent;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.ts-variant-value:hover,
.ts-variant-input:checked + .ts-variant-value {
  border-color: #ef4444;
  color: #fff;
  background-color: rgba(239, 68, 68, 0.1);
}

/* Quantity and Cart - Matching Next.js Design */
.ts-product-purchase {
  margin-bottom: 3rem;
}

.ts-quantity-cart-wrapper {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

/* Quantity Selector - Compact Next.js Style */
.ts-quantity-selector {
  flex-shrink: 0;
  width: 8rem; /* w-32 to match Next.js exactly */
}

.ts-quantity-controls {
  display: flex;
  height: 3rem; /* h-12 */
  border: 1px solid #3f3f46; /* zinc-700 border */
  overflow: hidden;
}

/* Quantity Display */
.ts-quantity-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #18181b; /* zinc-900 */
  color: #fff;
  font-weight: 500;
  min-width: 3rem;
}

.ts-quantity-value {
  font-size: 1rem;
}

/* Vertical Buttons Container */
.ts-quantity-buttons {
  display: flex;
  flex-direction: column;
  background-color: #27272a; /* zinc-800 */
  width: 1.5rem; /* Reduced width - w-6 */
  border-left: 1px solid #3f3f46; /* zinc-700 */
}

.ts-quantity-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #a1a1aa; /* zinc-400 */
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0;
  height: 1.5rem;
}

.ts-quantity-btn:hover {
  background-color: #3f3f46; /* zinc-700 */
  color: #fff;
}

.ts-quantity-btn:first-child {
  border-bottom: 1px solid #3f3f46; /* zinc-700 */
}

.ts-quantity-btn svg {
  width: 10px;
  height: 10px;
}


/* Add to Cart Button - Matching Next.js */
.ts-add-to-cart-form {
  flex: 1;
}

.ts-add-to-cart-button {
  width: 100%;
  height: 3rem; /* h-12 */
  background-color: rgba(210, 104, 111, 0.8); /* bg-primary/80 coral */
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px; /* rounded-full */
}

.ts-add-to-cart-button:hover:not(:disabled) {
  background-color: rgba(210, 104, 111, 0.9); /* bg-primary/90 */
}

.ts-add-to-cart-button:disabled {
  background-color: #52525b; /* zinc-600 */
  cursor: not-allowed;
  opacity: 0.6;
}

.ts-cart-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

.ts-cart-text {
  font-weight: 500;
}

/* Responsive Product Information Panel */
@media (min-width: 640px) {
  .ts-product-title {
    font-size: 2.625rem; /* text-[42px] on desktop */
    margin-bottom: 2rem;
  }

  .ts-product-price-rating {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .ts-product-rating-container {
    align-items: flex-end;
  }

  .ts-product-description {
    margin-bottom: 3rem;
  }
}

@media (max-width: 639px) {
  .ts-product-title {
    font-size: 1.875rem; /* text-3xl on mobile */
    margin-bottom: 1.5rem;
  }

  .ts-product-price-rating {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .ts-product-rating-container {
    align-items: flex-start;
  }

  .ts-product-description {
    margin-bottom: 2rem;
  }

  .ts-quantity-cart-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .ts-quantity-selector {
    width: 100%;
  }
}

/* Product Metadata Section - Matching Next.js */
.ts-product-metadata {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #3f3f46; /* zinc-700 */
}

.ts-metadata-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ts-metadata-label {
  color: #71717a; /* text-muted-foreground */
  font-weight: 500;
  font-size: 0.875rem;
  min-width: 6rem;
}

.ts-metadata-value {
  color: #fff;
  font-size: 0.875rem;
}

.ts-metadata-link {
  color: #d2686f; /* text-primary coral */
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.ts-metadata-link:hover {
  text-decoration: underline;
}

.ts-metadata-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ts-metadata-tag {
  color: #d2686f; /* text-primary coral */
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.ts-metadata-tag:hover {
  text-decoration: underline;
}

/* Social Sharing */
.ts-product-sharing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ts-sharing-label {
  color: #71717a; /* text-muted-foreground */
  font-weight: 500;
  font-size: 0.875rem;
}

.ts-sharing-buttons {
  display: flex;
  gap: 0.75rem;
}

.ts-share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: #18181b; /* zinc-900 */
  border: none;
  color: #71717a;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.ts-share-button:hover {
  background-color: #27272a; /* zinc-800 */
  color: #fff;
}

/* Responsive Metadata */
@media (min-width: 640px) {
  .ts-metadata-item {
    flex-direction: row;
    gap: 0.5rem;
  }

  .ts-metadata-label {
    min-width: 6rem;
  }
}

.ts-add-to-cart-button:disabled {
  background-color: #666;
  cursor: not-allowed;
}

.ts-cart-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Product Features */
.ts-product-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #111;
  border: 1px solid #333;
}

.ts-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #ccc;
}

.ts-feature-icon {
  color: #ef4444;
  flex-shrink: 0;
}

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

  .ts-product-media {
    position: static;
  }

  .ts-product-info {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .ts-product-page {
    padding: 1rem 0;
  }

  .ts-product-title {
    font-size: 1.5rem;
  }

  .ts-quantity-cart-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .ts-product-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }

  .ts-product-features {
    padding: 1rem;
  }
}

/* Product Tabs - Matching Next.js Design */
.ts-product-tabs {
  margin-bottom: 4rem;
}

.ts-tabs-container {
  width: 100%;
}

/* Tab Navigation - Matching Next.js */
.ts-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  background: transparent;
  padding: 0;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border: 0;
}

.ts-tab-button {
  flex: 1;
  height: 3rem; /* h-12 mobile, h-14 desktop */
  background-color: #27272a; /* zinc-800 */
  border: none;
  color: #fff;
  font-size: 0.875rem;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: none;
}

.ts-tab-button:hover,
.ts-tab-button--active {
  background-color: #3f3f46; /* zinc-700 */
}

.ts-tabs-content {
  padding: 0;
}

.ts-tab-panel {
  display: none;
}

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

.ts-tab-content {
  color: #fff;
  line-height: 1.6;
  font-size: 0.875rem;
}

.ts-tab-content p {
  margin-bottom: 1rem;
}

/* Desktop Tab Styling */
@media (min-width: 640px) {
  .ts-tab-button {
    height: 3.5rem; /* h-14 */
    font-size: 1rem;
  }

  .ts-tab-content {
    font-size: 1rem;
  }
}

.ts-tab-content h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.ts-tab-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.ts-tab-content li {
  margin-bottom: 0.5rem;
}

/* Info Tab Styles - Matching Next.js */
.ts-additional-info {
  padding: 1.5rem;
  background-color: #18181b; /* zinc-900 */
  border: 0;
  box-shadow: none;
}

.ts-info-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}

.ts-info-separator {
  height: 1px;
  background-color: #27272a; /* zinc-800 */
  margin: 0;
}

.ts-info-label {
  font-weight: 500;
  color: #fff;
  font-size: 0.875rem;
  min-width: 6rem;
}

.ts-info-value {
  color: #fff;
  font-size: 0.875rem;
}

/* Desktop Info Layout */
@media (min-width: 640px) {
  .ts-info-row {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
  }
}

/* Reviews Tab Styles - Matching Next.js */
.ts-reviews-summary {
  margin-bottom: 1.5rem;
}

.ts-reviews-rating {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ts-reviews-stars {
  display: flex;
  gap: 0.125rem;
}

.ts-reviews-stars .ts-star {
  width: 20px;
  height: 20px;
  color: #52525b; /* zinc-600 */
  fill: none;
}

.ts-reviews-stars .ts-star--filled {
  color: #fff;
  fill: #fff;
}

.ts-reviews-score {
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
}

.ts-reviews-count {
  font-size: 0.875rem;
  color: #a1a1aa; /* zinc-400 */
}

/* Reviews List */
.ts-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ts-review-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #27272a; /* zinc-800 */
}

.ts-review-item:last-child {
  border-bottom: none;
}

.ts-review-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ts-review-author {
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.ts-review-stars {
  display: flex;
  gap: 0.125rem;
}

.ts-review-stars .ts-star {
  width: 16px;
  height: 16px;
  color: #52525b; /* zinc-600 */
  fill: none;
}

.ts-review-stars .ts-star--filled {
  color: #fff;
  fill: #fff;
}

.ts-review-text {
  color: #a1a1aa; /* zinc-400 */
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Desktop Reviews Layout */
@media (min-width: 640px) {
  .ts-reviews-rating {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .ts-review-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Related Products Carousel - Matching Next.js */
.ts-related-products {
  margin-bottom: 4rem;
}

.ts-related-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: serif;
}

.ts-related-carousel-container {
  position: relative;
}

.ts-related-carousel {
  overflow: hidden;
}

.ts-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  transition: transform 0.3s ease;
}

.ts-related-item {
  position: relative;
  overflow: hidden;
}

.ts-related-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ts-related-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #18181b; /* zinc-900 */
  margin-bottom: 0.75rem;
}

.ts-related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: brightness(0.9);
}

.ts-related-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #27272a; /* zinc-800 */
  color: #71717a; /* zinc-500 */
  font-weight: bold;
  font-size: 2rem;
}

/* Hover Overlay */
.ts-related-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-related-item:hover .ts-related-overlay {
  opacity: 1;
}

.ts-related-overlay-content {
  background-color: #fff;
  border-radius: 50px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-overlay-text {
  color: #000;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Product Badges in Related */
.ts-related-badges {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.ts-related-badges .ts-product-badge {
  margin-bottom: 0.5rem;
}

/* Product Info */
.ts-related-info {
  margin-top: 0.75rem;
}

.ts-related-product-title {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.ts-related-link:hover .ts-related-product-title {
  color: #d2686f; /* coral primary */
}

.ts-related-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ts-related-price .ts-price-current {
  font-size: 1rem;
  color: #fff;
}

.ts-related-price .ts-price-compare {
  font-size: 0.875rem;
  color: #71717a; /* text-muted-foreground */
  text-decoration: line-through;
}

/* Carousel Navigation */
.ts-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background-color: #27272a; /* zinc-800 */
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: none; /* Hidden by default, shown on desktop */
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.ts-carousel-nav:hover {
  background-color: #3f3f46; /* zinc-700 */
}

.ts-carousel-nav--prev {
  left: -3.5rem;
}

.ts-carousel-nav--next {
  right: -3.5rem;
}

/* Mobile Navigation */
.ts-carousel-mobile-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ts-carousel-mobile-btn {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #27272a; /* zinc-800 */
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.ts-carousel-mobile-btn:hover {
  background-color: #3f3f46; /* zinc-700 */
}

/* Responsive Related Products */
@media (min-width: 768px) {
  .ts-carousel-nav {
    display: flex;
  }

  .ts-carousel-mobile-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .ts-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .ts-related-grid {
    grid-template-columns: 1fr;
  }

  .ts-related-title {
    font-size: 1.5rem;
  }
}

/* Final Polish & Theme Consistency */

/* Ensure all elements follow sharp corners */
* {
  border-radius: 0 !important;
}

/* Exception for specific rounded elements */
.ts-add-to-cart-button,
.ts-carousel-nav,
.ts-carousel-mobile-btn,
.ts-share-button {
  border-radius: 50px !important;
}

.ts-related-overlay-content {
  border-radius: 50px !important;
}

/* Dark theme consistency */
.ts-product-container {
  background-color: #09090b; /* zinc-950 */
  color: #fff;
  min-height: 100vh;
}

/* Focus states for accessibility */
.ts-tab-button:focus,
.ts-quantity-btn:focus,
.ts-add-to-cart-button:focus,
.ts-carousel-nav:focus,
.ts-share-button:focus {
  outline: 2px solid #d2686f;
  outline-offset: 2px;
}

/* Loading states */
.ts-add-to-cart-button.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.ts-add-to-cart-button.loading .ts-cart-text::after {
  content: "...";
  animation: ts-loading-dots 1.5s infinite;
}

@keyframes ts-loading-dots {
  0%, 20% { opacity: 0; }
  50% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

/* Smooth transitions for all interactive elements */
.ts-product-thumbnail,
.ts-related-item,
.ts-tab-button,
.ts-quantity-btn,
.ts-metadata-link,
.ts-metadata-tag {
  transition: all 0.3s ease;
}

/* Hover effects enhancement */
.ts-product-thumbnail:hover {
  transform: scale(1.02);
}

.ts-related-item:hover .ts-related-img {
  transform: scale(1.05);
}

.ts-tab-button:hover {
  transform: translateY(-1px);
}

/* Mobile-specific improvements */
@media (max-width: 767px) {
  .ts-product-container {
    padding: 1rem;
  }

  .ts-product-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ts-product-media {
    position: static;
  }

  .ts-product-info {
    padding-left: 0;
  }

  .ts-product-tabs {
    margin-bottom: 2rem;
  }

  .ts-related-products {
    margin-bottom: 2rem;
  }
}

/* Print styles */
@media print {
  .ts-product-nav,
  .ts-carousel-nav,
  .ts-carousel-mobile-nav,
  .ts-add-to-cart-button,
  .ts-quantity-controls,
  .ts-product-sharing {
    display: none !important;
  }

  .ts-product-container {
    background: white !important;
    color: black !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .ts-product-badge {
    border: 2px solid #fff;
  }

  .ts-tab-button--active {
    border: 2px solid #d2686f;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reviews Styles */
.ts-reviews-summary {
  margin-bottom: 2rem;
}

.ts-reviews-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ts-reviews-score {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}

.ts-reviews-stars {
  display: flex;
  gap: 0.125rem;
}

.ts-reviews-count {
  font-size: 0.875rem;
  color: #888;
}

.ts-reviews-placeholder {
  text-align: center;
  padding: 2rem;
  color: #888;
}

/* Related Products */
.ts-related-products {
  margin-top: 4rem;
}

.ts-related-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #fff;
  text-align: center;
}

.ts-related-carousel {
  overflow: hidden;
}

.ts-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.ts-related-item {
  position: relative;
  background-color: transparent;
  transition: transform 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
}

.ts-related-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3),
    0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

.ts-related-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ts-related-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #111;
  margin-bottom: 1rem;
}

.ts-related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: brightness(0.9);
}

.ts-related-item:hover .ts-related-img {
  transform: scale(1.05);
}

.ts-related-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
  font-size: 2rem;
  color: #666;
}

.ts-related-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ts-related-item:hover .ts-related-overlay {
  opacity: 1;
}

.ts-related-overlay-content {
  background-color: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 0; /* Sharp corners for related overlay content */
  font-size: 0.875rem;
  font-weight: 500;
}

.ts-related-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
}

.ts-related-info {
  text-align: center;
}

.ts-related-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  color: #fff;
  transition: color 0.3s ease;
}

.ts-related-item:hover .ts-related-title {
  color: #ef4444;
}

.ts-related-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .ts-tabs-nav {
    flex-wrap: wrap;
  }

  .ts-tab-button {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .ts-tabs-content {
    padding: 1rem;
  }

  .ts-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .ts-product-grid {
    gap: 1.5rem;
  }

  .ts-breadcrumb__list {
    font-size: 0.75rem;
  }

  .ts-product-nav {
    opacity: 1;
  }

  .ts-tab-button {
    flex: 1 1 100%;
    border-bottom: 1px solid #333;
  }

  .ts-related-grid {
    grid-template-columns: 1fr;
  }
}
