/* ETICARO · Geniş Ana Sayfa / v6
   Sadece index.html uzerinde .home-page sinifi ile aktif olur.
   Diger sayfalarin CSS ve grid yapisi korunur. */

.home-page { --home-gutter: clamp(14px, 1.3vw, 30px); }
.home-page .container {
  width: calc(100% - (2 * var(--home-gutter)));
  max-width: 2560px;
  margin-left: auto;
  margin-right: auto;
}

/* Tam genislikte magaza basligi. */
.home-page .topbar-inner { min-height: 37px; height: auto; }
.home-page .header-row {
  height: 90px;
  grid-template-columns: 230px minmax(260px,1fr) minmax(305px,400px);
  gap: clamp(16px, 2.3vw, 44px);
}
.home-page .search { height: 49px; border-radius: 4px; }
.home-page .search input { font-size: 14px; }
.home-page .search button { width: 66px; }
.home-page .header-actions { gap: clamp(12px, 1.6vw, 27px); }
.home-page .navline-inner { height: 54px; }
.home-page .allcats { height: 54px; width: 248px; font-size: 13px; }
.home-page .mainnav { padding-left: 32px; gap: clamp(22px, 2.5vw, 48px); }
.home-page .mainnav a { white-space: nowrap; }

/* Sol kategori menusu + buyuk ana slider + sag ikili kampanya gorseli. */
.home-page .hero-shell {
  display: grid;
  grid-template-columns: 248px minmax(0,1fr);
  gap: 20px;
  margin-top: 18px;
  align-items: stretch;
}
.home-page .category-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 3px;
  border-color: #e3e5e7;
}
.home-page .category-panel a {
  flex: 1 1 auto;
  min-height: 40px;
  font-size: 13px;
  padding: 0 14px;
}
.home-page .category-panel a:last-child { background:#fafafa; font-weight:700; }
.home-page .hero-grid {
  min-width: 0;
  grid-template-columns: minmax(0, 2.05fr) minmax(270px, .9fr);
  gap: 16px;
}
.home-page .hero-slider {
  height: clamp(500px, 36vw, 680px);
  min-width: 0;
  border-radius: 3px;
}
.home-page .hero-copy {
  padding: clamp(36px, 4vw, 72px) clamp(34px, 4vw, 76px);
  width: min(66%, 670px);
  position: relative;
  z-index: 2;
}
.home-page .hero-copy.light-copy h1,
.home-page .hero-copy.light-copy p {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
.home-page .hero-copy h1 {
  font-size: clamp(38px, 3.05vw, 64px);
  line-height: 1.07;
  letter-spacing: -.035em;
  margin-bottom: 22px;
}
.home-page .hero-copy p {
  max-width: 390px;
  font-size: clamp(13px, .95vw, 16px);
  line-height: 1.65;
  margin-bottom: 23px;
}
.home-page .hero-copy .btn { padding: 13px 21px; }
.home-page .slider-arrow { width: 40px; height: 40px; }
.home-page .side-banners { gap: 16px; }
.home-page .mini-banner { border-radius: 3px; min-width: 0; }
.home-page .mini-banner>div {
  width: min(77%, 310px);
  padding: clamp(20px, 2vw, 38px);
}
.home-page .mini-banner span { font-size: 11px; }
.home-page .mini-banner h3 {
  font-size: clamp(21px, 1.58vw, 31px);
  line-height: 1.17;
  margin: 8px 0 10px;
}
.home-page .mini-banner p { font-size: 12px; line-height:1.5; }

/* E-ticaret ana sayfasinda gorunur kategori reyonu. */
.home-page .home-departments { margin-top: 35px; }
.home-page .home-departments-head {
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:20px; margin-bottom:16px;
}
.home-page .home-departments-head h2 {
  font-size: clamp(22px,1.6vw,30px); margin:0;
  letter-spacing:-.025em;
}
.home-page .home-departments-head>a { color:var(--orange); font-size:12px; font-weight:800; white-space:nowrap; }
.home-page .home-departments-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:12px;
}
.home-page .department-tile {
  display:flex; align-items:center; flex-direction:column; position:relative;
  padding:16px 10px 12px;
  border:1px solid #e9e9e9;
  background:#fff;
  min-width:0;
  transition:border-color .18s, box-shadow .18s;
}
.home-page .department-tile:hover {
  border-color: var(--orange, #c94100); box-shadow:0 5px 17px rgba(20,26,33,.05);
}
.home-page .department-image {
  display:flex; justify-content:center; align-items:center;
  width:100%; height:119px;
  background:#f8f9fa;
  overflow:hidden;
}
.home-page .department-image img {
  width:100%; max-width:165px; height:115px;
  padding:8px; object-fit:contain;
}
.home-page .department-name {font-size:13px; font-weight:800; text-align:center; margin-top:12px;}
.home-page .department-arrow {position:absolute; right:10px; bottom:9px; font-size:19px; color:#aaa;}

/* Dar iki kutu yerine referanstaki gibi tam genislikte urun reyonlari. */
.home-page .section { margin-top: 42px; }
.home-page .section-head { margin-bottom: 18px; }
.home-page .section-head h2 {
  font-size: clamp(23px, 1.65vw, 31px);
  letter-spacing:-.025em;
}
.home-page .section-head p { font-size: 13px; margin-top: 5px; }
.home-page .section-head>a { font-size: 13px; }
.home-page .products { gap: 14px; }
.home-page .six-cols { grid-template-columns:repeat(6,minmax(0,1fr)); }
.home-page .twin-sections {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:44px;
  margin-top:43px;
}
.home-page .twin-sections .twin { min-width:0; }
.home-page .twin-sections .products {
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.home-page .product-card { border-radius:3px; }
.home-page .product-card:hover { transform:none; box-shadow:0 7px 22px rgba(0,0,0,.07); }
.home-page .product-card img {
  height:clamp(200px,15vw,295px);
  padding:clamp(12px,1.2vw,22px);
}
.home-page .pcopy { padding:14px 14px 16px; }
.home-page .pcopy h3 { font-size:14px; min-height:40px; }
.home-page .price strong { font-size:17px; }
.home-page .add-cart { height:40px; }
.home-page .blog-grid { gap:18px; }
.home-page .blog-card { border-radius:3px; }
.home-page .blog-card img { height:clamp(155px,13vw,235px); }
.home-page .trust-row { margin-top:45px; border-radius:3px; }

@media (min-width:1750px) {
  .home-page .hero-shell { grid-template-columns:275px minmax(0,1fr); gap:22px; }
  .home-page .allcats { width:275px; }
  .home-page .header-row { grid-template-columns:275px minmax(350px,1fr) 440px; }
  .home-page .hero-copy { width:min(66%,820px); }
  .home-page .category-panel a { font-size:14px; }
}
@media (max-width:1230px) {
  .home-page .header-row { grid-template-columns:180px minmax(225px,1fr) 315px; gap:16px; }
  .home-page .header-actions { gap:10px; }
  .home-page .action-copy small { display:none; }
  .home-page .hero-shell { grid-template-columns:208px minmax(0,1fr); gap:12px; }
  .home-page .allcats {width:208px;}
  .home-page .hero-grid { grid-template-columns:minmax(0,1.55fr) minmax(220px,.9fr);gap:12px; }
  .home-page .hero-copy {padding:35px 56px;width:80%;}
  .home-page .hero-copy h1 {font-size:37px;}
  .home-page .mini-banner>div {width:83%;padding:20px;}
  .home-page .mini-banner h3 {font-size:21px;}
  .home-page .home-departments-grid { gap:9px; }
}
@media (max-width:1020px) {
  .home-page .header-row {grid-template-columns:170px minmax(0,1fr);height:75px;}
  .home-page .header-actions {display:none;}
  .home-page .hero-shell {grid-template-columns:minmax(0,1fr);margin-top:12px;}
  .home-page .category-panel {display:none;}
  .home-page .category-panel.open {display:flex;}
  .home-page .category-panel a {flex:none;min-height:42px;}
  .home-page .hero-slider {height:450px;}
  .home-page .hero-copy {padding:36px 58px;width:85%;}
  .home-page .hero-grid {grid-template-columns:minmax(0,1.6fr) minmax(240px,.9fr);}
  .home-page .home-departments-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
  .home-page .six-cols,.home-page .twin-sections .products {grid-template-columns:repeat(3,minmax(0,1fr));}
  .home-page .product-card img {height:190px;}
}
@media (max-width:760px) {
  .home-page .container {width:calc(100% - 28px);}
  .home-page .topbar-inner {min-height:30px;}
  .home-page .header-row {height:auto;grid-template-columns:1fr;padding:12px 0;}
  .home-page .navline-inner {height:auto;}
  .home-page .allcats {width:100%;height:44px;min-height:44px;}
  .home-page .mainnav {gap:24px;padding:6px 0;}
  .home-page .hero-grid {grid-template-columns:1fr;gap:10px;}
  .home-page .hero-slider {height:410px;}
  .home-page .hero-copy {padding:33px 56px;width:88%;}
  .home-page .hero-copy h1 {font-size:36px;margin-bottom:12px;}
  .home-page .hero-copy p {font-size:13px;margin-bottom:15px;}
  .home-page .side-banners {grid-template-columns:1fr 1fr;grid-template-rows:none;gap:10px;}
  .home-page .mini-banner {min-height:185px;}
  .home-page .mini-banner>div {width:85%;padding:17px;}
  .home-page .mini-banner h3 {font-size:19px;}
  .home-page .home-departments {margin-top:28px;}
  .home-page .home-departments-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  .home-page .department-tile {padding:9px 7px 10px;}
  .home-page .department-image {height:84px;}
  .home-page .department-image img {height:82px;}
  .home-page .department-name {font-size:11px; margin-top:7px;}
  .home-page .department-arrow {display:none;}
  .home-page .section {margin-top:31px;}
  .home-page .section-head h2 {font-size:23px;}
  .home-page .twin-sections {gap:29px; margin-top:31px;}
  .home-page .six-cols,.home-page .twin-sections .products {grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-page .product-card img {height:170px;}
  .home-page .products {gap:9px;}
}
@media (max-width:480px) {
  .home-page .hero-slider {height:365px;}
  .home-page .hero-copy {width:100%;padding:24px 20px 68px;}
  .home-page .hero-copy h1, .home-page .hero-copy h2.hero-title {font-size:30px;}
  .home-page .hero-copy p {font-size:12px;}
  .home-page .side-banners {grid-template-columns:1fr;}
  .home-page .mini-banner {min-height:155px;}
  .home-page .mini-banner>div {width:75%;}
  .home-page .home-departments-head h2 {font-size:20px;}
  .home-page .home-departments-head>a {font-size:11px;}
  .home-page .home-departments-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .home-page .home-departments-grid::-webkit-scrollbar { display: none; }
  .home-page .department-tile {
    flex: 0 0 115px;
    scroll-snap-align: start;
  }
  .home-page .product-card img {height:150px;}
  .home-page .pcopy {padding:9px;}
  .home-page .price strong {font-size:14px;}
}
