:root {
    --primary: #1D1D1F;           /* Almost black, Apple text color */
    --secondary: #FFFFFF;         /* Clean white for background */
    --background-alt: #F5F5F7;    /* Very light gray for alternate backgrounds */
    --accent: #0071E3;            /* Apple blue for primary accent and CTAs */
    --accent-secondary: #30B34A;  /* Apple green for success states */
    --text: #1D1D1F;              /* Primary text color */
    --text-secondary: #86868B;    /* Secondary text color */
    --subtle: #E8E8ED;            /* Very light gray for subtle elements */
    --border: #D2D2D7;            /* Light gray for borders */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);  /* Subtle shadow */
    --transition: all 0.3s ease;
    --spacing: 24px;
    --header-height: 60px;        /* Cleaner, minimal header height */
    --radius: 12px;               /* Rounded corners, Apple-style */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
 
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0 var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    font-size: 14px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--accent);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.language-switcher {
    position: relative;
}

.language-button {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text);
}

.language-button:hover {
    color: var(--accent);
}

.language-button .flag {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

.language-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--secondary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility 0s linear var(--transition);
    border: 1px solid var(--border);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--secondary);
    color: var(--text);
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.language-option .flag {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

.language-option:hover {
    background: var(--background-alt);
}

.cta-button {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #0077ED;
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.2);
}

header .cta-button {
    /* Add position relative to allow absolute positioning of the counter */
    position: relative;
    padding: 10px 20px; /* Ensure padding is sufficient */
    /* Keep existing button styles */
    background-color: #3776DD;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    /* Ensure no overflow hidden prevents seeing the counter */
    overflow: visible; 
}

header .cta-button:hover {
    background-color: #2a66bf;
}

/* Cart Item Counter Bubble */
.cart-item-count {
    position: absolute;
    bottom: -6px; /* Adjusted for new size */
    left: -13px; /* Adjusted for new size */
    background-color: var(--accent-secondary); /* Green accent color */
    color: white;
    border-radius: 50%; /* Make it circular */
    padding: 0; 
    font-size: 14px; /* Increased font size */
    font-weight: bold;
    width: 24px; /* Increased width */
    height: 24px; /* Increased height */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    box-sizing: border-box;
    z-index: 2; 
    border: 2px solid white; 
}

/* Ensure hamburger doesn't overlap */
.hamburger {
    /* Add position relative if needed, ensure z-index is appropriate */
    position: relative;
    z-index: 1;
}

.customizer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.control-panel {
    background: var(--secondary);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--subtle);
}

.control-panel:hover {
    transform: translateY(-5px);
}

.controls {
    display: grid;
    gap: 24px;
}

.control-group label {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 15px;
    display: block;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--subtle);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    transition: background 0.3s ease;
}

input[type="range"]:hover {
    background: var(--accent);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.3);
}

.value-display {
    width: 80px;
    padding: 8px 12px;
    background: var(--accent);
    color: white;
    text-align: center;
    border-radius: 16px;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.value-display .range-limit {
    position: absolute;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.visualization {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
    margin-top: 15px;
    background-color: var(--background-alt);
}

.visualization canvas {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.visualization:hover {
    transform: scale(1.02);
}

.info-cards {
    display: grid;
    gap: 24px;
}

.info-card {
    background: var(--secondary);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--subtle);
}

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

.info-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary);
}

.dimension-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dimension-item {
    background: var(--background-alt);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}

.dimension-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.dimension-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.price {
    font-size: 36px;
    font-weight: 600;
    color: var(--accent);
    text-align: right;
    margin: 24px 0;
}

footer {
    background: var(--background-alt);
    color: var(--text);
    padding: 60px var(--spacing);
    position: relative;
    margin-top: auto;
    font-size: 14px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 12px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

.product-description {
    padding: 80px var(--spacing);
    background: var(--background-alt);
}

.description-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.description-item {
    background: var(--secondary);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.description-item:hover {
    transform: translateY(-5px);
}

.description-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.description-item ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text);
}

.description-item li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.description-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pop-up Arkaplan Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

/* Pop-up İçerik */
.popup-content {
    background-color: var(--secondary);
    border-radius: var(--radius);
    width: 90%;
    max-width: 750px;
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Kapatma Butonu */
.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.3s;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background-alt);
}

.close-btn:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* Ürün Bilgileri Container */
.product-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .product-info-container {
        flex-direction: row;
    }
    
    .product-image {
        flex: 1;
        min-width: 280px;
        height: 380px;
    }
    
    .product-details {
        flex: 1;
    }
}

/* Mobil görünüm için düzenlemeler */
@media (max-width: 767px) {
    .product-info-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-image {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
    
    .product-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .product-dimensions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .dimension-item {
        padding: 8px;
    }
    
    .dimension-label {
        font-size: 12px;
    }
    
    .dimension-value {
        font-size: 15px;
    }
    
    .product-price-container {
        margin: 15px 0;
        padding: 12px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .quantity-selector {
        margin: 15px 0;
    }
    
    .add-to-cart-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .product-customizations {
        margin: 10px 0;
    }
    
    .product-customizations h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .product-customizations ul {
        margin-bottom: 10px;
    }
}

/* Ürün Görseli - Daha dolu görünüm için güncellenmiş */
.product-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Model adı için daha iyi görünüm */
.product-image .model-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(55, 118, 221, 0.9);
    color: white;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Ürün Detayları */
.product-details {
    flex: 2;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary);
}

.product-dimensions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.dimension-item {
    background-color: var(--background-alt);
    padding: 12px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dimension-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dimension-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.dimension-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
}

.product-price-container {
    margin: 20px 0;
    padding: 16px;
    border-radius: var(--radius);
    background-color: var(--background-alt);
}

.product-price {
    font-size: 24px;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: normal;
}

/* Adet Seçici */
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.quantity-selector label {
    margin-right: 15px;
    font-weight: 500;
    color: var(--primary);
    font-size: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background-color: var(--background-alt);
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    touch-action: manipulation;
}

.quantity-btn:hover {
    background-color: var(--subtle);
}

.quantity-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    -moz-appearance: textfield;
    background-color: var(--secondary);
}

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

/* Pop-up Sepete Ekle Butonu */
.add-to-cart-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.add-to-cart-btn:hover {
    background-color: #0077ED;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(1px);
}

.add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.3);
    animation: loading 1.5s ease-in-out infinite;
    z-index: 1;
}

.add-to-cart-btn.completed {
    background-color: var(--accent-secondary);
}

.cart-icon {
    font-size: 18px;
}

/* Sepet Paneli */
.cart-panel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: var(--secondary);
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    padding: 24px;
    overflow-y: auto;
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
}

.cart-panel.active {
    display: block;
    transform: translateX(0);
}

.cart-panel .close-cart {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.cart-panel .close-cart:hover {
    color: var(--accent);
}

.cart-panel h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--primary);
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 16px;
    background: var(--background-alt);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 16px;
}

.cart-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-image .model-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 5px;
    background: none;
    padding: 0;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-details .dimensions {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.cart-item-details .quantity {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 5px;
}

.cart-item-details .price {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
}

.cart-item .remove-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 13px;
}

.cart-item .remove-btn:hover {
    background: #0077ED;
}

.cart-total {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 24px;
    text-align: right;
    padding: 16px;
    background: var(--background-alt);
    border-radius: var(--radius);
}

/* Sepet içindeki adet kontrolü için stil */
.cart-item-details .quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2px 5px;
    background-color: var(--secondary);
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    height: 28px;
    line-height: 28px;
    overflow: hidden;
}

.cart-item-details .quantity-controls .quantity-btn {
    width: 24px;
    height: 24px;
    background-color: var(--background-alt);
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 24px;
}

.cart-item-details .quantity-controls .quantity-btn:hover {
    background-color: var(--subtle);
}

.cart-item-details .quantity-controls .quantity {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    min-width: 24px;
    text-align: center;
    padding: 0;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cart-item-details .quantity-controls:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 24px;
    font-style: italic;
}

.cart-added-animation {
    animation: cartShake 0.5s ease;
}

@keyframes cartShake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* Sepete Git butonu animasyonu */
.cart-btn-animation {
    animation: pulseAndShake 1.5s ease;
}

@keyframes pulseAndShake {
    0% {
        transform: scale(1);
        background-color: var(--accent);
    }
    20% {
        transform: scale(1.05);
        background-color: var(--accent-secondary);
    }
    40% {
        transform: scale(1) translateX(-3px);
        background-color: var(--accent-secondary);
    }
    60% {
        transform: scale(1) translateX(3px);
        background-color: var(--accent-secondary);
    }
    80% {
        transform: scale(1.03) translateX(-2px);
        background-color: var(--accent);
    }
    100% {
        transform: scale(1) translateX(0);
        background-color: var(--accent);
    }
}

.order-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 24px;
    transition: all 0.3s;
}

.order-btn:hover {
    background-color: #0077ED;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.order-btn:active {
    transform: translateY(1px);
}
 
 

.product-details-container {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.product-details {
    padding: 10px;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-sizing: border-box;
    overflow: hidden;
}

.product-details p {
    margin-bottom: 8px;
    padding-right: 5px;
    word-wrap: break-word;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
}

.language-option:active,
.language-option:focus {
    background: var(--secondary);
    color: var(--text);
}

.language-option.active {
    background: var(--accent);
    color: white;
}

.progress-bar-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px var(--spacing);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--border);
}

.progress-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--subtle);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    margin-top: 20px;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.5s ease;
}

.progress-steps {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 25%;
    position: relative;
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--subtle);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
    position: relative;
    font-size: 14px;
}

.step-label {
    font-size: 13px;
    color: var(--text-secondary);
    position: absolute;
    bottom: -30px;
    transition: color 0.3s;
    white-space: nowrap;
}

.step.active .step-number {
    background: var(--accent);
    color: white;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 500;
}

.main-section {
    width: 90%;
    max-width: 1920px;
    height: calc(100vh - 132px);
    background-color: var(--secondary);
    display: flex;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
    margin: 24px auto;
    margin-top: 0;
}

.left-side {
    width: 70%;
    padding: 32px;
    background-color: var(--secondary);
    color: var(--primary);
    position: relative;
}

.right-side {
    width: 30%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--background-alt);
    padding: 32px 24px;
    border-left: 1px solid var(--border);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 22px;
    color: var(--primary);
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 24px;
    color: var(--primary);
    text-align: center;
}

h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.content-item {
    margin-bottom: 20px;
    padding: 16px;
    background-color: var(--secondary);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

.scroll-item {
    margin-bottom: 16px;
    padding: 16px;
    transition: all 0.2s ease;
    width: 100%;
}

.scroll-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.product-actions {
    position: absolute;
    bottom: 30px;
    display: flex;
    width: calc(100% - 64px);
    justify-content: space-between;
    align-items: center;
}

.buy-button {
    background-color: var(--accent);
    border-radius: 20px;
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.buy-button:hover {
    background-color: #0077ED;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.buy-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    font-size: 12px;
}

.price-tag {
    background-color: var(--background-alt);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.favorite {
    position: absolute;
    top: 25px;
    right: 30px;
    cursor: pointer;
    color: var(--subtle);
    font-size: 24px;
    transition: color 0.2s ease;
}

.favorite:hover {
    color: #FF3B30; /* Apple red */
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.product-card {
    position: relative; /* Resmin üzerine card-bottom'u yerleştirmek için relative pozisyon */
    width: 100%;
    height: 250px; /* Sabit bir yükseklik tanımlıyoruz, kartların görünmesi için */
    max-width: 100%;
    background-color: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border);
}

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

.product-card img {
    width: 100%;
    height: 100%; /* Resmin kapsayıcı div'in tamamını kaplamasını sağlar */
    object-fit: cover; /* Resmin oranını koruyarak div'i doldurmasını sağlar */
    display: block;
    position: absolute; /* Resmi kapsayıcı div'in tamamına yaymak için absolute pozisyon */
    top: 0;
    left: 0;
    z-index: 1; /* Resmin card-bottom'un altında kalmasını sağlar */
}

.card-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%); /* Gradyan arka plan */
    position: absolute; /* Resmin üzerinde sabit durması için absolute pozisyon */
    bottom: 0; /* Kartın alt kısmına yerleştirir */
    left: 0;
    right: 0;
    z-index: 2; /* card-bottom'un resmin üzerinde görünmesini sağlar */
}

.buy-now {
    background-color: var(--background-alt);
    color: var(--primary);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-now:hover {
    background-color: var(--accent);
    color: white;
}

.arrow-icon {
    margin-left: 5px;
    font-size: 12px;
}

.price {
    font-weight: 600;
    font-size: 15px;
    color: var(--accent);
}

.heart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.card-selected {
    border: 2px solid var(--accent);
}

.section-container {
    width: 100%;
    margin-bottom: 24px;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
/* Model seçim bölümü için özel stil */
#model-selection-section {
    max-height: none;
    height: auto;
    overflow: visible;
}

#model-selection-section .product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    overflow: visible;
}

.color-box {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid #E0E0E5;
    transition: border 0.2s ease;
     
}

.color-box.selected {
    border: 2px solid var(--accent);
}

.dropdown-container {
    width: 100%;
    max-width: 300px;
    margin: 15px auto;
    position: relative;
}

.dropdown-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
    font-size: 15px;
}

.dropdown {
    position: relative;
    width: 100%;
}

.dropdown select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--secondary);
    font-size: 15px;
    color: var(--primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.dropdown::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
    font-size: 12px;
}

.dropdown select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
}

.dimensions-container {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.dimensions-container > div > div {
    padding: 12px;
    text-align: center;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-sizing: border-box;
    word-wrap: break-word;
    overflow: hidden;
}

.product-preview {
    width: 90%; 
    height: 90%; 
    margin: 0 auto; 
    text-align: center; 
    padding: 20px; 
    background-color: var(--background-alt); 
    border-radius: var(--radius); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-sizing: border-box;
    transform-origin: center center;
}

.product-preview img {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    object-fit: contain;
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: var(--radius); 
}

.order-cta-button {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 0;
    width: 100%;
    max-width: 220px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s;
}

.order-cta-button svg {
    margin-right: 8px;
}

.order-cta-button:hover {
    transform: translateY(-2px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    background-color: #0077ED;
}

/* Mobil Uyarlama */
@media (max-width: 900px) {
    /* Ana bölüm düzenlemeleri */
    .main-section {
        flex-direction: column;
        height: auto;
        width: 100%;
        margin: 0;
         
    }
    .left-side {
        display: none;
    }
    /* Sağ sütunu tam genişlikte göster */
    .right-side {
        width: 100%;
        padding: 12px;
        overflow-x: hidden;
    }
       /* Canvas'ı section-container'ın altına taşı */
       .product-preview-mobile {
        display: block;
        width: 100%;
        height: 300px;
        margin: 20px 0;
        background-color: var(--background-alt);
        border-radius: var(--radius);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-top: 10px; /* Yeni kural: Üst boşluğu 10px yap */
    }
    .product-preview-mobile {
        display: none;
    }
    /* Canvas ve önizleme için stil */
    .product-preview-mobile #designCanvas,
    .product-preview-mobile #preview-image {
        max-width: calc(100% - 20px);
        max-height: calc(100% - 20px);
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        margin: auto;
    }
    .section-title
    {
        margin-bottom: 0;
    }

    #customization-section {
        margin-bottom: 0; /* Yeni kural: Alt boşluğu 0 yap */
    }

    .controls {
        display: grid;
        gap: 2px;
    }

    /* Sol ve sağ sütun düzenlemeleri */
    .left-side, .right-side {
        width: 100%;
        padding: 12px;
        overflow-x: hidden;
    }
    
    /* Ürün önizleme alanı */
    .product-preview {
        width: 100%;
        height: 300px; /* Mobil için sabit yükseklik */
        padding: 10px;
    }
    
    /* Header düzenlemeleri */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);

        padding: 0 15px;
        flex-wrap: nowrap; /* Öğelerin alt alta geçmesini önler */
        justify-content: space-between;
        align-items: center;
        display: flex;
        gap: 0;
    }
    .logo {
        order: 2; /* Ortada */
        font-size: 20px;
        flex-grow: 1; /* Logoyu ortalamak için */
        text-align: center;
    }
    /* Navigasyon menüsü */
    .nav-links {
        position: fixed;
        top: 60px; /* Header yüksekliği */
        left: 0;
        width: 100%;
        background: white;
        z-index: 999;
        padding: 10px 0;
        display: none;
    }
    .language-switcher {
        order: 3; /* Sağda, Sepete Git'ten önce */
        margin: 0 5px; /* Dil seçimi ile Sepete Git arasında boşluk */
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links a {
        margin: 8px 0;
        font-size: 16px;
    }
    
    /* İlerleme çubuğu bölümü */
    .progress-bar-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto; /* veya belirli bir yükseklik: 60px gibi */
    max-height: 60px;
    z-index: 999;
}
    
    /* İlerleme adımları */
    .progress-steps {
        display: flex;
        justify-content: space-between;
    }
    
    .step {
        width: 25%;
    }
    
    .step-label {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        text-align: center;
        display: none;
        
    }
    
    /* Boyut ayarlama kontrolleri */
   
    .slider-container {
        display: flex;
        flex-direction: row; /* Yatayda hizalanmasını sağlar */
        align-items: center;
        gap: 15px; /* Aradaki boşluğu azalttık */
    }
    
    input[type="range"] {
        flex: 1;
        height: 6px;
    }
    
    .value-display {
        margin-left: 10px;
        min-width: 70px;
    }
    
    /* Model kartları */
    .product-card {
        height: 200px;
    }
    
    /* Özelleştirme seçenekleri */
    .scroll-item {
        padding: 12px;
    }
    
    /* Sepet paneli */
    .cart-panel {
        width: 100%;
        right: -100%;
        transition: all 0.3s ease;
    }
    
    .cart-panel.active {
        right: 0;
    }
    
    /* Footer düzenlemesi */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    /* Popup düzenlemesi */
    .popup-content {
        padding: 20px;
        padding-top: 40px; /* Kapatma butonu için daha fazla yer */
        max-height: 90vh; /* Ekran yüksekliğinin %90'ını kullan */
        overflow-y: auto; /* İçerik fazla gelirse scroll ekle */
    }
    
    .product-info-container {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Dil seçim bölümü */
    .language-button .language-name {
        display: none;
    }
    
    .language-button .flag {
        margin-right: 0;
    }
    
    /* CTA butonları */
    .kcta-button, .cta-button {
        order: 4; /* Sağda, dil seçiminden sonra */
        font-size: 14px;
        padding: 8px 16px;
    }
    
    /* Hamburger menü icon */
    .hamburger {
        order: 1; /* Solda */
        display: block;
        font-size: 24px;
    }
    
    /* Ürün detayları bölümü */
    .dimensions-container {
        width: 100%;
        padding: 0;
        overflow-x: hidden;
    }
    
    .dimensions-container > div {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dimensions-container > div > div {
        padding: 8px;
        font-size: 14px;
        margin: 0;
    }
    
    #detail-width-title, #detail-depth-title, #detail-height-title, 
    #detail-planter-depth-title {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    #detail-width, #detail-depth, #detail-height, 
    #detail-planter-depth {
        font-size: 14px;
    }
    
    /* Ürün açıklama bölümü */
    .product-description {
        padding: 40px 15px;
    }
    
    .description-container {
        grid-template-columns: 1fr;
    }
    
    /* Ürün özellikleri bölümü için düzenlemeler */
    .product-details-container {
        width: 100%;
        padding: 0;
        margin-bottom: 15px;
        overflow-x: hidden; /* Yatay taşmayı engeller */
    }
    
    .product-details {
        padding: 8px; /* Daha küçük padding */
        margin: 0;
    }
    
    .product-details p {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

/* Daha küçük ekranlar için ek düzenlemeler (telefon) */
@media (max-width: 480px) {
    /* Ana başlık ve açıklamalar */
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
        margin: 15px 0;
    }
    
    /* Ürün detayları */
    .dimension-item {
        padding: 8px;
    }
    
    #detail-width-title, #detail-depth-title, #detail-height-title, 
    #detail-planter-depth-title {
        font-size: 12px;
    }
    
    #detail-width, #detail-depth, #detail-height, 
    #detail-planter-depth {
        font-size: 15px;
    }
    
    /* Ürün Özelleştirme */
    .dropdown-container {
        max-width: 100%;
    }
    
    /* İlerleme çubuğu */
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    /* Canvas ve Önizleme görüntüsü */
    #designCanvas, #preview-image {
        max-width: 90%;
        max-height: 90%;
    }
    
    .dimensions-container > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        width: 100%;
    }
    
    .dimensions-container > div > div {
        padding: 5px;
    }
    
    .product-details {
        padding: 5px;
    }
    
    .product-details p {
        font-size: 13px;
        margin-bottom: 5px;
    }
}

/* Animasyon düzeltmeleri */
#designCanvas, #preview-image {
    transition: all 0.5s ease;
}
 
.cart-item-details .customizations {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary); /* İkincil metin renginiz yoksa #666 gibi bir renk kullanabilirsiniz */
}

.cart-item-details .customizations div {
    margin-bottom: 5px;
}
.product-customizations {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9; /* Alternatif arka plan rengi */
    border-radius: 8px;
    border: 1px solid #ddd;
}

.product-customizations h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product-customizations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-customizations li {
    font-size: 15px;
    color: #666;
    margin-bottom: 5px;
}


/* Mevcut animasyonlar (giriş için) */
@keyframes slideOutRightFade {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(20px); opacity: 0; }
}

@keyframes slideInLeftFade {
    0% { transform: translateX(20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeftFade {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-20px); opacity: 0; }
}

@keyframes slideInRightFade {
    0% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.previewImage-exit {
    
    animation: slideOutRightFade 0.5s ease forwards;
}

.designCanvas-enter {
    animation: slideInLeftFade 0.5s ease forwards;
}

.designCanvas-exit {
    animation: slideOutLeftFade 0.5s ease forwards;
}

.previewImage-enter {
    animation: slideInRightFade 0.5s ease forwards;
}
/* Ürün Kartı Fiyat Stili - Minimal Apple Tarzı */
.product-card .price {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    background-color: rgba(55, 118, 221, 0.9);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
    z-index: 3;
    letter-spacing: 0.02em;
    margin: 0;
    border: 1px solid rgba(55, 118, 221, 0.3);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.product-card .price::before {
    content: "";
    margin-right: 0;
    font-weight: 400;
}

.product-card .price:hover {
    background-color: rgba(28, 85, 180, 0.95);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border-color: rgba(28, 85, 180, 0.4);
}

/* İndirimli fiyatlar için ek stil */
.product-card .price.discounted {
    color: #fff;
    background-color: rgba(255, 59, 48, 0.9);
    border-color: rgba(255, 59, 48, 0.3);
}

.product-card .price.discounted::after {
    content: "İndirimli";
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #fff;
    color: #FF3B30;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    transform: rotate(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Card-bottom içeriğini düzenle */
.product-card .card-bottom {
    justify-content: flex-end;
    padding: 15px 16px;
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Dikey kaydırma çubuğu stilini güzelleştirme */
.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-track {
    background: var(--background-alt);
    border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Option buttons for 'click' type options */
.option-button {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
}

.option-button:hover {
    background-color: var(--background-alt);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.option-button.selected {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

/* Özelleştirme seçenekleri konteyneri için alt boşluk */
.customization-options-container {
  position: relative; /* İçindeki price-tag için gerekli olabilir */
  padding-bottom: 60px; /* Varsayılan alt boşluk (fiyat etiketi için) */
}

/* Mobil cihazlar için özelleştirme seçenekleri konteyneri */
@media (max-width: 900px) {
  .customization-options-container {
    padding-bottom: 0; /* Mobil için alt boşluğu kaldır */
  }
}