/* ===== Temel ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--gray-900); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--black); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-gray { background: var(--gray-50); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-head p { margin: 0; color: var(--gray-500); }
.muted { color: var(--gray-500); }

/* ===== Butonlar ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius);
       font: 600 14px/1 var(--font); border: 2px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gray-900); color: var(--white); }
.btn-outline { border-color: var(--gray-300); color: var(--black); background: var(--white); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ===== Üst bar ===== */
.topbar { background: var(--black); color: var(--gray-300); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-links { display: flex; gap: 20px; }
.topbar a:hover { color: var(--orange); }

/* ===== Header ===== */
.header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { display: block; height: 15px; width: auto; }
.logo-footer { margin-bottom: 18px; }
.logo-footer img { height: 15px; }

.nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.nav-list { display: flex; list-style: none; margin: 0 auto 0 0; padding: 0; height: 76px; }
.nav-list > li { display: flex; align-items: stretch; }
.nav-list > li > a, .mega-toggle { display: flex; align-items: center; gap: 6px; padding: 0 14px;
  font: 600 14px var(--font); text-transform: uppercase; letter-spacing: .3px; color: var(--black); white-space: nowrap;
  background: none; border: 0; cursor: pointer; border-bottom: 3px solid transparent; }
.nav-list > li > a:hover, .mega-toggle:hover, .has-mega.open .mega-toggle { color: var(--orange); border-bottom-color: var(--orange); }
.caret { width: 0; height: 0; border: 5px solid transparent; border-top-color: currentColor; margin-top: 5px; }
.nav-toggle { display: none; }

/* ===== Mega menü ===== */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-mega:hover .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 28px; padding-bottom: 32px; }
.mega-img { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mega-img:hover img { transform: scale(1.04); }
.mega-title { display: block; margin: 14px 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-200);
              font-weight: 600; font-size: 16px; color: var(--black); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: block; padding: 5px 0; font-size: 14px; color: var(--gray-700); }
.mega-col li a:hover { color: var(--orange); padding-left: 4px; }

/* ===== Breadcrumb ===== */
.crumbs { font-size: 13px; color: var(--gray-500); padding: 18px 0 0; }
.crumbs a:hover { color: var(--orange); }
.crumbs span + span::before { content: "›"; margin: 0 8px; color: var(--gray-300); }

/* ===== Hero ===== */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { color: var(--gray-300); font-size: 16px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-actions .btn-outline { background: transparent; color: var(--white); border-color: var(--gray-700); }
.hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--gray-900); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Slider: rastgele ürünler, solda bilgi sağda görsel */
.hero-head { padding-top: 28px; }
.hero-head h1 { font-size: 22px; margin: 0; }
.slider { position: relative; height: 360px; margin: 18px auto 36px; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100%; gap: 48px; align-items: center;
         opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; padding: 0 56px; }
.slide.active { opacity: 1; visibility: visible; }
.slide-cat { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--orange); margin-bottom: 10px; }
.slide h2 { font-size: 28px; margin-bottom: 12px; }
.slide h2 a { color: var(--white); }
.slide h2 a:hover { color: var(--orange); }
.slide p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide h2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide .hero-actions { margin-top: 20px; }
.slide-img { height: 100%; min-height: 0; display: block; overflow: hidden; }
.slide-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gray-700);
              background: transparent; color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; transition: .2s; }
.slider-nav:hover { background: var(--orange); border-color: var(--orange); }
.slider-nav.prev { left: 0; } .slider-nav.next { right: 0; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: -24px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--gray-700); cursor: pointer; transition: .2s; }
.slider-dots button.active { background: var(--orange); width: 22px; border-radius: 4px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gray-900); }
.stats div { padding: 22px 16px; text-align: center; border-right: 1px solid var(--gray-900); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 26px; color: var(--orange); }
.stats span { font-size: 13px; color: var(--gray-300); }

/* ===== Kategori kartları ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { display: block; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: .15s; }
.cat-card:hover { border-color: var(--orange); box-shadow: var(--shadow); color: inherit; }
.cat-card .img { aspect-ratio: 16 / 10; background: var(--gray-100); }
.cat-card .img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 16px 18px 18px; }
.cat-card h3 { margin: 0 0 4px; }
.cat-card .count { font-size: 13px; color: var(--orange); font-weight: 500; }

.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.subcats a { padding: 7px 14px; border: 1px solid var(--gray-200); border-radius: 999px; font-size: 13px; background: var(--white); }
.subcats a:hover { border-color: var(--orange); }
.subcats small { color: var(--gray-500); margin-left: 4px; }

/* ===== Ürün kartları ===== */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: .15s; }
.card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.card .img { aspect-ratio: 4 / 3; background: var(--white); padding: 12px; border-bottom: 1px solid var(--gray-100); }
.card .img img { width: 100%; height: 100%; object-fit: contain; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card .cat { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }
.card h3 { font-size: 15px; margin: 0 0 12px; flex: 1; }
.card .more { font-size: 13px; font-weight: 600; color: var(--orange); }

/* ===== Ürün detay ===== */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 24px 0 56px; }
.product-img { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid var(--gray-200); border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--white); }
.thumbs button.active, .thumbs button:hover { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.variants { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.product-detail { margin: 8px 0 56px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.rich { color: var(--gray-700); }
.rich h2 { font-size: 20px; margin-top: 28px; } .rich h3 { font-size: 17px; margin-top: 22px; }
.rich ul, .rich ol { padding-left: 22px; } .rich li { margin: 4px 0; }
.rich ul.plain { list-style: none; padding-left: 0; }
.rich h3 { color: var(--black); }
.rich a { color: var(--orange); }
.rich mark { background: var(--orange-soft); padding: 0 3px; }
.rich table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
.rich th, .rich td { border: 1px solid var(--gray-200); padding: 8px 10px; text-align: left; }
.rich th { background: var(--gray-100); color: var(--black); }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 4px; background: var(--gray-100); color: var(--gray-700); }
.tag-ok { background: var(--orange-soft); color: var(--orange-dark); }
.product-desc { font-size: 16px; color: var(--gray-700); margin-bottom: 24px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-note { margin-top: 28px; padding: 16px 18px; background: var(--gray-50); border-left: 3px solid var(--orange); font-size: 14px; color: var(--gray-700); }
.video { margin-top: 24px; aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* ===== Statik sayfa / 404 ===== */
.page-body { max-width: 820px; padding: 8px 0 56px; }
.page-body p, .page-body li { color: var(--gray-700); }
.page-body h2 { font-size: 20px; margin-top: 32px; }
.page-body ul { padding-left: 20px; }
.page-body li { margin: 4px 0; }
.page-body a:not(.btn) { color: var(--orange); }
.page-body:has(.contact-grid) { max-width: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-grid > div:first-child p:first-child { margin-top: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }
.page-body .map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.page-body .map iframe { width: 100%; height: 100%; border: 0; }
.empty { text-align: center; padding: 80px 16px; }

/* ===== CTA bandı ===== */
.cta { background: var(--orange); color: var(--white); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.cta h2 { color: var(--white); margin: 0 0 4px; }
.cta p { margin: 0; opacity: .9; }

/* ===== Footer ===== */
.footer { background: var(--black); color: var(--gray-300); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 3px 0; }
.footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--gray-900); padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: var(--gray-500); }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%;
            background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 60; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ===== Responsive ===== */
@media (min-width: 961px) {
  .nav-home { display: none !important; }   /* masaüstünde logo ana sayfaya gider */
}
@media (min-width: 961px) and (max-width: 1180px) {
  .logo img { height: 13px; }
  .nav-list > li > a, .mega-toggle { padding: 0 9px; font-size: 13px; }
  .nav-cta { display: none; }
}
@media (max-width: 1080px) {
  .grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .topbar span:first-child { display: none; }
  .header-row { height: 64px; }
  .logo img { height: 15px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; padding: 10px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--black); transition: .2s; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); background: var(--white); flex-direction: column; align-items: stretch;
         padding: 8px 16px 24px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .2s, visibility .2s;
         border-top: 1px solid var(--gray-200); }
  .nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; height: auto; margin: 0; }
  .nav-list > li { display: block; border-bottom: 1px solid var(--gray-100); }
  .nav-list > li > a, .mega-toggle { padding: 14px 0; width: 100%; justify-content: space-between; border-bottom: 0; }
  .mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-mega:hover .mega { display: none; }
  .has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 8px; padding: 0 0 12px; }
  .mega-img { display: none; }
  .mega-title { margin: 8px 0 4px; }
  .nav-cta { margin-top: 16px; }
  .hero-inner, .product { grid-template-columns: 1fr; gap: 28px; }
  .hero-head h1 { font-size: 18px; }
  .slider { height: 490px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 220px auto; gap: 18px; padding: 0; align-items: start; }
  .slide-img { order: -1; }
  .slide h2 { font-size: 20px; }
  .slider-nav { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .grid, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .body { padding: 10px 12px 12px; }
  .card h3 { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}
@media (max-width: 420px) {
  .logo img { height: 13px; }
}
