/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  color: #111;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* ================= SALE BANNER ================= */
.sale-banner {
  background: linear-gradient(45deg, #e82e2e, #9d0303);
  color: white;
  text-align: center;
  padding: 12px 15px;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 14px;
}

.sale-banner button {
  margin-left: 10px;
  padding: 7px 15px;
  border: none;
  background: #111;
  color: white;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.3s;
}

.sale-banner button:hover {
  background: orange;
  color: black;
}

/* ================= NAVBAR ================= */
.navbar {
  width: 92%;
  max-width: 1400px;
  margin: 18px auto;
  padding: 18px 34px;

  background: rgba(17, 17, 17, 0.94);
  color: white;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  position: sticky;
  top: 15px;
  z-index: 1000;

  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  -webkit-backdrop-filter:blur(14px);
  backdrop-filter: blur(14px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

  transition: 0.3s ease;
}

.navbar.hide {
  transform: translateY(-130%);
}

.name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 3px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.name:hover {
  color: orange;
}

/* ================= NAV LINKS ================= */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: orange;
  border-radius: 999px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: orange;
}

.nav-links a:hover::after {
  width: 100%;
}

.categories-dropdown {
  position: relative;
}

.categories-dropdown > a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;

  min-width: 230px;

  background: white;

  border-radius: 18px;

  padding: 12px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition: 0.3s;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  z-index: 999;
}

.dropdown-menu a {
  text-decoration: none;

  color: #111;

  padding: 14px 16px;

  border-radius: 12px;

  font-weight: 600;

  transition: 0.3s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: orange;
}

.categories-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ================= ICONS ================= */
.icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon {
  width: 42px;
  height: 42px;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;

  color: white;
  font-size: 16px;

  transition: 0.3s;
}

.icon:hover {
  background: orange;
  color: black;
  transform: translateY(-3px);
}

.cart span {
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 19px;
  height: 19px;
  padding: 0 5px;

  background: orange;
  color: black;

  font-size: 10px;
  font-weight: bold;
  line-height: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 999px;
}

/* ================= MENU TOGGLE ================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1200;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 999px;
  transition: 0.3s;
}

/* ================= SEARCH ================= */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1001;
}

.overlay.active {
  display: block;
}

.search-bar {
  position: fixed;
  top: 135px;
  left: 50%;
  transform: translate(-50%, -20px);

  width: 50%;
  max-width: 700px;

  background: white;
  padding: 16px;
  border-radius: 18px;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
  z-index: 1002;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.search-bar.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.search-bar input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 14px;
  outline: none;
  font-size: 15px;
}

.search-bar input:focus {
  border-color: orange;
}

.search-results {
  width: 100%;

  max-height: 420px;

  overflow-y: auto;

  background: white;

  border-radius: 0 0 22px 22px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  margin-top: 10px;

  display: flex;
  flex-direction: column;

  gap: 8px;

  padding: 10px;
}

.search-item {
  display: flex;

  align-items: center;

  gap: 14px;

  padding: 10px;

  border-radius: 16px;

  cursor: pointer;

  transition: 0.3s;
}

.search-item:hover {
  background: #f5f5f5;
}

.search-item img {
  width: 70px;

  height: 70px;

  object-fit: cover;

  border-radius: 14px;

  background: #f3f3f3;
}

.search-info {
  display: flex;
  flex-direction: column;
}

.search-info h4 {
  margin: 0;

  font-size: 15px;

  color: #111;
}

.search-info span {
  margin-top: 6px;

  font-weight: bold;

  color: orange;
}

.search-empty {
  text-align: center;

  padding: 20px;

  color: #777;
}
/* ================= NEWSLETTER ================= */
.newsletter {
  width: 92%;
  max-width: 1200px;
  margin: 80px auto;
  background: #111;
  color: white;
  padding: 60px 35px;
  border-radius: 34px;
  text-align: center;
}

.newsletter h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.newsletter p {
  color: #ccc;
}

.newsletter-box {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.newsletter-box input {
  width: 380px;
  max-width: 100%;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
}

.newsletter-box button {
  border: none;
  background: orange;
  color: black;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: bold;
  transition: 0.3s;
}

.newsletter-box button:hover {
  background: white;
}

/* ================= FOOTER ================= */
.footer {
  background: #000;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  padding: 55px 6%;
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 18px;
}

.footer a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin: 9px 0;
  transition: 0.3s;
}

.footer a:hover {
  color: orange;
}

.footer-bottom {
  text-align: center;
  padding: 22px;
  border-top: 1px solid #222;
  color: #777;
}

/* ================= SOCIAL ================= */
.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 42px;
  height: 42px;
  background: #111;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;
  color: white;

  transition: 0.3s;
}

.social-icons a:hover {
  background: orange;
  color: black;
  transform: translateY(-4px);
}

/* ================= POLICY PAGES ================= */
.policy-page {
  padding: 80px 20px 60px;
  min-height: 100vh;
  background: #f8fafc;
  color: #111827;
}

.policy-container {
  max-width: 1000px;
  margin: auto;
}

.policy-container h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.policy-container > p {
  color: #475569;
  margin-bottom: 30px;
  line-height: 1.9;
  font-size: 16px;
}

.policy-box {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.policy-box h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.policy-box p {
  color: #475569;
  line-height: 1.9;
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ================= GOOGLE TRANSLATE ================= */
#google_translate_element {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.translate-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

/* ================= PAGE LOADER ================= */

.page-loader {
  position: fixed;
  inset: 0;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  color: white;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 8px;
  margin-bottom: 15px;
}

.loader-line {
  width: 180px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow: hidden;
}

.loader-line::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: orange;
  border-radius: 999px;
  animation: loaderMove 1s infinite;
}

@keyframes loaderMove {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}


.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .navbar {
    width: 94%;
    padding: 15px 18px;
    border-radius: 18px;
    top: 10px;
  }

  .name {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: 50%;
    transform: translateX(-50%);

    width: 94%;

    background: rgba(17, 17, 17, 0.98);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter: blur(14px);

    flex-direction: column;
    align-items: center;
    gap: 22px;

    padding: 0;
    max-height: 0;
    overflow: hidden;

    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

    transition: 0.4s ease;
    z-index: 1100;
  }

  .nav-links.active {
    max-height: 85vh;
    padding: 28px 0;
    overflow-y: auto;
  }

  .icons {
    gap: 8px;
  }

  .icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .search-bar {
    width: 90%;
    top: 120px;
  }

  .newsletter {
    padding: 45px 22px;
    border-radius: 26px;
  }

  .newsletter h2 {
    font-size: 28px;
  }

  .newsletter-box {
    flex-direction: column;
  }

  .newsletter-box input,
  .newsletter-box button {
    width: 100%;
  }

  .footer-grid {
    padding: 40px 25px;
  }

  .policy-container h1 {
    font-size: 32px;
  }

  .policy-box {
    padding: 20px;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 520px) {
  .sale-banner {
    font-size: 12px;
    padding: 10px;
  }

  .sale-banner button {
    display: block;
    margin: 8px auto 0;
  }

  .navbar {
    padding: 14px;
  }

  .name {
    font-size: 20px;
  }

  .icons {
    gap: 6px;
  }

  .icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .cart span {
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    font-size: 9px;
  }

  .menu-toggle span {
    width: 23px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}


