/* ============================================
   ÜRÜN DETAY SAYFASI
   ============================================ */

.product-detail-page {
    padding: 2rem 0 4rem 0;
    background: #fafafa;
    overflow-x: hidden;
    max-width: 100%;
}

.product-detail-page * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Ana Grid Layout */
.product-main {
    display: grid;
    grid-template-columns: 40fr 60fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== GALERİ ===== */
.product-gallery {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    display: flex;
    gap: 1rem;
    flex-direction: row-reverse;
}

.main-image {
    cursor: zoom-in;
    position: relative;
    width: 100%;
    height: 520px;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
}

.main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    cursor: zoom-in;
}

.main-image img:hover {
    transform: scale(1.05);
}

.badge-new,
.badge-discount {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    z-index: 10;
}

.badge-new {
    background: #4CAF50;
    color: white;
}

.badge-discount {
    background: #FF5252;
    color: white;
    top: 3.5rem;
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    font-size: 1.2rem;
    color: #666;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background: #f35b23;
    color: white;
    transform: scale(1.1);
}

.wishlist-btn.active i {
    animation: heartBeat 0.5s;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.zoom-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    user-select: none;
}

.main-image:hover .zoom-hint {
    opacity: 1;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 80px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.thumbnail-list::-webkit-scrollbar {
    width: 4px;
}

.thumbnail-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.thumbnail {
    position: relative;
    width: 80px;
    height: 80px;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: #f35b23;
}

.thumbnail.active {
    border-color: #f35b23;
    box-shadow: 0 0 0 4px rgba(243, 91, 35, 0.1);
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== MOBİL RENK SEÇİCİ ===== */
.mobile-color-selector {
    display: none;
}

/* ===== ÜRÜN BİLGİLERİ ===== */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.product-brand {
    color: #f35b23;
    font-weight: 600;
    font-size: 0.95rem;
}

.product-code {
    color: #666;
    font-size: 0.9rem;
}

.product-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-rating .stars {
    display: flex;
    gap: 0.2rem;
}

.product-rating .stars i {
    color: #FFD700;
    font-size: 1.1rem;
}

.rating-text {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.review-count {
    color: #666;
    text-decoration: underline;
    transition: color 0.2s;
}

.review-count:hover {
    color: #f35b23;
}

.product-price {
    padding: 1rem;
    background: linear-gradient(135deg, #fff8f5, #fff);
    border-radius: 8px;
    border: 2px solid #f35b23;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f35b23;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    padding: 0.3rem 0.6rem;
    background: #FF5252;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    border: 1px solid #c8e6c9;
}

.savings-badge i {
    font-size: 0.7rem;
}

.savings-badge strong {
    font-weight: 600;
    color: #1b5e20;
}

.savings-badge span {
    opacity: 0.8;
    font-size: 0.7rem;
    font-weight: 500;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
    font-size: 0.8rem;
}

.price-info svg,
.price-info i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ===== MİNİ GÜVEN ROZETLERİ ===== */
.mini-trust-badges {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.trust-badge:hover {
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 1.5rem;
    color: #4CAF50;
}

.trust-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

/* Tooltip */
.trust-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 1000;
}

.trust-badge::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.trust-badge:hover::after,
.trust-badge:hover::before {
    opacity: 1;
}

.trust-badge:hover::after {
    transform: translateX(-50%) translateY(-12px);
}

/* ===== VARYANT SEÇENEKLERİ ===== */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.option-group {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.option-group:last-child {
    border: none;
}

.option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.selected-value {
    color: #f35b23;
    font-weight: 600;
}

.color-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 80px;
}

.color-option:hover {
    border-color: #f35b23;
    transform: translateY(-2px);
}

.color-option.active {
    border-color: #f35b23;
    background: rgba(243, 91, 35, 0.05);
}

.color-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.color-option:hover .color-box {
    transform: scale(1.1);
}

.color-name {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.size-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.size-option {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-width: 140px;
}

.size-option:hover {
    border-color: #f35b23;
    transform: translateY(-2px);
}

.size-option.active {
    border-color: #f35b23;
    background: rgba(243, 91, 35, 0.05);
}

.size-text {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.size-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

/* ===== ADET SEÇİMİ ===== */
.quantity-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: #333;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f35b23;
    color: white;
}

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4CAF50;
    font-size: 0.95rem;
}

.stock-info i {
    font-size: 1.1rem;
}

/* Aciliyet Rozetleri */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.urgency-badge i {
    font-size: 1.1rem;
}

.urgency-badge.orange {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.urgency-badge.red {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.urgency-badge.yellow {
    background: linear-gradient(135deg, #FFC107, #FFA000);
    color: #333;
}

/* Pulse animasyonu (kırmızı rozet için) */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
}

.urgency-badge.pulse {
    animation: pulse 1.5s infinite;
}

/* ===== BUTONLAR ===== */
.action-buttons {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.btn-add-cart,
.btn-buy-now {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transition: all 0.3s;
}

.btn-add-cart {
    background: linear-gradient(135deg, #f35b23, #f68d1f);
    color: white;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 91, 35, 0.4);
}

.btn-buy-now {
    background: #1a1a1a;
    color: white;
}

.btn-buy-now:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-whatsapp {
    padding: 1rem 2rem;
    border: 2px solid #25D366;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transition: all 0.3s;
    background: white;
    color: #25D366;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    transition: transform 0.3s ease-in-out;
}

.sticky-cta-bar.hidden {
    transform: translateY(100%);
}

.sticky-cta-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sticky-product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 0 1 auto;
}

.sticky-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.sticky-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f35b23;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.sticky-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 0.3rem;
}

.sticky-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    color: #f35b23;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sticky-qty-btn:hover {
    background: #f35b23;
    color: white;
}

.sticky-qty-btn:active {
    transform: scale(0.95);
}

.sticky-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
}

.sticky-qty-input::-webkit-inner-spin-button,
.sticky-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sticky-btn-add-cart {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #f35b23, #f68d1f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.sticky-btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 91, 35, 0.4);
}

/* Floating WhatsApp Button (Desktop) */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab i {
    font-size: 1.8rem;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ===== ÖZELLİK ÖZETİ ===== */
.features-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: #f35b23;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.feature-item span {
    color: #666;
    font-size: 0.85rem;
}

/* ===== TAKSİT BİLGİSİ ===== */
.installment-info {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.installment-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.5rem;
    background: #f8f8f8;
    font-weight: 600;
    color: #333;
}

.installment-options {
    padding: 1.5rem;
}

.installment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.installment-item:last-of-type {
    border-bottom: none;
}

.installment-detail {
    color: #555;
    font-size: 0.95rem;
}

.installment-detail .monthly-amount {
    color: #f35b23;
    font-size: 1.05rem;
}

.view-all-installments {
    display: block;
    text-align: center;
    color: #f35b23;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* ===== ÖZELLEŞTİRME REHBERİ ===== */
.customization-guide {
    margin: 1.5rem 0 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.guide-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: #f8f8f8;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.guide-toggle-btn i.fa-info-circle {
    color: #f35b23;
    margin-right: 6px;
}

.guide-chevron {
    transition: transform 0.3s ease;
    color: #999;
    font-size: 0.85rem;
}

.guide-steps {
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0.5rem 1.2rem 1rem;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.guide-step:last-child {
    border-bottom: none;
}

.guide-step-number {
    width: 28px;
    height: 28px;
    background: #f35b23;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-step-content strong {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 2px;
}

.guide-step-content p {
    margin: 0;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
}

/* ===== TABS ===== */
.product-details-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 3rem;
}

.tabs-navigation {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
}

.tab-btn {
    padding: 1.2rem 2rem;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: #f35b23;
}

.tab-btn.active {
    color: #f35b23;
    border-bottom-color: #f35b23;
    background: rgba(243, 91, 35, 0.05);
}

.tabs-content {
    padding: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.tab-panel h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 1rem 0;
}

.tab-panel p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.tab-panel ul {
    list-style: none;
    padding: 0;
}

.tab-panel ul li {
    padding: 0.7rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tab-panel ul li i {
    color: #4CAF50;
    font-size: 0.9rem;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-box {
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
    text-align: center;
}

.info-box i {
    font-size: 2.5rem;
    color: #f35b23;
    margin-bottom: 1rem;
}

.info-box h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Özellikler Tablosu */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.specs-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.specs-table tr:last-child {
    border: none;
}

.specs-table td {
    padding: 1rem;
    color: #555;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 30%;
}

/* Montaj */
.assembly-content {
    max-width: 900px;
}

.assembly-highlight {
    background: linear-gradient(135deg, #f35b23, #f68d1f);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.assembly-highlight i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.assembly-highlight h4 {
    color: white;
    margin: 0.5rem 0;
}

.assembly-highlight p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.assembly-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #f35b23;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin: 0;
}

.assembly-video {
    margin: 2rem 0;
}

.video-placeholder {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: white;
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.assembly-tips {
    background: #fff8f5;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #f35b23;
}

.assembly-tips h4 {
    margin-top: 0;
}

/* Yorumlar */
.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.rating-overview {
    text-align: center;
}

.rating-score {
    font-size: 4rem;
    font-weight: 700;
    color: #f35b23;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    margin-bottom: 0.5rem;
}

.rating-stars i {
    color: #FFD700;
    font-size: 1.3rem;
}

.rating-count {
    color: #666;
    font-size: 0.95rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    min-width: 60px;
    font-size: 0.9rem;
    color: #666;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #FFD700;
    transition: width 0.3s;
}

.bar-count {
    min-width: 30px;
    text-align: right;
    color: #666;
    font-size: 0.9rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: #f35b23;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.review-stars {
    display: flex;
    gap: 0.2rem;
}

.review-stars i {
    color: #FFD700;
    font-size: 0.9rem;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.review-content p {
    margin: 0;
}

.review-footer {
    margin-top: 1rem;
}

.helpful-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s;
}

.helpful-btn:hover {
    border-color: #f35b23;
    color: #f35b23;
}

.btn-load-more {
    width: 100%;
    padding: 1rem;
    background: white;
    border: 2px solid #f35b23;
    color: #f35b23;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: #f35b23;
    color: white;
}

/* Kargo */
.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shipping-section h4 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #f35b23;
    margin-bottom: 1rem;
}

/* Benzer Ürünler */
.related-products {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.02em;
}

.view-all {
    color: #f35b23;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.view-all:hover {
    gap: 1rem;
}

.related-products-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
    align-items: stretch;
}

.related-product-card {
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.related-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.related-product-card:hover .quick-view-btn {
    opacity: 1;
}

.related-product-info {
    padding: 1rem;
}

.related-product-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.rating-mini {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.rating-mini i {
    color: #FFD700;
    font-size: 0.85rem;
}

.rating-mini span {
    font-size: 0.85rem;
    color: #666;
}

.price-mini .current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f35b23;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .product-main {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .related-products-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-summary {
        grid-template-columns: 1fr;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .related-products-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* ULTRA AGRESİF TAŞMA ÖNLEME */
    * {
        max-width: 100vw !important;
    }

    .product-main,
    .product-gallery,
    .product-info,
    .product-details,
    .container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .product-detail-page {
        padding: 1rem 0;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .product-detail-page * {
        max-width: 100% !important;
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
    }

    .product-main {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Mobilde galeri düzeni: resimler altta */
    .product-gallery {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        gap: 1rem !important;
    }

    .main-image {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 350px !important;
        margin-bottom: 0 !important;
        order: 1 !important;
        flex: none !important;
        max-width: 100% !important;
        visibility: visible !important;
        background: #f8f8f8 !important;
        z-index: 1 !important;
    }

    .main-image img {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .main-image img:hover {
        transform: none !important;
    }

    .thumbnail-list {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-height: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-right: 0 !important;
        padding-bottom: 5px !important;
        order: 2 !important;
        gap: 0.5rem !important;
    }

    .thumbnail {
        width: 70px !important;
        height: 70px !important;
        flex-shrink: 0 !important;
    }

    /* Mobil renk seçici görünür */
    .mobile-color-selector {
        display: block !important;
        order: 3 !important;
        margin-top: 1rem;
    }

    .mobile-color-label {
        display: block;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--text-dark);
    }

    .mobile-color-options {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .mobile-color-option {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #e0e0e0;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
        background: white;
    }

    .mobile-color-option.active {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(243, 91, 35, 0.2);
        transform: scale(1.1);
    }

    .mobile-color-circle {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: block;
    }

    /* Desktop renk seçeneklerini mobilde gizle */
    .color-options-grid {
        display: none !important;
    }

    /* Malzeme ve seçenek kartları mobilde taşma düzeltmesi */
    .option-group {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .material-option-card,
    .extra-option-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Comprehensive overflow safety nets */
    .product-options,
    .option-group,
    .material-options,
    .extra-options {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Features summary mobil düzeltme */
    .features-summary {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding: 1rem !important;
    }

    .feature-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Tüm grid ve flex containerlar için güvenlik */
    [class*="-grid"],
    [class*="-options"],
    [class*="-buttons"],
    [class*="option-"] {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .material-options-grid,
    .extra-options-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-options {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Dimension kontrolü mobil düzeltmeleri */
    .dimension-input-row {
        flex-wrap: nowrap;
        width: 100%;
        gap: 0.5rem;
    }

    .dimension-slider {
        min-width: 0 !important;
        flex: 1 1 auto;
        width: 100%;
    }

    .dimension-control {
        min-width: 65px !important;
        max-width: none !important;
        display: flex !important;
        align-items: center;
        gap: 0.3rem;
        padding: 0.3rem 0.5rem;
    }

    /* Mobil +/- Butonları */
    .mobile-dim-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        min-width: 32px;
        border: none;
        background: #f35b23;
        color: white;
        border-radius: 6px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-dim-btn:active {
        transform: scale(0.95);
        background: #d94d1b;
    }

    .mobile-dim-btn i {
        pointer-events: none;
    }

    .dimension-input {
        flex: 1;
        min-width: 40px !important;
        width: auto !important;
        font-size: 1rem !important;
    }

    .dimension-input-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Size selector */
    .size-selector,
    .standard-sizes,
    .custom-sizes {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .size-options-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .product-info {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .action-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .btn-add-cart,
    .btn-buy-now {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .product-title {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .product-price {
        padding: 0.8rem;
    }

    .price-info {
        font-size: 0.75rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    /* WhatsApp Button - Mobil Overflow Fix */
    .btn-whatsapp {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        word-wrap: break-word;
        white-space: normal;
    }

    /* Sticky CTA Bar - Mobil */
    .sticky-cta-bar {
        padding: 10px 15px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: 0.8rem;
    }

    .sticky-product-info {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .sticky-product-name {
        font-size: 0.85rem;
        max-width: 180px;
    }

    .sticky-price {
        font-size: 1.1rem;
    }

    .sticky-actions {
        width: 100%;
        gap: 0.8rem;
    }

    .sticky-quantity {
        flex: 0 0 auto;
    }

    .sticky-btn-add-cart {
        flex: 1;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .sticky-btn-add-cart span {
        display: inline;
    }

    /* Mini Güven Rozetleri - Mobil */
    .mini-trust-badges {
        flex-wrap: wrap;
        gap: 0.8rem;
        padding: 0.8rem;
        margin: 0.8rem 0;
    }

    .trust-badge {
        flex: 1 1 calc(33.333% - 0.8rem);
        min-width: 0;
    }

    .trust-badge i {
        font-size: 1.3rem;
    }

    .trust-badge span {
        font-size: 0.75rem;
    }

    /* Tooltip mobilde tap ile açılsın */
    .trust-badge::after,
    .trust-badge::before {
        display: none;
    }
}

    .btn-whatsapp span {
        flex: 1;
        line-height: 1.4;
    }

    /* Tüm butonlar için overflow koruması */
    .btn-add-cart,
    .btn-buy-now {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }

    .tabs-navigation {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 150px;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
    }

    .related-products-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quantity-section {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Çok küçük ekranlarda WhatsApp butonu daha kompakt */
    .btn-whatsapp {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .btn-whatsapp span {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .btn-add-cart,
    .btn-buy-now {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    /* Product main container - daha az padding */
    .product-main {
        padding: 1rem;
    }

    /* Dimension controls için çok küçük ekranlar */
    .dimension-control {
        min-width: 55px !important;
        padding: 0.25rem 0.4rem;
    }

    .dimension-input {
        width: 45px;
        font-size: 0.95rem;
    }

    /* Color grid safety için çok küçük ekranlar */
    .color-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
    }
}

/* ===== ÖZEL ÖLÇÜ SİSTEMİ ===== */
.size-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.size-type-btn {
    padding: 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transition: all 0.3s;
}

.size-type-btn:hover {
    border-color: #f35b23;
    color: #f35b23;
}

.size-type-btn.active {
    background: rgba(243, 91, 35, 0.1);
    border-color: #f35b23;
    color: #f35b23;
}

.size-type-btn i {
    font-size: 1.2rem;
}

.size-selection {
    display: none;
}

.size-selection.active {
    display: block;
}

.custom-sizes {
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.custom-dimension-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dimension-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.dimension-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
}

.dimension-label i {
    color: #f35b23;
    font-size: 0.95rem;
}

/* Input ve Range Labels Yan Yana */
.dimension-input-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dimension-range-labels {
    font-size: 0.7rem;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.dimension-slider {
    flex: 1;
    min-width: 100px;
    height: 5px;
    background: #e0e0e0;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
}

.dimension-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    transition: border-color 0.3s;
    flex-shrink: 0;
    min-width: 100px;
}

.dimension-control:hover {
    border-color: #f35b23;
    box-shadow: 0 0 0 3px rgba(243, 91, 35, 0.1);
    cursor: text;
}

.dimension-control:focus-within {
    border-color: #f35b23;
    box-shadow: 0 0 0 3px rgba(243, 91, 35, 0.15);
}

.dimension-input {
    width: 60px;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    padding: 0;
    cursor: text;
    background: transparent;
    transition: all 0.2s;
}

.dimension-input:hover {
    color: #f35b23;
}

.dimension-input:focus {
    color: #f35b23;
    background: rgba(243, 91, 35, 0.05);
    border-radius: 4px;
}

/* Number input spinner göster (Chrome/Safari) */
.dimension-input::-webkit-inner-spin-button,
.dimension-input::-webkit-outer-spin-button {
    opacity: 1;
    height: 30px;
}

/* Firefox için number controls */
.dimension-input[type="number"] {
    -moz-appearance: textfield;
}

.dimension-input:hover::-webkit-inner-spin-button,
.dimension-input:hover::-webkit-outer-spin-button,
.dimension-input:focus::-webkit-inner-spin-button,
.dimension-input:focus::-webkit-outer-spin-button {
    opacity: 1;
}

/* Mobil +/- butonları desktop'ta gizli */
.mobile-dim-btn {
    display: none;
}

.dimension-unit {
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
}

.dimension-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f35b23;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.dimension-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.dimension-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f35b23;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.dimension-summary {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #f35b23;
    margin-bottom: 1rem;
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f35b23, #f68d1f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.summary-details {
    flex: 1;
}

.summary-size {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.summary-area {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.summary-area strong {
    color: #f35b23;
    font-size: 1.3rem;
}

.summary-calculation {
    padding: 0.8rem 1rem;
    background: #f8f8f8;
    border-radius: 8px;
    margin-top: 0.8rem;
}

.calc-formula {
    font-family: 'Courier New', monospace;
    color: #666;
    font-size: 0.95rem;
}

/* Ölçü & Fiyat Özet Alanı */
.dimension-price-summary {
    background: linear-gradient(135deg, #fff8f5, #fff);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    border: 2px solid #f35b23;
    box-shadow: 0 2px 8px rgba(243, 91, 35, 0.15);
}

.selected-dimensions {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(243, 91, 35, 0.15);
}

.dimension-label {
    display: inline;
    font-size: 0.75rem;
    color: #666;
    margin-right: 0.4rem;
}

.selected-dimensions strong {
    font-size: 0.95rem;
    display: inline;
    color: #333;
    font-weight: 600;
}

.current-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f35b23;
}

/* Animasyonlar */
@keyframes priceUpdate {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.price-updating {
    animation: priceUpdate 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .size-type-selector {
        grid-template-columns: 1fr;
    }

    .custom-sizes {
        padding: 1rem;
    }

    .dimension-input-row {
        gap: 0.5rem;
    }

    .dimension-range-labels {
        font-size: 0.65rem;
    }

    .dimension-control {
        min-width: 80px;
        padding: 0.3rem 0.5rem;
    }

    .dimension-input {
        width: 50px;
        font-size: 1rem;
    }

    .dimension-unit {
        font-size: 0.75rem;
    }

    .dimension-summary {
        flex-direction: column;
        text-align: center;
    }

    .summary-icon {
        margin: 0 auto;
    }

    .dimension-price-summary {
        padding: 0.6rem 0.8rem;
        margin-top: 0.8rem;
    }

    .price-amount {
        font-size: 1.3rem;
    }

    .price-label {
        font-size: 0.75rem;
    }

    .dimension-label {
        font-size: 0.7rem;
    }

    .selected-dimensions strong {
        font-size: 0.85rem;
    }
}

/* ===== DERİNLİK DROPDOWN ===== */
.depth-select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.depth-select:hover {
    border-color: #f35b23;
}

.depth-select:focus {
    border-color: #f35b23;
    box-shadow: 0 0 0 4px rgba(243, 91, 35, 0.1);
}

.depth-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 6px;
    color: #1976D2;
    font-size: 0.85rem;
}

.depth-note i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== YENİ SEÇİM SİSTEMLERİ ===== */

/* Kapak Rengi Kartları - Kompakt */
.color-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.6rem;
}

.color-option-card {
    padding: 0.6rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.color-option-card:hover {
    border-color: #f35b23;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.color-option-card.active {
    border-color: #f35b23;
    background: rgba(243, 91, 35, 0.05);
    box-shadow: 0 0 0 3px rgba(243, 91, 35, 0.1);
}

.color-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.color-price-badge {
    padding: 0.2rem 0.5rem;
    background: #f35b23;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 8px;
}

.color-price-badge.free {
    background: #4CAF50;
}

.color-details {
    text-align: center;
}

.color-details strong {
    display: block;
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 0.2rem;
}

.color-details small {
    display: none;
    /* Açıklamayı gizle */
}

/* Malzeme Seçim Kartları */
.material-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.material-option-card {
    padding: 1.2rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.material-option-card:hover {
    border-color: #f35b23;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.material-option-card.active {
    border-color: #f35b23;
    background: rgba(243, 91, 35, 0.05);
    box-shadow: 0 0 0 4px rgba(243, 91, 35, 0.1);
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
}

.material-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.material-header strong {
    font-size: 1rem;
    color: #333;
}

.material-description {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Ekstra Özellikler */
.extras-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.extra-option-card {
    display: block;
    padding: 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.extra-option-card:hover {
    border-color: #f35b23;
}

.extra-option-card:has(.extra-checkbox:checked) {
    border-color: #f35b23;
    background: rgba(243, 91, 35, 0.05);
}

.extra-checkbox {
    display: none;
}

.extra-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.extra-content i {
    font-size: 1.5rem;
    color: #f35b23;
    width: 30px;
    text-align: center;
}

.extra-content>div {
    flex: 1;
}

.extra-content strong {
    display: block;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.2rem;
}

.extra-content small {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.extra-price {
    font-size: 1rem;
    font-weight: 700;
    color: #f35b23;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .color-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .material-options-grid {
        grid-template-columns: 1fr;
    }

    .color-circle {
        width: 50px;
        height: 50px;
    }
}

/* ===== HESAPLAMA PANELİ DETAYLI ===== */
.calc-section-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    user-select: none;
}

.calc-section-header:hover {
    color: #f35b23;
}

.calc-section-header i {
    color: #f35b23;
    font-size: 1.2rem;
}

.calc-info-row.highlight {
    background: rgba(243, 91, 35, 0.05);
    padding: 0.8rem;
    margin: 0 -1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.calc-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 1rem 0;
}

/* ===== DERİNLİK HESAPLAMA BİLGİSİ ===== */
.depth-calculation-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
    color: #2E7D32;
    font-size: 0.85rem;
}

.depth-calculation-info i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 0.3rem;
}

.depth-calculation-info strong {
    color: #1B5E20;
    font-size: 1rem;
}

.depth-calculation-info small {
    color: #558B2F;
    font-size: 0.75rem;
    margin-top: 0.2rem;
    display: block;
}


/* ============================================
   IMAGE LIGHTBOX MODAL
   ============================================ */

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    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%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    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: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
}

.lightbox-caption span {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.lightbox-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 90vw;
    overflow-x: auto;
    padding: 0.5rem;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: #f35b23;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.45);
        border: none;
        z-index: 10002;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-content img {
        max-height: 70vh;
    }
}

/* ============================================
   STANDART ÖLÇÜLER
   ============================================ */

.size-option {
    position: relative;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.size-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.size-option.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.size-option .popular-badge-small {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.size-option .size-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
}

.size-option .size-subtitle {
    font-size: 0.875rem;
    color: #718096;
}

.size-option .size-desc {
    font-size: 0.75rem;
    color: #a0aec0;
    font-style: italic;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Boyut seçim tipi selector stilleri */
.size-type-selector {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.size-type-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.size-type-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.size-type-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

/* Görünürlük kontrolleri */
.custom-sizes {
    display: none;
}

.custom-sizes.active {
    display: block;
}
/* ============================================
   BİLDİRİM (NOTIFICATION)
   ============================================ */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success i {
    color: #10b981;
    font-size: 1.2rem;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error i {
    color: #ef4444;
    font-size: 1.2rem;
}

.notification span {
    color: #333;
    font-weight: 500;
}

/* Mobil için responsive */
@media (max-width: 768px) {
    .notification {
        left: 10px;
        right: 10px;
        top: 10px;
        width: auto;
        max-width: calc(100% - 20px);
    }
}
