* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}
.cart-icon {
  font-size: 28px;
  cursor: pointer;
  z-index: 9999;
  position: relative;
}
.cart-panel {
  position: fixed;
  top: 0;
  left: -49%;
  width: 49%;
  height: 100%;
  background: #fff;
  color: #000;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  transition: 0.4s ease;
  z-index: 9998;
  overflow-y: auto;
}
#cart-toggle:checked ~ .cart-panel {
  left: 0;
}
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9990;
}

#cart-toggle:checked ~ .backdrop {
  opacity: 1;
  visibility: visible;
}
.close-btn {
  font-size: 32px;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  z-index: 10000;
  user-select: none;
}
.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  margin-top: 20px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}

.header-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-section {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 15px;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}
h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 40px 0 20px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
p {
  font-size: 1.05rem;
  color: #ccc;
  margin-bottom: 20px;
}
strong {
  color: #fff;
}
.highlight {
  font-weight: 700;
  font-family: 'Georgia', serif;
  color: #ff3b3b;
}
.container-text {
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.image-single img,
.images-group img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.navbar {
  background: #000;
  width: 100%;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  width: 150px;
  display: block;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links li a {
  color: #fff;
  font-size: 15px;
  padding: 8px 6px;
  transition: color 0.18s, transform 0.18s;
}
.nav-links li a:hover {
  color: #ff3b3b;
  transform: translateY(-1px);
}

.cart {
  font-size: 30px;
}

.btn-red {
  background: #e00000;
  border-radius: 25px;
  padding: 30px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

#menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 60;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.28s ease, opacity 0.18s ease;
}
/* Hamburger animation to X */
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.menu {
  display: flex;
  gap: 20px;
  justify-content: center;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 20px;
  list-style: none;
  scrollbar-width: none;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu li {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
}
.card {
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-left: 40px;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.card h3 {
  font-size: 18px;
  margin: 10px 0;
}
.card p {
  font-size: 14px;
  color: #555;
}
.card h4 {
  margin: 10px 0;
  font-size: 18px;
}
.card button {
  width: 40px;
  height: 40px;
  border: none;
  background: #ff3b3b;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}
.footer {
  background: #0a0a0a;
  color: #ccc;
  padding: 60px 5% 20px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 0.9fr;
  gap: 28px;
}
.footer-logo {
  width: 160px;
}
.footer-about p {
  color: #d1d1d1;
  margin-top: 14px;
  line-height: 1.7;
}
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: #fff;
  margin-bottom: 12px;
}
.footer-links ul {
  list-style: none;
  padding-left: 0;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ff3b3b;
  color: #fff;
  line-height: 40px;
  text-align: center;
  margin-right: 8px;
}
.store-buttons img {
  width: 140px;
  display: block;
  margin-top: 12px;
}

.footer-links-inline a {
  margin-top: 30px;

  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  margin-right: 15px;
}

.footer-links-inline a:hover {
  color: #ff3b3b;
}

/* Site Links */
.footer-links {
  flex: 1 1 200px;
}

.footer-links h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 15px;
}

.footer-links ul li a:hover {
  color: #ff3b3b;
}
/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 14px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: #ccc;
}
@media (max-width: 400px) {
  .container {
    width: 94%;
  }
  .logo img {
    width: 110px;
  }

  .hamburger {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #000;
    padding-top: 40px;
    transition: right 0.4s ease;
    z-index: 999;
  }
  #menu-toggle:checked ~ .main-nav {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  .nav-links li a {
    font-size: 18px;
  }
  .btn-outline,
  .btn-red {
    width: 80%;
    text-align: center;
    justify-content: center;
  }
  .nav-links li a {
    font-size: 16px;
    padding: 10px 8px;
    display: block;
    width: 100%;
    border-radius: 6px;
  }
  .hero-section {
    margin: 12px 0;
  }
  .catagory-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .catagory-container img {
    max-width: 160px;
  }
  .deals-container {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
  .main-heading-1,
  .main-heading-2 {
    font-size: 28px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .container {
    width: 94%;
  }
  .logo img {
    width: 110px;
  }

  .hamburger {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #000;
    padding-top: 40px;
    transition: right 0.4s ease;
    z-index: 999;
  }
  #menu-toggle:checked ~ .main-nav {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  .nav-links li a {
    font-size: 18px;
  }
  .btn-outline,
  .btn-red {
    width: 80%;
    text-align: center;
    justify-content: center;
  }
  .nav-links li a {
    font-size: 16px;
    padding: 10px 8px;
    display: block;
    width: 100%;
    border-radius: 6px;
  }
  .hero-section {
    margin: 12px 0;
  }
  .catagory-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .catagory-container img {
    max-width: 160px;
  }
  .deals-container {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
  .main-heading-1,
  .main-heading-2 {
    font-size: 28px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .cart-panel {
    width: 70%;
    left: -70%;
  }
  #cart-toggle:checked ~ .cart-panel {
    left: 0;
  }
}
@media (max-width: 300px) {
  .cart-panel {
    width: 85%;
    left: -85%;
  }
  #cart-toggle:checked ~ .cart-panel {
    left: 0;
  }

  .close-btn {
    font-size: 28px;
  }

  .cart-item img {
    width: 55px;
    height: 55px;
  }
}
