/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #4CAF50;
    --primary-hover: #45a049;
    --secondary-color: #3f51b5;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

section {
    margin-bottom: 60px;
}

section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* Header styles */
header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    margin-right: 20px;
    font-size: 20px;
    background: transparent;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.hamburger-menu:hover {
    background-color: var(--bg-light);
}

.logo img {
    height: 100px;
}

.header-icons {
    display: flex;
    gap: 15px;
}

.header-icons a {
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.header-icons a:hover {
    background-color: var(--bg-light);
}

/* Main content styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
    overflow-x: hidden;
}

/* Product container */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 70px;
    width: 100%;
}

.product-gallery {
    display: flex;
    gap: 20px;
    margin-bottom: 10px; /* Reduced spacing */
    position: relative;
}

.main-image-container {
    flex-grow: 1;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto; /* Allow natural height */
    min-height: 300px; /* Minimum height for empty state */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top instead of center */
    border-radius: 12px;
    cursor: zoom-in;
    /* Safari için destek */
    -webkit-user-select: none;
    border: none;
    touch-action: pan-x pan-y; /* Hem yatay hem dikey kaydırmaya izin ver */
    background-color: transparent; /* Remove background */
}

.main-image img {
    width: 100%;
    height: auto; /* Natural height */
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    opacity: 1;
    backface-visibility: hidden; /* Daha akıcı animasyonlar için */
}

/* Thumbnail gallery stilleri */
.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    max-height: 420px;
    position: relative;
    padding-bottom: 20px;
    width: 90px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox için kaydırma çubuğunu gizle */
}

.thumbnail-gallery::-webkit-scrollbar {
    width: 0; /* Chrome, Safari, Opera için kaydırma çubuğunu gizle */
}

.thumbnail-gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #3e3e3e;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.main-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.main-image:hover::after {
    background-color: rgba(0, 0, 0, 0.02);
}

.main-image.zoomed {
    cursor: zoom-out;
}

.main-image.zoomed img {
    transform: scale(1.8);
    -webkit-transform: scale(1.8);
}

.zoom-lens {
    position: absolute;
    border: 1px solid #d4d4d4;
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    display: none;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

/* Hover sadece mouse ve dokunmatik olmayan cihazlarda çalışır */
@media (hover: hover) and (pointer: fine) {
    .main-image.hover-zoom img:hover {
        transform: scale(1.1);
    }
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-header {
    margin-bottom: 20px; /* Reduced spacing */
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px; /* Reduced spacing */
}

.product-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #222;
}

.price {
    font-size: 30px;
    font-weight: 700;
    color: #1e88e5;
    display: flex;
    align-items: center;
}

/* Gallery section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

/* Product variants */
.product-variants {
    margin-bottom: 35px;
}

.variant-row {
    margin-bottom: 25px;
}

.variant-label {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.color-option-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.25s ease;
    width: 60px;
}

.color-option-container.active {
    background-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.color-option {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
}

.color-name {
    font-size: 13px;
    color: #333;
    transition: color 0.2s ease, font-weight 0.2s ease;
    text-align: center;
}

.color-option-container:hover .color-option {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-option-container:hover .color-name {
    color: #000;
    font-weight: 500;
}

.color-option-container.active .color-option {
    border-color: #fff;
    box-shadow: 0 0 0 2px #333, 0 4px 10px rgba(0, 0, 0, 0.2);
}

.color-option-container.active .color-name {
    font-weight: 600;
}

.size-options {
    display: flex;
    gap: 12px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.size-option {
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    min-width: 110px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.size-option.active {
    border-color: #333;
    background-color: rgba(0, 0, 0, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.size-option span:first-child {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.size-option span:last-child {
    font-size: 13px;
    color: var(--text-light);
}

/* Add to cart section */
.add-to-cart {
    margin: 30px 0;
    display: flex;
    gap: 12px;
}

.quantity-container {
    display: flex;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.quantity-btn {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #f0f0f0;
}

.quantity {
    width: 50px;
    height: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 16px;
}

.cart-btn {
    padding: 15px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.buy-btn {
    background-color: #1e88e5; /* Mavi renk */
    color: white;
    flex: 1;
    letter-spacing: 0.5px;
}

.buy-btn:hover {
    background-color: #1565c0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.25);
}

.whatsapp-contact-btn {
    background-color: #25D366;
    color: white;
    padding: 15px 16px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-contact-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact-btn i {
    font-size: 25px;
}

.delivery-info {
    font-size: 14px;
    color: var(--text-light);
}

.delivery-info span {
    font-weight: 600;
    color: var(--text-color);
}

/* Product details section */
.dimensions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.dimensions-image {
    flex: 1;
    min-width: 300px;
}

.dimensions-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
}

.dimensions-info table {
    width: 100%;
    border-collapse: collapse;
}

.dimensions-info td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.dimensions-info td:first-child {
    color: var(--text-light);
    width: 50%;
}

.dimensions-info td:last-child {
    font-weight: 500;
}

/* Product features section */
.product-features {
    background-color: rgb(245, 245, 245);
    padding: 20px 15px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.feature-slider {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
    height: 280px;
    width: 100%;
    box-shadow: none;
    touch-action: pan-x; /* Enable horizontal touch scrolling */
}

.touch-slider {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.touch-slider:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease;
    transform: translateX(0);
}

.slide {
    width: 33.33%;
    flex-shrink: 0;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 100%;
    max-height: 250px;
    height: auto;
    object-fit: contain;
}

.feature-controls {
    display: flex;
    gap: 12px;
    margin: 0;
    justify-content: center;
}

.control-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.control-btn:hover {
    transform: scale(1.15);
    background-color: rgba(0, 0, 0, 0.25);
}

.control-btn.active {
    transform: scale(1.2);
    background-color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Feature texts */
.feature-texts {
    margin-top: 10px;
    position: relative;
    width: 100%;
    max-width: 800px;
    text-align: center;
    min-height: 70px;
    overflow: visible;
}

.feature-text {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
    pointer-events: none;
    display: none;
}

.feature-text.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    display: block;
}

.feature-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    padding: 8px 12px;
    display: inline-block;
    background: none;
    box-shadow: none;
    position: relative;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #222;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for product features */
@media (max-width: 768px) {
    .product-features {
        padding: 15px 10px;
        margin-bottom: 25px;
    }
    
    .slider-container {
        height: 220px;
        margin-bottom: 5px;
    }
    
    .feature-controls {
        gap: 10px;
        margin: 0;
    }
    
    .feature-texts {
        min-height: 50px;
        margin-top: 5px;
    }
    
    .feature-text h3 {
        font-size: 20px;
        padding: 5px 8px;
    }
}

@media (max-width: 576px) {
    .product-features {
        padding: 12px 8px;
        margin-bottom: 20px;
    }
    
    .feature-slider {
        gap: 5px;
        margin-bottom: 5px;
    }
    
    .slider-container {
        height: 180px;
        border-radius: 6px;
    }
    
    .feature-controls {
        gap: 8px;
    }
    
    .feature-text h3 {
        font-size: 16px;
        padding: 3px 6px;
        letter-spacing: 0;
    }
    
    .feature-texts {
        min-height: 40px;
        margin-top: 0;
    }

    .touch-slider {
        touch-action: pan-x;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .slider-track {
        transition: transform 0.3s ease;
    }
    
    .slide {
        scroll-snap-align: center;
    }
}

/* Benefits section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    transition: transform 0.3s;
}

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

.benefit-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.benefit-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 14px;
}

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

/* Accordion section */
.accordion-section {
    margin-bottom: 60px;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.accordion-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 10px;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 10px;
    padding-bottom: 20px;
}

/* Why choose section */
.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.reason-item {
    text-align: center;
    transition: transform 0.3s;
}

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

.reason-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.reason-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.reason-item p {
    color: var(--text-light);
    font-size: 14px;
}

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

/* Reviews section */
.reviews {
    margin-bottom: 60px;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.stars {
    color: #FFD700;
    margin-right: 10px;
    font-size: 18px;
}

.rating-value {
    font-weight: 600;
    font-size: 18px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.review {
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #f9fafb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer {
    font-weight: 600;
    font-size: 16px;
    color: #171717;
}

.review-stars {
    color: #FFD700;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 15px;
}

.review-date {
    color: #6b7280;
    font-size: 14px;
    text-align: right;
    margin-top: auto;
}

/* FAQ section */
.faq {
    margin-bottom: 60px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
}

.faq-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 10px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 10px;
    padding-bottom: 20px;
}

/* FAQ içindeki sıralı listeler için stil */
.faq-answer ol {
    padding-left: 25px;
    margin: 15px 0;
}

.faq-answer ol li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer ol li:last-child {
    margin-bottom: 0;
}

.faq-answer ol li strong {
    color: var(--text-color);
    font-weight: 600;
}

/* CTA container */
.cta-container {
    text-align: center;
    margin-bottom: 70px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

/* Footer styles */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px 30px;
    overflow: hidden;
    width: 100%;
}

.newsletter {
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: center;
}

.newsletter h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.newsletter p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
}

.newsletter-form button {
    padding: 0 25px;
    background-color: white;
    color: var(--secondary-color);
    font-size: 18px;
}

.newsletter-form button:hover {
    background-color: #f5f5f5;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 20px;
}

.footer-column {
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-column a {
    display: flex;
    align-items: center;
}

.footer-column a i {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-column a:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
}

.payment-icon {
    width: 38px;
    height: 24px;
    margin: 5px;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .product-container {
        gap: 30px;
    }
    
    .product-gallery {
        gap: 15px;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .product-gallery {
        flex-direction: column-reverse;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .main-image-container {
        width: 100%;
        overflow: hidden;
    }
    
    .thumbnail-gallery {
        flex-direction: row;
        max-height: none;
        width: 100%;
        padding-bottom: 0;
        padding-right: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        white-space: nowrap;
        scrollbar-width: none; /* Firefox için scroll barı gizle */
        -ms-overflow-style: none; /* IE ve Edge için scroll barı gizle */
        padding-bottom: 5px;
    }
    
    .thumbnail-gallery::-webkit-scrollbar {
        display: none; /* Chrome, Safari ve Opera için scroll barı gizle */
    }
    
    .thumbnail-gallery::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 50px;
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
        pointer-events: none;
        bottom: auto;
        left: auto;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
        margin-right: 10px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    
    .main-image {
        height: auto; /* Natural height for mobile */
        min-height: 250px;
        cursor: grab;
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-image.swiping {
        cursor: grabbing;
    }
    
    .main-image.sliding img {
        transition: transform 0.25s ease-out, opacity 0.25s ease;
    }
    
    .main-image img {
        transition: transform 0.25s ease-out, opacity 0.25s ease;
        will-change: transform, opacity; /* GPU hızlandırma */
    }
    
    .main-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        z-index: 1;
    }

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

    .zoom-lens {
        display: none !important;
    }

    .reviews-container {
        grid-template-columns: 1fr;
        width: 100%;
        overflow-x: hidden;
    }
    
    .review {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    section h2 {
        font-size: 24px;
    }

    .dimensions-container {
        flex-direction: column;
    }

    .dimensions-image, 
    .dimensions-info {
        width: 100%;
    }

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

    .gallery-item {
        height: 150px;
    }

    .slider-container {
        height: 240px;
    }

    .slide {
        height: 100%;
    }

    .feature-texts {
        padding: 0 10px;
    }

    .variant-row {
        margin-bottom: 15px;
    }

    .variant-options {
        flex-wrap: wrap;
    }

    footer {
        padding: 40px 20px;
    }

    .footer-links {
        justify-content: center;
        text-align: center;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-column h4 {
        text-align: center;
    }

    .footer-column:last-child {
        margin-bottom: 0;
    }

    .footer-column a {
        justify-content: center;
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .newsletter {
        padding: 20px;
    }

    .newsletter h3 {
        font-size: 18px;
    }

    .add-to-cart {
        flex-wrap: wrap;
    }

    .whatsapp-contact-btn {
        margin-top: 10px;
    }

    .buy-btn {
        flex: 1;
    }

    .benefit-image, .reason-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    main {
        padding: 20px 15px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .thumbnail-gallery {
        gap: 8px;
        padding-right: 15px;
        width: 100%;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
        margin-right: 8px;
    }
    
    .main-image {
        height: auto; /* Natural height for small mobile */
        min-height: 220px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        height: 200px;
    }

    .add-to-cart {
        flex-wrap: nowrap;
    }

    .cart-btn {
        font-size: 15px;
    }

    .benefits-container,
    .reasons-container {
        grid-template-columns: 1fr;
    }

    .product-header h1 {
        font-size: 26px;
    }

    .price {
        font-size: 22px;
    }

    section {
        margin-bottom: 40px;
    }
    
    .product-variants {
        margin-bottom: 25px;
    }
    
    .variant-row {
        margin-bottom: 20px;
    }
    
    .color-options, 
    .size-options {
        flex-wrap: wrap;
    }
    
    .size-option {
        width: 100%;
        text-align: center;
    }
    
    .feature-slider {
        margin-bottom: 30px;
    }
    
    .slide img {
        height: 100%;
        object-fit: contain;
    }
    
    .slider-container {
        border-radius: 6px;
    }
    
    .payment-methods {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .payment-icon {
        width: 36px;
        height: 22px;
        margin: 4px;
    }
    
    .copyright {
        font-size: 12px;
    }

    footer {
        padding: 30px 15px 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        box-shadow: none;
    }
    
    .newsletter-form input {
        width: 100%;
        border-radius: 6px 6px 0 0;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 12px;
        border-radius: 0 0 6px 6px;
    }
    
    .feature-text h3 {
        font-size: 20px;
        padding: 10px;
    }
    
    .feature-texts {
        min-height: 100px;
    }
    
    .benefit-item,
    .reason-item {
        margin-bottom: 25px;
    }
    
    .control-btn {
        width: 10px;
        height: 10px;
    }

    .whatsapp-contact-btn {
        width: 50px;
        flex-shrink: 0;
    }
    
    .buy-btn {
        flex: 1;
    }
    
    .whatsapp-contact-btn i {
        font-size: 20px;
    }

    .benefit-image, .reason-image {
        height: 200px;
    }

    .slider-container {
        height: 200px;
    }
    
    .slide img {
        object-fit: cover;
    }

    .main-image {
        height: auto; /* Natural height */
        min-height: 220px;
        background-color: transparent; /* Gri arka planı kaldır */
    }
    
    .main-image img {
        width: 100%;
        height: auto;
        animation: fadeImage 0.4s ease;
    }

    @keyframes fadeImage {
        0% {
            opacity: 0;
            transform: scale(0.9);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .reviews-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .review {
        padding: 20px 15px;
        margin-bottom: 10px;
    }
    
    .review-text {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .reviewer {
        font-size: 14px;
    }
    
    .review-date {
        font-size: 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.main-image, .product-info, section {
    animation: fadeIn 0.8s ease-out;
}

.benefit-item, .reason-item, .review, .gallery-item {
    animation: slideUp 0.6s ease-out;
}

/* Modern, parlak animasyonlar */
@keyframes slideFromLeftGlow {
    0% {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes fadeUpInGlow {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slideFromRightGlow {
    0% {
        opacity: 0;
        transform: translateX(50px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Halo efektleri ekleme - siyah tonları */
.feature-text[data-slide="0"].active::before,
.feature-text[data-slide="1"].active::before,
.feature-text[data-slide="2"].active::before {
    content: none;
    background: none;
    animation: none;
}

@keyframes pulseGlow {
    0% {
        opacity: 0;
        width: 0;
        height: 0;
    }
    100% {
        opacity: 0;
        width: 0;
        height: 0;
    }
}

/* Ürün bilgisi listesi */
.product-specs {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    position: relative;
    padding: 8px 0 8px 25px;
    margin-bottom: 8px;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
}

.product-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
}

.product-specs li:last-child {
    margin-bottom: 0;
}

/* WhatsApp Butonu */
.whatsapp-btn {
    background-color: #25D366; /* WhatsApp yeşil */
    padding: 16px 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.whatsapp-btn i {
    font-size: 24px;
}

.whatsapp-btn:hover {
    background-color: #128C7E; /* Koyu WhatsApp yeşili */
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.thumbnail {
    cursor: pointer;
    border: 1px solid #e0e0e0;
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
    position: relative;
    scroll-snap-align: start;
}

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

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

.thumbnail.active {
    border-color: #3c3c3c;
    box-shadow: 0 0 0 2px rgba(60, 60, 60, 0.2);
}

/* Popup ve Overlay Stilleri */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-header {
    background-color: #1a78c2;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-popup {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-popup:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.order-summary {
    padding: 20px 20px 0 20px;
}
.payment-options {
    padding: 0 20px 20px 20px;
}

.popup-content form {
    padding: 20px;
}
.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.payment-options h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
}

.payment-methods-select {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-method-item {
    position: relative;
}

.payment-method-item input[type="radio"] {
    display: none;
}

.payment-method-item label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-item input[type="radio"]:checked + label {
    border-color: #1a78c2;
    background-color: rgba(26, 120, 194, 0.05);
}

.payment-method-icon {
    margin-right: 10px;
    color: #1a78c2;
}

.continue-btn, .complete-order-btn {
    background-color: #1a78c2;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.continue-btn:hover, .complete-order-btn:hover {
    background-color: #0e3b62;
    transform: translateY(-2px);
}

.installment-option {
    position: relative;
}

.installment-option input[type="radio"] {
    display: none;
}

.installment-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.installment-option input[type="radio"]:checked + label {
    border-color: #1a78c2;
    background-color: rgba(26, 120, 194, 0.05);
}

.installment-amount {
    font-weight: 600;
    color: #1a78c2;
}

@media (max-width: 576px) {
    .popup-content {
        width: 95%;
    }
}

/* Kaydırma göstergeleri için CSS Sınıfları */
.main-image-container.sliding {
    cursor: grabbing;
    transition: transform 0.1s ease-out;
}

.main-image-container.swiping-left {
    position: relative;
}

.main-image-container.swiping-left::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8.59 16.59L13.17 12L8.59 7.41L10 6L16 12L10 18L8.59 16.59z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.7));
    opacity: 0.9;
    z-index: 5;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
}

.main-image-container.swiping-right {
    position: relative;
}

.main-image-container.swiping-right::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 35px;
    height: 35px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8.59 16.59L13.17 12L8.59 7.41L10 6L16 12L10 18L8.59 16.59z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.7));
    opacity: 0.9;
    z-index: 5;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
}

.main-image {
    transition: transform 0.3s ease-out;
}

/* Mobil cihazlar için swiping göstergesi boyutu */
@media screen and (max-width: 576px) {
    .main-image-container.swiping-left::after,
    .main-image-container.swiping-right::after {
        width: 30px;
        height: 30px;
    }
}

/* İndirim rozeti için stil */
.discount-badge {
    background-color: #ff5252;
    color: white;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Fiyat artış rozeti için stil */
.price-increase-badge {
    background-color: #ff9800;
    color: white;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

/* Popupta renk gösterimi için stil */
.color-display {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.color-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #e0e0e0;
}
 
 / *   L o c a t i o n   S e c t i o n   * / 
 . l o c a t i o n - s e c t i o n   { 
         b a c k g r o u n d - c o l o r :   # f 8 f 9 f a ; 
         p a d d i n g :   6 0 p x   2 0 p x ; 
         m a r g i n - t o p :   4 0 p x ; 
 } 
 
 . l o c a t i o n - c o n t a i n e r   { 
         m a x - w i d t h :   1 2 0 0 p x ; 
         m a r g i n :   0   a u t o ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . l o c a t i o n - s e c t i o n   h 2   { 
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ; 
         m a r g i n - b o t t o m :   3 0 p x ; 
         f o n t - s i z e :   2 8 p x ; 
         f o n t - w e i g h t :   6 0 0 ; 
 } 
 
 . l o c a t i o n - s e c t i o n   h 2   i   { 
         m a r g i n - r i g h t :   1 0 p x ; 
         c o l o r :   # d c 3 5 4 5 ; 
 } 
 
 . m a p - c o n t a i n e r   { 
         m a r g i n - b o t t o m :   3 0 p x ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         o v e r f l o w :   h i d d e n ; 
         b o x - s h a d o w :   0   1 0 p x   3 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
 } 
 
 . m a p - c o n t a i n e r   i f r a m e   { 
         w i d t h :   1 0 0 % ; 
         h e i g h t :   4 0 0 p x ; 
         b o r d e r :   n o n e ; 
 } 
 
 . a d d r e s s - i n f o   { 
         b a c k g r o u n d :   w h i t e ; 
         p a d d i n g :   2 5 p x ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         b o x - s h a d o w :   0   5 p x   2 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
         m a r g i n :   0   a u t o ; 
         m a x - w i d t h :   6 0 0 p x ; 
 } 
 
 . a d d r e s s - i n f o   p   { 
         f o n t - s i z e :   1 6 p x ; 
         c o l o r :   # 3 3 3 ; 
         m a r g i n - b o t t o m :   1 5 p x ; 
         l i n e - h e i g h t :   1 . 6 ; 
 } 
 
 . a d d r e s s - i n f o   p   i   { 
         c o l o r :   # d c 3 5 4 5 ; 
         m a r g i n - r i g h t :   8 p x ; 
 } 
 
 . m a p s - l i n k   { 
         d i s p l a y :   i n l i n e - f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   8 p x ; 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( t o   r i g h t ,   # 1 a 7 8 c 2 ,   # 0 e 3 b 6 2 ) ; 
         c o l o r :   w h i t e ; 
         p a d d i n g :   1 2 p x   2 4 p x ; 
         b o r d e r - r a d i u s :   5 0 p x ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         f o n t - w e i g h t :   6 0 0 ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 . m a p s - l i n k : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 2 6 ,   1 2 0 ,   1 9 4 ,   0 . 4 ) ; 
         c o l o r :   w h i t e ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . l o c a t i o n - s e c t i o n   { 
                 p a d d i n g :   4 0 p x   1 5 p x ; 
         } 
         
         . l o c a t i o n - s e c t i o n   h 2   { 
                 f o n t - s i z e :   2 4 p x ; 
         } 
         
         . m a p - c o n t a i n e r   i f r a m e   { 
                 h e i g h t :   3 0 0 p x ; 
         } 
         
         . a d d r e s s - i n f o   { 
                 p a d d i n g :   2 0 p x   1 5 p x ; 
         } 
         
         . a d d r e s s - i n f o   p   { 
                 f o n t - s i z e :   1 4 p x ; 
         } 
         
         . m a p s - l i n k   { 
                 p a d d i n g :   1 0 p x   2 0 p x ; 
                 f o n t - s i z e :   1 4 p x ; 
         } 
 }  
 