/* ==========================================================================
   Uniy Designz — components
   Reusable UI pieces. Depends on tokens.css + base.css.
   Shared with admin.uniydesignz.com. See /styleguide.html for every state.
   ========================================================================== */

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease,
    color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.btn-primary { background: var(--brand-magenta); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--brand-magenta-dark); }

.btn-secondary { background: var(--background-inverse); color: #fff; }
.btn-secondary:hover:not(:disabled) { background: #000; }

.btn-outline { background: #fff; color: var(--text-primary); border-color: var(--border-strong); }
.btn-outline:hover:not(:disabled) { border-color: var(--text-primary); }

/* Legacy name kept for existing pages. */
.btn-pink-outline { background: #fff; color: var(--brand-magenta-dark); border-color: var(--brand-magenta); }
.btn-pink-outline:hover:not(:disabled) { background: var(--brand-magenta-tint); }

.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover:not(:disabled) { background: var(--background-tertiary); color: var(--text-primary); }

.btn-link {
  min-height: 0; padding: 0; border: 0; background: none;
  color: var(--text-link); text-decoration: underline; text-underline-offset: 3px;
}
.btn-link:hover { color: var(--brand-magenta); }

.btn-sm { min-height: 36px; padding: 0 var(--space-3); font-size: var(--text-sm); }
.btn-lg { min-height: 52px; padding: 0 var(--space-8); font-size: var(--text-base); }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-icon.btn-sm { width: 36px; }

/* ---- Badges -------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 2px var(--space-2); border-radius: var(--radius-xs);
  font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 1.6;
  background: var(--background-tertiary); color: var(--text-secondary);
}
.badge-magenta { background: var(--brand-magenta-tint); color: var(--brand-magenta-dark); }
.badge-teal { background: var(--brand-teal-tint); color: var(--brand-teal-dark); }
.badge-purple { background: var(--brand-purple-tint); color: var(--brand-purple-dark); }
.badge-gold { background: var(--brand-gold-tint); color: var(--brand-gold-dark); }
.badge-success { background: var(--color-success-tint); color: var(--color-success); }
.badge-warning { background: var(--color-warning-tint); color: var(--color-warning); }
.badge-danger { background: var(--color-danger-tint); color: var(--color-danger); }

/* ---- Form controls ------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); }
.label .optional { font-weight: 400; color: var(--text-muted); }
.help { font-size: var(--text-xs); color: var(--text-secondary); }
.error-text { font-size: var(--text-xs); color: var(--color-danger); }

.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px var(--space-3);
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--text-primary);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.textarea { min-height: 120px; resize: vertical; line-height: var(--leading-normal); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646875' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-muted); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none; border-color: var(--brand-teal-dark); box-shadow: 0 0 0 3px rgba(3, 94, 121, .18);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--color-danger); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--background-tertiary); color: var(--text-muted); cursor: not-allowed; }

.input-group { display: flex; }
.input-group .input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.check { display: inline-flex; align-items: flex-start; gap: var(--space-2); font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand-magenta); flex-shrink: 0; }

.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-full { grid-column: 1 / -1; }
}

/* ---- Choice chips (sizes, print methods, locations) ---------------------- */
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 40px; padding: 0 var(--space-3);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff;
  font-size: var(--text-sm); font-weight: 500; color: var(--text-primary);
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}
.choice:hover { border-color: var(--text-primary); }
.choice[aria-pressed="true"], .choice[aria-checked="true"], .choice.is-selected {
  border-color: var(--brand-magenta); background: var(--brand-magenta-tint); color: var(--brand-magenta-dark);
  box-shadow: inset 0 0 0 1px var(--brand-magenta);
}
.choice:disabled, .choice.is-unavailable {
  color: var(--text-muted); background: var(--background-secondary); cursor: not-allowed;
  text-decoration: line-through;
}

/* ---- Color swatches ------------------------------------------------------ */
.swatches { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.swatch {
  width: 32px; height: 32px; padding: 0; border-radius: var(--radius-full);
  border: 1px solid rgba(32, 33, 42, .18); background: var(--swatch, #ccc);
  transition: box-shadow var(--duration-fast) ease;
}
.swatch:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--border-strong); }
.swatch[aria-pressed="true"], .swatch[aria-checked="true"], .swatch.is-selected {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-magenta);
}
.swatch-sm { width: 22px; height: 22px; }

/* ---- Quantity stepper ---------------------------------------------------- */
.stepper {
  display: inline-flex; align-items: stretch; height: 40px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; background: #fff;
}
.stepper button { width: 36px; border: 0; background: none; color: var(--text-secondary); font-size: 18px; }
.stepper button:hover { background: var(--background-tertiary); color: var(--text-primary); }
.stepper input {
  width: 48px; border: 0; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color);
  text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- Cards --------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.card-pad { padding: var(--space-6); }
.card-muted { background: var(--background-secondary); }

/* Product card: supplier photography on a neutral stage. */
.product-tile { display: flex; flex-direction: column; gap: var(--space-3); color: inherit; }
.product-tile-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--background-secondary); border-radius: var(--radius-md);
}
.product-tile-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--duration-base) var(--ease-out); }
.product-tile:hover .product-tile-media img { transform: scale(1.03); }
.product-tile-media .badge { position: absolute; z-index: 1; top: var(--space-3); left: var(--space-3); }
.product-tile-brand { font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.product-tile-name { font-weight: 600; line-height: var(--leading-snug); }
.product-tile:hover .product-tile-name { color: var(--brand-magenta-dark); }
.product-tile-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); }
.product-tile-price { color: var(--text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.product-tile-swatches { display: flex; gap: 4px; }
.product-tile-swatches span { width: 12px; height: 12px; border-radius: var(--radius-full); border: 1px solid rgba(32, 33, 42, .18); background: var(--swatch); }

/* Category card: photograph + name, whole card is the link. */
.category-card { display: flex; flex-direction: column; gap: var(--space-3); color: inherit; }
.category-card-media {
  display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-md);
  background: var(--background-secondary);
}
.category-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-base) var(--ease-out); }
.category-card-media.is-cutout img { object-fit: contain; padding: 12%; mix-blend-mode: multiply; }
.category-card:hover .category-card-media img { transform: scale(1.04); }
.category-card-name { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.category-card-name svg { width: 16px; height: 16px; color: var(--text-muted); transition: transform var(--duration-fast) ease, color var(--duration-fast) ease; }
.category-card:hover .category-card-name { color: var(--brand-magenta-dark); }
.category-card:hover .category-card-name svg { transform: translateX(3px); color: var(--brand-magenta); }
.category-card-types { margin-top: calc(-1 * var(--space-2)); font-size: var(--text-sm); color: var(--text-secondary); }

/* Audience card (custom shop types). The top swatch shows the example
   shop's colors, so each card carries color without illustration. */
.audience-card {
  display: flex; flex-direction: column; gap: var(--space-2); height: 100%;
  padding: var(--space-6); border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fff;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.audience-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.audience-card-swatch { display: block; width: 56px; height: 6px; margin-bottom: var(--space-3); border-radius: var(--radius-full); background: linear-gradient(90deg, var(--sf-primary) 0 60%, var(--sf-accent) 60%); }
.audience-card-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; }
.audience-card-text { color: var(--text-secondary); font-size: var(--text-sm); }
.audience-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--space-3); font-size: var(--text-sm); font-weight: 600; color: var(--brand-magenta-dark); }
.audience-card-link svg { width: 16px; height: 16px; transition: transform var(--duration-fast) ease; }
.audience-card:hover .audience-card-link svg { transform: translateX(3px); }

/* Neutral stand-in while supplier photography is pending (render.js
   placeholder()). Plain by design — no illustrated glyphs. */
.media-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1);
  padding: var(--space-4); text-align: center; background: var(--background-tertiary);
}
.media-placeholder-label { font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary); max-width: 18ch; line-height: var(--leading-snug); }
.media-placeholder-note { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

/* Photos inside media frames fill the frame. */
.product-tile-media picture, .category-card-media picture, .visual-tile picture { display: block; width: 100%; height: 100%; }
.product-tile-media.has-photo img { padding: 8%; }

/* ---- Product grid & listing pages -------------------------------------- */
.grid-products { display: grid; gap: var(--space-8) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.listing-hero { padding: var(--space-8) 0 var(--space-6); background: var(--background-secondary); border-bottom: 1px solid var(--border-color); }
.listing-title { font-size: var(--text-4xl); margin-top: var(--space-4); }
.listing-subtitle { margin-top: var(--space-2); max-width: 640px; color: var(--text-secondary); }
.listing-body { padding-top: var(--space-6); padding-bottom: var(--space-20); }
.listing-count { margin: var(--space-5) 0; font-size: var(--text-sm); color: var(--text-secondary); }
.listing-empty { grid-column: 1 / -1; border: 1px dashed var(--border-strong); border-radius: var(--radius-md); }

/* Link chips for sub-navigation (product types, shop collections). */
.pill-nav { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.pill-nav a {
  display: inline-flex; align-items: center; gap: var(--space-2); flex-shrink: 0;
  min-height: 38px; padding: 0 var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-full);
  background: #fff; font-size: var(--text-sm); font-weight: 500; color: var(--text-primary); white-space: nowrap;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}
.pill-nav a:hover { border-color: var(--text-primary); }
.pill-nav a[aria-current="page"] { background: var(--background-inverse); border-color: var(--background-inverse); color: #fff; }
.pill-count { font-size: var(--text-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.pill-nav a[aria-current="page"] .pill-count { color: rgba(255, 255, 255, .7); }

/* ---- Section headers ----------------------------------------------------- */
.section { padding: var(--space-16) 0; }
.section-sm { padding: var(--space-12) 0; }
.section-muted { background: var(--background-secondary); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); }
.section-head h2 { font-size: var(--text-3xl); }
.section-head p { margin-top: var(--space-2); color: var(--text-secondary); max-width: 620px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 1024px) { .section { padding: var(--space-20) 0; } }

/* ---- Breadcrumbs --------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); }
.crumbs a:hover { color: var(--text-primary); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--border-strong); }
.crumbs [aria-current="page"] { color: var(--text-primary); }

/* ---- Tabs ---------------------------------------------------------------- */
.tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--border-color); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; padding: var(--space-3) var(--space-4); margin-bottom: -1px;
  border: 0; border-bottom: 2px solid transparent; background: none;
  font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary);
}
.tab:hover { color: var(--text-primary); }
.tab[aria-selected="true"] { color: var(--text-primary); border-bottom-color: var(--brand-magenta); }

/* Segmented control (compact tabs, e.g. print locations). */
.segmented { display: inline-flex; padding: 3px; gap: 2px; background: var(--background-tertiary); border-radius: var(--radius-sm); }
.segmented button {
  border: 0; background: none; padding: 6px var(--space-3); border-radius: var(--radius-xs);
  font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary);
}
.segmented button[aria-selected="true"], .segmented button[aria-pressed="true"] { background: #fff; color: var(--text-primary); box-shadow: var(--shadow-sm); }

/* ---- Alerts -------------------------------------------------------------- */
.alert {
  display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  border: 1px solid; border-radius: var(--radius-sm); font-size: var(--text-sm);
}
.alert svg { width: 18px; height: 18px; margin-top: 1px; }
.alert-info { background: var(--color-info-tint); border-color: rgba(3, 94, 121, .25); color: var(--brand-teal-dark); }
.alert-success { background: var(--color-success-tint); border-color: rgba(30, 122, 76, .25); color: var(--color-success); }
.alert-warning { background: var(--color-warning-tint); border-color: rgba(138, 90, 23, .25); color: var(--color-warning); }
.alert-danger { background: var(--color-danger-tint); border-color: rgba(180, 35, 24, .25); color: var(--color-danger); }

/* ---- Tables -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.table { width: 100%; font-size: var(--text-sm); }
.table th {
  text-align: left; font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-secondary); background: var(--background-secondary);
}
.table th, .table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Dialog (native <dialog>) -------------------------------------------- */
.dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0;
  border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--text-primary);
}
.dialog::backdrop { background: rgba(32, 33, 42, .45); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border-color); }
.dialog-head h2 { font-size: var(--text-xl); }
.dialog-body { padding: var(--space-6); overflow-y: auto; }
.dialog-foot { display: flex; justify-content: flex-end; gap: var(--space-3); padding: var(--space-4) var(--space-6); border-top: 1px solid var(--border-color); background: var(--background-secondary); }
.dialog[open] { animation: ud-dialog-in var(--duration-base) var(--ease-out); }
@keyframes ud-dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Drawer (slide-in panel; mobile nav, mini cart, filters) -------------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: var(--z-drawer);
  width: min(400px, 100vw); max-width: 100vw; height: 100%; max-height: 100vh; margin: 0 0 0 auto; padding: 0;
  border: 0; background: #fff; box-shadow: var(--shadow-lg); display: none; flex-direction: column;
}
.drawer[open] { display: flex; animation: ud-drawer-in var(--duration-base) var(--ease-out); }
.drawer-left { inset: 0 auto 0 0; margin: 0 auto 0 0; }
.drawer-left[open] { animation-name: ud-drawer-in-left; }
.drawer::backdrop { background: rgba(32, 33, 42, .45); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-color); }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--space-5); }
.drawer-foot { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border-color); }
@keyframes ud-drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ud-drawer-in-left { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- Toasts -------------------------------------------------------------- */
.toast-region {
  position: fixed; z-index: var(--z-toast); left: 50%; bottom: var(--space-6); transform: translateX(-50%);
  display: flex; flex-direction: column; gap: var(--space-2); width: min(420px, calc(100vw - 32px)); pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  background: var(--background-inverse); color: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  font-size: var(--text-sm); pointer-events: auto; animation: ud-toast-in var(--duration-base) var(--ease-out);
}
.toast svg { width: 18px; height: 18px; color: var(--brand-gold-light); }
.toast a { margin-left: auto; color: var(--brand-gold-light); font-weight: 600; text-decoration: underline; }
.toast.is-leaving { opacity: 0; transition: opacity var(--duration-base) ease; }
@keyframes ud-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Loading states ------------------------------------------------------ */
.skeleton {
  display: block; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--background-tertiary) 0%, #F7F8FA 50%, var(--background-tertiary) 100%);
  background-size: 200% 100%; animation: ud-skeleton 1.4s ease-in-out infinite;
}
.skeleton-text { height: 12px; }
@keyframes ud-skeleton { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Branded inline loader: small unicorn above a gold hairline (same language
   as the full-page loader in loader.css). */
.brand-loader { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-8); color: var(--text-secondary); font-size: var(--text-sm); }
.brand-loader img { width: 56px; height: 56px; }
.brand-loader-bar {
  width: 88px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-gold) 40%, var(--brand-gold-light) 60%, transparent) no-repeat, #EEE9E1;
  background-size: 45% 100%, 100% 100%; animation: ud-loader-glide 1.4s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes ud-loader-glide { 0% { background-position: -120% 0, 0 0; } 100% { background-position: 220% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .brand-loader-bar { animation: none; background: var(--brand-gold); opacity: .55; } }

/* ---- Empty state --------------------------------------------------------- */
.empty { text-align: center; padding: var(--space-16) var(--space-4); }
.empty svg { width: 40px; height: 40px; color: var(--text-muted); margin: 0 auto var(--space-4); }
.empty h2 { font-size: var(--text-2xl); }
.empty p { margin: var(--space-2) auto 0; max-width: 420px; color: var(--text-secondary); }
.empty .btn { margin-top: var(--space-6); }

/* ---- Price --------------------------------------------------------------- */
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price-lg { font-size: var(--text-2xl); }
.price-was { color: var(--text-muted); text-decoration: line-through; font-weight: 400; margin-left: var(--space-2); }
.price-note { font-size: var(--text-xs); color: var(--text-secondary); }

/* Summary rows (price breakdown, cart totals). */
.summary { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
.summary-row { display: flex; justify-content: space-between; gap: var(--space-4); color: var(--text-secondary); }
.summary-row span:last-child { font-variant-numeric: tabular-nums; color: var(--text-primary); }
.summary-row.is-discount span:last-child { color: var(--color-success); }
.summary-total { display: flex; justify-content: space-between; padding-top: var(--space-3); margin-top: var(--space-1); border-top: 1px solid var(--border-color); font-size: var(--text-lg); font-weight: 600; }

/* ---- Pagination ---------------------------------------------------------- */
.pagination { display: flex; gap: var(--space-1); justify-content: center; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 500;
}
.pagination a:hover { background: var(--background-tertiary); }
.pagination [aria-current="page"] { background: var(--background-inverse); color: #fff; }
