/* Custom CSS for Migros Clone - Exact Theme Match */

:root {
    --primary-color: #F27A1A;
    --primary-dark: #e06a0a;
    --primary-light: #ff8c3a;
    --secondary-color: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --money-yellow: #FFD700;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
}

.grid {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 100vh;
}

/* Header Styles */
.header-wrapper {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Brand Tabs */
.header-top-wrapper {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.header-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.header-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.tab-item:hover {
    background-color: #f8f8f8;
}

.tab-item.active {
    border-bottom-color: var(--primary-color);
}

.tab-logo {
    height: 20px;
    margin-right: 4px;
}

.tab-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.tab-text-migros {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 2px;
}

.tab-text-hemen {
    font-size: 14px;
    font-weight: 600;
    color: #00a651;
}

.tab-text-yemek {
    font-size: 14px;
    font-weight: 600;
    color: #e31e24;
}

.tab-text-ekstra {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.tab-text-mion {
    font-size: 14px;
    font-weight: 600;
    color: #e91e63;
}

.tab-text-petimo {
    font-size: 14px;
    font-weight: 700;
    color: #8bc34a;
}

.tab-text-tazedirekt {
    font-size: 14px;
    font-weight: 600;
    color: #4caf50;
}

.tab-text-macro {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Main Header */
.header-main-wrapper {
    background-color: var(--bg-white);
    padding: 12px 0;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Delivery Selector */
.delivery-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #f8f8f8;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.delivery-selector i:first-child {
    color: var(--primary-color);
}

.delivery-selector span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.delivery-selector i:last-child {
    font-size: 12px;
    color: var(--text-muted);
}

/* Search Bar */
.search-wrapper {
    flex: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: var(--primary-dark);
}

/* User Actions */
.user-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.user-link:hover {
    background-color: var(--primary-dark);
}

/* Cart */
.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.cart-icon-wrapper {
    position: relative;
}

.cart-icon-wrapper i {
    font-size: 20px;
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.cart-info {
    display: flex;
    flex-direction: column;
}

.cart-label {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-total {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Navigation */
.header-nav-wrapper {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.header-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

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

.nav-favorites i {
    color: var(--primary-color);
}

.nav-icon {
    height: 20px;
}

.nav-nepisirsem {
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 24px;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.hero-button:hover {
    transform: scale(1.05);
}

/* Banner Slider */
.banner-slider {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.banner-slider img {
    width: 100%;
    height: auto;
    display: block;
}

/* Category Cards */
.category-section {
    margin-bottom: 32px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background-color: var(--bg-white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.category-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.category-card span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* Product Section */
.product-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.section-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* Product Card - Migros Style */
.product-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 0 9px rgba(0,0,0,0.08);
}

.product-card-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
    z-index: 1;
}

.product-card-favorite:hover {
    color: #dc3545;
}

.product-card-image {
    position: relative;
    margin-bottom: 8px;
}

.product-card-image a {
    display: block;
}

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

.product-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--success-color);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-card-name {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.product-card-name a:hover {
    color: var(--primary-color);
}

.product-card-price {
    margin-bottom: 8px;
}

.product-price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.product-price-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Money Discount Label */
.money-discount-label {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #FFF8E1;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.money-discount-label img {
    width: 16px;
    height: 16px;
}

.money-discount-text {
    font-size: 11px;
    color: #F9A825;
    font-weight: 500;
}

.money-discount-price {
    font-size: 14px;
    font-weight: 700;
    color: #F9A825;
}

/* Add to Cart Button */
.product-card-actions {
    margin-top: auto;
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.add-to-cart-btn i {
    font-size: 16px;
}

/* Product Detail Page */
.product-detail {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary-color);
}

.product-info {
    display: flex;
    flex-direction: column;
}

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

.product-brand {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 16px;
}

.product-brand:hover {
    text-decoration: underline;
}

.product-price-section {
    margin-bottom: 16px;
}

.product-price-main {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
}

.product-money-discount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFF8E1;
    padding: 8px 16px;
    border-radius: 8px;
    margin-top: 8px;
}

.product-money-discount img {
    width: 20px;
    height: 20px;
}

.product-money-discount span {
    font-size: 16px;
    font-weight: 600;
    color: #F9A825;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.seller-badge {
    background-color: #E8F5E9;
    color: #2E7D32;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.product-stock-info {
    margin-bottom: 16px;
}

.product-stock-info ul {
    list-style: none;
    padding: 0;
}

.product-stock-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-stock-info li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.quantity-label {
    font-size: 14px;
    font-weight: 500;
}

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

.quantity-btn {
    width: 36px;
    height: 36px;
    background-color: #f8f8f8;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-color);
    transition: background-color 0.2s;
}

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

.quantity-input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 14px 24px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-add-to-cart:hover {
    background-color: var(--primary-dark);
}

.btn-favorite {
    width: 50px;
    height: 50px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.btn-favorite:hover {
    border-color: #dc3545;
    color: #dc3545;
}

/* Product Tabs */
.product-tabs {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--text-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 16px 0;
}

.tab-content.active {
    display: block;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 13px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

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

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

.footer-column a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.footer-contact .phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.2s;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .header-main {
        flex-wrap: wrap;
    }
    
    .search-wrapper {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 12px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .delivery-selector span {
        display: none;
    }
    
    .user-link span {
        display: none;
    }
    
    .cart-info {
        display: none;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-card {
        padding: 8px;
    }
    
    .product-card-image img {
        height: 120px;
    }
}

/* Cart Page */
.cart-page {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
}

.cart-items {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
}

.cart-summary {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

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

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
}

.cart-item-remove:hover {
    color: #dc3545;
}

/* cart-summary styles moved above */

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.cart-summary-total {
    font-size: 18px;
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
}

.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: background-color 0.2s;
}

.cart-checkout-btn:hover {
    background-color: var(--primary-dark);
}

/* Cart Buttons Container */
.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.cart-continue-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cart-continue-btn:hover {
    background-color: #e8e8e8;
}

.cart-buttons .cart-checkout-btn {
    margin-top: 0;
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Checkout Page */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-section {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
}

.checkout-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-section-title i {
    color: var(--primary-color);
}

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

.checkout-summary {
    height: fit-content;
    position: sticky;
    top: 120px;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(242, 122, 26, 0.05);
}

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

.payment-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.payment-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Bank Details */
.bank-details {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.bank-details h4 {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

.bank-details p {
    font-size: 13px;
    margin-bottom: 8px;
}

.bank-note {
    font-size: 12px !important;
    color: var(--text-muted);
    margin-top: 12px !important;
}

/* Order Items */
.order-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.order-item-image {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-size: 13px;
    margin-bottom: 4px;
}

.order-item-qty {
    font-size: 12px;
    color: var(--text-muted);
}

.order-item-price {
    font-weight: 600;
    font-size: 14px;
}

.free-shipping {
    color: var(--success-color);
}

.security-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-state a {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.alert-error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

.alert-warning {
    background-color: #FFF8E1;
    color: #F57F17;
    border: 1px solid #FFE082;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

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

.btn-secondary {
    background-color: #f8f8f8;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

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

/* Scroll Slider */
.scroll-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.scroll-slider::-webkit-scrollbar {
    display: none;
}

.scroll-slider .product-card {
    flex: 0 0 180px;
}

/* How To Section */
.how-to-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.how-to-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background-color: var(--bg-white);
    border-radius: 12px;
}

.how-to-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.how-to-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.how-to-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet and below (max-width: 992px) */
@media (max-width: 992px) {
    .header-main {
        flex-wrap: wrap;
    }
    
    .delivery-selector {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .search-wrapper {
        order: 2;
        flex: 1;
        max-width: none;
    }
    
    .user-actions {
        order: 1;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .cart-page {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr !important;
    }
    
    .how-to-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Header - Brand Tabs */
    .header-top {
        padding: 0 8px;
    }
    
    .header-tabs {
        gap: 0;
    }
    
    .tab-item {
        padding: 10px 8px;
    }
    
    .tab-logo {
        height: 16px;
    }
    
    .tab-text,
    .tab-text-migros,
    .tab-text-hemen,
    .tab-text-yemek,
    .tab-text-ekstra,
    .tab-text-mion,
    .tab-text-petimo,
    .tab-text-tazedirekt,
    .tab-text-macro {
        font-size: 11px;
    }
    
    /* Header - Main */
    .header-main {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .delivery-selector {
        display: none;
    }
    
    .search-wrapper {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }
    
    .search-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-button {
        padding: 10px 16px;
    }
    
    .user-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .user-link span {
        display: none;
    }
    
    .cart-link {
        padding: 8px 12px;
    }
    
    .cart-info {
        display: none;
    }
    
    .cart-icon-wrapper i {
        font-size: 18px;
    }
    
    /* Header - Navigation */
    .header-nav {
        padding: 0 8px;
    }
    
    .nav-item {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .nav-icon {
        height: 16px;
    }
    
    /* Main Content */
    .main-content {
        padding: 12px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 24px 16px;
        border-radius: 8px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-button {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    /* Category Grid */
    .category-section {
        margin-bottom: 24px;
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .category-card {
        padding: 12px 8px;
        border-radius: 8px;
    }
    
    .category-card img {
        width: 40px;
        height: 40px;
    }
    
    .category-card span {
        font-size: 10px;
    }
    
    /* Product Section */
    .product-section {
        margin-bottom: 24px;
    }
    
    .section-header {
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .section-link {
        font-size: 12px;
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    /* Product Card */
    .product-card {
        padding: 8px;
        border-radius: 6px;
    }
    
    .product-card-favorite {
        top: 8px;
        right: 8px;
        font-size: 16px;
    }
    
    .product-card-image img {
        height: 120px;
    }
    
    .product-badge {
        font-size: 9px;
        padding: 2px 4px;
    }
    
    .product-card-name {
        font-size: 12px;
        height: 32px;
        margin-bottom: 6px;
    }
    
    .product-price-current {
        font-size: 14px;
    }
    
    .product-price-old {
        font-size: 10px;
    }
    
    .money-discount-label {
        padding: 4px 6px;
        margin-bottom: 6px;
    }
    
    .money-discount-text {
        font-size: 10px;
    }
    
    .money-discount-price {
        font-size: 12px;
    }
    
    .add-to-cart-btn {
        padding: 8px;
        font-size: 12px;
    }
    
    .add-to-cart-btn i {
        font-size: 14px;
    }
    
    /* Product Detail Page */
    .product-detail {
        padding: 16px;
        border-radius: 8px;
        margin-bottom: 16px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-main-image {
        height: 250px;
        margin-bottom: 12px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
    
    .product-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .product-brand {
        font-size: 13px;
    }
    
    .product-price-main {
        font-size: 22px;
    }
    
    .product-money-discount {
        padding: 6px 12px;
    }
    
    .product-money-discount span {
        font-size: 14px;
    }
    
    .product-seller {
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .seller-badge {
        font-size: 11px;
    }
    
    .product-stock-info li {
        font-size: 13px;
    }
    
    .quantity-selector {
        justify-content: flex-start;
    }
    
    .quantity-btn {
        width: 36px;
        height: 36px;
    }
    
    .quantity-input {
        width: 50px;
        height: 36px;
    }
    
    .product-add-to-cart {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-add-btn {
        width: 100%;
        padding: 14px;
    }
    
    .product-favorite-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Product Tabs */
    .product-tabs {
        margin-top: 16px;
    }
    
    .product-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .product-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    
    .product-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .product-tab-content {
        padding: 16px;
        font-size: 13px;
    }
    
    /* Related Products */
    .related-products {
        margin-top: 24px;
    }
    
    .scroll-slider .product-card {
        flex: 0 0 150px;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        padding: 12px 0;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .breadcrumb span {
        margin: 0 4px;
    }
    
    /* Cart Page */
    .cart-page {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }
    
    .cart-items {
        order: 1;
    }
    
    .cart-summary {
        order: 2;
        position: sticky;
        bottom: 0;
        background: white;
        padding: 16px;
        border-radius: 8px 8px 0 0;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    }
    
    .cart-item {
        flex-wrap: wrap;
        padding: 12px;
        gap: 12px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-info {
        flex: 1;
        min-width: calc(100% - 100px);
    }
    
    .cart-item-name {
        font-size: 14px;
    }
    
    .cart-item-price {
        font-size: 14px;
    }
    
    .cart-item-quantity {
        width: 100%;
        justify-content: flex-start;
    }
    
    .cart-item-remove {
        position: absolute;
        top: 12px;
        right: 12px;
    }
    
    .cart-checkout-btn {
        padding: 14px;
        font-size: 14px;
    }
    
    /* Checkout Page */
    .checkout-grid {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }
    
    .checkout-form {
        order: 2;
    }
    
    .checkout-summary {
        order: 1;
    }
    
    .checkout-section {
        padding: 16px;
    }
    
    .checkout-section h3 {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .checkout-section-title {
        font-size: 16px;
    }
    
    .payment-option {
        padding: 12px;
        gap: 12px;
    }
    
    .payment-icon {
        font-size: 20px;
    }
    
    .payment-info h4 {
        font-size: 13px;
    }
    
    .payment-info p {
        font-size: 11px;
    }
    
    .order-item {
        gap: 10px;
    }
    
    .order-item-image {
        width: 40px;
        height: 40px;
    }
    
    .order-item-name {
        font-size: 12px;
    }
    
    .order-item-qty {
        font-size: 11px;
    }
    
    .order-item-price {
        font-size: 13px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .form-input,
    .form-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 24px 0 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-section ul li {
        margin-bottom: 6px;
    }
    
    .footer-section ul li a {
        font-size: 12px;
    }
    
    .footer-contact p {
        font-size: 12px;
    }
    
    .footer-social {
        margin-top: 12px;
    }
    
    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 16px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 11px;
    }
    
    /* Empty State */
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-state i {
        font-size: 48px;
    }
    
    .empty-state h3 {
        font-size: 18px;
    }
    
    .empty-state p {
        font-size: 13px;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* Notifications */
    .notification {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* How To Section */
    .how-to-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .how-to-item {
        padding: 16px;
    }
    
    .how-to-item img {
        width: 36px;
        height: 36px;
    }
    
    .how-to-item h4 {
        font-size: 12px;
    }
    
    .how-to-item p {
        font-size: 11px;
    }
    
    /* Account Page */
    .account-section {
        padding: 16px;
    }
    
    .account-section h2 {
        font-size: 18px;
    }
    
    /* Search Results */
    .search-results-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .search-results-header h1 {
        font-size: 18px;
    }
    
    /* Subcategories */
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .subcategory-card {
        padding: 12px;
    }
    
    .subcategory-card span {
        font-size: 12px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* Header */
    .header-tabs {
        justify-content: flex-start;
    }
    
    .tab-item {
        padding: 8px 6px;
    }
    
    .tab-text,
    .tab-text-migros,
    .tab-text-hemen,
    .tab-text-yemek,
    .tab-text-ekstra,
    .tab-text-mion,
    .tab-text-petimo,
    .tab-text-tazedirekt,
    .tab-text-macro {
        font-size: 10px;
    }
    
    .tab-logo {
        height: 14px;
    }
    
    .header-main {
        padding: 8px;
    }
    
    .user-link {
        padding: 8px 10px;
    }
    
    .cart-link {
        padding: 8px 10px;
    }
    
    .nav-item {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .category-card {
        padding: 10px 6px;
    }
    
    .category-card img {
        width: 32px;
        height: 32px;
    }
    
    .category-card span {
        font-size: 9px;
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .product-card {
        padding: 6px;
    }
    
    .product-card-image img {
        height: 100px;
    }
    
    .product-card-name {
        font-size: 11px;
        height: 28px;
    }
    
    .product-price-current {
        font-size: 13px;
    }
    
    .money-discount-label {
        padding: 3px 5px;
    }
    
    .money-discount-text {
        font-size: 9px;
    }
    
    .money-discount-price {
        font-size: 11px;
    }
    
    .add-to-cart-btn {
        padding: 6px;
        font-size: 11px;
    }
    
    /* Product Detail */
    .product-main-image {
        height: 200px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price-main {
        font-size: 20px;
    }
    
    /* Cart */
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-name {
        font-size: 13px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Scroll Slider */
    .scroll-slider .product-card {
        flex: 0 0 130px;
    }
    
    /* How To */
    .how-to-section {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .how-to-item {
        padding: 12px;
    }
}

/* Mobile Menu Toggle (for future hamburger menu) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        border-color: transparent;
        box-shadow: none;
    }
    
    .category-card:hover {
        box-shadow: none;
        transform: none;
    }
    
    .add-to-cart-btn:active {
        background-color: var(--primary-color);
        color: white;
    }
    
    .product-card-favorite:active {
        color: #dc3545;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 16px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .product-main-image {
        height: 180px;
    }
}

/* ============================================
   MOBILE HEADER & BOTTOM NAVIGATION
   Migros-style mobile UI
   ============================================ */

/* Mobile Header - Hidden by default (desktop) */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: var(--primary-color);
    z-index: 1001;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-header-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.mobile-header-title {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

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

.mobile-header-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Mobile Bottom Navigation - Hidden by default (desktop) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    border-top: 1px solid var(--border-color);
    z-index: 1001;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    padding: 8px 12px;
    position: relative;
    transition: color 0.2s;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.mobile-nav-item span {
    font-weight: 500;
}

.mobile-nav-item.active {
    color: var(--primary-color);
}

.mobile-nav-item:hover {
    color: var(--primary-color);
}

.mobile-cart-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

/* Mobile Responsive - Show mobile UI, hide desktop UI */
@media (max-width: 768px) {
    /* Show mobile header and bottom nav */
    .mobile-header {
        display: flex !important;
    }
    
    .mobile-bottom-nav {
        display: flex !important;
    }
    
    /* Hide desktop header and footer */
    .desktop-header {
        display: none !important;
    }
    
    .desktop-footer {
        display: none !important;
    }
    
    /* Adjust main content for mobile header and bottom nav */
    .main-content {
        padding-top: 70px !important;
        padding-bottom: 80px !important;
        min-height: calc(100vh - 150px);
    }
    
    /* Full width content on mobile */
    .container {
        padding: 0 12px;
    }
    
    /* Hero section adjustments */
    .hero-section {
        border-radius: 0;
        margin: 0 -12px 16px -12px;
        padding: 24px 16px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    /* Product grid - 2 columns on mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    
    /* Product card adjustments */
    .product-card {
        padding: 8px;
    }
    
    .product-card-image img {
        height: 120px;
    }
    
    .product-card-name {
        font-size: 12px;
        height: 32px;
    }
    
    .product-price-current {
        font-size: 14px;
    }
    
    .money-discount-label {
        padding: 4px 6px;
    }
    
    .money-discount-text {
        font-size: 10px;
    }
    
    .money-discount-price {
        font-size: 12px;
    }
    
    .add-to-cart-btn {
        padding: 8px;
        font-size: 12px;
    }
    
    /* Category grid - 4 columns on mobile */
    .category-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
    }
    
    .category-card {
        padding: 8px;
    }
    
    .category-card img {
        width: 40px;
        height: 40px;
    }
    
    .category-card span {
        font-size: 10px;
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    /* Product detail page */
    .product-detail {
        padding: 16px;
        border-radius: 0;
        margin: 0 -12px 16px -12px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .product-main-image {
        height: 250px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .product-price-main {
        font-size: 22px;
    }
    
    /* Cart page */
    .cart-page {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }
    
    .cart-items {
        padding: 16px;
        order: 1;
    }
    
    .cart-summary {
        position: relative;
        order: 2;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 20px;
    }
    
    /* Checkout page */
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .checkout-section {
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        padding: 8px 0;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* How to section */
    .how-to-section {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    
    .how-to-item {
        padding: 12px;
    }
    
    .how-to-item h4 {
        font-size: 12px;
    }
    
    .how-to-item p {
        font-size: 10px;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .mobile-header-title {
        font-size: 14px;
    }
    
    .mobile-nav-item {
        padding: 8px 8px;
    }
    
    .mobile-nav-item i {
        font-size: 18px;
    }
    
    .mobile-nav-item span {
        font-size: 9px;
    }
    
    /* Product grid - still 2 columns but smaller */
    .product-card-image img {
        height: 100px;
    }
    
    .product-card-name {
        font-size: 11px;
        height: 28px;
    }
    
    .product-price-current {
        font-size: 13px;
    }
    
    /* Category grid - 3 columns on very small screens */
    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .category-card img {
        width: 36px;
        height: 36px;
    }
    
    .category-card span {
        font-size: 9px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 18px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .hero-button {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* ========================================
   MOBILE CART PAGE - MIGROS STYLE
   ======================================== */

/* Hide mobile cart elements on desktop */
.mobile-cart-header,
.mobile-cart-content,
.cart-bottom-bar {
    display: none;
}

/* Show desktop elements by default */
.desktop-only {
    display: block;
}

/* Mobile Cart Styles */
@media (max-width: 768px) {
    /* Hide desktop elements on mobile */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile cart elements */
    .mobile-cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        background-color: white;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-cart-title {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
    
    .cart-title-bold {
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }
    
    .cart-title-count {
        font-size: 14px;
        color: #666;
    }
    
    .mobile-cart-logo {
        text-decoration: none;
    }
    
    .logo-migros {
        font-size: 14px;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    .logo-sanal {
        font-size: 12px;
        color: var(--primary-color);
    }
    
    .mobile-cart-content {
        display: block;
        padding-bottom: 180px;
        background-color: #f5f5f5;
    }
    
    /* Deals Banner */
    .cart-deals-banner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 16px;
        background: linear-gradient(135deg, #00a19a 0%, #00b8b0 100%);
        color: white;
        cursor: pointer;
    }
    
    .deals-text {
        font-size: 14px;
        font-weight: 600;
    }
    
    .deals-arrow {
        font-size: 12px;
    }
    
    /* Mobile Cart Items */
    .mobile-cart-items {
        padding: 0;
    }
    
    .mobile-cart-item {
        background-color: white;
        margin-bottom: 8px;
        padding: 16px;
    }
    
    .cart-item-top {
        display: flex;
        gap: 12px;
    }
    
    .cart-item-image-link {
        flex-shrink: 0;
    }
    
    .cart-item-img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .cart-item-details {
        flex: 1;
        min-width: 0;
    }
    
    .cart-item-title {
        margin: 0 0 8px 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
    }
    
    .cart-item-title a {
        color: #333;
        text-decoration: none;
    }
    
    .cart-item-money-badge {
        display: inline-block;
        padding: 4px 8px;
        background-color: var(--primary-color);
        color: white;
        font-size: 11px;
        font-weight: 600;
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .cart-item-controls {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .cart-item-delete {
        background: none;
        border: none;
        color: #999;
        font-size: 16px;
        cursor: pointer;
        padding: 4px;
    }
    
    .cart-qty-selector {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .qty-btn {
        width: 32px;
        height: 32px;
        border: none;
        background-color: #f5f5f5;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .qty-btn:hover {
        background-color: #eee;
    }
    
    .qty-value {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2px 8px;
        min-width: 40px;
    }
    
    .qty-number {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }
    
    .qty-label {
        font-size: 9px;
        color: #999;
    }
    
    .cart-item-total-price {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-left: auto;
    }
    
    .cart-item-actions {
        display: flex;
        gap: 16px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #eee;
    }
    
    .cart-action-link {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #666;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .cart-action-link i {
        font-size: 12px;
    }
    
    /* Similar Product Section */
    .cart-similar-section {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        background-color: white;
        margin-bottom: 8px;
    }
    
    .similar-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
        border-radius: 50%;
        flex-shrink: 0;
    }
    
    .similar-icon i {
        font-size: 18px;
        color: #666;
    }
    
    .similar-content {
        flex: 1;
    }
    
    .similar-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 4px;
    }
    
    .similar-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }
    
    .similar-change {
        font-size: 12px;
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .similar-desc {
        font-size: 12px;
        color: var(--primary-color);
        margin: 0;
    }
    
    /* Recommendations Section */
    .cart-recommendations {
        padding: 16px;
        background-color: white;
    }
    
    .recommendations-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0 0 16px 0;
    }
    
    .recommendations-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .recommendation-card {
        position: relative;
        background-color: white;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 12px;
    }
    
    .recommendation-image {
        display: block;
        margin-bottom: 8px;
    }
    
    .recommendation-image img {
        width: 100%;
        height: 100px;
        object-fit: contain;
    }
    
    .recommendation-favorite {
        position: absolute;
        top: 8px;
        right: 8px;
        background: none;
        border: none;
        font-size: 18px;
        color: #ccc;
        cursor: pointer;
    }
    
    .recommendation-name {
        display: block;
        font-size: 12px;
        color: #333;
        text-decoration: none;
        line-height: 1.3;
        margin-bottom: 4px;
        height: 32px;
        overflow: hidden;
    }
    
    .recommendation-price {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }
    
    /* Fixed Bottom Bar */
    .cart-bottom-bar {
        display: block;
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .bottom-bar-money {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        background-color: #fff8e6;
        border-bottom: 1px solid #ffe0a0;
    }
    
    .money-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
        border-radius: 50%;
    }
    
    .money-icon i {
        font-size: 16px;
        color: white;
    }
    
    .money-text {
        flex: 1;
    }
    
    .money-main {
        display: block;
        font-size: 12px;
        color: #333;
    }
    
    .money-amount {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .money-link {
        display: block;
        font-size: 11px;
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .bottom-bar-total {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        gap: 12px;
    }
    
    .total-expand {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
    }
    
    .total-info {
        flex: 1;
    }
    
    .total-label {
        display: block;
        font-size: 11px;
        color: #666;
    }
    
    .total-amount {
        display: block;
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    .checkout-btn {
        display: inline-block;
        padding: 12px 32px;
        background-color: var(--primary-color);
        color: white;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 24px;
    }
    
    .checkout-btn:hover {
        background-color: var(--primary-dark);
    }
    
    /* Hide mobile header on cart page since we have custom header */
    .mobile-header {
        display: none !important;
    }
}

/* Credit Card Form Styles */
.credit-card-form {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    color: white;
}

.credit-card-form h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.credit-card-form h4 i {
    margin-right: 8px;
}

.card-form-container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.credit-card-form .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.credit-card-form .form-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.credit-card-form .form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.3);
}

.credit-card-form .form-input::placeholder {
    color: #999;
    letter-spacing: 1px;
}

.card-icons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.card-icon {
    height: 24px;
    opacity: 0.8;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.card-security-note {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-security-note i {
    color: #4CAF50;
}

/* Bank Details Styles */
.bank-details {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.bank-details h4 {
    color: var(--text-color);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.bank-details h4 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.bank-details p {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.bank-note {
    margin-top: 16px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
}

.bank-note i {
    margin-right: 6px;
}

/* 3D Secure Verification Page Styles */
.threeds-container {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 16px;
}

.threeds-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.threeds-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 24px;
    text-align: center;
    color: white;
}

.threeds-header img {
    height: 40px;
    margin-bottom: 12px;
}

.threeds-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.threeds-header p {
    font-size: 14px;
    opacity: 0.9;
}

.threeds-body {
    padding: 32px 24px;
}

.threeds-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.threeds-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.threeds-info p:last-child {
    margin-bottom: 0;
}

.threeds-info strong {
    color: var(--text-color);
}

.sms-code-input {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.sms-code-input input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sms-code-input input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.2);
}

.threeds-timer {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.threeds-timer span {
    color: var(--primary-color);
    font-weight: 600;
}

.threeds-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.threeds-submit:hover {
    background: var(--primary-dark);
}

.threeds-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

/* Error Message */
.threeds-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.threeds-error i {
    color: #dc2626;
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.threeds-error p {
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
}

/* Success Page Styles */
.success-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 16px;
}

.success-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.success-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c3a 100%);
    padding: 40px 24px;
    color: white;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 40px;
    color: var(--success-color);
}

.success-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-header p {
    font-size: 16px;
    opacity: 0.95;
}

.success-body {
    padding: 32px 24px;
}

.success-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.success-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.detail-row .label {
    color: var(--text-light);
}

.detail-row .value {
    color: var(--text-color);
    font-weight: 500;
}

.success-message {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.success-message i {
    color: var(--success-color);
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
}

.success-message p {
    color: #065f46;
    font-size: 14px;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.success-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.success-btn-primary:hover {
    background: var(--primary-dark);
}

.success-btn-secondary {
    background: #f3f4f6;
    color: var(--text-color);
}

.success-btn-secondary:hover {
    background: #e5e7eb;
}

/* Delivery Method Selection */
.delivery-methods {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.delivery-option {
    flex: 1;
    cursor: pointer;
}

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

.delivery-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.delivery-option input[type="radio"]:checked + .delivery-option-content {
    border-color: var(--primary-color);
    background-color: #FFF5EE;
}

.delivery-option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: var(--primary-color);
}

.delivery-option input[type="radio"]:checked + .delivery-option-content .delivery-option-icon {
    background-color: var(--primary-color);
    color: white;
}

.delivery-option-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.delivery-option-info .delivery-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.delivery-option-info .delivery-price.free {
    color: var(--success-color);
}

.delivery-option-info .delivery-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Store Pickup Section */
.store-pickup-section {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.store-pickup-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-pickup-section h4 i {
    color: var(--primary-color);
}

.store-pickup-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.store-selection-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Stores List */
.stores-list {
    margin-top: 16px;
}

.stores-count {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.stores-count span {
    font-weight: 600;
    color: var(--primary-color);
}

.stores-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.store-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.store-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(242, 122, 26, 0.1);
}

.store-card.selected {
    border-color: var(--primary-color);
    background-color: #FFF5EE;
}

.store-card.offline {
    opacity: 0.6;
}

.store-card-content {
    flex: 1;
}

.store-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.store-address {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.store-district {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.store-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
}

.store-status.online {
    color: var(--success-color);
}

.store-status.online i {
    font-size: 6px;
}

.store-status.offline {
    color: var(--danger-color);
}

.store-status.offline i {
    font-size: 6px;
}

.store-select-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.store-select-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.store-select-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.no-stores {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Selected Store Info */
.selected-store-info {
    margin-top: 16px;
    padding: 16px;
    background-color: #E8F5E9;
    border-radius: 8px;
    border: 1px solid #A5D6A7;
}

.selected-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 8px;
}

.selected-store-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.selected-store-info p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Home Delivery Section */
.home-delivery-section {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.home-delivery-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-delivery-section h4 i {
    color: var(--primary-color);
}

/* Mobile Responsive for Delivery Methods */
@media (max-width: 768px) {
    .delivery-methods {
        flex-direction: column;
    }
    
    .delivery-option-content {
        padding: 12px;
    }
    
    .delivery-option-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .delivery-option-info h4 {
        font-size: 14px;
    }
    
    .store-selection-row {
        grid-template-columns: 1fr;
    }
    
    .store-pickup-section,
    .home-delivery-section {
        padding: 16px;
    }
    
    .stores-container {
        max-height: 300px;
    }
    
    .store-card {
        padding: 12px;
    }
}

/* Mobile Responsive for Payment Forms */
@media (max-width: 768px) {
    .card-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .credit-card-form {
        padding: 16px;
    }
    
    .card-form-container {
        padding: 16px;
    }
    
    .threeds-container {
        margin: 20px auto;
    }
    
    .sms-code-input input {
        width: 40px;
        height: 48px;
        font-size: 20px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   NEW MOBILE HEADER - MIGROS STYLE
   Matches original migros.com.tr mobile design
   ======================================== */

/* Hide new mobile header on desktop */
.mobile-header-new {
    display: none;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    /* Hide old mobile header */
    .mobile-header {
        display: none !important;
    }
    
    /* Show new mobile header */
    .mobile-header-new {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        background-color: white;
    }
    
    /* Brand Tabs - White background with scrollable tabs (matching original Migros) */
    .mobile-brand-tabs {
        display: flex;
        align-items: center;
        background-color: white;
        padding: 10px 12px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-brand-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-brand-tab {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 6px 10px;
        text-decoration: none;
        white-space: nowrap;
        border-radius: 4px;
        transition: background-color 0.2s;
    }
    
    .mobile-brand-tab.active {
        background-color: rgba(242, 122, 26, 0.1);
    }
    
    .mobile-brand-tab:hover {
        background-color: rgba(242, 122, 26, 0.05);
    }
    
    /* Brand box (MIGROS in orange box) */
    .brand-box {
        background-color: var(--primary-color);
        color: white;
        font-size: 10px;
        font-weight: 800;
        padding: 3px 5px;
        border-radius: 3px;
    }
    
    .brand-text-sanal {
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 600;
    }
    
    .brand-text-migros-small {
        color: var(--primary-color);
        font-size: 10px;
        font-weight: 700;
    }
    
    .brand-text-hemen {
        color: #4CAF50;
        font-size: 12px;
        font-weight: 600;
    }
    
    .brand-text-yemek {
        color: #E53935;
        font-size: 12px;
        font-weight: 600;
    }
    
    .brand-text-ekstra {
        color: #333;
        font-size: 12px;
        font-weight: 700;
        background-color: #f5f5f5;
        padding: 2px 6px;
        border-radius: 3px;
    }
    
    .brand-text-mion {
        color: #E91E63;
        font-size: 12px;
        font-weight: 600;
    }
    
    .brand-text-petimo {
        color: #4CAF50;
        font-size: 12px;
        font-weight: 700;
    }
    
    .brand-text-tazedirekt {
        color: #4CAF50;
        font-size: 12px;
        font-weight: 600;
    }
    
    /* Delivery Selector Row */
    .mobile-delivery-row {
        padding: 8px 12px;
        background-color: white;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-delivery-selector {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background-color: #f8f8f8;
        border-radius: 8px;
        cursor: pointer;
    }
    
    .mobile-delivery-selector i:first-child {
        color: var(--primary-color);
        font-size: 14px;
    }
    
    .mobile-delivery-selector span {
        flex: 1;
        font-size: 13px;
        color: #333;
    }
    
    .mobile-delivery-selector i:last-child {
        color: #999;
        font-size: 12px;
    }
    
    /* Search Row */
    .mobile-search-row {
        padding: 8px 12px;
        background-color: white;
    }
    
    .mobile-search-form {
        display: flex;
        align-items: center;
        background-color: #f5f5f5;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .mobile-search-input {
        flex: 1;
        padding: 12px 16px;
        border: none;
        background: transparent;
        font-size: 14px;
        outline: none;
    }
    
    .mobile-search-input::placeholder {
        color: #999;
    }
    
    .mobile-search-btn {
        padding: 12px 16px;
        background: transparent;
        border: none;
        color: #999;
        cursor: pointer;
    }
    
    /* Navigation Tabs */
    .mobile-nav-tabs {
        display: flex;
        align-items: center;
        padding: 0 12px;
        background-color: white;
        border-bottom: 1px solid #eee;
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .mobile-nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-nav-tab {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 12px 14px;
        text-decoration: none;
        color: #333;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .mobile-nav-tab i {
        color: var(--primary-color);
    }
    
    .mobile-nav-tab.nepisirsem {
        color: var(--primary-color);
    }
    
    .nav-tab-icon {
        height: 16px;
        width: auto;
    }
    
    /* Adjust main content padding for new header */
    .main-content {
        padding-top: 180px !important;
    }
    
    /* Cart page - hide new header, show cart-specific header */
    body.cart-page-body .mobile-header-new {
        display: none !important;
    }
    
    body.cart-page-body .mobile-cart-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex !important;
    }
    
    body.cart-page-body .main-content {
        padding-top: 70px !important;
    }
}

/* ========================================
   CART PAGE MOBILE HEADER - Simple White Design
   ======================================== */

/* Cart page specific mobile header */
.cart-mobile-header-simple {
    display: none;
}

@media (max-width: 768px) {
    .cart-mobile-header-simple {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        padding: 0 16px;
        background-color: white;
        border-bottom: 1px solid #eee;
        z-index: 1002;
    }
    
    .cart-header-left {
        display: flex;
        align-items: baseline;
        gap: 6px;
    }
    
    .cart-header-title {
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }
    
    .cart-header-count {
        font-size: 14px;
        font-weight: 500;
        color: var(--primary-color);
    }
    
    .cart-header-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    
    .cart-logo-box {
        background-color: var(--primary-color);
        color: white;
        font-size: 10px;
        font-weight: 800;
        padding: 3px 5px;
        border-radius: 3px;
    }
    
    .cart-logo-text {
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 600;
        margin-left: 2px;
    }
}

/* ========================================
   DELIVERY METHOD MODAL
   ======================================== */

.delivery-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
}

.delivery-modal-overlay.active {
    display: flex;
}

.delivery-modal {
    background-color: white;
    width: 100%;
    max-width: 500px;
    border-radius: 16px 16px 0 0;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.delivery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.delivery-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.delivery-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 4px;
}

.delivery-modal-body {
    padding: 16px 20px;
}

.delivery-modal-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-modal-option:last-child {
    margin-bottom: 0;
}

.delivery-modal-option:hover {
    border-color: #ddd;
}

.delivery-modal-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(242, 122, 26, 0.05);
}

.delivery-modal-radio {
    position: relative;
}

.delivery-modal-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.delivery-modal-radio .radio-custom {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.delivery-modal-radio input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
}

.delivery-modal-radio input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.delivery-modal-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 18px;
}

.delivery-modal-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.delivery-modal-price {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.delivery-modal-price.free {
    color: #4CAF50;
    font-weight: 600;
}

.delivery-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
}

.delivery-modal-confirm {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delivery-modal-confirm:hover {
    background-color: #e06a0a;
}

/* Delivery selector text update styles */
.mobile-delivery-selector.selected {
    background-color: rgba(242, 122, 26, 0.1);
}

.mobile-delivery-selector .delivery-method-label {
    font-weight: 600;
    color: var(--primary-color);
}

/* Cart page delivery indicator */
.cart-delivery-indicator {
    display: none;
    padding: 12px 16px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .cart-delivery-indicator {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

.cart-delivery-indicator i {
    color: var(--primary-color);
    font-size: 16px;
}

.cart-delivery-indicator .delivery-info {
    flex: 1;
}

.cart-delivery-indicator .delivery-info strong {
    display: block;
    font-size: 14px;
    color: #333;
}

.cart-delivery-indicator .delivery-info span {
    font-size: 12px;
    color: #666;
}

.cart-delivery-indicator .change-btn {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
}

/* Order Note Modal */
.order-note-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.order-note-modal-overlay.active {
    display: flex;
}

.order-note-modal {
    background-color: white;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    animation: fadeIn 0.2s ease;
}

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

.order-note-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.order-note-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.order-note-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

.order-note-modal-body {
    padding: 20px;
}

.order-note-product-name {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
}

.order-note-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.order-note-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.order-note-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #eee;
}

.order-note-cancel {
    flex: 1;
    padding: 12px;
    background-color: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.order-note-save {
    flex: 1;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
