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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --bg: #fafafa;
  --card: #ffffff;
  --text: #0f172a;
  --border: #e2e8f0;
  --accent: #ec4899;
  --brown: #4E342E;
  --brown-dark: #3E2723;
  --brown-shadow: rgba(62, 39, 35, 0.3);
  --brown-shadow-hover: rgba(62, 39, 35, 0.4);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

input, textarea, select {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

/* Header */
.header {
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700 0%, #FF6B35 50%, #E91E63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #FF6B35, #E91E63);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

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

.user-name {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 8rem 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(236, 72, 153, 0.9) 100%), url('https://picsum.photos/seed/fashionhero/1920/600') center/cover;
  color: white;
  border-radius: 20px;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.5rem;
  opacity: 0.95;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Carousel */
.carousel-container {
  margin: 2rem 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  transform: scale(1.02);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

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

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-btn.active {
  background: white;
  width: 30px;
  border-radius: 10px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
  left: 20px;
}

.carousel-arrow-right {
  right: 20px;
}

@media (max-width: 768px) {
  .carousel {
    height: 300px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Filters */
.filters {
  margin: 2rem 0;
}

.filter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-form input,
.filter-form select {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.filter-form button {
  padding: 0.75rem 2rem;
  background: var(--brown);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.filter-form button:hover {
  background: var(--brown-dark);
}

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

.product-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-card a {
  display: block;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: opacity 0.3s;
}

.product-card .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

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

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--text);
}

.category {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brown);
  margin: 0.5rem 0;
}

.stock {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.in-stock {
  background: #d1fae5;
  color: var(--success);
}

.out-of-stock {
  background: #fee2e2;
  color: var(--danger);
}

/* Buttons */
.btn, .btn-add-cart {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--brown);
  color: white !important;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--brown-shadow);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brown-shadow-hover);
  background: var(--brown-dark);
  color: white !important;
}

/* Catalog Button */
.btn-catalog {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--brown);
  color: white !important;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--brown-shadow);
}

.btn-catalog:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brown-shadow-hover);
  background: var(--brown-dark);
  color: white !important;
}

.btn-add-cart {
  width: 100%;
  margin-top: 1rem;
}

.btn-disabled {
  width: 100%;
  padding: 0.85rem;
  background: var(--border);
  color: var(--secondary);
  border: none;
  border-radius: 12px;
  cursor: not-allowed;
  margin-top: 1rem;
  font-weight: 600;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
}

.product-images {
  position: relative;
  z-index: 1;
}

.product-images img {
  width: 100%;
  border-radius: 12px;
}

.main-image-container {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
}

.main-image-container img {
  width: 100%;
}

.image-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.image-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.image-arrow-left {
  left: 15px;
}

.image-arrow-right {
  right: 15px;
}

.image-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.image-thumbnails img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: all 0.3s ease;
  pointer-events: auto;
  flex-shrink: 0;
}

.image-thumbnails img:hover {
  border-color: var(--brown);
  transform: scale(1.05);
  box-shadow: 0 4px 12px var(--brown-shadow);
}

.image-thumbnails img.active {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px var(--brown), 0 4px 12px var(--brown-shadow);
  transform: scale(1.02);
}

.size-selector {
  margin: 1.5rem 0;
}

.size-selector label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

.size-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.size-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.size-btn.active {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--brown-shadow);
}

.product-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.price-large {
  font-size: 2rem;
  font-weight: bold;
  color: var(--brown);
  margin: 1rem 0;
}

.description {
  color: var(--secondary);
  margin: 1.5rem 0;
  line-height: 1.8;
  white-space: pre-wrap;
}

.quantity-selector {
  margin: 1.5rem 0;
}

.quantity-selector input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-left: 1rem;
}

.btn-add-cart-large {
  width: 100%;
  padding: 1rem;
  background: var(--brown);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  margin: 1rem 0;
  transition: background 0.3s;
}

.btn-add-cart-large:hover {
  background: var(--brown-dark);
}

.btn-back {
  display: inline-block;
  margin-top: 1rem;
  color: var(--secondary);
  text-decoration: none;
}

/* Cart */
.cart-items {
  margin: 2rem 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-controls input {
  width: 70px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-right: 1rem;
}

.btn-remove {
  padding: 0.5rem 1rem;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cart-summary {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  text-align: right;
}

.btn-checkout {
  padding: 1rem 2rem;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.checkout-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

/* Auth Forms */
.auth-form {
  max-width: 400px;
  margin: 3rem auto;
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.auth-form button {
  width: 100%;
}

.auth-link {
  text-align: center;
  margin-top: 1rem;
  color: var(--secondary);
}

.auth-link a {
  color: var(--primary);
  text-decoration: none;
}

#message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
}

/* Admin */
.admin-tabs {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}

.tab-content {
  display: none;
}

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

.admin-table {
  width: 100%;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
}

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

.admin-table th {
  background: var(--bg);
  font-weight: 600;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

.btn-danger {
  background: var(--danger);
}

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

.text-danger {
  color: var(--danger);
  font-weight: bold;
}

.alert {
  background: #fef3c7;
  color: #92400e;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.admin-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--card);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
  }
  
  .cart-item {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.size-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

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

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  max-width: 350px;
  width: 95%;
  text-align: center;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

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

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

.modal-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.modal-size-btn {
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 1rem;
}

.modal-size-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.modal-size-btn.selected {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.modal-btn-confirm {
  padding: 0.75rem 1.5rem;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.modal-btn-confirm:hover {
  background: #059669;
}

.modal-btn-cancel {
  padding: 0.75rem 1.5rem;
  background: var(--border);
  color: var(--text);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

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

/* User Status in Admin */
.status-blocked {
  color: var(--danger);
  font-weight: 600;
}

.status-active {
  color: var(--success);
  font-weight: 600;
}

/* Image Fields in Admin */
.image-field {
  margin-bottom: 0.5rem;
}

.image-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.btn-image-add,
.btn-image-remove {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-image-add {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 12px var(--brown-shadow);
}

.btn-image-add:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--brown-shadow-hover);
}

.btn-image-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-image-remove {
  background: white;
  color: var(--danger);
  border: 2px solid var(--danger);
}

.btn-image-remove:hover {
  background: var(--danger);
  color: white;
  transform: translateY(-2px);
}

/* Orders Page Styles */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.order-card {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.order-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.order-header h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.order-date {
  color: var(--secondary);
  font-size: 0.9rem;
}

.order-status-badge {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.order-status-badge.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.order-status-badge.status-shipped {
  background: #dbeafe;
  color: #1e40af;
}

.order-status-badge.status-pickup {
  background: #e0e7ff;
  color: #4338ca;
}

.order-status-badge.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.order-status-badge.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.order-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.order-info-item {
  padding: 0.75rem;
  background: var(--bg);
  border-radius: 8px;
}

.order-info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--secondary);
  font-size: 0.85rem;
}

.order-total {
  color: var(--brown);
  font-weight: 700;
  font-size: 1.1rem;
}

.order-items-preview {
  background: var(--bg);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.order-items-preview strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.order-items-preview p {
  color: var(--secondary);
  line-height: 1.6;
}

.btn-view-order {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--brown);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-view-order:hover {
  background: var(--brown-dark);
  transform: translateX(5px);
}

/* Order Detail Page */
.order-detail-page {
  max-width: 900px;
  margin: 0 auto;
}

.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.order-status-badge-large {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
}

.order-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-section {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-section h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.2rem;
}

.info-section p {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.order-items-section {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.order-items-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.order-items-grid {
  display: grid;
  gap: 1.5rem;
}

.order-item-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 12px;
  transition: all 0.3s;
}

.order-item-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.order-item-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.order-item-info h4 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.order-item-info p {
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

.item-size {
  font-weight: 600;
  color: var(--brown) !important;
}

.item-price {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.item-price strong {
  color: var(--brown);
}

.order-total-section {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px var(--brown-shadow);
}

.order-total-section h2 {
  font-size: 2rem;
  margin: 0;
}

/* Contacts Page */
.contacts-page {
  max-width: 1000px;
  margin: 0 auto;
}

.map-container {
  margin: 2rem 0;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.contact-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--brown-dark);
}

.contact-detail {
  font-size: 0.85rem;
  color: var(--secondary) !important;
}

.social-section {
  text-align: center;
  margin: 4rem 0;
  padding: 3rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.social-section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.social-link svg {
  width: 40px;
  height: 40px;
}

/* Admin Order Status Select */
.order-status-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.order-status-select:hover {
  border-color: var(--brown);
}

.order-status-select:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px var(--brown-shadow);
}

@media (max-width: 768px) {
  .order-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .order-info {
    grid-template-columns: 1fr;
  }
  
  .order-item-card {
    grid-template-columns: 1fr;
  }
  
  .contact-info-cards {
    grid-template-columns: 1fr;
  }
  
  .order-detail-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

