/* 
 * Fashion Store E-Commerce CSS
 * Based on SC Art design language
 */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Pacifico&display=swap');

/* Reset & Base Styles */
:root {
  --primary: #000000;
  --secondary: #333333;
  --background: #FFFFFF;
  --background-light: #F9FAFB;
  --text: #1A1A1A;
  --text-secondary: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.5;
  background-color: var(--background);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
}

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

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Header Styles */
.header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.75rem;
  font-weight: 400;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--secondary);
}

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

.search-form {
  position: relative;
  display: none;
}

.search-input {
  padding: 0.5rem 1rem;
  padding-right: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  width: 200px;
}

.search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
}

.cart-button {
  position: relative;
  background: none;
  border: none;
  font-size: 1.25rem;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-button {
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--background);
  z-index: 200;
  padding: 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
}

.mobile-menu-header {
  margin-bottom: 2rem;
}

.mobile-search {
  margin-bottom: 2rem;
}

.mobile-search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item {
  margin-bottom: 1rem;
}

.mobile-nav-link {
  font-weight: 500;
  font-size: 1.125rem;
  display: block;
  padding: 0.5rem 0;
}

.mobile-categories {
  margin-top: 2rem;
}

.mobile-category-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.mobile-category-list {
  list-style: none;
  margin-bottom: 2rem;
}

.mobile-category-item {
  margin-bottom: 0.5rem;
}

.mobile-category-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background-color: var(--background-light);
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  color: white;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Categories Section */
.categories {
  background-color: var(--background-light);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.category-card {
  background-color: var(--background);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.category-image-container {
  height: 200px;
  overflow: hidden;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

.category-content {
  padding: 1.5rem;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.category-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.category-link {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
  position: relative;
}

.category-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s;
}

.category-link:hover::after {
  width: 100%;
}

/* Featured Products */
.featured-products {
  background-color: var(--background);
}

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

.product-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--background);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-button {
  background-color: var(--background);
  color: var(--primary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color 0.3s;
}

.quick-view-button:hover {
  background-color: var(--primary);
  color: var(--background);
}

.product-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 1;
}

.product-content {
  padding: 1rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.current-price {
  font-weight: 600;
}

.original-price {
  color: var(--text-secondary);
  text-decoration: line-through;
  font-size: 0.875rem;
}

.discount-percentage {
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 500;
}

.product-colors {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.color-option {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-to-cart {
  background-color: var(--primary);
  color: white;
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.add-to-cart:hover {
  background-color: var(--secondary);
}

.wishlist-button {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: color 0.3s;
}

.wishlist-button:hover, .wishlist-button.active {
  color: var(--error);
}

/* Newsletter */
.newsletter {
  background-color: var(--background-light);
  text-align: center;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: #9CA3AF;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: #1F2937;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: var(--primary);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: #9CA3AF;
  transition: color 0.3s;
}

.footer-link:hover {
  color: white;
}

.contact-info {
  list-style: none;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #9CA3AF;
}

.contact-icon {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1F2937;
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.copyright {
  color: #9CA3AF;
  font-size: 0.875rem;
}

.payment-methods {
  display: flex;
  gap: 1rem;
}

.payment-method {
  height: 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Product Detail Page */
.product-detail {
  padding: 2rem 0;
}

.product-detail-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-gallery {
  flex: 1;
}

.main-image-container {
  position: relative;
  height: 300px;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 0.25rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.thumbnail.active {
  opacity: 1;
  border: 2px solid var(--primary);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  flex: 1;
}

.product-detail-category {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.product-detail-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-detail-current-price {
  font-size: 1.5rem;
  font-weight: 600;
}

.product-detail-original-price {
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-detail-discount {
  background-color: var(--success);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.product-detail-description {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.product-options {
  margin-bottom: 1.5rem;
}

.option-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.color-options {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.color-option-detail {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.color-option-detail.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.size-option {
  min-width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
}

.size-option:hover {
  border-color: var(--primary);
}

.size-option.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.size-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: line-through;
}

.size-guide-link {
  display: inline-block;
  margin-left: 1rem;
  color: var(--primary);
  font-size: 0.875rem;
  text-decoration: underline;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.quantity-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  border: 1px solid var(--border);
  font-size: 1.25rem;
}

.quantity-btn:first-child {
  border-radius: 0.25rem 0 0 0.25rem;
}

.quantity-btn:last-child {
  border-radius: 0 0.25rem 0.25rem 0;
}

.quantity-input {
  width: 3rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 1rem;
}

.product-actions-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.add-to-cart-detail {
  flex: 1;
}

.wishlist-button-detail {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: all 0.3s;
}

.wishlist-button-detail:hover, .wishlist-button-detail.active {
  color: var(--error);
  border-color: var(--error);
}

.product-meta {
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.meta-label {
  font-weight: 500;
  min-width: 100px;
}

.meta-value {
  color: var(--text-secondary);
}

.product-share {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.share-label {
  font-weight: 500;
  font-size: 0.875rem;
}

.share-links {
  display: flex;
  gap: 0.5rem;
}

.share-link {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  border-radius: 0.25rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.share-link:hover {
  background-color: var(--primary);
  color: white;
}

/* Product Tabs */
.product-tabs {
  margin-top: 3rem;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  white-space: nowrap;
}

.tab-button.active {
  color: var(--primary);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Size Chart */
.size-chart {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.size-chart th, .size-chart td {
  padding: 0.75rem;
  text-align: center;
  border: 1px solid var(--border);
}

.size-chart th {
  background-color: var(--background-light);
  font-weight: 500;
}

.size-chart tr:nth-child(even) {
  background-color: var(--background-light);
}

.size-guide-image {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.size-guide-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Related Products */
.related-products {
  margin-top: 3rem;
}

/* Cart Page */
.cart-page {
  padding: 2rem 0;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 0;
}

.cart-empty-icon {
  font-size: 3rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cart-empty-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.cart-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-items {
  flex: 2;
}

.cart-item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 0.25rem;
  overflow: hidden;
  margin-right: 1rem;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cart-item-variant {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.cart-item-price {
  font-weight: 500;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
}

.cart-quantity-btn {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  border: 1px solid var(--border);
  font-size: 0.875rem;
}

.cart-quantity-btn:first-child {
  border-radius: 0.25rem 0 0 0.25rem;
}

.cart-quantity-btn:last-child {
  border-radius: 0 0.25rem 0.25rem 0;
}

.cart-quantity-input {
  width: 2rem;
  height: 1.5rem;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 0.875rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: underline;
}

.cart-summary {
  flex: 1;
  background-color: var(--background-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.summary-label {
  color: var(--text-secondary);
}

.summary-value {
  font-weight: 500;
}

.summary-total {
  font-size: 1.125rem;
  font-weight: 600;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.checkout-button {
  margin-top: 1.5rem;
}

.continue-shopping {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: var(--primary);
  font-size: 0.875rem;
}

/* Checkout Page */
.checkout-page {
  padding: 2rem 0;
}

.checkout-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.checkout-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.checkout-form {
  flex: 3;
}

.form-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  font-size: 1rem;
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  font-size: 1rem;
  background-color: white;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-checkbox input {
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.payment-methods {
  margin-bottom: 1.5rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.3s;
}

.payment-method:hover, .payment-method.active {
  border-color: var(--primary);
}

.payment-method-radio {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
}

.payment-method-radio:checked {
  border-color: var(--primary);
}

.payment-method-radio:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.625rem;
  height: 0.625rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.payment-method-logo {
  height: 24px;
  margin-left: auto;
}

.checkout-summary {
  flex: 2;
  background-color: var(--background-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  position: sticky;
  top: 100px;
}

.order-items {
  margin-bottom: 1.5rem;
}

.order-item {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.order-item-image {
  width: 60px;
  height: 60px;
  border-radius: 0.25rem;
  overflow: hidden;
  margin-right: 0.75rem;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-details {
  flex: 1;
}

.order-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.order-item-variant {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.order-item-price {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.place-order-button {
  margin-top: 1.5rem;
}

/* Account Pages */
.account-page {
  padding: 2rem 0;
}

.account-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.account-sidebar {
  flex: 1;
}

.account-menu {
  background-color: var(--background-light);
  border-radius: 0.5rem;
  overflow: hidden;
}

.account-menu-item {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s;
}

.account-menu-item:last-child {
  border-bottom: none;
}

.account-menu-item.active, .account-menu-item:hover {
  background-color: var(--background);
  font-weight: 500;
}

.account-content {
  flex: 3;
}

.account-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.account-card {
  background-color: var(--background);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Orders */
.order-list {
  margin-bottom: 1.5rem;
}

.order-card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.order-header {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border);
}

.order-number {
  font-weight: 500;
}

.order-status {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

.status-processing {
  background-color: var(--warning);
  color: white;
}

.status-shipped {
  background-color: var(--primary);
  color: white;
}

.status-delivered {
  background-color: var(--success);
  color: white;
}

.status-cancelled {
  background-color: var(--error);
  color: white;
}

.order-body {
  padding: 1rem;
}

.order-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.order-info-item {
  flex: 1;
  min-width: 150px;
}

.order-info-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.order-info-value {
  font-weight: 500;
}

.order-products {
  margin-bottom: 1rem;
}

.order-product {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.order-product:last-child {
  border-bottom: none;
}

.order-product-image {
  width: 60px;
  height: 60px;
  border-radius: 0.25rem;
  overflow: hidden;
  margin-right: 0.75rem;
}

.order-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-product-details {
  flex: 1;
}

.order-product-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.order-product-variant {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.order-product-price {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--background-light);
  border-top: 1px solid var(--border);
}

.order-total {
  font-weight: 600;
}

.order-actions {
  display: flex;
  gap: 0.5rem;
}

.order-action-button {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

/* Login/Register */
.auth-page {
  padding: 4rem 0;
}

.auth-container {
  max-width: 400px;
  margin: 0 auto;
}

.auth-card {
  background-color: var(--background);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.auth-form-group {
  margin-bottom: 1.5rem;
}

.auth-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.auth-form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  font-size: 1rem;
}

.auth-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.forgot-password {
  font-size: 0.875rem;
  color: var(--primary);
}

.auth-submit {
  width: 100%;
  margin-bottom: 1.5rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.auth-divider-text {
  padding: 0 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.social-login {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-login-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background-color: var(--background);
  transition: background-color 0.3s;
}

.social-login-button:hover {
  background-color: var(--background-light);
}

.auth-footer {
  text-align: center;
  font-size: 0.875rem;
}

.auth-footer a {
  color: var(--primary);
  font-weight: 500;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .newsletter-input-group {
    flex-direction: row;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .product-detail-container {
    flex-direction: row;
  }
  
  .main-image-container {
    height: 400px;
  }
  
  .form-row {
    flex-direction: row;
  }
  
  .cart-container {
    flex-direction: row;
  }
  
  .checkout-container {
    flex-direction: row;
  }
  
  .account-container {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }
  
  .search-form {
    display: block;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
