:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --surface-muted: #f2f4ef;
  --ink: #151715;
  --text: #303631;
  --muted: #737c75;
  --line: #e5e8e2;
  --accent: #111f1b;
  --accent-soft: #e8eee9;
  --success: #0f766e;
  --danger: #b94736;
  --warm: #d99a5b;
  --sage: #9fb5a8;
  --shadow: 0 18px 45px rgba(21, 23, 21, .07);
  --deep-shadow: 0 30px 90px rgba(21, 23, 21, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 4%, rgba(217, 154, 91, .20), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(159, 181, 168, .30), transparent 26%),
    linear-gradient(180deg, #fff 0, var(--bg) 460px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.checkout-link {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 650;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

button:hover,
.checkout-link:hover {
  background: #2a332f;
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
}

input,
select,
textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  min-height: 46px;
  padding: 11px 13px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #b9c2ba;
  box-shadow: 0 0 0 4px rgba(17, 31, 27, .06);
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

.site-header {
  align-items: center;
  background: rgba(251, 251, 248, .88);
  border-bottom: 1px solid rgba(229, 232, 226, .82);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  padding: 18px clamp(18px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-actions {
  align-items: center;
  display: flex;
  gap: 18px;
}

.brand {
  color: var(--ink);
  font-weight: 760;
}
.brand-logo {
    height: 40px; /* istediğin yüksekliği ayarla */
    width: 100%;
    display: block;
}
.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.main-nav {
  color: var(--muted);
  font-size: 14px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav a,
.header-actions a {
  border-radius: 999px;
  padding: 8px 4px;
  white-space: nowrap;
}

.main-nav a:hover,
.header-actions a:hover {
  color: var(--ink);
}

/* ── İkon butonlar (header sağ) ── */
.icon-btn {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  min-height: auto;
  padding: 8px 10px;
  position: relative;
  transition: background .15s ease, color .15s ease;
}

.icon-btn:hover {
  background: var(--accent-soft);
  color: var(--ink);
  transform: none;
}

.icon-btn svg {
  flex-shrink: 0;
}

.icon-label {
  font-size: 13px;
  font-weight: 600;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-icon-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(21,23,21,.06);
  padding: 8px 14px;
}

.cart-icon-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cart-badge {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
}

.cart-icon-btn:hover .cart-badge {
  background: rgba(255,255,255,.25);
}

/* ── Mobil alt navigasyon ── */
.mobile-bottom-nav {
  display: none;
}

/* ── Mobil kategori çekmecesi ── */
.mobile-cat-drawer {
  display: none;
}

main {
  min-height: 70vh;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  min-height: 690px;
  padding: clamp(42px, 8vw, 104px) clamp(18px, 5vw, 76px) clamp(28px, 5vw, 62px);
  position: relative;
}

.hero::after {
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(229, 232, 226, .82);
  border-radius: 999px;
  content: "";
  height: 220px;
  position: absolute;
  right: clamp(18px, 7vw, 110px);
  top: 72px;
  width: 220px;
  z-index: -1;
}

.hero-copy {
  align-self: center;
  max-width: 620px;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .11em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #d4522a;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-copy .eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #e8961a, #b5294e);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(50px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 720px;
  background: linear-gradient(
    125deg,
    #e8961a 0%,
    #d4522a 35%,
    #b5294e 65%,
    #7c3aad 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 3px 12px rgba(212, 82, 42, .15));
}

.hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 540px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-points span {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  padding: 8px 12px;
}

.hero-media {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  perspective: 1000px;
	    align-items: start;
}

.hero-media a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
}

.hero-media a:first-child {
  grid-row: span 2;
}

.hero-media img,
.hero-media a > img {
  aspect-ratio: 941 / 1672;
  background: var(--surface-muted);
  border-radius: 18px;
  box-shadow: var(--deep-shadow);
  object-fit: contain;
  object-position: center;
  transition: transform .28s ease, box-shadow .28s ease;
  width: 100%;
  height: 100%;
}

.hero-media img:hover,
.hero-media a:hover > img {
  box-shadow: 0 36px 110px rgba(21, 23, 21, .20);
  transform: translateY(-4px);
}

.hero-media img:first-child,
.hero-media a:first-child > img {
  grid-row: span 2;
  aspect-ratio: 941 / 1672;
}

.hero-media img:nth-child(2),
.hero-media a:nth-child(2) > img {
  aspect-ratio: 941 / 1672;
}

.hero-media img:nth-child(3),
.hero-media a:nth-child(3) > img {
  aspect-ratio: 941 / 1672;
}

.search-bar {
  align-items: center;
  
  border-radius: 999px;
  display: flex;
  gap: 8px;
  margin-top: 30px;
  max-width: 510px;
  padding: 6px;
  box-shadow: var(--shadow);
}

.search-bar input {
     background: #ffffff;
  border: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
  padding-left: 16px;
}

.search-bar input:focus {
  box-shadow: none;
}

.shop-shell,
.cart-layout,
.checkout-layout,
.account-shell,
.auth-grid,
.product-detail,
.rich-text {
  padding: 34px clamp(18px, 5vw, 76px);
}

.shop-shell {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: 230px 1fr;
}

.filters {
  background: transparent;
  border-right: 1px solid var(--line);
  padding: 4px 22px 4px 0;
  position: sticky;
  top: 100px;
}

.filters h2 {
  font-size: 16px;
  margin-bottom: 14px;
}

.filters a {
  align-items: center;
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  padding: 10px 11px;
}

.filters a.active,
.filters a:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.filters small {
  color: var(--muted);
  font-size: 12px;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  margin: 0;
}

.sort-form select {
  border-radius: 999px;
}

.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transition: opacity .18s ease, transform .18s ease;
}

.product-grid.is-sorting {
  opacity: .72;
  transform: translateY(4px);
}

.product-card {
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.product-image {
  background: var(--surface-muted);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(21, 23, 21, .06);
  display: block;
  overflow: hidden;
  position: relative;
}

.product-image::after {
  background: linear-gradient(180deg, transparent 52%, rgba(21, 23, 21, .18));
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .22s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image span {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(229, 232, 226, .9);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  left: 12px;
  padding: 6px 10px;
  position: absolute;
  top: 12px;
  z-index: 1;
}

.product-image img {
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  transition: transform .28s ease;
  width: 100%;
}

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

.product-info {
  padding: 14px 2px 0;
}

.product-info small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 680;
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 43px;
}

.price-line {
  align-items: center;
  display: flex;
  gap: 9px;
  margin: 10px 0 13px;
}

.price-line strong {
  color: var(--ink);
  font-size: 17px;
}

.price-line del {
  color: var(--muted);
  font-size: 13px;
}

.product-info button {
  background: var(--surface);
  border-color: rgba(17, 31, 27, .12);
  color: var(--ink);
  width: 100%;
  box-shadow: 0 10px 26px rgba(21, 23, 21, .06);
}

.product-info button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.product-info form {
  margin-top: 12px;
}

.product-detail {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(280px, .95fr) minmax(300px, 1.05fr);
}

.gallery,
.detail-copy,
.summary,
.checkout-form,
.auth-shell,
.auth-card,
.account-shell,
.cart-item,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.gallery,
.detail-copy,
.summary,
.checkout-form,
.auth-card,
.account-shell {
  padding: 24px;
}

.auth-shell {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1fr);
  margin: 38px clamp(18px, 5vw, 76px);
  overflow: hidden;
  padding: 0;
}

.auth-visual {
  background:
    linear-gradient(140deg, rgba(17, 31, 27, .92), rgba(48, 54, 49, .82)),
    url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1000&q=80") center/cover;
  color: #fff;
  display: grid;
  align-content: end;
  min-height: 520px;
  padding: clamp(28px, 5vw, 52px);
  position: relative;
}

.auth-visual::after {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  bottom: 34px;
  content: "";
  height: 140px;
  position: absolute;
  right: 34px;
  width: 140px;
}

.register-shell .auth-visual {
  background:
    linear-gradient(140deg, rgba(17, 31, 27, .88), rgba(77, 84, 77, .70)),
    url("https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?auto=format&fit=crop&w=1000&q=80") center/cover;
}

.auth-visual h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 18px;
  max-width: 560px;
}

.auth-visual p:not(.eyebrow) {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.7;
  max-width: 470px;
}

.auth-visual .eyebrow {
  color: rgba(255, 255, 255, .70);
}

.auth-card {
  align-self: center;
  box-shadow: none;
  margin: 24px;
}

.main-image {
  aspect-ratio: 1 / 1;
  background: var(--surface-muted);
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
}

.thumbs {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 12px;
}

.thumbs button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: auto;
  padding: 3px;
}

.thumbs button:hover {
  background: transparent;
  border-color: var(--accent);
  color: inherit;
  transform: none;
}

.thumbs img {
  aspect-ratio: 1;
  border-radius: 9px;
  object-fit: cover;
}

.rating {
  color: #c08b35;
  margin-bottom: 14px;
}

.large strong {
  font-size: 34px;
}

.description,
.rich-text {
  color: var(--muted);
  line-height: 1.75;
}

.buy-box,
.trust-row,
.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.buy-box label {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 10px;
}

.buy-box input {
  width: 84px;
}

.trust-row span {
  background: var(--surface-muted);
  border-radius: 999px;
  color: var(--muted);
  padding: 8px 12px;
}

.cart-layout,
.checkout-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 340px;
}

.cart-list {
  display: grid;
  gap: 13px;
}

.cart-item {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 86px 1fr 122px 120px 74px;
  padding: 12px;
}

.cart-item img {
  aspect-ratio: 1;
  background: var(--surface-muted);
  border-radius: 14px;
  object-fit: cover;
}

.cart-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.cart-item a {
  color: var(--muted);
  font-size: 14px;
}

.quantity-control {
  align-items: center;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  justify-content: center;
  padding: 4px;
}

.quantity-control form {
  display: inline-flex;
}

.quantity-control button,
.remove-form button {
  min-height: 34px;
  padding: 0;
}

.quantity-control button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  height: 34px;
  width: 34px;
}

.quantity-control button:hover {
  background: var(--accent);
  color: #fff;
}

.quantity-control span {
  color: var(--ink);
  font-weight: 760;
  min-width: 28px;
  text-align: center;
}

.remove-form button {
  background: transparent;
  border-color: transparent;
  color: var(--danger);
  font-weight: 700;
  min-width: 58px;
}

.remove-form button:hover {
  background: #fff0ed;
  border-color: #f1c8c0;
  color: var(--danger);
  transform: none;
}

.summary {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.summary h2 {
  margin-bottom: 4px;
}

.summary div,
.order-list article {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.summary-total {
  font-size: 20px;
}

.summary-subtotal,
.summary-delivery {
  font-weight: 500;
}

.summary-delivery {
  border-color: var(--warm);
  color: var(--warm);
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-form h1,
.auth-card h1 {
  margin-bottom: 4px;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

label {
  color: var(--muted);
  display: grid;
  gap: 7px;
  font-weight: 650;
}

.full {
  grid-column: 1 / -1;
}

.payment-options label {
  align-items: center;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  display: flex;
  flex: 1 1 240px;
  gap: 10px;
  padding: 14px;
}

.payment-options input {
  accent-color: var(--accent);
  min-height: auto;
}

.auth-card,
.inline-form {
  display: grid;
  gap: 14px;
}

.auth-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  margin: 0 0 8px;
}

.auth-switch {
  color: var(--muted);
  margin: 6px 0 0;
  text-align: center;
}

.auth-switch a,
.text-link {
  color: var(--ink);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-shell {
  margin: 34px clamp(18px, 5vw, 76px);
}

.empty-state {
  margin: 38px clamp(18px, 5vw, 76px);
  padding: 46px;
  text-align: center;
}

.empty-state a {
  color: var(--ink);
  font-weight: 760;
}

.success strong {
  color: var(--success);
}

.flash {
  animation: flashIn .28s ease both;
  border: 1px solid rgba(255, 255, 255, .70);
  border-radius: 999px;
  box-shadow: var(--shadow);
  left: 50%;
  margin: 0;
  padding: 13px 18px;
  position: fixed;
  top: 82px;
  transform: translateX(-50%);
  z-index: 50;
}

.flash.is-hiding {
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

@keyframes flashIn {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.flash-success {
  background: rgba(233, 244, 239, .96);
  color: #18533d;
}

.flash-danger {
  background: rgba(255, 240, 237, .96);
  color: var(--danger);
}

.site-footer {
  background: #f9f9f9;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 40px clamp(18px, 5vw, 76px) 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-section h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ink);
}

.footer-section h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--line);
  border-radius: 50%;
  font-weight: 600;
  transition: background 0.2s ease;
}

.social-links a:hover {
  background: var(--accent);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Account Page */
.account-shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px clamp(18px, 5vw, 76px);
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.account-header h1 {
  margin: 0 0 4px;
}

.account-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.logout-form {
  display: flex;
}

.logout-btn {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}

.logout-btn:hover {
  background: rgba(185, 71, 54, 0.1);
}

.account-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.account-tabs a {
  padding: 12px 20px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.account-tabs a:hover {
  color: var(--text);
}

.account-tabs a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.account-section h2 {
  margin: 0 0 24px;
  font-size: 18px;
}

.profile-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.profile-form label {
  display: flex;
  flex-direction: column;
}

.profile-form label span {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
}

.profile-form input,
.profile-form select {
  min-height: 44px;
}

.profile-form input:disabled {
  background: var(--surface-muted);
  cursor: not-allowed;
}

.save-btn {
  background: var(--success);
  border-color: var(--success);
}

.save-btn:hover {
  background: #0d6657;
}

/* Orders */
.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.order-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.order-header strong {
  font-size: 16px;
  color: var(--accent);
}

.order-date {
  color: var(--muted);
  font-size: 13px;
}

.order-details p {
  margin: 8px 0;
  font-size: 13px;
  color: var(--text);
}

.order-details strong {
  color: var(--ink);
  font-weight: 600;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.order-total span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.order-total strong {
  color: var(--accent);
  font-size: 16px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-state p {
  margin: 0 0 20px;
}

.empty-state .btn,
.empty-state a {
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s ease;
}

.empty-state .btn:hover,
.empty-state a:hover {
  background: #2a332f;
}

/*
 * Legacy flash rules are intentionally kept below empty selectors avoided by cascade.
 */
.flash.legacy {
  padding: 14px 18px;
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .shop-shell,
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .auth-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 34px;
  }

  .filters {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 0 18px;
    position: static;
  }

  .filters h2 {
    flex-basis: 100%;
  }

  .summary {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .quantity-control,
  .cart-item strong,
  .remove-form {
    grid-column: 2;
  }

  .auth-visual {
    min-height: 360px;
  }
}

@media (max-width: 580px) {
  .site-header,
  .header-actions,
  .section-head,
  .site-footer,
  .search-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .header-actions
	{
	display:none;	
	}
  .site-header {
    display: flex;
    gap: 13px;
    padding: 15px 18px;
  }

  .brand {
    justify-content: space-between;
    width: 100%;
  }

  .hero,
  .shop-shell,
  .cart-layout,
  .checkout-layout,
  .account-shell,
  .auth-grid,
  .auth-shell,
  .product-detail,
  .rich-text {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-shell {
    margin-left: 18px;
    margin-right: 18px;
    padding: 0;
  }

  .auth-card {
    margin: 0;
  }

  .auth-visual {
    border-radius: 20px 20px 0 0;
    min-height: 300px;
    padding: 28px;
  }

  .flash {
    left: 18px;
    right: 18px;
    text-align: center;
    transform: none;
  }

  @keyframes flashIn {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-media {
    gap: 9px;
  }

  .product-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-info h3 {
    min-height: auto;
  }

  /* Mobilde üst menüyü gizle, alt nav göster */
  .main-nav {
    display: none;
  }
.brand-logo {
    height: 40px; /* istediğin yüksekliği ayarla */
    width: 25%;
    display: block;
}
  .mobile-bottom-nav {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -4px 24px rgba(21, 23, 21, .09);
    display: flex;
    justify-content: space-around;
    left: 0;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 100;
  }

  .mob-nav-item {
    align-items: center;
    border-radius: 14px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 600;
    gap: 3px;
    letter-spacing: .02em;
    min-width: 56px;
    padding: 6px 8px;
    text-align: center;
    transition: color .15s ease, background .15s ease;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .mob-nav-item:hover,
  .mob-nav-item.active {
    color: var(--ink);
  }

  .mob-nav-item.mob-categories-toggle.active {
    background: var(--accent-soft);
    color: var(--ink);
  }

  .mob-cart-wrap {
    position: relative;
    display: inline-flex;
  }

  .mob-cart-badge {
    align-items: center;
    background: #d4522a;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 9px;
    font-weight: 700;
    height: 16px;
    justify-content: center;
    min-width: 16px;
    padding: 0 3px;
    position: absolute;
    right: -6px;
    top: -4px;
  }

  /* Alt nav için içerik boşluğu */
  main {
    padding-bottom: 72px;
  }

  /* Mobil kategori çekmecesi */
  .mobile-cat-drawer {
    background: var(--surface);
    border-radius: 24px 24px 0 0;
    bottom: 0;
    box-shadow: 0 -8px 40px rgba(21, 23, 21, .18);
    display: block;
    left: 0;
    max-height: 70vh;
    overflow-y: auto;
    position: fixed;
    right: 0;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 99;
  }

  .mobile-cat-drawer.open {
    transform: translateY(0);
  }

  .mob-cat-inner {
    padding: 12px 20px 80px;
  }

  .mob-cat-inner::before {
    background: var(--line);
    border-radius: 999px;
    content: "";
    display: block;
    height: 4px;
    margin: 0 auto 18px;
    width: 40px;
  }

  .mob-cat-title {
    color: var(--muted);
    font-size: 11px;
    font-weight: 720;
    letter-spacing: .1em;
    margin-bottom: 12px;
    text-transform: uppercase;
  }

  .mob-cat-inner a {
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    font-size: 15px;
    font-weight: 550;
    gap: 10px;
    padding: 14px 4px;
    transition: color .14s ease;
  }

  .mob-cat-inner a:last-child {
    border-bottom: 0;
  }

  .mob-cat-inner a:hover {
    color: #d4522a;
  }

  /* Filtreler sidebar mobilde gizle (alt nav ile kategori seçiliyor) */
  .filters {
    display: none;
  }

  .shop-shell {
    grid-template-columns: 1fr;
  }
}
