/* ============================================================
   TerraGear — Global Styles
   Earth-tone palette: Forest, Stone, Sunset
   ============================================================ */

/* ─── Custom Properties ──────────────────────────────────── */
:root {
  --color-primary:      #2d3a2d;            /* deep forest green */
  --color-secondary:    #3a4a32;            /* moss */
  --color-accent:       #c87941;            /* burnt sunset orange */
  --color-accent-hover: #a86530;            /* deeper amber */
  --color-accent-light: rgba(200, 121, 65, 0.12);
  --color-bg:           #f5f1ea;            /* warm off-white (stone) */
  --color-surface:      #ffffff;
  --color-border:       #e5dfd3;            /* warm beige */
  --color-text:         #1f1d1a;            /* dark stone */
  --color-text-muted:   #6e6a62;            /* warm grey */
  --color-success:      #4d7c4d;            /* pine */
  --color-warning:      #b8923a;            /* amber gold */
  --font-sans:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm:          0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:          0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:          0 10px 30px rgba(0,0,0,.12);
  --radius-sm:          6px;
  --radius-md:          10px;
  --radius-lg:          16px;
  --transition:         0.2s ease;
  --container-width:    1200px;
  --header-height:      64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span { color: var(--color-accent); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: #fff; }

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

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .875rem;
  transition: background var(--transition), transform var(--transition);
}

.cart-btn:hover { background: var(--color-accent-hover); transform: translateY(-1px); }

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: #fff;
  color: var(--color-accent);
  font-size: .65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: 72px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--color-accent); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}

.hero-cta:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* ─── Filter Bar ─────────────────────────────────────────── */
.filter-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  position: sticky;
  top: var(--header-height);
  z-index: 50;
}

.filter-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-text-muted);
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ─── Product Grid ───────────────────────────────────────── */
.products-section { padding: 40px 0 60px; }

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  text-decoration: none;
}

.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.product-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

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

.product-card__name a:hover { color: var(--color-accent); }

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.stars { color: #f6ad55; }

.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}

.price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
}

.price-compare {
  font-size: .875rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-save {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-success);
  background: rgba(56,161,105,.1);
  padding: 2px 8px;
  border-radius: 50px;
}

.btn-add-cart {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 11px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}

.btn-add-cart:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.btn-add-cart.added {
  background: var(--color-success);
}

/* ─── Product Detail Page ────────────────────────────────── */
.breadcrumb {
  padding: 16px 0;
  font-size: .85rem;
  color: var(--color-text-muted);
}

.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { color: var(--color-text-muted); margin: 0 6px; }

.pdp {
  padding: 16px 0 60px;
}

.pdp__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pdp__image {
  height: 400px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9rem;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.pdp__category {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.pdp__name {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.pdp__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .9rem;
  color: var(--color-text-muted);
}

.pdp__price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.pdp__price { font-size: 2rem; font-weight: 800; }

.pdp__description {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.pdp__features {
  margin-bottom: 28px;
}

.pdp__features h3 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

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

.pdp__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}

.pdp__features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  font-size: 1rem;
}

.pdp__qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.qty-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-input button {
  width: 40px; height: 44px;
  font-size: 1.2rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: background var(--transition);
}

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

.qty-input input {
  width: 50px; height: 44px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 600;
}

.btn-primary {
  flex: 1;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

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

/* ─── Toast Notification ─────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.toast {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn .25s ease, toastOut .3s ease 2.5s forwards;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ─── Cart Page ──────────────────────────────────────────── */
.cart-page { padding: 32px 0 60px; }

.cart-page h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 28px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.cart-items-list { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.cart-item__image {
  width: 90px; height: 90px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

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

.cart-item__category {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.cart-item__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 4px 0 12px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item__price {
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 80px;
  text-align: right;
}

.btn-remove {
  color: var(--color-text-muted);
  font-size: .8rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.btn-remove:hover { color: var(--color-accent); background: var(--color-accent-light); }

/* ─── Order Summary Sidebar ──────────────────────────────── */
.order-summary {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.order-summary h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.summary-rows { display: flex; flex-direction: column; gap: 12px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--color-text-muted);
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin-top: 4px;
}

.btn-checkout {
  display: block;
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  padding: 15px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-top: 20px;
  transition: background var(--transition), transform var(--transition);
}

.btn-checkout:hover { background: var(--color-accent-hover); transform: translateY(-1px); }

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

.empty-cart .icon { font-size: 4rem; margin-bottom: 16px; }
.empty-cart h2 { font-size: 1.4rem; margin-bottom: 8px; color: var(--color-text); }
.empty-cart p  { margin-bottom: 24px; }

/* ─── Checkout Page ──────────────────────────────────────── */
.checkout-page { padding: 32px 0 60px; }

.checkout-progress {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  position: relative;
}

.progress-step::after {
  content: '';
  position: absolute;
  top: 16px; left: 60%;
  width: 80%; height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.progress-step:last-child::after { display: none; }

.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.progress-step.active .step-dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.progress-step.done .step-dot {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #fff;
}

.progress-step.done::after, .progress-step.active::after {
  background: var(--color-success);
}

.step-label {
  font-size: .75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.progress-step.active .step-label { color: var(--color-text); font-weight: 700; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.checkout-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.checkout-form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.checkout-step { display: none; }
.checkout-step.active { display: block; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-input {
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-input.error { border-color: var(--color-accent); }

.form-hint {
  font-size: .75rem;
  color: var(--color-text-muted);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

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

.payment-option:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

.payment-option input[type="radio"] { accent-color: var(--color-accent); }

.payment-icon { font-size: 1.5rem; }
.payment-label { font-weight: 600; font-size: .9rem; }

.card-fields {
  margin-top: 16px;
}

.step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.btn-back {
  padding: 12px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.btn-back:hover { background: var(--color-bg); }

.btn-next {
  padding: 12px 28px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: background var(--transition);
}

.btn-next:hover { background: var(--color-accent-hover); }

/* Summary step */
.summary-products { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.summary-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

.summary-product__image {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.summary-product__info { flex: 1; font-size: .875rem; }
.summary-product__name { font-weight: 600; }
.summary-product__meta { color: var(--color-text-muted); font-size: .8rem; }
.summary-product__price { font-weight: 700; }

.checkout-data-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.review-block h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.review-block p { font-size: .875rem; line-height: 1.5; }

/* ─── Confirmation Page ──────────────────────────────────── */
.confirmation-page { padding: 60px 0; text-align: center; }

.confirmation-icon {
  width: 100px; height: 100px;
  background: rgba(56,161,105,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 28px;
}

.confirmation-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.confirmation-page p { color: var(--color-text-muted); margin-bottom: 8px; }

.order-id {
  display: inline-block;
  font-family: monospace;
  background: var(--color-bg);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 8px 0 28px;
  border: 1px solid var(--color-border);
}

.confirmation-summary {
  max-width: 560px;
  margin: 0 auto 36px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.confirmation-summary h3 {
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 24px;
  font-size: .85rem;
  margin-top: auto;
}

.site-footer a { color: var(--color-accent); }

.logout-link {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.logout-link:hover { text-decoration: underline; }

/* ─── Utilities ──────────────────────────────────────────── */
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-sm     { font-size: .875rem; }
.mt-4        { margin-top: 1rem; }
.hidden      { display: none !important; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .pdp__layout     { grid-template-columns: 1fr; }
  .pdp__image      { position: static; height: 280px; }
  .cart-layout     { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .nav-links       { display: none; }
  .checkout-data-review { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .product-grid  { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .form-grid     { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .checkout-progress { gap: 0; }
  .progress-step { min-width: 80px; }
}

/* ─── Product Image Overlay ───────────────────────────────
   When a real product image exists, it covers the gradient
   container. The emoji icon remains in the DOM as a fallback;
   the image's onerror removes the <img>, exposing the emoji.
─────────────────────────────────────────────────────────── */
.product-card__image,
.pdp__image,
.cart-item__image,
.summary-product__image,
.thumb-mini {
  position: relative;
  overflow: hidden;
}

.product-card__image img,
.pdp__image img,
.cart-item__image img,
.summary-product__image img,
.thumb-mini img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.product-card__icon,
.pdp__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.cart-item__icon,
.summary-product__image > span,
.thumb-mini > span {
  position: relative;
  z-index: 1;
}

.product-card__badge { z-index: 3; }

/* Thumbnail used in the checkout sidebar */
.thumb-mini {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

