:root {
  --primary: #e11d48;
  --primary-dark: #be123c;
  --primary-light: #fecdd3;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

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

.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-top {
  background: var(--primary);
  color: white;
  padding: 8px 0;
  font-size: 13px;
}

.header-top-content {
  text-align: center;
}

.promo-text {
  font-weight: 500;
}

.header-main {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--secondary);
}

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

.logo-eu {
  color: var(--primary);
}

.search-bar {
  flex: 1;
  max-width: 600px;
  display: flex;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color 0.2s;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
}

.search-btn:hover {
  background: var(--primary-dark);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

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

.search-result-item:hover {
  background: var(--bg);
}

.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.search-result-item .info {
  flex: 1;
  min-width: 0;
}

.search-result-item .name {
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item .price {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.search-result-item .original-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 12px;
  margin-left: 6px;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
}

.search-loading {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

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

.cart-link {
  position: relative;
}

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

.header-categories {
  background: var(--secondary);
  padding: 12px 0;
}

.categories-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

.category-link {
  padding: 8px 20px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}

.category-link:hover,
.category-link.active {
  background: var(--primary);
  color: white;
}

main {
  min-height: calc(100vh - 400px);
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  border: none;
}

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

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

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

.btn-secondary:hover {
  background: #0f172a;
}

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

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

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

.btn-white:hover {
  background: var(--bg);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

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

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

.section-title {
  font-size: 24px;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

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

.badge-stock {
  background: var(--error);
  color: white;
}

.badge-low {
  background: var(--warning);
  color: var(--secondary);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

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

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

.product-info {
  padding: 16px;
}

.product-category {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
}

.stars {
  color: var(--accent);
}

.rating-count {
  color: var(--text-muted);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

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

.price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}

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

.product-actions .btn {
  flex: 1;
}

.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card.out-of-stock .out-of-stock-overlay {
  opacity: 1;
}

.out-of-stock-text {
  background: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--error);
}

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

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-light);
  margin-bottom: 32px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

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

.breadcrumb span {
  color: var(--text);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.product-gallery {
  position: sticky;
  top: 200px;
}

.product-main-image {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 16px;
}

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

.product-thumbnails {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

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

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

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

.product-details h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-details .product-rating {
  margin-bottom: 16px;
}

.product-details .product-price {
  margin-bottom: 20px;
}

.product-details .price-current {
  font-size: 32px;
}

.product-details .price-original {
  font-size: 18px;
}

.savings-banner {
  background: var(--success);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.stock-status.in-stock {
  color: var(--success);
}

.stock-status.low-stock {
  color: var(--warning);
}

.stock-status.out-of-stock {
  color: var(--error);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.quantity-selector label {
  font-weight: 500;
}

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

.quantity-input button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.quantity-input button:hover {
  background: var(--border);
}

.quantity-input input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.quantity-input input:focus {
  outline: none;
}

.product-actions-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.product-description {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.product-description h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.product-description p {
  color: var(--text-light);
  line-height: 1.7;
}

.cart-page {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.cart-items {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

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

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

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

.cart-item-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-info .product-price {
  margin-bottom: 12px;
}

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

.remove-btn {
  background: none;
  border: none;
  color: var(--error);
  font-size: 14px;
  font-weight: 500;
}

.remove-btn:hover {
  text-decoration: underline;
}

.cart-item-total {
  text-align: right;
}

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

.cart-summary {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 200px;
}

.cart-summary h2 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.summary-row.total {
  font-size: 18px;
  font-weight: 700;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.summary-row .savings {
  color: var(--success);
  font-weight: 600;
}

.cart-summary .btn {
  margin-top: 20px;
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart svg {
  width: 80px;
  height: 80px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-cart h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

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

.checkout-page {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}

.checkout-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.checkout-form h2 {
  font-size: 20px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

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

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

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

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

.payment-method.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-method input {
  display: none;
}

.payment-method .icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.order-summary {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 200px;
}

.order-items {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.order-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.order-item:last-child {
  margin-bottom: 0;
}

.order-item-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

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

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

.order-item-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.order-item-info .qty {
  font-size: 13px;
  color: var(--text-muted);
}

.order-item-price {
  font-weight: 600;
}

.auth-page {
  max-width: 440px;
  margin: 0 auto;
  padding: 60px 20px;
}

.auth-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 8px;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 14px;
}

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

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-light);
}

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

.account-page {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.account-sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-nav a {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s;
}

.account-nav a:hover,
.account-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.account-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.account-content h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

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

.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

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

.order-status {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.order-status.failed {
  background: #fef2f2;
  color: var(--error);
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--secondary);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: var(--error);
}

.toast.success {
  background: var(--success);
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--error);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.checkout-error {
  background: #fef2f2;
  border: 2px solid var(--error);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}

.checkout-error h3 {
  color: var(--error);
  font-size: 20px;
  margin-bottom: 12px;
}

.checkout-error p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.checkout-error .items-list {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  margin: 16px 0;
  text-align: left;
}

.checkout-error .items-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-error .items-list li:last-child {
  border-bottom: none;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-bar select {
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--bg-white);
}

.results-count {
  color: var(--text-light);
  font-size: 14px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination button {
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  font-weight: 500;
  transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.footer {
  background: var(--secondary);
  color: white;
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.payment-icons {
  display: flex;
  gap: 16px;
}

.payment-icons span {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .product-detail,
  .cart-page,
  .checkout-page,
  .account-page {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .cart-summary,
  .order-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }

  .search-bar {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 16px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.static-page {
  padding: 40px 0 60px;
}

.static-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.static-content h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.static-content .last-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.static-content .lead {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.static-content section {
  margin-bottom: 32px;
}

.static-content section:last-child {
  margin-bottom: 0;
}

.static-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.static-content section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.static-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 12px;
}

.static-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.static-content p:last-child {
  margin-bottom: 0;
}

.static-content ul,
.static-content ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-light);
}

.static-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.static-content a {
  color: var(--primary);
  font-weight: 500;
}

.static-content a:hover {
  text-decoration: underline;
}

.faq-section {
  margin-bottom: 40px;
}

.faq-section h2 {
  margin-bottom: 24px;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}

.faq-item h3 {
  color: var(--secondary);
  margin: 0 0 12px 0;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  font-size: 15px;
}

.shipping-table {
  overflow-x: auto;
  margin: 24px 0;
}

.shipping-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.shipping-table th,
.shipping-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.shipping-table th {
  background: var(--secondary);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.shipping-table td {
  font-size: 14px;
  color: var(--text);
}

.shipping-table tr:last-child td {
  border-bottom: none;
}

.about-hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fef2f2 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.about-hero .lead {
  margin: 0;
  font-size: 20px;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.value-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}

.value-item h3 {
  margin: 0 0 8px 0;
  color: var(--primary);
}

.value-item p {
  margin: 0;
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-item {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 16px;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.contact-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}

.contact-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.contact-card p {
  margin: 0 0 12px 0;
  font-size: 14px;
}

.contact-card a {
  display: block;
  margin-bottom: 8px;
}

.contact-card .response-time {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.contact-form-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-form-section h2 {
  border: none;
  padding: 0;
  margin-bottom: 24px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--bg-white);
  transition: border-color 0.2s;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
}

.office-info {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}

.quick-links {
  columns: 2;
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .static-content {
    padding: 24px;
  }

  .static-content h1 {
    font-size: 28px;
  }

  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-links {
    columns: 1;
  }
}
