.site-header {
  background: #fff;
  position: relative;
  z-index: 30;
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--header-pad) 0;
  min-height: 112px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.header-side {
  justify-self: start;
}

.logo {
  justify-self: center;
}

.logo img {
  width: 230px;
  height: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 0;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 268px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e6d9cc;
  border-radius: 999px;
  background: #fff;
}

.search:focus-within {
  border-color: #c4b09c;
}

.search svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #b3a79d;
}

.search input {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #4a433d;
  font-size: 14px;
  line-height: 48px;
  outline: none;
  appearance: none;
}

.search input::-webkit-search-decoration,
.search input::-webkit-search-cancel-button {
  appearance: none;
}

.search input::placeholder {
  color: #c3b6aa;
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2a241f;
  position: relative;
  cursor: pointer;
}

.icon-btn:hover {
  background: #f6f1ea;
}

.icon-btn svg {
  width: 28px;
  height: 28px;
}

[data-cart-count] {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--cart-badge-bg, var(--accent, #c4784a));
  color: var(--cart-badge-text, #fff);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--paper, #fff);
}

.main-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
  padding: 0 var(--header-pad);
  row-gap: 0;
  column-gap: 42px;
}

.nav-item__row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0 18px;
}

.nav-item__row>a {
  color: var(--nav);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-item__row>a:hover,
.nav-item:hover>.nav-item__row>a {
  color: #000;
}

.nav-subtoggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b7aea6;
  cursor: pointer;
}

.nav-item.is-open .nav-subtoggle svg,
.nav-item:hover .nav-subtoggle svg {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #efe8e1;
  box-shadow: 0 18px 32px rgba(43, 36, 31, 0.08);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.is-open .submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.submenu__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 22px var(--header-pad) 18px;
  background: transparent;
}

.submenu__col {
  display: flex;
  flex: 0 0 164px;
  flex-direction: column;
  width: 164px;
  min-width: 164px;
  max-width: 164px;
}

.submenu__col .submenu__title {
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  min-height: 46px;
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid #efe8e1;
  color: #2b241f;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}

.submenu__col a:not(.submenu__title) {
  display: block;
  padding: 10px 0 0;
  color: #6d625a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.submenu__col a:hover {
  color: #c4784a;
}

@media (prefers-reduced-motion: reduce) {
  .submenu {
    transition: none;
  }
}

.marquee {
  width: 100%;
  background: var(--bar);
  color: var(--bar-text);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  padding: 0 36px;
  font-size: var(--bar-size, 15px);
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .header-bar {
    min-height: 78px;
    padding-top: 10px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .logo img {
    width: 150px;
  }

  .search {
    display: none;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 20px 16px;
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .nav-item__row {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
  }

  .submenu {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0 0 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-item.is-open .submenu {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .submenu__grid {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .submenu__col {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* Footer — beyaz, ferah, sade */
.site-footer {
  background: #fff;
  color: var(--nav, #3a312b);
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 40px 48px;
  padding: 64px 0 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  display: inline-flex;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.footer-logo img,
.footer-brand img {
  width: auto;
  max-width: 200px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.footer-col {
  min-width: 0;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #1f1a16;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer .footer-col a {
  display: block;
  margin: 0;
  padding: 6px 0;
  color: #6b635c;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer .footer-col a:hover {
  color: #1f1a16;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.site-footer .socials a,
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f7f7;
  color: #2c2621;
  border: 1px solid #ececec;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-footer .socials a:hover,
.socials a:hover {
  background: #1f1a16;
  color: #fff;
  border-color: #1f1a16;
}

.site-footer .socials svg,
.socials svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  display: block;
}

.legal {
  margin: 0;
  padding: 20px 0 28px;
  background: transparent;
  border-top: 1px solid #eee;
  color: #9a928a;
  text-align: center;
}

.legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
}

.legal span {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.015em;
  color: #9a928a;
}

.legal-sep {
  opacity: 0.5;
  font-size: 11px;
  line-height: 1;
}

.legal-powered {
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
    padding: 52px 0 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 44px 0 32px;
    gap: 28px;
  }

  .footer-logo img,
  .footer-brand img {
    height: 46px;
    max-width: 180px;
  }

  .legal {
    padding: 16px 0 24px;
  }

  .legal-sep {
    display: none;
  }

  .legal-inner {
    flex-direction: column;
    gap: 4px;
  }
}