/* SWAVEREPS base styles - no frameworks */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #111111;
  --promo-bg: #f5f5f5;
  --card-bg: #ffffff;
  --input-bg: #ffffff;
  --input-border: #d1d5db;
}

[data-theme="dark"] {
  --bg: #111111;
  --fg: #ffffff;
  --muted: #9ca3af;
  --border: #374151;
  --accent: #ffffff;
  --promo-bg: #1f2937;
  --card-bg: #1f2937;
  --input-bg: #1f2937;
  --input-border: #4b5563;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: system-ui, Arial, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.4; transition: background-color 0.3s, color 0.3s; }
a, input, textarea, img, body { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mainnav.container { padding: 16px 24px 16px 0; }
.hidden { display: none; }

/* Promo bar */
.promo { background: var(--promo-bg); border-bottom: 1px solid var(--border); font-size: 14px; }
.promo .inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 24px; }
.promo .cta { text-decoration: underline; font-weight: 600; }

/* Header */
header.topbar { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--border); transition: background-color 0.3s, border-color 0.3s; isolation: isolate; }
.utility { display: none; gap: 16px; justify-content: flex-end; font-size: 14px; padding: 8px 24px; border-bottom: 1px solid var(--border); }
.utility a { font-weight: 500; }
.utility span { font-weight: 500; }
@media (min-width: 768px) { .utility { display: flex; } }

.mainnav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 16px 24px; 
  position: relative;
  height: 60px;
}
.brand { 
  font-weight: 800; 
  letter-spacing: -0.02em; 
  font-size: 20px; 
  margin: 0;
  padding: 0;
}
.brand span { color: #6b7280; font-weight: 700; }
.navlinks { display: none; gap: 32px; }
.navlinks a { font-size: 14px; font-weight: 500; opacity: 0.9; white-space: nowrap; }
.navlinks a:hover { opacity: 0.6; }
@media (min-width: 1024px) { .navlinks { display: flex; } }
.search { display: flex; align-items: center; gap: 12px; }
.search input { width: 200px; border: 1px solid #e5e7eb; background: #f9fafb; color: var(--fg); padding: 8px 16px; border-radius: 20px; font-size: 14px; outline: none; }
.icons { display: flex; align-items: center; gap: 16px; }
.icons svg { cursor: pointer; color: var(--fg); transition: color 0.3s; width: 20px; height: 20px; }
.icons svg:hover { color: var(--muted); }

.mobilenav { display: flex; overflow-x: auto; gap: 16px; padding: 8px 16px 16px; }
@media (min-width: 1024px) { .mobilenav { display: none; } }

/* Mega menu */
.navitem { position: relative; }
.mainnav { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% + 4px); width: min(1100px, 94vw); background: var(--bg); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s ease, transform .16s ease, background-color 0.3s, border-color 0.3s; z-index: 9999; }
.navitem:hover .mega, .mega:hover { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateX(-50%) translateY(8px) !important; }
.navitem::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 15px; z-index: 9998; }

/* Force hover behavior for all nav items */
.navitem a:hover + .mega,
.navitem:hover .mega {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(8px) !important;
}
.mega h5 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--fg); text-align: center; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: center; }
.mega a { font-size: 14px; color: var(--fg); }
.mega a:hover { text-decoration: underline; }

/* Hero */
.hero { 
  background: var(--bg);
  text-align: center; 
  padding: 60px 0;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.hero h1 { 
  font-size: 48px; 
  margin: 0; 
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--fg);
}
.hero p { 
  color: var(--muted); 
  margin: 16px auto 0; 
  max-width: 400px;
  font-size: 18px;
}

/* Grid */
.section { padding: 40px 0; }
.section h2 { 
  font-size: 32px; 
  margin: 0 0 24px; 
  font-weight: 700;
  text-align: center;
  color: var(--fg);
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { transition: transform .2s ease; }
.card:hover { transform: translateY(-2px); }
.card .media { 
  aspect-ratio: 1; 
  background: #f5f5f5; 
  position: relative; 
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  min-height: 200px;
}

.card .media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: scale(1.4);
}
.card .badge { position: absolute; top: 8px; left: 8px; background: var(--fg); color: var(--bg); font-size: 12px; padding: 6px 8px; border-radius: 999px; }
.card .title { margin-top: 8px; font-weight: 600; }
.card .subtitle { color: var(--muted); font-size: 14px; }
.card .price { margin-top: 4px; }


/* Category toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.sort { border: 1px solid var(--border); background: var(--input-bg); color: var(--fg); padding: 8px 12px; border-radius: 8px; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }

/* Footer */
footer.site { margin-top: 56px; border-top: 1px solid var(--border); background: var(--fg); color: var(--bg); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.footgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 40px 24px; font-size: 14px; }
@media (min-width: 768px) { .footgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footgrid h4 { margin: 0 0 8px; font-size: 14px; }
.muted { color: rgba(255,255,255,0.7); }
.pill { border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--bg); cursor: pointer; }
.copyright { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* Product image utilities */
.product-image-container {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-container img,
.product-image-container[style*="background-image"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Account dropdown */
.account { position: relative; }
.account-btn { cursor: pointer; font-weight: 700; }
.account-menu { position: absolute; right: 0; top: 100%; width: 240px; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-radius: 8px; padding: 12px; display: none; transition: background-color 0.3s, border-color 0.3s; z-index: 9999; }
.account:hover .account-menu, .account-menu:hover { display: block; }
.account::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; z-index: 9998; }
.account-menu h6 { margin: 4px 0 8px; font-size: 14px; font-weight: 700; }
.account-menu a { display: block; padding: 8px 6px; color: var(--fg); font-weight: 500; }
.account-menu a:hover { background: var(--promo-bg); border-radius: 6px; }

/* Favorites */
.favorites-wrapper { 
  position: relative; 
  cursor: pointer; 
  padding: 8px; 
  border-radius: 8px; 
  transition: background-color 0.2s; 
}
.favorites-wrapper:hover { background: var(--promo-bg); }
#favorites-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0 4px;
}

/* Sidebar Filters */
.products-layout {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

.filters-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.filters-sidebar h3 {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

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

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  cursor: pointer;
  color: var(--fg);
}

.filter-title:hover {
  color: var(--muted);
}

.filter-arrow {
  transition: transform 0.3s ease;
}

.filter-section.expanded .filter-arrow {
  transform: rotate(180deg);
}

.filter-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.filter-section.collapsed .filter-content {
  max-height: 0;
}

/* Price Range */
.price-range {
  margin: 16px 0;
}

.price-range input[type="range"] {
  width: 100%;
  margin: 8px 0;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--fg);
  border-radius: 50%;
  cursor: pointer;
}

.price-range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--fg);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* Checkboxes */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--fg);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--fg);
  cursor: pointer;
}

.checkbox-label:hover {
  color: var(--muted);
}

/* Color Options */
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.color-option:hover {
  border-color: var(--fg);
  transform: scale(1.1);
}

.color-option.selected {
  border-color: var(--fg);
  box-shadow: 0 0 0 2px var(--bg);
}

/* Products Main Area */
.products-main {
  flex: 1;
  min-width: 0;
}

/* Toolbar Actions */
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-outline {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--promo-bg);
  border-color: var(--fg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .products-layout {
    flex-direction: column;
    gap: 16px;
  }
  
  .filters-sidebar {
    width: 100%;
    position: static;
    order: -1;
  }
  
  .toolbar-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Cart confirmation popup - Nike style exact */
.cart-confirmation-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 20px;
  width: 340px;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #f0f0f0;
  font-family: system-ui, -apple-system, sans-serif;
}

.cart-confirmation-popup.show {
  transform: translateX(0);
}

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

.cart-confirmation-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
}

.cart-confirmation-check {
  width: 20px;
  height: 20px;
  background: #00b04f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.cart-confirmation-close {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 20px;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
  line-height: 1;
}

.cart-confirmation-close:hover {
  background: #f5f5f5;
}

.cart-confirmation-product {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.cart-confirmation-image {
  width: 64px;
  height: 64px;
  background: #f8f8f8;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #e8e8e8;
}

.cart-confirmation-details {
  flex: 1;
  min-width: 0;
}

.cart-confirmation-name {
  font-weight: 700;
  color: #000;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-confirmation-description {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cart-confirmation-options {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cart-confirmation-price {
  font-weight: 700;
  color: #000;
  font-size: 15px;
}

.cart-confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-confirmation-btn {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-family: inherit;
}

.cart-confirmation-btn.secondary {
  background: white;
  border: 1px solid #ddd;
  color: #000;
}

.cart-confirmation-btn.secondary:hover {
  background: #f8f8f8;
  border-color: #ccc;
}

.cart-confirmation-btn.primary {
  background: #000;
  color: white;
}

.cart-confirmation-btn.primary:hover {
  background: #333;
}

/* Mobile responsive for popup */
@media (max-width: 480px) {
  .cart-confirmation-popup {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    transform: translateY(-100%);
  }
  
  .cart-confirmation-popup.show {
    transform: translateY(0);
  }
}

/* Checkout Page Styles - Nike EXACT copy */
.checkout-topbar {
  background: white;
  color: black;
  padding: 0;
  width: 100%;
  height: 60px;
  border-bottom: 1px solid #e5e7eb;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 24px;
}

.checkout-logo {
  color: black;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.swavereps-logo-text {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  letter-spacing: 1px;
}

.checkout-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.checkout-cart-icon {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.checkout-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.checkout-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-main {
  background: #f8f8f8;
  min-height: calc(100vh - 60px);
  padding: 40px 0;
}

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

.checkout-title {
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 40px;
  color: #000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 1px;
}

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

.checkout-section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Left Column - Delivery Options */
.checkout-left {
  background: white;
  padding: 24px;
  border: 1px solid #e5e7eb;
}

.checkout-delivery-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.delivery-method-btn {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 14px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.delivery-method-btn:hover {
  border-color: #9ca3af;
}

.delivery-method-btn.active {
  border: 2px solid #000;
  background: white;
}

.delivery-method-btn[data-method="pickup"].active {
  background: #000;
  color: white;
  border: 2px solid #000;
}

/* Form Styles */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
  width: 100%;
}

.form-group.full-width .address-input-wrapper {
  width: 100%;
}

.form-group.full-width .address-input-wrapper input {
  width: 100%;
  box-sizing: border-box;
}

.form-group label {
  font-weight: 600;
  color: #000;
  font-size: 14px;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #000;
}

.form-group input#address {
  border-color: var(--fg);
}

.form-group input#address:focus {
  border-color: var(--fg);
}

.address-input-wrapper {
  position: relative;
}

.address-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.address-check-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #10b981;
}

.address-error {
  color: var(--fg);
  font-size: 12px;
  margin-top: 4px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.manual-address-link {
  color: #000;
  text-decoration: underline;
  font-size: 14px;
  margin-top: 4px;
}

/* Address suggestions dropdown */
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.address-suggestions-header {
  padding: 12px 16px;
  background: #f9f9f9;
  border-bottom: 1px solid #e5e7eb;
  font-size: 12px;
  color: #666;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.address-suggestions-list {
  max-height: 150px;
  overflow-y: auto;
}

.address-suggestion {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s;
}

.address-suggestion:hover {
  background: #f8f9fa;
}

.address-suggestion:last-child {
  border-bottom: none;
}

.address-suggestion-arrow {
  color: #9ca3af;
  font-size: 12px;
}

/* Field wrapper for check icons */
.field-wrapper {
  position: relative;
}

.field-check-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #10b981;
}

/* Address expand link */
.address-expand-link {
  margin-bottom: 16px;
  cursor: pointer;
}

.address-expand-link span {
  color: #000;
  font-size: 14px;
  text-decoration: underline;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.address-expand-link:hover span {
  color: #666;
}

.checkout-continue-btn {
  background: #e5e7eb;
  color: #000;
  border: none;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.2s;
  width: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.checkout-continue-btn:hover {
  background: #d1d5db;
}

/* Pickup Form Styles */
.checkout-pickup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pickup-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 20px;
}

.pickup-search-wrapper {
  position: relative;
}

.pickup-search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.pickup-search-input:focus {
  outline: none;
  border-color: #000;
}

.pickup-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.pickup-share-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.pickup-description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.pickup-next-sections {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.next-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 12px;
}

/* Right Column - Cart Summary */
.checkout-right {
  background: white;
  padding: 24px;
  border: 1px solid #e5e7eb;
  height: fit-content;
}

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

.checkout-modify-link {
  color: #000;
  text-decoration: underline;
  font-size: 14px;
}

.checkout-summary {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

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

.summary-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #000;
  font-size: 14px;
}

.help-icon {
  color: #9ca3af;
}

.summary-value {
  font-weight: 600;
  color: #000;
  font-size: 14px;
}

.total-row {
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.checkout-delivery-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 14px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #f9f9f9;
  border-radius: 6px;
}

.checkout-products {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-product {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.checkout-product:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-product-image {
  width: 50px;
  height: 50px;
  background: #f8f8f8;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid #e8e8e8;
}

.checkout-product-details {
  flex: 1;
  min-width: 0;
}

.checkout-product-price {
  font-weight: 700;
  color: #000;
  font-size: 16px;
  margin-bottom: 4px;
}

.checkout-product-name {
  font-weight: 700;
  color: #000;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.checkout-product-description {
  color: #666;
  font-size: 13px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.checkout-product-color {
  color: #999;
  font-size: 12px;
  margin-bottom: 4px;
}

.checkout-product-options {
  color: #999;
  font-size: 12px;
  margin-bottom: 6px;
}

.checkout-product-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .checkout-title {
    font-size: 32px;
    margin-bottom: 32px;
  }
  
  .checkout-left,
  .checkout-right {
    padding: 24px;
  }
  
  .checkout-header-right {
    gap: 16px;
    font-size: 12px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .delivery-method-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ========================================
   PAGES DE SUCCÈS ET ANNULATION
   ======================================== */

.success-container, .cancel-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg);
}

.success-content, .cancel-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.success-icon, .cancel-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.success-content h1 {
    color: var(--fg);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cancel-content h1 {
    color: var(--fg);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.success-message, .cancel-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.order-details, .cancel-reasons {
    background: var(--bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.order-details h3, .cancel-reasons h3 {
    color: var(--fg);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.order-info p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-info strong {
    color: var(--fg);
    font-weight: 600;
}

.cancel-reasons ul {
    list-style: none;
    padding: 0;
}

.cancel-reasons li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.cancel-reasons li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.success-actions, .cancel-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg);
    color: var(--fg);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .success-content, .cancel-content {
        padding: 24px;
    }
    
    .success-content h1, .cancel-content h1 {
        font-size: 2rem;
    }
    
    .success-actions, .cancel-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

