/*
Theme Name: E-comm Modern
Theme URI: https://yourwebsite.com/ecomm-modern
Author: Your Name
Author URI: https://yourwebsite.com
Description: A modern e-commerce WordPress theme.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecomm-modern
*/

/* Global Styles */
:root {
  --primary-color: #000;
  --secondary-color: #fff;
  --border-color: #e5e5e5;
  --text-color: #000;
  --text-light: #777;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
}

.site-logo {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin: 0 15px;
}

.main-navigation a {
  text-decoration: none;
  color: var(--text-color);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-actions > * {
  margin-left: 20px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  flex: 1;
}

/* Product Item */
.product-item {
  margin-bottom: 40px;
}

.product-image-container {
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  display: block;
  transition: opacity 0.3s;
}

.product-sizes {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.product-image-container:hover .product-sizes {
  opacity: 1;
  transform: translateY(0);
}

.size-option {
  padding: 0 5px;
  font-size: 12px;
  cursor: pointer;
}

.size-option:hover {
  font-weight: bold;
}

.product-title {
  font-size: 14px;
  font-weight: normal;
  margin: 0 0 5px;
  text-transform: uppercase;
}

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

.product-tag {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 5px;
}

/* Footer Styles */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

