:root {
  --blue: #0965f5;
  --blue2: #18a4ff;
  --gold: #d9ab4c;
  --ink: #0d1727;
  --muted: #667085;
  --line: #e1e7f0;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(13, 23, 39, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 2px; }

.page-hero {
  padding: 78px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--blue2) 20%, transparent), transparent 30%),
    linear-gradient(135deg, #f5f9ff, #ffffff);
}
.page-hero h1 { max-width: 920px; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -3.8px; }
.page-hero p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 35px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -2.7px; }
.section-head > a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; }

/* Ortak buton sistemi: metnin arka planla aynı renkte kalmasını engeller. */
.button,
a.button,
button.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(13, 23, 39, 0.16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(13, 23, 39, 0.2); }
.button:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 28%, transparent); outline-offset: 3px; }
.button.primary,
.button.button-primary { background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #fff !important; }
.button.secondary,
.button.button-secondary { border-color: var(--line); background: #fff; color: var(--ink) !important; box-shadow: 0 10px 24px rgba(13, 23, 39, .08); }
.button.ghost,
.button.button-ghost { border-color: color-mix(in srgb, var(--blue) 25%, #fff); background: color-mix(in srgb, var(--blue) 8%, #fff); color: var(--blue) !important; box-shadow: none; }
.button.danger { background: #b42318; color: #fff !important; }
.button.wide { width: 100%; }
.button.disabled,
.button:disabled { background: #e4e8ef; color: #7d8796 !important; cursor: not-allowed; box-shadow: none; transform: none; }

.topbar { position: relative; z-index: 30; background: var(--topbar-bg, #07111f); color: var(--topbar-text, #fff); }
.topbar::after { position: absolute; inset: auto 0 0; height: 2px; content: ""; background: linear-gradient(90deg, transparent, var(--blue2), var(--gold), transparent); }
.topbar-inner { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 18px; font-size: 12px; }
.topbar-slogan { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.topbar-spark { color: var(--gold); }
.topbar-links { display: flex; align-items: center; gap: 7px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 8px; color: var(--topbar-text, #dbe9f7); font-weight: 700; transition: color .2s ease, background .2s ease; }
.topbar-links a:hover { background: rgba(255,255,255,.09); color: #fff; }
.topbar-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.site-header { position: sticky; z-index: 25; top: 0; border-bottom: 1px solid rgba(225,231,240,.9); background: color-mix(in srgb, var(--header-bg, #fff) 94%, transparent); backdrop-filter: blur(15px); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 12px 34px rgba(13,23,39,.09); }
.nav-wrap { display: flex; min-height: 82px; align-items: center; gap: 26px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; letter-spacing: -.7px; }
.brand img { width: 44px; height: 32px; object-fit: contain; }
.brand b { font-weight: 900; }
.main-menu { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-left: auto; }
.main-menu > a { position: relative; padding: 10px 11px; border-radius: 9px; color: var(--header-text, #2e3746); font-size: 13px; font-weight: 800; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.main-menu > a:hover,
.main-menu > a.active { background: color-mix(in srgb, var(--header-active, var(--blue)) 8%, #fff); color: var(--header-active, var(--blue)); }
.main-menu .cart-nav { display: inline-flex; align-items: center; gap: 6px; }
.cart-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-nav span { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; }
.nav-quote { min-height: 44px; padding-inline: 17px; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.message-stack { position: fixed; z-index: 60; top: 135px; right: 20px; width: min(420px, calc(100% - 40px)); }
.message { margin-bottom: 10px; padding: 14px 17px; border: 1px solid #b7d5c4; border-radius: 12px; background: #ecfdf3; color: #166534; font-weight: 700; box-shadow: var(--shadow); }
.message.error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 14px 35px rgba(13,23,39,.06); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(13,23,39,.12); }
.product-media { position: relative; display: grid; height: 230px; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eaf2ff, #fff); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-media > span { font-size: 75px; }
.product-media > b { position: absolute; top: 14px; left: 14px; padding: 6px 9px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 10px; }
.product-body { padding: 20px; }
.product-body > small { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.product-body h3 { margin: 8px 0; font-size: 19px; }
.product-body p { min-height: 44px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-bottom strong { font-size: 18px; }
.product-bottom a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 12px; font-weight: 800; }
.product-bottom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.empty-box { grid-column: 1 / -1; padding: 32px; border: 1px dashed #b8c3d3; border-radius: var(--radius); background: #fff; color: var(--muted); text-align: center; }

.whatsapp { position: fixed; z-index: 40; right: 26px; bottom: 25px; display: grid; width: 62px; height: 62px; place-items: center; border: 4px solid #fff; border-radius: 50%; background: var(--whatsapp-bg, #20bd68); color: #fff; box-shadow: 0 15px 35px rgba(18,140,76,.3); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 21px 40px rgba(18,140,76,.37); }
.whatsapp svg { width: 31px; height: 31px; fill: currentColor; }

.site-footer { padding: 72px 0 23px; background: var(--footer-bg, #091321); color: var(--footer-heading, #fff); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 55px; }
.site-footer h3 { margin: 0 0 15px; font-size: 26px; }
.site-footer h3 span { color: var(--blue2); }
.site-footer h4 { margin: 0 0 18px; color: var(--footer-heading, #fff); }
.site-footer p { max-width: 480px; color: var(--footer-text, #93a3b8); line-height: 1.75; }
.site-footer a,
.site-footer .footer-contact > span { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: var(--footer-text, #aebbd0); font-size: 13px; line-height: 1.5; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-contact .footer-icon {
  display: block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  overflow: visible;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-contact a { width: fit-content; max-width: 100%; }
.footer-contact a,
.footer-contact .footer-hours { overflow-wrap: anywhere; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #1f2c3e; color: #78879b; font-size: 11px; }
.footer-bottom a { display: inline; margin: 0; }

@media (max-width: 1050px) {
  .main-menu > a { padding-inline: 8px; font-size: 12px; }
  .nav-quote { display: none !important; }
}

@media (max-width: 900px) {
  .section { padding: 65px 0; }
  .menu-toggle { display: grid; margin-left: auto; }
  .main-menu { position: fixed; z-index: 50; top: 124px; right: 20px; left: 20px; display: none; max-height: calc(100vh - 145px); overflow-y: auto; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .main-menu.open { display: flex; align-items: stretch; flex-direction: column; }
  .main-menu > a { padding: 13px 14px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar-inner { min-height: 38px; justify-content: center; }
  .topbar-slogan,
  .topbar-links a:last-child { display: none; }
  .topbar-links a { padding-block: 5px; }
  .nav-wrap { min-height: 72px; }
  .brand { font-size: 17px; }
  .brand img { width: 38px; }
  .main-menu { top: 100px; right: 14px; left: 14px; }
  .page-hero { padding: 55px 0; }
  .page-hero h1 { font-size: 42px; letter-spacing: -2.4px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
