.header-top-marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.header-top-marquee .marquee-inner {
  display: inline-flex;
  animation: marquee-scroll 18s linear infinite;
  gap: 80px;
}
.header-top-marquee .marquee-inner span {
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .header-main .container {
    padding: 0 14px !important;
  }

  .header-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 58px !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    order: 1;
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--dark, #1a1817);
    cursor: pointer;
    padding: 6px;
    z-index: 100;
  }

  .logo {
    order: 2;
    flex: 1 !important;
    text-align: center !important;
    padding: 0 !important;
  }
  .logo h1 {
    font-size: 20px !important;
    letter-spacing: 4px !important;
  }
  .logo span {
    font-size: 9px !important;
    letter-spacing: 3px !important;
  }

  .header-search,
  #searchWrapper {
    order: 3;
    width: 140px !important;
    min-width: 0 !important;
    flex-shrink: 1;
    position: relative;
    margin-right: 4px;
  }
  .search-input-row {
    height: 32px !important;
    border-radius: 3px !important;
  }
  .search-btn,
  .search-clear {
    display: none !important;
  }
  .search-input {
    font-size: 12px !important;
  }
  .search-icon {
    padding: 0 8px !important;
  }
  .search-dropdown {
    width: 250px !important;
    right: 0;
    left: auto !important;
  }

  div[style*="width:260px"],
  div[style*="width:280px"],
  div[style*="width:240px"] {
    width: 130px !important;
    order: 3;
    flex-shrink: 1;
    margin-right: 4px;
  }

  .header-actions {
    order: 4;
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    flex-shrink: 0;
  }
  .header-actions > a,
  .header-actions > button,
  .header-actions > div {
    font-size: 18px !important;
  }

  .user-menu {
    display: none !important;
  }
  #userMenuContainer {
    display: none !important;
  }

  .nav-menu {
    display: none !important;
  }

  .hero {
    height: 260px !important;
    margin-top: 58px !important;
  }
  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .slide-content {
    left: 5% !important;
    right: 5% !important;
    bottom: 18px !important;
    top: auto !important;
    text-align: center !important;
    transform: none !important;
  }
  .slide-subtitle {
    font-size: 9px !important;
    letter-spacing: 2px !important;
  }
  .slide-title {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }
  .slide-description {
    font-size: 12px !important;
    margin-bottom: 10px !important;
  }
  .slide-btn {
    padding: 9px 18px !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }
  .slider-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 11px !important;
  }

  .categories-carousel-container {
    padding: 0 6px !important;
  }
  .categories-grid {
    gap: 12px !important;
    transition: transform 0.35s ease !important;
  }
  .category-card {
    flex: 0 0 calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
  }
  .category-card img {
    height: 170px !important;
  }
  .category-overlay {
    padding: 10px !important;
  }
  .category-name {
    font-size: 13px !important;
  }
  .carousel-arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card {
    border-radius: 4px !important;
  }
  .product-image-container {
    height: 190px !important;
  }
  .product-name {
    font-size: 12px !important;
  }
  .product-price {
    font-size: 13px !important;
  }
  .product-actions {
    opacity: 1 !important;
    transform: none !important;
  }
  .product-btn {
    font-size: 11px !important;
    padding: 8px !important;
  }

  section,
  .section {
    padding: 32px 0 !important;
  }
  .section-header {
    margin-bottom: 24px !important;
  }
  .section-title {
    font-size: 22px !important;
  }
  .section-subtitle {
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .benefit-item {
    padding: 14px !important;
  }
  .benefit-icon {
    font-size: 18px !important;
  }
  .benefit-title {
    font-size: 11px !important;
  }
  .benefit-text {
    font-size: 10px !important;
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .footer-bottom .container {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }
  .payment-methods {
    justify-content: center !important;
  }

  .page-header {
    padding: 28px 0 16px !important;
  }
  .page-title {
    font-size: 22px !important;
  }
  .products-filter {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .filter-tags {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .product-detail-grid,
  .product-detail-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .main-image,
  .product-main-image {
    height: 300px !important;
  }
  .product-info {
    padding: 0 !important;
  }
  .product-title,
  .product-detail-name {
    font-size: 20px !important;
  }
  .thumbnails,
  .product-thumbnails {
    gap: 6px !important;
  }
  .thumbnail {
    width: 52px !important;
    height: 66px !important;
  }

  .cart-layout {
    grid-template-columns: 1fr !important;
  }
  .order-summary {
    position: static !important;
  }
  .cart-item-image {
    width: 70px !important;
    height: 88px !important;
  }

  .checkout-grid,
  .checkout-layout {
    grid-template-columns: 1fr !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }

  .help-layout {
    grid-template-columns: 1fr !important;
  }
  .help-sidebar {
    display: none !important;
  }
  .help-stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .help-stat {
    border-right: none !important;
    border-bottom: 1px solid #e8e4e0 !important;
  }
  .help-stat:nth-child(odd) {
    border-right: 1px solid #e8e4e0 !important;
  }
  .help-hero {
    padding: 76px 0 36px !important;
  }
  .help-hero h1 {
    font-size: 30px !important;
  }
}
