:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --dark-color: #222;
  --primary-black: #0c0c0c;
  --secondary-gray: #f3f3f3;
  --border-gray: #ccc;
  --highlight-yellow: #fcd34d;
  --text-gray: #666;
  --price-old: #999;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
}

/* Announcement Bar */
.announcement-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

.announcement-bar span {
  margin: 0 15px;
}

/* Header */
.main-header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.cart-icon {
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* Timer Section */
.timer-section {
  background: #ff6b35;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.countdown {
  font-size: 2em;
  font-weight: bold;
  margin-top: 10px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: #fff;
  padding: 20px 0;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-icon-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 10px 0;
}

.feature-icon-box i {
  font-size: 2rem;
  margin-right: 10px;
}

/* Product Gallery */
.main-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.thumbnail:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Trust Badges */
.badge-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 15px;
}

.badge-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Benefits */
.benefits-box {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
}

.benefit-item {
  display: flex;
  align-items: start;
  gap: 15px;
  margin-bottom: 20px;
}

.benefit-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Price Section */
.price-box {
  background: #fff;
  border: 3px solid var(--primary-color);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.price {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.btn-add-cart {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 8px;
  width: 100%;
  transition: all 0.3s;
}

.btn-add-cart:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Stock Warning */
.stock-warning {
  background: #fff3cd;
  border: 2px solid var(--warning-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin: 0;
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: #fff;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Review Cards */
.review-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: var(--warning-color);
  font-size: 1.2rem;
}

/* Benefit Cards */
.benefit-card {
  background: #fff;
  padding: 1rem 0.4rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  transition: all 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Comparison Table */
.comparison-table {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  font-size: 1.1rem;
}

.comparison-table td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;
}

.check-icon {
  color: var(--success-color);
  font-size: 2rem;
}

.cross-icon {
  color: var(--danger-color);
  font-size: 2rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: #fff;
  padding: 60px 0 30px;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--primary-color);
}

/* WhatsApp Button */
.whatsapp-button {
  display: none !important;
  position: fixed;
  bottom: 40px;
  left: 10px;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background: #20ba5a;
}

/* Section Spacing */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: var(--dark-color);
}

/* Newsletter */
.newsletter-box {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  padding: 50px;
  border-radius: 15px;
  color: #fff;
  text-align: center;
}

.newsletter-box input {
  padding: 15px;
  border-radius: 8px;
  border: none;
  width: 100%;
  max-width: 400px;
}

.newsletter-box button {
  padding: 15px 40px;
  background: #fff;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 15px;
}

/* Image Content Section */
.image-content-section {
  background: #f8f9fa;
}

.image-content-section img {
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Statistics */
.stats-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .price {
    font-size: 2rem;
  }

  .countdown {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Radio Group Styling */
.product-option {
  display: none;
  /* Gizli radio input */
}

.option-card {
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  margin-bottom: 5px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  width: 100%;
}

/* Seçili olan kartın stilleri (Best Seller) */
.option-card.best-seller {
  border: 3px solid var(--primary-black);
}

.best-seller-badge {
  background-color: var(--primary-black);
  color: white;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: bold;

  z-index: 10;
}

/* İçerik Düzeni */
.card-content {
  padding: 5px;
  display: flex;
  align-items: flex-start;
}

/* Özel Radio Düğmesi Görünümü */
.radio-circle {
  min-width: 24px;
  height: 24px;
  border: 2px solid #aaa;
  border-radius: 50%;
  margin-right: 10px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Seçili Radio Düğmesi */
.product-option:checked + .option-card .radio-circle {
  border-color: var(--primary-black);
}

.product-option:checked + .option-card .radio-circle::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--primary-black);
  border-radius: 50%;
}

/* Varsayılan olarak 3. seçeneği seçili göstermek için JS veya inline check */
/* Bu örnekte PHP ile checked attribute ekleyeceğiz */

.info-col {
  flex-grow: 1;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.product-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-black);
}

.unit-tag {
  background-color: var(--highlight-yellow);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 0px;
}

.current-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-black);
}

.subtitle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-gray);
}

.old-price {
  text-decoration: line-through;
  color: var(--price-old);
  font-weight: 500;
}

/* Kargo Bölümü */
.shipping-row {
  background-color: #e5e7eb;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
}

.shipping-free-row {
  background-color: #e5e7eb;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.shipping-detail-price {
  color: var(--price-old);
  text-decoration: line-through;
  font-weight: normal;
  font-size: 12px;
}

/* Hediye Satırları */
.gift-section {
  display: flex;
  flex-direction: column;
}

.gift-item {
  background-color: var(--highlight-yellow);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.gift-left {
  display: flex;
  align-items: center;
}

.gift-img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
  border: 1px solid #ccc;
}

.free-black-row {
  background-color: black;
  color: white;
  padding: 10px 15px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.free-black-row img {
  width: 25px;
  margin-right: 10px;
  filter: invert(1);
  /* İkonu beyaza çevir */
}

/* Butonlar */
.btn-group {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background-color: var(--primary-black);
  color: white;
}

.btn-secondary {
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
