

/* Banner Image */





/* <------------------------------------ Best Selling Cards ---------------------------------------> */

/* CSS for Best Selling Section with Full-width Cards */
.best-selling-section {
  padding: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  background-color: rgb(218, 237, 253);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fffefe;
  margin: 0;
}

.view-all-btn {
  background-color: white;
  border: 1px solid #ffffff;
  color: #000000;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background-color: #ffffff;
  color: black;
}

.product-wrapper {
  position: relative;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 992px) {
  .product-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .product-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  min-width: 300px;
  width: 300px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.product-card:hover {
  transform: translateY(-5px);
}

.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}

.product-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-image .back-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-image:hover .front-image {
  opacity: 0;
}

.product-image:hover .back-image {
  opacity: 1;
}

.product-info {
  padding: 1.2rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3em;
  line-height: 1.5em;
}

.product-info p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.old-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

.scroll-arrow {
  background-color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: 1;
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
}

.scroll-arrow:hover {
  background-color: #f0f0f0;
  transform: translateY(-50%) scale(1.1);
}

.scroll-arrow.left {
  left: 30px;
}

.scroll-arrow.right {
  right: 30px;
  margin-top: 790px;
}

.scroll-arrow.hidden {
  visibility: hidden;
  opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-header, .product-wrapper {
    padding: 0 1rem;
  }
  
  .product-card {
    min-width: 260px;
    width: 260px;
  }
  
  .product-image {
    height: 260px;
  }
  
  .scroll-arrow {
    width: 40px;
    height: 40px;
  }
  
  .scroll-arrow.left {
    left: 15px;
  }
  
  .scroll-arrow.right {
    right: 15px;
  }
}

/* <!--------------------------- Design Category Section -------------------------------> */

.designs-section {
  padding: 40px 20px;
  background-color: rgb(23 28 32);
  color: white;
}

.designs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.designs-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.view-all {
  background-color: white;
  color: black;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

.designs-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.designs-scroll::-webkit-scrollbar {
  display: none;
}

.design-card {
  width: 300px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto; /* Prevent shrinking */
  scroll-snap-align: start;
  margin-right: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.design-card:hover {
  transform: translateY(-6px);
}

.design-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text over image */
.overlay-text {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}


/* <!--------------------------- Accessories Section -------------------------------> */

/* Accessories Section Container */
.accessories-section {
  padding: 40px 20px;
  background-color: rgb(23 28 32);
}

.accessories-section h2 {
  color: white;
  font-size: xx-large;
}


.accessories-scroll {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;       /* Hide scrollbar in Firefox */
}

.accessories-scroll::-webkit-scrollbar {
  display: none;               /* Hide scrollbar in Chrome/Safari */
}

/* Each Card */
.accessory-card {
  flex: 0 0 auto;
  width: 260px;
  height: 260px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-align: center;
}

.accessory-card:hover {
  transform: scale(1.05);
}

/* Image Styling */
.accessory-card img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  margin-bottom: 10px;
  margin-top: 10px;
  box-shadow: 0 6px 16px rgba(205, 201, 201, 0.1);
}

/* Text under image */
.accessory-card p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* <!--------------------------------- Customise-central -------------------------------------> */

/* Prevent horizontal scroll */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Container with full screen height */
.customise-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Image fits exactly inside container */
.customise-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Marquee below the image */
.customise-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: rgb(23 28 32); 
  white-space: nowrap;
  padding: 10px 0;
}

.customise-marquee-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

.customise-marquee-track span {
  display: inline-block;
  margin-right: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

/* Smooth left scrolling */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* <!--------------------------------------- FAQ Section ---------------------------------------> */


.faq-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: rgb(23 28 32);
  color: white;
  padding: 60px 40px;
  gap: 40px;
}

.faq-left {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.faq-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.faq-left p {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-left a {
  color: #ffffff;
  text-decoration: underline;
}

.faq-right {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.faq-item {
  border-bottom: 1px solid #333;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 10px;
}

.faq-question {
  width: 100%;
  padding: 20px;
  font-size: 1rem;
  text-align: left;
  background-color: #1c1e20;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  box-shadow: 0 0 10px rgba(185, 184, 184, 0.5);
  border-radius: 6px;
}

.faq-question:hover {
  background-color: #2b2d2f;
}

.arrow {
  transition: transform 0.3s ease;
}

.faq-item.open .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #23272a;
  transition: max-height 0.7s ease-in, opacity 0.7s ease-in, transform 0.7s ease-in;
  opacity: 0;
  transform: translateY(-10px);
  padding: 0 20px;
  border-top: 1px solid #333;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  padding: 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e3e3e3;
}

/* <!--------------------------------------- Footer --------------------------------------------> */

footer {
  background-color: rgb(23 28 32);
  color: #ffffff;
  padding: 50px 5% 30px;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-column {
  flex: 1;
  min-width: 180px;
  margin-bottom: 20px;
}

.logo-newsletter {
  flex: 1.5;
}

.logo-newsletter h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.logo-newsletter h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #cccccc;
}

.newsletter-form {
  display: flex;
  max-width: 300px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background: #2d2f33;
  color: #ffffff;
  font-size: 14px;
}

.newsletter-form button {
  padding: 0 15px;
  background: #2d2f33;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #ffffff;
}

.question-heading {
  margin-top: 30px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #2d2f33;
  padding-top: 20px;
  text-align: center;
  color: #cccccc;
  font-size: 14px;
}

.footer-bottom p {
  margin: 5px 0;
}

#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #f90;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: all 0.3s;
}

#scrollToTop:hover {
  background-color: #f90;
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-column {
    min-width: 150px;
    flex: 1 1 40%;
  }
  
  .logo-newsletter {
    flex: 1 1 100%;
  }
}

/* -------------------------- ADDITIONAL RESPONSIVE ENHANCEMENTS -------------------------- */

/* General responsive tweaks */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .hero-banner {
    height: 500px;
  }

  .search-form form {
    flex-direction: column;
    gap: 1rem;
  }

  .brands {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .designs-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .faq-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .top-bar {
    height: auto;
    padding: 10px;
    text-align: center;
  }

  .hero-banner {
    height: 45px;
  }

  .product-card {
    min-width: 220px;
    width: 220px;
  }

  .product-image {
    height: 220px;
  }

  .design-card {
    width: 240px;
    height: 240px;
  }

  .accessory-card {
    width: 200px;
    height: 200px;
  }

  .accessory-card img {
    width: 140px;
    height: 140px;
  }

  .faq-left h2 {
    font-size: 2rem;
  }

  .footer-column h4 {
    font-size: 1rem;
  }

  .logo-newsletter h2 {
    font-size: 1.5rem;
  }
}
