/* style.css - Alhawi Teması (Bej/Siyah Tema) - Profesyonel Tasarım */

/* ===== RESET & TEMEL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0704;
    --bg-secondary: #1a130d;
    --bg-card: #1f160e;
    --text-primary: #d4c5a0;
    --text-accent: #b8943c;
    --text-accent-dark: #9a7a2e;
    --border-color: #4a3729;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 50px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--text-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-accent-dark);
}

/* ===== TYPOGRAPHY ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

a:hover {
    color: var(--text-accent);
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: var(--text-primary);
    position: relative;
    text-shadow: 0 0 20px rgba(184, 148, 60, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
    border-radius: 2px;
}

/* ===== NOTIFICATION ===== */
.notification {
    display: none;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    z-index: 3000;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    background: rgba(26, 19, 13, 0.95);
    color: var(--text-primary);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.notification[style*="display: block"] {
    animation: notifSlideDown 0.4s ease forwards;
}

@keyframes notifSlideDown {
    0% { opacity: 0; transform: translateX(-50%) translateY(-24px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.notification.success {
    border-color: #2e7d32;
    background: rgba(26, 58, 26, 0.95);
    color: #8bc34a;
}

.notification.error {
    border-color: #c62828;
    background: rgba(58, 26, 26, 0.95);
    color: #ef5350;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 7, 4, 0.88);
    backdrop-filter: blur(6px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 28px;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(184, 148, 60, 0.15);
    border-top: 3px solid var(--text-accent);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: rgba(10, 7, 4, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(74, 55, 41, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(10, 7, 4, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    padding: 8px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: "Amiri", "Scheherazade New", "Traditional Arabic", serif;
}

.logo span {
    color: var(--text-accent);
    font-weight: 700;
}

.logo:hover {
    color: var(--text-accent);
    transform: scale(1.03);
}

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s, transform 0.3s;
    position: relative;
    cursor: pointer;
    padding: 5px 10px;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--text-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--text-accent);
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links .auth-link {
    color: var(--text-accent);
    border: 1.5px solid var(--text-accent);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    font-size: 11px;
    background: transparent;
    font-weight: 600;
}

.nav-links .auth-link::after {
    display: none;
}

.nav-links .auth-link:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(184, 148, 60, 0.25);
}

.cart-btn {
    position: relative;
    padding: 5px 12px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.cart-btn:hover {
    border-color: var(--text-accent);
    color: var(--text-accent);
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(184, 148, 60, 0.12);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--text-accent);
    color: var(--bg-primary);
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bg-primary);
    padding: 0 3px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 3px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 30% 20%, #1f160e, #0a0704 80%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="%23b8943c" stroke-width="0.5"/><path d="M40 40 L60 40 L60 60 L40 60 Z" fill="none" stroke="%23b8943c" stroke-width="0.5"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.hero-sub {
    font-size: 16px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 28px;
    color: #b8a992;
    line-height: 1.8;
}

.hero-content .btn {
    display: inline-block;
    padding: 12px 38px;
    border: 1.5px solid var(--text-accent);
    color: var(--text-accent);
    font-size: 13px;
    transition: all 0.4s ease;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.hero-content .btn:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    box-shadow: 0 8px 40px rgba(184, 148, 60, 0.3);
    transform: scale(1.05) translateY(-2px);
}

/* ===== PRODUCTS ===== */
.products {
    background: var(--bg-secondary);
    padding: 50px 0 70px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(184, 148, 60, 0.08);
}

.product-card .product-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-card .product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 7, 4, 0.8), transparent);
    pointer-events: none;
}

.product-card .product-info {
    padding: 16px 20px 20px;
    text-align: center;
    background: var(--bg-card);
}

.product-card .product-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.product-card .product-info .price {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-accent);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 6px 18px;
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    min-width: 40px;
}

.page-btn:hover {
    border-color: var(--text-accent);
    color: var(--text-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(184, 148, 60, 0.12);
}

.page-btn.active {
    background: var(--text-accent);
    color: var(--bg-primary);
    border-color: var(--text-accent);
    box-shadow: 0 4px 20px rgba(184, 148, 60, 0.25);
}

/* ===== MODALS ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: linear-gradient(160deg, #1f160e, #0d0a06);
    border: 1px solid rgba(184, 148, 60, 0.25);
    max-width: 540px;
    width: 100%;
    padding: 28px 30px 34px;
    border-radius: var(--radius);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 80px rgba(184, 148, 60, 0.05);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    opacity: 0;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 14px;
    color: var(--text-primary);
    background: #000000;
    border: 1px solid rgba(184, 148, 60, 0.25);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-close:hover {
    background: rgba(184, 148, 60, 0.2);
    border-color: var(--text-accent);
    color: var(--text-accent);
    transform: rotate(90deg) scale(1.08);
}

/* ===== PRODUCT MODAL ===== */
.modal-product-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 16px;
}

.modal-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-primary);
    box-shadow: 0 0 40px rgba(184, 148, 60, 0.12);
}

.modal-product-image .modal-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.modal-product-image .modal-image-item.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 19, 13, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(184, 148, 60, 0.3);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.modal-image-nav:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    border-color: var(--text-accent);
    box-shadow: 0 4px 24px rgba(184, 148, 60, 0.25);
}

.modal-image-nav.left { left: -10px; }
.modal-image-nav.right { right: -10px; }

.modal-image-nav svg {
    width: 24px;
    height: 24px;
}

.product-info-main {
    width: 100%;
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    margin: 0;
    text-shadow: 0 0 40px rgba(184, 148, 60, 0.1);
}

.live-viewing-visitors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #6b5d4e;
    font-size: 12px;
    margin: 6px auto 12px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-full);
    border: 1px solid rgba(74, 55, 41, 0.2);
    width: fit-content;
}

.live-viewing-visitors .count {
    color: var(--text-accent);
    font-weight: 700;
    font-size: 13px;
}

.product-add-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-price {
    font-size: 24px;
    color: #f0d080;
    text-align: center;
    padding: 2px 0;
    font-weight: 700;
}

.modal-description {
    color: #d4c8b0;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    padding: 6px 0;
    font-weight: 300;
}

.modal-product-code {
    text-align: center;
    font-size: 12px;
    color: #6b5d4e;
    margin-bottom: 6px;
}

.modal-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 1.5px solid var(--text-accent);
    color: var(--text-accent);
    font-size: 13px;
    transition: all 0.4s ease;
    cursor: pointer;
    border-radius: var(--radius-full);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 148, 60, 0.08), transparent);
    transition: left 0.7s ease;
}

.modal-btn:hover::before {
    left: 100%;
}

.modal-btn:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    box-shadow: 0 8px 40px rgba(184, 148, 60, 0.2);
    transform: scale(1.03);
}

.modal-btn:active {
    transform: scale(0.97);
}

.offer-btn {
    border-color: var(--text-accent) !important;
    color: var(--text-accent) !important;
    background: transparent !important;
}

.offer-btn:hover {
    background: var(--text-accent) !important;
    color: var(--bg-primary) !important;
    border-color: var(--text-accent) !important;
    box-shadow: 0 8px 40px rgba(184, 148, 60, 0.2) !important;
}

/* Yan yana modal butonları */
.modal-buttons-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 4px;
}

.modal-buttons-row .modal-btn {
    flex: 1;
    margin: 0;
}

/* ===== CART MODAL ===== */
.cart-modal .modal-content {
    max-width: 560px;
    padding: 28px 24px;
}

.cart-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.cart-items {
    margin: 16px 0;
    max-height: 320px;
    overflow-y: auto;
}

.cart-items::-webkit-scrollbar {
    width: 4px;
}
.cart-items::-webkit-scrollbar-thumb {
    background: var(--text-accent);
    border-radius: 4px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(74, 55, 41, 0.3);
    gap: 8px;
}

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

.cart-item-img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 600;
}

.cart-item-price {
    color: var(--text-accent);
    font-weight: 600;
    font-size: 13px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.cart-item-actions button {
    background: none;
    border: 1px solid rgba(74, 55, 41, 0.4);
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-actions button:hover {
    border-color: #8b0000;
    color: #8b0000;
    background: rgba(139, 0, 0, 0.1);
    transform: scale(1.05);
}

.cart-total {
    text-align: left;
    padding: 12px 0;
    border-top: 2px solid rgba(74, 55, 41, 0.3);
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

.cart-total span {
    font-size: 20px;
    color: var(--text-accent);
    font-weight: 700;
}

.cart-empty {
    text-align: center;
    color: #6b5d4e;
    padding: 24px 0;
    font-size: 14px;
}

.cart-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 12px;
}

.cart-actions .modal-btn {
    flex: 1;
    text-align: center;
    padding: 10px 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cart-actions .modal-btn svg {
    flex-shrink: 0;
}

/* ===== PAYMENT MODAL ===== */
.payment-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.payment-option {
    padding: 14px 18px;
    background: rgba(184, 148, 60, 0.08);
    border: 1px solid rgba(184, 148, 60, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.payment-option:hover {
    background: rgba(184, 148, 60, 0.2);
    border-color: var(--text-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.payment-option:active {
    transform: scale(0.97);
}

.iban-info,
.cash-confirm {
    display: none;
    background: rgba(184, 148, 60, 0.05);
    border: 1px solid rgba(184, 148, 60, 0.2);
    border-radius: var(--radius-sm);
    padding: 18px 16px;
    margin-top: 14px;
    animation: fadeInUp 0.4s ease;
}

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

.iban-label {
    font-size: 10px;
    color: #6b5d4e;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.iban-number {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-accent);
    margin: 4px 0 2px;
    font-family: 'Courier New', monospace;
}

.iban-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.iban-note {
    font-size: 11px;
    color: #6b5d4e;
    margin: 6px 0 10px;
}

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

.cash-text {
    font-size: 13px;
    color: #b8a992;
    margin-bottom: 12px;
}

.payment-confirm-btn,
.cash-confirm-btn {
    padding: 8px 24px;
    background: var(--text-accent);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.payment-confirm-btn:hover,
.cash-confirm-btn:hover {
    background: #d4a83c;
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(184, 148, 60, 0.3);
}

/* ===== ADDRESS MODAL ===== */
.address-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.address-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-form input,
.address-form textarea {
    width: 100%;
    padding: 10px 16px;
    background: rgba(10, 7, 4, 0.6);
    border: 1.5px solid rgba(74, 55, 41, 0.5);
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
}

.address-form input:focus,
.address-form textarea:focus {
    border-color: var(--text-accent);
    box-shadow: 0 0 20px rgba(184, 148, 60, 0.05);
    background: rgba(10, 7, 4, 0.8);
}

.address-form textarea {
    resize: vertical;
    min-height: 60px;
}

.address-form .btn-submit,
.auth-form .btn-submit {
    padding: 12px;
    background: transparent;
    border: 1.5px solid var(--text-accent);
    color: var(--text-accent);
    font-size: 13px;
    transition: all 0.4s ease;
    cursor: pointer;
    border-radius: var(--radius-full);
    width: 100%;
    font-weight: 600;
}

.address-form .btn-submit:hover,
.auth-form .btn-submit:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    box-shadow: 0 8px 40px rgba(184, 148, 60, 0.2);
    transform: translateY(-2px);
}

.address-list {
    margin: 12px 0;
}

.address-item {
    padding: 10px 16px;
    border: 1px solid rgba(74, 55, 41, 0.3);
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.address-item:hover {
    border-color: var(--text-accent);
    background: rgba(184, 148, 60, 0.03);
}

.address-item .address-label {
    color: var(--text-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.address-item .address-text {
    margin-top: 3px;
    color: #b8a992;
    font-size: 13px;
}

.address-empty {
    text-align: center;
    color: #6b5d4e;
    padding: 12px 0;
    font-size: 13px;
}

/* ===== AUTH MODAL ===== */
.auth-modal .auth-tabs {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(74, 55, 41, 0.3);
}

.auth-modal .auth-tab {
    padding: 8px 28px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    margin-bottom: -2px;
}

.auth-modal .auth-tab.active {
    color: var(--text-accent);
    border-bottom-color: var(--text-accent);
}

.auth-modal .auth-tab:hover {
    color: var(--text-accent);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.auth-form.active {
    display: flex;
}

.auth-form input {
    width: 100%;
    padding: 10px 16px;
    background: rgba(10, 7, 4, 0.6);
    border: 1.5px solid rgba(74, 55, 41, 0.5);
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
}

.auth-form input:focus {
    border-color: var(--text-accent);
    box-shadow: 0 0 20px rgba(184, 148, 60, 0.05);
    background: rgba(10, 7, 4, 0.8);
}

/* ===== CONTACT ===== */
.contact {
    padding: 50px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-accent);
}

.contact-info p {
    color: #b8a992;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.contact-info .detail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #b8a992;
}

.contact-info .detail span {
    font-size: 16px;
    min-width: 24px;
    color: var(--text-accent);
}

.contact-info .detail a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info .detail a:hover {
    color: var(--text-accent);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 12px;
    background: rgba(10, 7, 4, 0.6);
    border: 1.5px solid rgba(74, 55, 41, 0.5);
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--text-accent);
    box-shadow: 0 0 20px rgba(184, 148, 60, 0.05);
    background: rgba(10, 7, 4, 0.8);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form .btn-submit {
    padding: 12px;
    background: transparent;
    border: 1.5px solid var(--text-accent);
    color: var(--text-accent);
    font-size: 13px;
    transition: all 0.4s ease;
    cursor: pointer;
    border-radius: var(--radius-full);
    width: 100%;
    font-weight: 600;
}

.contact-form .btn-submit:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    box-shadow: 0 8px 40px rgba(184, 148, 60, 0.2);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    padding: 24px 0;
    text-align: center;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: #6b5d4e;
}

footer span {
    color: var(--text-accent);
    font-weight: 700;
}

/* ===== PROFILE MODAL ===== */
.profile-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-info {
    margin: 16px 0;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(74, 55, 41, 0.2);
}

.profile-label {
    color: #6b5d4e;
    font-size: 12px;
    font-weight: 500;
}

.profile-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 13px;
}

.profile-address-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1.5px solid rgba(74, 55, 41, 0.3);
}

.profile-address-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-accent);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.profile-address-list {
    margin: 6px 0;
}

.profile-address-item {
    padding: 8px 12px;
    border: 1px solid rgba(74, 55, 41, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.profile-address-item:hover {
    border-color: var(--text-accent);
    background: rgba(184, 148, 60, 0.03);
}

.profile-address-label {
    color: var(--text-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.profile-address-text {
    margin-top: 2px;
    color: #b8a992;
    font-size: 12px;
}

.profile-address-empty {
    text-align: center;
    color: #6b5d4e;
    padding: 8px 0;
    font-size: 12px;
}

.profile-address-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: transparent;
    border: 1.5px solid var(--text-accent);
    color: var(--text-accent);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.profile-address-btn:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    box-shadow: 0 8px 32px rgba(184, 148, 60, 0.2);
    transform: scale(1.03);
}

/* ===== ORDERS MODAL ===== */
.orders-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.orders-list {
    max-height: 450px;
    overflow-y: auto;
}

.orders-list::-webkit-scrollbar {
    width: 4px;
}
.orders-list::-webkit-scrollbar-thumb {
    background: var(--text-accent);
    border-radius: 4px;
}

.order-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(74, 55, 41, 0.3);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: var(--text-accent);
    background: rgba(184, 148, 60, 0.03);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(74, 55, 41, 0.2);
}

.order-id {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-accent);
}

.order-date {
    font-size: 11px;
    color: #6b5d4e;
}

.order-items {
    margin: 8px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(74, 55, 41, 0.1);
}

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

.order-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-item-img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.order-item-name {
    font-size: 12px;
    font-weight: 500;
}

.order-item-qty {
    font-size: 11px;
    color: #6b5d4e;
}

.order-item-price {
    font-size: 12px;
    color: var(--text-accent);
    font-weight: 600;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(74, 55, 41, 0.2);
    flex-wrap: wrap;
    gap: 4px;
}

.order-footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-address {
    font-size: 11px;
    color: #b8a992;
}

.order-payment {
    font-size: 11px;
    color: #b8a992;
}

.order-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-accent);
}

.order-status {
    margin-top: 8px;
    font-size: 12px;
    color: #b8a992;
    padding-top: 6px;
    border-top: 1px solid rgba(74, 55, 41, 0.1);
}

.order-status span {
    font-weight: 600;
}

.orders-empty {
    text-align: center;
    color: #6b5d4e;
    padding: 30px 0;
    font-size: 14px;
}

/* ===== SUCCESS MODAL ===== */
.success-content {
    text-align: center;
    padding: 12px 0;
}

.success-content h2 {
    font-size: 22px;
    color: var(--text-accent);
    margin-bottom: 10px;
}

.success-content p {
    font-size: 14px;
    color: #b8a992;
}

/* ===== NO PRODUCTS ===== */
.no-products {
    text-align: center;
    color: #6b5d4e;
    padding: 2.5rem 0;
    font-size: 14px;
    grid-column: 1 / -1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-logo { max-width: 220px; }
    .hero { min-height: 42vh; padding: 90px 0 40px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 28px; }
    .logo { font-size: 24px; }

    .nav-links { gap: 2px; }
    .nav-links a { font-size: 10px; padding: 3px 6px; }
    .nav-links .auth-link { font-size: 10px; padding: 3px 12px; }

    .modal-product-image-wrapper { max-width: 480px; }
    .modal-image-nav { width: 40px; height: 40px; }
    .modal-image-nav svg { width: 20px; height: 20px; }
    .modal-image-nav.left { left: -8px; }
    .modal-image-nav.right { right: -8px; }

    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 7, 4, 0.98);
        backdrop-filter: blur(12px);
        padding: 20px 0 24px;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        gap: 2px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    .nav-links.active { display: flex; gap: 10px; }

    .nav-links li { justify-content: center; }
    .nav-links a { font-size: 14px; padding: 8px 16px; }
    .nav-links .auth-link { font-size: 12px; padding: 8px 24px; }

    .hamburger { display: flex; }

    .hero { min-height: 38vh; padding: 80px 0 32px; }
    .hero-logo { max-width: 180px; }
    .hero-sub { font-size: 14px; }
    .section-title { font-size: 26px; }
    .logo { font-size: 22px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .product-card .product-info { padding: 12px 14px 16px; }
    .product-card .product-info h3 { font-size: 13px; }
    .product-card .product-info .price { font-size: 15px; }

    .modal-content { padding: 20px 16px; margin: 6px; border-radius: var(--radius-sm); }
    .modal-product-image-wrapper { max-width: 420px; }
    .modal-image-nav { width: 36px; height: 36px; }
    .modal-image-nav svg { width: 18px; height: 18px; }
    .modal-image-nav.left { left: -6px; }
    .modal-image-nav.right { right: -6px; }
    .page-title { font-size: 20px; }
    .modal-price { font-size: 20px; }
    .modal-description { font-size: 12px; }
    .modal-btn { padding: 10px; font-size: 12px; }
    .modal-close { width: 28px; height: 28px; font-size: 14px; top: 8px; left: 8px; }

    .modal-buttons-row { gap: 6px; }

    .cart-modal .modal-content { padding: 16px 12px; }
    .cart-item { flex-wrap: wrap; gap: 4px; }
    .cart-item-left { flex: 1; min-width: 70px; }
    .cart-item-name { font-size: 12px; }
    .cart-item-price { font-size: 12px; }
    .cart-item-actions button { width: 26px; height: 26px; }
    .cart-item-img { width: 38px; height: 38px; }

    .auth-form input { padding: 8px 12px; font-size: 12px; }

    .payment-option { font-size: 13px; padding: 12px; }
    .payment-confirm-btn, .cash-confirm-btn { font-size: 12px; padding: 8px 20px; }

    .loading-spinner { width: 40px; height: 40px; }

    .order-footer { flex-direction: column; align-items: flex-start; }
    .order-total { align-self: flex-end; }
}

@media (max-width: 480px) {
    .hero { min-height: 32vh; padding: 70px 0 24px; }
    .hero-logo { max-width: 150px; }
    .container { padding: 0 10px; }
    .section-title { font-size: 22px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .product-card .product-info { padding: 8px 6px 12px; }
    .product-card .product-info h3 { font-size: 11px; }
    .product-card .product-info .price { font-size: 13px; }

    .modal-product-image-wrapper { max-width: 340px; }
    .modal-image-nav { width: 30px; height: 30px; }
    .modal-image-nav svg { width: 15px; height: 15px; }
    .modal-image-nav.left { left: -2px; }
    .modal-image-nav.right { right: -2px; }
    .page-title { font-size: 18px; }
    .modal-price { font-size: 18px; }
    .modal-description { font-size: 11px; }
    .modal-btn { font-size: 11px; padding: 8px; }

    .modal-buttons-row { gap: 4px; }

    .cart-item { flex-direction: row; align-items: center; }
    .cart-item-actions { width: auto; justify-content: flex-end; }
    .cart-item-img { width: 32px; height: 32px; }

    .nav-links a { font-size: 13px; padding: 6px 14px; }
    .nav-links .auth-link { font-size: 11px; padding: 6px 18px; }

    .live-viewing-visitors { font-size: 10px; padding: 2px 10px; }

    .payment-option { font-size: 12px; padding: 10px; }
    #ibanInfo div, #cashConfirm div { font-size: 12px; }

    .loading-spinner { width: 36px; height: 36px; }

    .page-btn { font-size: 11px; padding: 4px 12px; min-width: 32px; }

    .order-item { flex-direction: column; align-items: flex-start; gap: 2px; }
    .order-item-price { align-self: flex-end; }
    .order-footer-left { width: 100%; }
    .order-total { align-self: flex-start; width: 100%; text-align: left; }

    .profile-address-btn { font-size: 11px; padding: 4px 14px; }
}