/**
 * Sanat Kitabevi - Dark Luxury Antiquarian Theme
 * Koyu arka plan + altin pariltili doku
 */

/* ======================================
   CSS VARIABLES
   ====================================== */
:root {
    --black: #0d0d0d;
    --black-soft: #1a1714;
    --black-light: #2a2520;
    --gold: #c9a227;
    --gold-light: #dbb840;
    --gold-dark: #a88520;
    --gold-muted: #8a7535;
    --gold-glow: rgba(201,162,39,0.25);
    --gold-border: rgba(201,162,39,0.4);
    --cream: #f5f0e0;
    --cream-dark: #e8dfc8;
    --warm-white: #faf6ec;
    --bg-body: #0e0c0a;
    --bg-card: rgba(255,255,255,0.95);
    --bg-card-solid: #fefcf7;
    --bg-dark-panel: rgba(15,13,10,0.85);
    --bg-dark-panel-solid: rgba(20,18,14,0.92);
    --text-dark: #1a1a1a;
    --text-medium: #555;
    --text-light: #999;
    --text-on-dark: rgba(255,255,255,0.85);
    --text-on-dark-muted: rgba(255,255,255,0.5);
    --border: rgba(201,162,39,0.2);
    --border-light: rgba(201,162,39,0.1);
    --border-gold: rgba(201,162,39,0.5);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-gold: 0 0 20px rgba(201,162,39,0.15);
    --radius: 8px;
    --radius-sm: 5px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --font-main: 'Segoe UI', Tahoma, Geneva, sans-serif;
    --font-serif: Georgia, 'Palatino Linotype', 'Times New Roman', serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gold-strip: linear-gradient(90deg,
        transparent 0%,
        rgba(201,162,39,0.1) 10%,
        rgba(201,162,39,0.6) 30%,
        rgba(220,190,80,0.8) 50%,
        rgba(201,162,39,0.6) 70%,
        rgba(201,162,39,0.1) 90%,
        transparent 100%
    );
}

/* ======================================
   RESET & BASE
   ====================================== */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-on-dark);
    background: var(--bg-body);
    background-image: url('/tr/images/background-img1.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; }

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

/* ======================================
   METALLIC GOLD STRIP — yatay altin cizgi
   ====================================== */
.gold-strip {
    height: 2px;
    background: var(--gold-strip);
    position: relative;
}
.gold-strip::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(180deg, rgba(201,162,39,0.15) 0%, transparent 100%);
}

/* ======================================
   HEADER — koyu, transparan
   ====================================== */
.site-header {
    background: linear-gradient(180deg, rgba(12,10,8,0.95) 0%, rgba(15,13,10,0.88) 100%);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border);
}
.header-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 18px 0 0;
    min-height: 110px;
}
.header-left { flex: 1; padding-bottom: 16px; }
.header-title-link { display: block; text-decoration: none; }
.header-title-link:hover { text-decoration: none; }
.header-title-link h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 700;
    font-style: italic;
    color: var(--cream);
    margin: 0;
    line-height: 1.05;
    text-shadow: 0 2px 20px rgba(201,162,39,0.3);
}
.header-title-link p {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--gold-muted);
    margin: 6px 0 0 2px;
    font-style: italic;
    letter-spacing: 2px;
}
.header-user { margin-top: 10px; font-size: 13px; color: var(--text-on-dark-muted); }
.header-user strong { color: var(--gold); margin-right: 10px; }
.header-user a {
    color: var(--gold-dark);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition);
}
.header-user a:hover { background: var(--gold); color: var(--black); }

/* Logo — 2 seride birden oturur */
.header-logo-link {
    position: relative;
    z-index: 25;
    flex-shrink: 0;
    margin-bottom: -115px;
    margin-right: 10px;
    transition: transform var(--transition);
    filter: drop-shadow(0 4px 24px rgba(201,162,39,0.25));
}
.header-logo-link:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 32px rgba(201,162,39,0.4));
}
.header-logo-wrap { /* cercevesiz */ }
.header-logo-img { display: block; width: 195px; height: auto; }

/* ======================================
   NAVIGATION — altin gradient serit
   ====================================== */
.site-nav {
    background: linear-gradient(180deg, #dbb840 0%, #c9a227 40%, #a88520 100%);
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255,220,100,0.4);
    border-bottom: 1px solid rgba(120,90,20,0.6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 2px 8px rgba(0,0,0,0.3);
}
/* ust parlak cizgi */
.site-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255,240,160,0.5) 50%, transparent 95%);
}
/* alt golge cizgi */
.site-nav::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 100%);
}
.nav-inner { display: flex; align-items: center; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    color: rgba(30,20,5,0.75);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}
.nav-link i { font-size: 16px; color: rgba(30,20,5,0.5); transition: all var(--transition); }
.nav-link:hover {
    color: #1a1000;
    background: rgba(255,255,255,0.12);
    border-bottom-color: rgba(30,20,5,0.5);
    text-decoration: none;
}
.nav-link:hover i { color: #1a1000; }

/* ======================================
   SEARCH BAR — koyu panel, altin kenarlar
   ====================================== */
.search-bar {
    background: linear-gradient(180deg, #161310 0%, #1a1714 100%);
    padding: 14px 0;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--border-gold);
}
.search-bar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold-strip);
}
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 220px);
}
.search-form > label:first-of-type { display: none; }
.search-input-wrap {
    flex: 1;
    position: relative;
}
.search-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
    pointer-events: none;
}
.search-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    font-size: 16px;
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: var(--radius);
    background: rgba(255,250,235,0.92);
    color: var(--text-dark);
    outline: none;
    transition: all var(--transition);
    font-family: var(--font-main);
}
.search-input::placeholder { color: #999; }
.search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow), var(--shadow-gold);
    background: rgba(255,252,245,0.97);
}
.search-options {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.search-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-on-dark-muted);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}
.search-checkbox:hover { color: var(--gold-light); }
.search-checkbox input[type="checkbox"] {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
}
.search-btn {
    padding: 12px 28px;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--black);
    border: 1px solid rgba(255,220,100,0.3);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.search-btn:hover {
    background: linear-gradient(180deg, #e8cc50 0%, var(--gold-light) 50%, var(--gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201,162,39,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.search-btn i { margin-right: 5px; }
.search-advanced {
    color: var(--text-on-dark-muted);
    font-size: 12px;
    white-space: nowrap;
    font-weight: 500;
}
.search-advanced:hover { color: var(--gold-light); }

@media (max-width: 768px) {
    .search-form { flex-wrap: wrap; max-width: 100%; }
    .search-input-wrap { min-width: 100%; }
    .search-options { width: 100%; justify-content: space-between; }
}

/* ======================================
   MAIN CONTENT — 3 Kolon
   ====================================== */
.main-content {
    display: grid;
    grid-template-columns: 250px 1fr 190px;
    gap: 24px;
    padding: 28px 0;
}
@media (max-width: 1024px) {
    .main-content { grid-template-columns: 230px 1fr; }
    .sidebar-right { display: none; }
}
@media (max-width: 768px) {
    .main-content { grid-template-columns: 1fr; }
    .sidebar-right { display: flex; }
}
.content-area { min-width: 0; }

.sidebar-left { position: sticky; top: 20px; align-self: start; }

.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 20px;
    align-self: start;
}
.sidebar-right a {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid var(--border-gold);
}
.sidebar-right a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--shadow-gold); }
.sidebar-right img { display: block; width: 100%; height: auto; }

/* ======================================
   SIDEBAR MENU — koyu panel, altin vurgular
   ====================================== */
.sidebar-menu {
    background: var(--bg-dark-panel-solid);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
}
.sidebar-menu-header {
    background: linear-gradient(135deg, rgba(201,162,39,0.15) 0%, rgba(201,162,39,0.05) 100%);
    border-bottom: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-menu-header i { font-size: 16px; color: var(--gold-light); }
.sidebar-menu-body {
    padding: 4px 0;
    max-height: 65vh;
    overflow-y: auto;
}
.sidebar-menu-body::-webkit-scrollbar { width: 5px; }
.sidebar-menu-body::-webkit-scrollbar-track { background: transparent; }
.sidebar-menu-body::-webkit-scrollbar-thumb { background: var(--gold-muted); border-radius: 10px; }

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: var(--text-on-dark);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(201,162,39,0.08);
    transition: all var(--transition);
    text-decoration: none;
}
.sidebar-menu-item:last-child { border-bottom: none; }
.sidebar-menu-item i {
    font-size: 13px; width: 20px; text-align: center;
    color: var(--gold-dark); opacity: 0.6;
    transition: all var(--transition); flex-shrink: 0;
}
.sidebar-menu-item .menu-arrow {
    margin-left: auto; font-size: 9px; color: var(--gold-muted);
    transition: all var(--transition); flex-shrink: 0; opacity: 0.4;
}
.sidebar-menu-item:hover {
    background: rgba(201,162,39,0.1); color: var(--gold-light);
    padding-left: 20px; text-decoration: none;
}
.sidebar-menu-item:hover i { opacity: 1; color: var(--gold); }
.sidebar-menu-item:hover .menu-arrow { color: var(--gold); opacity: 1; transform: translateX(3px); }
.sidebar-menu-item.active {
    background: linear-gradient(90deg, rgba(201,162,39,0.2) 0%, rgba(201,162,39,0.05) 100%);
    color: var(--gold-light);
    border-left: 3px solid var(--gold);
}
.sidebar-menu-item.active i { color: var(--gold); opacity: 1; }
.sidebar-menu-item.active .menu-arrow { color: var(--gold); opacity: 0.6; }
.sidebar-menu-item.active:hover { background: rgba(201,162,39,0.15); padding-left: 20px; }

.sidebar-submenu {
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(201,162,39,0.08);
}
.sidebar-submenu-item {
    display: block; padding: 9px 16px 9px 46px; color: var(--text-on-dark-muted);
    font-size: 12px; font-weight: 500; border-bottom: 1px solid rgba(201,162,39,0.04);
    transition: all var(--transition); text-decoration: none; position: relative;
}
.sidebar-submenu-item::before {
    content: ''; position: absolute; left: 30px; top: 50%; transform: translateY(-50%);
    width: 5px; height: 5px; border-radius: 50%; background: var(--gold-muted);
    transition: all var(--transition); opacity: 0.4;
}
.sidebar-submenu-item:hover {
    background: rgba(201,162,39,0.12); color: var(--gold-light); text-decoration: none;
}
.sidebar-submenu-item:hover::before { background: var(--gold); opacity: 1; }
.sidebar-submenu-item.active { color: var(--gold-light); font-weight: 600; }
.sidebar-submenu-item.active::before { background: var(--gold); opacity: 1; }
.sidebar-submenu-item:last-child { border-bottom: none; }

/* ======================================
   SECTION HEADERS
   ====================================== */
.section-header {
    display: flex; align-items: center; margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border); position: relative;
}
.section-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0;
    width: 60px; height: 2px; background: var(--gold);
}
.section-header h2 {
    font-family: var(--font-serif); font-size: 22px;
    font-weight: 700; color: var(--cream); margin: 0;
    font-style: italic;
    text-shadow: 0 1px 8px rgba(201,162,39,0.2);
}

/* ======================================
   PRODUCT CARDS — VITRIN
   ====================================== */
.product-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px; margin-bottom: 35px;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); overflow: hidden;
    transition: all var(--transition); border: 1px solid var(--border-gold);
}
.product-card:hover {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(201,162,39,0.15);
    transform: translateY(-5px);
    border-color: var(--gold);
}
.product-card-img {
    height: 200px; display: flex; align-items: center; justify-content: center;
    background: #faf8f2; padding: 14px; overflow: hidden;
}
.product-card-img img {
    max-height: 175px; max-width: 100%; object-fit: contain;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 14px 16px 16px; background: var(--bg-card-solid); }
.product-card-title {
    font-size: 13px; font-weight: 600; color: var(--text-dark);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.45; min-height: 38px;
    text-decoration: none; transition: color var(--transition);
}
.product-card-title:hover { color: var(--gold-dark); text-decoration: none; }
.product-card-author {
    font-size: 12px; color: var(--text-light); margin-top: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-card-price {
    font-size: 16px; font-weight: 700; color: var(--gold-dark); margin-top: 8px;
}

/* ======================================
   FILTER TABS
   ====================================== */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.filter-tab {
    padding: 7px 22px; border-radius: 25px; font-family: var(--font-main);
    font-size: 13px; font-weight: 600; color: var(--text-on-dark-muted);
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    transition: all var(--transition); cursor: pointer; text-decoration: none;
}
.filter-tab:hover {
    background: rgba(201,162,39,0.15); color: var(--gold-light);
    border-color: var(--gold); text-decoration: none; transform: translateY(-1px);
}
.filter-tab.active {
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black); border-color: var(--gold);
    box-shadow: 0 3px 12px rgba(201,162,39,0.3);
    font-weight: 700;
}

/* ======================================
   BOOK LIST (Son Gelenler)
   ====================================== */
.book-list {
    max-height: 650px; overflow-y: auto; background: var(--bg-card);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gold);
}
.book-list::-webkit-scrollbar { width: 6px; }
.book-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
.book-list::-webkit-scrollbar-thumb { background: var(--gold-muted); border-radius: 3px; }
.book-list-item {
    display: flex; gap: 14px; padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background var(--transition); text-decoration: none; color: inherit;
}
.book-list-item:hover { background: #faf6ec; text-decoration: none; color: inherit; }
.book-list-thumb {
    width: 50px; height: 68px; object-fit: contain; flex-shrink: 0;
    border-radius: 4px; background: #f5f0e5;
}
.book-list-info { flex: 1; min-width: 0; }
.book-list-title {
    font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.book-list-item:hover .book-list-title { color: var(--gold-dark); }
.book-list-meta { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.book-list-price { font-size: 14px; font-weight: 700; color: var(--gold-dark); margin-top: 5px; }
.book-list-price-old {
    font-size: 11px; color: var(--text-light); text-decoration: line-through;
    margin-right: 6px; font-weight: 400;
}
.book-list-count {
    font-size: 12px; color: var(--text-medium); padding: 10px 14px; text-align: right;
    background: #f5f0e5; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 1px solid rgba(0,0,0,0.06); font-weight: 500;
}

/* ======================================
   PRODUCT DETAIL (urun.php)
   ====================================== */
.product-detail {
    display: block;
    background: var(--bg-card); border-radius: var(--radius-xl);
    padding: 28px; box-shadow: var(--shadow-md); border: 1px solid var(--border-gold);
}
@media (max-width: 768px) { .product-detail { padding: 20px; } }
.product-detail-gallery { text-align: center; }
.product-detail-gallery .gallery-main {
    background: #faf8f2; border-radius: var(--radius-lg);
    padding: 20px; margin-bottom: 12px;
}
.product-detail-gallery .gallery-main img {
    max-height: 350px; max-width: 100%; object-fit: contain; display: block; margin: 0 auto;
}
.product-detail-gallery .gallery-thumbs {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.product-detail-gallery .gallery-thumbs a {
    border-radius: var(--radius-sm); overflow: hidden;
    border: 2px solid rgba(201,162,39,0.2); transition: border-color var(--transition);
}
.product-detail-gallery .gallery-thumbs a:hover { border-color: var(--gold); }
.product-detail-gallery .gallery-thumbs img {
    width: 70px; height: 90px; object-fit: contain; display: block;
    background: #faf8f2; padding: 4px;
}
.product-detail-info h2 {
    font-family: var(--font-serif); font-size: 24px; font-weight: 700;
    color: var(--text-dark); margin: 0 0 6px 0; line-height: 1.3;
}
.product-detail-info h3 {
    font-size: 16px; font-weight: 400; color: var(--text-light);
    margin: 0 0 20px 0; font-style: italic;
}
.product-meta-table { width: 100%; margin-bottom: 24px; }
.product-meta-table tr { border-bottom: 1px solid rgba(201,162,39,0.1); }
.product-meta-table tr:last-child { border-bottom: none; }
.product-meta-table td { padding: 8px 0; font-size: 14px; vertical-align: top; }
.product-meta-table td:first-child {
    font-weight: 700; color: var(--text-medium); width: 140px;
    padding-right: 16px; white-space: nowrap;
}
.product-meta-table td:last-child { color: var(--text-dark); }
.product-detail-price {
    font-size: 28px; font-weight: 800; color: var(--gold-dark);
    margin: 20px 0; padding: 16px 20px;
    background: linear-gradient(135deg, #fdf8eb 0%, #f8f0d0 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(201,162,39,0.3); display: inline-block;
}
.product-detail-price .price-old {
    font-size: 16px; color: var(--text-light); text-decoration: line-through;
    font-weight: 400; display: block; margin-bottom: 4px;
}
.product-detail-stock-out {
    color: #c53030; font-size: 14px; font-weight: 600;
    padding: 12px 16px; background: #fff5f5; border-radius: var(--radius);
    border: 1px solid #feb2b2; display: inline-block; margin-top: 8px;
}
.product-buy-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--black);
    border: 1px solid rgba(255,220,100,0.3);
    border-radius: var(--radius); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all var(--transition); text-decoration: none;
    box-shadow: 0 4px 14px rgba(201,162,39,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}
.product-buy-btn:hover {
    background: linear-gradient(180deg, #e8cc50 0%, var(--gold-light) 50%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,162,39,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    color: var(--black); text-decoration: none;
}
.product-buy-btn i { font-size: 16px; }
.product-buy-source { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }
.product-buy-source strong { color: var(--text-dark); }
.aciklama-icerik * { font-size: 14px !important; }
.product-detail-sku {
    font-size: 13px; color: var(--text-light); margin-top: 24px;
    padding-top: 16px; border-top: 1px solid rgba(201,162,39,0.1);
}
.product-detail-topic { margin-top: 16px; }
.product-detail-topic a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: #f5f0e0; border-radius: var(--radius);
    color: var(--text-dark); font-size: 13px; font-weight: 500;
    transition: all var(--transition); border: 1px solid rgba(201,162,39,0.15);
}
.product-detail-topic a:hover { background: var(--black); color: var(--gold); text-decoration: none; border-color: var(--gold); }
.product-detail-topic a i { font-size: 12px; }
.product-admin-btn {
    display: inline-block; padding: 8px 16px; background: #f5f0e5;
    border: 1px solid rgba(201,162,39,0.2); border-radius: var(--radius-sm);
    color: var(--text-medium); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all var(--transition); margin-top: 8px;
}
.product-admin-btn:hover { background: var(--black); color: var(--gold); border-color: var(--gold); }

/* ======================================
   CATEGORY LIST (kategori.php)
   ====================================== */
.category-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.category-header h2 {
    font-family: var(--font-serif); font-size: 22px; font-weight: 700;
    color: var(--cream); margin: 0; font-style: italic;
}
.category-count {
    font-size: 13px; color: var(--gold-muted); background: rgba(201,162,39,0.1);
    padding: 5px 14px; border-radius: 20px; font-weight: 500;
    border: 1px solid var(--border);
}
.category-list { display: flex; flex-direction: column; gap: 10px; }
.category-item {
    display: flex; gap: 16px; background: var(--bg-card); border-radius: var(--radius);
    padding: 14px 18px; border: 1px solid var(--border-gold);
    transition: all var(--transition); text-decoration: none; color: inherit; align-items: flex-start;
    box-shadow: var(--shadow-sm);
}
.category-item:hover {
    border-color: var(--gold); box-shadow: var(--shadow-md), var(--shadow-gold);
    transform: translateX(3px); text-decoration: none; color: inherit;
}
.category-item-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.category-item-meta { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.category-item-price { font-size: 15px; font-weight: 700; color: var(--gold-dark); margin-top: 6px; white-space: nowrap; }
.category-item-price .price-old {
    font-size: 12px; color: var(--text-light); text-decoration: line-through;
    margin-right: 6px; font-weight: 400;
}
.category-item-sold { color: #c53030; font-size: 12px; font-weight: 700; }
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination-label { font-size: 13px; font-weight: 700; color: var(--gold-muted); margin-right: 8px; }
.pagination a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; color: var(--text-on-dark-muted);
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    transition: all var(--transition); text-decoration: none;
}
.pagination a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); text-decoration: none; }
.pagination a.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ======================================
   ADVANCED SEARCH FORM
   ====================================== */
.search-form-advanced {
    background: var(--bg-card); border-radius: var(--radius-xl);
    padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-gold);
}
.search-form-advanced h2 {
    font-size: 20px; font-weight: 700; color: var(--text-dark);
    margin: 0 0 24px 0; padding-bottom: 12px; border-bottom: 2px solid rgba(201,162,39,0.15);
}
.form-grid {
    display: grid; grid-template-columns: 180px 1fr;
    gap: 16px 20px; align-items: center;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; gap: 8px; } }
.form-label { font-size: 14px; font-weight: 600; color: var(--text-medium); }
.form-input {
    padding: 10px 14px; font-size: 14px; font-family: var(--font-main);
    border: 2px solid rgba(201,162,39,0.2); border-radius: var(--radius);
    background: #fefcf7; color: var(--text-dark);
    transition: all var(--transition); outline: none; width: 100%; max-width: 320px;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-select {
    padding: 10px 14px; font-size: 13px; font-family: var(--font-main);
    border: 2px solid rgba(201,162,39,0.2); border-radius: var(--radius);
    background: #fefcf7; color: var(--text-dark);
    transition: all var(--transition); outline: none; max-width: 320px; width: 100%;
}
.form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-row-inline {
    display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-medium);
}
.form-row-inline .form-input { width: 80px; max-width: 80px; text-align: center; }
.form-checkbox-label {
    display: flex; align-items: center; gap: 8px; font-size: 14px;
    color: var(--text-medium); cursor: pointer;
}
.form-checkbox-label input[type="checkbox"] { accent-color: var(--gold); width: 18px; height: 18px; }
.form-submit-row { grid-column: 1 / -1; margin-top: 12px; }
.form-submit-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 36px;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--black);
    border: 1px solid rgba(255,220,100,0.3);
    border-radius: var(--radius); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all var(--transition); font-family: var(--font-main);
    box-shadow: 0 4px 14px rgba(201,162,39,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}
.form-submit-btn:hover {
    background: linear-gradient(180deg, #e8cc50 0%, var(--gold-light) 50%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,162,39,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.form-submit-btn i { font-size: 14px; }

/* ======================================
   INFO PAGES
   ====================================== */
.info-page {
    background: var(--bg-card); border-radius: var(--radius-xl);
    padding: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-gold);
}
.info-page h2 {
    font-size: 22px; font-weight: 700; color: var(--text-dark);
    margin: 0 0 20px 0; padding-bottom: 12px; border-bottom: 2px solid rgba(201,162,39,0.15);
    display: flex; align-items: center; gap: 10px;
}
.info-page h2 i { color: var(--gold-dark); }
.info-card {
    background: #faf6ec; border-radius: var(--radius); padding: 20px;
    margin-bottom: 16px; border-left: 4px solid var(--gold);
}
.info-card strong { color: var(--text-dark); }
.info-card p { margin: 8px 0; font-size: 14px; line-height: 1.7; color: var(--text-medium); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }
.info-grid-item { background: #faf6ec; border-radius: var(--radius); padding: 20px; }
.info-grid-item strong { font-size: 15px; color: var(--text-dark); display: block; margin-bottom: 8px; }
.info-map { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-md); }
.info-map img { display: block; width: 100%; height: auto; }

/* ======================================
   FOOTER
   ====================================== */
.site-footer {
    background: linear-gradient(180deg, rgba(12,10,8,0.95) 0%, rgba(8,6,4,0.98) 100%);
    color: var(--text-on-dark-muted);
    text-align: center;
    padding: 28px 24px;
    margin-top: 40px;
    font-size: 13px;
    line-height: 1.8;
    border-top: 1px solid var(--border-gold);
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold-strip);
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer strong { color: rgba(255,255,255,0.6); }

/* ======================================
   LEGACY COMPATIBILITY
   ====================================== */
.linka:link, .linka:visited { color: var(--gold); text-decoration: none; }
.linka:hover { color: var(--black); background-color: var(--gold); text-decoration: none; padding: 2px 6px; border-radius: 3px; }
.linka:active { color: var(--gold); text-decoration: none; }
.linkb:link, .linkb:visited { color: #fff; text-decoration: none; }
.linkb:hover { color: var(--gold); background-color: rgba(255,255,255,0.1); text-decoration: none; }
.linkb:active { color: #fff; text-decoration: none; }
.linkc:link, .linkc:visited { color: var(--gold); text-decoration: none; }
.linkc:hover { color: var(--black); background-color: var(--gold); text-decoration: none; }
.linkc:active { color: var(--gold); text-decoration: none; }
.gorunur { visibility: visible; text-align: center; }
.gorunmez { position: absolute; visibility: hidden; text-align: center; height: 1px; }
.transparan { visibility: visible; opacity: .25; }
.normal { position: absolute; z-index: 0; visibility: hidden; height: 1px; }
.yoket { display: none; }
#dinamikorta { position: relative; z-index: 4; }
.girisformu1 { position: relative; z-index: 1; }
.girisformu2 { position: relative; z-index: 5; }
#popup { width: 100%; height: auto; min-height: 100%; text-align: center; z-index: 100; top: 50px; }
#Layer0 { position: fixed; width: 100%; height: 100%; z-index: 99; left: 0; top: 0; background: rgba(0,0,0,0.7); }
#yeniadres { position: relative; z-index: 6; }
.inputclass1x, .inputclass1 { font-family: var(--font-main); font-size: 13px; border: 1px solid rgba(201,162,39,0.3); padding: 8px 12px; border-radius: var(--radius-sm); background: #fefcf7; }
.style1 { font-size: 15px; font-weight: bold; color: var(--cream); }
.style2 { color: var(--gold); font-weight: bold; }
.dragme { position: relative; }
.dvhdr1 { background: rgba(201,162,39,0.1); font-size: 14px; font-weight: bold; border: 1px solid var(--border-gold); padding: 10px 14px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; color: var(--gold); }
.dvbdy1 { background: var(--bg-dark-panel); font-size: 13px; border: 1px solid var(--border); border-top: none; padding: 10px 14px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); color: var(--text-on-dark); }
