/* Rorschach Co. - Minimalist Black & White Design */

/* CSS Variables */
:root {
  --primary-black: #000000;
  --secondary-black: #1a1a1a;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #999999;
  --lighter-gray: #e5e5e5;
  --off-white: #f5f5f5;
  --pure-white: #ffffff;
  --accent: #000000;
  --danger: #dc3545;
  --success: #28a745;
  --warning: #ffc107;

  --font-primary: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-secondary: "Georgia", serif;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  --border-radius: 0;
  --transition: all 0.3s ease;

  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--pure-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--medium-gray);
}

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--pure-white);
  border-bottom: 1px solid var(--lighter-gray);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.logo span {
  font-weight: 300;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-black);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.header-actions a {
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.cart-icon {
  position: relative;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary-black);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--off-white);
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: var(--spacing-lg);
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
}

.hero p {
  font-size: 1.125rem;
  color: var(--medium-gray);
  margin-bottom: var(--spacing-xl);
  letter-spacing: 1px;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid var(--primary-black);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

.btn-secondary {
  border-width: 2px;
}

.btn-small {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.75rem;
}

.btn-large {
  padding: var(--spacing-lg) var(--spacing-xxl);
  font-size: 1rem;
}

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

.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: var(--pure-white);
}

/* Product Grid */
.products-section {
  padding: var(--spacing-xxl) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.product-card {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--off-white);
  overflow: hidden;
}

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

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

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

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

.product-info {
  padding: var(--spacing-md) 0;
}

.product-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  letter-spacing: 0.5px;
}

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

.product-price {
  font-size: 1rem;
  font-weight: 500;
}

/* Product Detail */
.product-detail {
  padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
}

.product-detail-image {
  aspect-ratio: 3/4;
  background: var(--off-white);
}

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

.product-detail-info h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: var(--spacing-sm);
}

.product-detail-price {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
}

.product-detail-description {
  color: var(--medium-gray);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.product-options {
  margin-bottom: var(--spacing-lg);
}

.option-group {
  margin-bottom: var(--spacing-md);
}

.option-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
  color: var(--medium-gray);
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.option-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 var(--spacing-md);
  border: 1px solid var(--lighter-gray);
  background: var(--pure-white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}

.option-btn:hover,
.option-btn.active {
  border-color: var(--primary-black);
  background: var(--primary-black);
  color: var(--pure-white);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--lighter-gray);
  background: var(--pure-white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.25rem;
}

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

.quantity-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid var(--lighter-gray);
  font-size: 1rem;
}

.product-actions {
  display: flex;
  gap: var(--spacing-md);
}

/* Cart */
.cart-page {
  padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-xl);
}

.cart-table th,
.cart-table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--lighter-gray);
}

.cart-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--medium-gray);
  font-weight: 500;
}

.cart-product-image {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: var(--off-white);
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.cart-summary {
  max-width: 400px;
  margin-left: auto;
  padding: var(--spacing-lg);
  background: var(--off-white);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--lighter-gray);
}

.cart-summary-row:last-child {
  border-bottom: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding-top: var(--spacing-md);
}

.cart-empty {
  text-align: center;
  padding: var(--spacing-xxl);
}

.cart-empty p {
  color: var(--medium-gray);
  margin-bottom: var(--spacing-lg);
}

/* Checkout */
.checkout-page {
  padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--spacing-xxl);
}

.checkout-form h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
  color: var(--medium-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--lighter-gray);
  background: var(--pure-white);
  transition: var(--transition);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.checkout-summary {
  padding: var(--spacing-lg);
  background: var(--off-white);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + var(--spacing-lg));
}

.checkout-summary h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--lighter-gray);
  font-size: 0.875rem;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
  font-size: 1.25rem;
  font-weight: 500;
}

/* Forms */
.auth-form {
  max-width: 400px;
  margin: 0 auto;
  padding: var(--spacing-xxl);
}

.auth-form h2 {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Footer */
.footer {
  background: var(--primary-black);
  color: var(--pure-white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
  color: var(--pure-white);
}

.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-col a {
  color: var(--light-gray);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--pure-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--dark-gray);
  font-size: 0.75rem;
  color: var(--light-gray);
}

/* Admin Layout */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  background: var(--primary-black);
  color: var(--pure-white);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: var(--spacing-lg);
}

.admin-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xxl);
  color: var(--pure-white);
}

.admin-nav {
  margin-bottom: var(--spacing-xl);
}

.admin-nav a {
  display: block;
  padding: var(--spacing-md);
  color: var(--light-gray);
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--pure-white);
  border-left-color: var(--pure-white);
  background: var(--secondary-black);
}

.admin-content {
  flex: 1;
  margin-left: 250px;
  padding: var(--spacing-xl);
  background: var(--off-white);
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.admin-header h1 {
  font-size: 1.75rem;
  font-weight: 400;
}

.admin-card {
  background: var(--pure-white);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--lighter-gray);
}

.admin-card-header h2 {
  font-size: 1.25rem;
  font-weight: 400;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: var(--pure-white);
  padding: var(--spacing-lg);
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--medium-gray);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

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

.admin-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--medium-gray);
  font-weight: 500;
}

.admin-table tr:hover {
  background: var(--off-white);
}

.status-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending {
  background: var(--warning);
  color: var(--primary-black);
}
.status-processing {
  background: #17a2b8;
  color: var(--pure-white);
}
.status-shipped {
  background: #6f42c1;
  color: var(--pure-white);
}
.status-delivered {
  background: var(--success);
  color: var(--pure-white);
}
.status-cancelled {
  background: var(--danger);
  color: var(--pure-white);
}

/* Alerts */
.alert {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border: 1px solid transparent;
}

.alert-success {
  background: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-warning {
  background: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--pure-white);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--spacing-xl);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--lighter-gray);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--medium-gray);
}

/* Filters */
.filters {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-select {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--lighter-gray);
  background: var(--pure-white);
  min-width: 150px;
}

.search-input {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--lighter-gray);
  min-width: 250px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--lighter-gray);
  font-size: 0.875rem;
  transition: var(--transition);
}

.pagination a:hover,
.pagination span.active {
  background: var(--primary-black);
  color: var(--pure-white);
  border-color: var(--primary-black);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: var(--spacing-sm);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--medium-gray);
  margin-bottom: var(--spacing-lg);
}

.breadcrumb a {
  color: var(--medium-gray);
}

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

/* Order Success */
.order-success {
  text-align: center;
  padding: var(--spacing-xxl);
}

.order-success-icon {
  width: 80px;
  height: 80px;
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 2rem;
  color: var(--success);
}

.order-success h1 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.order-number {
  font-size: 1.25rem;
  color: var(--medium-gray);
  margin-bottom: var(--spacing-xl);
}

/* Account Page */
.account-page {
  padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
}

.account-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--spacing-xxl);
}

.account-nav {
  border-right: 1px solid var(--lighter-gray);
  padding-right: var(--spacing-lg);
}

.account-nav a {
  display: block;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--lighter-gray);
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.account-nav a.active {
  font-weight: 500;
}

.order-history-item {
  padding: var(--spacing-md);
  border: 1px solid var(--lighter-gray);
  margin-bottom: var(--spacing-md);
}

.order-history-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

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

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

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

  .checkout-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: 4px;
  }

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

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .cart-table {
    display: block;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
  }

  .cart-table td {
    padding: var(--spacing-sm);
  }

  .cart-table td::before {
    content: attr(data-label);
    font-weight: 500;
    display: block;
    margin-bottom: var(--spacing-xs);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-nav {
    border-right: none;
    border-bottom: 1px solid var(--lighter-gray);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
  }

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

  .admin-sidebar {
    display: none;
  }

  .admin-content {
    margin-left: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

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

  .container {
    padding: 0 var(--spacing-md);
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}
