/* Logo Styling */
.logo {
  width: 200px;
  /* Adjust the size as needed */
  display: block;
  margin: 0 auto 10px;
}

/* General styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background: black;
  color: white;
}

/* Header styling */
header {
  background: #111;
  padding: 20px;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

/* Hero section */
/* Center text inside the hero section */
.hero {
  background: #222;
  padding: 60px 20px;
  text-align: center;
  /* Ensures text is centered */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Content sections */
.services,
.contact {
  padding: 40px;
}

/* Banner */
.banner img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 40px auto;
}

/* Contact form */
.contact form {
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
}

.contact label {
  margin-top: 10px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background: #333;
  border: 1px solid #555;
  color: white;
}

.contact button {
  margin-top: 15px;
  padding: 6px 12px;
  /* Reduced size */
  background: #ff0000;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  /* Smaller font */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact input,
.contact textarea {
  border-radius: 6px;
  /* Rounded corners */
  box-sizing: border-box;
  resize: none;
  /* Disables manual resizing */
  width: 100%;
  /* Enforces consistent width */
  height: 40px;
  /* You can adjust height as needed */
}

.contact button {
  border-radius: 6px;
  /* Rounded corners for the button */
}

.contact textarea {
  height: 120px;
  /* Lock height specifically for textarea */
}

/* Footer styling */
footer {
  background: #111;
  padding: 10px;
  font-size: 14px;
}

.social-icons {
  margin-top: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  margin: 0 10px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.product-card p {
  color: #00ff00;
  /* Bright green */
  font-weight: bold;
  /* Makes it pop */
}

.cart-link {
  position: relative;
  margin-left: 15px;
  display: inline-block;
}

.cart-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: transform 0.2s;
}

.cart-link:hover .cart-icon {
  transform: scale(1.1);
}

.cart-icon {
  filter: invert(1);
}

.remove-btn {
  margin-left: 10px;
  background: none;
  border: none;
  color: red;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.qty-btn {
  width: 20px;
  height: 20px;
  font-size: 8px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.qty-input {
  width: 36px;
  margin: 0 5px;
  text-align: center;
  font-size: 8px;
  padding: 2px;
}

.clear-cart-btn {
  margin-top: 10px;
  padding: 8px 14px;
  background-color: #cc0000;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.clear-cart-btn:hover {
  background-color: #a80000;
}

.cart-sidebar {
  position: absolute;
  left: 0;
  top: 100px;
  width: 280px;
  padding: 15px;
  background-color: #1a1a1a;
  color: white;
  border-right: 2px solid #333;
  font-size: 14px;
  min-height: 100vh;
}

.cart-sidebar .cart h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

#cart-items li {
  font-size: 13px;
  margin-bottom: 6px;
  padding: 4px;
  background: #2c2c2c;
  border-radius: 4px;
}

.remove-btn {
  font-size: 12px;
  margin-left: 8px;
  background: none;
  border: none;
  color: red;
  cursor: pointer;
}

#cart-items {
  list-style: none;
  padding-left: 0;
}

#checkout-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 10px;
}

#checkout-form label {
  text-align: left;
  margin-left: 2px;
  font-size: 14px;
}

#checkout-form input {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #555;
  background: #222;
  color: white;
}

#checkout-form input:focus {
  outline: none;
  border-color: #999;
  background: #2a2a2a;
}

#checkout-form button {
  margin-top: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Three products per row */
  gap: 12px;
  /* Adjust space between products */
}

.product-card {
  max-width: 280px;
  /* Resize product cards */
  padding: 10px;
  border-radius: 6px;
  background: #1a1a1a;
  color: white;
  text-align: center;
  font-size: 11px;
}

.product-card {
  width: 100%;
  max-width: 360px;
  margin: 10px auto;
  padding: 16px;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.product-card {
  overflow: hidden;
  height: auto;
  /* Ensure it adjusts naturally to content */
}


.products-container {
  overflow-y: visible;
  /* Prevent vertical scrolling unless you specifically want it */
}


.product-card img {
  max-width: 120px;
  /* Sets max size */
  max-height: 120px;
  /* Keeps height proportional */
  width: auto;
  /* Ensures correct scaling */
  height: auto;
  /* Keeps natural aspect ratio */
  object-fit: contain;
  /* Keeps image inside box without stretching */
  border-radius: 6px;
  /* Smooth edges */
}

.product-images {
  min-height: 140px;
  /* Enough to contain your tallest image */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.qty-btn {
  width: 35px;
  /* Bigger button */
  height: 35px;
  font-size: 15px;
  /* Larger text */
  background: #444;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.qty-input {
  width: 50px;
  /* Wider input box */
  font-size: 13px;
  /* Larger font */
  text-align: center;
  padding: 5px;
}

.add-to-cart {
  display: block;
  width: 50%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background: #00cc66;
  /* Green box */
  color: white;
  border: none;
  border-radius: 8px;
  /* Rounded corners */
  cursor: pointer;
  margin-top: 12px;
  /* Adds spacing */
  margin: 0 auto;
}

.add-to-cart:hover {
  background: #00994d;
  /* Darker green on hover */
}

.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  /* Adds space between quantity and button */
}

.size-select {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #333;
  color: white;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}

.size-select:focus {
  outline: none;
  background-color: #444;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.contact-form,
.contact-info {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  margin: auto;
  color: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-form h3,
.contact-info h3 {
  margin-top: 0;
  text-align: center;
}

.contact-form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #2c2c2c;
  color: white;
}

.contact-form button {
  width: 100%;
  background: #00ff00;
  border: none;
  padding: 10px;
  margin-top: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  color: black;
}

.contact-form button:hover {
  background: #00cc00;
}

.contact-info p {
  margin: 5px 0;
  text-align: center;
}

.filter-and-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 20px;
  background: #111;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

#product-search {
  padding: 10px;
  font-size: 14px;
  border-radius: 8px 0 0 8px;
  border: 1px solid #555;
  background: #2c2c2c;
  color: white;
  max-width: 200px;
}

#search-btn,
#clear-btn {
  background: #00cc66;
  border: none;
  padding: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: black;
  font-weight: bold;
  border-radius: 0 4px 4px 0;
}

#categoryFilter {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #555;
  background: #2c2c2c;
  color: white;
  font-size: 14px;
}

#search-btn {
  border-radius: 0;
}

#clear-btn {
  background: #cc0000;
  border-radius: 0 8px 8px 0;
  color: white;
  font-size: 16px;
}

#search-btn img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

@keyframes rotateBanner {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}



.image-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.image-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  scroll-snap-type: x mandatory;
}

.image-scroll img {
  max-width: 160px;
  height: auto;
  scroll-snap-align: start;
  border-radius: 6px;
  flex-shrink: 0;
  background: #1a1a1a;
}

#categoryFilter {
  background: #111;
  color: #fff;
  border: 1px solid #00cc66;
  border-radius: 4px;
}

.product-card .sub-description {
  font-size: 0.70rem;
  color: #ccc;
  margin-top: 4px;
  line-height: 1.4;
}

input[type="file"] {
  background-color: #111;
  color: #fff;
  border: 2px dashed #00cc66;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  cursor: pointer;
}

#previewContainer {
  margin-top: 10px;
  max-width: 300px;
}

.preview-wrapper {
  position: relative;
  max-width: 200px;
  margin-top: 10px;
}

#imagePreview {
  width: 100%;
  border-radius: 6px;
  display: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

#removeImageBtn {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  background: #ff4444;
  color: white;
  border: none;
  padding: 1px 4px;
  font-size: 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

#removeImageBtn {
  width: 60px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#removeImageBtn:hover {
  background: #cc0000;
}

.xr-button {
  display: inline-block;
  background-color: #00ff00;
  color: #111111;
  padding: 6px 12px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.xr-button:hover {
  background-color: #00ff00;
}

.sub-description {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.4;
  margin: 6px 0 12px;
  text-align: left;
}

.kit-heading {
  display: block;
  text-align: center;
  font-weight: bold;
  color: #00cc66;
}

.addon-option {
  display: block;
  margin: 4px 0;

  font-size: 14px;
  color: #fab649;
  /* Optional: match your theme */
}


.best-seller-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: #cc0000;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 4px;
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.product-card {
  position: relative;
}

.popup {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #1a1a1a;
  color: #00ff99;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border: 1px solid #00ff99;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 255, 153, 0.4);
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.popup.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


.thumb {
  width: 60px;
  height: 60px;
  object-fit: contain;
  /* ⬅️ Shows the full image inside the box */
  border: 2px solid #444;
  border-radius: 4px;
  cursor: pointer;
  transition: border 0.3s ease;
  flex-shrink: 0;
  background-color: #1a1a1a;
  /* Optional: fill behind transparent images */
  display: block;
  padding: 4px;
  box-sizing: border-box;

}

.thumb:hover {
  border: 2px solid #00cc66;
}

.product-card[data-category="3dDesign"] .quantity-selector {
  display: none;
}

.thumbnail-row {
  display: flex;
  align-items: center; /* Vertically center thumbnails */
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  /* Match thumbnail height */
  line-height: 0;
  margin-bottom: 12px;
}

.product-images {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-image {
  margin-bottom: 12px;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

.cart-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.cart-popup-content {
  background: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.cart-popup-content {
  background: linear-gradient(145deg, #1a1a1a, #222);
  border: 2px solid #00cc66;
  box-shadow: 0 0 12px #00ff88;
  color: #beffd3;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
}
