/* ==========================================================================
   YardCo Store - finishing layer (2 Nov 2026)
   Loaded last on every page, after theme-yard.css and the page's own CSS.
   1. Loads the brand fonts the theme always named but never shipped.
   2. Quiets the chrome: no stamped labels above every heading, one card
      padding, one page-header pattern, consistent form spacing.
   3. Fixes specific pages (product cards, staff menu, admin, sell, footer).
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted; the CSP only allows fonts from this site) */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff") format("woff");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #24291f;
  --ink-soft: #5d6252;
  --page-gutter: clamp(16px, 4vw, 32px);
  --card-pad: clamp(18px, 2.2vw, 26px);
}

body {
  font-size: 15.5px;
  line-height: 1.55;
  font-optical-sizing: auto;
}

h1, h2, h3, .section-title, .home-section-title {
  font-optical-sizing: auto;
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* Page titles, section titles, card titles: one scale everywhere */
h1, .section-title, .notifications-title, .settings-title, .sell-title, .staff-title {
  font-size: clamp(1.85rem, 1.3rem + 1.6vw, 2.5rem) !important;
  line-height: 1.12 !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 8px !important;
}
.home-section-title, .settings-heading, .sell-heading, .admin-section-head h2,
.notifications-heading, .hub-section-title, main h2 {
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}
.section-subtitle {
  max-width: 62ch;
  color: var(--ink-soft) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* ---------- 2. Quieter chrome --------------------------------------------- */
/* The stamped ALL-CAPS label above every heading repeated what the heading says.
   Above a page or section title it is hidden; inside cards it becomes a small plain label. */
.section-eyebrow:has(+ h1), .section-eyebrow:has(+ h2), .section-eyebrow:has(+ .section-title) {
  display: none !important;
}
.section-eyebrow {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  color: var(--ink-soft) !important;
}
.section-eyebrow::before { display: none !important; }

/* Form fields: label above input with a steady gap, rows spaced evenly */
label:has(> .form-label) {
  display: grid;
  gap: 6px;
  align-content: start;
}
.form-label { font-size: .88rem !important; margin: 0 !important; }
.sell-form-card, .settings-form, .staff-form {
  display: grid;
  gap: 18px;
}
.sell-grid { gap: 18px !important; }

/* Cards: one padding */
.surface-card:where(:not(.listing-card, .shop-directory-card, .product-card, .home-category-card, .hub-request-card, .home-market-search)),
.sidebar-card, .settings-panel, .checkout-card {
  padding: var(--card-pad);
}

/* Empty states: left-aligned, calm, with room to breathe */
.empty-state, .app-state {
  text-align: left !important;
  padding: 28px var(--card-pad) !important;
  color: var(--ink-soft);
  box-shadow: none !important;
}
.empty-state h3, .app-state h3 {
  font-size: 1.1rem !important;
  margin: 0 0 6px !important;
}
.empty-state p, .app-state p { margin: 0; max-width: 60ch; }

/* Page header used by staff pages (and the reported-listings page, which never loaded the staff CSS) */
.staff-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}
.staff-authority-card {
  display: grid !important;
  gap: 6px;
  padding: 18px 20px !important;
  align-content: center;
}
.staff-authority-card h2 { font-size: 1.15rem !important; margin: 0 !important; }
.staff-authority-card p { margin: 0; }
.staff-authority-card .badge { justify-self: start; }

/* Status chips and badges: smaller, quieter */
.badge, .status-pill, .status-chip {
  font-size: .76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 3px 10px !important;
  line-height: 1.4 !important;
}

/* ---------- 3. Header ----------------------------------------------------- */
.navbar-inner { gap: 20px; }
.nav-links { gap: 2px !important; flex-wrap: nowrap; }
.nav-link {
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 12px !important;
}
.nav-link .nav-badge, .nav-link .badge, .nav-link [class*="count"] {
  position: static !important;
  margin: 0 !important;
  min-width: 20px;
  height: 20px;
  padding: 0 6px !important;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: .72rem !important;
  line-height: 1 !important;
  background: var(--green);
  color: #fffcf5;
}
.nav-actions .btn { white-space: nowrap; }
.nav-actions .btn .nav-count, #navNotificationCount {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
}
.nav-actions .btn-primary .nav-count { background: rgba(255, 252, 245, .22); color: #fffcf5; }
.nav-actions .btn-secondary #navNotificationCount { background: var(--green); color: #fffcf5; }
#navNotificationCount.hidden { display: none; }

/* ---------- 4. Product cards ---------------------------------------------- */
.product-card { display: flex; flex-direction: column; }
.product-card-media { aspect-ratio: 4 / 3; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body {
  display: flex !important;
  flex-direction: column;
  gap: 4px !important;
  padding: 14px 16px 16px !important;
  flex: 1;
}
.product-card-category {
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  font-family: var(--font-body) !important;
  font-size: .78rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--clay) !important;
  font-weight: 600;
}
.product-card-title, .product-card-title.sm {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
.product-card-title a { color: inherit; text-decoration: none; }
.product-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-card-price {
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important;
  font-variant-numeric: tabular-nums;
  margin: 2px 0 0 !important;
}
.product-card-meta { margin: 0 !important; font-size: .85rem; color: var(--ink-soft); }
.product-card-actions {
  margin-top: auto !important;
  padding-top: 10px;
  display: flex !important;
  gap: 8px;
}
.product-card-actions .btn { flex: 1; }
.product-card-heart {
  box-shadow: 0 2px 8px rgba(36, 41, 31, .12) !important;
}

/* Listing management (My listings) */
.listing-card-media { aspect-ratio: 4 / 3; display: block; }
.listing-card-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-card-top h3 { font-family: var(--font-body) !important; font-size: 1.02rem !important; margin: 6px 0 0 !important; }
.listing-price { font-family: var(--font-body) !important; font-variant-numeric: tabular-nums; }
.listing-description {
  color: var(--ink-soft);
  font-size: .92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-meta { font-size: .84rem; color: var(--ink-soft); gap: 12px !important; }
.listing-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 5. Home ------------------------------------------------------- */
.home-section-header { align-items: flex-end !important; margin-bottom: 18px !important; }
.home-section-header .text-link { font-weight: 600; color: var(--green-dark); }

.home-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.home-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 4px;
  padding: 20px 22px;
}
.home-steps li + li { border-left: 1px solid var(--border); }
.home-steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-weight: 600;
}
.home-steps strong { font-size: 1rem; }
.home-steps span { color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }

.home-category-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 12px !important; }
.home-category-card {
  min-height: 0 !important;
  padding: 16px 18px !important;
  border-radius: var(--radius-md) !important;
  display: grid !important;
  place-items: start !important;
  gap: 2px;
  text-decoration: none;
  font-family: var(--font-body) !important;
}
.home-category-card strong { font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.home-category-card span { font-size: .84rem; color: var(--ink-soft); }
.home-category-card:hover { border-color: var(--kraft) !important; }

.home-onboarding-cta {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: var(--kraft-soft) !important;
  border-color: #e3cfa6 !important;
}
.home-onboarding-cta h2 { margin: 0 0 6px !important; }
.home-onboarding-cta p { margin: 0; color: var(--ink-soft); max-width: 60ch; }

/* ---------- 6. Shops ------------------------------------------------------ */
.shop-directory-media {
  aspect-ratio: 16 / 7;
  display: flex;
  overflow: hidden;
}
.shop-directory-media img { flex: 1; min-width: 0; height: 100%; object-fit: cover; }
.shop-directory-monogram {
  flex: 1;
  display: grid;
  place-items: center;
  background: var(--green-deep);
  background-image: radial-gradient(500px 160px at 90% 0%, rgba(201, 214, 191, .2), transparent 60%);
  color: var(--kraft);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: .04em;
}
.shop-directory-heading h2 { font-size: 1.15rem !important; margin: 0 !important; }
.shop-directory-heading p { margin: 2px 0 0; font-size: .84rem; color: var(--ink-soft); }
.shop-directory-stats span { font-size: .8rem !important; }

/* ---------- 7. Product page ----------------------------------------------- */
.seller-report-action {
  margin: 12px var(--card-pad) var(--card-pad) !important;
  width: calc(100% - 2 * var(--card-pad));
}
.seller-card .rating-block { padding: 0 16px; }

/* ---------- 8. Sell ------------------------------------------------------- */
.sell-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 18px 20px !important;
  display: grid;
  gap: 12px;
}
.sell-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
}
.sell-steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .82rem;
}
.sell-steps strong { font-size: .95rem; }
.sell-steps span { font-size: .86rem; color: var(--ink-soft); }

/* ---------- 9. Notifications ---------------------------------------------- */
.notice-card { padding: 16px 18px !important; }
.notice-card.unread { border-left: 3px solid var(--green) !important; }
.notice-title { font-family: var(--font-body) !important; font-size: .98rem !important; font-weight: 700 !important; margin: 0 0 2px !important; }
.notice-copy p { margin: 0 0 8px; }
.notice-time { font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
.notice-meta span { font-size: .76rem !important; padding: 2px 8px !important; }

/* ---------- 10. Staff queues ---------------------------------------------- */
.hub-request-media {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt) !important;
}
.hub-request-media:has(img)::after { content: none !important; display: none !important; }
.hub-request-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-request-title { font-family: var(--font-body) !important; font-size: 1.02rem !important; font-weight: 700 !important; margin: 0 !important; }
.hub-request-meta { margin: 2px 0 0 !important; color: var(--ink-soft); font-size: .9rem; }
.hub-pill-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hub-ref { font-size: .8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- 11. Admin console --------------------------------------------- */
.admin-section-head { align-items: center !important; }
.admin-section-head .admin-inline-field { flex-wrap: nowrap !important; align-items: center; gap: 8px; }
.admin-section-head .admin-inline-field .form-label { white-space: nowrap; }
.admin-section-head .select { min-width: 150px; }
.admin-inline-form { align-items: center; }
.admin-inline-form .input { flex: 1 1 200px; width: auto; }
.admin-section > .muted { max-width: 72ch; margin-top: 0; }
.admin-stats-group h3 { font-family: var(--font-body) !important; font-size: .82rem !important; color: var(--ink-soft) !important; font-weight: 700 !important; }
.mini-summary-card strong { font-variant-numeric: tabular-nums; }

/* ---------- 12. Footer ---------------------------------------------------- */
.footer { padding: 44px 0 0 !important; }
.footer-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 32px;
  align-items: start;
}
.footer-brand h3 { margin: 0 0 8px !important; font-size: 1.2rem !important; }
.footer-brand p { margin: 0; max-width: 42ch; font-size: .92rem; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer .footer-links {
  display: grid !important;
  gap: 8px !important;
  align-content: start;
}
.footer-links h4 {
  margin: 0 0 4px;
  font-family: var(--font-body) !important;
  font-size: .8rem;
  font-weight: 700;
  color: var(--kraft) !important;
}
.footer .footer-links a {
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-size: .92rem;
  text-decoration: none;
}
.footer .footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  margin-top: 36px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(246, 239, 225, .14);
  font-size: .82rem;
  color: rgba(246, 239, 225, .6);
}

/* ---------- Small screens ------------------------------------------------- */
@media (max-width: 900px) {
  .staff-hero { grid-template-columns: 1fr; align-items: start; }
  .home-steps { grid-template-columns: 1fr; }
  .home-steps li + li { border-left: 0; border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-onboarding-cta { flex-direction: column; align-items: flex-start; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card-body { padding: 10px 12px 12px !important; }
  .product-card-title, .product-card-title.sm { font-size: .92rem !important; }
  .hub-request-media { width: 72px; height: 72px; }
  .seller-report-action { margin: 12px 16px 16px !important; width: calc(100% - 32px); }
}

/* A page header whose side holds just a count */
.staff-hero:has(> .staff-hero-count) { grid-template-columns: minmax(0, 1fr) auto; }
.staff-hero-count { justify-self: end; align-self: end; font-size: .85rem !important; padding: 6px 14px !important; }

/* Shop directory media spans the whole card */
.shop-directory-media { width: 100%; height: auto !important; }
/* Browse filters stay compact and follow the page instead of stretching its full height */
.browse-filters { align-self: start; position: sticky; top: 88px; }
/* Small group labels above a section title ("Seller shops" over "Shops") repeat the title */
.section-eyebrow:has(+ h3) { display: none !important; }
/* Staff hero stats: one row of compact tiles */
.hub-hero-stats { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important; gap: 10px !important; align-self: center; }
.hub-hero-stats > * { padding: 14px !important; min-width: 0; }

/* YardStick card before a review: a quiet line instead of a huge "Not rated / 5" */
.yardstick-score.is-empty #yardstickRating { font-size: 1.15rem !important; color: var(--ink-soft) !important; font-family: var(--font-body) !important; font-weight: 600; }
.yardstick-score.is-empty small { display: none; }

/* Notifications: group headings are labels inside the feed, not page titles */
.notice-group-head .notifications-heading, .notice-group > summary.notifications-heading {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 6px 0 2px !important;
}
.notice-group-head p { margin: 0 0 10px; font-size: .88rem; }
.notifications-summary { align-self: end; }
.notifications-summary > .hidden { display: none !important; }
.notifications-summary:has(> .hidden) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

/* Shop pages: the sidebar cards keep their own height */
.shop-sidebar > * { align-self: start; height: auto !important; }
.shop-sidebar { align-self: start; display: grid; gap: 16px; align-content: start; }

/* Primary form buttons sit at their natural width */
.settings-form > .btn, .settings-panel form > .btn[type="submit"] { justify-self: start; min-width: 200px; }

/* Inline admin fields (label + control on one line) are not stacked form fields */
label.admin-inline-field {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap !important;
}
.admin-section-head .admin-inline-form { flex-wrap: nowrap; }
.admin-section-head .admin-inline-form .input { min-width: 220px; }

@media (max-width: 640px) {
  /* Section headers stack and stay left-aligned on phones */
  .home-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 4px !important;
  }
  .home-section-header > div { text-align: left !important; }
  .footer .footer-links { justify-items: start; text-align: left; }
  .footer .footer-links a { justify-content: flex-start !important; }
  .admin-section-head .admin-inline-form { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  /* 16px side gutters on phones (was 10px) */
  .container, .navbar-inner { width: calc(100% - 32px) !important; }

  /* Staff queue rows: chips and photo keep their natural size */
  .hub-request-card .status-chip, .hub-request-card .badge, .admin-section-head .badge,
  .home-section-header .badge, [class*="section-head"] .badge {
    justify-self: start !important;
    align-self: flex-start !important;
    width: auto !important;
  }
  .hub-request-media { width: 72px !important; height: 72px !important; }
  .hub-request-top { flex-direction: row !important; justify-content: space-between; align-items: flex-start !important; gap: 8px; }
}

/* Sign-in page: controls in the body face, the badge sized to its text */
.auth-tab, .auth-back-link, .text-link.auth-helper-note, #forgotPasswordLink { font-family: var(--font-body) !important; }
.auth-brand-panel .badge, .auth-brand-panel .auth-kicker { justify-self: start; align-self: flex-start; width: auto !important; }
.auth-brand-mark { margin-bottom: 8px; text-decoration: none; }
.auth-brand-inner { display: grid; gap: 14px; align-content: center; }

/* Skeleton loading: placeholder shapes in the layout of the content that's on its way (YardUi.showSkeleton) */
.skeleton {
  display: block;
  background-color: var(--surface-alt, #f1e8d6);
  background-image: linear-gradient(100deg, transparent 20%, rgba(255, 252, 245, 0.75) 50%, transparent 80%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  animation: yard-skeleton-sweep 1.5s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes yard-skeleton-sweep {
  from { background-position: 130% 0; }
  to { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton, .page-loading .skeleton-text { animation: none; background-image: none; }
}
.skeleton-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skeleton-card { pointer-events: none; box-shadow: none !important; transform: none !important; }
.skeleton-card .product-card-media.skeleton, .skeleton-card .shop-directory-media.skeleton { border-radius: 0; }
.skeleton-card .shop-directory-media.skeleton { min-height: 150px; }
.skeleton-line { height: 0.8em; margin: 3px 0; }
.skeleton-line.skeleton-lg { height: 1.1em; }
.skeleton-line.skeleton-xl { height: 1.6em; }
.skeleton-w30 { width: 30%; } .skeleton-w40 { width: 40%; } .skeleton-w50 { width: 50%; }
.skeleton-w60 { width: 60%; } .skeleton-w70 { width: 70%; } .skeleton-w80 { width: 80%; } .skeleton-w90 { width: 90%; }
.skeleton-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; margin-bottom: 10px;
  background: var(--surface, #fffcf5);
  border: 1px solid var(--border, #e4d9c4);
  border-radius: var(--radius-md, 14px);
}
.skeleton-thumb { flex: none; width: 52px; height: 52px; border-radius: var(--radius-sm, 10px); }
.skeleton-row-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.skeleton-pill { flex: none; width: 72px; height: 26px; border-radius: 999px; }
.skeleton-stat {
  display: grid; gap: 6px; padding: 14px 16px;
  background: var(--surface, #fffcf5);
  border: 1px solid var(--border, #e4d9c4);
  border-radius: var(--radius-md, 14px);
}
[data-skeleton="stats:4"]:has(> .skeleton-stat), #adminStats:has(> .skeleton-stat), #hubPendingStats:has(> .skeleton-stat) {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px;
}
@media (max-width: 560px) { .skeleton-pill { display: none; } }

/* Detail pages (product, shop) before their data arrives: the real text boxes shimmer in place */
.page-loading .skeleton-text {
  color: transparent !important;
  background-color: var(--surface-alt, #f1e8d6) !important;
  background-image: linear-gradient(100deg, transparent 20%, rgba(255, 252, 245, 0.75) 50%, transparent 80%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  animation: yard-skeleton-sweep 1.5s ease-in-out infinite;
  border-radius: 6px;
  border-color: transparent !important;
  user-select: none;
}
.page-loading .skeleton-text * { visibility: hidden; }
.page-loading .skeleton-text:empty { display: block; min-height: 1em; }
.page-loading h1.skeleton-text { width: min(70%, 420px); min-height: 1.2em; }
.page-loading p.skeleton-text { width: min(90%, 520px); }
.page-loading #productPrice.skeleton-text { width: 120px; min-height: 1.3em; }
.page-loading #productCategory.skeleton-text { display: inline-block; width: 90px; min-height: 1.4em; }
.page-loading .skeleton-media { position: relative; background: var(--surface-alt, #f1e8d6); }
.page-loading .skeleton-media img, .page-loading .skeleton-media .product-photo-tag,
.page-loading .skeleton-media .thumb-tag { visibility: hidden; }
.page-loading .skeleton-media::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(100deg, transparent 20%, rgba(255, 252, 245, 0.75) 50%, transparent 80%);
  background-size: 220% 100%; background-repeat: no-repeat;
  animation: yard-skeleton-sweep 1.5s ease-in-out infinite;
}
.page-loading .product-main-image.skeleton-media { min-height: 320px; }
.page-loading .shop-banner.skeleton-media .shop-banner-overlay { opacity: 0.35; }
@media (prefers-reduced-motion: reduce) { .page-loading .skeleton-media::after { animation: none; background-image: none; } }
.skeleton-inline { display: inline-block; width: 6em; height: 1em; vertical-align: middle; }
.page-loading .read-more-btn { visibility: hidden; }
.page-loading .product-main-image.skeleton-media, .page-loading .thumb.skeleton-media { background: var(--surface-alt, #f1e8d6) !important; }
.page-loading .shop-banner .skeleton-text { background-color: rgba(255, 252, 245, 0.16) !important; background-image: linear-gradient(100deg, transparent 20%, rgba(255, 252, 245, 0.14) 50%, transparent 80%); }
.page-loading .seller-stats strong.skeleton-text { display: inline-block; min-width: 2.5em; }
