* {
  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%);
}

.settings-container {
  grid-column: 1 / -1;
  grid-row: 3 / 4;
  background: #fff;
  margin: 80px auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  width: 100%;
  max-width: 900px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.top-right-actions {
  position: absolute;
  top: 0;
  right: 30px;
}

.top-right-actions button {
  margin-left: 10px;
  margin-top: 20px;
  padding: 8px 12px;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.top-right-actions button a {
  text-decoration: none;
  color: white;
}

.top-right-actions button:hover {
  background-color: #555;
}

h2 {
  margin-bottom: 20px;
  color: #333;
  font-family: "Montserrat", sans-serif;
}

.settings-form {
  display: flex;
  flex-direction: column;
}

.form-section {
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #444;
  font-family: "Karla", sans-serif;
}

input,
textarea {
  width: 70%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

textarea {
  resize: vertical;
}

.save-btn {
  width: 40%; /* Match input width */
  background-color: #000000;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  box-sizing: border-box;
}

.save-btn:hover {
  background-color: #0056b3;
}

.delete-account-btn {
  width: 100%;
  padding: 10px;
  background-color: #f00c23;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  margin-top: 40px;
  cursor: pointer;
}

.delete-account-btn:hover {
  background-color: #b02a37;
}

.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;
}
