* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

body {
  background: #f9fafb;
  color: #0B0B0D;
  /* padding-top: 64px; */
}

/* Ensure offline overlay is fully covered (no blank white margin at top) */
#offline-overlay {
  top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 16px;
}

/* BREADCRUMBS */
.breadcrumbs {
  background: #f9fafb;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb-link {
  color: #E10600;
  text-decoration: none;
  margin-right: 4px;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}



/* CAROUSEL */
.carousel {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  background: #f9fafb;
}

.carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out alternate ;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: #f9fafb;
  display: inline-block;
}

/* Carousel Controls (Dots) */
.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
}



/* HEADER */
.header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 16px;
}

.logo {
  height: 75px;
  width: 225px;
  margin: auto;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #0B0B0D;
}

.search-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 20px;
}

.search-icon svg path {
  stroke: #0B0B0D;
}

/* Responsive Header */
@media (max-width: 768px) {
  body {
    /* padding-top: 56px; */
  }

  .header .container {
    height: 56px;
  }

  .logo {
    height: 50px;
  }

  #nav-menu {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .search-icon {
    margin-left: 10px;
  }
}

@media (max-width: 480px) {
  .header .container {
    padding: 0 12px;
  }

  .logo {
    height: 45px;
  }

  .burger-menu {
    width: 25px;
    height: 25px;
  }

  .search-icon {
    margin-left: 8px;
  }

  .search-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* SEARCH BAR */
.search-bar {
  display: none;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
  position: sticky;
  /* header is fixed at 64px; prevent overlap when toggling active */
  top: 64px;
  z-index: 999;
  margin-top: 64px; /* negative of header height to offset */
}


.search-bar.active {
  display: block;
}

.search-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-bar-control {
  position: relative;
  flex: 1;
}

#search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}

#search-button {
  background: #E10600;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

#search-button:hover {
  background: #B80500;
}

/* Search Assist (Autocomplete) - Industry Standard Design */
.search-bar-control {
  position: relative;
}

.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 1005;
  max-height: 400px;
  overflow-y: auto;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Suggestion item styling */
.search-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.15s ease;
  position: relative;
}

.search-suggestion:last-child {
  border-bottom: none;
}

.search-suggestion:hover {
  background: #fafafa;
}

.search-suggestion.active {
  background: #f3f4f6;
}

.search-suggestion-title {
  font-size: 13px;
  font-weight: 500;
  color: #0B0B0D;
  flex: 1;
  line-height: 1.4;
  word-break: break-word;
}

/* Highlight matching text */
.search-suggestion-title strong {
  color: #E10600;
  font-weight: 700;
}

/* Suggestion badge for metadata */
.search-suggestion-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f0f0f0;
  color: #666;
  white-space: nowrap;
  text-transform: capitalize;
}

.search-suggestion:hover .search-suggestion-badge {
  background: #e5e7eb;
}

/* No results state */
.search-suggestion-no-results {
  padding: 20px 14px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  background: #fafafa;
}

/* Search input focus state */
#search-input:focus {
  outline: none;
  border-color: #E10600;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

/* Scrollbar styling for suggestions */
.search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .search-suggestions {
    max-height: 300px;
    border-radius: 6px;
  }

  .search-suggestion {
    padding: 8px 12px;
  }

  .search-suggestion-title {
    font-size: 12px;
  }

  .search-suggestion-badge {
    font-size: 10px;
    padding: 2px 6px;
  }
}


/* BURGER MENU */
.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: #374151;
  transition: all 0.3s ease;
}

#nav-menu {
  display: flex;
}

#nav-menu.hidden {
  display: none;
}

/* SIDE PANEL */
.side-panel {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.side-panel.open {
  left: 0;
}

.close-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #374151;
}

.panel-nav {
  margin-top: 50px;
}

.panel-nav a {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
  color: #374151;
  font-size: 16px;
}

.nav-home {
  font-weight: bold;
  padding: 10px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

/* Accordion styles */
.accordion {
  margin-bottom: 20px;
}

.accordion summary {
  cursor: pointer;
  font-size: 16px;
  color: #374151;
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion summary::-webkit-details-marker,
.accordion summary::-moz-list-bullet {
  display: none;
}

.accordion summary::after {
  content: '+';
  float: right;
  font-size: 16px;
  color: #374151;
}

.accordion[open] summary::after {
  content: '-';
}

.accordion ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 20px;
}

.accordion li {
  margin-bottom: 10px;
}

.accordion li a {
  color: #6b7280;
  font-size: 16px;
  text-decoration: none;
  padding: 5px 0;
  display: block;
}

.accordion li a:hover {
  color: #E10600;
}

/* Sub-accordion styles */
.sub-accordion {
  margin: 10px 0 0 30px;
}

.sub-accordion summary {
  cursor: pointer;
  font-size: 16px;
  color: #6b7280;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-accordion summary::-webkit-details-marker,
.sub-accordion summary::-moz-list-bullet {
  display: none;
}

.sub-accordion summary::after {
  content: '-';
  float: right;
  font-size: 16px;
  color: #6b7280;
}

.sub-accordion:not([open]) summary::after {
  content: '+';
}

.sub-accordion ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 30px;
}

.sub-accordion li {
  margin-bottom: 8px;
}

.sub-accordion li a {
  color: #9ca3af;
  font-size: 16px;
  text-decoration: none;
  padding: 3px 0;
  display: block;
}

.sub-accordion li a:hover {
  color: #E10600;
}

/* Ensure accordion looks consistent across all screen sizes */
@media (max-width: 768px) {
  .accordion summary,
  .sub-accordion summary {
    font-size: inherit;
    color: inherit;
  }

  .accordion summary::after,
  .sub-accordion summary::after {
    font-size: inherit;
    color: inherit;
  }

  .accordion ul,
  .sub-accordion ul {
    margin-left: 20px;
  }

  .sub-accordion {
    margin-left: 40px;
  }
}

@media (max-width: 480px) {
  .accordion summary,
  .sub-accordion summary {
    font-size: inherit;
    color: inherit;
  }

  .accordion summary::after,
  .sub-accordion summary::after {
    font-size: inherit;
    color: inherit;
  }

  .accordion ul,
  .sub-accordion ul {
    margin-left: 20px;
  }

  .sub-accordion {
    margin-left: 40px;
  }
}

/* HERO */
.hero {
  text-align: center;
  padding: 40px 20px;
}

/*
  Carousel (make slides truly inline/no-gap)
  Note: there is an earlier carousel block in this file; we keep a single consistent model:
  - JS translates .carousel-inner by -index * 100%
  - Each .carousel-item occupies 100% of the carousel viewport
*/
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0; /* remove any spacing between items */
}

.carousel-item {
  flex: 0 0 100%; /* each item is exactly one viewport */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  display: block; /* prevents inline-image baseline whitespace */
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
}

/* Responsive Carousel */
@media (max-width: 768px) {
  .carousel {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .carousel {
    height: 250px;
  }
}

.hero h2 {
  font-size: 36px;
}

.hero p {
  margin-top: 10px;
  color: #6B7280;
}



.btn-primary {
  display: inline-block;
  margin-top: 30px;
  background: #E10600;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  background: #B80500;
}

/* PRODUCTS */
.products h2 {
  text-align: center;
  margin-bottom: 40px;
}

#categories-grid {
  margin-top: 20px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Category list (anchors) */
.category-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.category-list li { margin: 0; }
.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  color: #374151;
  text-decoration: none;
  width: 140px;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
}
.category-link img { width: 80px; height: 60px; object-fit: contain; border-radius: 6px; }
.category-link:hover { background: #f3f4f6; transform: translateY(-4px); }
.category-link span { font-size: 14px; }

.category-btn {
  padding: 10px 20px;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s, color 0.3s;
}

.category-btn:hover {
  background: #f3f4f6;
}

.category-btn.active {
  background: #E10600;
  color: white;
  border-color: #E10600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Category cards grid */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E10600, #ff6b6b);
}
.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(225, 6, 0, 0.4);
  border-color: #E10600;
}
.category-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}
.category-card .card-content {
  padding: 12px;
}
.category-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}
.category-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

/* Mobile view: show 2 cards per row */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .products h2 {
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .products h2 {
    font-size: 24px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .category-cards {
    grid-template-columns: 1fr;
  }

  .card-content h3 {
    font-size: 14px;
  }

  .price {
    font-size: 14px;
  }
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(225, 6, 0, 0.3);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.card-content {
  padding: 16px;
}

.card-content h3 {
  font-size: 16px;
}

.price {
  margin: 10px 0;
  color: #16a34a;
  font-weight: 600;
}

/* PLATFORM BUTTONS */
.platforms {
  display: none; /* Hide buy buttons on home page */
}

.platforms a {
  display: block;
  margin-top: 8px;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

.amazon { background: #ff9900; color: black; }
.flipkart { background: #2874f0; color: white; }
.meesho { background: #f43397; color: white; }

/* ABOUT PAGE */
.about {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 60px;
  color: #0B0B0D;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0B0B0D;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 30px;
}

.about-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.about-text li {
  margin-bottom: 10px;
  color: #6B7280;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive About */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about h1 {
    font-size: 36px;
  }

  .about-text h2 {
    font-size: 24px;
  }
}

/* CONTACT PAGE */
.contact {
  padding: 80px 20px;
  width : 100%;
  min-height: 80vh; /* Adjust to device height */
}

.contact h1 {
  text-align: center;
  margin-bottom: 20px;
}

.contact p {
  text-align: center;
  margin-bottom: 40px;
  color: #6B7280;
}
.contact-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.contact-form {
  flex: 2;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: #E10600;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #B80500;
}

.contact-info {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.contact-info h2 {
  margin-bottom: 20px;
  color: #0B0B0D;
}

.info-item {
  margin-bottom: 20px;
}

.info-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #374151;
}

.info-item p {
  color: #6B7280;
  line-height: 1.5;
  text-align: left;
}

/* Responsive Contact */
@media (max-width: 768px) {
  .contact {
    padding: 40px 20px;
    min-height: 70vh;
  }

  .contact-content {
    flex-direction: column;
    gap: 30px;
  }

  .contact-form,
  .contact-info {
    padding: 20px;
  }

  .contact h1 {
    font-size: 28px;
  }

  .contact p {
    font-size: 14px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
  }

  .btn-primary {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 20px 16px;
    min-height: 60vh;
  }

  .contact h1 {
    font-size: 24px;
  }

  .contact-form,
  .contact-info {
    padding: 16px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .info-item {
    margin-bottom: 16px;
  }
}

/* CONTACT SENT MODAL */
.contact-sent-modal__lottie {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
}

.contact-sent-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.contact-sent-modal.is-open {
  display: block;
}

.contact-sent-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  animation: contactOverlayIn 0.25s ease-out;
}

.contact-sent-modal__content {
  position: relative;
  width: min(560px, calc(100% - 28px));
  margin: 10vh auto 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  padding: 22px 20px 16px;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  animation: contactModalIn 0.35s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.contact-sent-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-sent-modal__close:hover {
  border-color: #E10600;
  color: #E10600;
}

@keyframes contactOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes contactModalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes contactCheckDraw {
  from { stroke-dashoffset: 80; }
  to { stroke-dashoffset: 0; }
}

@keyframes contactLineSweep {
  0% { width: 0; opacity: 0; }
  20% { opacity: 1; }
  100% { width: 220px; opacity: 1; }
}

.contact-sent-modal__body {
  text-align: center;
  padding: 6px 10px 12px;
}

.contact-sent-modal__title {
  font-size: 22px;
  margin: 6px 0 8px;
  color: #0B0B0D;
}

.contact-sent-modal__text {
  margin: 0;
  color: #6B7280;
  line-height: 1.55;
}

.contact-sent-modal__footer {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.contact-sent-modal__ok {
  border: none;
  background: #E10600;
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
}

.contact-sent-modal__ok:hover {
  background: #B80500;
}

/* CATEGORY HEADER */
.category-header {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.category-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #0B0B0D;
}

.category-header p {
  font-size: 18px;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* FOOTER */
.footer {
  background: #0B0B0D;
  color: white;
  padding: 40px 20px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #E10600;
}

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

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #E10600;
}

.footer-copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
  margin-top: 30px;
  margin-bottom: 80px;
}

.footer-map {
  margin-top: 10px;
}

.footer-map a {
  display: block;
  text-decoration: none;
}

.footer-map iframe {
  width: 100%;
  max-width: 200px;
  height: 150px;
  border-radius: 8px;
}

.contact-map {
  margin-top: 10px;
}

.contact-map iframe {
  width: 100%;
  max-width: 300px;
  height: 200px;
  border-radius: 8px;
}

.footer-copyright p {
  margin: 0;
  color: #d1d5db;
}

/* Back to Top Button */
.button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
}

.back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  padding: 0;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.button:hover,
.back-to-top:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: #E10600;
  align-items: center;
}

.button:hover .svgIcon,
.back-to-top:hover .svgIcon {
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.button::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: white;
  font-size: 0px;
}

.button:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  transition-duration: 0.3s;
}

@keyframes rotate {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Product Page Styles */
#product-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.product-page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-page-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  padding: 20px;
}

.close-product-page {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #374151;
}

.product-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  padding-right: 20px;
  border-right: 1px solid #e5e7eb;
}

#main-product-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  padding-top: 18px;
  border-radius: 8px;
  margin-bottom: 10px;
  touch-action: pan-y; /* allow vertical page scroll, handle horizontal swipe */
  -webkit-user-drag: none;
  user-select: none;
}


.thumbnail-images {
  display: flex;
  gap: 10px;
}

.thumb {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumb:hover {
  border-color: #4f46e5;
}

.product-details {
  text-align: left;
}

#product-title {
  font-size: 28px;
  margin-bottom: 10px;
}

#product-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 20px;
}

.product-variants {
  margin-bottom: 20px;
}

.product-variants h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-item {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.variant-item:hover {
  background: #f3f4f6;
  border-color: #E10600;
}

.variant-item.active {
  border: 2px solid #E10600;
  font-weight: bold;
}

/* Color Section */
.color-section {
  margin-bottom: 20px;
}

.color-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.color-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.color-btn:hover {
  background: #f3f4f6;
  border-color: #E10600;
}

.color-btn.active {
  border: 2px solid #E10600;
}

.color-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.product-specifications h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-specifications #spec-list p {
  margin-bottom: 8px;
  color: #6b7280;
}

#spec-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

#spec-list li {
  margin-bottom: 5px;
}

.buy-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-buy {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.btn-buy.buy-now {
  background: #E10600;
  color: white;
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-buy.buy-now:hover {
  background: #B80500;
}

@media (max-width: 768px) {
  .product-page-content {
    width: 95%;
    padding: 15px;
  }

  #product-title {
    font-size: 24px;
  }

  .buy-buttons {
    flex-direction: column;
  }

  .btn-buy {
    margin-bottom: 10px;
  }
}

/* Search Results Page */
.search-results-section {
  padding: 40px 0;
}

.search-results-section h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0B0B0D;
}

.search-summary {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 30px;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
  font-size: 18px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Search Content Layout with Filters */
.search-content {
  display: flex;
  gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.filters-header h3 {
  font-size: 18px;
  color: #0B0B0D;
  margin: 0;
}

.clear-filters-btn {
  background: none;
  border: none;
  color: #E10600;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.clear-filters-btn:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group h4 {
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
  font-weight: 600;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s;
}

.filter-options label:hover {
  color: #0B0B0D;
}

.filter-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #E10600;
  cursor: pointer;
}

/* Results Area */
.results-area {
  flex: 1;
  min-width: 0;
}

.results-area .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* Mobile filters toggle button - hidden by default on desktop */
.mobile-filters-toggle {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .search-results-section h1 {
    font-size: 24px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .search-content {
    flex-direction: column;
  }

  /* Mobile filters toggle button */
  .mobile-filters-toggle {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #0B0B0D;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-filters-toggle:hover {
    border-color: #E10600;
    color: #E10600;
    background: #fafafa;
  }
  
  .mobile-filters-toggle:active {
    background: #f3f4f6;
  }
  
  .filters-sidebar {
    width: 100%;
    position: static;
    margin-top: 12px;
    max-height: 2000px;
    overflow: visible;
    opacity: 1;
    transition: all 0.3s ease, max-height 0.3s ease, opacity 0.3s ease;
  }

  /* Collapsed sidebar: hide filters to avoid blocking products */
  .filters-sidebar.filters-collapsed {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
  }

  .results-area .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .results-area .products-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-options {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .filter-options label {
    flex: 0 0 auto;
  }
}

/* FAQ */
.faq-section {
  padding: 60px 0;
  background: #f9fafb;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
  color: #0B0B0D;
}

.faq-subtitle {
  text-align: center;
  color: #6B7280;
  margin: 0 auto 28px;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.6;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 16px;
  overflow: hidden;
}

.faq-question {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  color: #0B0B0D;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 0 18px;
  color: #6B7280;
  line-height: 1.65;
  font-size: 15px;
}

.faq-item > .faq-question::after {
  content: '+';
  float: right;
  color: #E10600;
  font-weight: 800;
  font-size: 18px;
  margin-left: 12px;
}

.faq-item[open] > .faq-question::after {
  content: '-';
}

/* Better tap target & focus visibility */
.faq-item > .faq-question:focus-visible {
  outline: 3px solid rgba(225, 6, 0, 0.25);
  outline-offset: 4px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 26px;
  }
  .faq-subtitle {
    font-size: 14px;
    margin-bottom: 22px;
    padding: 0 12px;
  }
  .faq-question {
    font-size: 15px;
  }
}

