:root {
  --ink: #242d28;
  --muted: #727971;
  --line: #e2e6de;
  --green: #486348;
  --deep: #304c34;
  --soft: #eff3eb;
  --cream: #f6f5ef;
  --red: #a13e35;
  --amber: #806427;
  --blue: #365d80;
  --shadow: 0 8px 36px #29362a0d;
  font-family: Arial, "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 9px 15px;
  color: inherit;
  line-height: 1.4;
}
button:hover {
  border-color: var(--green);
  background: var(--soft);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #bd8d48;
  outline-offset: 3px;
}
input,
select,
textarea {
  min-width: 0;
  border: 1px solid #cdd5ca;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  flex: none;
}
label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.35;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  vertical-align: middle;
}
.container {
  width: calc(100% - 80px);
  max-width: 1440px;
  margin: auto;
  min-width: 0;
}
.announcement {
  background: var(--deep);
  color: #fff;
  text-align: center;
  padding: 6px 16px;
  font-size: 12px;
}
.header {
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 26px 0 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.4px;
  margin-top: 2px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: white;
  border-radius: 50% 50% 10px 50%;
  font-size: 24px;
  font-family: Georgia, serif;
}
.search {
  display: flex;
  align-items: center;
  max-width: 500px;
  flex: 1;
  border-bottom: 1px solid #aab5a7;
}
.search input {
  border: 0;
  background: none;
  padding-left: 0;
}
.icon-btn {
  border: 0;
  background: transparent;
  padding: 8px;
  min-width: 36px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.header-actions button {
  border: 0;
  font-size: 13px;
  padding: 8px;
}
.count {
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 0;
}
.navigation button {
  border: 0;
  padding: 7px 4px;
  font-weight: 600;
}
.navigation span {
  flex: 1;
}
.navigation button:last-child {
  font-weight: 400;
  color: var(--muted);
}
main {
  min-height: 480px;
  padding-top: 28px;
  padding-bottom: 56px;
}
.hero {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  border-radius: 4px;
  overflow: hidden;
}
.hero-copy {
  padding: 42px 46px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.35;
  letter-spacing: -1.7px;
  margin-bottom: 18px;
}
.hero p {
  color: #636b60;
  margin-bottom: 22px;
  max-width: 430px;
}
.hero img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: 50% 53%;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 600;
}
.primary:hover {
  background: var(--deep);
  color: #fff;
}
.danger {
  color: var(--red);
  border-color: #ddbbb5;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section {
  margin-top: 34px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.section-head p,
.page-head p {
  color: var(--muted);
  margin-top: 7px;
}
.pet-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 17px 22px;
  background: #fafbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pet-bar > div:first-child {
  margin-right: 10px;
}
.pet {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 30px;
  padding: 8px 20px 8px 10px;
}
.avatar {
  border-radius: 50%;
  background: #e8eddf;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--deep);
  font-weight: bold;
}
.pet small {
  display: block;
}
.active,
.chip.active {
  border-color: var(--green);
  background: var(--soft);
  color: var(--deep);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  min-width: 0;
}
.product-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.product-image img {
  aspect-ratio: 1.25;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s;
}
.product-image:hover img {
  transform: scale(1.035);
}
.product-image .badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #fff;
}
.product-card .meta {
  padding: 12px 2px;
}
.product-card .name {
  padding: 0;
  border: 0;
  display: block;
  text-align: left;
  font-weight: 600;
  min-height: 23px;
  background: none;
}
.product-card .price {
  font-size: 18px;
  font-weight: 700;
  margin-top: 5px;
  letter-spacing: -0.3px;
}
.product-card small {
  display: block;
  margin-top: 3px;
}
.rating {
  color: var(--amber);
  font-size: 12px;
}
.badge {
  font-size: 11px;
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
  font-weight: 600;
  background: var(--soft);
  color: var(--green);
  display: inline-block;
}
.badge.red {
  background: #f9edeb;
  color: var(--red);
}
.badge.blue {
  background: #edf2f9;
  color: var(--blue);
}
.badge.amber {
  background: #f7f1df;
  color: var(--amber);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--cream);
  padding: 25px 30px;
  border-radius: 8px;
}
.benefits b {
  font-size: 16px;
}
.benefits p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 13px;
}
.page-head {
  margin: 8px 0 28px;
}
.crumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumb button {
  padding: 0;
  border: 0;
  font-size: 12px;
  background: none;
}
.listing {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 34px;
}
.filter-side {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.filter-side fieldset {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}
.filter-side legend {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.filter-side label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 9px;
}
.filter-side select {
  padding: 8px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.toolbar select {
  width: auto;
}
.listing .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 26px 0 0;
}
.pager button {
  min-width: 36px;
  padding: 8px;
}
.pager span {
  padding: 0 8px;
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fafbf8;
}
.empty h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.empty p {
  color: var(--muted);
  margin-bottom: 20px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.detail-photo {
  border-radius: 8px;
  width: 100%;
  max-height: 580px;
  aspect-ratio: 1.05;
  object-fit: cover;
}
.product-info h1 {
  font-size: 28px;
  margin: 10px 0;
}
.product-info .description {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.detail-price {
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0 16px;
}
.detail-price small {
  font-size: 13px;
  font-weight: 400;
  margin-left: 9px;
}
.spec-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0e9;
  font-size: 13px;
}
.spec-row > span:first-child {
  color: var(--muted);
}
.option-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.option-row label {
  font-size: 12px;
}
.qty {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  align-items: center;
  overflow: hidden;
}
.qty button {
  border: 0;
  border-radius: 0;
  padding: 7px 12px;
}
.qty span {
  min-width: 36px;
  text-align: center;
}
.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
}
.purchase-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.purchase-modes button {
  text-align: left;
  padding: 13px 12px;
}
.purchase-modes small {
  display: block;
  margin-top: 3px;
}
.cycles {
  padding: 14px;
  background: var(--soft);
  border-radius: 6px;
  margin-top: 12px;
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.chip {
  border-radius: 20px;
  font-size: 12px;
  padding: 7px 14px;
}
.cycles small {
  display: block;
  margin-top: 9px;
  color: var(--green);
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
}
.sum-row strong {
  font-size: 25px;
}
.purchase-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.purchase-actions button {
  padding: 15px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 30px;
  margin: 38px 0 24px;
}
.tabs button {
  border: 0;
  border-radius: 0;
  padding: 15px 0;
}
.tabs .active {
  border-bottom: 2px solid var(--green);
  background: none;
  font-weight: 700;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
  box-shadow: var(--shadow);
}
.panel h3 {
  margin-bottom: 15px;
}
.definition {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 13px;
  gap: 12px;
  margin: 0;
}
.definition dt {
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.definition dd {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.review-summary {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px;
  background: var(--cream);
  border-radius: 8px;
  margin-bottom: 20px;
}
.review-summary strong {
  font-size: 36px;
}
.review {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.review p {
  margin-top: 8px;
}
.review small {
  display: block;
}
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.checkout > aside {
  position: sticky;
  top: 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child {
  border: 0;
}
.cart-item img {
  width: 78px;
  height: 78px;
  border-radius: 6px;
  object-fit: cover;
}
.cart-item small {
  display: block;
}
.cart-item .row {
  margin-top: 8px;
}
.money-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}
.money-line.total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
}
.note {
  font-size: 12px;
  background: var(--soft);
  border-radius: 6px;
  padding: 13px 15px;
  color: var(--deep);
  margin: 12px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.full {
  grid-column: 1/-1;
}
.field-error {
  font-size: 12px;
  color: var(--red);
  display: block;
  min-height: 0;
  margin-top: 4px;
}
.field-error:not(:empty) {
  min-height: 19px;
}
input[aria-invalid="true"] {
  border-color: var(--red);
  background: #fff8f7;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  margin: 14px 0;
}
.wide {
  width: 100%;
}
.account-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
}
.account-nav button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  margin-bottom: 5px;
}
.subscription-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 240px;
  gap: 20px;
  padding: 22px;
  margin-bottom: 16px;
  align-items: center;
}
.subscription-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
}
.subscription-card h3 {
  margin: 7px 0;
}
.subscription-card .next {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-top: 7px;
}
.sub-actions {
  display: grid;
  gap: 8px;
}
.sub-actions select {
  padding: 8px;
}
.sub-actions .row {
  flex-wrap: nowrap;
}
.sub-actions .row select {
  flex: 1;
  width: 0;
}
.sub-actions .row button {
  flex: none;
  white-space: nowrap;
}
.timeline {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  padding: 10px 0 10px 17px;
  border-left: 2px solid var(--line);
  position: relative;
  font-size: 13px;
}
.timeline li:before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: -4.5px;
  top: 17px;
  background: var(--green);
  border-radius: 50%;
}
.timeline small {
  display: block;
}
.order-card {
  margin-bottom: 16px;
}
.order-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
  margin-bottom: 12px;
}
.order-top small {
  display: block;
}
.order-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 12px 0;
}
.order-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}
.order-item > div {
  flex: 1;
}
.order-item small {
  display: block;
}
.admin-shell {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  gap: 28px;
}
.admin-nav {
  background: var(--deep);
  border-radius: 8px;
  padding: 24px 12px;
  color: #fff;
  align-self: stretch;
  min-height: 700px;
}
.admin-nav .eyebrow {
  color: #c6d5c1;
  padding: 0 10px;
}
.admin-nav button {
  display: block;
  width: 100%;
  border: 0;
  color: #e6eee1;
  text-align: left;
  background: none;
  margin: 4px 0;
}
.admin-nav .active {
  background: #526d50;
  color: white;
}
.admin-nav small {
  display: block;
  color: #c4d2be;
  padding: 18px 10px;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
}
.admin-top h1 {
  font-size: 26px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 22px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 19px;
  background: white;
}
.kpi span {
  font-size: 12px;
  color: var(--muted);
}
.kpi strong {
  font-size: 25px;
  display: block;
  margin: 4px 0;
}
.kpi small {
  display: block;
  font-size: 11px;
}
.admin-content {
  min-width: 0;
}
.admin-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 9px;
  margin-bottom: 17px;
}
.admin-filters label {
  font-size: 11px;
}
.table-wrap {
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  background: #f4f6f1;
  color: #5d695b;
  font-weight: 500;
}
th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td {
  overflow-wrap: anywhere;
}
td .text-button {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
td small {
  display: block;
  font-size: 11px;
}
td:last-child,
th:last-child {
  text-align: right;
}
table .select-col {
  width: 34px;
}
.bulk {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.bulk b {
  font-size: 12px;
  flex: 1;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.calendar button {
  padding: 8px 5px;
  font-size: 11px;
  text-align: left;
  min-height: 56px;
}
.calendar b {
  display: block;
  font-size: 15px;
}
.calendar .day-name {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.calendar .zero {
  color: #8b9388;
}
.chart {
  height: 170px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding-top: 20px;
}
.chart-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.chart-col i {
  display: block;
  background: #7c9270;
  border-radius: 3px 3px 0 0;
  width: 100%;
  min-height: 2px;
}
.chart-col small {
  font-size: 9px;
  margin-top: 6px;
}
.chart-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.stock-low {
  color: var(--red);
  font-weight: 700;
}
.status-error {
  color: var(--red);
  background: #fff7f5;
  border: 1px solid #e9d0cb;
  padding: 13px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 32px 0 20px;
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.footer-grid b {
  font-size: 14px;
}
.footer-grid p {
  margin-top: 9px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: start;
}
.footer-links button {
  border: 0;
  padding: 3px;
  background: none;
  font-size: 12px;
  color: var(--muted);
}
.notice {
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
dialog {
  border: 0;
  border-radius: 12px;
  width: 620px;
  max-width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
  box-shadow: 0 20px 90px #16241b40;
}
dialog::backdrop {
  background: #15251cb3;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 21px;
}
#closeDialog {
  font-size: 26px;
  line-height: 1;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 23px;
}
.dialog-actions button {
  min-width: 92px;
}
.modal-field {
  margin: 15px 0;
}
.dialog-error {
  color: var(--red);
  font-size: 13px;
  margin-top: 12px;
}
.dialog-body p {
  margin: 12px 0;
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--green);
  color: white;
  text-align: center;
  padding: 4px;
  font-size: 11px;
  z-index: 60;
  box-shadow: 0 2px 8px #0002;
}
.skeleton {
  height: 380px;
  background: linear-gradient(90deg, #f5f6f1, #e9eee3, #f5f6f1);
  background-size: 200% 100%;
  animation: pulse 1.2s infinite;
  border-radius: 8px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep);
  color: white;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 24px #0002;
  z-index: 80;
  font-size: 13px;
}
#toast.error {
  background: #8a3c32;
}
.skip {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  z-index: 100;
  background: #fff;
  padding: 0;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 20px;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  padding: 12px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
.success {
  padding: 45px;
  text-align: center;
  background: var(--cream);
  border-radius: 8px;
}
.success h1 {
  margin: 12px 0;
}
.success .row {
  justify-content: center;
  margin-top: 22px;
}
@keyframes pulse {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 1700px) {
  .hero {
    min-height: 360px;
  }
  .hero img {
    height: 360px;
  }
  .hero-copy {
    padding: 48px 52px;
  }
  .product-image img {
    aspect-ratio: 1.3;
  }
}
@media (max-width: 1200px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-main {
    gap: 24px;
  }
  .header-actions {
    gap: 0;
  }
  .detail-layout {
    gap: 32px;
  }
  .admin-shell {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
  }
  .admin-filters {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .admin-filters > div:last-of-type {
    grid-column: auto;
  }
  .kpi {
    padding: 14px;
  }
  .kpi strong {
    font-size: 21px;
  }
  .product-grid {
    gap: 16px;
  }
  .subscription-card {
    grid-template-columns: 70px minmax(0, 1fr) 210px;
    gap: 14px;
  }
  .checkout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
  }
  .account-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .hero-copy {
    padding: 35px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .admin-content .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  th,
  td {
    padding: 10px 7px;
  }
}
@media (max-width: 1050px) {
  .header-main {
    flex-wrap: wrap;
    gap: 14px;
  }
  .search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }
  .header-actions {
    margin-left: auto;
  }
  .navigation {
    gap: 14px;
  }
  .hero-copy {
    padding: 30px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero img {
    height: 340px;
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-grid > .product-card:last-child:nth-child(5) {
    display: none;
  }
  .listing {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 20px;
  }
  .listing .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .two-col {
    gap: 15px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding: 10px;
  }
  .admin-nav .eyebrow {
    margin: 0 15px 0 0;
  }
  .admin-nav button {
    width: auto;
    font-size: 12px;
    margin: 0;
  }
  .admin-nav small {
    margin-left: auto;
    padding: 3px;
  }
  .admin-top {
    margin-top: 5px;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-nav {
    display: flex;
    gap: 10px;
  }
  .account-nav button {
    width: auto;
  }
  .benefits {
    padding: 22px;
    gap: 15px;
  }
  .subscription-card {
    grid-template-columns: 70px minmax(0, 1fr) 220px;
  }
}
@media (max-width: 700px) {
  :root {
    font-size: 13px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 10px;
    padding: 7px 12px;
  }
  .header-main {
    padding: 18px 0 14px;
    gap: 12px;
  }
  .brand {
    font-size: 18px;
    gap: 7px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
    font-size: 20px;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .header-actions button {
    font-size: 11px;
    padding: 5px;
  }
  .header-actions .quiet {
    font-size: 10px;
  }
  .header-actions {
    gap: 0;
  }
  .navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 7px 0;
  }
  .navigation span {
    display: none;
  }
  .navigation button {
    font-size: 12px;
    padding: 9px 0;
  }
  .navigation button:last-child {
    font-size: 12px;
  }
  .search input {
    font-size: 12px;
  }
  main {
    padding-top: 20px;
    padding-bottom: 32px;
  }
  .hero {
    grid-template-columns: 1fr;
    position: relative;
    min-height: 380px;
  }
  .hero-copy {
    padding: 25px;
    z-index: 1;
    background: linear-gradient(
      180deg,
      #f6f5efff 0%,
      #f6f5eff0 60%,
      #f6f5ef00 100%
    );
  }
  .hero h1 {
    font-size: 29px;
    max-width: 300px;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 12px;
    max-width: 270px;
    margin-bottom: 15px;
  }
  .hero img {
    height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
    object-position: 68% 50%;
    opacity: 0.57;
  }
  .hero .primary {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .pet-bar {
    padding: 14px;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }
  .pet-bar > div:first-child {
    width: 100%;
    font-size: 12px;
  }
  .pet {
    padding: 6px 12px 6px 7px;
    gap: 7px;
    flex: 1;
  }
  .pet small {
    font-size: 10px;
  }
  .avatar {
    width: 28px;
    height: 28px;
  }
  .product-grid,
  .listing .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .product-grid > .product-card:last-child:nth-child(5) {
    display: block;
  }
  .product-image img {
    aspect-ratio: 1;
  }
  .product-card .name {
    font-size: 12px;
    line-height: 1.5;
  }
  .product-card .price {
    font-size: 16px;
  }
  .product-card small {
    font-size: 10px;
  }
  .badge {
    font-size: 10px;
    padding: 2px 5px;
  }
  .product-image .badge {
    top: 7px;
    left: 7px;
  }
  .section {
    margin-top: 25px;
  }
  .section-head {
    gap: 10px;
    align-items: start;
  }
  .section-head h2,
  h2 {
    font-size: 18px;
  }
  .section-head p {
    font-size: 11px;
  }
  .section-head button {
    font-size: 11px;
    white-space: nowrap;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .benefits b {
    font-size: 14px;
  }
  .benefits p {
    font-size: 12px;
  }
  .page-head {
    margin: 5px 0 21px;
  }
  h1 {
    font-size: 25px;
  }
  .listing {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .filter-side {
    border: 0;
    padding: 15px;
    background: var(--cream);
    border-radius: 7px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .filter-side fieldset {
    margin: 0;
  }
  .filter-side fieldset:first-child {
    grid-column: 1/-1;
  }
  .filter-side fieldset:first-child .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .filter-side label {
    font-size: 11px;
    margin: 5px 0;
  }
  .filter-side legend {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .filter-side select {
    font-size: 12px;
  }
  .filter-side button {
    align-self: end;
    font-size: 11px;
  }
  .toolbar {
    font-size: 12px;
  }
  .toolbar select {
    font-size: 12px;
    max-width: 135px;
  }
  .crumb {
    margin-bottom: 15px;
    font-size: 11px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .detail-photo {
    max-height: 350px;
    aspect-ratio: 1.2;
  }
  .product-info h1 {
    font-size: 24px;
  }
  .detail-price {
    font-size: 27px;
  }
  .quantity-row {
    font-size: 12px;
  }
  .purchase-modes button {
    font-size: 12px;
  }
  .purchase-modes small {
    font-size: 11px;
  }
  .cycles .chip {
    padding: 7px 11px;
  }
  .two-col,
  .admin-content .two-col {
    grid-template-columns: 1fr;
  }
  .tabs {
    gap: 22px;
    margin: 24px 0 18px;
  }
  .tabs button {
    font-size: 12px;
  }
  .panel {
    padding: 16px;
  }
  .definition {
    grid-template-columns: 82px 1fr;
    font-size: 12px;
    gap: 9px;
  }
  .checkout {
    grid-template-columns: 1fr;
  }
  .checkout > aside {
    position: static;
  }
  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }
  .cart-item img {
    width: 58px;
    height: 58px;
    align-self: start;
  }
  .cart-item > div:last-child {
    grid-column: 2;
  }
  .cart-item .row {
    gap: 5px;
  }
  .cart-item .qty button {
    padding: 6px 9px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .subscription-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }
  .subscription-card img {
    width: 58px;
    height: 58px;
  }
  .subscription-card .sub-actions {
    grid-column: 1/-1;
  }
  .subscription-card .next {
    font-size: 18px;
  }
  .subscription-card small {
    font-size: 11px;
  }
  .order-top {
    font-size: 12px;
  }
  .order-item img {
    width: 55px;
    height: 55px;
  }
  .order-item b {
    font-size: 12px;
  }
  .order-item {
    align-items: start;
    gap: 10px;
  }
  .order-item > strong {
    font-size: 12px;
  }
  .order-item small {
    font-size: 11px;
  }
  .admin-nav {
    gap: 2px;
    padding: 9px;
  }
  .admin-nav .eyebrow {
    width: 100%;
    margin: 0 0 3px;
    padding-left: 5px;
  }
  .admin-nav button {
    font-size: 11px;
    padding: 8px;
  }
  .admin-nav small {
    font-size: 10px;
    padding: 6px;
  }
  .admin-top {
    align-items: start;
  }
  .admin-top h1 {
    font-size: 23px;
  }
  .admin-top .row {
    justify-content: flex-end;
  }
  .admin-top small {
    font-size: 10px;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  .kpi {
    padding: 13px;
  }
  .kpi strong {
    font-size: 22px;
  }
  .kpi span {
    font-size: 11px;
  }
  .admin-filters {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .admin-filters > div:first-child {
    grid-column: 1/-1;
  }
  .admin-filters label {
    font-size: 11px;
  }
  .admin-filters input,
  .admin-filters select {
    font-size: 12px;
    padding: 9px;
  }
  .bulk {
    padding: 10px;
    gap: 10px;
  }
  .bulk button {
    font-size: 11px;
    padding: 8px;
  }
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    width: 100%;
  }
  .table-wrap thead {
    display: none;
  }
  .table-wrap tr {
    border: 1px solid var(--line);
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff;
  }
  .table-wrap td {
    padding: 6px 0;
    border: 0;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }
  .table-wrap td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    flex: none;
    text-align: left;
    max-width: 75px;
  }
  .table-wrap td > div {
    text-align: right;
  }
  .table-wrap td.select-col {
    justify-content: flex-start;
  }
  .table-wrap .empty-cell {
    display: block;
    text-align: center;
  }
  .table-wrap .empty-cell:before {
    display: none;
  }
  .table-wrap td small {
    font-size: 10px;
  }
  .calendar button {
    font-size: 10px;
    padding: 6px 3px;
    min-height: 50px;
  }
  .calendar b {
    font-size: 13px;
  }
  .calendar {
    gap: 3px;
  }
  .chart {
    gap: 5px;
    height: 160px;
  }
  .chart-col small {
    font-size: 8px;
  }
  .pager {
    gap: 4px;
  }
  .pager button {
    min-width: 31px;
    padding: 7px;
    font-size: 11px;
  }
  .footer {
    padding: 24px 0 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .notice {
    font-size: 10px;
  }
  dialog {
    padding: 20px;
    max-height: 88vh;
  }
  .dialog-head h2 {
    font-size: 18px;
  }
  .dialog-actions {
    gap: 7px;
  }
  .dialog-actions button {
    font-size: 12px;
    min-width: 80px;
  }
  .review-summary {
    gap: 22px;
  }
  .success {
    padding: 35px 20px;
  }
  #toast {
    width: max-content;
    max-width: calc(100% - 32px);
    font-size: 12px;
    padding: 12px 16px;
  }
}

@media (min-width: 1051px) {
  .header-main {
    padding: 18px 0 14px;
  }
  .navigation {
    padding: 8px 0;
  }
  .hero,
  .hero img {
    min-height: 0;
    height: 320px;
  }
  .hero-copy {
    padding: 30px 42px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .hero p {
    margin-bottom: 18px;
  }
  .pet-bar {
    margin-top: 18px;
    padding: 13px 20px;
  }
  .section {
    margin-top: 28px;
  }
  .section-head {
    margin-bottom: 14px;
  }
}
@media (max-width: 700px) {
  .order-top > .badge { flex: none; align-self: flex-start; }
  .order-card .toolbar { flex-direction: column; align-items: stretch; }
  .order-card .toolbar > b { white-space: nowrap; }
  .order-card .toolbar > .row { justify-content: flex-end; }
  .order-card .toolbar button { white-space: nowrap; }
}
