/* General & Reusable Styles */
body {
  font-family: "Inter", sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  margin: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.font-semibold {
  font-weight: 600;
}

/* Header (Copied from previous file for consistency) */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-icon {
  height: 2rem;
  width: 2rem;
  color: #2563eb;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}
.main-nav {
  /* display: none; */
  gap: 2rem;
}
@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}
.main-nav a {
  color: #475569;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms;
}
.main-nav a:hover {
  color: #2563eb;
}
.main-nav a.active {
  color: #2563eb;
  font-weight: 700;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.icon-link {
  position: relative;
  color: #64748b;
  transition: color 150ms;
}
.icon-link:hover {
  color: #2563eb;
}
.icon {
  height: 1.5rem;
  width: 1.5rem;
}
.cart-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  border-radius: 9999px;
  height: 1.25rem;
  width: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Content */
.page-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
}
.breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #2563eb;
}
.breadcrumbs span {
  color: #1e293b;
  font-weight: 500;
}
.separator-icon {
  height: 0.75rem;
  width: 0.75rem;
  fill: #94a3b8;
  margin: 0 0.5rem;
}

/* Product Details Container */
.product-container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.product-main-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .product-main-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Product Gallery */
.product-gallery .main-image {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.thumbnail {
  width: 100%;
  border-radius: 0.375rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 150ms;
}
.thumbnail:hover {
  border-color: #60a5fa;
}
.thumbnail.active {
  border-color: #2563eb;
}

/* Product Info */
.product-info .product-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.stars {
  display: flex;
  color: #facc15;
}
.star-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.star-icon.empty {
  color: #cbd5e1;
}
.review-count {
  color: #64748b;
  margin-left: 0.5rem;
  font-size: 0.875rem;
}
.price-container {
  margin-bottom: 1.5rem;
}
.current-price {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2563eb;
}
.original-price {
  font-size: 1.25rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

/* Options */
.options-group {
  margin-bottom: 1.5rem;
}
.options-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.color-options,
.storage-options {
  display: flex;
  gap: 0.5rem;
}
.color-swatch {
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
}
.color-swatch:focus,
.color-swatch:hover {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.storage-option {
  padding: 0.5rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: none;
  cursor: pointer;
}
.storage-option:hover {
  border-color: #2563eb;
}
.storage-option.active {
  background-color: #dbeafe;
  color: #1e40af;
  border-color: #2563eb;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
}
.quantity-btn {
  height: 2.5rem;
  width: 2.5rem;
  background-color: #e2e8f0;
  border: none;
  cursor: pointer;
}
.quantity-btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.quantity-btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.quantity-input {
  height: 2.5rem;
  width: 4rem;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-left: none;
  border-right: none;
  box-sizing: border-box;
}
.quantity-input:focus {
  outline: none;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
}
.btn {
  width: 100%;
  font-weight: 700;
  padding: 0.75rem 0;
  border-radius: 0.5rem;
  transition: all 300ms;
  cursor: pointer;
}
.btn-primary {
  background-color: #2563eb;
  color: #fff;
  border: 2px solid #2563eb;
}
.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}
.btn-secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background-color: transparent;
}
.btn-secondary:hover {
  background-color: #eff6ff;
}

/* Description Tabs */
.product-description-tabs {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}
.tabs-nav {
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 2rem;
}
.tab-link {
  white-space: nowrap;
  padding: 1rem 0.25rem;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  color: #64748b;
}
.tab-link:hover {
  border-color: #cbd5e1;
  color: #334155;
}
.tab-link.active {
  border-color: #2563eb;
  color: #2563eb;
}
.tab-content {
  padding-top: 1.5rem;
}
.tab-content-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.tab-content p {
  color: #475569;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background-color: #1e293b;
  color: #ffffff;
  margin-top: 4rem;
}
.footer-bottom {
  border-top: 1px solid #334155;
  padding: 1.5rem 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}
