: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 {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.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%); }
}

.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;
}

.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 {
    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 {
    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 {
    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 {
    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 {
    padding: 30px 0 50px;
    min-height: 60vh;
}

.page-title {
    margin-bottom: 25px;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.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);
}

.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-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 {
    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-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-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 {
    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-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-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 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control.error {
    border-color: var(--danger);
}

.error-text {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.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-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;
}

.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 {
    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;
}

.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 {
    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 {
    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 {
    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 {
    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-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 {
    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 {
    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 {
    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);
}

@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;
    }
}

@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;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@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;
    }
    

    .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;
    }

    .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-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-sidebar {
        order: -1;
    }
    

    .cart-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .cart-summary {
        position: static !important;
    }

    .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;
    }
}