h1 {
  font-family: 'Prompt', sans-serif !important;
}
/* Product Detail Page Styles */
/* Main Content Area */
.main-content {
  padding: 0;
  min-height: 400px;
  flex: 1;
}
/* Product Detail Section */
.product-detail-section {
  padding: 40px 0;
}
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
/* Product Images */
.product-images {
  position: sticky;
  top: 120px;
}
.main-image {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
}
.main-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.main-image:hover img {
  transform: scale(1.05);
}
.image-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 30000;
  cursor: zoom-out;
}
.image-zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
/* Fullscreen Gallery Styles */
.fullscreen-gallery {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 999999 !important; /* Very high z-index to ensure it's above everything */
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
/* Prevent body scroll when gallery is open */
body.gallery-open {
  overflow: hidden !important;
}
/* Hide all content when gallery is open except the gallery itself */
body.gallery-open > *:not(.fullscreen-gallery) {
  display: none !important;
}
/* Ensure gallery is always visible when it has gallery-open class on body */
body.gallery-open .fullscreen-gallery {
  display: flex !important;
}
.fullscreen-gallery.active {
  opacity: 1;
}
.gallery-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery-close {
  position: absolute;
  top: 20px;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 999999 !important; /* Very high z-index */
}
.gallery-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}
.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80vh;
  max-width: 1200px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 999999 !important; /* Very high z-index */
}
.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}
.gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%) scale(0.9);
}
.gallery-nav:disabled:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(0.9);
}
.gallery-nav.prev {
  left: 50px;
}
.gallery-nav.next {
  right: 50px;
}
.gallery-image-container {
  position: relative;
  max-width: 90%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}
.gallery-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.gallery-counter {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}
.gallery-thumbnails {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  max-width: 90%;
  overflow-x: auto;
  padding: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-thumbnails::-webkit-scrollbar {
  display: none;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}
.gallery-thumb.active {
  border-color: white;
  opacity: 1;
  transform: scale(1.1);
}
.gallery-thumb:hover {
  border-color: rgba(255, 255, 255, 0.8);
  opacity: 0.9;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.thumbnail {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.thumbnail.active {
  border-color: #897c70;
}
.thumbnail:hover {
  border-color: #897c70;
  opacity: 0.8;
}
.thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
/* Product Information */
.product-info {
  padding-left: 20px;
}
.product-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #444241;
  line-height: 1.3;
  margin-bottom: 20px;
}
.product-short-description {
  margin-bottom: 20px;
}
.product-short-description p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  font-style: italic;
}
.product-price {
  margin-bottom: 20px;
}
.price {
  font-size: 24px;
  font-weight: 700;
  color: #444241;
  letter-spacing: 0.5px;
}
.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.stock-status.in-stock {
  color: #27ae60;
}
.stock-status.out-of-stock {
  color: #e74c3c;
}
.stock-status.low-stock {
  color: #f39c12;
}
.stock-status {
  font-family: 'Prompt', sans-serif !important;
  color: #34b79d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.stock-status i {
  font-size: 14px;
}
.product-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 20px 0;
}
.product-stock {
  margin-bottom: 25px;
}
.stock-status {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 20px;
  display: inline-block;
}
.stock-status.in-stock {
  background-color: #e8f5e8;
  color: #38ba9b;
}
.product-quantity {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  width: fit-content;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.quantity-btn {
  background-color: #f8f8f8;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 16px;
  color: #444241;
  transition: background-color 0.3s ease;
  border-right: 1px solid #ddd;
}
.quantity-btn:last-child {
  border-right: none;
  border-left: 1px solid #ddd;
}
.quantity-btn:hover {
  background-color: #e5e5e5;
}
.quantity-input {
  border: none;
  padding: 12px 20px;
  text-align: center;
  font-size: 16px;
  width: 80px;
  outline: none;
}
.product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}
.btn-add-to-cart {
  background-color: #34b79d;
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  text-decoration: none;
}
.btn-add-to-cart:hover:not(:disabled) {
  background-color: #34b79d;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}
.btn-add-to-cart:disabled {
  background-color: #ccc;
  color: #999;
  cursor: not-allowed;
  transform: none;
}
.btn-wishlist {
  background-color: transparent;
  color: #444241;
  border: 1px solid #ddd;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-wishlist:hover {
  border-color: #897c70;
  color: #897c70;
}
.product-meta {
  margin-top: 20px;
  padding-top: 10px;
}
.meta-item {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}
.meta-label {
  font-weight: 600;
  color: #444241;
  display: inline-block;
  min-width: 80px;
}
.meta-value {
  color: #666;
}
.meta-value a {
  color: #777;
  text-decoration: none;
  transition: color 0.3s ease;
}
.meta-value a:hover {
  color: #34b79d;
}
.meta-value .fas.fa-circle {
  font-size: 4px;
  margin: 0 8px;
  vertical-align: middle;
  color: #ccc;
}
/* Product Tabs Section */
.product-tabs-section {
  background-color: #ffffff;
  padding: 50px 0;
  font-family: 'Prompt', sans-serif;
  color: #777;
}
.product-tabs {
  max-width: 1000px;
  margin: 0 auto;
}
.tab-navigation {
  display: flex;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 40px;
}
.tab-btn {
  background: none;
  border: none;
  padding: 15px 30px;
  font-family: 'Prompt', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #777;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tab-btn.active {
  color: #777;
  border-bottom-color: #897c70;
}
.tab-btn:hover {
  color: #777;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.description-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.description-left h3 {
  font-family: 'Prompt', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  margin-bottom: 10px;
}
.description-subtitle {
  color: #777;
  margin-bottom: 25px;
  font-size: 13px;
  font-family: 'Prompt', sans-serif;
}
.description-text {
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  margin-bottom: 20px;
  font-family: 'Prompt', sans-serif;
}
.style-guide {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}
.style-guide p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  font-family: 'Prompt', sans-serif;
}
.description-right h4 {
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #777;
  margin-bottom: 20px;
}
.product-details-list {
  list-style: none;
  padding: 0;
}
.product-details-list li {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
  font-family: 'Prompt', sans-serif;
}
.product-details-list li:before {
  content: '○';
  position: absolute;
  left: 0;
  color: #897c70;
  font-size: 8px;
  top: 8px;
}
/* Responsive Design for Product Detail */
@media (max-width: 768px) {
  .product-detail-container {
  grid-template-columns: 1fr;
  gap: 30px;
}
  .product-images {
  position: static;
}
  .product-info {
  padding-left: 0;
}
  .product-title {
  font-size: 22px;
}
  .price {
  font-size: 20px;
}
  .product-actions {
  flex-direction: column;
}
  .btn-add-to-cart {
  flex: none;
}
  .thumbnail-images {
  grid-template-columns: repeat(4, 1fr);
}
  .description-content {
  grid-template-columns: 1fr;
  gap: 30px;
}
  /* Gallery responsive adjustments */
  .gallery-nav {
  width: 50px;
  height: 50px;
  font-size: 20px;
}
  .gallery-nav.prev {
  left: 15px;
}
  .gallery-nav.next {
  right: 15px;
}
  .gallery-close {
  top: 15px;
  right: 5px;
  width: 45px;
  height: 45px;
  font-size: 18px;
}
  .gallery-container {
  height: 70vh;
}
  .gallery-counter {
  top: 20px;
  font-size: 13px;
  padding: 6px 12px;
}
  .gallery-thumbnails {
  bottom: 20px;
  gap: 8px;
}
  .gallery-thumb {
  width: 50px;
  height: 50px;
}
}
@media (max-width: 480px) {
  .product-detail-section {
  padding: 20px 0;
}
  .product-tabs-section {
  padding: 30px 0;
}
  .thumbnail-images {
  grid-template-columns: repeat(3, 1fr);
}
  .tab-btn {
  padding: 12px 20px;
  font-size: 12px;
}
  /* Mobile gallery adjustments */
  .gallery-nav {
  width: 45px;
  height: 45px;
  font-size: 18px;
}
  .gallery-nav.prev {
  left: 10px;
}
  .gallery-nav.next {
  right: 10px;
}
  .gallery-close {
  top: 10px;
  right: 5px;
  width: 40px;
  height: 40px;
  font-size: 16px;
}
  .gallery-container {
  height: 60vh;
}
  .gallery-counter {
  top: 15px;
  font-size: 12px;
  padding: 5px 10px;
}
  .gallery-thumbnails {
  bottom: 15px;
  gap: 6px;
  padding: 5px;
}
  .gallery-thumb {
  width: 45px;
  height: 45px;
}
}
/* Related Products Section */
.related-products-section {
  background-color: #ffffff;
  padding: 60px 0;
}
.related-products-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #444241;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 1px;
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 253px);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}
.related-product-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  width: 253px;
}
.related-product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.related-product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-product-image {
  position: relative;
  width: 253px;
  height: 253px;
  overflow: hidden;
  background: #f8f8f8;
}
.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.related-product-item:hover .related-product-image img {
  transform: scale(1.05);
}
.related-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2;
  padding: 15px;
  pointer-events: none;
}
.related-product-item:hover .related-product-overlay {
  opacity: 1;
  visibility: visible;
}
.related-product-view {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 8px 36px;
  border: 1px solid white;
  border-radius: 3px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
}
.related-product-item:hover .related-product-view {
  background: white;
  color: #444241;
  transform: scale(1.05);
}
.related-product-info {
  padding: 20px;
  text-align: left;
}
.related-product-name {
  font-family: 'Prompt', sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  color: #000 !important;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 36px;
}
.related-product-name a {
  color: inherit;
  text-decoration: none;
}
.related-product-name a:hover {
  color: #aaa !important;
}
.related-product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #444241;
}
/* Responsive Design for Related Products */
@media (max-width: 1024px) {
  .related-products-grid {
  grid-template-columns: repeat(3, 253px);
  gap: 20px;
}
}
@media (max-width: 768px) {
  .related-products-section {
  padding: 40px 0;
}
  .related-products-title {
  font-size: 20px;
  margin-bottom: 30px;
}
  .related-products-grid {
  grid-template-columns: repeat(2, minmax(200px, 253px));
  gap: 15px;
  justify-content: center;
}
  .related-product-item {
  width: 100%;
  max-width: 253px;
}
  .related-product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
  .related-product-info {
  padding: 15px;
}
  .related-product-name {
  font-size: 14px;
  min-height: 36px;
}
  .related-product-price {
  font-size: 16px;
}
  .related-product-view {
  font-size: 10px;
  padding: 8px 36px;
}
}
@media (max-width: 480px) {
  .related-products-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 100%;
  padding: 0 10px;
}
  .related-product-item {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
}
  .related-product-image {
  width: 100%;
  height: 180px;
}
  .related-product-info {
  padding: 12px;
}
  .related-product-name {
  font-size: 13px;
  margin-bottom: 6px;
  min-height: 32px;
}
  .related-product-price {
  font-size: 16px;
}
  .related-product-view {
  font-size: 9px;
  padding: 6px 12px;
}
  .related-product-overlay {
  padding: 10px;
}
}
/* Ring Size Selector */
.ring-size-selector {
  margin-bottom: 20px;
}
.ring-size-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #444241;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.ring-size-dropdown {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #444241;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
  font-family: 'Prompt', sans-serif;
}
.ring-size-dropdown:hover,
.ring-size-dropdown:focus {
  border-color: #897c70;
  outline: none;
}
.ring-size-dropdown option {
  padding: 10px;
}

.ring-size-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #444241;
  background-color: white;
  transition: border-color 0.3s ease;
  font-family: 'Prompt', sans-serif;
}

.ring-size-input:hover,
.ring-size-input:focus {
  border-color: #897c70;
  outline: none;
}

.ring-size-input::placeholder {
  color: #999;
  font-style: italic;
}

/* Quantity Selector */
.quantity-selector {
  margin-bottom: 20px;
}
.quantity-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #444241;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.quantity-controls {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.quantity-btn {
  background-color: #f8f8f8;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 16px;
  color: #444241;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
}
.quantity-btn:hover {
  background-color: #897c70;
  color: white;
}
.quantity-btn:active {
  transform: scale(0.95);
}
.quantity-input {
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 12px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  width: 80px;
  outline: none;
  background-color: white;
  color: #444241;
  font-family: 'Montserrat', sans-serif;
}
/* Remove number input arrows */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

