/*
Theme Name: Guineeshopping
Theme URI: https://guineeshopping.com
Author: Guineeshopping
Author URI: https://guineeshopping.com
Description: Mobile-first multivendor ecommerce theme with vendor upload flow and payment integration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guineeshopping
Tags: ecommerce, responsive, mobile-first, marketplace
*/

/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* AliExpress-style homepage */
.aliexpress-homepage {
  background: #f5f5f5;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slide {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.hero-content p {
  font-size: 18px;
  margin: 0 0 30px 0;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  background: white;
  color: #ff6b6b;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.nav-dot.active {
  background: white;
}

/* Category Navigation */
.category-nav {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
  min-width: 80px;
}

.category-link:hover {
  background: #f8f8f8;
}

.category-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.category-link span {
  font-size: 12px;
  text-align: center;
  font-weight: 500;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.view-all {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Super Deals */
.super-deals {
  background: #fff8f8;
  padding: 30px 0;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timer-label {
  font-size: 14px;
  color: #666;
}

.timer {
  background: #ff4757;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 14px;
}

.deals-carousel {
  display: flex;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.deals-carousel::-webkit-scrollbar {
  display: none;
}

.deal-item {
  flex: 0 0 200px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  position: relative;
}

.deal-item:hover {
  transform: translateY(-5px);
}

.deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff4757;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.deal-image {
  height: 150px;
  overflow: hidden;
}

.deal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-info {
  padding: 12px;
}

.deal-info h3 {
  font-size: 14px;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deal-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.deal-price .current {
  font-weight: 700;
  color: #ff4757;
  font-size: 16px;
}

.deal-price .original {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.deal-stats {
  font-size: 12px;
  color: #666;
}

/* Product Sections */
.recommended-section,
.just-for-you {
  padding: 30px 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 107, 107, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.add-to-cart {
  background: white;
  color: #ff6b6b;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.add-to-cart:hover {
  background: #ff6b6b;
  color: white;
}

.product-info {
  padding: 15px;
}

.product-info h3 {
  font-size: 16px;
  margin: 0 0 10px 0;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price .current {
  font-size: 18px;
  font-weight: 700;
  color: #ff6b6b;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0;
}

.stars {
  font-size: 14px;
}

.rating-count {
  font-size: 12px;
  color: #666;
}

.product-orders {
  font-size: 12px;
  color: #666;
}

/* Category Banners */
.category-banners {
  padding: 30px 0;
  background: #f8f9fa;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-item {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.banner-item:hover img {
  transform: scale(1.05);
}

.banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 20px;
  color: white;
}

.banner-content h3 {
  font-size: 24px;
  margin: 0 0 5px 0;
  font-weight: 700;
}

.banner-content p {
  margin: 0 0 15px 0;
  opacity: 0.9;
}

.banner-link {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.banner-link:hover {
  background: #ff5252;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-slide {
    flex-direction: column;
    text-align: center;
  }

  .category-container {
    gap: 15px;
  }

  .category-link {
    min-width: 60px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .deals-carousel {
    gap: 10px;
  }

  .deal-item {
    flex: 0 0 160px;
  }

  .banner-grid {
    grid-template-columns: 1fr;
  }
}