/* =============================================
   TONY HOMES - MAIN STYLESHEET
   Premium Wooden Chopping Boards E-commerce
   ============================================= */

/* CSS Variables */
:root {
  /* Brand Colors */
  --primary-color: #8B4513;
  --secondary-color: #D2691E;
  --accent-color: #F4A460;
  --background-color: #FFF8DC;
  --text-color: #333333;
  --light-text: #666666;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --border-color: #E9ECEF;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --element-spacing: 20px;
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--light-text);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary-color);
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-primary);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

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

.btn-full {
  width: 100%;
}

/* Buy Now Button Styles */
.btn-accent {
  background: linear-gradient(135deg, #FF6B35, #F7931E);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-medium);
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #E55A2B, #E8821A);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-buy-now {
  background: linear-gradient(135deg, #FF6B35, #F7931E);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-medium);
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
  margin-left: 8px;
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #E55A2B, #E8821A);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.product-buy-now {
  background: linear-gradient(135deg, #FF6B35, #F7931E);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-medium);
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  margin-left: 10px;
}

.product-buy-now:hover {
  background: linear-gradient(135deg, #E55A2B, #E8821A);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.buy-now-btn {
  background: linear-gradient(135deg, #FF6B35, #F7931E);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-medium);
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  margin-left: 12px;
}

.buy-now-btn:hover {
  background: linear-gradient(135deg, #E55A2B, #E8821A);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Google Sign-In Button */
.btn-google {
  background: #FFFFFF;
  color: #333333;
  border: 2px solid #E0E0E0;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-medium);
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-google:hover {
  background: #F8F9FA;
  border-color: #D0D0D0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-google i {
  color: #4285F4;
  font-size: 18px;
}

/* Auth Divider */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  background: var(--white);
  padding: 0 15px;
  color: var(--light-text);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* Full Screen Checkout Styles */
.checkout-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: 9999;
  display: none;
  overflow-y: auto;
}

.checkout-fullscreen.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.checkout-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.checkout-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.checkout-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.checkout-logo img {
  width: 40px;
  height: 40px;
}

.checkout-header h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.checkout-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--light-text);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition-medium);
}

.checkout-close:hover {
  background: var(--light-gray);
  color: var(--text-color);
}

.checkout-content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
}

.checkout-main {
  flex: 1;
  max-width: 800px;
}

.checkout-sidebar {
  width: 400px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* Progress Indicator */
.checkout-progress {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--light-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition-medium);
}

.progress-step.active .step-number {
  background: var(--primary-color);
  color: var(--white);
}

.progress-step.completed .step-number {
  background: var(--secondary-color);
  color: var(--white);
}

.step-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--light-text);
  text-align: center;
}

.progress-step.active .step-label {
  color: var(--primary-color);
}

.progress-step.completed .step-label {
  color: var(--secondary-color);
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.progress-line.completed {
  background: var(--secondary-color);
}

/* Checkout Steps */
.checkout-steps-container {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.checkout-step {
  padding: 40px;
  display: none;
  animation: slideIn 0.3s ease-in-out;
}

.checkout-step.active {
  display: block;
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateX(20px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

.checkout-step h4 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-step h4::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 2px;
}

.checkout-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition-medium);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

/* Order Summary Sidebar */
.order-summary {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 120px;
}

.order-summary h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}

.order-items {
  margin-bottom: 24px;
}

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

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

.order-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

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

.order-item-name {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 4px;
}

.order-item-price {
  color: var(--primary-color);
  font-weight: 600;
}

.order-totals {
  margin-bottom: 24px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
}

.total-final {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  padding-top: 12px;
  border-top: 2px solid var(--border-color);
}

.security-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--light-gray);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.security-badge i {
  color: var(--primary-color);
  font-size: 16px;
}

/* Beautiful Cart Page Styles */
.cart-page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.page-header-text h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.page-header-text p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
}

.page-header-actions .btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.page-header-actions .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Cart Section */
.cart-section {
  padding: 0 0 80px 0;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

/* Cart Items Section */
.cart-items-section {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.cart-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.cart-count-badge {
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.cart-header-actions {
  display: flex;
  gap: 12px;
}

.btn-clear {
  color: #dc3545;
  border-color: #dc3545;
  background: transparent;
}

.btn-clear:hover {
  background: #dc3545;
  color: var(--white);
}

.cart-items-container {
  padding: 0;
}

.cart-items {
  padding: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-medium);
  position: relative;
}

.cart-item:hover {
  background: #f8f9fa;
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-details {
  flex: 1;
  margin-right: 20px;
}

.cart-item-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.cart-item-category {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 4px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-medium);
  color: var(--text-color);
}

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

.quantity-input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-color);
}

.remove-btn {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition-medium);
}

.remove-btn:hover {
  background: #dc3545;
  color: var(--white);
}

/* Empty Cart */
.empty-cart {
  padding: 60px 30px;
  text-align: center;
}

.empty-cart-content {
  max-width: 400px;
  margin: 0 auto;
}

.empty-cart-icon {
  width: 80px;
  height: 80px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--light-text);
  font-size: 32px;
}

.empty-cart h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
}

.empty-cart p {
  font-size: 16px;
  color: var(--light-text);
  margin-bottom: 32px;
  line-height: 1.6;
}

.empty-cart-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Order Summary */
.order-summary {
  position: sticky;
  top: 100px;
}

.summary-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.summary-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

.summary-icon {
  font-size: 24px;
  opacity: 0.8;
}

.summary-details {
  padding: 30px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}

.summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 8px;
}

.summary-divider {
  height: 1px;
  background: var(--border-color);
  margin: 20px 0;
}

.shipping-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.shipping-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.shipping-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shipping-title {
  font-weight: 600;
  color: var(--text-color);
  font-size: 14px;
}

.shipping-desc {
  font-size: 12px;
  color: var(--light-text);
}

.checkout-btn {
  margin: 0 30px 24px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-medium);
}

.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.payment-methods {
  padding: 0 30px 30px;
  text-align: center;
}

.payment-title {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 16px;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-icon {
  width: 40px;
  height: 40px;
  background: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 18px;
  transition: var(--transition-medium);
}

.payment-icon:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
  transition: var(--transition-fast);
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: optimize-contrast;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

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

.nav-menu {
  display: flex;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

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

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 200px;
  font-size: 0.9rem;
}

.search-box i {
  position: absolute;
  right: 12px;
  color: var(--light-text);
}

.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.cart-icon:hover {
  color: var(--primary-color);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background-color) 0%, var(--white) 100%);
  padding: 120px 0 80px;
  margin-top: 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.hero-image {
  text-align: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background-color: var(--light-gray);
  transition: var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--light-text);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

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

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  color: var(--light-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-tag {
  background-color: var(--background-color);
  color: var(--primary-color);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.discount {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

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

.btn-add-cart {
  flex: 1;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.btn-wishlist {
  background-color: transparent;
  color: var(--light-text);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-wishlist:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Filters */
.filters-section {
  background-color: var(--light-gray);
  padding: 2rem 0;
}

.filters {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 500;
  color: var(--text-color);
}

.filter-group select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--white);
  font-size: 0.9rem;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-heavy);
  z-index: 1001;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--light-text);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

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

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
}

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

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

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

.cart-item-price {
  color: var(--primary-color);
  font-weight: 600;
}

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

.quantity-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.cart-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo .logo {
  width: 50px;
  height: 50px;
  transition: var(--transition-fast);
}

.footer-logo:hover .logo {
  transform: scale(1.05);
}

.footer-logo .logo-text {
  color: var(--white);
  font-size: 1.8rem;
  transition: var(--transition-fast);
}

.footer-logo:hover .logo-text {
  color: var(--accent-color);
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--light-text);
  transition: var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--white);
}

.social-links {
  margin-top: 1rem;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  transition: var(--transition-fast);
}

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

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--light-text);
  font-size: 0.9rem;
}

/* Page Headers */
.page-header {
  background: 
    linear-gradient(135deg, rgba(139, 69, 19, 0.85) 0%, rgba(210, 105, 30, 0.85) 100%),
    url('images/banners/wood-texture-bg.jpg') center/cover,
    linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.page-header p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.page-header .breadcrumb {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInDown 0.6s ease-out;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition-fast);
}

.page-header .breadcrumb a:hover {
  color: var(--white);
}

.page-header .breadcrumb i {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Page Header Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-heavy);
  animation: modalSlideIn 0.3s ease-out;
}

.product-modal-content {
  max-width: 900px;
  width: 95%;
  max-height: 95vh;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border-radius: 12px 12px 0 0;
}

.modal-header h3 {
  color: var(--white);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--white);
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 0;
}

/* Product Details Modal Content */
.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.product-details-image {
  position: relative;
  background-color: var(--light-gray);
  border-radius: 0 0 0 12px;
  overflow: hidden;
}

.product-details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.product-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.product-image-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.product-image-nav.prev {
  left: 1rem;
}

.product-image-nav.next {
  right: 1rem;
}

.product-image-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.product-image-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-image-dot.active {
  background-color: var(--white);
}

.product-details-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-details-header {
  margin-bottom: 1.5rem;
}

.product-category-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.product-details-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-details-description {
  color: var(--light-text);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-details-features {
  margin-bottom: 1.5rem;
}

.product-details-features h4 {
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-item {
  background-color: var(--background-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

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

.product-rating-stars {
  display: flex;
  gap: 0.25rem;
}

.product-rating-stars i {
  color: #ffc107;
  font-size: 1rem;
}

.product-rating-text {
  color: var(--light-text);
  font-size: 0.9rem;
}

.product-details-price {
  margin-bottom: 1.5rem;
}

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

.product-current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.product-original-price {
  font-size: 1.5rem;
  color: var(--light-text);
  text-decoration: line-through;
}

.product-discount {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.product-sizes h4 {
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

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

.size-option {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  min-width: 80px;
}

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

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

.size-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.product-quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-btn {
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.quantity-btn:hover {
  background-color: var(--light-gray);
}

.quantity-input {
  border: none;
  padding: 0.75rem;
  text-align: center;
  width: 60px;
  font-weight: 600;
  background-color: var(--white);
}

.product-add-to-cart {
  flex: 1;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-add-to-cart:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.product-wishlist {
  background: none;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-wishlist:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.product-wishlist.active {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--white);
}

.product-details-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.product-shipping-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-shipping-info i {
  color: var(--primary-color);
}

.product-warranty-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-text);
  font-size: 0.9rem;
}

.product-warranty-info i {
  color: var(--primary-color);
}

/* Modal Animations */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Loading Spinner */
.loading {
  text-align: center;
  padding: 4rem 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Empty States */
.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart i {
  font-size: 4rem;
  color: var(--light-text);
  margin-bottom: 1rem;
}

.empty-cart h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.empty-cart p {
  color: var(--light-text);
  margin-bottom: 2rem;
}

/* Team Group Photo */
.team-group-photo {
  margin-top: 4rem;
  text-align: center;
}

.group-photo-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
}

.team-group-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-medium);
  margin-bottom: 1.5rem;
  transition: var(--transition-medium);
}

.team-group-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-heavy);
}

.group-photo-caption h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.group-photo-caption p {
  color: var(--light-text);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Product Image Navigation */
.product-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  opacity: 0;
}

.product-details-image:hover .product-image-nav {
  opacity: 1;
}

.product-image-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.product-image-nav.prev {
  left: 10px;
}

.product-image-nav.next {
  right: 10px;
}

.product-image-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.product-image-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-image-dot.active {
  background-color: var(--white);
  transform: scale(1.2);
}

.product-image-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Full Screen Product Details */
.breadcrumb-section {
  background-color: var(--light-gray);
  padding: 1rem 0;
  margin-top: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--light-text);
}

.breadcrumb a {
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.breadcrumb i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.product-details-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.product-details-full-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 2rem;
}

.main-image-container {
  position: relative;
  background-color: var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 1;
}

.main-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  opacity: 0;
}

.main-image-container:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

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

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

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

.thumbnail.active {
  border-color: var(--primary-color);
}

.thumbnail:hover {
  border-color: var(--secondary-color);
}

.product-info-full {
  padding: 1rem 0;
}

.product-header {
  margin-bottom: 2rem;
}

.product-category {
  color: var(--light-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.product-rating .stars {
  display: flex;
  gap: 2px;
}

.product-rating .stars i {
  color: #ffc107;
  font-size: 1.1rem;
}

.rating-text {
  color: var(--light-text);
  font-size: 0.9rem;
}

.product-description {
  margin-bottom: 2rem;
}

.product-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.product-features {
  margin-bottom: 2rem;
}

.product-features h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: var(--light-gray);
  border-radius: 6px;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.product-pricing {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--light-gray);
  border-radius: 8px;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.current-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.discount-badge {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.size-selection,
.quantity-selection {
  margin-bottom: 1.5rem;
}

.size-selection h3,
.quantity-selection h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

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

.size-option {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  min-width: 100px;
  font-weight: 500;
}

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

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

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 8px;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: var(--light-gray);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

.qty-display {
  width: 60px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

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

.add-to-cart-btn {
  flex: 2;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
}

.wishlist-btn {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

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

.product-shipping {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shipping-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--light-gray);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.shipping-info i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.shipping-info strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.25rem;
}

.shipping-info p {
  color: var(--light-text);
  font-size: 0.9rem;
  margin: 0;
}

/* Related Products */
.related-products {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

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

.related-product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
}

.related-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

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

.related-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.related-product-card .product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

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

.related-product-card .product-info {
  padding: 1.5rem;
}

.related-product-card .product-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

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

.related-product-card .current-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.related-product-card .original-price {
  font-size: 1rem;
  color: var(--light-text);
  text-decoration: line-through;
}

.related-product-card .product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-product-card .stars {
  display: flex;
  gap: 2px;
}

.related-product-card .stars i {
  color: #ffc107;
  font-size: 0.9rem;
}

/* Product Reviews */
.product-reviews {
  padding: 4rem 0;
  background-color: var(--white);
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.overall-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars i {
  color: #ffc107;
  font-size: 1.5rem;
}

.rating-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.rating-count {
  color: var(--light-text);
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.reviewer-info h4 {
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.review-rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.review-date {
  color: var(--light-text);
  font-size: 0.9rem;
}

.review-comment {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Product Not Found */
.product-not-found {
  text-align: center;
  padding: 4rem 2rem;
}

.product-not-found i {
  font-size: 4rem;
  color: var(--light-text);
  margin-bottom: 1rem;
}

.product-not-found h2 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.product-not-found p {
  color: var(--light-text);
  margin-bottom: 2rem;
}

/* Enhanced About Page Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Story Highlights */
.story-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.story-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition-medium);
}

.story-highlight:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(210, 105, 30, 0.1) 100%);
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-text h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.highlight-text p {
  color: var(--light-text);
  margin: 0;
  line-height: 1.5;
}

.story-description {
  margin-top: 2rem;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
}

.story-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
  font-style: italic;
}

/* Enhanced Image Container */
.image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-medium);
}

.image-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.7) 0%, rgba(210, 105, 30, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-medium);
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: var(--white);
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.overlay-content p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Enhanced Contact Page Styles */
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
  border-left: 4px solid transparent;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-left-color: var(--primary-color);
}

.contact-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  z-index: 2;
}

.contact-icon .icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  transition: var(--transition-fast);
}

.contact-method:hover .contact-icon .icon-bg {
  transform: scale(1.1);
}

.contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.contact-details p {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-details span {
  color: var(--light-text);
  font-size: 0.9rem;
}

/* Contact Stats */
.contact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.05) 100%);
  border-radius: 12px;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--light-text);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Social Links */
.social-links {
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 12px;
  text-align: center;
}

.social-links h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
}

/* Enhanced Contact Form Styles */
.contact-form-container {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.02) 0%, rgba(210, 105, 30, 0.02) 100%);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(139, 69, 19, 0.1);
}

.form-header h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-header p {
  color: var(--light-text);
  font-size: 1.1rem;
  margin: 0;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 15px;
  color: var(--primary-color);
  font-size: 1rem;
  z-index: 2;
  transition: var(--transition-fast);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition-fast);
  background-color: var(--white);
  color: var(--text-color);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper select:focus + i,
.input-wrapper textarea:focus + i {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.input-wrapper textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.input-wrapper select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238B4513' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.form-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-text);
  font-size: 0.9rem;
}

.form-info i {
  color: var(--primary-color);
  font-size: 1rem;
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-large i {
  font-size: 1rem;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: #27ae60;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group .error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* Loading State */
.btn-large.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-large.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Success Message */
.form-success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  border: 1px solid #27ae60;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: none;
}

.form-success.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.form-success i {
  color: #27ae60;
  margin-right: 0.5rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Featured Products Section */
.featured-products {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.products-background {
  position: relative;
  background:
    linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(210, 105, 30, 0.8) 100%),
    url('images/banners/wood-texture-bg.jpg') center/cover,
    linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.products-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.products-background .section-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 4rem;
}

.products-background .section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.products-background .section-header p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.products-background .products-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.products-background .product-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.products-background .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 1);
}

.products-background .product-card .product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.products-background .product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.products-background .product-card .product-info {
  padding: 1.5rem;
  color: var(--text-color);
}

.products-background .product-card .product-info h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.products-background .product-card .product-info .product-price {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.products-background .product-card .product-info .product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.products-background .product-card .product-info .product-rating .stars {
  color: #ffc107;
}

.products-background .product-card .product-info .product-rating .rating-text {
  color: var(--light-text);
  font-size: 0.9rem;
}

.products-background .section-footer {
  position: relative;
  z-index: 2;
  text-align: center;
}

.products-background .btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.products-background .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Product Card Animations */
.products-background .product-card {
  animation: fadeInUp 0.6s ease-out;
}

.products-background .product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.products-background .product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.products-background .product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.products-background .product-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Responsive Background */
@media (max-width: 768px) {
  .products-background {
    background-attachment: scroll;
  }
  
  .products-background .section-header h2 {
    font-size: 2.5rem;
  }
  
  .products-background .section-header p {
    font-size: 1.1rem;
  }
  
  .products-background .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

/* Firebase Authentication Styles */
.auth-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.user-info:hover {
  background-color: var(--light-gray);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 1000;
  display: none;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.user-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.user-link:hover {
  background-color: var(--light-gray);
}

.user-link.logout {
  color: var(--danger-color);
  border-top: 1px solid var(--border-color);
}

/* Authentication Modal */
.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.auth-modal-content {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.auth-modal-header h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0;
}

.auth-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.auth-close:hover {
  background-color: var(--light-gray);
  color: var(--text-color);
}

.auth-form h3 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

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

.auth-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.auth-links {
  margin-top: 1rem;
  text-align: center;
}

.auth-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-error {
  background-color: #fee;
  color: #c33;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #fcc;
}

.auth-success {
  background-color: #efe;
  color: #363;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #cfc;
}

/* Wishlist Styles */
.wishlist-btn {
  background: var(--white);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-medium);
  cursor: pointer;
  font-size: 12px;
}

.wishlist-btn:hover {
  background: var(--light-bg);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

.wishlist-btn.active i {
  color: var(--white);
}

/* Wishlist Icon in Navigation */
.wishlist-icon {
  position: relative;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition-medium);
  color: var(--text-color);
}

.wishlist-icon:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

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

/* Wishlist Section */
.wishlist-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.wishlist-header {
  text-align: center;
  margin-bottom: 40px;
}

.wishlist-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
}

.wishlist-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.wishlist-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.wishlist-item {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
  border: 1px solid var(--border-color);
}

.wishlist-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wishlist-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.wishlist-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.wishlist-item-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.wishlist-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.wishlist-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.wishlist-item-actions .btn {
  flex: 1;
  padding: 8px 16px;
  font-size: 14px;
}

.empty-wishlist {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-wishlist i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--border-color);
}

.empty-wishlist h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.empty-wishlist p {
  font-size: 16px;
  margin-bottom: 24px;
}

/* Profile Page Styles */
.profile-page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 60px 0;
  margin-bottom: 40px;
}

.profile-content {
  padding: 40px 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-sidebar {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition-medium);
  font-weight: 500;
}

.profile-nav-item:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.profile-nav-item.active {
  background: var(--primary-color);
  color: var(--white);
}

.profile-nav-item i {
  width: 20px;
  text-align: center;
}

.profile-main {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.profile-tab {
  display: none;
  padding: 32px;
}

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

.profile-card {
  margin-bottom: 32px;
}

.profile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.profile-card-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.profile-details h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.profile-details p {
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Orders Styles */
.order-filters {
  display: flex;
  gap: 16px;
  align-items: center;
}

.order-filters select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-color);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
  transition: var(--transition-medium);
}

.order-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.order-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.order-date {
  color: var(--text-muted);
  font-size: 14px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-confirmed {
  background: #d1ecf1;
  color: #0c5460;
}

.status-shipped {
  background: #d4edda;
  color: #155724;
}

.status-delivered {
  background: #d1ecf1;
  color: #0c5460;
}

.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.order-items {
  margin-bottom: 16px;
}

.order-item-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-bg);
}

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

.order-item-image {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

.order-item-details h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.order-item-details p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

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

.order-total {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.order-actions {
  display: flex;
  gap: 8px;
}

/* Address Styles */
.addresses-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.address-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  background: var(--white);
  transition: var(--transition-medium);
}

.address-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.address-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.address-actions {
  display: flex;
  gap: 8px;
}

.address-details p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 8px;
}

.default-badge {
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Settings Styles */
.settings-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.setting-item {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--white);
}

.setting-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.setting-item p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.notification-settings {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--light-bg);
  color: var(--text-color);
}

.modal-body {
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* Empty States */
.empty-orders,
.empty-addresses,
.empty-wishlist {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-orders i,
.empty-addresses i,
.empty-wishlist i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--border-color);
}

.empty-orders h3,
.empty-addresses h3,
.empty-wishlist h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.empty-orders p,
.empty-addresses p,
.empty-wishlist p {
  font-size: 16px;
  margin-bottom: 24px;
}

/* Error States */
.error-message {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.error-message i {
  font-size: 48px;
  margin-bottom: 16px;
  color: #dc3545;
}

.error-message h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.error-message p {
  font-size: 16px;
  margin-bottom: 24px;
}

/* Loading Spinner */
.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.loading-spinner i {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.loading-spinner p {
  font-size: 16px;
}

