/*
Theme Name: EasyShop Fashion
Theme URI: https://example.com
Author: EasyShop
Description: Custom WooCommerce theme for clothing and fashion stores.
Version: 1.0.0
Text Domain: easyshop-fashion
*/

:root {
  --primary-color: #e50914;
  --dark-bg: #111111;
  --light-bg: #f8f9fa;
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
  --border-color: #e5e5e5;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

/* Header Styling */
.site-header {
  background: var(--dark-bg);
  color: #ffffff;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.site-navigation a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.site-navigation a:hover {
  color: var(--primary-color);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-btn {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}
/* ==========================================================================
   Top Header, Responsive Logo & Mobile Drawer Styles
   ========================================================================== */

/* Top Bar */
.top-header {
  background-color: #000000;
  color: #cccccc;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #222222;
}

.top-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header-contact a {
  color: #cccccc;
  text-decoration: none;
  margin-right: 18px;
  transition: color 0.2s;
}

.top-header-contact a:hover {
  color: #ffffff;
}

.top-header-social a {
  color: #cccccc;
  margin-left: 14px;
  font-size: 14px;
  transition: color 0.2s;
}

.top-header-social a:hover {
  color: #e50914;
}

/* Main Header */
.site-header {
  background: #111111;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive Logo */
.site-logo img {
  max-height: 45px;
  width: auto;
  display: block;
}

.site-title {
  margin: 0;
  font-size: 22px;
  color: #ffffff;
}

/* Actions & Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-icon-btn {
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
}

/* Mobile Drawer Mechanics */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  color: #111111;
  z-index: 10001;
  box-shadow: 4px 0 15px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  left: 0;
}

.drawer-header {
  padding: 18px 20px;
  background: #111111;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-weight: bold;
  font-size: 16px;
}

.drawer-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.drawer-content {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
}

.mobile-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-navigation li {
  border-bottom: 1px solid #eee;
}

.mobile-navigation a {
  display: block;
  padding: 12px 0;
  color: #111111;
  text-decoration: none;
  font-weight: 500;
}

.drawer-contact {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

/* Responsive Media Queries */
@media (max-width: 868px) {
  .desktop-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .top-header-container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Sections */
.product-section {
    margin: 40px 0;
}
.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive Grid: 2 Columns Mobile -> 4 Columns Desktop */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on phone */
    gap: 15px;
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on PC */
        gap: 25px;
    }
}

/* Product Card Styling */
.product-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.product-card h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}
.btn-details {
    display: inline-block;
    padding: 8px 15px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
}
.btn-details:hover {
    background-color: #555;
}

/* Exclusive Product Banner Styling */
.exclusive-product-section {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin: 50px 0;
}
.exclusive-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
@media (min-width: 768px) {
    .exclusive-content {
        flex-direction: row;
    }
    .exclusive-image, .exclusive-info {
        flex: 1;
    }
}


/* Product Grid Layout */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  padding: 0;
  margin: 30px 0;
}

.woocommerce ul.products li.product {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.woocommerce ul.products li.product img {
  border-radius: 6px;
  margin-bottom: 12px;
}

.woocommerce ul.products li.product .button {
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 4px;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
  }
}
/* ==========================================================================
   Native Variation Swatches (No Plugin Required)
   ========================================================================== */

/* Hide standard dropdowns once swatches are generated */
.variations td.value select.easyshop-hidden-select {
  display: none !important;
}

/* Swatch Wrapper Container */
.easyshop-swatches-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 15px 0;
}

/* Individual Swatch Button */
.easyshop-swatch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding: 0 14px;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  background-color: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease-in-out;
}

/* Hover Effect */
.easyshop-swatch-item:hover {
  border-color: #111111;
}

/* Selected Active Swatch */
.easyshop-swatch-item.active {
  border-color: #e50914; /* Primary theme accent */
  background-color: #e50914;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(229, 9, 20, 0.2);
}

/* Clear Selection Button Styling */
.reset_variations {
  font-size: 13px;
  color: #666;
  text-decoration: underline;
  margin-left: 10px;
}
/* ==========================================================================
   Hero Slider Styling (Swiper Integration)
   ========================================================================== */

.easyshop-hero-container {
  max-width: 1200px;
  max-height:250px;
  margin: 20px auto 40px auto;
  padding: 0 15px;
}

.easyshop-hero-swiper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fdfdfd;
  border: 1px solid #eeeeee;
  padding-bottom: 30px;
}

.hero-slide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.hero-slide-image {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.hero-slide-image img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.hero-slide-info {
  text-align: center;
}

.hero-badge {
  background: #e50914;
  color: #ffffff;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.hero-slide-info h2 {
  font-size: 22px;
  margin: 5px 0 10px;
}

.hero-slide-info h2 a {
  color: #111111;
  text-decoration: none;
}

.hero-price {
  font-size: 18px;
  font-weight: bold;
  color: #e50914;
  margin-bottom: 15px;
}

.btn-hero-shop {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-hero-shop:hover {
  background: #e50914;
}

/* Swiper Custom Navigation Buttons */
.easyshop-hero-swiper .swiper-button-next,
.easyshop-hero-swiper .swiper-button-prev {
  color: #111111;
  transform: scale(0.6);
}

.easyshop-hero-swiper .swiper-pagination-bullet-active {
  background: #e50914;
}

/* Desktop Horizontal Layout */
@media (min-width: 768px) {
  .hero-slide-card {
    flex-direction: row;
    justify-content: center;
    padding: 40px;
    gap: 50px;
  }

  .hero-slide-info {
    text-align: left;
  }
}


