@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');


:root {
  --main-color: #0b0b0b;
  --gold-hover: #dfbe46;
  --border: 0.1rem solid rgb(255, 255, 255, 0.4)
}

* {

  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: 0.3s ease;
}

/*! base html codes */
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 0.8rem;
  background-color: #0b0b0b;
}

html::-webkit-scrollbar-thumb {
  border-radius: 3rem;
  background-color: white;
}

body {
  background-color: #0b0b0b;
  min-height: 100vh;
  overflow-x: hidden !important;
  width: 100%;
}

/* Stabilizer for fixed background issues on mobile */
body.menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

section {
  padding: 5rem 7%;
  /* Daha ferah boşluk */
}

.heading {
  text-align: center;
  font-size: 4rem;
  color: #fff;
  text-transform: uppercase;
  padding: 2rem 0;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 2px;
  position: relative;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: 0.4rem;
  background: #d4af37;
  border-radius: 2rem;
}

.heading span {
  color: #dfbe46;
  text-transform: uppercase;
}

/*! header start */
.header .logo img {
  height: 11rem;
  image-rendering: -webkit-optimize-contrast;
  object-fit: contain;
}

.header {
  background-color: #0b0b0b;
  border-bottom: 4px solid #d4af37;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  margin: 0;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 9rem;
  /* Slightly taller for PC */
}

.header .navbar {
  display: flex !important;
  align-items: center;
  margin: 0 auto;
  /* CENTER ON PC */
}

.nav-item {
  position: relative;
  padding: 2.5rem 0;
}

.header .navbar a {
  margin: 0 1.5rem;
  font-size: 1.6rem;
  color: #d4af37;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  font-weight: 500;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-radius: 0 0 1rem 1rem;
  border-top: 2px solid #d4af37;
  display: none;
  z-index: 1001;
  padding: 1rem 0;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  position: relative;
}

.dropdown-link {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2.5rem;
  margin: 0 !important;
  width: 100%;
  color: #fff !important;
  font-size: 1.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  background: #111;
  color: #d4af37 !important;
  padding-left: 3.2rem;
}

.dropdown-link label {
  cursor: pointer;
}

/* Submenu (Teams) */
.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #151515;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-radius: 0 1rem 1rem 1rem;
  border-left: 2px solid #d4af37;
  display: none;
  padding: 1rem 0;
}

.dropdown-item:hover .submenu {
  display: block;
}

@media (max-width: 991px) {
  .header {
    padding: 0 1.5rem;
    justify-content: flex-start;
    /* Ensure items stay left */
    gap: 1rem;
    height: 7rem;
  }

  .header .logo img {
    height: 4.5rem !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .header .buttons {
    margin-left: auto;
    /* Push buttons to right */
    display: flex;
    align-items: center;
  }

  #menu-btn {
    display: inline-block !important;
    background: transparent;
    color: #d4af37;
    font-size: 2.5rem;
    cursor: pointer;
    order: -1;
    /* En sola gelmesi için */
  }

  .header .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 32rem;
    background: #0b0b0b;
    background: linear-gradient(180deg, rgba(15, 15, 15, 1) 0%, rgba(5, 5, 5, 1) 100%);
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    padding: 8rem 3rem 4rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    transform: translateX(-110%);
    opacity: 0;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 15px 0 50px rgba(0, 0, 0, 0.9);
    display: flex !important;
    z-index: 10001;
    margin: 0 !important;
    backface-visibility: hidden;
    /* Prevent flicker */
  }

  .header .navbar.aktif {
    transform: translateX(0);
    opacity: 1;
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Slightly darker since blur is removed */
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    backface-visibility: hidden;
  }

  .menu-overlay.aktif {
    visibility: visible;
    opacity: 1;
  }

  #close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    color: #d4af37;
    font-size: 3rem;
    cursor: pointer;
    display: block !important;
    z-index: 10002;
    /* Ensure it's above other items */
  }

  .header .navbar.aktif {
    left: 0;
  }

  .nav-item {
    width: 100%;
    padding: 0;
    text-align: left;
  }

  .header .navbar a {
    display: block;
    padding: 1.8rem 0;
    margin: 0;
    font-size: 2.1rem;
    /* Slightly larger as requested */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 500;
  }

  .dropdown-link {
    font-size: 1.9rem !important;
    /* Büyük mobil yazı */
    padding: 1.6rem 3rem !important;
    /* Rahat basılabilir alan */
  }

  .dropdown-link:hover {
    padding-left: 3rem !important;
    /* Mobilde kayma efektini kapat */
  }

  .dropdown-menu,
  .submenu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(212, 175, 55, 0.03);
    padding-left: 2rem;
  }

  .nav-item:hover .dropdown-menu {
    display: none;
    /* Deactivate hover on mobile */
  }

  .nav-item.aktif-mobil>.dropdown-menu,
  .dropdown-item.aktif-mobil>.submenu {
    display: block !important;
    position: static;
    background: rgba(212, 175, 55, 0.05);
    margin: 0.5rem 0;
    padding-left: 2rem;
    border-left: 2px solid #d4af37;
    animation: slideDown 0.3s ease forwards;
    max-height: 1000px;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      max-height: 1000px;
      transform: translateY(0);
    }
  }

  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Sidebarda okların konumu */
  .header .navbar a i {
    float: right;
    margin-top: 1rem;
    transition: transform 0.3s;
    font-size: 1.2rem;
  }

  /* Formalar linki tıklandığında okun dönmesi */
  .nav-item.aktif-mobil>a i {
    transform: rotate(180deg);
  }
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

#close-btn {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header .buttons button {
  cursor: pointer;
  font-size: 2.5rem;
  margin-left: 2rem;
  background-color: transparent;
  color: #d4af37;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header .buttons button i {
  font-size: 2.5rem;
}

.header .buttons .cart-count {
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  background-color: #d4af37;
  color: #0b0b0b;
  font-size: 1.1rem;
  height: 1.8rem;
  width: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cart-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 2.5rem;
  margin-left: 1.5rem;
  color: #d4af37;
}

.cart-btn i {
  font-size: 2.5rem;
}

.user-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 125%;
  background: #111;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-radius: 1.2rem;
  z-index: 10000;
  border: 1px solid #333;
  overflow: hidden;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown-content.show {
  display: block;
}

/* HEADER SEARCH STYLES REMOVED (DUPLICATE) */

.header-search .search-box {
  display: flex;
  align-items: center;
  background: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 5rem;
  border: 1px solid #333;
}

.header-search .search-box input {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  padding: 0 1.5rem;
  outline: none;
}

.header-search .search-box i {
  color: #d4af37;
  font-size: 1.8rem;
  cursor: pointer;
}

/* SEARCH RESULTS */
.search-results {
  background: #111;
  margin-top: 1rem;
  border-radius: 1.2rem;
  max-height: 40rem;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.search-results::-webkit-scrollbar {
  width: 5px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

.user-dropdown-content a {
  color: #fff !important;
  padding: 1.4rem 2rem !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  font-size: 1.7rem !important;
  /* Slightly larger for mobile profile menu */
  border-bottom: 1px solid #222 !important;
  text-transform: none !important;
  transition: 0.3s;
}

.user-dropdown-content a i {
  width: 20px;
  text-align: center;
}

.user-dropdown-content a:hover {
  background: #222;
  color: #d4af37 !important;
  padding-left: 2.5rem !important;
}

.user-dropdown-content a:last-child {
  border-bottom: none !important;
}

/*! anasayfa start */
.anasayfa {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../images/yamal.jpg) no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  /* Changed from fixed to avoid sync issues on mobile */
  display: flex;
  align-items: center;
  padding: 0 7%;
  width: 100%;
}

.anasayfa .content {
  max-width: 55rem;
  text-align: left;
}

.anasayfa .content h3 {
  font-family: 'oswald', sans-serif !important;
  font-size: 7.5rem;
  color: #fff;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.anasayfa .content p {
  font-size: 1.7rem;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);

}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding: 1.2rem 3.5rem;
  background-color: #d4af37;
  color: #000;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3rem;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  width: fit-content;
  cursor: pointer;
  border: none;
  color: #000 !important;
  /* Ensure black text on gold */
}

.btn:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  background-color: white;
}

.search-input {

  font-size: 1.6rem;

  color: var(--black-color);
  padding: 1rem;
  text-transform: none;
  border-radius: 3rem;
}

.btn-urun {
  display: inline-block;
  width: fit-content;
  margin-top: 1.5rem;
  padding: 1.2rem 2.5rem;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: 0.3s all;
  cursor: pointer;
}

.btn-urun:hover {
  background-color: #e0e0e015;
  color: #000;
  transform: scale(1.03);
}

.heading {
  text-align: center;
  font-size: 4rem;
  color: #fff;
  text-transform: uppercase;
  padding: 2rem 0;
  margin: 3rem 0;
  font-weight: 600;
  letter-spacing: 2px;
}

/*! anasayfa end */
/*! Formalar start */

.scrollable-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 2rem !important;
  padding: 2rem 0 4rem 0 !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollable-container::-webkit-scrollbar {
  display: none !important;
}

.scrollable-container .box {
  min-width: calc(20% - 1.6rem) !important;
  max-width: calc(20% - 1.6rem) !important;
  flex: 0 0 calc(20% - 1.6rem) !important;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  background-color: #fff !important;
  border: none;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.scrollable-container .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.scrollable-container .box .box-head img {
  height: 35rem !important;
  width: 100% !important;
  object-fit: cover !important;
}

.scrollable-container .box .box-head .ligler {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: #dfbe46;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 500;
  z-index: 5;
}

.scrollable-container .box .box-bottom {
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.scrollable-container .box h3 {
  font-size: 1.6rem !important;
  color: #111 !important;
  height: 4rem;
  line-height: 2rem;
  overflow: hidden;
  font-weight: 600;
}

.scrollable-container .box .fiyat {
  font-size: 2.2rem !important;
  color: #111 !important;
  font-weight: 700;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.slider-btn.left {
  left: -3rem;
}

.slider-btn.right {
  right: -3rem;
}

.box-head {
  position: relative;
  overflow: hidden;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none !important;
  border: none !important;
  outline: none !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 35px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  padding: 0 10px;
}

.nav-arrow:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.nav-arrow.left {
  left: 0;
}

.nav-arrow.right {
  right: 0;
}

.product-img {
  transition: opacity 0.2s ease-in-out;
}

/*! Formalar end */
.logo img {
  height: 3rem;
}

/*! Kategoriler start */
.ligkategori .box-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(28rem, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1700px;
  margin: 0 auto;
}

.ligkategori .box-container .box {
  position: relative;
  border-radius: 2rem;
  height: 65rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ligkategori .box-container .box .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ligkategori .box-container .box .image img {
  position: static;
  transform: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;

}

.ligkategori .box-container .box .btn-kategori {
  display: block;
  position: absolute;
  bottom: 20px;
  right: 0;
  color: #ffffff !important;
  font-size: 45px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  height: 100%;

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.ligkategori .box-container .box .btn-kategori span {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  color: #ffffff !important;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  z-index: 10;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}


/*! Kategoriler end */

/*! About start  */
.about .row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4rem;
}

.about .row .image {
  flex: 1 1 20rem;
}

.about .row img {
  width: 100%;
}

.about .row .content {
  flex: 1 1 45rem;
}

.about .row .content h3 {
  font-size: 3rem;
  color: #ffffff;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.about .row .content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: #ccc;
  line-height: 2;
  padding: 1rem 0;
}

.about .row .content ul li {
  margin-bottom: 1.5rem;
}

/*! About end */

/*! Review Start*/
.review .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.review .box-container .box {
  border: var(--border);
  text-align: center;
  padding: 3rem 2rem;
  background-color: #fff;
  border-radius: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.review .box-container .box p {
  flex: 1;
  font-size: 1.4rem;
  color: #0b0b0b;
  line-height: 1.8;
  padding: 2rem 0;
}

.review .review-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
}

.review .box-container .box h3 {
  color: #000;
  font-size: 2rem;
  margin-top: 1rem;
}

.review .box-container .box .stars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 0.2rem;
}

.review .box-container .box .stars i {
  color: #d4af37;
  font-size: 1.8rem;
}

.review .box-container .box i.fa-quote-right {
  font-size: 5rem;
  color: #000;
  position: relative;
}

/*! Review End*/
/*! İletişim Start*/
.footer {

  background-color: var(--main-color);
  border-top: 1rem solid #fff;
  border-radius: 1.5rem;
  padding-top: 3rem;
  text-align: center;

}

.footer .search {
  display: flex;
  justify-content: center;

}

.footer .search .search-input {

  width: 40rem;
}

.footer .search .btn-primary {
  background-color: #d4af37 !important;
  color: #000 !important;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  margin-left: 1rem;
  border-radius: 3rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.footer .search .btn-primary:hover {
  background-color: #fff !important;
  transform: translateY(-2px);
}

.footer .share {
  padding: 2rem 0;

}

.footer .share a {
  width: 5rem;
  height: 5rem;
  line-height: 5rem;
  color: #fff;
  font-size: 2rem;
  border: var(--border);
  border-radius: 50%;
  margin: 0.3rem;

}

.footer .share a:hover {

  background-color: #f5f5f5;
  color: black;
}

.footer .links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;

}

.footer .links a {

  background-color: #fff;
  padding: 0.7rem 2rem;
  color: #000;
  font-size: 2rem;
  border: var(--border);
  border-radius: 1.6rem;
}

.footer .links a:hover {
  background-color: #000;
  color: #fff;
}

.footer .links a.active {
  background-color: var(--black-color);
}

.footer .credit {
  font-size: 2rem;
  color: #fff;
  font-weight: 300;
  padding-top: 1.5rem;
}

.credit .my-name {
  color: #fff;
  text-transform: uppercase;
  font-weight: 2rem;
  letter-spacing: .1rem;
  transition: .3s;
}

/*! İletişim End*/

#menu-btn {
  display: none;
}

/*! Responsive Start*/
@media (max-width:991px) {

  html {
    font-size: 55%;
  }

  .header {
    padding: 1.5rem 2rem;
  }

  .header .logo img {
    height: 7rem;

  }
}

/* User Dropdown */
.user-dropdown-content.show {
  display: block !important;
}

.user-dropdown-content a:hover {
  background-color: #000;
  padding-left: 20px;
  transition: 0.3s;
  color: #d4af37 !important;
}

@media (max-width: 768px) {
  .anasayfa .content h3 {
    font-size: 4.5rem;
  }

  .anasayfa .content p {
    font-size: 1.4rem;
  }

  #menu-btn {
    display: inline-block;
    position: relative;
    z-index: 10000;
    cursor: pointer;
  }

  /* Sidebar is handled by 991px query, removing the old clip-path navbar here */

  .header .navbar a {
    display: block;
    margin: 2rem;
    font-size: 2rem;
  }

  /* Formlar/Kategoriler mobilde küçültme ve hizalama */
  .formalar .box-container {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  }

  .ligkategori .box-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .ligkategori .box-container .box {
    height: 40rem;
  }

  .formalar .box-container .box {
    min-height: 40rem;
  }

  .ligkategori .box-container .box .btn-kategori span {
    font-size: 18px;
  }

  /* About (Kumaş Kalitesi) Resmi ve Search Input Küçültme */
  .about .row {
    flex-direction: column;
  }

  .about .row .image {
    margin-bottom: 2rem;
  }

  .about .row .image img {
    width: 100%;
    max-width: 40rem;
    /* Mobilde çok devasa olmaması için */
    margin: 0 auto;
    display: block;
    border-radius: 1rem;
  }

  .footer .search .search-input {
    width: 100%;
    max-width: 30rem;
  }

  .footer .search {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer .search .btn-primary {
    margin-left: 0;
    width: 100%;
    max-width: 30rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .anasayfa .content h3 {
    font-size: 3.5rem;
  }

  .ligkategori .box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .ligkategori .box-container .box {
    height: 20rem;
  }

  /* Yorum kutularının taşmasını engelle */
  .review .box-container .box {
    overflow: hidden;
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .review .box-container .box .stars {
    flex-wrap: wrap;
    overflow: hidden;
    max-width: 100%;
  }

  .review .box-container .box .stars i {
    font-size: 1.2rem;
  }
}

/*! Responsive End*/
/* SEARCH BAR - MODERN & RESPONSIVE */
.header-search {
  position: absolute;
  top: 100%;
  right: 5%;
  width: 40rem;
  background: #111;
  border: 1px solid #d4af37;
  border-top: none;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 1001;
  padding: 0;
  overflow: hidden;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-search.aktif {
  display: block;
  animation: fadeInDown 0.3s ease;
}

/* Shared Search Box Styles */
.search-box {
  background: #1a1a1a;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #222;
  width: 100%;
}

.search-box i {
  color: #d4af37;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #fff;
  font-size: 1.6rem;
  flex: 1;
}

.search-box input::placeholder {
  color: #888;
}

.search-results {
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #111;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  border: 1px solid #333;
  border-top: none;
}

/* SEARCH OVERLAY (Full screen or centered) */
.search-overlay-container.aktif {
  visibility: visible;
  opacity: 1;
}

/* Removed unused overlay styles */

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.search-results::-webkit-scrollbar {
  width: 5px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

.s-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
  border-bottom: 1px solid #222;
  text-decoration: none;
  transition: background 0.2s;
}

.s-item:hover {
  background: #1a1a1a;
}

.s-item img {
  width: 50px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.s-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s-title {
  color: #eee;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.s-price {
  font-size: 1.4rem;
  color: #d4af37;
  font-weight: 700;
  margin-top: 0.2rem;
}

.s-info .s-tag {
  font-size: 1.1rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s-all,
.s-none {
  padding: 1.5rem;
  text-align: center;
  display: block;
  text-decoration: none;
  font-size: 1.3rem;
}

.s-all {
  color: #d4af37;
  background: #111;
  border-top: 1px solid #333;
}

.s-all:hover {
  background: #1a1a1a;
}

.s-none {
  color: #888;
}

@media (max-width: 768px) {
  .scrollable-container .box {
    min-width: calc(45% - 1.5rem) !important;
    max-width: calc(45% - 1.5rem) !important;
    flex: 0 0 calc(45% - 1.5rem) !important;
  }

  .slider-btn {
    display: none !important;
  }

  /* Mobilde kaydırma elle yapılır */
}

@media (max-width: 450px) {
  .scrollable-container .box {
    min-width: calc(85% - 1rem) !important;
    max-width: calc(85% - 1rem) !important;
    flex: 0 0 calc(85% - 1rem) !important;
  }

  .ligkategori .box-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .ligkategori .box-container .box {
    height: 20rem !important;
  }

  .ligkategori .box-container .box .btn-kategori span {
    font-size: 1.4rem !important;
  }

  .btn-urun {
    padding: 1.2rem 2rem !important;
    font-size: 1.3rem !important;
    width: fit-content !important;
    margin-top: 1rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }


  .header .buttons button,
  .cart-btn {
    font-size: 2.0rem !important;
    margin-left: 1.5rem !important;
  }

  .header-search {
    right: 1.5rem !important;
    width: calc(100% - 3rem) !important;
    max-width: none !important;
  }

  .header {
    padding: 1rem !important;
    margin: 0 !important;
    border-radius: 0;
    justify-content: flex-start !important;
    gap: 1.5rem;
  }

  #menu-btn {
    margin-right: 0;
    font-size: 2.2rem !important;
  }

  .header .buttons {
    margin-left: auto;
  }

  .anasayfa {
    background-size: cover;
    background-position: center;
  }
}