/* ==========================================================
   PRODUCT PAGE - PROFESSIONAL LUXURY E-COMMERCE
   PJS Collections - Premium Jewelry Experience
========================================================== */

/* ==========================================================
   CSS VARIABLES - PROFESSIONAL COLOR PALETTE
========================================================== */
:root {
  --gold: #c6a667;
  --gold-light: #d8c08f;
  --gold-dark: #a28c63;
  --black: #000000;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;
  --bg-light: #fafafa;
  --bg-ivory: #faf7f3;
  --bg-section: #f8f8f8;
  --border-color: #e5e5e5;
  --border-light: #f0f0f0;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.15);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================
   BASE RESET & LAYOUT
========================================================== */
.pdp-wrapper {
  min-height: 100vh;
  background: var(--white);
}

.product-page {
  padding-top: 180px;
  padding: 180px 0 0;
  background: var(--white);
}

.product-flex {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 100px;
  padding: 0 40px;
}

/* ==========================================================
   BREADCRUMB - PROFESSIONAL NAVIGATION
========================================================== */
.pdp-breadcrumb-wrap {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 40px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  margin: 0 10px;
  color: var(--border-color);
  font-weight: 300;
}

/* ==========================================================
   PRODUCT MEDIA - PREMIUM IMAGE DISPLAY
========================================================== */
.product-media.sticky-media {
  position: sticky;
  top: 200px;
  align-self: flex-start;
  flex-shrink: 0;
  width: 50%;
  max-width: 600px;
}

.product-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light);
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: zoom-in;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.product-image-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.product-image-box:hover img {
  transform: scale(1.03);
}

.image-zoom-hint {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.image-zoom-hint svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: currentColor;
}

.product-image-box:hover .image-zoom-hint {
  opacity: 1;
}

/* ==========================================================
   THUMBNAILS - REFINED GALLERY
========================================================== */
.thumb-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--bg-light);
  position: relative;
}

.thumb-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.thumb-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.thumb-item:hover::after {
  border-color: var(--gold);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(198, 166, 103, 0.2);
}

.thumb-item.active::after {
  border-color: var(--gold);
}

/* ==========================================================
   PRODUCT DETAILS - PROFESSIONAL LAYOUT
========================================================== */
.product-details {
  flex: 1;
  max-width: 600px;
  width: 100%;
  padding-top: 0;
}

/* ==========================================================
   PRODUCT BADGES - ELEGANT INDICATORS
========================================================== */
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge-trending,
.badge-new,
.badge-in-stock,
.badge-low-stock,
.badge-out-of-stock {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  line-height: 1.2;
}

.badge-trending {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.25);
}

.badge-new {
  background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(78, 205, 196, 0.25);
}

.badge-in-stock {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(198, 166, 103, 0.25);
}

.badge-low-stock {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

.badge-out-of-stock {
  background: #f8f9fa;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

/* ==========================================================
   PRODUCT TITLE - PREMIUM TYPOGRAPHY
========================================================== */
.product-title {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================
   PRODUCT RATING - REFINED DISPLAY
========================================================== */
.product-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.rating-stars {
  display: flex;
  gap: 4px;
  align-items: center;
}

.rating-stars .star {
  width: 18px;
  height: 18px;
  fill: #e0e0e0;
  stroke: #e0e0e0;
  stroke-width: 0.5;
  transition: var(--transition-fast);
}

.rating-stars .star.filled {
  fill: #f4c150;
  stroke: #f4c150;
}

.rating-stars .star.half {
  fill: url(#star-gradient);
  stroke: #f4c150;
}

/* Star gradient for half stars */
.rating-stars {
  position: relative;
}

.rating-stars::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}

/* Alternative: Use mask for half stars */
.rating-stars .star.half {
  fill: #f4c150;
  opacity: 0.5;
  mask: linear-gradient(90deg, #000 50%, transparent 50%);
  -webkit-mask: linear-gradient(90deg, #000 50%, transparent 50%);
}

.rating-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================
   PRICE SECTION - PROFESSIONAL DISPLAY
========================================================== */
.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.strike-price {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.final-price {
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.offer-badge {
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================
   PRODUCT SPECIFICATIONS - PROFESSIONAL TABLE
========================================================== */
.product-specs {
  margin: 32px 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 20px;
}

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

.spec-label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 14px;
  min-width: 120px;
  flex-shrink: 0;
}

.spec-value {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: right;
  flex: 1;
  font-weight: 400;
}

.spec-value a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition-fast);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.spec-value a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}

/* ==========================================================
   MATERIAL SELECTOR - PROFESSIONAL DESIGN
========================================================== */
.material-wrap {
  margin: 32px 0;
}

.material-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.material-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.material-option {
  position: relative;
  cursor: pointer;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.material-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.material-swatch {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 2px solid var(--border-color);
  display: block;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.material-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
}

.material-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-fast);
  text-align: center;
  line-height: 1.2;
}

.material-option:hover .material-swatch {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 166, 103, 0.3);
}

.material-option:hover .material-text {
  color: var(--gold);
}

.material-option input[type="radio"]:checked ~ .material-swatch,
.material-option.selected .material-swatch {
  border-color: var(--gold);
  border-width: 3px;
  box-shadow: 0 0 0 2px rgba(198, 166, 103, 0.2),
    0 4px 16px rgba(198, 166, 103, 0.4);
  transform: translateY(-2px) scale(1.05);
}

.material-option input[type="radio"]:checked ~ .material-text,
.material-option.selected .material-text {
  color: var(--gold);
  font-weight: 600;
}

.material-display {
  display: flex;
  align-items: center;
  gap: 12px;
}

.material-display .material-swatch {
  width: 48px;
  height: 48px;
}

.material-single {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ==========================================================
   QUANTITY SELECTOR - REFINED CONTROLS
========================================================== */
.qty-wrap {
  margin-bottom: 32px;
}

.qty-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  height: 52px;
  background: var(--white);
  transition: var(--transition-fast);
  max-width: 160px;
}

.qty-control:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-xs);
}

.qty-control button {
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.qty-control button:hover {
  background: var(--bg-light);
  color: var(--gold);
}

.qty-control button:active {
  transform: scale(0.95);
}

.qty-control input {
  width: 56px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  background: transparent;
  padding: 0;
}

.qty-control input:focus {
  outline: none;
}

/* ==========================================================
   PRODUCT ACTIONS - PREMIUM BUTTONS
========================================================== */
.product-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.btn-pandora-primary,
.btn-pandora-secondary {
  width: 100%;
  height: 56px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-pandora-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-pandora-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.btn-pandora-primary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-pandora-primary:hover::before {
  left: 100%;
}

.btn-pandora-primary:active {
  transform: translateY(0);
}

.btn-pandora-secondary {
  background: var(--black);
  color: var(--bg-light);
  border: 1px solid var(--border-color);
}

.btn-pandora-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.btn-pandora-secondary:active {
  transform: translateY(0);
}

/* ==========================================================
   SOCIAL SHARING - ELEGANT DESIGN
========================================================== */
.product-sharing {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.share-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  transition: transform 0.3s;
}

.share-btn:hover::before {
  transform: scale(1);
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn.copy {
  background: var(--text-secondary);
}

/* ==========================================================
   PRODUCT DESCRIPTION - PROFESSIONAL FORMATTING
========================================================== */
.product-description {
  margin: 40px 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.description-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.description-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================
   TRUST BADGES - PROFESSIONAL INDICATORS
========================================================== */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  padding: 32px;
  background: var(--bg-section);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
}

.trust-item span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ==========================================================
   ACCORDION - REFINED DESIGN
========================================================== */
.product-accordion {
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
}

.product-accordion details {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}

.product-accordion summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  transition: var(--transition-fast);
  list-style: none;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12px;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

.product-accordion summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold);
  transition: var(--transition-fast);
  font-weight: 300;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-light);
}

.product-accordion details[open] summary::after {
  content: "−";
  transform: rotate(0deg);
  background: var(--gold);
  color: var(--white);
}

.product-accordion summary:hover {
  color: var(--gold);
}

.product-accordion p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
  padding-left: 0;
  font-weight: 400;
}

/* ==========================================================
   LAZY LOAD IMAGES
========================================================== */
.lazy-img {
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-img.loaded {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================
   LIGHTBOX MODAL - PREMIUM EXPERIENCE
========================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.97);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

.lightbox-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 50px;
  color: var(--white);
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition-fast);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  padding: 0;
}

.lightbox-close:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
}

.lightbox-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  padding: 18px 20px;
  cursor: pointer;
  border-radius: 8px;
  pointer-events: all;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
}

/* ==========================================================
   RELATED PRODUCTS - PROFESSIONAL SECTION
========================================================== */
.related-products-section {
  margin-top: 120px;
  padding: 100px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
}

.container-related {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.related-product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.related-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.related-product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-light);
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.related-product-info {
  padding: 24px;
}

.related-product-title {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-product-price {
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.3px;
}

/* ==========================================================
   STICKY MOBILE ADD-TO-BAG BAR
========================================================== */
.sticky-add {
  display: none;
}

@media (max-width: 768px) {
  .sticky-add {
    position: fixed;
    left: 0;
    right: 0;
    bottom: env(safe-area-inset-bottom);
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .sticky-add form {
    flex: 1;
  }

  .sticky-primary {
    width: 100%;
    height: 52px;
    border-radius: 6px;
    border: none;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
  }

  .sticky-primary:active {
    transform: scale(0.98);
    background: #1a1a1a;
  }

  .sticky-secondary {
    flex: 1;
    height: 52px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
  }

  .sticky-secondary:active {
    transform: scale(0.98);
  }

  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

/* ==========================================================
   MOBILE RESPONSIVE - PROFESSIONAL ADAPTATION
========================================================== */
@media (max-width: 1200px) {
  .product-flex {
    gap: 60px;
    padding: 0 30px;
  }
}

@media (max-width: 1024px) {
  .product-flex {
    gap: 50px;
  }

  .product-image-box {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .product-page {
    padding-top: 160px;
  }

  .breadcrumb {
    padding: 15px 30px;
  }

  .product-flex {
    flex-direction: column;
    gap: 50px;
    padding: 0 30px;
  }

  .product-media.sticky-media {
    position: relative;
    top: unset;
    width: 100%;
    max-width: 100%;
  }

  .product-image-box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .product-details {
    max-width: 100%;
  }

  .product-title {
    font-size: 32px;
  }

  .final-price {
    font-size: 30px;
  }

  .trust-badges {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding-top: 140px;
  }

  .product-flex {
    padding: 0 20px;
  }

  .breadcrumb {
    padding: 12px 20px;
    font-size: 11px;
  }

  .product-title {
    font-size: 28px;
  }

  .product-badges {
    margin-bottom: 16px;
  }

  .product-specs {
    margin: 24px 0;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .container-related {
    padding: 0 20px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 28px;
    width: 44px;
    height: 44px;
  }

  .lightbox-nav {
    padding: 0 16px;
  }

  .lightbox-prev,
  .lightbox-next {
    padding: 14px 18px;
    font-size: 20px;
  }

  .thumb-row {
    gap: 10px;
    justify-content: center;
  }

  .thumb-item {
    width: 70px;
    height: 70px;
  }
}

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

  .product-title {
    font-size: 24px;
  }

  .final-price {
    font-size: 26px;
  }

  .product-price-wrap {
    gap: 12px;
  }

  .strike-price {
    font-size: 16px;
  }
}
