:root {
    --primary-color: #c41e3a;
    --primary-hover: #a01628;
}

/* Noktalı animasyon - Body arka planı */
body {
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle,
        var(--primary-color) 3px,
        transparent 3px
    );
    background-size: 60px 60px;
    opacity: 0.2;
    animation: dotMove 25s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes dotMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

.product-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 2rem;
    margin-top: 2rem;
}

/* Resim Galerisi */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 500px;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: calc(33.333% - 0.67rem);
    height: 100px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

/* Ürün Bilgileri */
.product-details {
    position: relative;
}

.product-code-badge {
    display: inline-block;
    background: #f1f5f9;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Kısa Açıklama */
.product-short-description {
    background: linear-gradient(135deg, #fef7ed 0%, #fff5f0 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.08);
}

.product-short-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-short-description li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-short-description li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-features-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feature-tag.kaplama {
    background: #e3f2fd;
    color: #1976d2;
}

.feature-tag.mekan {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Renk Seçici */
.color-selector-section {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.color-selector-section .selector-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.01em;
}

.color-selector-section .subtitle-text {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.95rem;
}

.color-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.color-option {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.color-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(196, 30, 58, 0.03),
        rgba(196, 30, 58, 0.08)
    );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.color-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.color-option:hover::before {
    opacity: 1;
}

.color-option.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.35);
    transform: translateY(-2px);
}

.color-option.active::before {
    opacity: 0;
}

.color-option .color-badge {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.color-option.active .color-badge {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-option .color-name {
    position: relative;
    z-index: 1;
}

.price-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(196, 30, 58, 0.08);
    position: relative;
    overflow: hidden;
}

.price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a 0%, #e63946 50%, #c41e3a 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.price-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.price-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-value {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.125rem;
}

.price-value.old {
    color: #94a3b8;
    font-weight: 500;
    font-size: 1.5rem;
}

.price-value.main {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(196, 30, 58, 0.1);
}

.discount-badge-large {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 7px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }
}

.kdv-info {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.btn-favorite {
    flex: 1;
    padding: 0.7rem 1.4rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.895rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    animation: favoritePulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.7);
}

.btn-favorite:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-favorite.active {
    background: var(--primary-color);
    color: white;
    animation: favoriteGlow 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(196, 30, 58, 0.6);
}

.btn-favorite.active i {
    font-weight: 900;
    animation: heartBeat 0.3s ease;
}

.btn-quote:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
    color: white;
}

.btn-whatsapp {
    flex: 1;
    padding: 0.7rem 1.4rem;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.895rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    color: white;
}

.btn-konfigurator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 1.4rem;
    margin: 1rem 0;
    background: white;
    border: 2px solid #ffa500;
    border-radius: 8px;
    color: #000000;
    font-weight: 700;
    font-size: 0.895rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: konfPulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
}

.btn-konfigurator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-konfigurator:hover::before {
    width: 300px;
    height: 300px;
}

.btn-konfigurator:hover {
    background: #ffa500;
    color: #000000;
    border-color: #ff9500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

.btn-konfigurator i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.btn-konfigurator:hover i.fa-magic {
    transform: rotate(15deg) scale(1.05);
}

.btn-konfigurator:hover i.fa-arrow-right {
    transform: translateX(5px);
}

.specs-section {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e2e8f0;
}

.tab-button {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-button:hover {
    background: rgba(196, 30, 58, 0.05);
    color: var(--primary-color);
}

.tab-button.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-button i {
    font-size: 1.1rem;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specs-table {
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 1rem 0;
}

.specs-table td:first-child {
    color: #64748b;
    font-weight: 500;
    width: 40%;
}

.specs-table td:last-child {
    color: #2d3748;
    font-weight: 600;
}

/* Lightbox için modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* Kaplama ve Mekan resim hover efekti */
.tab-content img[style*='cursor: pointer'],
.tab-content div[style*='cursor: pointer']:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: static;
    }

    .main-image {
        height: 350px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-section {
        padding: 1rem;
    }

    .price-value.old {
        font-size: 1.03rem;
    }

    .price-value.main {
        font-size: 1.28rem;
    }

    .price-label {
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .discount-badge-large {
        padding: 4px 8px;
        font-size: 0.6rem;
        border-radius: 6px;
    }

    .tab-button {
        padding: 0.75rem 0.5rem;
        font-size: 0.7rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .tab-button i {
        font-size: 1rem;
    }

    .color-options-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .payment-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .payment-card {
        padding: 1rem !important;
    }

    .payment-icon {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    .payment-title {
        font-size: 0.95rem !important;
        margin-bottom: 0.25rem !important;
    }

    .payment-desc {
        font-size: 0.75rem !important;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-favorite,
    .btn-whatsapp {
        padding: 0.6rem 1.2rem;
        font-size: 0.825rem;
        gap: 0.3rem;
    }

    .btn-konfigurator {
        width: 100%;
        padding: 0.6rem 1.2rem;
        font-size: 0.825rem;
        margin: 0.5rem 0;
    }

    .btn-konfigurator i {
        font-size: 0.85rem;
    }

    /* Renk/Kilitleme Sistemi Butonları - Mobil */
    .color-selector-section {
        padding: 1.25rem;
    }

    .color-selector-section .selector-title {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .color-selector-section .subtitle-text {
        font-size: 0.85rem;
    }

    .color-options {
        gap: 0.6rem;
        justify-content: center;
    }

    .color-option {
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 7px;
        border-radius: 9px;
        min-width: 140px;
        justify-content: center;
    }

    .color-option .color-badge {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }
}

/* Notification Animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Favorite Button Animations */
@keyframes heartBeat {
    0%,
    100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.2);
    }
}

@keyframes favoritePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(196, 30, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(196, 30, 58, 0);
    }
}

@keyframes konfPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 165, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
    }
}

@keyframes favoriteGlow {
    0%,
    100% {
        box-shadow: 0 0 15px rgba(196, 30, 58, 0.6),
            0 0 25px rgba(196, 30, 58, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(196, 30, 58, 0.8),
            0 0 35px rgba(196, 30, 58, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.3);
        transform: scale(1.02);
    }
}

@keyframes neonPulseNormal {
    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 165, 0, 0.3),
            0 0 10px rgba(255, 165, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 0 8px rgba(255, 165, 0, 0.4),
            0 0 15px rgba(255, 165, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.08);
    }
}

@keyframes neonPulseHover {
    0%,
    100% {
        box-shadow: 0 0 8px rgba(255, 165, 0, 0.5),
            0 0 15px rgba(255, 165, 0, 0.4), 0 6px 20px rgba(255, 165, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 165, 0, 0.6),
            0 0 20px rgba(255, 165, 0, 0.5), 0 6px 20px rgba(255, 165, 0, 0.3);
    }
}

/* Notification Styles - Liste.css ile aynı */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #10b981;
    color: #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
    color: #ef4444;
}

.notification i {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .notification {
        top: 80px;
        right: 10px;
        left: 10px;
        padding: 0.875rem 1.25rem;
    }
}
