/* atmayenile.com.tr - Ana Stil Dosyası */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --dark: #2a2a2a;
  --green: #6b8c5a;
  --green-light: #8aaa76;
  --green-pale: #eef3eb;
  --cream: #f8f6f1;
  --border: #e5e0d8;
  --muted: #888;
  --white: #fff;
  --red: #c0392b;
  --shadow: 0 4px 16px rgba(0,0,0,0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--dark); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* NAV */
.nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; letter-spacing: -0.5px; }
.logo span { color: var(--green); }
.logo small { font-size: 13px; font-family: 'DM Sans', sans-serif; font-weight: 300; color: var(--muted); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; transition: all .2s; font-family: 'DM Sans', sans-serif; }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--green); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-light); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--green); color: #fff; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* HERO */
.hero { background: var(--white); padding: 5rem 2rem; text-align: center; border-bottom: 1px solid var(--border); }
.hero-tag { display: inline-block; background: var(--green-pale); color: var(--green); font-size: 11px; padding: 4px 14px; border-radius: 20px; margin-bottom: 1.5rem; letter-spacing: 1.5px; font-weight: 500; text-transform: uppercase; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: 58px; font-weight: 500; line-height: 1.1; margin-bottom: 1.2rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero h1 em { color: var(--green); font-style: italic; }
.hero p { color: var(--muted); font-size: 15px; max-width: 480px; margin: 0 auto 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CATEGORIES STRIP */
.cats-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2rem; overflow-x: auto; }
.cats-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 8px; align-items: center; }
.cat-chip { padding: 6px 18px; border-radius: 20px; font-size: 12px; font-weight: 500; cursor: pointer; border: 1.5px solid var(--border); background: transparent; color: var(--muted); transition: all .2s; white-space: nowrap; }
.cat-chip:hover, .cat-chip.active { background: var(--green); border-color: var(--green); color: #fff; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 500; margin-bottom: .4rem; }
.section-sub { color: var(--muted); font-size: 13px; margin-bottom: 2rem; }

/* PRODUCT GRID */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .25s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-img { height: 200px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: 10px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.color-dots { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 4px; }
.color-dot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); }
.product-info { padding: 1rem 1.1rem 1.1rem; }
.product-name { font-weight: 500; font-size: 14px; margin-bottom: 3px; }
.product-cat { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; }
.product-price small { font-size: 13px; color: var(--muted); font-family: 'DM Sans', sans-serif; font-weight: 400; }

/* PRODUCT DETAIL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.detail-img { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-tag { display: inline-block; background: var(--green-pale); color: var(--green); font-size: 11px; padding: 3px 12px; border-radius: 12px; margin-bottom: .8rem; font-weight: 500; }
.detail-name { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 500; line-height: 1.15; margin-bottom: .8rem; }
.detail-desc { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 1.5rem; }
.detail-price { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 600; margin-bottom: 1.5rem; }
.detail-section { margin-bottom: 1.2rem; }
.detail-section > label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .8px; display: block; margin-bottom: .6rem; }
.color-selector { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.selected { border-color: var(--dark); box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--dark); }
.qty-wrap { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; width: 120px; }
.qty-btn { width: 38px; height: 38px; background: var(--cream); border: none; cursor: pointer; font-size: 18px; transition: all .2s; }
.qty-btn:hover { background: var(--green-pale); color: var(--green); }
.qty-val { flex: 1; text-align: center; font-size: 15px; font-weight: 500; }
.shipping-box { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; margin-top: 1.2rem; }
.shipping-box h4 { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .8px; margin-bottom: .8rem; }
.shipping-option { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.shipping-option:last-child { border-bottom: none; padding-bottom: 0; }
.shipping-option input[type=radio] { accent-color: var(--green); }
.shipping-name { font-size: 13px; }
.shipping-time { font-size: 11px; color: var(--muted); }
.shipping-price { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--green); }

/* CART */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item { display: flex; gap: 1rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 1rem; }
.cart-item-img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--cream); }
.order-summary { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; position: sticky; top: 80px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: .8rem; color: var(--muted); }
.summary-total { display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; padding-top: 1rem; border-top: 1px solid var(--border); margin-top: .4rem; }
.iyzico-badge { display: flex; align-items: center; gap: 8px; background: var(--cream); border-radius: 8px; padding: .8rem; margin-top: 1rem; font-size: 12px; color: var(--muted); }
.iyzico-text { font-weight: 700; color: #1a1aff; font-size: 14px; }

/* FORMS */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; margin-bottom: 1.5rem; }
.form-card h3 { font-weight: 500; font-size: 16px; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 11px; font-weight: 500; color: var(--dark); text-transform: uppercase; letter-spacing: .5px; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--cream); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 10px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--dark); outline: none; transition: all .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* BADGES */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 500; }
.badge-green { background: var(--green-pale); color: var(--green); }
.badge-orange { background: #fef3e2; color: #b07800; }
.badge-gray { background: #f0f0f0; color: #666; }
.badge-red { background: #fde8e8; color: var(--red); }

/* BREADCRUMB */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 1.5rem; display: flex; gap: 6px; align-items: center; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--green); }

/* LOGIN / REGISTER */
.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 420px; }
.auth-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 500; text-align: center; margin-bottom: .5rem; }
.auth-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 2rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }

/* ALERTS */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 1rem; }
.alert-success { background: var(--green-pale); color: var(--green); border: 1px solid #c3d9b4; }
.alert-error { background: #fde8e8; color: var(--red); border: 1px solid #f5b8b8; }

/* ADMIN LAYOUT */
.admin-wrapper { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 64px); }
.admin-sidebar { background: var(--white); border-right: 1px solid var(--border); padding: 1.5rem; }
.admin-sidebar h3 { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--dark); font-size: 13px; margin-bottom: 2px; transition: all .15s; }
.sidebar-link:hover { background: var(--cream); }
.sidebar-link.active { background: var(--green-pale); color: var(--green); font-weight: 500; }
.admin-content { padding: 2rem; background: var(--cream); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem; }
.stat-val { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-chg { font-size: 11px; color: var(--green); margin-top: 6px; font-weight: 500; }
.table-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.table-head { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.table-head h3 { font-weight: 500; font-size: 15px; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 10px 16px; text-align: left; font-weight: 500; border-bottom: 1px solid var(--border); background: var(--cream); }
td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fdfcfa; }

/* COLOR VARIANT ROWS */
.color-variant-row { display: flex; align-items: center; gap: 8px; background: var(--cream); padding: 8px; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 8px; }
.color-preview-box { width: 32px; height: 32px; border-radius: 6px; border: 2px solid var(--border); cursor: pointer; flex-shrink: 0; }
.color-variant-row input[type=text] { font-family: monospace; }
.add-color-btn { display: flex; align-items: center; gap: 6px; background: none; border: 1.5px dashed var(--border); border-radius: 8px; padding: 8px 16px; color: var(--muted); cursor: pointer; font-size: 13px; transition: all .2s; font-family: 'DM Sans', sans-serif; }
.add-color-btn:hover { border-color: var(--green); color: var(--green); }
.remove-color-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; padding: 2px 6px; transition: color .2s; }
.remove-color-btn:hover { color: var(--red); }

/* FOOTER */
footer { background: var(--dark); color: #aaa; padding: 3rem 2rem; margin-top: 4rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: .8rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 500; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 13px; color: #aaa; margin-bottom: .5rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid #444; display: flex; justify-content: space-between; font-size: 12px; color: #666; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .admin-wrapper { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
