/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #FFFFFF;
    --accent-color: #333333;
    --header-bg: #000000;
    --footer-bg: #000000;
    --font-family: Arial, sans-serif;
    --animation-speed: 500ms;
}

body {
    font-family: var(--font-family);
    color: var(--primary-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--header-bg);
    color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.header-center {
    flex: 1;
    min-width: 0;
    display: flex;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.header-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 0 0 auto;
}

.logo img {
    max-height: 50px;
}

.logo h1 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    line-height: 1.2;
    margin: 0;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 2rem;
}

.main-header[data-menu-align="left"] .main-nav {
    justify-content: flex-start;
}

.main-header[data-menu-align="center"] .main-nav {
    justify-content: center;
}

.main-header[data-menu-align="right"] .main-nav {
    justify-content: flex-end;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.25s ease;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
    opacity: 0.95;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.nav-link:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.42);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.cart-icon {
    position: relative;
    font-size: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    transition: all var(--animation-speed);
}

.cart-icon-emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.cart-label {
    line-height: 1;
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.account-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    transition: all var(--animation-speed);
}

.account-icon-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Butonlar */
.btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all var(--animation-speed);
    font-size: 1rem;
    border-radius: var(--button-radius, 4px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--secondary-color);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.2s both;
}

/* Animasyonlar */
.fade-in {
    animation: fadeIn 1s;
}

.fade-in-delay {
    animation: fadeIn 1s 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s 0.6s both;
}

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

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

/* Kategoriler */
.categories-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    margin: 0.7rem auto 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--secondary-color);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--animation-speed), box-shadow var(--animation-speed);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.category-card a {
    text-decoration: none;
    color: inherit;
}

/* Ürünler */
.featured-products {
    padding: 4rem 0;
    background: #f5f5f5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/* Ürün Görünüm Stilleri */
.products-view-grid .product-card {
    /* Varsayılan grid görünümü */
}

.products-view-list {
    grid-template-columns: 1fr;
}

.products-view-list .product-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    align-items: stretch;
}

.products-view-list .product-image {
    height: 180px;
}

.products-view-list .product-info {
    text-align: left;
    padding: 1rem 0.5rem 1rem 0;
}

.products-view-list .product-link {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 1rem;
    padding-right: 0.5rem;
}

.products-view-list .product-card-actions {
    display: flex;
    align-items: center;
    min-width: 170px;
    padding: 1rem;
}

.products-view-masonry {
    column-count: 3;
    column-gap: 2rem;
}

.products-view-masonry .product-card {
    break-inside: avoid;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .products-view-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .products-view-masonry {
        column-count: 1;
    }
    
    .products-view-list .product-card {
        grid-template-columns: 1fr;
    }

    .products-view-list .product-link {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .products-view-list .product-card-actions {
        min-width: 0;
        padding-top: 0;
    }
}

.product-card {
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    overflow: hidden;
    transition: transform var(--animation-speed), box-shadow var(--animation-speed), border-color var(--animation-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-link {
    display: block;
    color: inherit;
    text-decoration: none;
    flex: 1;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-speed);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: bold;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

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

.product-info h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1.05rem;
    line-height: 1.35;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-price {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.product-card .old-price {
    text-decoration: line-through;
    color: #8a8a8a;
    font-size: 0.9rem;
}

.product-card .current-price {
    font-size: var(--product-card-price-font-size, 1.15rem);
    font-weight: 700;
    color: var(--primary-color);
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    line-height: 1.2;
}

.price-save {
    font-size: 0.74rem;
    font-weight: 700;
    background: #eaf7ef;
    color: #216b3f;
    border: 1px solid #bfe3cc;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
}

.product-card-actions {
    padding: 0 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.product-card-actions .btn,
.product-card-actions .out-of-stock-label {
    flex: 1;
    min-width: 0;
}

.product-card-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.product-card-actions .btn-hemen-al {
    background: var(--accent-color, #333);
    color: #fff;
    border: none;
}

.product-card-actions .btn-hemen-al:hover {
    opacity: 0.9;
}

/* Özellikler */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background: var(--footer-bg);
    color: var(--secondary-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity var(--animation-speed);
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Sayfa Başlıkları */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Ürünler Sayfası */
.products-page {
    padding: 2rem 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.products-sidebar {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background var(--animation-speed);
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.products-toolbar {
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--primary-color);
    border-radius: 4px;
    transition: all var(--animation-speed);
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.no-products {
    text-align: center;
    padding: 3rem 0;
    color: #666;
    font-size: 1.1rem;
}

/* Alert Mesajları */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Stilleri */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Ürün Detay */
.product-detail-page {
    padding: 2rem 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.gallery-thumbs img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-images {
    position: sticky;
    top: 100px;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.product-price {
    margin: 2rem 0;
}

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

.product-price .current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.product-price .discount {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-left: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.product-short-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.product-stock {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    background: #f0f8f0;
    border-radius: 6px;
    display: inline-block;
}

.product-description {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.product-description h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.product-description div {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

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

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.3s;
}

.quantity-selector button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

.product-stock {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.product-description {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.product-description h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-description div {
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-images {
        position: static;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    border: 2px solid transparent;
    transition: border-color var(--animation-speed);
}

.gallery-thumbs img:hover {
    border-color: var(--primary-color);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.product-meta span {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 6px;
}

.product-short-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.product-stock {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    background: #f0f8f0;
    border-radius: 6px;
    display: inline-block;
}

.product-description {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.product-description h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.product-description div {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-info h1 {
        font-size: 1.8rem;
    }
    
    .product-price .current-price {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
}

.product-price {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.3rem;
    margin-right: 1rem;
}

.product-price .current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.discount {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-left: 1rem;
    font-size: 0.875rem;
}

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

.quantity-selector button {
    width: 45px;
    height: 45px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s;
    color: #333;
}

.quantity-selector button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-selector input {
    width: 70px;
    height: 45px;
    padding: 0;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 1.1rem;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.product-actions .btn,
.product-actions .btn-hemen-al {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.product-actions .btn-hemen-al {
    background: var(--accent-color, #333);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-actions .btn-hemen-al:hover {
    opacity: 0.9;
}

.product-actions .btn:not(.btn-hemen-al) {
    font-size: 1.1rem;
    font-weight: 600;
}

.in-stock {
    color: green;
    font-weight: bold;
}

.out-of-stock {
    color: red;
    font-weight: bold;
}

.out-of-stock-label {
    display: inline-block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: center;
    color: #888;
    font-weight: 600;
    cursor: default;
    user-select: none;
}

/* Sepet */
.cart-page {
    padding: 2rem 0;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

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

.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

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

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.cart-summary {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: bold;
    border-top: 2px solid #ddd;
    padding-top: 1rem;
    margin-top: 1rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Modern Sepet Görünümü */
.cart-modern {
    grid-template-columns: 1fr;
}

.cart-items-modern {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cart-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cart-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cart-card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-card-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cart-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cart-quantity-controls input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem;
}

.cart-subtotal {
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

.cart-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Minimal Sepet Görünümü */
.cart-minimal {
    grid-template-columns: 1fr;
}

.cart-items-minimal {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cart-item-minimal {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cart-item-meta {
    display: flex;
    gap: 1rem;
    color: #666;
}

.cart-item-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cart-item-actions input {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Üst Menü */
.top-menu {
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.top-menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-menu-left {
    display: flex;
    gap: 1.5rem;
}

.top-menu-right {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
}

.social-links a svg,
.social-links a .social-icon {
    width: 16px;
    height: 16px;
    color: currentColor;
    fill: currentColor;
    line-height: 1;
}

.social-links a:hover {
    transform: scale(1.12);
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.24);
}

/* Hakkımızda & İletişim */
.about-page,
.contact-page {
    padding: 2rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-form {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
    
    .product-info h1 {
        font-size: 1.8rem;
    }
    
    .product-price .current-price {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

/* Ödeme Sayfası */
.checkout-page {
    padding: 2rem 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.checkout-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-form h2 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.checkout-form h2:first-child {
    margin-top: 0;
}

.payment-methods {
    margin: 1.5rem 0 2rem;
}

.payment-method-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.payment-method-option:hover {
    border-color: var(--primary-color);
    background: #f9f9f9;
    transform: translateX(5px);
}

.payment-method-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-method-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--primary-color);
}

.payment-method-option span {
    flex: 1;
    font-size: 1.05rem;
}

.checkout-summary {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-summary h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ddd;
}

.summary-items {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #ddd;
}

.summary-totals .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.summary-totals .summary-row.total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
}

/* Ödeme Başarılı Sayfası */
.payment-success-page {
    padding: 4rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-message {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.success-message p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.success-message strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.success-actions .btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.error-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: #fff5f5;
    border-radius: 16px;
    border: 2px solid #ffcccc;
}

.error-message h1 {
    color: #d32f2f;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
    
    .success-message {
        padding: 2rem 1.5rem;
    }
    
    .success-message h1 {
        font-size: 2rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}

/* Responsive polish */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .main-nav {
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }

    .checkout-content {
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-menu {
        font-size: 0.84rem;
    }

    .top-menu-content {
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem;
        padding: 0.2rem 0;
    }

    .top-menu-left {
        flex: 1;
        min-width: 0;
        gap: 0.3rem 0.8rem;
    }

    .top-menu-left span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .header-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.6rem;
        row-gap: 0.55rem;
    }

    .logo {
        grid-column: 1;
        min-width: 0;
        justify-content: flex-start !important;
        overflow: hidden;
    }

    .logo img {
        width: auto !important;
        max-width: min(58vw, 210px);
        height: 42px !important;
        object-fit: contain;
    }

    .header-quick-actions {
        grid-column: 2;
        min-width: 0;
        justify-content: flex-end;
        align-items: center;
        gap: 0.55rem;
        flex-wrap: nowrap;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .header-center {
        grid-column: 1 / -1;
        width: 100%;
    }

    .header-right {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(0, 0, 0, 0.22);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        padding: 0.65rem;
    }

    .main-header.mobile-menu-open .header-right {
        display: flex;
    }

    .main-header.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .main-header.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .main-header.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        gap: 0.1rem;
        justify-content: flex-start !important;
    }

    .main-nav .nav-link {
        width: 100%;
        padding: 0.72rem 0.8rem !important;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.05);
        transform: none;
    }

    .main-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.28);
        transform: none;
    }

    .main-nav .nav-link::after {
        left: 12px;
        right: 12px;
        bottom: 8px;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0.7rem;
        margin-top: 0.5rem;
        margin-left: 0;
        gap: 0.7rem;
    }

    .page-header {
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .products-page {
        padding: 1.2rem 0;
    }

    .products-toolbar {
        margin-bottom: 1.2rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .product-image {
        height: 190px;
    }

    .product-info {
        padding: 0.8rem 0.8rem 0.5rem;
    }

    .product-info h3 {
        font-size: 0.96rem;
    }

    .product-card-actions {
        padding: 0 0.8rem 0.8rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 0.9rem;
    }

    .contact-icon {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
    }

    .social-links-large {
        gap: 0.6rem;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }

    .checkout-form-wrapper,
    .checkout-summary {
        padding: 1.2rem;
    }

    .payment-method-option {
        padding: 0.8rem 1rem;
    }

    .summary-item {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

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

    .product-image {
        height: 220px;
    }

    .top-menu-left span:nth-child(2) {
        display: none;
    }

    .logo h1 {
        font-size: 1.05rem;
    }

    .header-actions {
        justify-content: space-between;
    }

    .header-actions .btn.btn-sm {
        width: auto;
        padding: 0.45rem 0.8rem;
    }

    .cart-icon {
        padding: 0.45rem 0.7rem;
        gap: 0.32rem;
    }

    .cart-label {
        font-size: 0.86rem;
    }

    .btn,
    .btn-sm {
        width: 100%;
        text-align: center;
    }

    .cart-items th:nth-child(3),
    .cart-items td:nth-child(3),
    .cart-items th:nth-child(4),
    .cart-items td:nth-child(4) {
        display: none;
    }

    .checkout-form h2,
    .checkout-summary h2 {
        font-size: 1.25rem;
    }

    .success-message {
        padding: 1.2rem 1rem;
    }

    .success-icon {
        width: 84px;
        height: 84px;
        font-size: 2.5rem;
    }
}

/* Home page mobile improvements */
@media (max-width: 768px) {
    .home-page .hero {
        min-height: clamp(430px, 70vh, 620px) !important;
        height: auto !important;
        padding: clamp(3.8rem, 8vw, 4.6rem) 0 clamp(3rem, 7vw, 3.8rem);
        display: flex;
        align-items: center;
    }

    .home-page .hero-content {
        width: 100%;
        max-width: 780px;
        margin: 0 auto;
        padding: 0 18px;
    }

    .home-page .hero h1 {
        font-size: clamp(1.9rem, 5.2vw, 2.35rem);
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .home-page .hero p {
        font-size: clamp(1rem, 2.7vw, 1.1rem);
        line-height: 1.55;
        margin-bottom: 1.2rem;
    }

    .home-page .section-title {
        font-size: 1.7rem;
        margin-bottom: 1.6rem;
    }

    .home-page .categories-section,
    .home-page .featured-products,
    .home-page .features-section {
        padding: 2.4rem 0;
    }

    .home-page .categories-grid,
    .home-page .products-grid {
        gap: 0.9rem;
    }

    .home-page .category-card h3 {
        padding: 0.8rem;
        font-size: 0.98rem;
    }

    .home-page .product-image {
        height: 180px;
    }

    .home-page .product-info {
        padding: 0.75rem 0.75rem 0.45rem;
    }

    .home-page .product-info h3 {
        min-height: 2.6em;
        font-size: 0.92rem;
        line-height: 1.3;
    }

    .home-page .product-card-actions {
        padding: 0 0.75rem 0.75rem;
    }

    .home-page .features-grid {
        gap: 0.8rem;
    }

    .home-page .feature-item {
        padding: 1.1rem 0.9rem;
        border: 1px solid #e7e7e7;
        border-radius: 10px;
        background: #fff;
    }

    .home-page .feature-icon {
        font-size: 2.1rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 576px) {
    .home-page .hero {
        min-height: clamp(390px, 66vh, 520px) !important;
        height: auto !important;
        padding: clamp(3.3rem, 11vw, 4rem) 0 clamp(2.4rem, 8vw, 3rem);
    }

    .home-page .hero h1 {
        font-size: clamp(1.65rem, 7.5vw, 2rem);
    }

    .home-page .hero p {
        font-size: clamp(0.96rem, 4.1vw, 1.05rem);
        line-height: 1.6;
    }

    .home-page .categories-grid,
    .home-page .products-grid,
    .home-page .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .home-page .product-image {
        height: 210px;
    }
}

