* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: -apple-system, sans-serif;
}
:root {
  --bg-color: #000000;
  --snd-bg-color: #111111;
  --text-color: white;
  --main-color: rgb(187, 41, 41);
  --box-shadow: 2px 2px 10px 14px rgba(109, 119, 119, 0.918);
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
}
section {
  min-height: 100vh;
  padding: 10rem 8% 2rem;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;

  height: 80px; /* fixed navbar height */
  overflow: visible; /* allow logo overflow */
}

/* Larger logo that overflows navbar height */
.logo img {
  width: 150px; /* your chosen logo size */
  height: auto;
  object-fit: contain;
  display: block;

  margin-top: -20px; /* visually pull logo out of navbar */
  margin-bottom: -20px;
}

.logo {
  font-size: 2.8rem;
  color: var(--text-color);
  font-weight: 800;
}
.logo span {
  color: var(--main-color);
}

/* Navbar styles */
.navbar {
  display: flex;
  gap: 6.5rem; /* increased gap for better spacing */
  align-items: center;
  height: 100%;
}


  
.navbar li a {
  color: var(--text-color);
  font-size: 2.2rem; /* increased font size */
  transition: 0.3s;
  border-bottom: 2px solid transparent;
  line-height: 80px; /* vertical center */
}

.navbar li a:hover {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}

/* Header right icons */
.header-right {
  display: flex;
  align-items: center;
  gap: 2rem; /* increased gap */
  font-size: 0; /* remove whitespace */
  height: 100%;
}

#cart-icon i,
#search-icon {
  font-size: 3rem; /* bigger icons */
  vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    height: 70px;
  }
  .logo img {
    width: 120px;
    margin-top: -15px;
    margin-bottom: -15px;
  }
  .navbar li a {
    font-size: 1.9rem;
    line-height: 70px;
  }
  #cart-icon i,
  #search-icon {
    font-size: 2.4rem;
  }
}

#cart-icon {
  position: relative;
  font-size: 2.6rem;
  color: var(--text-color);
  transition: 0.3s;
}
#cart-icon:hover {
  color: var(--main-color);
}
#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Search icon */
#search-icon {
  font-size: 32px;
  cursor: pointer;
  color: var(--text-color);
}
#search-icon:hover {
  color: var(--main-color);
}

/* Search box */
.serach-box {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translate(-50%);
  background: var(--snd-bg-color);
  width: 90%;
  max-width: 600px;
  transition: 0.3s ease;
  box-shadow: var(--box-shadow);
}
.serach-box.active {
  top: 100%;
}
.serach-box input {
  padding: 1.5rem;
  width: 100%;
  border: none;
  font-size: 1.6rem;
  color: var(--main-color);
  background: transparent;
  outline: none;
}

/* Login button */
.nav-btn {
  padding: 0.8rem 2rem;
  border: 2px solid var(--main-color);
  background: transparent;
  color: var(--main-color);
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}
.nav-btn:hover {
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 0 10px var(--main-color);
}



/* Close button (X) */
/* Smooth popup effect */
@keyframes popup {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}


/* Hamburger menu (mobile) */
.menu-toggle {
  display: none;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-color);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem;
  }
  .navbar.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .header-right {
    gap: 1rem;
  }
}


.login-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Close Button */
/* Larger Form Inputs */
/* Larger Buttons */
/* Larger Heading */
/* Larger Text for Links */
/* Responsive Design */
@media (max-width: 768px) {
  }


body/*home page design*/
/* Home Section */
.home {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 10%;
}

/* Background Slider */
.background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: sliderAnimation 9s infinite;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 3s;
}
.slide:nth-child(3) {
  animation-delay: 6s;
}

/* Fade Animation */
@keyframes sliderAnimation {
  0%,
  100% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 0;
  }
}

/* Home Content */
.home-content {
  position: relative;
  z-index: 1;
  max-width: 50%;
  color: #fff;
}

.home-content h3 {
  font-size: 6rem;
  font-weight: 700;
}

.home-content h1 {
  font-size: 7%;
  font-weight: 700;
  line-height: 1.3;
}

.home-content p {
  font-size: 2.6rem;
  margin: 1.5rem 0;
}

/* Button */
.btn {
  display: inline-block;
  padding: 1.6rem 3rem !important; /* increased padding */
  background: var(--main-color);
  border-radius: 1rem;
  font-size: 2rem !important; /* increased font size */
  color: var(--bg-color);
  font-weight: 600;
  min-width: 150px !important; /* ensures minimum width */
  min-height: 50px !important; /* ensures minimum height */
  text-align: center;
  transition: 0.5s ease;
  cursor: pointer;
  user-select: none;
  border: none;
}

.btn:hover {
  color: var(--text-color);
  box-shadow: 0 0 1.6rem var(--main-color);
}

/*products Section*/
.products {
  text-align: center;
  padding: 50px 20px;
}

.heading {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--main-color);
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 250px;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 18px;
  margin: 10px 0;
  color: var(--bg-color);
}

.price {
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
}

.product-quantity {
  margin: left;
  font-size: 16px;
}

.product-quantity input {
  width: 60px;
  padding: 5px;
  font-size: 16px;
}


.cartbtn {
  background: var(--main-color);
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.cart-btn {
  background: var(--main-color);
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.product-card:hover {
  transform: translateY(-8px); /* Moves the card up slightly */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25); /* Increases shadow */
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease; /* Smooth transition for the image */
}

.product-card:hover img {
  transform: scale(1.05); /* Slight zoom effect on image */
}

.cart-btn {
  background: var(--main-color);
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.cart-btn:hover {
  background: #ff5733; /* Changes color on hover */
  transform: scale(1.05); /* Slightly enlarges button */
}
/* About Section */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 10%;
  background-color: var(--bg-color);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
}

/* Image Styling */
.about-img img {
  width: 100%;
  max-width: 500px;
  border: 3px solid var(--text-color);
  border-radius: 1rem;
  transition: transform 0.4s ease, border 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.03);
  border: 3px solid var(--main-color);
}

/* Content Styling */
.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content .heading {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Button Styling */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--main-color);
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
}

.btn:hover {
  background-color: var(--text-color);
}


/* Arrows */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 10px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  user-select: none;
  transform: translateY(-50%);
}
.product-sizes {
  margin: 15px 0;
  font-size: 16px;
}

.product-sizes label {
  margin-right: 10px;
  font-weight: 500;
}

#product-size {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Review section code */
.review {
  background-color: var(--bg-color);
}
.review-box {
  text-align: center;
  padding: 40px 20px;
  background: var(--main-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.review-box .heading {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.review-box span {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  display: block;
  margin-top: 5px;
}

.review-box {
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.review-heading {
  margin-bottom: 5rem;
}
.review-box img {
  width: 15rem;
  border-radius: 50%;
  border: 3px solid var(--main-color);
}
.wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.review-item {
  min-height: 450px;
  min-width: 350px;
  background-color: var(--snd-bg-color);
  padding: 30px 60px;
  border: 3px solid rgba(238, 238, 238, 0.3);
  border-radius: 2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  color: #fff;
  transform: 0.5s ease-in-out;
}
.review-item:hover {
  border: 3px solid var(--main-color);
  transform: translateY(-5px) scale(1.03);
}
.review-item h2 {
  font-size: 2.8rem;
}
.review-item p {
  font-size: 1.5rem;
  line-height: 1.3;
}
#Star {
  color: gold;
  font-size: 2rem;
}

.review-item img {
  width: 15rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.rating {
  margin-bottom: 1rem;
}

.rating i {
  color: var(--main-color);
}
/*fotter part*/
.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background: var(--snd-bg-color);
  padding: 50px 20px;
  text-align: center;
  color: var(--text-color);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  text-align: left;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--main-color);
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  color: var(--text-color);
}

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

.footer-section ul li {
  margin: 5px 0;
}

.footer-section ul li a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease-in-out;
}

.footer-section ul li a:hover {
  color: var(--main-color);
}

.social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social a {
  font-size: 25px;
  width: 42px;
  height: 42px;
  color: var(--main-color);
  line-height: 42px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s ease-in-out;
}

.social a:hover {
  background: var(--main-color);
  color: #fff;
}

.copyright {
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
  width: 100%;
}
/*payment section*/
.payment-methods {
  margin-top: 50px;
  text-align: center;
  background: var(--bg-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}
.subcategory {
  color: #d32f2f;
  font-size: 28px;
  margin: 0; /* no top/bottom space */
  text-align: left;
  border-left: 4px solid #d32f2f;
  padding-left: 10px;
}


/* Horizontal scrolling row */
.product-row {
  display: flex;
  gap: 20px;            /* space between cards */
    /* enable horizontal scroll if items exceed width */
  
  scroll-snap-type: x mandatory; /* optional smooth snap */
}

.product-row::-webkit-scrollbar {
  height: 8px;
}
.product-row::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 4px;
}

/* Your product card style */
.product-card {
  flex: 0 0 auto;       /* prevent shrinking */
  width: 220px;         /* fixed width for each card */
  scroll-snap-align: start;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}


.payment-methods h2 {
  font-size: 28px; /* Larger text */
  font-weight: bold;
  color: var(--text-color); /* Darker color for better contrast */
  margin-bottom: 20px;
  text-transform: uppercase; /* Makes it stand out */
  letter-spacing: 1px; /* Adds slight spacing for better readability */
}

.payment-methods img {
  width: 100px; /* Bigger icons */
  margin: 0 20px;
  transition: transform 0.3s ease-in-out;
}

.payment-methods img:hover {
  transform: scale(1.2); /* Slightly bigger on hover */
}
/* scroll bar design */
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-thumb {
  background: var(--main-color);
  width: 50px;
}
/* Mobile Navigation */
#menu-icon {
  display: none; /* Hidden on large screens */
  font-size: 35px;
  cursor: pointer;
  color: var(--text-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* Centers the icon */
  top: 20px;
  z-index: 10001;
}

/* Hide navbar links by default on mobile */
@media (max-width: 768px) {
  .navbar {
    display: none; /* Hide menu */
    flex-direction: column;
    background: var(--snd-bg-color);
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
  }

  /* Show menu icon on small screens */
  #menu-icon {
    display: block;
  }

  /* Show navbar when active */
  .navbar.active {
    display: flex;
  }

  /* Mobile Nav Links */
  .navbar a {
    display: block;
    padding: 10px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 5%;
  }

  /* Adjust Home Section */
  .home {
    flex-direction: column;
    text-align: center;
    padding: 5rem 5%;
  }
  .home-content {
    max-width: 100%;
  }

  /* Product Grid */
  .product-container {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;
  }

  /* About Section */
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    max-width: 90%;
  }

  /* Reviews Section */
  .wrapper {
    grid-template-columns: 1fr;
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  html {
    font-size: 50%;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
  }

  .home-content h1 {
    font-size: 3.5rem;
  }
}
@media (max-width: 600px) {
  }

/* ===== Cleaned & Updated Modal Styles ===== */

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: -apple-system, sans-serif;
}
:root {
  --bg-color: #000000;
  --snd-bg-color: #111111;
  --text-color: white;
  --main-color: rgb(187, 41, 41);
  --box-shadow: 2px 2px 10px 14px rgba(109, 119, 119, 0.918);
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
}
body.modal-open {
  overflow: hidden;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: var(--snd-bg-color);
  color: var(--text-color);
  border-radius: 16px;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  display: flex;
  gap: 20px;
  position: relative;
  box-shadow: 0 0 25px rgba(187, 41, 41, 0.4);
  animation: popup 0.3s ease;
  flex-wrap: wrap;
}

/* Left Side (Image) */
.modal-slider {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal-slider img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
}

/* Navigation Arrows */
.modal-slider .prev,
.modal-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 28px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.modal-slider .prev { left: 10px; }
.modal-slider .next { right: 10px; }

.modal-slider .prev:hover,
.modal-slider .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Right Side (Details) */
.modal-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-details h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.modal-details .price {
  font-size: 2rem;
  margin: 10px 0;
  color: var(--main-color);
}

.modal-details p {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ccc;
}

/* Sizes & Quantity */
.product-sizes,
.product-quantity {
  margin-bottom: 15px;
}

/* Add to Cart Button */
.cart-btn {
  margin-top: 10px;
  background: var(--main-color);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.cart-btn:hover {
  background: #ff5733;
  transform: scale(1.05);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.close-btn:hover {
  color: var(--main-color);
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    max-width: 95%;
  }
  .modal-slider img {
    max-height: 250px;
  }
}


.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 30px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  z-index: 1;
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* ========== MODAL DETAILS ========== */
.modal-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-details h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.modal-details .price {
  font-size: 2rem;
  margin: 10px 0;
  color: var(--main-color);
}

.modal-details p {
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ccc;
}

.product-sizes, .product-quantity {
  margin-bottom: 15px;
}

.product-sizes label {
  font-weight: 500;
  margin-right: 10px;
}

#product-size {
  padding: 5px 10px;
  border-radius: 5px;
}

.product-quantity input {
  width: 60px;
  padding: 5px;
  font-size: 16px;
}

/* ========== ADD TO CART BUTTON ========== */
.cart-btn {
  background: var(--main-color);
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 6px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.cart-btn:hover {
  background: #ff5733;
  transform: scale(1.03);
}

/* ========== CLOSE BUTTON ========== */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.close-btn:hover {
  color: var(--main-color);
}

/* ========== THUMBNAILS ========== */
.modal-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.modal-thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s, border 0.3s;
  border: 2px solid transparent;
}

.modal-thumbnails img:hover {
  transform: scale(1.1);
  border: 2px solid var(--main-color);
}

/* ========== RESPONSIVE MODAL ========== */
@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .modal-slider img {
    max-height: 300px;
  }

  .modal-details h2 {
    font-size: 2.2rem;
  }

  .modal-details p,
  .modal-details .price {
    font-size: 1.4rem;
  }
}
/* ================================
   CATEGORY GRID (FINAL WORKING CSS)
   ================================ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* CATEGORY CARD */
.category-card {
  background: var(--snd-bg-color);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.35s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(187,41,41,0.45);
}

/* IMAGE SECTION */
.category-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.08);
}

/* CONTENT SECTION */
.category-body {
  padding: 20px 22px;
}

.category-body h3 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.cat-meta {
  font-size: 1.4rem;
  color: #cfcfcf;
  margin-bottom: 14px;
}

/* EXPLORE BUTTON */
.category-body .explore-btn {
  padding: 10px 20px;
  display: inline-block;
  border-radius: 10px;
  border: 2px solid var(--main-color);
  background: transparent;
  color: var(--main-color);
  font-size: 1.4rem;
  transition: 0.3s ease;
}

.category-body .explore-btn:hover {
  background: var(--main-color);
  color: var(--bg-color);
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .category-image {
    height: 160px;
  }

  .category-body h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .category-image {
    height: 140px;
  }

  .category-body h3 {
    font-size: 1.7rem;
  }
}

