* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
}

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #f27a1a;
    color: white;
    font-size: 13px;
    padding: 8px 0;
}

.header-top .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    gap: 20px;
}

.header-right a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.header-main {
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #f27a1a;
    font-size: 26px;
    margin-bottom: 2px;
}

.logo p {
    font-size: 11px;
    color: #666;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    display: flex;
    border: 2px solid #f27a1a;
    border-radius: 8px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-bar button {
    background: #f27a1a;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 18px;
    color: white;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.header-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: color 0.3s;
}

.header-btn .icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.header-btn:hover {
    color: #f27a1a;
}

.banner {
    background: linear-gradient(135deg, #f27a1a 0%, #ff9a56 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.banner-btn {
    display: inline-block;
    background: white;
    color: #f27a1a;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #f27a1a;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.page-header h2 {
    font-size: 24px;
    color: #333;
}

.page-header p {
    color: #999;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid #e5e5e5;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #fafafa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #ff6b6b;
    color: white;
}

.badge-warning {
    background: #ff6b6b;
}

.product-info {
    padding: 16px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    min-height: 40px;
}

.product-features {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.price {
    font-size: 22px;
    font-weight: 700;
    color: #f27a1a;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-buy {
    background: #f27a1a;
    color: white;
}

.btn-buy:hover {
    background: #d66a15;
}

.btn-disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.footer {
    background: #fff;
    margin-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f27a1a;
}

.footer-section p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid #e5e5e5;
    color: #999;
    font-size: 13px;
}

.page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f27a1a;
}

.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-primary {
    background: #f27a1a;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

@media (max-width: 768px) {
    .header-main .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-top .header-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-left {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-bar {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        height: 100%;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-image img {
        object-fit: contain;
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 14px;
        min-height: 40px;
        line-height: 1.3;
    }
    
    .product-features {
        font-size: 11px;
        min-height: 45px;
    }
    
    .product-desc {
        font-size: 12px;
        min-height: 48px;
    }
        font-size: 12px;
    }
    
    .price {
        font-size: 16px;
    }
    
    .btn-buy {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .logo p {
        font-size: 10px;
    }
    
    .header-btn {
        font-size: 11px;
    }
    
    .header-btn .icon {
        font-size: 20px;
    }
    
    .banner {
        padding: 40px 15px;
    }
    
    .banner-content h2 {
        font-size: 22px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .product-image {
        width: 100%;
        height: 200px;
    }
    
    .product-image img {
        object-fit: contain;
        padding: 10px;
    }
    
    .product-info {
        padding: 12px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .product-info h3 {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.3;
        height: 36px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .product-features {
        font-size: 10px;
        margin-bottom: 8px;
        line-height: 1.4;
        height: 40px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    
    .product-desc {
        font-size: 11px;
        margin-bottom: 10px;
        line-height: 1.4;
        height: 44px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    
    .product-rating {
        margin-bottom: 10px;
    }
    
    .product-price {
        font-size: 18px;
        margin-bottom: 12px;
        margin-top: auto;
    }
    
    .btn-buy {
        padding: 12px;
        font-size: 14px;
        width: 100%;
    }
    
    .product-info {
        flex: 1;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .btn-buy {
        width: 100%;
    }
}


/* Logo Link */
.logo {
    text-decoration: none;
}

/* Sepet Sayfası */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 30px;
}

.cart-items {
    background: white;
    border-radius: 8px;
    padding: 25px;
}

.cart-items h2 {
    margin-bottom: 25px;
    font-size: 22px;
    color: #333;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.cart-item-features {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.cart-item-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-quantity {
    font-size: 14px;
    color: #666;
}

.cart-remove {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.cart-remove:hover {
    color: #c82333;
}

.cart-item-price {
    font-size: 20px;
    font-weight: 700;
    color: #f27a1a;
}

.cart-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Sepet Özeti */
.cart-summary {
    background: white;
    border-radius: 8px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.summary-row .free {
    color: #28a745;
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.summary-total span:last-child {
    color: #f27a1a;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-bottom: 20px;
}

.summary-features {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.feature-item {
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

/* Boş Sepet */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.empty-cart p {
    color: #666;
    margin-bottom: 30px;
}

/* Ürün Kartları İyileştirme */
.product-card {
    position: relative;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 13px;
}

.stars {
    color: #ffa500;
}

.rating-count {
    color: #999;
}

.product-features {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive Sepet */
@media (max-width: 992px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .cart-items {
        padding: 15px;
    }
    
    .cart-item {
        padding: 15px;
    }
    
    .cart-item img {
        height: 150px;
    }
    
    .cart-item-price {
        font-size: 18px;
    }
    
    .cart-summary {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .empty-cart {
        padding: 40px 15px;
    }
    
    .empty-icon {
        font-size: 60px;
    }
    
    .empty-cart h3 {
        font-size: 20px;
    }
}


/* Banner Slider */
.banner {
    background: linear-gradient(135deg, #f27a1a 0%, #ff9a56 100%);
    color: white;
    padding: 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: flex;
    opacity: 1;
}

.slide-content {
    flex: 1;
    z-index: 2;
}

.slide-content h2 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.slide-content p {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.banner-btn {
    display: inline-block;
    background: white;
    color: #f27a1a;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 3;
    border-radius: 4px;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Featured Section */
.featured-section {
    margin: 50px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.featured-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.featured-large {
    grid-row: span 2;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-large img {
    height: 500px;
}

.featured-card:not(.featured-large) img {
    height: 240px;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b6b;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 30px 20px 20px;
}

.featured-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.featured-info p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.featured-price {
    font-size: 22px;
    font-weight: 700;
    color: #f27a1a;
}

/* Responsive Banner & Featured */
@media (max-width: 992px) {
    .banner-slider {
        height: 400px;
    }
    
    .slide {
        padding: 40px;
    }
    
    .slide-content h2 {
        font-size: 42px;
    }
    
    .slide-image img {
        max-width: 300px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .featured-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: 450px;
    }
    
    .slide {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        justify-content: center;
    }
    
    .slide-content {
        margin-bottom: 30px;
    }
    
    .slide-content h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .slide-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .slide-image {
        margin-top: 20px;
    }
    
    .slide-image img {
        max-width: 250px;
    }
    
    .slider-btn {
        padding: 12px 16px;
        font-size: 20px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .featured-large {
        grid-column: span 1;
    }
    
    .featured-large img {
        height: 350px;
    }
    
    .featured-card:not(.featured-large) img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 400px;
    }
    
    .slide {
        padding: 30px 15px;
    }
    
    .slide-content h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .slide-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .slide-image img {
        max-width: 180px;
    }
    
    .slider-btn {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .featured-large img {
        height: 280px;
    }
    
    .featured-card:not(.featured-large) img {
        height: 200px;
    }
    
    .featured-info {
        padding: 20px 15px 15px;
    }
    
    .featured-info h3 {
        font-size: 18px;
    }
    
    .featured-price {
        font-size: 18px;
    }
}


/* Kategori Tabları */
.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 30px;
    border: 2px solid #e5e5e5;
    background: white;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.category-tab:hover {
    border-color: #f27a1a;
    color: #f27a1a;
}

.category-tab.active {
    background: #f27a1a;
    border-color: #f27a1a;
    color: white;
}

@media (max-width: 768px) {
    .category-tabs {
        gap: 10px;
    }
    
    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
}
