/* --- Review Modal polish (inline modal created in product.js) --- */
#gdd-review-modal .gdd-rm-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 129, 8, 0.25);
  background: #fff;
  color: #ff8108;
  cursor: pointer;
  transition: all .18s ease;
}

#gdd-review-modal .gdd-rm-close:hover {
  background: rgba(255, 129, 8, 0.06);
  border-color: rgba(255, 129, 8, 0.45);
  transform: scale(1.02);
}

#gdd-review-modal .gdd-rm-text {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  border: 1px solid #d7dde4;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Montserrat';
  letter-spacing: 0.4px;
}

#gdd-review-modal .gdd-rm-text::placeholder {
  color: #9aa5b1;
}

#gdd-review-modal .gdd-rm-text:focus {
  outline: none;
  border-color: #ff8108;
  box-shadow: 0 0 0 3px rgba(255, 129, 8, .18);
}

#gdd-review-modal .gdd-rm-footer .gdd-rm-submit {
  background: #ff8108;
  color: #fff;
}

#gdd-review-modal .gdd-rm-footer .gdd-rm-submit:hover {
  filter: brightness(.95);
}

/* ========================================
   PRODUCT SAYFASI - PROFESYONEL TASARIM
   Güneydoğu Dental Ürün Detay Sayfası
======================================== */

/* ========================================
   PRODUCT MAIN LAYOUT
======================================== */
.product-main {
  padding: 40px 0;
  background: #ffffff;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}


/* ========================================
   PRODUCT GALLERY
======================================== */
.product-gallery {
  position: sticky;
  top: 50px;
  height: fit-content;
}

.gallery-main {
  position: relative;
  margin-bottom: 20px;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: #f8f9fa;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #00519780;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-image:hover {
  transform: scale(1.05);
}

.image-zoom-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 200%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: crosshair;
  z-index: 10;
}

.main-image-container:hover .image-zoom-container {
  opacity: 1;
}

.discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ff8108, #ff6b35);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 129, 8, 0.3);
}

.stock-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.gallery-controls {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  z-index: 10;
}

.gallery-btn {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.gallery-fullscreen {
  background: none;
  border: 0;
  outline: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 40px;
  transition: 0.3s all ease;

}

.gallery-fullscreen i {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.7);
  transition: 0.3s all ease;
}

.gallery-fullscreen:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.gallery-fullscreen:hover i {
  color: white;
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 5px;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.thumbnail-container {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail-container.active {
  border-color: var(--text);
  box-shadow: 0 0 0 2px rgba(0, 81, 151, 0.2);
}

.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-container:hover .thumbnail {
  transform: scale(1.1);
}

/* ========================================
   PRODUCT INFORMATION
======================================== */
.product-info {
  padding-left: 20px;
}

.product-header {
  margin-bottom: 30px;
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  justify-content: space-between;
}

.brand-name {
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #ff810829;
  border: 2px solid #ff8108;
  border-radius: 25px;
  max-width: fit-content;
  padding: 2px 15px;
}

.brand-verified {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-size: 14px;
  font-weight: 500;
}

.brand-verified i {
  font-size: 16px;
}

.product-layout .product-title {
  white-space: wrap;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: normal;
  text-shadow: none !important;
}

.product-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.product-header .product-rating {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 15px;
  flex-wrap: wrap;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars i {
  color: #fbbf24;
  font-size: 18px;
}

.rating-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.product-header .rating-count {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.rating-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.rating-link:hover {
  border-bottom-color: var(--primary);
}

/* ========================================
   PRODUCT PRICING
======================================== */
.product-pricing {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid #00519780;
}

.price-container {
  margin-bottom: 15px;
  align-items: flex-start !important;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 8px;
}

.price-old {
  font-size: 1.2rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.price-current {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
}

.price-currency {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.price-savings {
  display: flex;
  gap: 10px;
}

.savings-amount {
  background: none;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.savings-percent {
  background: linear-gradient(135deg, #ff8108, #ff6b35);
  color: white;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.installment-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.installment-info i {
  font-size: 16px;
}

/* ========================================
   PRODUCT HIGHLIGHTS
======================================== */
.product-highlights {
  margin-bottom: 30px;
}

.product-highlights h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f4;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list i {
  color: #ff8108;
  font-size: 16px;
  flex-shrink: 0;
}

.features-list span {
  font-weight: 500;
  color: var(--text);
}

/* ========================================
   PRODUCT OPTIONS
======================================== */
.product-options {
  margin-bottom: 15px;
}

.product-info-actions {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: stretch;
  opacity: 1;
  position: relative;
  gap: 10px;
  margin-bottom: 30px;
}

.product-info-action {
  height: auto;
  width: auto;
  padding: 10px 15px;
  outline: 0;
  border: 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.product-info-action:nth-of-type(1) {
  background-color: #ff8108;
  color: white;
  transition: 0.3s all ease;
  box-shadow: 0 4px 12px #ff7f088b;

}

.product-info-action:nth-of-type(1)::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 99;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.233), rgba(192, 192, 192, 0.189));
  transition: 0.3s all ease;
}

.product-info-action:nth-of-type(1):hover {
  background: #ce690c;
}

.product-info-action:nth-of-type(1):hover::before {
  left: 100%;
}

.product-info-action:nth-of-type(2) {
  background: none;
  border: 2px solid #005197;
  color: #005197;
  transition: 0.3s all ease;
  box-shadow: 0 4px 12px rgba(0, 81, 151, 0.441);

}

.product-info-action:nth-of-type(2):hover {
  background: #005197;
  color: white;
}

.option-group {
  margin-bottom: 25px;
}

.option-label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 16px;
}

.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-option:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 81, 151, 0.1);
}

.color-option.active {
  border-color: var(--primary);
  background: rgba(0, 81, 151, 0.05);
}

.color-sample {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--primary);
}

.color-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.quantity-controls {
  display: flex;
  align-items: stretch;
  position: relative;
  width: fit-content;
  margin-bottom: 10px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #00519780;
  transition: all 0.3s ease;
}

.quantity-controls:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 81, 151, 0.15);
}

.quantity-controls:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 81, 151, 0.1);
}

.quantity-input {
  width: 60px;
  height: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  padding: 0 15px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input:invalid {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.quantity-input[readonly] {
  background: #f8f9fa;
  color: var(--muted);
  cursor: not-allowed;
}

.quantity-btn-group {
  display: flex;
  flex-direction: column;
  border-left: 2px solid #00519780;
  transition: 0.3s all ease;
}

.quantity-controls:hover .quantity-btn-group {
  border-left: 2px solid var(--primary);

}

.quantity-btn {
  width: 32px;
  height: 25px;
  border: none;
  background: #f8f9fa;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  position: relative;
}

.quantity-btn:first-child {
  border-bottom: 2px solid #00519780;
}

.quantity-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.quantity-btn:active {
  transform: scale(0.95);
  background: #0056b3;
}

.quantity-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f1f3f4;
}

.quantity-btn.disabled:hover {
  background: #f1f3f4;
  color: var(--muted);
  transform: none;
}

.stock-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #005197;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 15px;
  border: 2px solid #005197;
  border-left: 5px solid #005197;
  width: fit-content;
}

.stock-info i {
  font-size: 16px;
}

/* Quantity Controls Responsive */
@media (max-width: 768px) {}

/* ========================================
   PRODUCT ACTIONS
======================================== */
.product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  flex: 1;
  justify-content: center;
  min-width: 160px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0066cc);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0066cc, var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 81, 151, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 81, 151, 0.2);
}

.btn-outline {
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  color: white;
  border-color: var(--accent);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #ff6b35, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 129, 8, 0.3);
}

/* ========================================
   PRODUCT SERVICES
======================================== */

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.service-item:last-child {
  border-bottom: none;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), #0066cc);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 20px;
}

.service-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  margin-top: 0;
}

.service-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ========================================
   ADD TO CART BUTTON
======================================== */
.product-add-to-cart {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border: 2px solid #ff8108;
  background: transparent;
  color: #ff8108;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.add-to-cart-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ff8108;
  transition: all 0.4s ease;
  z-index: -1;
}

.add-to-cart-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) skewX(-45deg);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.add-to-cart-btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 129, 8, 0.3);
}

.add-to-cart-btn:hover::before {
  left: 0;
}

.add-to-cart-btn:hover::after {
  left: 100%;
  opacity: 1;
}

.add-to-cart-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.add-to-cart-btn:hover i {
  transform: scale(1.1);
}

/* ========================================
   PRODUCT DETAILS TABS
======================================== */
.product-details {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 60px;
  border: 2px solid #00519757;

}

.details-nav {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  overflow-x: auto;
  border-radius: 10px 10px 0 0;

}

.details-nav::-webkit-scrollbar {
  height: 3px;
}

.details-nav::-webkit-scrollbar-track {
  background: #f1f3f4;
}

.details-nav::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.tab-btn {
  padding: 20px 25px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: var(--primary);
  border-bottom: 2px solid #00519757;

}

.tab-btn.active {
  color: var(--primary);
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-bottom: 2px solid #005197;

}

.details-content {
  padding: 40px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.content-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.content-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin: 25px 0 15px 0;
}

.content-section p {
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 15px;
}

.content-section ul {
  margin: 15px 0;
  padding-left: 20px;
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ========================================
   SPECIFICATIONS
======================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 8px;
  border: 1px solid #00519780;
}

.spec-label {
  font-weight: 600;
  color: var(--primary);
}

.spec-value {
  font-weight: 500;
  color: var(--text);
}

/* ========================================
   USAGE INSTRUCTIONS
======================================== */
.usage-steps {
  margin: 30px 0;
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr 1fr;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #00519780;
  border-top: 3px solid #00519780;
  border-radius: 0 0 30px 30px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), #0066cc);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  margin-top: 0;
}

.step-content p {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.usage-tips {
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #fb923c;
  margin-top: 30px;
}

.usage-tips h4 {
  color: #ea580c;
  margin-bottom: 15px;
}

.usage-tips ul {
  margin: 0;
  padding-left: 20px;
}

.usage-tips li {
  color: #9a3412;
  margin-bottom: 8px;
}

/* ========================================
   REVIEWS SECTION
======================================== */
.reviews-summary {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
  align-items: flex-start;
}

.rating-overview {
  text-align: center;
  width: 50%;
}

.overall-rating {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #a8bbce;
  margin-bottom: 30px;
}

.rating-score-large {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
}

.rating-stars-large {
  margin-bottom: 10px;
}

.rating-stars-large i {
  font-size: 24px;
  color: #fbbf24;
  margin: 0 2px;
}

.rating-count {
  color: var(--muted);
  font-weight: 500;
  margin: 0 auto;
}

.rating-breakdown {
  flex: 1;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.rating-bar .stars {
  width: 40px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-bar .bar {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar .fill {
  height: 100%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.rating-bar .count {
  width: 30px;
  text-align: right;
  font-size: 14px;
  color: var(--muted);
}

.review-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 16px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  width: max-content;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 81, 151, 0.05);
}

.reviews-list {
  margin-bottom: 30px;
}

.review-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid #a8bbce;
  position: relative;
}


.review-item-first-badge {
  padding: 12px 24px;
  background: #ff8108;
  color: white;
  left: 50%;
  translate: -50% 0;
  top: -25px;
  border-radius: 25px;
  width: fit-content;
  position: absolute;
  animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 129, 8, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 129, 8, 0);
  }
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.reviewer-info {
  display: flex;
  gap: 15px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), #0066cc);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.reviewer-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0 !important;
  margin: 0 !important;
}

.reviewer-title {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 5px;
}

.review-date {
  font-size: 13px;
  color: #adb5bd;
}

.review-rating .rating-stars {
  gap: 2px;
}

.review-rating .rating-stars i {
  font-size: 16px;
  color: #fbbf24;
}

.review-content h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.review-text {
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 15px;
}

.review-helpful {
  display: flex;
  justify-content: flex-end;
}

.helpful-btn {
  background: none;
  border: 1px solid #e9ecef;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.helpful-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.reviews-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.load-more-reviews,
.write-review {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-reviews {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.load-more-reviews:hover {
  background: var(--primary);
  color: white;
}

.write-review {
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  border: 2px solid var(--accent);
  color: white;
}

.write-review:hover {
  background: linear-gradient(135deg, #ff6b35, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 129, 8, 0.3);
}

.latest-review {
  width: 100%;
}

/* ========================================
   Q&A SECTION
======================================== */
.qa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.ask-question-btn {
  background: linear-gradient(135deg, var(--primary), #0066cc);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ask-question-btn:hover {
  background: linear-gradient(135deg, #0066cc, var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 81, 151, 0.3);
}

.qa-item {
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.question {
  padding: 20px;
  background: white;
  border-bottom: 1px solid #e9ecef;
}

.question h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.question-date {
  font-size: 13px;
  color: #adb5bd;
}

.answer {
  padding: 20px;
}

.answerer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.answerer strong {
  color: var(--primary);
  font-size: 14px;
}

.answerer span {
  font-size: 13px;
  color: #adb5bd;
}

.answer p {
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* ========================================
   RELATED PRODUCTS
======================================== */
.related-products {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  position: relative;
}

.related-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23005197" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.related-products .section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.related-products .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #005197;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.related-products .section-title i {
  color: #ff8108;
  font-size: 1.8rem;
}

.related-products .section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  gap: 35px;
  position: relative;
  z-index: 2;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 81, 151, 0.05);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 129, 8, 0.02) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 81, 151, 0.1),
    0 0 0 1px rgba(255, 129, 8, 0.2);
}

.product-card:hover::before {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-badge:not(.discount) {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.card-badge.discount {
  background: linear-gradient(135deg, #ff8108, #ff6b35);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 129, 8, 0.3);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.product-card:hover .card-image img {
  transform: scale(1.08) rotate(2deg);
}

.card-content {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: var(--accent);
}


.related-products .product-name {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.product-rating .stars {
  display: flex;
  gap: 2px;
}

.product-rating .stars i {
  font-size: 14px;
  color: #fbbf24;
}

.rating-count {
  font-size: 13px;
  color: var(--muted);
  text-overflow: none !important;
  max-width: none !important;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 15px;
}

.price-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-cart {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), #0066cc);
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  transition: left 0.4s ease;
}

.btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 81, 151, 0.3);
}

.btn-cart:hover::before {
  left: 0;
}

.related-products .btn-cart span {
  z-index: 10;
}

.btn-cart a,
.btn-cart i {
  position: relative;
  z-index: 2;
}

.btn-wishlist {
  width: 48px;
  height: 48px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-wishlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #ff8108, #ff6b35);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-wishlist:hover {
  border-color: #ff8108;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 129, 8, 0.3);
}

.btn-wishlist:hover::before {
  opacity: 1;
}

.btn-wishlist i {
  position: relative;
  z-index: 2;
}

/* ========================================
   MODALS
======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  z-index: 10;
}

.gallery-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-modal-close:hover {
  background: rgba(0, 0, 0, 1);
  transform: scale(1.1);
}

/* Problemli CSS kuru kaldırıldı */

.gallery-modal-image {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-modal-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.modal-prev,
.modal-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.modal-prev:hover,
.modal-next:hover {
  background: rgba(0, 0, 0, 1);
  transform: scale(1.1);
}

/* Modal Responsive Design */
@media (max-width: 768px) {
  .gallery-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    margin: 10px;
  }

  .gallery-modal-close {
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    font-size: 18px;
    z-index: 11;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .gallery-modal-close:active {
    transform: scale(0.95);
  }

  .gallery-modal-image {
    height: 70vh;
  }

  .gallery-modal-controls {
    padding: 0 15px;
  }

  .modal-prev,
  .modal-next {
    width: 45px;
    height: 45px;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .modal-prev:active,
  .modal-next:active {
    transform: scale(0.95);
  }
}

@media (max-width: 480px) {
  .gallery-modal-content {
    max-width: 98vw;
    max-height: 98vh;
    margin: 5px;
    border-radius: 8px;
  }

  .gallery-modal-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .gallery-modal-image {
    height: 60vh;
  }

  .gallery-modal-controls {
    padding: 0 10px;
  }

  .modal-prev,
  .modal-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
  .product-layout {
    gap: 40px;
  }

  .product-info {
    padding-left: 0;
  }
}

@media (max-width: 968px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    position: static;
  }

  .main-image-container {
    height: 400px;
  }

  .product-title {
    font-size: 2rem;
  }

  .price-current {
    font-size: 2rem;
  }

  .details-nav {
    flex-wrap: wrap;
    flex-direction: column;
    border-bottom: 1px solid #00519724;
  }

  .tab-btn {
    padding: 15px 20px;
    font-size: 14px;
  }

  .details-content {
    padding: 30px 20px;
  }

  .reviews-summary {
    gap: 50px;
    flex-direction: column;
  }

  .rating-overview {
    width: 100%;
  }

  .review-item-first-badge {
    width: max-content;
    font-size: 12px;
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .product-main {
    padding: 20px 0;
  }

  .main-image-container {
    height: 300px;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .price-current {
    font-size: 1.8rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .action-btn {
    min-width: auto;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .details-content {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  .gallery-thumbnails {
    gap: 8px;
  }

  .thumbnail-container {
    width: 60px;
    height: 60px;
  }

  .product-pricing {
    padding: 20px;
  }

  .color-options {
    gap: 8px;
  }

  .color-option {
    padding: 8px;
  }

  .color-sample {
    width: 25px;
    height: 25px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .review-item {
    padding: 20px;
  }

  .reviewer-info {
    gap: 10px;
  }

  .reviewer-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .qa-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .tab-content h3 {
    font-size: 1.6rem;
  }

  .usage-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .usage-steps .step {
    margin-bottom: 5px;
    border-radius: 25px;
  }
}

/* Animation enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-layout,
.product-details,
.related-products {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}