/* ============================================
   MARKSPORT - Plavky pro ženy | CSS Styles
   ============================================ */

/* SVG Icons */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
}
.icon-lg {
  width: 1.5em;
  height: 1.5em;
}
.icon-xl {
  width: 2em;
  height: 2em;
}

/* CSS Variables */
:root {
  --primary: #e8738a;
  --primary-dark: #d45c74;
  --primary-light: #f5a0b0;
  --primary-bg: #fff5f7;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a6a;
  --text-light: #888;
  --bg-white: #ffffff;
  --bg-light: #f9f9fb;
  --bg-section: #fdf4f6;
  --border: #ede0e3;
  --shadow: 0 4px 20px rgba(232, 115, 138, 0.12);
  --shadow-hover: 0 8px 32px rgba(232, 115, 138, 0.22);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.28s ease;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo span {
  color: var(--text-dark);
  font-style: italic;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-medium);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  letter-spacing: 0.3px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-bg);
}

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

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-bg);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--primary);
}

.cart-icon:hover {
  background: var(--primary);
  color: white;
}

.cart-icon svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.cart-count.hidden {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #fdf4f6 0%, #fff0f3 50%, #fce8ed 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--primary);
  font-style: italic;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-image img:first-child {
  margin-top: 40px;
  height: 280px;
}

.hero-image img:last-child {
  height: 220px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 115, 138, 0.35);
}

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

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

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border-color: var(--border);
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-medium);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.products-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-section);
}

.product-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.product-badge.sale {
  background: #e74c3c;
}
.product-badge.new {
  background: #2ecc71;
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  gap: 8px;
  transition: bottom var(--transition);
}

.product-card:hover .product-actions {
  bottom: 0;
}

.product-info {
  padding: 16px;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.75) 0%,
    transparent 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: white;
}

.category-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 14px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.category-link:hover {
  border-color: white;
}

/* ============================================
   BENEFITS / USP SECTION
   ============================================ */
.benefits-section {
  background: var(--primary);
  padding: 52px 0;
  color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.benefit-item {
  padding: 16px;
}

.benefit-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.benefit-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-item p {
  font-size: 0.85rem;
  opacity: 0.88;
  line-height: 1.5;
}

/* ============================================
   SECTION PADDING
   ============================================ */
.section-pad {
  padding: 72px 0;
}
.section-pad-sm {
  padding: 48px 0;
}
.bg-light {
  background: var(--bg-light);
}
.bg-section {
  background: var(--bg-section);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 16px 0;
}

.breadcrumb a {
  color: var(--text-medium);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb span {
  color: var(--text-light);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: var(--bg-section);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ============================================
   CATALOG FILTERS
   ============================================ */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 40px 0 60px;
}

.filter-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.filter-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.filter-block h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-medium);
  transition: color var(--transition);
}

.filter-option:hover {
  color: var(--primary);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
}

.filter-option.active {
  color: var(--primary);
  font-weight: 600;
}

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

.catalog-count {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  padding: 48px 0 64px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-images {
  position: sticky;
  top: 90px;
}

.main-product-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-section);
}

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

.thumb-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb-images img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.thumb-images img:hover,
.thumb-images img.active {
  border-color: var(--primary);
}

.product-detail-info {
  padding-top: 8px;
}

.product-detail-info .product-category {
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.product-detail-info h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stars {
  color: #f5a623;
  font-size: 1rem;
}

.rating-count {
  font-size: 0.82rem;
  color: var(--text-light);
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.product-detail-price .old-price {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 10px;
}

.option-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: block;
}

.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.size-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: white;
  transition: all var(--transition);
  color: var(--text-dark);
}

.size-btn:hover,
.size-btn.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
}

.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.color-option {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}

.color-option.selected,
.color-option:hover {
  border-color: var(--primary);
}

.product-add-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 48px;
  background: var(--bg-light);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: background var(--transition);
}

.qty-btn:hover {
  background: var(--border);
}

.qty-input {
  width: 50px;
  height: 48px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.product-meta {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-medium);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-meta span strong {
  color: var(--text-dark);
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 48px 0 64px;
  align-items: start;
}

.cart-table {
  width: 100%;
}

.cart-head {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 44px;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 44px;
  gap: 16px;
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  align-items: center;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-product img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--bg-section);
}

.cart-product-name {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-product-opts {
  font-size: 0.78rem;
  color: var(--text-light);
}

.cart-price,
.cart-total {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cart-total {
  color: var(--primary);
}

.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.cart-remove:hover {
  background: #fee;
  color: #e74c3c;
}

.cart-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.cart-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

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

.summary-row.total {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 8px;
}

.summary-row.total .price {
  color: var(--primary);
  font-size: 1.3rem;
}

.free-shipping-bar {
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  text-align: center;
}

.free-shipping-bar .bar {
  height: 6px;
  background: var(--border);
  border-radius: 10px;
  margin-top: 8px;
  overflow: hidden;
}

.free-shipping-bar .bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.promo-field {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.promo-field input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color var(--transition);
}

.promo-field input:focus {
  outline: none;
  border-color: var(--primary);
}

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

.cart-empty {
  text-align: center;
  padding: 64px 0;
  color: var(--text-medium);
}

.cart-empty .icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.cart-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  padding: 48px 0 64px;
  align-items: start;
}

.form-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section h3 .step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: white;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 115, 138, 0.12);
}

.delivery-option,
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition);
}

.delivery-option:hover,
.payment-option:hover {
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.delivery-option.selected,
.payment-option.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.delivery-option input,
.payment-option input {
  accent-color: var(--primary);
}

.delivery-option-label,
.payment-option-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
}

.delivery-option-price,
.payment-option-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.checkout-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.checkout-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.checkout-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item img {
  width: 56px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--bg-section);
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.checkout-item-opts {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.checkout-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-items {
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.contact-item-text p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.hours-row {
  font-size: 0.82rem;
  color: var(--text-medium);
}

.hours-row strong {
  color: var(--text-dark);
}

.map-placeholder {
  background: var(--bg-section);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  border: 2px dashed var(--border);
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  background: linear-gradient(
    135deg,
    var(--bg-section) 0%,
    var(--primary-bg) 100%
  );
  padding: 60px 0;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-hero-content p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-medium);
  font-weight: 600;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================
   RELATED PRODUCTS SECTION
   ============================================ */
.related-section {
  padding: 60px 0;
  background: var(--bg-light);
}

/* ============================================
   ALERT / NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-dark);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #27ae60;
}
.toast.error {
  background: #e74c3c;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: white;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--primary);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  opacity: 0.75;
  transition:
    opacity var(--transition),
    color var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.78rem;
  opacity: 0.6;
}

.payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pay-icon {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
}

/* ============================================
   QUANTITY CONTROL IN CART
   ============================================ */
.cart-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100px;
}

.cart-qty button {
  width: 32px;
  height: 34px;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-dark);
  transition: background var(--transition);
  font-family: var(--font-body);
}

.cart-qty button:hover {
  background: var(--border);
}

.cart-qty input {
  width: 36px;
  height: 34px;
  text-align: center;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-body);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image {
    display: none;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero {
    padding: 52px 0 40px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-images {
    position: static;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    display: none;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .category-card {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 4px;
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    font-size: 1.1rem;
    padding: 12px 16px;
    width: 100%;
  }
  .nav-toggle {
    display: block;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .products-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cart-head {
    display: none;
  }
  .cart-item {
    grid-template-columns: 1fr;
    position: relative;
    padding-right: 48px;
  }
  .cart-price {
    display: none;
  }
  .cart-remove {
    position: absolute;
    top: 16px;
    right: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .section-header h2 {
    font-size: 1.6rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .products-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
