:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #ffffff;
  --text-secondary: #a1a1a1;
  --text-tertiary: #6b6b6b;
  --accent: #ff6b35;
  --accent-hover: #ff8255;
  --accent-subtle: rgba(255, 107, 53, 0.15);
  --price: #4ade80;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.2);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --header-height: 72px;
  --table-bar-height: 52px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.15);
}


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

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 180px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@supports (min-height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

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

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

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

select {
  font-family: inherit;
}


.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

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

.header-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}

.header-info {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header-subtitle {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: flex;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: all 0.2s var(--ease-out);
}

.lang-btn.active {
  background: var(--accent);
  color: #000;
}

.cart-fab {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
}

.cart-fab:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}


.table-bar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: var(--table-bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  z-index: 99;
}

.table-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  color: var(--text-secondary);
}

.table-selector svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.table-selector select {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  min-width: 100px;
}

.table-selector select option {
  background: var(--bg-card);
  color: var(--text);
}


.app-main {
  padding-top: calc(var(--header-height) + var(--table-bar-height));
  min-height: 100vh;
}

@supports (min-height: 100dvh) {
  .app-main {
    min-height: 100dvh;
  }
}


.search-bar {
  padding: 12px 16px;
  background: var(--bg);
  position: sticky;
  top: calc(var(--header-height) + var(--table-bar-height));
  z-index: 55;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0 16px;
  gap: 10px;
  transition: all 0.2s var(--ease-out);
}

.search-input-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-icon {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.search-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.95rem;
  padding: 12px 0;
  min-width: 0;
}

.search-input-wrapper input::placeholder {
  color: var(--text-secondary);
}

.clear-search-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.clear-search-btn:hover {
  color: var(--text);
}


.out-of-stock {
  opacity: 0.5;
  pointer-events: none;
}

.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}


.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.no-results p {
  font-size: 0.9rem;
}


.category-nav {
  position: sticky;
  top: calc(var(--header-height) + var(--table-bar-height) + 56px);
  background: var(--bg);
  z-index: 50;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-btn {
  flex-shrink: 0;
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s var(--ease-out);
  border: 1px solid transparent;
}

.category-btn .cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-btn .cat-icon svg {
  width: 18px;
  height: 18px;
}

.category-btn .emoji {
  font-size: 1.1rem;
}

.category-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8855 100%);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
  transform: scale(1.02);
}


.products-section {
  padding: 20px 16px 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 480px) {
  .products-grid {
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


.product-card {
  animation: fadeInUp 0.4s var(--ease-out) backwards;
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(20, 20, 20, 0.8) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--accent), var(--shadow-glow);
}

.product-card:active {
  transform: scale(0.98);
}

.product-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  pointer-events: none;
}

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

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

.product-placeholder {
  font-size: 2.5rem;
  opacity: 0.4;
  z-index: 1;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  background: linear-gradient(to bottom, var(--bg-card) 0%, var(--bg) 100%);
}

.product-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

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

.add-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8855 100%);
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.add-btn:hover:not(:disabled) {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--accent-hover) 0%, #ffaa77 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.add-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.add-btn:disabled {
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  cursor: not-allowed;
  box-shadow: none;
}


.contact-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 32px 16px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s var(--ease-out);
}

.contact-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.contact-btn svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.phone-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.phone-btn:hover svg {
  color: var(--accent);
  opacity: 1;
}

.ig-btn:hover {
  border-color: #E1306C;
  color: #E1306C;
}

.ig-btn:hover svg {
  color: #E1306C;
  opacity: 1;
}

.map-btn:hover {
  border-color: var(--price);
  color: var(--price);
}

.map-btn:hover svg {
  color: var(--price);
  opacity: 1;
}

.footer-address {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-align: center;
}


.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  z-index: 200;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  z-index: 201;
  display: flex;
  flex-direction: column;
}

@supports (height: 100dvh) {
  .cart-sidebar {
    height: 100dvh;
  }
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.cart-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

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

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

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.cart-item-media {
  position: relative;
  width: 76px;
  height: 76px;
}

.cart-item-image {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg-card);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.cart-item-qty-badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  background: var(--accent);
  color: #1b0c07;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.cart-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cart-item-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-price {
  color: var(--text-tertiary);
  font-weight: 500;
  font-size: 0.85rem;
}

.cart-item-subtotal {
  color: var(--price);
  font-weight: 700;
  font-size: 1rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.cart-item-qty {
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
}

.qty-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.remove-btn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s var(--ease-out);
}

.remove-btn:hover {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1rem;
}

.cart-total strong {
  font-size: 1.25rem;
  color: var(--price);
}

@media (max-width: 640px) {
  .cart-header {
    padding: 16px 18px;
  }

  .cart-items {
    padding: 18px;
  }

  .cart-item {
    gap: 16px;
    padding: 18px 0;
  }

  .cart-item-media {
    width: 88px;
    height: 88px;
  }

  .cart-item-name {
    font-size: 1.05rem;
  }

  .cart-item-subtotal {
    font-size: 1.1rem;
  }

  .qty-stepper {
    padding: 8px;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .remove-btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .cart-footer {
    padding: 16px 18px;
  }
}

.close-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
}

.close-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--accent);
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

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

.btn-full {
  width: 100%;
}


.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  z-index: 300;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .modal {
    align-items: center;
    padding: 20px;
  }
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
}

@supports (max-height: 90dvh) {
  .modal-content {
    max-height: 90dvh;
  }
}
@media (min-width: 768px) {
  .modal-content {
    max-width: 600px;
    border-radius: var(--radius-xl);
    border-bottom: 1px solid var(--border);
    transform: translateY(20px) scale(0.95);
  }
  
  .modal.active .modal-content {
    transform: translateY(0) scale(1);
  }
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  position: sticky;
  bottom: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
}


.checkout-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.checkout-form h3,
.checkout-summary h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease-out);
}

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

.payment-options {
  display: flex;
  gap: 12px;
}

.payment-option {
  flex: 1;
}

.payment-option input {
  display: none;
}

.option-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-align: center;
}

.option-box .icon {
  font-size: 1.5rem;
}

.payment-option input:checked + .option-box {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(255, 107, 53, 0.25);
  transform: scale(1.02);
}

.option-box:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.05);
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  max-height: 200px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 0;
}

.checkout-totals {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.total-final {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.total-final strong {
  color: var(--price);
}


.product-modal {
  max-width: 500px;
}

.product-detail {
  display: flex;
  flex-direction: column;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-card);
}

.product-detail-info {
  padding: 24px;
}

.product-detail-info h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-detail-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

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

.vat-note {
  color: var(--text-tertiary);
  font-size: 0.8rem;
}


.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-spring);
  z-index: 500;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  color: var(--success);
  font-size: 1.1rem;
}

#toastMessage {
  font-size: 0.9rem;
  font-weight: 500;
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


@supports (padding: max(0px)) {
  .app-header {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  
  .contact-footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
  
  .cart-footer,
  .modal-footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}
