/* eshoes.cz 2026 — Override Bootstrap blue → dark red */

/* Override Bootstrap 5 CSS variable system */
:root {
  --bs-primary: #8B0000;
  --bs-primary-rgb: 139, 0, 0;
  --bs-link-color: #8B0000;
  --bs-link-color-rgb: 139, 0, 0;
  --bs-link-hover-color: #6b0000;
  --bs-btn-bg: #8B0000;
  --bs-btn-border-color: #8B0000;
  --bs-btn-hover-bg: #6b0000;
  --bs-btn-hover-border-color: #6b0000;

  --primary: #8B0000;
  --primary-hover: #A52A2A;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: 15px;
  --apple-radius: 24px;
  --card-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.08);
}

body {
  background-color: #f5f5f7; /* Apple light gray background */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--apple-radius);
  box-shadow: var(--card-shadow);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

/* Header Redesign */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Product Cards */
.product-miniature {
  background: #ffffff;
  border-radius: var(--apple-radius);
  border: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.product-miniature:hover {
  transform: scale(1.02);
  box-shadow: var(--card-shadow);
}

.product-miniature .thumbnail-container {
  background: #fbfbfb;
  border-radius: var(--apple-radius) var(--apple-radius) 0 0;
}

/* Price Tags */
.product-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* Form Inputs */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 12px 16px;
  background: rgba(255,255,255,0.8);
  transition: all 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
  background: #ffffff;
}

/* Category Filters (Faceted Search) */
.faceted-search-filter {
  background: #ffffff;
  border-radius: var(--apple-radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Badge / Flags */
.product-flag {
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 4px 10px;
}

.product-flag.new { background-color: #0071e3; color: white; }
.product-flag.on-sale { background-color: var(--primary); color: white; }

/* Navigation Menu */
.menu-item a {
  font-weight: 500;
  color: #1d1d1f;
  transition: color 0.2s ease;
}

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

/* Zásilkovna / Packeta Integration */
#packetery-widget, .packeta-widget-button {
  border-radius: 16px !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  box-shadow: var(--card-shadow) !important;
  overflow: hidden;
}

.packeta-selector-branch {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px;
  margin-top: 10px;
}

/* Stripe Payment Integration */
#stripe-card-element, .stripe-payment-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

#stripe-submit-button {
  width: 100%;
  margin-top: 20px;
  background-color: #000000 !important; /* Apple Pay style button */
  color: #ffffff;
  border-radius: 12px;
  height: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#stripe-submit-button:after {
  content: 'Pay';
  font-family: -apple-system, sans-serif;
}

/* Shipping Method Selection */
.delivery-option {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.delivery-option:hover {
  border-color: var(--primary);
  background: #fffcfc;
}

.delivery-option input[type="radio"]:checked + label {
  font-weight: 600;
}


