* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: #ffffff;
}

.site-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 30px 80px repeat(20, auto);
  position: relative;
}

.header-top {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  place-items: center;
  width: 100%;
  position: relative;
  z-index: 100;
  height: 30px;
  transition: background 0.3s ease;
}

.header-top .txt {
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

header {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 200px auto 200px;
  align-items: center;
  height: 80px;
  background-color: #000000;
  top: 0;
  position: relative;
  width: 100%;
  z-index: 1100;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Sticky look (always black) */
header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #000; /* stays black */
  color: #fff;
  z-index: 999;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  will-change: transform;
}

/* Slide out when hiding */
header.hide,
.header-top.hide {
  transform: translateY(-100%);
}

.close-btn {
  display: none;
}

.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.menu-icon i {
  font-size: 22px;
  cursor: pointer;
  color: #f8f8f8;
}

/* --- Logo --- */
.header-logo,
.logo-img {
  display: flex;
  align-items: center;
  height: 100%;
  margin-bottom: 5px;
}

.logo-img img {
  position: absolute;
  margin-left: 20px;
  max-height: 220px;
  width: auto;
}

.header-tags,
.header-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-tags ul,
.header-icons ul {
  display: flex;
  list-style: none;
}

.header-tags a {
  text-decoration: none;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Karla", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
}

.header-tags .nav-link.active,
.header-tags a:hover {
  color: #fc7753;
  text-decoration: underline 2px;
}

.header-icons a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0 6px;
}

.header-icons i {
  font-size: 22px;
  cursor: pointer;
  color: #ffffff;
}

.header-icons li:hover a {
  color: #fc7753;
}

.cart-count {
  background: red;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -50%);
}

/* === Store Location Section === */
.store-location {
  grid-column: 1 / -1;
  grid-row: 3 / 4;
  background: #f9f9f9;
  padding: 70px 20px;
  text-align: center;
}

.store-location h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #222;
  font-family: "Montserrat", sans-serif;
}

.store-location p {
  max-width: 850px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  font-family: "Karla", sans-serif;
}

/* Store Box Layout */
.store-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 30px;
}

.store-map {
  flex: 1 1 500px;
  min-width: 300px;
}

.store-info {
  flex: 1 1 300px;
  padding: 30px;
  text-align: left;
}

.store-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #101010;
}

.store-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.map-btn {
  display: inline-block;
  background: #101010;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.map-btn:hover {
  background: #00845c;
}

.footer {
  grid-column: 1 / -1;
  grid-row: 4 / 5;
  background-color: #1c1c1c;
  color: #eee;
  padding: 50px 30px 20px;
  font-family: "Segoe UI", sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-logo img {
  width: 200px;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.footer-tagline {
  font-size: 14px;
  color: #ccc;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.footer-links h4,
.footer-newsletter h4,
.footer-social h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffaa2c;
}

.footer-newsletter p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-newsletter form {
  display: flex;
  background: #333;
  border-radius: 30px;
  overflow: hidden;
}

.footer-newsletter input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.footer-newsletter input::placeholder {
  color: #aaa;
}

.footer-newsletter button {
  background-color: #ffaa2c;
  border: none;
  padding: 0 20px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-newsletter button:hover {
  background-color: #f57f17;
}

.footer-social .social-icons {
  display: flex;
  gap: 12px;
}

.footer-social .social-icons a {
  color: #ccc;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffaa2c;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #333;
}

.nav-icons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #ddd;
  z-index: 1;
  display: none;
}
.nav-icons a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  transition: color 0.3s ease;
}
.nav-icons a span {
  margin: 0;
  line-height: 1.2;
}
.nav-icons a .material-icons,
.nav-icons a .material-icons-outlined {
  font-size: 30px;
  margin-bottom: 2px;
}
.nav-icons a:hover,
.nav-icons a.active {
  color: #00a878;
}
.nav-icons a .material-icons {
  display: none;
}
.nav-icons a.active .material-icons {
  display: inline-block;
}
.nav-icons a.active .material-icons-outlined {
  display: none;
}

/* Extra small devices (phones, portrait) */
@media screen and (max-width: 576px) {
  header {
    grid-template-columns: auto;
    padding: 0 15px;
    height: auto !important;
    overflow: visible !important;
  }

  /* menu + icons hide normal state */
  .header-tags {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-icons {
    display: flex;
    flex-direction: row;
  }

  .header-tags ul {
    flex-direction: column;
    gap: 25px;
  }

  .header-tags a {
    font-size: 20px;
    color: #fff;
  }

  .header-tags.active {
    right: 0;
  }

  .header-icons {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .header-logo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 0 10px;
    width: 100%;
  }

  .logo-img img {
    position: static !important;
    margin: 0 auto;
    max-height: 60px;
    width: auto;
    display: block;
  }

  .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    display: block;
  }
}
