/*
 * Petshop storefront — local, RTL-first design system.
 * The store accent is supplied by the Blade layout as --accent.  This file
 * deliberately has no remote font, image, or framework dependency.
 */

:root {
  --accent: #178a72;
  --accent-deep: #0c6958;
  --accent-rgb: 23, 138, 114;
  /* رنگ‌های سازه‌ای که نباید با حالت dark روشن شوند. */
  --chrome-dark: #102a2b;
  --ink: #12232a;
  --ink-soft: #31515a;
  --bg: #f7f6f0;
  --surface: #ffffff;
  --surface-2: #f1f5f1;
  --line: #dce6df;
  --text: #23343a;
  --muted: #6d7b7e;
  --warning: #d65150;
  --gold: #e29a35;
  --success: #178a72;
  --cream: #fff2d4;
  --peach: #ffddd0;
  --lavender: #e9e4ff;
  --r-xs: 12px;
  --r-sm: 18px;
  --r-md: 26px;
  --r-lg: 36px;
  --r-xl: 48px;
  --shadow-xs: 0 4px 14px rgba(18, 35, 42, .06);
  --shadow-sm: 0 14px 32px rgba(18, 35, 42, .08);
  --shadow: 0 24px 56px rgba(18, 35, 42, .12);
  --ring: 0 0 0 4px rgba(var(--accent-rgb), .14);
  /* compatibility aliases for small inline pieces in the Blade views */
  --border: var(--line);
  --radius-sm: var(--r-sm);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body.ps-app {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 96% 3%, rgba(var(--accent-rgb), .08), transparent 22rem),
    radial-gradient(circle at 0 34%, rgba(253, 193, 157, .16), transparent 22rem),
    var(--bg);
  font-family: Tahoma, Arial, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ps-app::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .42;
  background-image: radial-gradient(rgba(18, 35, 42, .13) .7px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 52%);
}
::selection { color: #fff; background: var(--accent); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { flex: 0 0 auto; }

/* همهٔ iconهای sprite باید viewport صریح و اندازهٔ قابل‌پیش‌بینی داشته باشند.
   بدون این قاعده، SVGهای `<use>` که width/height ندارند با اندازهٔ ذاتی
   300×150 رندر می‌شوند و کل grid/header را به‌هم می‌ریزند. */
.ps-app svg.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  overflow: visible;
  vertical-align: -.125em;
}
.ps-app .ps-btn .icon { width: 1.15em; height: 1.15em; }
.ps-app .ps-chip .icon { width: 14px; height: 14px; }
.ps-app .ps-feature .fi .icon { width: 21px; height: 21px; }

.ps-container { width: min(100% - 40px, 1240px); margin-inline: auto; }
.ps-page { min-height: 60vh; padding: 34px 0 84px; }

/* --------------------------------------------------------------------------
   Core actions and reusable surfaces
   -------------------------------------------------------------------------- */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.ps-btn:hover { transform: translateY(-2px); }
.ps-btn:active { transform: translateY(0); }
.ps-btn:focus-visible, .ps-icon-btn:focus-visible, .ps-cat-pill:focus-visible, .ps-input:focus-visible, .ps-wish:focus-visible { outline: 0; box-shadow: var(--ring); }
.ps-btn-accent { color: #fff; background: var(--accent); box-shadow: 0 12px 22px rgba(var(--accent-rgb), .23); }
.ps-btn-accent:hover { background: var(--accent-deep); box-shadow: 0 17px 28px rgba(var(--accent-rgb), .3); }
.ps-btn-dark { color: #fff; background: var(--chrome-dark); box-shadow: 0 12px 22px rgba(18, 35, 42, .18); }
.ps-btn-light, .ps-btn-outline { color: var(--ink); background: var(--surface); border-color: var(--line); }
.ps-btn-outline:hover { color: var(--accent-deep); border-color: var(--accent); background: rgba(var(--accent-rgb), .055); }
.ps-btn-light:hover { box-shadow: var(--shadow-sm); }
.ps-btn-ghost { color: var(--muted); background: transparent; }
.ps-btn-ghost:hover { color: var(--accent-deep); background: rgba(var(--accent-rgb), .08); }
.ps-btn-sm { min-height: 38px; padding: 8px 15px; font-size: 12.5px; }
.ps-btn-lg { min-height: 54px; padding: 14px 26px; font-size: 15px; }
.ps-btn-block { display: flex; width: 100%; }
.ps-btn:disabled, .ps-add:disabled { cursor: not-allowed; opacity: .54; transform: none; box-shadow: none; }

.ps-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(220, 230, 223, .9);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.ps-panel::after {
  position: absolute;
  top: 0;
  right: 24px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: var(--accent);
  content: "";
}
.ps-title { margin: 0 0 22px; color: var(--ink); font-size: clamp(24px, 3vw, 31px); font-weight: 900; letter-spacing: -.8px; line-height: 1.42; }
.ps-muted { color: var(--muted); }
.ps-accent { color: var(--accent-deep); }
.ps-divider { height: 1px; margin: 20px 0; background: var(--line); }
.ps-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 5px 12px;
  border: 1px solid rgba(var(--accent-rgb), .12);
  border-radius: 999px;
  color: var(--accent-deep);
  background: rgba(var(--accent-rgb), .09);
  font-size: 12px;
  font-weight: 800;
}
.ps-empty { padding: 70px 22px; text-align: center; color: var(--muted); }
.ps-empty .emoji { margin-bottom: 6px; font-size: 60px; filter: drop-shadow(0 10px 12px rgba(18,35,42,.12)); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.ps-topbar { position: relative; color: #eaf5f1; background: var(--chrome-dark); overflow: hidden; }
.ps-topbar::before, .ps-topbar::after { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; content: ""; }
.ps-topbar::before { width: 74px; height: 74px; top: -44px; right: 8%; }
.ps-topbar::after { width: 122px; height: 122px; bottom: -102px; left: 5%; }
.ps-topbar .ps-container { position: relative; display: flex; align-items: center; justify-content: center; min-height: 39px; text-align: center; font-size: 12.5px; }
.ps-topbar b { color: #fff5cf; }
.ps-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(220, 230, 223, .84); background: rgba(250, 250, 246, .9); backdrop-filter: saturate(150%) blur(16px); }
.ps-nav { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.ps-logo { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 900; line-height: 1.3; letter-spacing: -.6px; }
.ps-logo > img { max-width: 165px; max-height: 48px; width: auto; border-radius: 12px; object-fit: contain; }
.ps-logo .paw { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 16px 16px 16px 5px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 10px 20px rgba(var(--accent-rgb), .25); transform: rotate(-5deg); }
.ps-logo .paw svg { width: 25px; height: 25px; transform: rotate(5deg); }
.ps-search { display: flex; align-items: center; flex: 1 1 330px; max-width: 500px; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 16px; color: var(--muted); background: var(--surface-2); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.ps-search:focus-within { border-color: rgba(var(--accent-rgb), .54); background: var(--surface); box-shadow: var(--ring); }
.ps-search input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13.5px; }
.ps-search input::placeholder { color: #93a19e; }
.ps-nav-spacer { flex: 1 1 auto; }
.ps-actions { display: flex; align-items: center; gap: 9px; }
.ps-icon-btn { position: relative; display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid transparent; border-radius: 15px; color: var(--ink); background: var(--surface-2); cursor: pointer; transition: .2s ease; }
.ps-icon-btn:hover { border-color: rgba(var(--accent-rgb), .25); color: var(--accent-deep); background: var(--surface); box-shadow: var(--shadow-xs); transform: translateY(-2px); }
.ps-icon-btn svg { width: 21px; height: 21px; }
.ps-badge { position: absolute; top: -7px; right: -7px; display: grid; min-width: 21px; height: 21px; padding: 0 5px; place-items: center; border: 2px solid var(--surface); border-radius: 999px; color: #fff; background: var(--accent); font-size: 10px; font-weight: 900; line-height: 1; }
.ps-theme { background: transparent; }
.ps-theme [data-dark] { display: none; }
html[data-theme="dark"] .ps-theme [data-dark] { display: inline; }
html[data-theme="dark"] .ps-theme [data-light] { display: none; }
.ps-catbar { border-top: 1px solid rgba(220, 230, 223, .72); }
.ps-catbar-inner { display: flex; align-items: center; gap: 8px; min-height: 49px; overflow-x: auto; scrollbar-width: none; }
.ps-catbar-inner::-webkit-scrollbar { display: none; }
.ps-cat-pill { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 31px; padding: 5px 13px; border: 1px solid transparent; border-radius: 999px; color: var(--ink-soft); font-size: 12.5px; font-weight: 800; transition: .18s ease; }
.ps-cat-pill:hover { color: var(--accent-deep); background: rgba(var(--accent-rgb), .08); }
.ps-cat-pill.is-active { color: #fff; background: var(--accent); box-shadow: 0 7px 13px rgba(var(--accent-rgb), .18); }

/* --------------------------------------------------------------------------
   Homepage composition
   -------------------------------------------------------------------------- */
.ps-hero { position: relative; isolation: isolate; overflow: hidden; margin: 30px 0 22px; border-radius: var(--r-xl); color: #fff; background: #102a2b; box-shadow: var(--shadow); }
.ps-hero::before { position: absolute; z-index: -1; width: 620px; height: 620px; border: 62px solid rgba(255,255,255,.055); border-radius: 50%; top: -320px; left: -190px; content: ""; }
.ps-hero::after { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 48% 52% 58% 42%; right: -150px; bottom: -210px; background: var(--accent); opacity: .44; transform: rotate(28deg); }
.ps-hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(290px, .92fr); align-items: center; gap: 25px; min-height: 400px; padding: 56px 62px; }
.ps-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #e9ffef; background: rgba(255,255,255,.09); font-size: 12px; font-weight: 800; }
.ps-hero h1 { max-width: 580px; margin: 16px 0 13px; color: #fff; font-size: clamp(34px, 4.1vw, 56px); font-weight: 900; line-height: 1.23; letter-spacing: -1.8px; }
.ps-hero h1 .hl { position: relative; z-index: 0; color: #fff0bf; white-space: nowrap; }
.ps-hero h1 .hl::after { position: absolute; z-index: -1; right: -5px; bottom: 1px; left: -5px; height: 12px; border-radius: 99px; background: rgba(223, 155, 52, .53); content: ""; transform: rotate(-1.5deg); }
.ps-hero p { max-width: 500px; margin: 0 0 24px; color: rgba(255,255,255,.78); font-size: 15.5px; }
.ps-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-hero-cta .ps-btn-light { border-color: rgba(255,255,255,.7); }
.ps-hero-stats { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 30px; }
.ps-hero-stats > div { min-width: 84px; padding-inline-start: 13px; border-inline-start: 1px solid rgba(255,255,255,.23); }
.ps-hero-stats .n { color: #fff; font-size: 21px; font-weight: 900; line-height: 1.2; }
.ps-hero-stats .l { margin-top: 4px; color: rgba(255,255,255,.6); font-size: 11.5px; }
.ps-hero-art { position: relative; display: grid; min-height: 285px; place-items: center; }
.ps-hero-blob { display: grid; width: min(25vw, 268px); min-width: 220px; aspect-ratio: 1; place-items: center; border: 10px solid rgba(255,255,255,.18); border-radius: 42% 58% 53% 47% / 53% 44% 56% 47%; color: #102a2b; background: linear-gradient(145deg, #fff2cb, #ffcb9d); box-shadow: inset 0 -18px 0 rgba(255,255,255,.25), 0 24px 45px rgba(0,0,0,.2); font-size: clamp(104px, 13vw, 150px); line-height: 1; transform: rotate(-6deg); animation: ps-float 5s ease-in-out infinite; }
.ps-hero-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.57); border-radius: 15px; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 11.5px; font-weight: 900; line-height: 1.25; }
.ps-hero-float .dot { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 10px; background: var(--cream); }
.ps-hero-float.f1 { top: 17px; right: 0; }
.ps-hero-float.f2 { bottom: 14px; left: 2px; }
@keyframes ps-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(-3deg); } }

.ps-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 58px; }
.ps-feature { display: flex; align-items: center; min-height: 88px; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); box-shadow: 0 8px 19px rgba(18,35,42,.03); transition: transform .2s ease, box-shadow .2s ease; }
.ps-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-xs); }
.ps-feature .fi { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: var(--accent-deep); background: rgba(var(--accent-rgb), .11); font-size: 19px; }
.ps-feature:nth-child(2) .fi { color: #9b620d; background: #fff1d5; }
.ps-feature:nth-child(3) .fi { color: #7958ad; background: #eee8ff; }
.ps-feature:nth-child(4) .fi { color: #b35b47; background: #ffe5db; }
.ps-feature .ft { color: var(--ink); font-size: 13px; font-weight: 900; line-height: 1.45; }
.ps-feature .fs { color: var(--muted); font-size: 11px; line-height: 1.5; }

.ps-section { margin: 0 0 68px; }
.ps-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.ps-section-head .ey { margin-bottom: 3px; color: var(--accent-deep); font-size: 11.5px; font-weight: 900; letter-spacing: .04em; }
.ps-section-head h2 { margin: 0; color: var(--ink); font-size: clamp(23px, 2.8vw, 31px); font-weight: 900; line-height: 1.4; letter-spacing: -1px; }
.ps-section-head > a { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 8px 13px; border-bottom: 1px solid var(--accent); color: var(--accent-deep); font-size: 12.5px; font-weight: 900; }
.ps-section-head > a:hover { color: var(--ink); }
.ps-section-head > a svg { width: 17px; height: 17px; }

.ps-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 14px; }
.ps-cat { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 178px; justify-content: center; gap: 11px; overflow: hidden; padding: 16px 10px; border: 1px solid var(--line); border-radius: 23px; color: var(--ink); background: var(--surface); box-shadow: 0 10px 19px rgba(18,35,42,.035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.ps-cat::before { position: absolute; z-index: 0; width: 90px; height: 90px; border-radius: 50%; background: rgba(var(--accent-rgb), .075); content: ""; transition: transform .25s ease, background .25s ease; }
.ps-cat:nth-child(3n+2)::before { background: rgba(226,154,53,.11); }
.ps-cat:nth-child(3n)::before { background: rgba(123,89,177,.1); }
.ps-cat:hover { border-color: rgba(var(--accent-rgb), .28); box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.ps-cat:hover::before { background: rgba(var(--accent-rgb), .15); transform: scale(1.32); }
.ps-cat img { position: relative; z-index: 1; width: 78px; height: 78px; border: 4px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 9px 17px rgba(18,35,42,.13); }
.ps-cat span { position: relative; z-index: 1; max-width: 100%; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 900; }

.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); gap: 18px; }
.ps-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); box-shadow: 0 10px 22px rgba(18,35,42,.035); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.ps-card:hover { z-index: 1; border-color: rgba(var(--accent-rgb), .22); box-shadow: var(--shadow-sm); transform: translateY(-6px); }
.ps-card-img { position: relative; display: grid; overflow: hidden; aspect-ratio: 1 / .88; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #edf3ee, #f9f5e9); }
.ps-card-img::after { position: absolute; right: 10px; bottom: 10px; width: 35px; height: 35px; border-radius: 50% 50% 50% 9px; background: rgba(255,255,255,.58); content: ""; }
.ps-card-img a { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.ps-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.75,.2,1); }
.ps-card:hover .ps-card-img img { transform: scale(1.065); }
.ps-off { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; color: #fff; background: var(--warning); box-shadow: 0 6px 13px rgba(214,81,80,.22); font-size: 10.5px; font-weight: 900; line-height: 1.45; }
.ps-wish { position: absolute; z-index: 3; top: 9px; left: 9px; display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 13px; color: var(--ink-soft); background: rgba(255,255,255,.9); box-shadow: 0 5px 13px rgba(18,35,42,.1); cursor: pointer; transition: transform .16s ease, color .16s ease; }
.ps-wish:hover { color: var(--warning); transform: scale(1.08); }
.ps-wish svg { width: 18px; height: 18px; }
.ps-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 22px; margin: 9px 3px 0; color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.ps-card-meta > span { display: inline-flex; min-width: 0; align-items: center; gap: 3px; overflow: hidden; text-overflow: ellipsis; }
.ps-card-meta svg { width: 13px; height: 13px; color: var(--accent); }
.ps-card-meta .is-in-stock { flex: 0 0 auto; color: var(--accent-deep); }
.ps-card-meta .is-out-of-stock { flex: 0 0 auto; color: var(--warning); }
.ps-rating { display: flex; align-items: center; gap: 3px; min-height: 22px; margin: 9px 3px 0; color: var(--gold); font-size: 11px; font-weight: 800; direction: ltr; }
.ps-rating .c { margin-right: 4px; color: var(--muted); font-weight: 500; }
.ps-card h3 { display: -webkit-box; min-height: 46px; margin: 3px 3px 10px; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 900; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ps-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: auto; padding: 4px 3px 2px; }
.ps-price { color: var(--ink); font-size: 16px; font-weight: 900; letter-spacing: -.3px; white-space: nowrap; }
.ps-price small { color: var(--muted); font-size: 10.5px; font-weight: 700; }
.ps-price-old { display: block; min-height: 16px; color: #9aa5a2; font-size: 10.5px; font-weight: 500; text-decoration: line-through; }
.ps-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 40px; padding: 0 12px; border: 0; border-radius: 13px; color: #fff; background: var(--chrome-dark); cursor: pointer; font-size: 11.5px; font-weight: 900; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.ps-add:hover { background: var(--accent); box-shadow: 0 9px 18px rgba(var(--accent-rgb), .26); transform: translateY(-1px); }
.ps-add svg { width: 17px; height: 17px; }
.ps-add.icon-only { width: 42px; padding: 0; }

.ps-promo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; padding: 44px 54px; border-radius: var(--r-lg); color: var(--ink); background: linear-gradient(118deg, var(--cream), #ffdfc4); box-shadow: 0 18px 34px rgba(113,74,34,.09); }
.ps-promo::before { position: absolute; width: 315px; height: 315px; border: 1px solid rgba(126,77,26,.14); border-radius: 50%; top: -210px; right: -50px; content: ""; box-shadow: 0 0 0 34px rgba(255,255,255,.13), 0 0 0 68px rgba(255,255,255,.1); }
.ps-promo h2 { position: relative; margin: 0 0 6px; color: var(--ink); font-size: clamp(23px, 3vw, 33px); font-weight: 900; letter-spacing: -1px; }
.ps-promo p { position: relative; margin: 0; color: var(--ink-soft); font-size: 14px; }
.ps-promo .emoji { position: relative; flex: 0 0 auto; font-size: 88px; filter: drop-shadow(0 13px 9px rgba(101,64,26,.16)); transform: rotate(-5deg); }

/* --------------------------------------------------------------------------
   Forms, catalog, checkout and account pages
   -------------------------------------------------------------------------- */
.ps-row { display: grid; gap: 22px; }
.ps-row-2-1 { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .85fr); align-items: start; }
.ps-row-1-3 { grid-template-columns: 265px minmax(0, 1fr); align-items: start; }
.ps-row-1-3 > aside .ps-panel { position: sticky; top: 150px; }
.ps-catalog-intro { display: flex; align-items: center; gap: 17px; margin: 2px 0 25px; padding: 23px 27px; border: 1px solid rgba(var(--accent-rgb), .15); border-radius: var(--r-md); background: linear-gradient(115deg, rgba(var(--accent-rgb), .1), rgba(255,255,255,.72)); }
.ps-catalog-intro .ps-chip { flex: 0 0 auto; width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 19px; }
.ps-catalog-intro .ps-chip svg { width: 25px; height: 25px; }
.ps-catalog-intro h1 { margin: 0; color: var(--ink); font-size: 22px; font-weight: 900; line-height: 1.5; letter-spacing: -.5px; }
.ps-catalog-intro p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.ps-filter-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ps-filter-title h3 { display: inline-flex; align-items: center; gap: 8px; }
.ps-filter-title h3 svg { width: 18px; height: 18px; color: var(--accent); }
.ps-filter-title a { color: var(--warning); font-size: 11px; font-weight: 800; }
.ps-catalog-count { margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.ps-field { margin-bottom: 17px; }
.ps-label { display: block; margin: 0 2px 7px; color: var(--ink); font-size: 12.5px; font-weight: 900; }
.ps-input { width: 100%; min-height: 45px; padding: 10px 13px; outline: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface); font-size: 13.5px; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.ps-input:hover { border-color: #c5d6cc; }
.ps-input:focus { border-color: var(--accent); box-shadow: var(--ring); }
textarea.ps-input { min-height: 98px; resize: vertical; }
.ps-error { margin-top: 5px; color: var(--warning); font-size: 12px; font-weight: 700; }
.ps-flex { display: flex; align-items: center; gap: 10px; }
.ps-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-line { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px dashed var(--line); }
.ps-line:last-child { border-bottom: 0; }
.ps-line > img { width: 88px; height: 88px; flex: 0 0 auto; border-radius: 16px; object-fit: cover; background: var(--surface-2); }
.ps-line-title { display: inline-block; color: var(--ink); font-size: 13.5px; font-weight: 900; line-height: 1.7; }
.ps-line-title:hover { color: var(--accent-deep); }
.ps-qty { display: inline-flex; align-items: center; min-height: 34px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ps-qty button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 18px; line-height: 1; transition: .15s ease; }
.ps-qty button:hover { color: #fff; background: var(--accent); }
.ps-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.ps-page-heading .ps-chip { margin-bottom: 7px; }
.ps-page-heading .ps-chip svg { width: 14px; height: 14px; }
.ps-page-heading .ps-title { margin-bottom: 4px; }
.ps-page-heading p { margin: 0; font-size: 12.5px; }
.ps-empty h2 { margin: 0 0 4px; color: var(--ink); font-size: 18px; }
.ps-summary-panel h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 17px; color: var(--ink); font-size: 15px; font-weight: 900; }
.ps-summary-panel h3 svg { width: 19px; height: 19px; color: var(--accent); }
.ps-coupon-form { display: flex; gap: 7px; margin: 14px 0; }
.ps-coupon-form .ps-btn { flex: 0 0 auto; }
.ps-summary-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 11px 0 0; color: var(--muted); font-size: 10.5px; }
.ps-summary-note svg { width: 14px; height: 14px; color: var(--accent); }
.ps-checkout-heading { margin-bottom: 28px; }
.ps-checkout-steps { display: flex; align-items: center; gap: 6px; direction: ltr; }
.ps-checkout-steps span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface); font-size: 11px; font-weight: 900; }
.ps-checkout-steps span.is-done, .ps-checkout-steps span.is-active { border-color: var(--accent); color: #fff; background: var(--accent); }
.ps-checkout-steps i { width: 18px; height: 1px; background: var(--line); }
.ps-checkout-card h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--ink); font-size: 16px; font-weight: 900; }
.ps-checkout-card-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 12px; color: var(--accent-deep); background: rgba(var(--accent-rgb), .11); }
.ps-checkout-card-icon svg { width: 18px; height: 18px; }
.ps-success-card { padding: 38px 30px; }
.ps-success-card::after { right: 50%; transform: translateX(50%); }
.ps-success-mark { display: grid; width: 72px; height: 72px; margin: 0 auto 16px; place-items: center; border: 8px solid rgba(var(--accent-rgb), .12); border-radius: 50%; color: #fff; background: var(--accent); box-shadow: 0 12px 24px rgba(var(--accent-rgb), .22); }
.ps-success-mark svg { width: 30px; height: 30px; }
.ps-success-summary { margin: 21px 0; padding: 18px; border: 1px dashed rgba(var(--accent-rgb), .29); border-radius: 18px; color: var(--text); background: rgba(var(--accent-rgb), .04); text-align: right; }
.ps-success-summary .ps-between + .ps-between { margin-top: 8px; }
.ps-success-actions { flex-wrap: wrap; }
.ps-auth-wrap { padding-top: 16px; }
.ps-auth-card { padding: 33px 29px 29px; text-align: center; }
.ps-auth-card::after { right: 50%; transform: translateX(50%); }
.ps-auth-card .ps-chip { margin-bottom: 1px; }
.ps-auth-card form { text-align: right; }
.ps-auth-mark { display: grid; width: 60px; height: 60px; margin: 0 auto 12px; place-items: center; border-radius: 21px 21px 21px 7px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 12px 23px rgba(var(--accent-rgb), .22); transform: rotate(-5deg); }
.ps-auth-mark svg { width: 29px; height: 29px; transform: rotate(5deg); }
.ps-auth-card > .ps-muted { font-size: 12.5px; }
.ps-dev-code { margin-bottom: 14px; padding: 10px; border: 1px dashed var(--accent); border-radius: var(--r-sm); color: var(--text); background: rgba(var(--accent-rgb), .055); text-align: center; font-size: 12px; }
.ps-auth-resend { text-align: right; }

/* Product filtering: container and native form controls. */
.ps-row-1-3 aside .ps-panel h3 { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.ps-row-1-3 input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }
.ps-row-1-3 .ps-chip { justify-content: space-between; width: 100%; min-height: 35px; transition: transform .14s ease, background .14s ease; }
.ps-row-1-3 .ps-chip:hover { transform: translateX(-3px); }

/* Product detail gallery and specification table. */
.ps-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; color: var(--muted); font-size: 11.5px; }
.ps-breadcrumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-soft); font-weight: 800; }
.ps-breadcrumb a:hover { color: var(--accent-deep); }
.ps-breadcrumb > svg { width: 13px; height: 13px; color: #a9b7b2; transform: rotate(180deg); }
.ps-breadcrumb a svg { width: 14px; height: 14px; }
.ps-product-detail { padding: 30px; }
.ps-product-main { display: grid; grid-template-columns: minmax(250px, .92fr) minmax(0, 1.08fr); gap: clamp(26px, 5vw, 58px); align-items: start; }
.ps-product-gallery .ps-card-img { min-height: 280px; }
.ps-product-thumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.ps-product-thumbs img { width: 62px; height: 62px; padding: 2px; border: 1px solid var(--line); border-radius: 14px; object-fit: cover; background: var(--surface); }
.ps-product-info .ps-title { max-width: 650px; }
.ps-product-code { margin-bottom: 19px; color: var(--muted); font-size: 11.5px; }
.ps-product-code span { color: var(--ink-soft); font-weight: 800; }
.ps-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-variant { display: inline-flex; align-items: center; gap: 7px; min-height: 39px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink-soft); background: var(--surface); cursor: pointer; font-size: 12px; font-weight: 800; transition: .16s ease; }
.ps-variant:hover { border-color: var(--accent); color: var(--accent-deep); background: rgba(var(--accent-rgb), .05); }
.ps-variant:has(input:checked) { border-color: var(--accent); color: var(--accent-deep); background: rgba(var(--accent-rgb), .1); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .1); }
.ps-variant-color span { flex: 0 0 auto; }
.ps-product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding: 15px 17px; border-radius: 16px; background: var(--surface-2); }
.ps-product-availability { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: var(--accent-deep); font-size: 11.5px; font-weight: 800; }
.ps-product-availability svg { width: 16px; height: 16px; }
.ps-product-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 5vw, 58px); }
.ps-product-content h3 { margin: 0 0 9px; color: var(--ink); font-size: 16px; }
.ps-product-content p { margin: 0; font-size: 13px; }
.ps-page .ps-panel .ps-card-img[style*="aspect-ratio"] { border-radius: 20px !important; }
.ps-page .ps-panel table tr + tr { border-top: 1px solid var(--line); }
.ps-page .ps-panel table td { vertical-align: top; }
.ps-page .ps-panel input[type="radio"] + span { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }

/* Account side navigation; inline state styles from the view remain supported. */
.ps-row-1-3 > .ps-panel, .ps-row-1-3 > div > .ps-panel { margin-bottom: 18px; }
.ps-row-1-3 > .ps-panel form button.ps-flex { transition: .16s ease; }
.ps-row-1-3 > .ps-panel form button.ps-flex:hover { padding-inline-start: 17px !important; background: rgba(214,81,80,.08) !important; }
.ps-profile-nav { padding: 18px !important; }
.ps-profile-user { display: flex; align-items: center; gap: 11px; padding: 4px 3px 16px; border-bottom: 1px solid var(--line); }
.ps-profile-avatar { display: grid; width: 45px; height: 45px; flex: 0 0 auto; place-items: center; border-radius: 16px 16px 16px 5px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 8px 17px rgba(var(--accent-rgb), .21); font-size: 17px; font-weight: 900; }
.ps-profile-name { max-width: 164px; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.ps-profile-links { display: grid; gap: 3px; padding: 12px 0; }
.ps-profile-link { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 8px 10px; border-radius: 12px; color: var(--ink-soft); font-size: 12.5px; font-weight: 800; transition: .16s ease; }
.ps-profile-link svg { width: 15px; height: 15px; opacity: .55; transform: rotate(180deg); }
.ps-profile-link:hover { padding-inline-start: 14px; color: var(--accent-deep); background: rgba(var(--accent-rgb), .06); }
.ps-profile-link.is-active { color: var(--accent-deep); background: rgba(var(--accent-rgb), .11); }
.ps-profile-link.is-active svg { opacity: 1; }
.ps-profile-logout { width: 100%; min-height: 39px; padding: 8px 10px; border: 0; border-top: 1px solid var(--line); color: var(--warning); background: transparent; cursor: pointer; font-size: 12.5px; font-weight: 800; text-align: right; }
.ps-profile-logout:hover { color: #b93635; }
.ps-profile-heading { margin: 3px 0 18px; }
.ps-profile-heading .ps-chip { margin-bottom: 7px; }
.ps-profile-heading h1 { margin: 0; color: var(--ink); font-size: 23px; font-weight: 900; letter-spacing: -.5px; }
.ps-profile-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.ps-account-stat { color: #fff; border-color: transparent; background: linear-gradient(125deg, var(--accent-deep), #173f42); box-shadow: 0 18px 30px rgba(var(--accent-rgb), .17); }
.ps-account-stat::after { background: #fff2c9; }
.ps-account-stat .ps-title, .ps-account-stat .ps-muted { color: #fff !important; }
.ps-account-stat .ps-muted { opacity: .7; }
.ps-account-stat-icon { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 23px 23px 23px 7px; color: #fff1c8; background: rgba(255,255,255,.1); transform: rotate(-5deg); }
.ps-account-stat-icon svg { width: 32px; height: 32px; transform: rotate(5deg); }
.ps-account-card h3 { color: var(--ink); }
.ps-order-preview { padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 12px; transition: .16s ease; }
.ps-order-preview:hover { padding-inline: 7px; color: var(--accent-deep); background: rgba(var(--accent-rgb), .04); }
.ps-profile-list-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.ps-profile-list-head .ps-chip { margin-bottom: 5px; }
.ps-profile-list-head h1 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 900; }
.ps-profile-list-head > svg { width: 28px; height: 28px; color: var(--accent); }
.ps-order-card { flex-wrap: wrap; gap: 8px; margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: .18s ease; }
.ps-order-card:hover { border-color: rgba(var(--accent-rgb), .35); background: rgba(var(--accent-rgb), .035); box-shadow: var(--shadow-xs); transform: translateY(-2px); }
.ps-order-detail-head { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ps-order-status-card .ps-chip { background: rgba(var(--accent-rgb), .1); }
.ps-order-items-card > h3 { color: var(--ink); }
.ps-order-item-row { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.ps-order-item-row:last-of-type { border-bottom: 0; }
.ps-content-page { padding-top: 8px; }
.ps-story-card, .ps-contact-card, .ps-faq-card { padding: 34px; }
.ps-story-card > .ps-chip, .ps-contact-card > .ps-chip, .ps-faq-card > .ps-chip { margin-bottom: 13px; }
.ps-story-card > .ps-chip svg, .ps-contact-card > .ps-chip svg, .ps-faq-card > .ps-chip svg { width: 14px; height: 14px; }
.ps-story-card .ps-muted { font-size: 13.5px; }
.ps-contact-list { display: grid; gap: 10px; }
.ps-contact-list > a, .ps-contact-list > div { display: flex; align-items: center; gap: 12px; min-height: 67px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--surface-2); transition: .18s ease; }
.ps-contact-list > a:hover { border-color: rgba(var(--accent-rgb), .35); background: rgba(var(--accent-rgb), .06); transform: translateX(-3px); }
.ps-contact-list > a > span, .ps-contact-list > div > span { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--surface); font-size: 17px; }
.ps-contact-list small, .ps-contact-list strong { display: block; }
.ps-contact-list small { color: var(--muted); font-size: 10.5px; }
.ps-contact-list strong { color: var(--ink); font-size: 13px; }
.ps-faq-item { border-bottom: 1px solid var(--line); }
.ps-faq-item:first-of-type { border-top: 1px solid var(--line); }
.ps-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 3px; color: var(--ink); cursor: pointer; font-size: 13.5px; font-weight: 900; list-style: none; }
.ps-faq-item summary::-webkit-details-marker { display: none; }
.ps-faq-item summary svg { width: 17px; height: 17px; color: var(--accent); transition: transform .18s ease; }
.ps-faq-item[open] summary svg { transform: rotate(90deg); }
.ps-faq-item p { margin: -2px 3px 15px; font-size: 12.5px; line-height: 2; }

/* --------------------------------------------------------------------------
   Footer and the shared blog fragments used by this theme
   -------------------------------------------------------------------------- */
.ps-footer { position: relative; overflow: hidden; margin-top: 24px; padding: 60px 0 24px; border-radius: var(--r-xl) var(--r-xl) 0 0; color: #c6d2ce; background: #102a2b; }
.ps-footer::before { position: absolute; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; top: -186px; right: 5%; content: ""; box-shadow: 0 0 0 34px rgba(255,255,255,.03), 0 0 0 69px rgba(255,255,255,.025); }
.ps-footer::after { position: absolute; width: 160px; height: 160px; border-radius: 40% 60% 52% 48%; bottom: -100px; left: 4%; background: var(--accent); opacity: .16; content: ""; transform: rotate(25deg); }
.ps-footer .ps-container { position: relative; }
.ps-footer .ps-foot-grid { display: grid; grid-template-columns: minmax(240px, 1.45fr) 1fr 1fr 1fr; gap: 32px; }
.ps-footer .ps-logo { color: #fff; }
.ps-footer .ps-logo .paw { background: linear-gradient(135deg, #f1b85c, #de8f37); box-shadow: none; }
.ps-footer p { color: #a9bbb5 !important; font-size: 13px; line-height: 2; }
.ps-footer h4 { margin: 2px 0 14px; color: #fff; font-size: 14px; font-weight: 900; }
.ps-footer a { display: block; width: fit-content; padding: 4px 0; color: #b8c9c4; font-size: 12.5px; transition: color .16s ease, transform .16s ease; }
.ps-footer a:hover { color: #fff5cf; transform: translateX(-3px); }
.ps-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ps-socials a { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; background: rgba(255,255,255,.07); font-size: 11px; font-weight: 900; }
.ps-socials a:hover { color: #102a2b; background: #fff5cf; transform: translateY(-3px); }
.ps-foot-bottom { position: relative; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #91a39d; font-size: 11.5px; text-align: center; }

/* The shared blog components load their own generic styles after this CSS.
   These scoped overrides retain Petshop's visual system without changing shared files. */
.ps-app .bh, .ps-app .bx, .ps-app .bxs { max-width: 1240px !important; color: var(--text) !important; }
.ps-app .bh { padding: 0 0 68px !important; }
.ps-app .bh-head h2, .ps-app .bx-head h1, .ps-app .bxs h1, .ps-app .bxs-rel h2 { color: var(--ink) !important; font-family: inherit !important; font-weight: 900 !important; letter-spacing: -.7px; }
.ps-app .bh-all, .ps-app .bx-more, .ps-app .bxs-back { color: var(--accent-deep) !important; }
.ps-app .bh-card, .ps-app .bx-card, .ps-app .bxs-rel-card { border-color: var(--line) !important; border-radius: 20px !important; background: var(--surface) !important; box-shadow: 0 10px 20px rgba(18,35,42,.035) !important; }
.ps-app .bh-card:hover, .ps-app .bx-card:hover { box-shadow: var(--shadow-sm) !important; transform: translateY(-5px) !important; }
.ps-app .bh-thumb, .ps-app .bx-thumb, .ps-app .bxs-hero, .ps-app .bxs-rel-card .t { background: var(--surface-2) !important; }
.ps-app .bh-body h3, .ps-app .bx-body h3, .ps-app .bxs-rel-card h3 { color: var(--ink) !important; font-family: inherit !important; }
.ps-app .bx-body p, .ps-app .bxs-body { color: var(--ink-soft) !important; font-family: inherit !important; }
.ps-app .bx-empty { border-color: var(--line) !important; background: var(--surface) !important; color: var(--muted) !important; }
.ps-app .bx-pager a, .ps-app .bx-pager span { border-color: var(--line) !important; border-radius: 13px !important; color: var(--ink) !important; background: var(--surface) !important; font-family: inherit !important; }

/* --------------------------------------------------------------------------
   Dark theme. `psToggleTheme` in the master layout applies this attribute.
   -------------------------------------------------------------------------- */
html[data-theme="dark"] {
  --ink: #eef6f2;
  --ink-soft: #bad0c7;
  --bg: #0d1718;
  --surface: #132123;
  --surface-2: #182a2c;
  --line: #294043;
  --text: #d7e4df;
  --muted: #94aaa2;
  --cream: #2e2a1d;
  --peach: #352722;
  --lavender: #25213b;
  --shadow-xs: 0 4px 14px rgba(0,0,0,.2);
  --shadow-sm: 0 14px 32px rgba(0,0,0,.3);
  --shadow: 0 24px 56px rgba(0,0,0,.42);
}
html[data-theme="dark"] .ps-header { background: rgba(13, 23, 24, .88); }
html[data-theme="dark"] .ps-search, html[data-theme="dark"] .ps-icon-btn { background: var(--surface-2); }
html[data-theme="dark"] .ps-search:focus-within { background: var(--surface); }
html[data-theme="dark"] .ps-btn-light, html[data-theme="dark"] .ps-btn-outline { color: var(--ink); background: var(--surface); }
html[data-theme="dark"] .ps-card-img { background: linear-gradient(135deg, #1b332e, #28302a); }
html[data-theme="dark"] .ps-card-img::after { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .ps-wish { border-color: rgba(255,255,255,.06); color: var(--ink); background: rgba(19,33,35,.88); }
html[data-theme="dark"] .ps-cat img { border-color: var(--surface); }
html[data-theme="dark"] .ps-hero { box-shadow: 0 24px 56px rgba(0,0,0,.42); }
html[data-theme="dark"] .ps-promo { color: var(--ink); background: linear-gradient(118deg, #39331d, #443025); }
html[data-theme="dark"] .ps-promo h2 { color: var(--ink); }
html[data-theme="dark"] .ps-promo p { color: var(--ink-soft); }
html[data-theme="dark"] .ps-page .ps-panel input[type="radio"] + span { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
html[data-theme="dark"] .ps-app .bh-thumb, html[data-theme="dark"] .ps-app .bx-thumb, html[data-theme="dark"] .ps-app .bxs-hero, html[data-theme="dark"] .ps-app .bxs-rel-card .t { background: var(--surface-2) !important; }

/* --------------------------------------------------------------------------
   Responsive and motion accommodations
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .ps-nav { gap: 12px; }
  .ps-search { max-width: none; }
  .ps-hero-inner { padding: 46px 40px; }
  .ps-features { grid-template-columns: repeat(2, 1fr); }
  .ps-grid { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); }
}
@media (max-width: 760px) {
  .ps-container { width: min(100% - 28px, 1240px); }
  .ps-page { padding: 22px 0 58px; }
  .ps-nav { flex-wrap: wrap; min-height: auto; padding: 12px 0; }
  .ps-logo { margin-left: auto; font-size: 17px; }
  .ps-logo .paw { width: 39px; height: 39px; border-radius: 14px 14px 14px 5px; }
  .ps-logo .paw svg { width: 21px; height: 21px; }
  .ps-logo > img { max-width: 135px; max-height: 40px; }
  .ps-nav-spacer { display: none; }
  .ps-actions { gap: 6px; }
  .ps-icon-btn { width: 39px; height: 39px; border-radius: 13px; }
  .ps-icon-btn svg { width: 19px; height: 19px; }
  .ps-actions .ps-btn { min-height: 39px; padding: 8px 11px; font-size: 11px; }
  .ps-search { order: 3; flex-basis: 100%; min-height: 43px; }
  .ps-catbar-inner { min-height: 45px; }
  .ps-cat-pill { padding: 5px 11px; font-size: 11.5px; }
  .ps-hero { margin-top: 17px; border-radius: 28px; }
  .ps-hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 36px 24px 31px; }
  .ps-hero h1 { font-size: clamp(30px, 9vw, 40px); letter-spacing: -1.2px; }
  .ps-hero p { font-size: 13.5px; }
  .ps-hero-art { display: none; }
  .ps-hero-stats { gap: 13px; margin-top: 23px; }
  .ps-hero-stats > div { min-width: 73px; padding-inline-start: 9px; }
  .ps-hero-stats .n { font-size: 18px; }
  .ps-features { gap: 8px; margin-bottom: 46px; }
  .ps-feature { min-height: 76px; padding: 10px; gap: 9px; border-radius: 15px; }
  .ps-feature .fi { width: 35px; height: 35px; border-radius: 11px; font-size: 16px; }
  .ps-feature .ft { font-size: 11.5px; }
  .ps-feature .fs { font-size: 9.5px; }
  .ps-section { margin-bottom: 50px; }
  .ps-section-head { align-items: center; margin-bottom: 15px; }
  .ps-section-head h2 { font-size: 22px; }
  .ps-section-head > a { padding: 6px 3px; font-size: 11.5px; }
  .ps-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ps-cat { min-height: 145px; border-radius: 18px; }
  .ps-cat img { width: 62px; height: 62px; }
  .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ps-card { padding: 8px; border-radius: 17px; }
  .ps-card-img { border-radius: 12px; }
  .ps-off { top: 7px; right: 7px; padding: 3px 6px; font-size: 9px; }
  .ps-wish { top: 6px; left: 6px; width: 30px; height: 30px; border-radius: 10px; }
  .ps-wish svg { width: 15px; height: 15px; }
  .ps-card-meta { min-height: 18px; margin-top: 6px; font-size: 8.5px; }
  .ps-card-meta svg { width: 10px; height: 10px; }
  .ps-rating { margin-top: 6px; font-size: 9px; }
  .ps-card h3 { min-height: 40px; margin: 2px 1px 6px; font-size: 11px; line-height: 1.65; }
  .ps-price { font-size: 12px; }
  .ps-price small { display: none; }
  .ps-price-old { min-height: 13px; font-size: 8.5px; }
  .ps-add { width: 35px; min-width: 35px; height: 35px; padding: 0; border-radius: 10px; }
  .ps-add span { display: none; }
  .ps-add svg { width: 16px; height: 16px; }
  .ps-promo { padding: 29px 22px; border-radius: 25px; }
  .ps-promo h2 { font-size: 21px; }
  .ps-promo p { font-size: 12px; }
  .ps-promo .emoji { display: none; }
  .ps-row-2-1, .ps-row-1-3 { grid-template-columns: 1fr; }
  .ps-catalog-intro { align-items: flex-start; margin-bottom: 18px; padding: 17px; border-radius: 19px; }
  .ps-catalog-intro .ps-chip { width: 43px; height: 43px; border-radius: 14px; }
  .ps-catalog-intro .ps-chip svg { width: 20px; height: 20px; }
  .ps-catalog-intro h1 { font-size: 17px; }
  .ps-catalog-intro p { font-size: 10.5px; }
  .ps-row-1-3 > aside .ps-panel { position: static; }
  .ps-product-detail { padding: 19px; }
  .ps-product-main, .ps-product-content { grid-template-columns: 1fr; gap: 24px; }
  .ps-product-gallery .ps-card-img { min-height: 0; }
  .ps-product-price-row { padding: 12px; }
  .ps-panel { padding: 19px; border-radius: 20px; }
  .ps-title { font-size: 23px; }
  .ps-line { gap: 10px; }
  .ps-line > img { width: 70px; height: 70px; border-radius: 13px; }
  .ps-page-heading { align-items: flex-start; margin-bottom: 18px; }
  .ps-page-heading .ps-title { font-size: 21px; }
  .ps-checkout-steps { margin-top: 7px; }
  .ps-footer { margin-top: 0; padding: 45px 0 20px; border-radius: 29px 29px 0 0; }
  .ps-footer .ps-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ps-footer .ps-foot-grid > :first-child { grid-column: 1 / -1; }
  .ps-app .bh, .ps-app .bx, .ps-app .bxs { padding-right: 14px !important; padding-left: 14px !important; }
  .ps-app .bh { padding-bottom: 50px !important; }
}
@media (max-width: 390px) {
  .ps-actions .ps-theme { display: none; }
  .ps-topbar .ps-container { font-size: 10.5px; }
  .ps-hero-cta .ps-btn { width: 100%; }
  .ps-features { grid-template-columns: 1fr; }
  .ps-feature { min-height: 58px; }
  .ps-footer .ps-foot-grid { grid-template-columns: 1fr; }
  .ps-footer .ps-foot-grid > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
