/* VOLTA E-COMMERCE THEME CSS */
/* Birebir Volta Tasarımı - Mobil ve PC Uyumlu */

:root {
    --primary: #95C11F;
    --primary-dark: #7ab317;
    --dark: #14212D;
    --dark-light: #1a2a38;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --border: #e5e5e5;
    --bg: #f8f9fa;
    --white: #fff;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== HEADER ==================== */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar - Kayan Yazı */
.top-bar {
    background: var(--primary);
    padding: 8px 0;
    overflow: hidden;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.marquee-inner span {
    display: inline-block;
    padding: 0 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--dark);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Desktop Header */
.header-desktop {
    background: var(--dark);
    display: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo svg {
    height: 38px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav .has-dropdown {
    position: relative;
}

.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.main-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown a {
    color: var(--text);
    padding: 10px 20px;
    font-size: 14px;
}

.main-nav .dropdown a:hover {
    background: var(--bg);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    color: var(--white);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.action-btn:hover {
    color: var(--primary);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
}

.track-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
}

.track-btn:hover {
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Header */
.header-mobile {
    background: var(--dark);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-mobile .logo svg {
    height: 28px;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-btn {
    color: var(--white);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 33, 45, 0.97);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.search-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-logo {
    height: 35px;
}

.close-search {
    color: var(--white);
    padding: 10px;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
}

.search-form button {
    background: var(--primary);
    padding: 15px 25px;
    color: var(--dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-top svg {
    height: 28px;
}

.close-menu {
    padding: 10px;
    color: var(--text);
}

.mobile-nav-list {
    padding: 15px 0;
}

.mobile-nav-list a {
    display: block;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-list a:hover {
    background: var(--bg);
    color: var(--primary);
}

.nav-divider {
    height: 10px;
    background: var(--bg);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs {
    background: var(--bg);
    padding: 12px 0;
}

.breadcrumbs-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--text);
}

/* ==================== MAIN CONTENT ==================== */
#main {
    padding: 30px 0 50px;
    min-height: 60vh;
}

.page-title {
    margin-bottom: 25px;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

/* ==================== PRODUCT LIST ==================== */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.products-count {
    font-size: 13px;
    color: var(--text-light);
}

.products-actions {
    display: flex;
    gap: 10px;
}

.filter-btn,
.sort-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: var(--white);
}

.filter-btn:hover,
.sort-btn:hover {
    border-color: var(--dark);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    background: var(--bg);
    padding: 20px;
    text-align: center;
}

.product-image img {
    max-height: 180px;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.sold-out-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-content {
    padding: 15px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin-bottom: 10px;
}

.price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 13px;
}

.price-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.price-info {
    font-size: 10px;
    color: var(--text-muted);
}

.product-btn {
    display: block;
    text-align: center;
    background: var(--dark);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
}

.product-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Filter Sidebar Modal */
.filter-modal {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.filter-modal.active {
    left: 0;
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.filter-modal-body {
    padding: 20px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Sort Modal */
.sort-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 2000;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 70vh;
    overflow-y: auto;
}

.sort-modal.active {
    transform: translateY(0);
}

.sort-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.sort-modal-body {
    padding: 10px 0;
}

.sort-option {
    display: block;
    padding: 15px 20px;
    font-size: 15px;
}

.sort-option:hover,
.sort-option.active {
    background: var(--bg);
    color: var(--primary);
}

/* ==================== CART PAGE ==================== */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty svg {
    opacity: 0.3;
    margin-bottom: 20px;
}

.cart-empty h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-shop {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
}

/* Cart Items */
.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.cart-items {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--bg);
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-sku {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--bg);
}

.qty-btn:hover {
    background: var(--border);
}

.qty-input {
    width: 45px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.cart-item-total {
    font-size: 16px;
    font-weight: 700;
}

.cart-item-remove {
    color: var(--text-muted);
    padding: 8px;
}

.cart-item-remove:hover {
    color: var(--danger);
}

.cart-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    flex-wrap: wrap;
}

.btn-continue,
.btn-clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
}

.btn-continue {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-clear {
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
}

.cart-summary h2 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--primary);
    color: var(--dark);
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
}

.btn-checkout:hover {
    background: var(--primary-dark);
}

/* ==================== CHECKOUT ==================== */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.step-text {
    font-size: 13px;
    color: var(--text-light);
}

.step.active .step-num {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.step.active .step-text {
    color: var(--dark);
    font-weight: 500;
}

.step.completed .step-num {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

/* Checkout Form */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.checkout-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    color: var(--text);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(149, 193, 31, 0.15);
}

.form-control.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.error-text {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2395C11F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}


.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Summary Sidebar */
.checkout-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.summary-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-item-img {
    width: 50px;
    height: 50px;
    background: var(--bg);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
}

.summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--dark);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-item-info h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.summary-item-info span {
    font-size: 12px;
    color: var(--text-light);
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 10px;
    font-weight: 500;
}

/* ==================== PAYMENT PAGE ==================== */
.payment-method {
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.payment-method.active {
    border-color: var(--primary);
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg);
}

.payment-header input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.payment-header label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}

.payment-body {
    padding: 20px;
}

.bank-info {
    background: var(--bg);
    border-radius: 10px;
    padding: 20px;
}

.bank-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 15px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-row .label {
    color: var(--text-light);
}

.bank-row .value {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn {
    background: var(--dark);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.bank-note {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #92400e;
}

/* ==================== ORDER TRACKING ==================== */
.tracking-search {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 15px;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    background: var(--dark);
    color: var(--white);
    padding: 14px 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0;
    padding: 0 10px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: var(--border);
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-icon {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.timeline-step span {
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
}

.timeline-step.active .timeline-icon {
    border-color: var(--primary);
    background: var(--primary);
}

.timeline-step.active .timeline-icon svg {
    stroke: var(--white);
}

.timeline-step.completed .timeline-icon {
    border-color: var(--success);
    background: var(--success);
}

.timeline-step.completed .timeline-icon svg {
    stroke: var(--white);
}

.timeline-step.active span,
.timeline-step.completed span {
    color: var(--dark);
    font-weight: 500;
}

/* ==================== FOOTER ==================== */
#footer {
    margin-top: 50px;
}

.footer-features {
    background: var(--bg);
    padding: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
}

.feature-item svg {
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 16px;
}

.feature-text span {
    font-size: 13px;
    color: var(--text-light);
}

.footer-main {
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-logo svg {
    height: 35px;
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.footer-bottom {
    background: var(--dark);
    padding: 20px 0;
    color: var(--white);
    font-size: 13px;
    text-align: center;
}

/* ==================== UTILITIES ==================== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: var(--dark);
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    text-align: right;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    background: var(--bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
}

.product-main-image img {
    max-height: 350px;
    object-fit: contain;
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--danger);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.thumb {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.thumb.active, .thumb:hover {
    border-color: var(--primary);
}

.thumb img,
.thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.thumb.video {
    border-color: #3b82f6;
}

.thumb-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.product-main-media {
    background: var(--bg);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-media img,
.product-main-media video {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

#mainMediaContainer {
    width: 100%;
}

#mainMediaContainer img,
#mainMediaContainer video {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-info {
    padding: 0;
}

.product-category {
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-sku {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.product-price-box {
    margin-bottom: 15px;
}

.product-price-box .price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 14px;
    display: block;
}

.product-price-box .price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.product-price-box .price-note {
    font-size: 11px;
    color: var(--text-muted);
}

.product-short-desc {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-stock.in-stock {
    background: #d1fae5;
    color: #065f46;
}

.product-stock.out-stock {
    background: #fee2e2;
    color: #991b1b;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-box .qty-btn {
    width: 40px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bg);
    cursor: pointer;
}

.quantity-box .qty-btn:hover {
    background: var(--border);
}

.quantity-box input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: var(--dark);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    min-width: 180px;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-add-cart.disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.product-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
}

/* Product Tabs */
.product-tabs {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
}

.tab-btn.active {
    background: var(--white);
    color: var(--dark);
    border-bottom: 2px solid var(--primary);
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
    background: var(--bg);
}

.specs-table th, .specs-table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
}

.specs-table th {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
}

/* Cart Toast */
.cart-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 350px;
    width: calc(100% - 40px);
}

.cart-toast.show {
    transform: translateX(0);
}

.cart-toast-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
}

.cart-toast-icon {
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-toast-content {
    flex: 1;
    min-width: 0;
}

.cart-toast-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.cart-toast-content p {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.cart-toast-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.cart-toast-btn.primary {
    background: var(--primary);
    color: var(--dark);
}

.cart-toast-btn.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.cart-toast-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.cart-toast-close {
    padding: 5px;
    color: var(--text-muted);
}

/* ==================== CHECKOUT MINIMAL STEPS ==================== */
.checkout-steps-minimal {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.step-dot.completed {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

/* Payment Option */
.payment-option {
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.payment-option.active {
    border-color: var(--primary);
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg);
}

.payment-option-header input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.payment-option-header label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
}

.payment-option-body {
    padding: 20px;
}

.bank-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: var(--bg);
    border-radius: 8px;
    margin-bottom: 15px;
}

.bank-card-icon {
    flex-shrink: 0;
}

.bank-card-content h4 {
    font-size: 15px;
    margin-bottom: 10px;
}

.bank-card-content p {
    font-size: 13px;
    margin-bottom: 5px;
}

.iban-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.copy-btn {
    background: var(--dark);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.bank-note {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
}

.bank-note p {
    margin: 0;
}

.delivery-summary {
    padding: 15px;
    background: var(--bg);
    border-radius: 8px;
    position: relative;
}

.delivery-summary p {
    margin-bottom: 5px;
    font-size: 14px;
}

.edit-link {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
}

/* ==================== DEKONT PAGE ==================== */
.dekont-page {
    max-width: 600px;
    margin: 0 auto;
}

.dekont-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.dekont-header {
    text-align: center;
    padding: 30px 20px;
    border-bottom: 1px solid var(--border);
}

.dekont-header .success-icon {
    margin-bottom: 15px;
}

.dekont-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.dekont-header p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.order-number {
    display: inline-block;
    background: var(--bg);
    padding: 15px 25px;
    border-radius: 8px;
}

.order-number span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.order-number strong {
    font-size: 18px;
    color: var(--dark);
}

.bank-info-box {
    padding: 20px;
    margin: 20px;
    background: var(--bg);
    border-radius: 10px;
}

.bank-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.bank-info-header h3 {
    font-size: 15px;
}

.bank-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.bank-info-row:last-of-type {
    border-bottom: none;
}

.bank-info-row span {
    color: var(--text-light);
}

.bank-info-row strong {
    color: var(--dark);
}

.bank-info-row.amount {
    background: #d1fae5;
    margin: 10px -20px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
}

.bank-info-row.amount strong {
    font-size: 18px;
    color: #065f46;
}

.bank-info-note {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #92400e;
}

.bank-info-note .highlight {
    color: var(--primary);
}

.dekont-upload-box {
    padding: 20px;
}

.upload-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.upload-header h3 {
    font-size: 16px;
}

.dekont-upload-box > p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary);
    background: rgba(149, 193, 31, 0.05);
}

.file-upload-area input {
    display: none;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-placeholder p {
    color: var(--text-light);
    margin: 0;
}

.upload-placeholder span {
    color: var(--primary);
    font-weight: 500;
}

.upload-placeholder small {
    color: var(--text-muted);
    font-size: 12px;
}

.upload-preview {
    display: flex;
    align-items: center;
    gap: 15px;
}

.upload-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.upload-preview span {
    flex: 1;
    font-size: 14px;
    word-break: break-all;
}

.remove-file {
    width: 30px;
    height: 30px;
    background: var(--danger);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 8px;
    font-weight: 600;
}

.btn-upload:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

.skip-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.skip-link p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.skip-link a {
    color: var(--primary);
    font-weight: 500;
}

/* Success Card */
.success-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.success-card .success-icon {
    margin-bottom: 20px;
}

.success-card h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.success-card > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.order-info-card {
    display: inline-block;
    background: var(--bg);
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.order-info-card p {
    margin: 0;
    font-size: 14px;
}

.action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.action-btns a {
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.action-btns .btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.action-btns .btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
}

/* ==================== RESPONSIVE ==================== */

/* Tablet ve üstü */
@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-wrapper {
        grid-template-columns: 1fr 350px;
    }
    
    .checkout-wrapper {
        grid-template-columns: 1fr 350px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-detail {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .product-features {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .action-btns {
        flex-direction: row;
        justify-content: center;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .header-desktop {
        display: block;
    }
    
    .header-mobile {
        display: none;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    
    .checkout-steps {
        gap: 60px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Only */
@media (max-width: 767px) {
    .checkout-steps .step-text {
        display: none;
    }
    
    .checkout-steps {
        gap: 15px;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .order-timeline {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .timeline-step span {
        white-space: nowrap;
        font-size: 10px;
    }
    
    /* Ürün detay mobil */
    .product-detail {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .product-main-media {
        padding: 15px;
        min-height: 250px;
    }
    
    .product-main-media img,
    .product-main-media video,
    #mainMediaContainer img,
    #mainMediaContainer video {
        max-height: 300px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-price-box .price-current {
        font-size: 24px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .quantity-box {
        width: 100%;
        justify-content: center;
    }
    
    .btn-add-cart {
        width: 100%;
    }
    
    .product-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature {
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Tabs */
    .tab-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .specs-table th,
    .specs-table td {
        display: block;
        width: 100%;
        padding: 8px 12px;
    }
    
    .specs-table th {
        background: var(--bg);
        border-bottom: none;
    }
    
    .specs-table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid var(--border);
        border-radius: 8px;
        overflow: hidden;
    }
    
    /* Checkout */
    .checkout-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-sidebar {
        order: -1;
    }
    
    /* Sepet */
    .cart-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .cart-summary {
        position: static !important;
    }
    
    /* Toast */
    .cart-toast {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cart-toast-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cart-toast-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ========== PRODUCT DETAIL ========== */
.product-detail-page { padding: 40px 0; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-gallery { position: relative; }
.gallery-main { position: relative; background: var(--white); border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.gallery-nav:hover { background: rgba(0,0,0,0.8); }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: .6; transition: all .2s; }
.gallery-thumbs .thumb.active { border-color: var(--primary); opacity: 1; }
.gallery-thumbs .thumb:hover { opacity: 1; }
.product-info-detail { display: flex; flex-direction: column; gap: 16px; }
.product-info-detail .product-category { color: var(--primary); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.product-info-detail h1 { font-size: 28px; color: var(--dark); margin: 0; }
.product-price-large { font-size: 32px; font-weight: 800; color: var(--dark); }
.product-description { color: var(--text-light); line-height: 1.7; font-size: 15px; }
.product-actions { display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.qty-selector .qty-btn { width: 44px; height: 44px; border: 0; background: var(--bg); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.qty-selector .qty-btn:hover { background: var(--primary); color: white; }
.qty-selector input { width: 50px; height: 44px; text-align: center; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 16px; font-weight: 600; background: var(--white); }
.add-to-cart-large { display: flex; align-items: center; gap: 8px; padding: 12px 32px; background: var(--primary); color: white; border: 0; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s; }
.add-to-cart-large:hover { background: var(--primary-dark); }
.add-to-cart-btn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 10px; background: var(--primary); color: white; border: 0; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; justify-content: center; transition: background .2s; }
.add-to-cart-btn:hover { background: var(--primary-dark); }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

/* ========== PAGE TITLE ========== */
.page-title { font-size: 28px; color: var(--dark); margin-bottom: 24px; }

/* ========== CART PAGE ========== */
.cart-page { padding: 40px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.cart-item-image { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 15px; margin: 0 0 4px; color: var(--dark); }
.cart-item-price { font-size: 14px; color: var(--text-light); }
.cart-item-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.cart-item-qty .qty-btn { width: 32px; height: 32px; border: 0; background: var(--bg); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cart-item-qty .qty-btn:hover { background: var(--primary); color: white; }
.cart-item-qty .qty-input { width: 36px; height: 32px; text-align: center; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.cart-item-total { font-size: 16px; font-weight: 700; color: var(--dark); min-width: 100px; text-align: right; }
.cart-item-remove { background: none; border: 0; color: var(--danger); font-size: 20px; cursor: pointer; padding: 8px; }
.cart-actions { display: flex; gap: 12px; margin-top: 8px; }
.cart-summary { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; position: sticky; top: 20px; }
.cart-summary h3 { font-size: 18px; margin: 0 0 16px; color: var(--dark); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text); }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 700; }
.free-shipping { color: var(--success); font-weight: 600; }
.checkout-btn { display: block; text-align: center; padding: 14px; background: var(--primary); color: white; border: 0; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; margin-top: 16px; transition: background .2s; }
.checkout-btn:hover { background: var(--primary-dark); }

/* ========== EMPTY CART ========== */
.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart-icon { color: var(--border); margin-bottom: 16px; }
.empty-cart h2 { font-size: 24px; color: var(--dark); margin: 0 0 8px; }
.empty-cart p { color: var(--text-light); margin-bottom: 20px; }
.btn-primary { display: inline-block; padding: 12px 32px; background: var(--primary); color: white; border: 0; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { display: inline-block; padding: 10px 24px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; background: var(--white); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline.danger { color: var(--danger); border-color: var(--danger); }
.btn-outline.danger:hover { background: var(--danger); color: white; }

/* ========== CART POPUP (TOAST) ========== */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 12px; }
.cart-popup { background: var(--white); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); padding: 20px; min-width: 320px; max-width: 400px; transform: translateX(120%); opacity: 0; transition: all .3s ease; border: 1px solid var(--border); }
.cart-popup.show { transform: translateX(0); opacity: 1; }
.cart-popup-content { display: flex; flex-direction: column; gap: 12px; }
.cart-popup-icon { text-align: center; }
.cart-popup-text { text-align: center; }
.cart-popup-text strong { font-size: 16px; color: var(--dark); }
.cart-popup-text p { font-size: 14px; color: var(--text-light); margin: 4px 0 0; }
.cart-popup-actions { display: flex; flex-direction: column; gap: 8px; }
.popup-btn { padding: 10px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; border: 0; cursor: pointer; text-decoration: none; }
.popup-btn.primary { background: var(--primary); color: white; }

.popup-btn.primary:hover { background: var(--primary-dark); }
.popup-btn.secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.popup-btn.secondary:hover { background: var(--border); }
.no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #999; font-size: 14px; background: #f8f9fa; }
.no-image-sm { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* ========== DELIVERY PAGE ========== */
.delivery-page { padding: 0 0 60px; }
.delivery-hero {
    background: linear-gradient(135deg, #14212D 0%, #1a2f3e 50%, #0d1b24 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.delivery-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(149,193,31,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(149,193,31,0.05) 0%, transparent 50%);
}
.delivery-hero-content { position: relative; z-index: 1; }
.delivery-hero h1 { font-size: 36px; color: #fff; margin-bottom: 12px; letter-spacing: 2px; }
.delivery-hero p { color: rgba(255,255,255,0.6); font-size: 16px; max-width: 500px; margin: 0 auto; }
.delivery-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: -30px auto 40px; max-width: 700px; position: relative; z-index: 2; padding: 0 20px; }
.stat-card { background: #fff; border-radius: 16px; padding: 24px 16px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.stat-card .stat-icon { width: 44px; height: 44px; margin: 0 auto 12px; background: linear-gradient(135deg, #95C11F, #7ab317); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; padding: 10px; }
.stat-card .stat-number { font-size: 28px; font-weight: 800; color: #14212D; }
.stat-card .stat-label { font-size: 13px; color: #888; margin-top: 4px; }
.deliveries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding: 0 20px; }
.delivery-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all .3s; }
.delivery-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }
.delivery-card-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #f8f9fa; border-bottom: 1px solid #eee; gap: 8px; flex-wrap: wrap; }
.delivery-date { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #666; }
.delivery-date svg { color: #95C11F; flex-shrink: 0; }
.delivery-location { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #888; }
.delivery-location svg { color: #ef4444; flex-shrink: 0; }
.delivery-location span { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.delivery-card-body { padding: 16px; }
.delivery-product-info { margin-bottom: 12px; }
.delivery-product-info .product-name { font-size: 15px; font-weight: 600; color: #14212D; }
.delivery-product-info .product-qty { font-size: 13px; color: #95C11F; font-weight: 600; margin-top: 2px; }
.delivery-images { display: flex; gap: 8px; }
.delivery-images img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; cursor: pointer; transition: all .3s; }
.delivery-images img:hover { opacity: .9; transform: scale(1.02); }
.delivery-images.has-two img { width: calc(50% - 4px); }

/* Image Modal */
.image-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.image-modal.active { opacity: 1; visibility: visible; }
.image-modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); }
.image-modal-content { position: relative; max-width: 90vw; max-height: 90vh; }
.image-modal-content img { max-width: 90vw; max-height: 85vh; border-radius: 12px; object-fit: contain; }
.image-modal-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; }

/* Search Overlay */
.search-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.92); z-index: 9999; display: flex; align-items: flex-start; justify-content: center; padding-top: 60px; opacity: 0; visibility: hidden; transition: all .3s; }
.search-overlay.active { opacity: 1; visibility: visible; }
.search-container { max-width: 600px; width: 90%; }
.search-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.search-logo { height: 24px; }
.close-search { background: none; border: none; color: #fff; cursor: pointer; padding: 8px; opacity: .7; transition: opacity .2s; }
.close-search:hover { opacity: 1; }
.search-form { display: flex; gap: 0; border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; overflow: hidden; transition: border-color .3s; }
.search-form:focus-within { border-color: #95C11F; }
.search-form input { flex: 1; padding: 16px 20px; background: transparent; border: none; color: #fff; font-size: 16px; outline: none; }
.search-form input::placeholder { color: rgba(255,255,255,0.4); }
.search-form button { padding: 16px 24px; background: #95C11F; border: none; color: #14212D; cursor: pointer; display: flex; align-items: center; }

/* Delivery Mobile */
@media (max-width: 767px) {
    .delivery-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: -25px; padding: 0 12px; }
    .deliveries-grid { grid-template-columns: 1fr; padding: 0 12px; }
    .delivery-hero { padding: 40px 0 35px; }
    .delivery-hero h1 { font-size: 24px; }
    .delivery-hero p { font-size: 14px; padding: 0 20px; }
    .stat-card { padding: 18px 12px; }
    .stat-card .stat-number { font-size: 22px; }
    .stat-card .stat-icon { width: 36px; height: 36px; padding: 8px; }
    .delivery-card-header { flex-direction: column; align-items: flex-start; }
    .delivery-location span { max-width: 100%; }
    .delivery-images img { height: 160px; }
    .delivery-images.has-two img { height: 120px; }
    .delivery-product-info .product-name { font-size: 14px; }
}

@media (max-width: 480px) {
    .delivery-stats { grid-template-columns: 1fr; margin-top: -20px; }
    .deliveries-grid { padding: 0 10px; }
}

.product-stock-status { margin-bottom: 10px; }
.stock-in { display: inline-block; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.stock-out { display: inline-block; background: #fee2e2; color: #991b1b; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.product-stock-detail { margin: 15px 0; display: flex; align-items: center; gap: 8px; }
.product-stock-detail .stock-in { font-size: 14px; padding: 6px 16px; }
.product-stock-detail .stock-out { font-size: 14px; padding: 6px 16px; }
.stock-icon { width: 20px; height: 20px; }
.stock-icon.in { color: #166534; }
.stock-icon.out { color: #991b1b; }
.product-price-large { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 15px 0; }
.price-large-old { font-size: 20px; color: #999; text-decoration: line-through; font-weight: 500; }
.price-large-current { font-size: 28px; font-weight: 800; color: var(--dark); }
.price-large-discount-badge { background: var(--danger); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.price-info-text { font-size: 13px; color: var(--text-muted); width: 100%; margin-top: -5px; }
.product-description-tabs { margin-top: 50px; border-top: 1px solid var(--border); padding-top: 30px; }
.tab-buttons { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 25px; }
.tab-btn { padding: 12px 28px; font-size: 15px; font-weight: 600; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: all 0.2s; }
.tab-btn:hover { color: var(--dark); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content p { line-height: 1.8; color: var(--text); font-size: 14px; white-space: pre-line; }
.tab-content .no-info { color: var(--text-muted); font-style: italic; padding: 20px 0; }
.cart-popup-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.3s; }
.cart-popup-overlay.active { opacity: 1; visibility: visible; }
.cart-popup-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); background: #fff; border-radius: 16px; padding: 35px 30px 25px; width: 380px; max-width: 90vw; z-index: 10001; text-align: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.cart-popup-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.cart-popup-icon { width: 60px; height: 60px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.cart-popup-icon svg { width: 30px; height: 30px; color: #22c55e; }
.cart-popup-modal h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.cart-popup-modal .cart-popup-product-name { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.cart-popup-modal .cart-popup-detail { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cart-popup-modal .cart-popup-detail svg { width: 16px; height: 16px; }
.cart-popup-buttons { display: flex; flex-direction: column; gap: 10px; }
.cart-popup-btn { padding: 14px 20px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cart-popup-btn.primary { background: var(--primary, #95C11F); color: #fff; border: none; }
.cart-popup-btn.primary:hover { background: var(--primary-dark, #7da319); }
.cart-popup-btn.secondary { background: transparent; color: var(--dark); border: 2px solid var(--border); }
.cart-popup-btn.secondary:hover { background: var(--bg); }
.cart-popup-close { position: absolute; top: 12px; right: 12px; background: none; border: none; cursor: pointer; padding: 4px; color: #999; transition: color 0.2s; }
.cart-popup-close:hover { color: #333; }


/* ===== MOBILE MENU IMPROVEMENTS ===== */
@media (max-width: 991px) {
.header-mobile { display: flex !important; align-items: center; justify-content: space-between; padding: 10px 16px; background: #14212D; position: relative; z-index: 100; }
.header-mobile .mobile-btn { background: none; border: none; color: white; padding: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.mobile-actions { display: flex; align-items: center; gap: 4px; }
.cart-badge.mobile-cart-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; background: #95C11F; color: #14212D; font-size: 11px; font-weight: 700; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
}
.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 998; }
.overlay.active { display: block; }
.mobile-menu { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: #14212D; z-index: 999; transition: left 0.3s ease; overflow-y: auto; box-shadow: 2px 0 20px rgba(0,0,0,0.3); }
.mobile-menu.active { left: 0; }
.mobile-menu-top { display: flex; justify-content: flex-end; padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.close-menu { background: none; border: none; color: white; cursor: pointer; padding: 8px; }
.mobile-nav { padding: 8px 0; }
.mobile-nav a { display: block; padding: 14px 24px; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 500; border-left: 3px solid transparent; transition: all 0.2s; }
.mobile-nav a:hover { background: rgba(149,193,31,0.1); border-left-color: #95C11F; color: #95C11F; }
.nav-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 8px 16px; }

/* Cart popup */
.cart-popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; }
.cart-popup-overlay.active { display: block; }
.cart-popup-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background: white; border-radius: 16px; padding: 40px; text-align: center; z-index: 2001; min-width: 320px; max-width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.cart-popup-modal.active { display: block; }
.cart-popup-close { position: absolute; top: 12px; right: 12px; background: none; border: none; cursor: pointer; padding: 8px; color: #999; }
.cart-popup-modal h3 { font-size: 22px; font-weight: 700; color: #14212D; margin-bottom: 8px; }
.cart-popup-modal .cart-popup-product-name { font-size: 15px; color: #555; margin-bottom: 12px; }
.cart-popup-modal .cart-popup-detail { font-size: 14px; color: #95C11F; font-weight: 600; margin-bottom: 20px; }
.cart-popup-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cart-popup-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; border: none; transition: all 0.2s; }
.cart-popup-btn.primary { background: #95C11F; color: #14212D; }
.cart-popup-btn.secondary { background: #f0f0f0; color: #333; }

/* Cart mobile */
@media (max-width: 768px) {
.cart-layout { flex-direction: column; }
.cart-items { width: 100%; }
.cart-summary { width: 100%; margin-top: 20px; }
.cart-item { flex-wrap: wrap; gap: 8px; padding: 12px; position: relative; }
.cart-item-image { width: 70px; height: 70px; }
.cart-item-info { flex: 1; min-width: 120px; }
.cart-item-qty { width: 100%; justify-content: center; order: 10; }
.cart-item-remove { position: absolute; top: 8px; right: 8px; }
.cart-actions { flex-direction: column; }
}
@media (max-width: 768px) {
.checkout-wrapper { flex-direction: column; }
.checkout-form { width: 100%; }
.checkout-summary { width: 100%; }
.form-row { flex-direction: column; gap: 0; }
}
@media (max-width: 768px) {
.product-detail { flex-direction: column; }
.product-gallery, .product-info-detail { width: 100%; }
.product-info-detail { padding-left: 0; margin-top: 20px; }
.product-actions { flex-direction: column; }
.add-to-cart-large { width: 100%; }
}

/* Dekont upload */
.dekont-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.dekont-upload input[type="file"] { position: absolute; opacity: 0; width: 0.1px; height: 0.1px; }
.dekont-label { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px; border: 2px dashed #ccc; border-radius: 12px; cursor: pointer; transition: all 0.3s; color: #999; text-align: center; }
.dekont-label:hover { border-color: #95C11F; color: #95C11F; }
.dekont-preview { margin-top: 12px; }

/* Payment methods */
.payment-method { border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.payment-method input[type="radio"] { display: none; }
.payment-label { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; transition: all 0.2s; }
.payment-method input[type="radio"]:checked + .payment-label { background: rgba(149,193,31,0.08); }
.payment-label strong { font-size: 15px; color: #14212D; display: block; }
.payment-label p { font-size: 12px; color: #888; margin: 0; }
