/* Tüm vitrin sayfaları — footer, sepet, içerik (style.css yerine) */

body.ecommerce {
  background: #f5f6f8;
}

/* Üst bar — logo, arama, sepet (float/absolute çakışmalarını kapat) */
body.ecommerce #head1.globalheadsub {
  display: flex !important;
  align-items: center;
  gap: 16px 24px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 12px 20px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid #e8ecf2;
  position: sticky;
  top: 0;
  z-index: 220;
}

@media (max-width: 991px) {
  body.ecommerce #head1.globalheadsub {
    display: none !important;
  }
}

body.ecommerce .globalheadsub::after {
  content: none;
  display: none;
}

body.ecommerce #head1 .analogoA.site-wordmark {
  flex: 0 0 auto;
  float: none !important;
  margin: 0;
  max-width: 11rem;
}

body.ecommerce #head1 .menu-search {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 680px;
  margin: 0 auto;
  float: none !important;
}

body.ecommerce #head1 #topicons {
  flex: 0 0 auto;
  margin-left: auto;
  float: none !important;
}

body.ecommerce #head1 #topicons .user-menu-container {
  float: none;
  height: auto;
  top: 0;
}

body.ecommerce #head1 #arama2.store-search,
body.ecommerce #head1 #arama2.input-group {
  position: relative !important;
  display: flex !important;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  margin: 0;
  border: 1px solid #d4dbe6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  z-index: 1 !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

body.ecommerce #head1 #arama2 .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  border: 0;
  padding: 11px 16px;
  font-size: 15px;
  line-height: 1.4;
  background: #fff;
}

body.ecommerce #head1 #arama2 .smARA {
  position: static !important;
  flex: 0 0 48px;
  width: 48px;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #d4dbe6;
  border-radius: 0 !important;
  cursor: pointer;
}

body.ecommerce #head1 #topicons .shopping-cart {
  width: 44px;
  height: 44px;
  background: #003ca6 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  zoom: 1;
}

body.ecommerce .header .shopping-cart.onlymobile {
  display: none !important;
}

@media (max-width: 991px) {
  body.ecommerce .header .shopping-cart.onlymobile {
    display: flex !important;
    width: 40px;
    height: 40px;
    background: #003ca6 !important;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
  }

  body.ecommerce .header .shopping-cart.onlymobile .user-menu__link {
    position: relative;
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
}

body.ecommerce #head1 #topicons .shopping-cart .user-menu__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

body.ecommerce .user-menu__icon--svg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0;
}

body.ecommerce .user-menu__icon--svg::before,
body.ecommerce .user-menu__icon--svg::after {
  content: none !important;
  display: none !important;
}

body.ecommerce .user-menu__icon--svg svg {
  display: block;
}

body.ecommerce #head1 #topicons .user-menu__cart-quantity,
body.ecommerce .header .shopping-cart.onlymobile .user-menu__cart-quantity {
  position: absolute;
  right: -4px;
  top: -4px;
  z-index: 2;
}

body.ecommerce .header-icon-search {
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.ecommerce .header-icon-search::before {
  content: none !important;
  display: none !important;
}

body.ecommerce #head1 #arama2 .smARA {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #003ca6 !important;
}

@media (min-width: 992px) {
  body.ecommerce .header .header-item-right {
    display: none !important;
  }
}

body.ecommerce .site .container,
body.ecommerce main.container.page-main {
  width: 100% !important;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

body.ecommerce main.page-main,
body.ecommerce main.page-main-wide.bloklist {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px 15px 40px;
  box-sizing: border-box;
}

body.ecommerce main.page-main-wide {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 48px;
  box-sizing: border-box;
}

body.ecommerce main.page-main-wide:has(.urunmain) {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.ecommerce .trust-block .container,
body.ecommerce .site-footer .container {
  max-width: 1200px;
}

body.ecommerce .simple-page {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-top: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.ecommerce .simple-page h1 {
  margin-top: 0;
  font-size: clamp(22px, 3vw, 28px);
  color: #1f2937;
}

body.ecommerce .anah1 {
  max-width: 1480px;
  margin: 20px auto 16px;
  padding: 0 15px;
  text-align: center;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}

body.ecommerce .topsNEW {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 10px 24px;
}

body.ecommerce .cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.ecommerce .cart-table th,
body.ecommerce .cart-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f5;
  text-align: left;
}

body.ecommerce .cart-table th {
  background: #f8fafc;
  font-weight: 600;
}

body.ecommerce .btn-primary {
  display: inline-block;
  background: #003ca6;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

body.ecommerce .trust-block {
  background: #fff;
  border-top: 1px solid #eef1f5;
  padding: 36px 16px;
  text-align: center;
  margin-top: 8px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.ecommerce:has(.page-main--checkout) .trust-block {
  margin-top: 0;
}

body.ecommerce .trust-block h2 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.5vw, 24px);
}

body.ecommerce .trust-link {
  color: #003ca6;
  font-weight: 600;
}

body.ecommerce .site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 36px 0 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.ecommerce .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

body.ecommerce .site-footer h3 {
  margin-top: 0;
  font-size: 15px;
  color: #fff;
}

body.ecommerce .site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.ecommerce .site-footer li {
  margin-bottom: 8px;
}

body.ecommerce .site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

body.ecommerce .site-footer p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px;
}

body.ecommerce .whatsapp-btn,
body.ecommerce .whatsapp-float {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

body.ecommerce .whatsapp-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
}

body.ecommerce .whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 50;
}

body.ecommerce .footer-copy {
  text-align: center;
  padding: 16px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  body.ecommerce .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  body.ecommerce main.page-main,
  body.ecommerce main.container.page-main {
    padding: 12px 10px 32px;
  }
}

@media (max-width: 480px) {
  body.ecommerce .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Metin marka — logo görseli yerine */
a.site-wordmark {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #003ca6 !important;
  text-decoration: none !important;
  line-height: 1.1;
  white-space: nowrap;
}

a.site-wordmark:hover {
  color: #002d7a !important;
}

a.site-wordmark--mobile {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  justify-content: center;
  padding: 4px 0;
}

body.ecommerce #head1 .analogoA.site-wordmark {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ana menü — alt satır */
@media (min-width: 992px) {
  body.ecommerce .header a.analogoM.site-wordmark {
    display: none !important;
  }

  body.ecommerce .header {
    background: #fff;
    border-bottom: 1px solid #eef1f5;
  }

  body.ecommerce .header > .container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 12px;
  }

  body.ecommerce .header .wrapper {
    min-height: 48px;
    align-items: center;
  }

  body.ecommerce .header-item-left {
    display: none !important;
  }

  body.ecommerce .header-item-center {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    padding-top: 0;
    align-items: center;
  }

  body.ecommerce .header .menu {
    flex: 1 1 auto;
    width: 100%;
  }

  body.ecommerce .header .menu > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body.ecommerce .header .menu > ul > li > a {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
  }

  body.ecommerce .header .menu > ul > li > a:hover {
    color: #003ca6;
  }
}
