/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a4a4a;
    --secondary-color: #6b6b6b;
    --accent-color: #808080;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #d0d0d0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --dark-gray: #2c2c2c;
    --medium-gray: #707070;
    --light-gray: #e5e5e5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Top Promo Banner - Green */
.top-promo-banner {
    background: #00a651;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.top-promo-banner .container {
    max-width: 100%;
    padding: 0 15px;
}

/* Top Banner (Old - Keep for compatibility) */
.top-banner {
    background: linear-gradient(135deg, #4a4a4a 0%, #6b6b6b 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
}

.top-banner .banner-text {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.top-banner .banner-text span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-banner .banner-text i {
    font-size: 18px;
}

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

.header-top {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
}

.logo {
    text-align: center;
    flex: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.logo h1 {
    color: var(--dark-gray);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icon {
    color: var(--dark-gray);
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.header-icon:hover {
    color: var(--medium-gray);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--medium-gray);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    flex-wrap: wrap;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--medium-gray);
}

/* Hero Section */
.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.hero-background {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f5f5f5" width="1200" height="600"/><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="%23e0e0e0" opacity="0.5"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../miran-hali1.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    color: white;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    letter-spacing: 2px;
}

.hero-subtitle {
    color: white;
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.btn-cta {
    display: inline-block;
    background: var(--dark-gray);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--dark-gray);
}

.btn-cta:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

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


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-whatsapp, .btn-view {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #00a651 !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background: #008f45 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-whatsapp {
    background: #25D366 !important;
    color: var(--white) !important;
}

.btn-whatsapp:hover {
    background: #20BA5A !important;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

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

.btn-view {
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Products Grid */
.products-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.products-section .section-title {
    font-size: 32px;
    color: var(--dark-gray);
    font-weight: 600;
    margin: 0;
}

.product-count {
    color: var(--medium-gray);
    font-size: 16px;
}

.products-sort {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sort-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 8px 16px;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

/* Ensure product cards don't overflow */
.product-card {
    min-width: 0;
    width: 100%;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 10px 16px;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover {
    background: var(--light-gray);
    border-color: var(--medium-gray);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--light-bg);
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 20px;
}

.product-name {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

/* Product Rating */
.product-rating {
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 14px;
}

.stars i {
    color: #ffc107;
}

/* Product Price Wrapper with Discount */
.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 14px;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.price-discount-badge {
    background: #00a651;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.price-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
}

/* Product Variant */
.product-variant {
    font-size: 13px;
    color: var(--medium-gray);
    margin-bottom: 12px;
}

.product-category {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: var(--medium-gray);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn-primary,
.product-actions .btn-whatsapp {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Product Card Style */
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.product-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.product-image-link:hover .product-image {
    transform: scale(1.02);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-series {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-name {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-size {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.product-price {
    margin: 10px 0;
}

.product-price .price {
    font-size: 22px;
    font-weight: bold;
    color: var(--medium-gray);
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-add-cart {
    flex: 1;
    background: #00a651 !important;
    color: white !important;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background: #008f45 !important;
    transform: translateY(-2px);
}

.btn-whatsapp-small {
    width: 45px;
    height: 45px;
    background: var(--medium-gray);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.btn-whatsapp-small:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Sepete Ekle Button - Green Style */
.btn-add-cart-green {
    width: 100%;
    background: #00a651 !important;
    color: white !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    transition: all 0.3s;
    border: none !important;
    cursor: pointer !important;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 166, 81, 0.3) !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
}

.btn-add-cart-green:hover {
    background: #008f45 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 166, 81, 0.4) !important;
    text-decoration: none !important;
}

.btn-add-cart-green:active {
    background: #007a3a !important;
    color: white !important;
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 166, 81, 0.4) !important;
    text-decoration: none !important;
}

.btn-add-cart-green:focus {
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0, 166, 81, 0.3), 0 0 0 3px rgba(0, 166, 81, 0.1) !important;
}

/* Product Detail */
.product-detail {
    padding: 50px 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-image-large {
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.product-image-large img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.product-detail-info h1 {
    color: var(--dark-gray);
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-price-large {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-price-large .price {
    font-size: 32px;
    color: var(--medium-gray);
}

.product-description,
.product-specs {
    margin: 25px 0;
}

.product-description h3,
.product-specs h3 {
    color: var(--dark-gray);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.product-specs ul {
    list-style: none;
    padding-left: 0;
}

.product-specs li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-actions-large {
    display: flex;
    gap: 12px;
    margin: 30px 0;
}

.btn-order {
    flex: 1;
    background: #00a651 !important;
    color: white !important;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-order:hover {
    background: #008f45 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.btn-whatsapp-order {
    flex: 1;
    background: #25D366 !important;
    color: white !important;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp-order:hover {
    background: #20BA5A !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.payment-info {
    background: #fff9e6 !important;
    padding: 12px 15px;
    border-radius: 5px;
    border-left: 3px solid #ffd700;
    margin-top: 20px;
    font-size: 14px;
    color: #856404 !important;
}

.payment-info p {
    color: #856404 !important;
    margin: 0;
}

.payment-info strong {
    color: #856404 !important;
}

.payment-info i {
    color: #ffc107 !important;
    margin-right: 8px;
    font-size: 16px;
}

/* Related Products */
.related-products {
    padding: 50px 0;
    background: var(--light-bg);
}

/* Checkout - Modern Design (Trendyol/Dolap Style) */
.checkout-section-modern {
    padding: 30px 0 60px;
    background: var(--light-bg);
    min-height: 70vh;
}

.checkout-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.checkout-page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 25px 0;
}

.checkout-steps {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--medium-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.checkout-steps .step:hover {
    color: var(--primary-color);
}

.checkout-steps .step.active {
    color: var(--primary-color);
}

.checkout-steps .step.completed {
    color: var(--primary-color);
}

.step-connector {
    width: 40px;
    height: 2px;
    background: var(--border-color);
    margin: 0 5px;
}

.step.active ~ .step-connector,
.step.completed ~ .step-connector {
    background: var(--primary-color);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}

.step.completed .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number::before {
    content: '✓';
    font-size: 18px;
}

.step-label {
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.checkout-main {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.checkout-form-modern {
    padding: 0;
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section-title i {
    color: var(--primary-color);
    font-size: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-group-modern label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--white);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.form-group-modern select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

/* Payment Info Card */
.payment-info-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.payment-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.payment-info-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.payment-info-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

.payment-subtitle {
    font-size: 14px;
    color: var(--medium-gray);
    margin: 4px 0 0 0;
}

.bank-details {
    margin-bottom: 20px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
}

.bank-value {
    font-size: 15px;
    color: var(--dark-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.iban-copy {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--medium-gray);
}

.copy-btn:hover {
    background: var(--light-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.payment-note {
    background: #fff9e6;
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.payment-note i {
    color: #ff9800;
    font-size: 18px;
    margin-top: 2px;
}

.payment-note p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--light-bg);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: #f8f8f8;
}

.file-upload-label i {
    font-size: 48px;
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.file-upload-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.file-upload-hint {
    font-size: 13px;
    color: var(--medium-gray);
}

.file-preview {
    margin-top: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    display: none;
}

.file-preview.active {
    display: block;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--white);
    border-radius: 6px;
    margin-bottom: 10px;
}

.file-preview-item:last-child {
    margin-bottom: 0;
}

.file-preview-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.file-preview-name {
    flex: 1;
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
}

.file-preview-remove {
    background: #fee;
    color: #dc3545;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.file-preview-remove:hover {
    background: #fcc;
}

.form-actions {
    padding: 30px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    background: var(--light-bg);
}

.btn-back {
    background: transparent;
    color: var(--primary-color);
    padding: 14px 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

.btn-checkout-submit {
    background: #00a651 !important;
    color: white !important;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    max-width: 300px;
    margin-left: auto;
}

.btn-checkout-submit:hover {
    background: #008f45 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.address-summary {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
}

.address-summary-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.address-summary-item:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.address-summary-item strong {
    min-width: 120px;
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 600;
}

.address-summary-item span {
    font-size: 15px;
    color: var(--dark-gray);
    font-weight: 500;
}

.btn-edit-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-edit-address:hover {
    background: var(--primary-color);
    color: white;
}

/* Checkout Summary Modern */
.checkout-summary-modern {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
    overflow: hidden;
}

.summary-header-modern {
    padding: 20px 25px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.summary-header-modern h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

/* Mobile Summary - Hidden on desktop */
.cart-summary-modern-mobile {
    display: none;
}

.summary-products {
    padding: 20px 25px;
    max-height: 400px;
    overflow-y: auto;
}

.summary-product-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.summary-product-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-bg);
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.summary-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.summary-product-info {
    flex: 1;
    min-width: 0;
}

.summary-product-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.summary-product-qty {
    font-size: 13px;
    color: var(--medium-gray);
    margin: 0 0 6px 0;
}

.summary-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

.summary-divider-modern {
    height: 1px;
    background: var(--border-color);
    margin: 0 25px;
}

.summary-total-modern {
    padding: 20px 25px;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-total-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
}

.summary-total-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
}

.summary-security {
    padding: 15px 25px;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--medium-gray);
}

.summary-security i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Address Summary Small (in summary box) */
.address-summary-small {
    padding: 20px 25px;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.address-summary-small-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
}

.address-summary-small-header i {
    color: var(--primary-color);
    font-size: 14px;
}

.address-edit-link {
    margin-left: auto;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.address-edit-link:hover {
    background: var(--white);
}

.address-summary-small-content {
    font-size: 12px;
    color: var(--medium-gray);
    line-height: 1.6;
}

.address-small-item {
    margin-bottom: 6px;
}

.address-small-item:last-child {
    margin-bottom: 0;
}

.address-small-item strong {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 13px;
}

.address-small-item i {
    color: var(--primary-color);
    font-size: 11px;
    margin-right: 4px;
}

/* Cart - Modern Design */
.cart-section {
    padding: 30px 0 60px;
    background: var(--light-bg);
    min-height: 60vh;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.cart-page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

.cart-item-count {
    font-size: 16px;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Empty Cart */
.empty-cart-modern {
    background: var(--white);
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-cart-icon i {
    font-size: 60px;
    color: var(--medium-gray);
}

.empty-cart-modern h2 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-cart-modern p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00a651 !important;
    color: white !important;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-continue-shopping:hover {
    background: #008f45 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* Cart Items Container */
.cart-items-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 50px;
    gap: 15px;
    padding: 20px 25px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-items-list {
    padding: 0;
}

.cart-item-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 50px;
    gap: 15px;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background 0.2s;
}

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

.cart-item-modern:hover {
    background: #fafafa;
}

.cart-item-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-image-modern {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-bg);
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.cart-item-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.2s;
}

.cart-item-name:hover {
    color: var(--primary-color);
}

.cart-item-category-modern {
    display: block;
    font-size: 13px;
    color: var(--medium-gray);
    font-weight: 400;
}

.cart-item-price-modern {
    text-align: center;
}

.price-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
}

.cart-item-quantity {
    display: flex;
    justify-content: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.qty-btn:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.qty-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-gray);
    padding: 0 8px;
}

.cart-item-total-modern {
    text-align: right;
}

.price-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
}

.cart-item-actions {
    display: flex;
    justify-content: center;
}

.btn-remove-modern {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.2s;
    background: transparent;
}

.btn-remove-modern:hover {
    background: #fee;
    color: #dc3545;
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary-modern {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
    overflow: hidden;
}

.summary-header {
    padding: 20px 25px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.summary-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

.summary-content {
    padding: 25px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.summary-label {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.summary-value {
    font-size: 15px;
    color: var(--dark-gray);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.summary-line.summary-total {
    margin-bottom: 0;
    padding-top: 15px;
}

.summary-line.summary-total .summary-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
}

.summary-line.summary-total .summary-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-gray);
}

.summary-actions {
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-checkout {
    background: #00a651 !important;
    color: white !important;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-checkout:hover {
    background: #008f45 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-continue {
    background: transparent;
    color: var(--primary-color);
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.btn-continue:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
}

.summary-info {
    padding: 15px 25px;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--medium-gray);
}

.summary-info i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Success Page */
.success-section {
    padding: 80px 0;
}

.success-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.success-icon {
    font-size: 80px;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.success-box h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.success-box p {
    font-size: 18px;
    margin-bottom: 10px;
}

.success-info {
    margin: 40px 0;
    text-align: left;
}

.success-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.success-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.success-actions .btn-primary,
.success-actions .btn-whatsapp {
    flex: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
    animation: slideUp 0.3s ease;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.btn-cookie {
    background: white;
    color: #333;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    align-self: flex-start;
}

.btn-cookie:hover {
    background: transparent;
    color: white;
}

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

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 80px;
    clear: both;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section i {
    width: 20px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #999;
    font-size: 13px;
    margin-top: 20px;
}

/* ============================================
   MOBILE STYLES - Only for screens <= 768px
   ============================================ */
@media (max-width: 768px) {
    /* Cart - Mobile Only */
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Top Promo Banner */
    .top-promo-banner {
        font-size: 12px;
        padding: 10px 0;
    }
    
    /* Header - Trendyol Style */
    .header {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .header-top {
        padding: 12px 0;
    }
    
    .header-top .container {
        padding: 0 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .logo {
        position: static;
        transform: none;
        order: 2;
        flex: 1;
    }
    
    .logo h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .header-actions {
        gap: 15px;
        order: 3;
    }
    
    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -2px;
        right: -2px;
    }
    
    /* Navigation - Hidden on mobile, show hamburger */
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    /* Filter & Sort Bar - Show on Mobile */
    .filter-sort-bar {
        display: flex;
    }
    
    /* Search Input - Show on Mobile */
    .search-input-wrapper.active {
        display: block;
    }
    
    /* Desktop Only - Hide on Mobile */
    .desktop-only {
        display: none;
    }
    
    /* Hero Section */
    .hero-section {
        height: 40vh;
        min-height: 250px;
        margin-bottom: 20px;
    }
    
    .hero-background {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .btn-cta {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    /* Products Grid - Trendyol Style (2 columns) */
    .products-section {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 15px;
    }
    
    .product-card {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .product-image-link {
        display: block;
        text-decoration: none;
        cursor: pointer;
    }
    
    .product-image {
        height: 140px;
        border-radius: 0;
        transition: transform 0.2s;
    }
    
    .product-image-link:active .product-image {
        transform: scale(0.98);
    }
    
    .product-info {
        padding: 8px;
    }
    
    .product-name {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 28px;
    }
    
    .product-rating {
        margin-bottom: 6px;
    }
    
    .stars {
        font-size: 10px;
        gap: 1px;
    }
    
    .product-price-wrapper {
        margin-bottom: 6px;
        gap: 4px;
    }
    
    .price-old {
        font-size: 10px;
    }
    
    .price-discount-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .price-new {
        font-size: 14px;
    }
    
    .product-variant {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .btn-add-cart-green {
        width: 100% !important;
        background: #00a651 !important;
        color: white !important;
        padding: 10px 12px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px;
        transition: all 0.3s;
        border: none !important;
        cursor: pointer !important;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 6px rgba(0, 166, 81, 0.3) !important;
        font-family: inherit !important;
        line-height: 1.5 !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        outline: none !important;
    }
    
    .btn-add-cart-green:active {
        background: #007a3a !important;
        color: white !important;
        transform: scale(0.98);
        box-shadow: 0 1px 3px rgba(0, 166, 81, 0.4) !important;
        text-decoration: none !important;
    }
    
    .btn-add-cart-green:hover {
        background: #008f45 !important;
        color: white !important;
        box-shadow: 0 3px 8px rgba(0, 166, 81, 0.4) !important;
        text-decoration: none !important;
    }
    
    .btn-add-cart-green:focus {
        outline: none !important;
        box-shadow: 0 2px 6px rgba(0, 166, 81, 0.3), 0 0 0 3px rgba(0, 166, 81, 0.1) !important;
    }
    
    .product-price {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 12px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-inspect,
    .btn-add-cart {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 6px;
    }
    
    /* Sorting & Filter */
    .products-controls {
        padding: 15px;
        flex-direction: column;
        gap: 12px;
    }
    
    .sort-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sort-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* Pagination */
    .pagination {
        padding: 20px 15px;
        gap: 8px;
    }
    
    .page-btn {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 0;
        padding: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-cookie {
        width: 100%;
        text-align: center;
    }
    
    /* Category Title */
    .category-header {
        padding: 15px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    /* Cart - Mobile Only - Trendyol Style */
    .cart-section {
        padding: 0 0 220px; /* Bottom padding for sticky summary */
        background: var(--light-bg);
    }
    
    .cart-header {
        padding: 16px 15px;
        margin-bottom: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .cart-page-title {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
    }
    
    .cart-item-count {
        font-size: 14px;
        color: var(--medium-gray);
    }
    
    .cart-layout {
        display: flex;
        flex-direction: column;
        position: relative;
        gap: 0;
    }
    
    .cart-items-container {
        order: 1;
        margin-bottom: 0;
        padding: 0 15px;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    
    .cart-items-header {
        display: none;
    }
    
    .cart-items-list {
        padding: 12px 0;
    }
    
    .cart-item-modern {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 16px;
        margin-bottom: 12px;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        position: relative;
    }
    
    .cart-item-left {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .cart-item-image-modern {
        width: 90px;
        height: 90px;
        flex-shrink: 0;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }
    
    .cart-item-details {
        flex: 1;
        min-width: 0;
    }
    
    .cart-item-name {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.4;
        font-weight: 600;
        color: var(--dark-gray);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .cart-item-category-modern {
        font-size: 12px;
        color: var(--medium-gray);
        margin-bottom: 8px;
    }
    
    /* Hide price column on mobile */
    .cart-item-price-modern {
        display: none;
    }
    
    .cart-item-quantity {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-top: 1px solid var(--border-color);
        margin-top: 8px;
    }
    
    .cart-item-quantity::before {
        content: 'Birim: ';
        font-weight: 500;
        color: var(--medium-gray);
        font-size: 13px;
    }
    
    .price-unit {
        font-size: 15px;
        font-weight: 600;
        color: var(--dark-gray);
    }
    
    .quantity-controls {
        border-radius: 6px;
        border: 1px solid var(--border-color);
        overflow: hidden;
    }
    
    .qty-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
        background: var(--white);
    }
    
    .qty-btn:active {
        background: var(--light-gray);
    }
    
    .qty-value {
        min-width: 40px;
        font-size: 15px;
        font-weight: 600;
        color: var(--dark-gray);
    }
    
    .cart-item-total-modern {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0 0 0;
        border-top: 1px solid var(--border-color);
        margin-top: 8px;
    }
    
    .cart-item-total-modern::before {
        content: 'Toplam: ';
        font-weight: 600;
        color: var(--dark-gray);
        font-size: 14px;
    }
    
    .price-total {
        font-size: 18px;
        font-weight: 700;
        color: var(--dark-gray);
    }
    
    .cart-item-actions {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    
    .btn-remove-modern {
        width: 32px;
        height: 32px;
        font-size: 16px;
        background: rgba(220, 53, 69, 0.1);
    }
    
    .btn-remove-modern:active {
        background: rgba(220, 53, 69, 0.2);
        transform: scale(0.95);
    }
    
    /* Hide desktop summary on mobile */
    .cart-summary-modern {
        display: none !important;
    }
    
    /* Show mobile summary */
    .cart-summary-modern-mobile {
        display: block;
        position: fixed !important;
        bottom: 60px !important; /* Above mobile bottom bar */
        left: 0 !important;
        right: 0 !important;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        z-index: 99 !important;
        background: var(--white);
        max-height: none;
        overflow: visible;
        width: 100% !important;
        margin: 0 !important;
        max-width: 100% !important;
        transform: none !important;
        top: auto !important;
    }
    
    .cart-section .container {
        padding: 0;
    }
    
    .summary-header-modern {
        padding: 16px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        border-radius: 16px 16px 0 0;
    }
    
    .summary-header-modern h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }
    
    /* Hide product list in mobile summary */
    .summary-products {
        display: none;
    }
    
    .summary-divider-modern {
        display: none;
    }
    
    .summary-total-modern {
        padding: 16px 20px;
        background: var(--white);
        border-top: 1px solid var(--border-color);
    }
    
    .summary-total-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .summary-total-label {
        font-size: 16px;
        font-weight: 600;
        color: var(--dark-gray);
    }
    
    .summary-total-value {
        font-size: 20px;
        font-weight: 700;
        color: var(--dark-gray);
    }
    
    .summary-actions {
        padding: 0 20px 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-checkout {
        padding: 16px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 8px;
        width: 100%;
        background: var(--primary-color);
        color: white;
    }
    
    .btn-checkout:active {
        transform: scale(0.98);
    }
    
    .btn-continue {
        padding: 14px;
        font-size: 15px;
        border-radius: 8px;
        width: 100%;
        background: transparent;
        border: 1px solid var(--border-color);
    }
    
    .btn-continue:active {
        background: var(--light-bg);
    }
    
    .summary-security {
        padding: 12px 20px 16px;
        background: var(--light-bg);
        border-top: 1px solid var(--border-color);
        font-size: 12px;
        color: var(--medium-gray);
    }
    
    .summary-security i {
        color: var(--primary-color);
        font-size: 14px;
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-summary-modern {
        position: static;
    }
    
    /* Checkout - Mobile */
    .checkout-section-modern {
        padding: 15px 0 30px;
    }
    
    .checkout-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .checkout-page-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
    
    .step-connector {
        width: 15px;
        margin: 0 2px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .step-label {
        display: none;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkout-main {
        border-radius: 8px;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .form-section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group-modern input,
    .form-group-modern textarea,
    .form-group-modern select {
        padding: 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .payment-info-card {
        padding: 20px 15px;
    }
    
    .bank-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .bank-value {
        word-break: break-all;
    }
    
    .file-upload-label {
        padding: 30px 15px;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 20px 15px;
        gap: 12px;
    }
    
    .btn-back,
    .btn-checkout-submit {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }
    
    .checkout-summary-modern {
        position: static;
        border-radius: 8px;
    }
    
    .summary-header-modern {
        padding: 15px;
    }
    
    .summary-products {
        padding: 15px;
        max-height: none;
    }
    
    .summary-product-item {
        padding: 12px 0;
    }
    
    .summary-product-image {
        width: 70px;
        height: 70px;
    }
    
    .summary-total-modern {
        padding: 15px;
    }
    
    .address-summary-small {
        padding: 15px;
    }
    
    .summary-security {
        padding: 12px 15px;
    }
    
    .checkout-header {
        margin-bottom: 20px;
    }
    
    .checkout-page-title {
        font-size: 24px;
    }

    .product-actions-large,
    .success-actions {
        flex-direction: column;
    }

    /* Footer - Mobile */
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .footer-section p {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }
    
    /* Mobile Bottom Bar - Hidden on Mobile */
    .mobile-bottom-bar {
        display: none !important;
    }
    
    /* Body padding - No bottom bar */
    body {
        padding-bottom: 0;
    }
    
    /* Categories Modal - Mobile Only */
    .categories-modal {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    
    .categories-modal.active {
        display: block !important;
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }
    
    .categories-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
    }
    
    .categories-modal-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        animation: slideUpModal 0.3s ease;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    }
    
    @keyframes slideUpModal {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .categories-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 1;
        border-radius: 20px 20px 0 0;
    }
    
    .categories-modal-header h2 {
        font-size: 20px;
        font-weight: 700;
        color: var(--dark-gray);
        margin: 0;
    }
    
    .categories-modal-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--light-bg);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--dark-gray);
        font-size: 18px;
        transition: all 0.2s;
    }
    
    .categories-modal-close:hover {
        background: var(--light-gray);
        transform: rotate(90deg);
    }
    
    .categories-modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .categories-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .category-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 16px;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.3s;
        position: relative;
    }
    
    .category-card:active {
        transform: scale(0.98);
    }
    
    .category-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        background: var(--light-bg);
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 22px;
        flex-shrink: 0;
    }
    
    .category-card-all .category-icon {
        background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
    }
    
    .category-info {
        flex: 1;
        min-width: 0;
    }
    
    .category-info h3 {
        font-size: 16px;
        font-weight: 600;
        color: var(--dark-gray);
        margin: 0 0 4px 0;
    }
    
    .category-info p {
        font-size: 13px;
        color: var(--medium-gray);
        margin: 0;
        line-height: 1.4;
    }
    
    .category-arrow {
        color: var(--medium-gray);
        font-size: 14px;
        flex-shrink: 0;
        transition: transform 0.2s;
    }
    
    .category-card:hover .category-arrow {
        transform: translateX(4px);
        color: var(--primary-color);
    }
    
    /* Product Detail */
    .product-detail-section {
        padding: 15px 0;
    }
    
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .product-detail-image {
        border-radius: 8px;
    }
    
    .product-detail-info h1 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .product-detail-price {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .product-actions-large {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-primary-large,
    .btn-whatsapp-large {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }
    
    .related-products {
        padding: 20px 0;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }
}

/* Categories Modal - Global (Hidden by default) */
.categories-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.categories-modal.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

/* Desktop: Categories Modal as dropdown */
@media (min-width: 769px) {
    .categories-modal-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        max-width: 600px;
        max-height: 80vh;
        border-radius: 16px;
        width: 90%;
    }
    
    .categories-modal.active .categories-modal-content {
        animation: fadeInScale 0.3s ease;
    }
    
    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }
    
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .header-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
