/* Enhanced Premium Product Detail Page - Professional HD Design */
/* Ultra-Modern Clean Design with Premium Quality */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap");
/* 
:root {
    --luxury-gold: #c9a96e;
    --luxury-gold-light: #e8d5b7;
    --luxury-gold-dark: #b8956a;
    --luxury-black: #0f0f0f;
    --luxury-white: #ffffff;
    --luxury-gray: #fafbfc;
    --luxury-gray-light: #f8f9fa;
    --luxury-text: #1a1a1a;
    --luxury-text-light: #64748b;
    --luxury-text-muted: #94a3b8;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 8px 25px rgba(201, 169, 110, 0.25);
    --transition-fast: all 0.15s 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);
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --gradient-gold: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-light) 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
} */

:root {
  /* Primary Colors */
  --color-primary: #88030a;
  --color-primary-dark: #4c0a0e;
  --color-primary-light: #9c393e;
  --color-primary-lighter: #a03237;
  --color-secondary: #300708;

  /* Text Colors */
  --color-text: #2c2c2c;
  --color-text-light: #666;
  --color-white: #ffffff;
  

  /* Background Colors */
  --bg-transparent: transparent;
  --bg-overlay: rgba(0, 0, 0, 0.1);
  --bg-white-alpha: rgba(255, 255, 255, 0.5);
  --bg-white-alpha-light: rgba(255, 255, 255, 0.3);
  --bg-primary: white;

  /* Box Shadows */
  --shadow-sm: 0 0px 5px rgba(0, 0, 0, 0.1) !important;
  --shadow-md: 0 0px 15px rgba(0, 0, 0, 0.2) !important;
  --shadow-text: 0 0px 5px rgba(0, 0, 0, 0.1) !important;
  --shadow-drop: 0 0px 10px rgba(0, 0, 0, 0.1) !important;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6d0d12 0%, #88030a 100%);
  --gradient-text: linear-gradient(135deg, #6d0d12 0%, #88030a 100%);
  --gradient-line: linear-gradient(135deg, #6d0d12 0%, #88030a 100%);
  --gradient-line-vertical: linear-gradient(135deg, #6d0d12 0%, #88030a 100%);
  --gradient-shine: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );

   --border-radius: 8px;
    --transition-fast: all 0.15s 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);
}
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--luxury-white);
  color: var(--luxury-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: rgba(201, 169, 110, 0.2);
  color: var(--luxury-text);
}

::-moz-selection {
  background: rgba(201, 169, 110, 0.2);
  color: var(--luxury-text);
}

/* Main Product Page Container */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 30px;
  background: var(--luxury-white);
  min-height: 100vh;
}

/* Enhanced Breadcrumb */
.breadcrumb {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 30px;
  margin: 15px 60px;
  border: 1px solid rgba(201, 169, 110, 0.1);

  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 500;
  /* position: sticky;
    top: 105px; */
  z-index: 100;
  transition: var(--transition);
}

.breadcrumb:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--luxury-gold-dark);
}

.breadcrumb a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.breadcrumb a:hover::after {
  width: 100%;
}

.breadcrumb span {
  color: var(--luxury-text-light);
  font-weight: 400;
}

/* Enhanced Product Container */
.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--color-white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: var(--shadow-drop);
  border: 1px solid rgba(201, 169, 110, 0.08);
  position: relative;
  overflow: visible;
  position: static;
  margin-bottom: 30px;
  align-items: start;
}

/* Enhanced Image Section */
.product-image-section {
  position: relative;
  position: sticky;
  top: 500px;
  align-self: flex-start;
  z-index: 10;
}

.discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.main-image {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--luxury-gray-light);
  position: relative;
}

.main-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(201, 169, 110, 0.05) 100%
  );
  /* background: var(--color-white); */
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.main-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.main-image:hover::before {
  opacity: 1;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  position: relative;
  z-index: 0;
}

.no-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--luxury-gray) 0%,
    var(--luxury-gray-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luxury-text-muted);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--border-radius-lg);
}

/* Enhanced Thumbnails */
.image-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--luxury-gold) transparent;
}

.image-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.image-thumbnails::-webkit-scrollbar-track {
  background: rgba(201, 169, 110, 0.1);
  border-radius: 2px;
}

.image-thumbnails::-webkit-scrollbar-thumb {
  background: var(--luxury-gold);
  border-radius: 2px;
}

.thumbnail {
  min-width: 65px;
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: var(--border-radius);
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
  border: 2px solid rgba(201, 169, 110, 0.2);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.thumbnail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(201, 169, 110, 0.1) 100%
  );
  opacity: 0;
  transition: var(--transition-fast);
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.thumbnail:hover::before,
.thumbnail.active::before {
  opacity: 1;
}

/* Enhanced Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0;
}

.product-details h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--luxury-black);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  position: relative;
}



/* Enhanced Price Section */
.price-section {
  /* background: var(--gradient-subtle); */
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); */
  /* padding: 24px; */
  /* border-radius: var(--border-radius-lg); */
  /* border: 1px solid rgba(201, 169, 110, 0.15); */
  position: relative;
  overflow: hidden;
  /* box-shadow: var(--shadow-sm); */
  font-family: Arial, sans-serif !important;
}

.price-section * {
  font-family: Arial, sans-serif !important;
}

.price-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 110, 0.08),
    transparent
  );
  transition: left 0.8s ease;
}

.price-section:hover::before {
  left: 100%;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: #2e7d32;
  display: block;
  font-family: Arial, sans-serif !important;
  letter-spacing: normal !important;
}

.original-price {
  font-size: 1.1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: normal;
  margin-right: 12px;
  font-family: Arial, sans-serif !important;
}

.save-price {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: Arial, sans-serif !important;
}

.save-price * {
  font-family: Arial, sans-serif !important;
}

.savings {
  font-size: 0.95rem;
  color: #059669;
  font-weight: normal;
  background: rgba(5, 150, 105, 0.1);
  padding: 5px 16px;
  max-height: 40px;
  border-radius: 10px;
  display: inline-block;
  border: 1px solid rgba(5, 150, 105, 0.2);
  font-family: Arial, sans-serif !important;
}

/* Enhanced Short Description */
.short-description {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* padding:  0 18px; */
  border-radius: 10px;
  border-left: 3px solid var(--luxury-gold);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--luxury-text);
  /* box-shadow: var(--shadow-sm); */
  /* border: 1px solid rgba(201, 169, 110, 0.1); */
  position: relative;
}

/* .short-description::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 2rem;
  color: var(--luxury-gold);
  opacity: 0.3;
  font-family: "Playfair Display", serif;
} */

/* Enhanced Product Info */
.product-info {
  background: var(--luxury-gray-light);
  padding: 18px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(201, 169, 110, 0.08);
  box-shadow: var(--shadow-xs);
}

.product-info p {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--luxury-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-info strong {
  color: var(--luxury-black);
  font-weight: 600;
  min-width: 100px;
}

/* Enhanced Product Attributes */
.product-attributes {
  background: var(--luxury-white);
  /* padding: 24px; */
  border-radius: var(--border-radius-lg);
  /* border: 1px solid rgba(201, 169, 110, 0.1); */
  /* box-shadow: var(--shadow-sm); */
}

.product-attributes h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--luxury-black);
  /* margin-bottom: 18px; */
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
}

.product-attributes h3 i {
  color: #86262b;
  font-size: 1.2rem;
}

.attributes-grid {
  display: grid;
  gap: 15px;
}

.attribute-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attribute-item label {
  font-weight: 600;
  color: var(--luxury-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px;
}

.attribute-item .required {
  color: #ef4444;
  margin-left: 4px;
}

.attribute-item select,
.attribute-item input,
.attribute-item textarea {
  padding: 10px 14px;
  border: 2px solid #86262b22;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  background: var(--luxury-white);
  color: var(--luxury-text);
}

.attribute-item select:focus,
.attribute-item input:focus,
.attribute-item textarea:focus {
  outline: none;
  border-color: #86262b;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}

.checkbox-option:hover {
  background: rgba(201, 169, 110, 0.05);
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--luxury-gold);
}

.file-input-wrapper {
  position: relative;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--luxury-gray-light);
  border: 2px dashed rgba(201, 169, 110, 0.3);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 500;
  color: var(--luxury-text-light);
}

.file-label:hover {
  background: rgba(201, 169, 110, 0.05);
  border-color: var(--luxury-gold);
  color: var(--luxury-gold);
}

/* Enhanced Quantity Section */
.quantity-section {
  background: var(--color-white);
  /* padding: 0 20px; */
  border-radius: 10px;
  /* border: 1px solid rgba(201, 169, 110, 0.1); */
  /* box-shadow: var(--shadow-sm); */
  transition: var(--transition);
}

/* .quantity-section:hover {
  border-color: rgba(201, 169, 110, 0.25);
  box-shadow: var(--shadow-sm);
} */

.quantity-section label {
  display: block;
  font-weight: 600;
  color: var(--luxury-black);
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 18px;
  border: 2px solid #86262b3e;
  border-radius: 50px;
  overflow: hidden;
  width: fit-content;
  background: var(--luxury-white);
  box-shadow: var(--shadow-xs);
}

.quantity-controls button {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-controls button:hover {
  background: var(--color-primary);
  transform: scale(1.05);
}

.quantity-controls button:active {
  transform: scale(0.95);
}

.quantity-controls input {
  border: none;
  width: 70px;
  height: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--luxury-white);
  color: var(--luxury-text);
}

.quantity-controls input:focus {
  outline: none;
  background: rgba(201, 169, 110, 0.05);
}

.total-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--luxury-black);
  padding: 12px 18px;
  background: #86262b1f;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(201, 169, 110, 0.15);
  font-family: Arial, sans-serif !important;
}

.total-price * {
  font-family: Arial, sans-serif !important;
}

#total-price-display {
  color: #2e7d32;
  font-size: 20px;
  font-weight: bold;
  font-family: Arial, sans-serif !important;
}

/* Enhanced Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.wishlist-btn-detail,
.add-to-cart-btn,
.buy-now-btn {
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Playfair Display", serif;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
}

.wishlist-btn-detail {
  background: var(--luxury-white);
  color: #e74c3c;
  position: relative;
  top: 0px;
  width: 50px;
  max-width: 50px;
  right: 0px;
  border: 2px solid #e74c3c;
  transition: var(--transition);
}

.wishlist-btn-detail.active {
  background: #e74c3c;
  color: var(--luxury-white);
  box-shadow: var(--shadow-md);
}

.wishlist-btn-detail:hover {
  background: #e74c3c;
  color: var(--luxury-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.add-to-cart-btn::before,
.buy-now-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.433),
    transparent
  );
  transition: left 1.5s ease;
}

.add-to-cart-btn {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-ms);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-to-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--color-primary);
}

.buy-now-btn {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: none;
  border: 2px solid var(--color-primary);
}

.buy-now-btn:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.add-to-cart-btn:hover::before,
.buy-now-btn:hover::before {
  left: 100%;
}

.add-to-cart-btn:active,
.buy-now-btn:active,
.wishlist-btn-detail:active {
  transform: translateY(0);
}

/* Enhanced Video Section */
.video-section {
  background: var(--luxury-white);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 169, 110, 0.1);
}

.video-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--luxury-black);
  margin-bottom: 24px;
  text-align: center;
  font-family: "Playfair Display", serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.video-section h3 i {
  color: #86262b;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--luxury-gray-light);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Enhanced Product Tabs */
.product-tabs {
  margin-top: 45px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow-drop);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.08);
}

.tab-buttons {
  display: flex;
  background: var(--gradient-subtle);
  padding: 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}

.tab-buttons::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 1;
  max-width: 200px;
  padding: 15px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--luxury-text-light);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tab-btn i {
  font-size: 14px;
}

.tab-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
    background: linear-gradient(to right, transparent, #86262b, transparent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
}

.tab-btn:hover,
.tab-btn.active {
  color: #86262b;
  background: #86262b1f;
}

.tab-btn.active::before {
  width: 80%;
}

.tab-content {
  padding: 30px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Description Content */
.description-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, 0.1);
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--luxury-text);
  box-shadow: var(--shadow-xs);
}

.description-content h3 {
  color: var(--luxury-black);
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.description-content p {
  margin-bottom: 12px;
  color: var(--luxury-text);
}

.description-content ul,
.description-content ol {
  margin: 12px 0;
  padding-left: 22px;
}

.description-content li {
  margin-bottom: 6px;
  color: var(--luxury-text);
}

/* Enhanced FAQ Section */
.faq-section {
  background: var(--luxury-white);
  padding: 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 169, 110, 0.1);
}

.faq-item {
  background: #86262b23;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--border-radius);
  padding: 18px;
  margin-bottom: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #86262b;
}

.faq-item:hover {
  background: rgba(201, 169, 110, 0.08);
  border-color: var(--luxury-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-item h4 {
  color: var(--luxury-black);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  font-family: "Playfair Display", serif;
}

.faq-item p {
  color: var(--luxury-text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Enhanced Reviews Section */
.reviews-section {
  background: var(--luxury-white);
  padding: 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 169, 110, 0.1);
}

.reviews-section h3 {
  color: var(--luxury-black);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Playfair Display", serif;
}

.reviews-container {
  background: #86262b18;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  text-align: center;
}

.reviews-container p {
  color: var(--luxury-text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }

  .main-image img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding: 12px;
  }

  .product-container {
    padding: 18px;
    border-radius: var(--border-radius-lg);
    gap: 24px;
  }

  .product-details h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .faq-section {
    padding: 10px !important;
  }

  .current-price {
    font-size: 1.6rem;
  }

  .action-buttons {
    flex-direction: column;
  }
  .checkbox-group {
    gap: 0;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-btn {
    min-width: auto;
    text-align: center;
  }

  .main-image img {
    height: 240px;
  }

  .quantity-controls {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .product-container {
    padding: 15px;
    margin: 0 6px;
    gap: 18px;
  }

  .breadcrumb {
    padding: 8px 12px;
    font-size: 11px;
    margin: 10px 6px 15px;
  }

  .price-section {
    padding: 18px;
  }

  .current-price {
    font-size: 1.5rem;
  }

  .quantity-section {
    padding: 15px;
  }

  .tab-content {
    padding: 18px;
  }

  .description-content {
    padding: 18px;
    font-size: 0.9rem;
  }

  .thumbnail {
    min-width: 50px;
    width: 50px;
    height: 50px;
  }

  .main-image {
    aspect-ratio: 1;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced FAQ Section */
.faq-section {
  background: var(--luxury-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(217, 153, 70, 0.1);
}

.faq-item {
  background: #86262b15;
  border: 1px solid rgba(217, 153, 70, 0.2);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #86262b;
}

.faq-item:hover {
  background: #86262b38;
  border-color: var(--luxury-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.faq-item h4 {
  color: var(--luxury-black);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.faq-item p {
  color: var(--luxury-text);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Reviews Section */
.reviews-section {
  background: var(--luxury-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(217, 153, 70, 0.1);
}

.reviews-section h3 {
  color: var(--luxury-black);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

/* Enhanced Related Products Section */
.related-products {
  margin-top: 60px;
  background: var(--color-white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 45px 35px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 169, 110, 0.1);
  position: relative;
  overflow: hidden;
}

.related-products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}

.related-products h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
  display: inline-block;
  width: 100%;
  font-family: "Playfair Display", serif;
}

.related-products h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 2px;
  background: var(--color-primary);
  transform: translateX(-50%);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.related-products .product-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(201, 169, 110, 0.08);
}

.related-products .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(201, 169, 110, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.related-products .product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-drop);
  border-color: rgba(201, 169, 110, 0.2);
}

.related-products .product-card:hover::before {
  opacity: 1;
}

.related-products .product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 18px;
  border-radius: 10px !important;
  position: relative;
  z-index: 2;
}

.related-products .product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  transition: var(--transition);
}

.related-products .product-card:hover img {
  transform: scale(1.02);
}

.related-products .product-card .no-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(
    135deg,
    var(--luxury-gray) 0%,
    var(--luxury-gray-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--luxury-text-muted);
  font-size: 12px;
  font-weight: 500;
  border-radius: 10px;
  margin-bottom: 12px;
}

.related-products .product-card h4 {
  font-size: 1rem;
  margin: 12px 0;
  color: var(--luxury-black);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  font-family: "Playfair Display", serif;
}

.related-products .price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif !important;
}

.related-products .price-row * {
  font-family: Arial, sans-serif !important;
}

.related-products .price-with-tax {
  font-size: 23px;
  font-weight: 600;
  color: #2e7d32;
  text-align: center;
  font-family: Arial, sans-serif !important;
}

.related-products .price-with-tax del {
  color: var(--luxury-text-muted);
  font-weight: 400;
  margin-right: 6px;
  font-size: 0.9rem;
  font-family: Arial, sans-serif !important;
}

.related-products .price-with-tax strong {
  color: #2e7d32;
  font-weight: 700;
  font-family: Arial, sans-serif !important;
}

.related-products .sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  z-index: 3;
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
}

/* Selection Styling */
::selection {
  background: rgba(217, 153, 70, 0.3);
  color: var(--luxury-black);
}

::-moz-selection {
  background: rgba(217, 153, 70, 0.3);
  color: var(--luxury-black);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .product-container {
    gap: 30px;
    padding: 30px;
  }

  .related-products {
    padding: 35px 25px;
  }
}

@media (max-width: 1024px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }

  .product-image-section {
    position: relative !important;
    top: auto !important;
  }

  .main-image {
    aspect-ratio: 4/3;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding: 0 12px 24px;
  }

  .product-details {
    gap: 0;
  }

  .breadcrumb {
    padding: 10px 16px;
    margin: 12px 0 18px;
    font-size: 12px;
  }

  .product-container {
    padding: 18px;
    border-radius: var(--border-radius-lg);
    gap: 24px;
  }

  .product-details h1 {
    font-size: clamp(1rem, 5vw, 1rem);
  }

  .current-price {
    font-size: 1.6rem;
  }

  .action-buttons {
    gap: 10px;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-btn {
    min-width: auto;
    text-align: center;
    padding: 12px 16px;
  }

  .main-image {
    aspect-ratio: 1;
  }

  .quantity-controls {
    width: 100%;
    justify-content: center;
  }

  .related-products {
    margin-top: 45px;
    padding: 30px 18px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .product-container {
    padding: 15px;
    margin: 0 6px;
    gap: 18px;
  }

  .breadcrumb {
    padding: 8px 12px;
    font-size: 11px;
    margin: 10px 6px 15px;
  }

  .price-section {
    padding: 18px;
  }

  .current-price {
    font-size: 1.5rem;
  }

  .quantity-section {
    padding: 15px;
  }

  .tab-content {
    padding: 18px;
  }

  .description-content {
    padding: 18px;
    font-size: 0.9rem;
  }

  .thumbnail {
    min-width: 50px;
    width: 50px;
    height: 50px;
  }

  .main-image {
    aspect-ratio: 1;
  }

  .related-products {
    padding: 24px 12px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-products .product-card a {
    padding: 12px;
  }

  .related-products .product-card img,
  .related-products .product-card .no-image {
    height: 140px;
  }
}

/* Error message styling */
.error-message {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.error-message i {
  font-size: 11px;
}

/* Notification styling */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  transform: translateX(100%);
  transition: var(--transition);
  max-width: 400px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.notification-success {
  background: linear-gradient(
    135deg,
    rgba(5, 150, 105, 0.95) 0%,
    rgba(16, 185, 129, 0.95) 100%
  );
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-error {
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.95) 0%,
    rgba(239, 68, 68, 0.95) 100%
  );
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-info {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.95) 0%,
    rgba(29, 78, 216, 0.95) 100%
  );
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-icon {
  font-size: 16px;
  font-weight: 700;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--luxury-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Focus styles for accessibility */
*:focus {
  outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .breadcrumb,
  .action-buttons,
  .product-tabs {
    display: none;
  }

  .product-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .product-page {
    max-width: 1400px;
    padding: 0 20px 40px;
  }

  .product-container {
    gap: 50px;
    padding: 40px;
  }

  .main-image {
    height: 450px;
  }

  .related-products {
    padding: 50px 40px;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
  .product-page {
    max-width: 1200px;
    padding: 0 18px 35px;
  }

  .product-container {
    gap: 35px;
    padding: 35px;
  }

  .main-image {
    height: 400px;
  }
}

/* Large Tablet/Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
  .product-page {
    padding: 0 15px 30px;
  }

  .product-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .product-image-section {
    position: relative !important;
    top: auto !important;
    max-width: 500px;
    margin: 0 auto;
  }

  .main-image {
    height: 350px;
  }

  .top-right-info {
    top: 20px;
    right: 20px;
  }

  .wishlist-btn,
  .views-counter {
    width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
  }

  .views-counter {
    padding: 4px 10px;
    font-size: 12px;
  }

  .views-counter span {
    font-size: 16px;
  }

  .wishlist-btn i {
    font-size: 17px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .action-buttons {
    flex-direction: row;
    gap: 15px;
  }

  .add-to-cart-btn,
  .buy-now-btn {
    flex: 1;
  }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .product-page {
    padding: 0 12px 25px;
  }

  .breadcrumb {
    padding: 10px 16px;
    margin: 12px 0 18px;
    font-size: 12px;
  }

  .product-container {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
    border-radius: 12px;
  }

  .product-image-section {
    position: relative !important;
    top: auto !important;
    max-width: 450px;
    margin: 0 auto;
  }

  .main-image {
    height: 300px;
  }

  .top-right-info {
    top: 15px;
    right: 15px;
    gap: 10px;
  }

  .wishlist-btn,
  .views-counter {
    width: 38px;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
  }

  .views-counter {
    padding: 4px 8px;
    font-size: 11px;
  }

  .views-counter span {
    font-size: 14px;
  }

  .wishlist-btn i {
    font-size: 15px;
  }

  .product-details h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .current-price {
    font-size: 1.8rem;
  }

  .save-price {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .action-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .tab-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-btn {
    min-width: 120px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .quantity-controls {
    width: 100px;
    margin: 0 auto;
  }

  .related-products {
    margin-top: 40px;
    padding: 30px 20px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
  }

  .related-products .product-card img,
  .related-products .product-card .no-image {
    height: 160px;
  }
}

/* Mobile Landscape (640px - 767px) */
@media (max-width: 767px) and (min-width: 640px) {
  .product-page {
    padding: 0 10px 20px;
  }

  .breadcrumb {
    padding: 8px 12px;
    margin: 10px 0 15px;
    font-size: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .product-container {
    padding: 20px;
    gap: 20px;
    margin: 0 5px;
  }

  .product-image-section {
    position: relative !important;
    top: auto !important;
    max-width: 400px;
    margin: 0 auto;
  }

  .main-image {
    height: 280px;
  }

  .top-right-info {
    top: 12px;
    right: 12px;
    gap: 8px;
  }

  .wishlist-btn,
  .views-counter {
    width: 36px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
  }

  .views-counter {
    padding: 3px 6px;
    font-size: 10px;
  }

  .views-counter span {
    font-size: 13px;
  }

  .wishlist-btn i {
    font-size: 14px;
  }

  .product-details h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    text-align: center;
  }

  .current-price {
    font-size: 1.6rem;
    text-align: center;
  }

  .original-price {
    font-size: 1rem;
  }

  .save-price {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }

  .savings {
    font-size: 0.9rem;
    padding: 4px 12px;
  }

  .short-description {
    padding: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-align: center;
  }

  .product-attributes {
    /* padding: 20px; */
  }

  .attributes-grid {
    gap: 12px;
  }

  .quantity-section {
    padding: 18px;
    text-align: center;
  }

  .quantity-controls {
    width: 180px;
    margin: 0 auto 15px;
  }
  .product-attributes {
    margin-bottom: 10px;
  }

  .action-buttons {
    gap: 10px;
  }

  .add-to-cart-btn,
  .buy-now-btn {
    padding: 14px 20px;
    font-size: 13px;
  }

  .tab-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 10px;
  }

  .tab-btn {
    min-width: 100px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 8px;
  }

  .tab-content {
    padding: 20px;
  }

  .description-content {
    padding: 18px;
    font-size: 0.9rem;
  }

  .thumbnail {
    min-width: 55px;
    width: 55px;
    height: 55px;
  }

  .related-products {
    margin-top: 35px;
    padding: 25px 15px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .related-products .product-card a {
    padding: 15px;
  }

  .related-products .product-card img,
  .related-products .product-card .no-image {
    height: 150px;
  }

  .related-products .product-card h4 {
    font-size: 0.9rem;
  }

  .related-products .price-with-tax {
    font-size: 1.1rem;
    font-family: Arial, sans-serif !important;
  }
  
}

/* Mobile Portrait (480px - 639px) */
@media (max-width: 639px) and (min-width: 480px) {
  .product-page {
    padding: 0 8px 18px;
  }

  .breadcrumb {
    padding: 6px 10px;
    margin: 8px 0 12px;
    font-size: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .product-container {
    padding: 18px;
    gap: 18px;
    margin: 0 3px;
    border-radius: 10px;
  }
  .product-attributes {
    margin-bottom: 10px;
  }

  .product-image-section {
    position: relative !important;
    top: auto !important;
  }

  .main-image {
    height: 250px;
    aspect-ratio: 1;
  }

  .top-right-info {
    top: 10px;
    right: 10px;
    gap: 6px;
  }

  .wishlist-btn,
  .views-counter {
    width: 34px;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
  }

  .views-counter {
    padding: 2px 5px;
    font-size: 9px;
  }

  .views-counter span {
    font-size: 12px;
  }

  .wishlist-btn i {
    font-size: 13px;
  }

  .product-details h1 {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
    text-align: center;
    margin-bottom: 15px;
  }

  .product-rating {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }

  .current-price {
    font-size: 1.5rem;
    text-align: center;
  }

  .original-price {
    font-size: 0.95rem;
  }

  .save-price {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }

  .savings {
    font-size: 0.85rem;
    padding: 3px 10px;
  }

  .short-description {
    padding: 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    text-align: center;
  }

  .product-attributes {
    padding: 16px;
  }

  .product-attributes h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .attributes-grid {
    gap: 10px;
  }

  .attribute-item label {
    font-size: 0.85rem;
  }

  .attribute-item select,
  .attribute-item input,
  .attribute-item textarea {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .quantity-section {
    padding: 15px;
    text-align: center;
  }

  .quantity-controls {
    width: 160px;
    margin: 0 auto 12px;
  }

  .quantity-controls button {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .quantity-controls input {
    width: 60px;
    height: 35px;
    font-size: 13px;
  }

  .total-price {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  #total-price-display {
    font-size: 18px;
  }

  .action-buttons {
    gap: 8px;
  }

  .add-to-cart-btn,
  .buy-now-btn {
    padding: 12px 18px;
    font-size: 12px;
    min-height: 40px;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .tab-btn {
    min-width: auto;
    padding: 12px 15px;
    font-size: 13px;
    border-radius: 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  }

  .tab-btn:last-child {
    border-bottom: none;
  }

  .tab-content {
    padding: 18px;
  }

  .description-content {
    padding: 15px;
    font-size: 0.85rem;
  }

  .thumbnail {
    min-width: 50px;
    width: 50px;
    height: 50px;
  }

  .image-thumbnails {
    gap: 8px;
    margin-top: 15px;
  }

  .related-products {
    margin-top: 30px;
    padding: 20px 12px;
  }

  .related-products h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin-bottom: 25px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .related-products .product-card a {
    padding: 12px;
  }

  .related-products .product-card img,
  .related-products .product-card .no-image {
    height: 150px;
  }

  .related-products .product-card h4 {
    font-size: 0.85rem;
    margin: 8px 0;
  }

  .related-products .price-with-tax {
    font-size: 1rem;
    font-family: Arial, sans-serif !important;
  }
  }

  .faq-item {
    padding: 15px;
  }

  .faq-item h4 {
    font-size: 0.95rem;
  }

  .faq-item p {
    font-size: 0.85rem;
  }
  .product-details h1::after {
    left: calc(50% - 30px);
  }
  .reviews-section {
    padding: 20px;
  }

  .reviews-section h3 {
    font-size: 1.3rem;
  }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  .product-page {
    padding: 0 5px 15px;
  }

  .breadcrumb {
    padding: 5px 8px;
    margin: 5px 0 10px;
    font-size: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .product-container {
    padding: 12px;
    gap: 15px;
    margin: 0 2px;
    border-radius: 8px;
  }

  .product-image-section {
    position: relative !important;
    top: auto !important;
  }
  .product-attributes {
    margin-bottom: 10px;
  }
  .main-image {
    height: 220px;
    aspect-ratio: 1;
  }

  .top-right-info {
    top: 8px;
    right: 8px;
    gap: 4px;
  }

  .wishlist-btn,
  .views-counter {
    width: 30px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
  }

  .views-counter{
    height: 40px !important;
    max-height: 40px !important;
    min-height: 40px !important;
    width: 60px !important;
  }

  .wishlist-btn{
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .views-counter {
    padding: 1px 3px;
    font-size: 8px;
  }

  .views-counter span {
    font-size: 16px !important;
  }

  .wishlist-btn i {
    font-size: 16px !important;
  }

  .discount-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .product-details h1 {
    font-size: clamp(1.1rem, 7vw, 1.4rem);
    text-align: center;
    margin-bottom: 12px;
  }

  .product-rating {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
  }

  .stars .star {
    font-size: 16px;
  }

  .rating-text {
    font-size: 12px;
  }

  .current-price {
    font-size: 1.3rem;
    text-align: center;
  }

  .original-price {
    font-size: 0.9rem;
  }

  .product-rating {
    margin: 0 !important;
    /* gap: 0 !important; */
  }
  .save-price {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
  }

  .savings {
    font-size: 0.8rem;
    padding: 2px 8px;
  }

  .short-description {
    padding: 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-align: center;
  }

  .product-attributes {
    /* padding: 12px; */
  }

  .product-attributes h3 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 15px;
  }

  .attributes-grid {
    gap: 8px;
  }

  .attribute-item label {
    font-size: 0.8rem;
  }

  .attribute-item select,
  .attribute-item input,
  .attribute-item textarea {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .radio-option,
  .checkbox-option {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .quantity-section {
    padding: 12px;
    text-align: center;
  }

  .quantity-section label {
    font-size: 0.8rem;
  }

  .quantity-controls {
    width: 100px;
    margin: 0 auto 10px;
  }

  .quantity-controls button {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .quantity-controls input {
    width: 50px;
    height: 30px;
    font-size: 12px;
  }

  .total-price {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  #total-price-display {
    font-size: 16px;
  }

  .action-buttons {
    gap: 6px;
    margin-top: 0 !important;
  }

  .add-to-cart-btn,
  .buy-now-btn {
    padding: 10px 15px;
    font-size: 11px;
    min-height: 36px;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .tab-btn {
    min-width: auto;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  }

  .tab-btn:last-child {
    border-bottom: none;
  }

  .tab-content {
    padding: 15px;
  }

  .description-content {
    padding: 12px;
    font-size: 0.8rem;
  }

  .thumbnail {
    min-width: 45px;
    width: 45px;
    height: 45px;
  }

  .image-thumbnails {
    gap: 6px;
    margin-top: 12px;
  }

  .related-products {
    margin-top: 25px;
    padding: 15px 8px;
  }

  .related-products h2 {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
    margin-bottom: 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .related-products .product-card a {
    padding: 10px;
  }

  .related-products .product-card img,
  .related-products .product-card .no-image {
    height: 150px;
  }

  .related-products .product-card h4 {
    font-size: 0.8rem;
    margin: 6px 0;
  }

  .related-products .price-with-tax {
    font-size: 0.9rem;
    font-family: Arial, sans-serif !important;
  }

  .faq-item {
    padding: 12px;
  }

  .faq-item h4 {
    font-size: 0.9rem;
  }

  .faq-item p {
    font-size: 0.8rem;
  }

  .reviews-section {
    padding: 15px;
  }

  .reviews-section h3 {
    font-size: 1.2rem;
  }

  .review-item {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .review-stars .star {
    font-size: 14px;
  }

  .review-comment {
    font-size: 0.8rem;
  }

  .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .video-container {
    border-radius: 8px;
  }

  .video-section {
    padding: 20px;
  }
  .product-details h1::after {
    left: calc(50% - 30px);
  }

  .video-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

/* Extra Small Mobile (280px - 319px) */
@media (max-width: 319px) {
  .product-page {
    padding: 0 3px 12px;
  }

  .product-container {
    padding: 8px;
    gap: 12px;
    margin: 0 1px;
  }
  .product-details h1::after {
    left: calc(50% - 30px);
  }

  .main-image {
    height: 180px;
  }

  .product-details h1 {
    font-size: 1rem;
  }

  .current-price {
    font-size: 1.1rem;
  }

  .quantity-controls {
    width: 120px;
  }

  .quantity-controls button {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  .product-attributes {
    margin-bottom: 10px;
  }
  .quantity-controls input {
    width: 40px;
    height: 25px;
    font-size: 10px;
  }

  .add-to-cart-btn,
  .buy-now-btn {
    padding: 8px 12px;
    font-size: 10px;
    min-height: 32px;
  }

  .thumbnail {
    min-width: 40px;
    width: 40px;
    height: 40px;
  }

  .related-products .product-card img,
  .related-products .product-card .no-image {
    height: 150px;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .main-image {
    height: 200px !important;
  }

  .product-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .product-image-section {
    position: relative !important;
    top: auto !important;
  }
  .product-details h1::after {
    left: calc(50% - 30px);
  }
  .top-right-info {
    top: 5px;
    right: 5px;
  }

  .wishlist-btn,
  .views-counter {
    width: 28px;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
  }

  .views-counter span {
    font-size: 9px;
  }

  .wishlist-btn i {
    font-size: 10px;
  }
}

/* High DPI/Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .main-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  .product-details h1::after {
    left: calc(50% - 30px);
  }

  .thumbnail {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  .related-products .product-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .product-details h1::after {
    left: calc(50% - 30px);
  }
  .main-image:hover {
    transform: none;
  }

  .thumbnail:hover,
  .thumbnail.active {
    transform: none;
  }

  .related-products .product-card:hover {
    transform: none;
  }
}

/* Focus Visible for Better Accessibility */
@supports selector(:focus-visible) {
  *:focus {
    outline: none;
  }

  *:focus-visible {
    outline-offset: 2px;
  }
}

/* Container Queries Support (Future-proofing) */
@supports (container-type: inline-size) {
  .product-container {
    container-type: inline-size;
  }

  @container (max-width: 600px) {
    .product-container {
      grid-template-columns: 1fr;
    }
  }
}
