/**
 * Talplemez.hu - Főbb stílusok
 * Mobilbarát, tiszta design
 */

/* Reset és alapértelmezések */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --light-bg: #ecf0f1;
    --border-color: #bdc3c7;
    --text-color: #2c3e50;
    --text-muted: #7f8c8d;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

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

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

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

.login-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.login-link:hover {
    transform: translateY(-2px);
}

.login-link span {
    display: none;
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    transition: border-color 0.3s;
}

.user-menu-toggle:hover {
    border-color: var(--primary-color);
}

.user-menu-toggle .fa-user-circle {
    font-size: 20px;
    color: var(--primary-color);
}

.user-menu-toggle .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s;
}

.user-menu.active .user-menu-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.3s;
}

.user-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.user-dropdown a:hover {
    background: #f3f4f6;
}

.user-dropdown a i {
    color: var(--primary-color);
    width: 16px;
}

.cart-link {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    padding: 8px;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: 0;
    right: -5px;
    background: var(--danger-color);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin: 15px 0;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: var(--text-muted);
}

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

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

.btn-block {
    display: block;
    width: 100%;
    margin: 10px 0;
}

.btn-disabled {
    background: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

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

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

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

/* Features */
.features {
    padding: 60px 0;
    background: var(--light-bg);
}

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

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

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

/* Products */
.products-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

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

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

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

.product-image {
    position: relative;
    height: 250px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-warning {
    background: var(--warning-color);
    color: #fff;
}

.badge-danger {
    background: var(--danger-color);
    color: #fff;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

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

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Info Section */
.info-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.info-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Cart */
.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

.page-header {
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 14px;
}

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

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.empty-cart h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--light-bg);
    border-radius: 5px;
    overflow: hidden;
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.cart-item-details h3 {
    margin-bottom: 5px;
}

.cart-item-sku {
    font-size: 12px;
    color: var(--text-muted);
    margin: 5px 0;
}

.cart-item-customization {
    margin: 10px 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid var(--secondary-color);
}

.cart-item-customization small {
    display: block;
    margin: 3px 0;
    color: #555;
}

.cart-item-customization i {
    color: var(--secondary-color);
}

.cart-item-price {
    font-weight: 600;
    color: var(--secondary-color);
}

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

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}

.qty-btn:hover {
    background: var(--light-bg);
}

.qty-input {
    width: 60px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.cart-item-total {
    min-width: 120px;
    text-align: right;
    font-size: 20px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 5px;
}

.cart-item-remove:hover {
    opacity: 0.7;
}

.cart-summary {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 16px;
}

.summary-note {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
}

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

.summary-total {
    font-size: 20px;
    color: var(--primary-color);
}

.summary-vat {
    text-align: center;
    color: var(--text-muted);
    margin-top: 10px;
}

.cart-actions {
    margin-top: 30px;
}

.payment-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.payment-info h4 {
    margin-bottom: 10px;
}

.payment-icons {
    margin-top: 10px;
    font-size: 14px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    color: #fff;
    padding: 20px 0;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content a {
    color: var(--secondary-color);
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast {
    background: #fff;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-left: 4px solid var(--success-color);
}

.toast-error {
    border-left: 4px solid var(--danger-color);
}

.toast-info {
    border-left: 4px solid var(--secondary-color);
}

.text-success {
    color: var(--success-color);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Legal pages styling */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.legal-page h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.legal-page h1 i {
    margin-right: 10px;
}

.updated-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.legal-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.legal-content h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: var(--text-color);
}

.legal-content p {
    margin: 15px 0;
}

.legal-content ul,
.legal-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-content li {
    margin: 10px 0;
}

.info-card {
    background: #fff;
    padding: 30px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-card.alert-info {
    background: #e7f3ff;
    border-left: 4px solid var(--secondary-color);
}

.info-card.alert-warning {
    background: #fff8e1;
    border-left: 4px solid var(--warning-color);
}

/* Alert Messages */
.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 18px;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.shipping-options,
.payment-methods-list {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.shipping-option,
.payment-method-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.shipping-option:hover,
.payment-method-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.option-header,
.payment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.option-header i,
.payment-header i {
    font-size: 32px;
    color: var(--secondary-color);
}

.option-header h3,
.payment-header h3 {
    margin: 0;
    font-size: 22px;
}

.option-details,
.payment-body {
    color: var(--text-color);
}

.payment-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-badge.recommended {
    background: var(--success-color);
    color: #fff;
}

.payment-badge.unavailable {
    background: var(--border-color);
    color: var(--text-muted);
}

.payment-method-card.disabled {
    opacity: 0.6;
}

.card-types {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.card-types li {
    font-size: 16px;
}

.payment-features {
    margin: 20px 0;
}

.payment-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.payment-features i {
    color: var(--success-color);
    font-size: 18px;
}

.payment-note,
.payment-warning {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    font-size: 14px;
}

.payment-warning {
    background: #fff3cd;
    border-left: 3px solid var(--warning-color);
}

.bank-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 15px 0;
}

.tracking-info {
    display: flex;
    align-items: start;
    gap: 15px;
    background: #e7f3ff;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.tracking-info i {
    color: var(--secondary-color);
    font-size: 24px;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.right-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.right-item i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.right-item h4 {
    margin: 10px 0 5px;
    font-size: 16px;
}

.right-item p {
    font-size: 14px;
    margin: 0;
    color: var(--text-muted);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.data-table th {
    background: var(--primary-color);
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.security-features,
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.security-item,
.measure {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.security-item i {
    font-size: 40px;
    color: var(--success-color);
    display: block;
    margin-bottom: 10px;
}

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

.measure i {
    font-size: 24px;
    color: var(--secondary-color);
}

.faq-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
}

.faq-item h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.authority-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
}

.company-details {
    margin: 20px 0;
}

.detail-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

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

.detail-label {
    font-weight: 600;
    min-width: 200px;
    color: var(--text-color);
}

.detail-label i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.detail-value {
    flex: 1;
    color: var(--text-muted);
}

.detail-value a {
    color: var(--secondary-color);
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.cta-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: #fff;
    border-radius: 10px;
    margin: 40px 0;
}

.cta-section h3 {
    margin-bottom: 10px;
    color: #fff;
}

.cta-section p {
    margin-bottom: 20px;
}

.cta-section .btn {
    background: #fff;
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background: var(--light-bg);
}

