
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000000; 
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper main {
  flex: 1;
}


.video-section {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.video-title {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

.video-title .orange {
  color: #ff5e00;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-hint {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 767px) and (orientation: portrait) {
  .video-section {
    margin: 1.2rem auto;
    padding: 0 0.8rem;
  }
  .video-title {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    margin-bottom: 0.9rem;
  }
  .video-container {
    padding-top: 50%;
    border-radius: 12px;
  }
  .video-hint {
    font-size: 0.8rem;
  }
}


@media (max-width: 1024px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .video-section {
    margin: 0.8rem auto;
    padding: 0 0.5rem;
  }
  .video-title {
    font-size: clamp(1.1rem, 3.2vw, 1.5rem);
    margin-bottom: 0.7rem;
  }
  .video-container {
    padding-top: 45%;
    width: calc(100vw - 1rem);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    height: auto;
    aspect-ratio: unset;
  }
  .video-hint {
    font-size: 0.75rem;
    margin-top: 4px;
  }
}


.featured-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.featured-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-align: left;
}


.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 8px;
}

@media (min-width: 768px) {
  .carousel-wrapper {
    padding: 0 60px;
  }
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.carousel-grid {
  display: flex;
  gap: 17px;
  transition: transform 0.45s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


.carousel-card {
  flex: 0 0 auto;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid #333;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
}


.carousel-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: #ff5e00;
  background: #121212;
  box-shadow:
    0 0 8px rgba(255, 94, 0, 0.4),
    0 0 16px rgba(255, 94, 0, 0.3),
    0 0 24px rgba(255, 94, 0, 0.2);
}


@media (hover: none) and (pointer: coarse) {
  .carousel-card:hover,
  .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #0a0a0a !important;
    border-color: #333 !important;
  }
}




@media (max-width: 767px) and (orientation: portrait) {
  .carousel-card {
    width: calc((100vw - 48px) / 2) !important;
    min-width: calc((100vw - 48px) / 2) !important;
    max-width: calc((100vw - 48px) / 2) !important;
  }
}


@media (min-width: 768px) {
  .carousel-card {
    width: 248px !important;
    min-width: 248px !important;
    max-width: 248px !important;
  }
}


.carousel-image-wrapper {
  width: 100% !important;
  height: 0 !important;
  padding-top: 135%; 
  position: relative !important;
  overflow: hidden !important;
  background: white !important;
  display: block !important;
  border-radius: 0;
  flex-shrink: 0;
}

.carousel-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}



.carousel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  gap: 0.2rem;
  justify-content: space-between;
  min-height: 60px; 
}

.carousel-title {
  color: #e0e0e0;
  line-height: 1.3;
  word-break: break-word;
  width: 100%;
  flex: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
 
}


@media (min-width: 768px) {
  .carousel-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .carousel-title {
    font-size: 0.82rem;
  }
}


.carousel-price {
  font-weight: bold;
  color: #06f272;
  flex-shrink: 0;
  padding-top: 0.25rem;
  border-top: 1px solid #222;
  margin-top: auto; 
}

@media (min-width: 768px) {
  .carousel-price {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .carousel-price {
    font-size: 0.82rem;
  }
}


.carousel-btn-prev,
.carousel-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 4.8rem;
  cursor: pointer;
  z-index: 10;
  width: 60px;
  height: 100%;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.carousel-btn-prev {
  left: 0;
  padding-left: 12px;
}

.carousel-btn-next {
  right: 0;
  padding-right: 12px;
}

.carousel-btn-prev:hover,
.carousel-btn-next:hover {
  color: #ff5e00;
  opacity: 1;
}


@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .carousel-btn-prev,
  .carousel-btn-next {
    display: flex !important;
  }
}


@media (hover: none) and (pointer: coarse),
       (max-width: 1024px) {
  .carousel-btn-prev,
  .carousel-btn-next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}


.carousel-indicators {
  display: none;
  margin-top: 12px;
  justify-content: center;
  gap: 8px;
}

@media (hover: none) and (pointer: coarse) {
  .carousel-indicators {
    display: flex !important;
  }
  
  .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #ff5e00;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
}

.carousel-indicators button.active {
  background: #ff5e00;
}


.grid-products-container {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.grid-products {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.0rem;
  }
}

@media (min-width: 768px) {
  .grid-products {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .grid-products {
    grid-template-columns: repeat(5, 1fr);
  }
}


.product-image-wrapper {
  width: 100% !important;
  height: 0 !important;
  padding-top: 135%;
  position: relative !important;
  overflow: hidden !important;
  background: white !important;
  display: block !important;
  border-radius: 0;
  flex-shrink: 0;
}

.product-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

.product-content {
  padding: 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: space-between;
}

@media (max-width: 767px) and (orientation: portrait) {
  .product-content {
    padding: 0.35rem;
  }
}

.product-title {
  font-weight: 600;
  color: #e0e0e0;
  line-height: 1.3;
  word-break: break-word;
  flex: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

}

@media (min-width: 768px) {
  .product-title {
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .product-title {
    font-size: 0.75rem;
  }
}

.product-price {
  font-weight: bold;
  color: #06f272;
  margin-top: auto;
  padding-top: 0.2rem;
  border-top: 1px solid #222;
}

@media (min-width: 768px) {
  .product-price {
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .product-price {
    font-size: 0.75rem;
  }
}

.load-more-button {
  display: block;
  margin: 2rem auto;
  padding: 0.7rem 1.5rem;
  border: 1px solid #ff5e00;
  background: transparent;
  color: #ff5e00;
  border-radius: 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s;
  width: fit-content;
}

.load-more-button:hover {
  background: #ff5e00;
  color: #000;
}


.filter-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  display: flex;
  justify-content: flex-end;
}

.filter-dropdown {
  position: relative;
}

.filter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  color: #d0d0d0;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid #2a2a2a;
  border-radius: 0.6rem;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px;
}

.filter-button:hover {
  background: #1c1c1c;
  border-color: rgba(255, 94, 0, 0.4);
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.filter-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #ff5e00;
  stroke-width: 2;
  flex-shrink: 0;
}

.filter-arrow {
  font-size: 0.7rem;
  color: #888;
  transition: transform 0.2s ease;
}

.filter-dropdown.open .filter-arrow {
  transform: rotate(180deg);
}

.filter-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 200px;
  padding: 0.4rem;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid #333;
  border-radius: 0.75rem;
  display: none;
  z-index: 30;
  backdrop-filter: blur(8px);
}

.filter-dropdown.open .filter-menu {
  display: block;
}

.filter-menu button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  color: #e0e0e0;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ff5e00;
}


@media (max-width: 1024px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .carousel-wrapper {
    margin: 0.2rem auto !important;
    padding: 0 8px !important;
    max-width: 100% !important;
  }

  .carousel-viewport {
    overflow: visible !important;
    height: auto !important;
  }

  .carousel-grid {
    gap: 4px !important;
    padding: 0 !important;
  }

  .carousel-card {
    width: calc((100vw - 16px - 12px) / 4) !important;
    min-width: calc((100vw - 28px) / 4) !important;
    max-width: calc((100vw - 28px) / 4) !important;
    height: auto !important;
    border-width: 0.5px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .carousel-image-wrapper {
    width: 100% !important;
    height: 0 !important;
    padding-top: 75% !important;
    background: white !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .carousel-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
  }

  .carousel-content {
    padding: 0.2rem 0.3rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 0.05rem !important;
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    flex: 1 !important;
    position: relative !important;
  }

  .carousel-title {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    text-overflow: initial !important;
    display: block !important;
    text-align: left !important;
  }

  .carousel-price {
    font-size: 0.68rem !important;
    padding-top: 0.05rem !important;
    margin-top: auto !important;
    flex-shrink: 0;
    align-self: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    border-top: 0.5px solid #333 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .featured-title {
    font-size: 0.95rem !important;
    margin-bottom: 0.35rem !important;
    color: #fff !important;
  }

  .carousel-indicators {
    margin-top: 8px !important;
    gap: 8px !important;
  }

  .carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
  }

  .grid-products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.3rem !important;
  }

  .product-image-wrapper {
    padding-top: 75% !important;
  }

  .product-content {
    padding: 0.2rem 0.3rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 0.05rem !important;
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    flex: 1 !important;
    position: relative !important;
  }

  .product-title {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    display: block !important;
    text-align: left !important;
  }

  .product-price {
    font-size: 0.68rem !important;
    padding-top: 0.05rem !important;
    margin-top: auto !important;
    flex-shrink: 0;
    align-self: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    border-top: 0.5px solid #333 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


@media (max-width: 1024px) and (orientation: landscape) and (max-height: 360px) and (hover: none) and (pointer: coarse) {
  .carousel-card {
    width: calc((100vw - 16px - 16px) / 5) !important;
    min-width: calc((100vw - 32px) / 5) !important;
    max-width: calc((100vw - 32px) / 5) !important;
    height: auto !important;
  }

  .carousel-image-wrapper {
    padding-top: 70% !important;
  }

  .carousel-content {
    padding: 0.18rem 0.28rem !important;
    gap: 0.05rem !important;
    font-size: 0.65rem !important;
  }

  .carousel-title,
  .carousel-price,
  .product-title,
  .product-price {
    font-size: 0.65rem !important;
  }

  .grid-products {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0.25rem !important;
  }

  .product-image-wrapper {
    padding-top: 70% !important;
  }
}

.section-title {
  position: relative;
  padding-left: 16px;
  margin: 2rem 0 1.2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: inline-block;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #FF5E00;
  border-radius: 2px;
}

.featured-title,
.products-title {
  position: relative;
  padding-left: 16px;
  margin: 2rem 0 1.2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: inline-block;
}

.featured-title::before,
.products-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #FF5E00;
  border-radius: 2px;
}