/* === CNCBUL Machine Details Page Layout === */
.machine-details-container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.machine-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.machine-meta {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
}

.machine-image img {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.machine-techspecs h2 {
    font-size: 20px;
    color: #111;
    margin-top: 25px;
    border-bottom: 2px solid #d00;
    display: inline-block;
    padding-bottom: 5px;
}

.machine-specs-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.machine-specs-table th,
.machine-specs-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.machine-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.back-btn,
.print-btn {
    background: none;
    border: 2px solid #d00;
    color: #d00;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover,
.print-btn:hover {
    background: #d00;
    color: #fff;
}


/* === MACHINE BUTTON BELOW - ULTRA STRONG OVERRIDE === */
/* === MACHINE BUTTON BELOW - ULTRA STRONG OVERRIDE === */
body .machine-button-below-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 25px !important;
    margin: 40px auto 20px auto !important;
    text-align: center !important;
    position: relative !important;
    z-index: 5 !important;
}

body .machine-button-below-wrapper a.machine-button-below {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    background: #4A90E2 !important; /* Tatlı mavi */
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.3em !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    border: none !important;
    padding: 10px !important;
    cursor: pointer !important;
    word-break: keep-all !important;
}

body .machine-button-below-wrapper a.machine-button-below:hover {
    background: #357ae8 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;
}

/* Mobil */
@media (max-width: 768px) {
    body .machine-button-below-wrapper a.machine-button-below {
        width: 90px !important;
        height: 90px !important;
        font-size: 12px !important;
        line-height: 1.1em !important;
    }
}
.machine-rating-section {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 20px;
  font-family: "Inter", sans-serif;
}
.rating-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rating-average {
  text-align: center;
  flex: 1;
}
.rating-average .average-score {
  font-size: 42px;
  font-weight: 700;
  color: #f1c40f;
}
.rating-average .stars {
  font-size: 22px;
  color: #f39c12;
  display: block;
}
.rating-bars {
  flex: 2;
  min-width: 300px;
}
.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.rating-row .label {
  width: 25px;
  font-weight: 600;
  color: #555;
}
.rating-row .bar {
  flex: 1;
  height: 10px;
  background: #eee;
  border-radius: 4px;
  margin: 0 10px;
  overflow: hidden;
}
.rating-row .fill {
  background: linear-gradient(90deg, #f1c40f, #e67e22);
  height: 100%;
}
.rating-row .count {
  width: 30px;
  text-align: right;
  font-size: 13px;
  color: #333;
}
.star-input {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-size: 32px;
  color: #ccc;
  cursor: pointer;
  margin-top: 10px;
}
.star-input .star.active,
.star-input .star:hover,
.star-input .star:hover ~ .star {
  color: #f1c40f;
}
.rating-message {
  text-align: center;
  font-size: 14px;
  color: #28a745;
  margin-top: 10px;
}
