.admin-most-purchased-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 560px) {
  body[data-page="checkout"] {
    overflow-x: hidden !important;
  }
  body[data-page="checkout"] .page-shell {
    min-height: 0 !important;
    padding-top: calc(var(--header-height)+0.75rem) !important;
    padding-bottom: 5rem !important;
  }
  body[data-page="checkout"] .checkout-grid,
  body[data-page="checkout"] .detail-panel,
  body[data-page="checkout"] .summary-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body[data-page="checkout"] .checkout-mobile-total-card,
  body[data-page="checkout"] .checkout-payment-field,
  body[data-page="checkout"] #site-footer,
  body[data-page="checkout"] .footer {
    display: none !important;
  }
  body[data-page="checkout"] .checkout-mobile-products,
  body[data-page="checkout"] .checkout-step-card,
  body[data-page="checkout"] .checkout-coupon-card {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  body[data-page="checkout"] .checkout-trust-row {
    margin: 0 !important;
    padding: 0.15rem 0.2rem !important;
  }
  body[data-page="checkout"] .checkout-mobile-sticky {
    display: grid !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 768px) {
  .hero-banner-frame,
  .hero-banner-slide,
  .hero-banner-slide img {
    aspect-ratio: 824 / 1104;
  }
  #categories {
    contain: layout paint;
  }
  .home-product-section,
  .products-showcase,
  .featured-products,
  .latest-products,
  .product-grid,
  .featured-product-grid {
    min-height: 620px;
  }
  .footer,
  #site-footer {
    min-height: 560px;
  }
  .footer .brand-logo,
  .footer img {
    width: 110px;
    height: 110px;
    object-fit: contain;
  }
}
.admin-most-purchased-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(240, 0, 0, 0.09);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 248, 248, 0.96)
  );
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.06);
}
.admin-most-purchased-rank {
  width: fit-content;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: rgba(240, 0, 0, 0.08);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-most-purchased-card strong {
  color: var(--color-black);
  font-size: 1.02rem;
  line-height: 1.35;
}
.admin-most-purchased-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 0.2rem;
}
.admin-most-purchased-meta span {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-most-purchased-meta strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-primary-dark);
  font-size: 1rem;
}
@media (max-width: 1100px) {
  :root {
    --header-height: 88px;
  }
  .nav-shell {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .nav-shell .nav-links {
    display: none;
  }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    padding: 0;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 360px);
    height: 100dvh;
    padding: 0.95rem;
    transform: translateX(-102%);
    transition:
      transform var(--transition),
      box-shadow var(--transition);
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 247, 247, 0.98)
    );
    box-shadow: 0 28px 60px rgba(17, 17, 17, 0.22);
    overflow-y: auto;
    z-index: 120;
    border-right: 1px solid rgba(240, 0, 0, 0.08);
  }
  .mobile-menu.is-open {
    transform: translateX(0);
  }
  .mobile-menu nav {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
  }
  .mobile-menu-header {
    padding: 0 0 0.9rem;
  }
  .mobile-brand .brand-logo {
    width: 140px;
    height: 58px;
    max-width: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: cover;
    object-position: center;
  }
  .mobile-menu nav {
    background: rgba(255, 255, 255, 0.92);
  }
  .hero-grid,
  .feature-grid,
  .detail-layout,
  .checkout-grid,
  .about-grid,
  .contact-grid,
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .category-grid,
  .review-grid,
  .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .spotlight-card {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem;
    text-align: center;
  }
  body[data-page="home"] .spotlight-card-image {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    align-self: center;
  }
  body[data-page="home"] .spotlight-card-icon-image {
    width: 30px;
    height: 30px;
  }
  body[data-page="home"] .spotlight-card-copy {
    gap: 0.12rem;
    min-width: 0;
    align-items: center;
  }
  body[data-page="home"] .spotlight-card-copy strong {
    font-size: 0.88rem;
    line-height: 1.2;
    word-break: break-word;
  }
  body[data-page="home"] .spotlight-card-copy span {
    font-size: 0.72rem;
    line-height: 1.28;
    word-break: break-word;
  }
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spotlight-shell {
    grid-template-columns: 1fr;
  }
  .category-circle-card,
  .category-circle-media {
    width: 120px;
  }
  .category-circle-media {
    height: 120px;
  }
  .account-grid,
  .layout-two-column {
    grid-template-columns: 1fr;
  }
  .admin-most-purchased-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layout-two-column .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="shop"] .layout-two-column {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }
  body[data-page="shop"] .filter-panel {
    top: calc(var(--header-height)+1rem);
    max-height: calc(100dvh - var(--header-height) - 1.8rem);
    padding: 0.9rem;
  }
  .about-hero-panel,
  .contact-hero-panel,
  .contact-work-grid {
    grid-template-columns: 1fr;
  }
  .about-feature-grid,
  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-story-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  :root {
    --header-height: 86px;
  }
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  body[data-page="product-details"] .page-shell,
  body[data-page="product-details"] #product-detail-root > section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  body[data-page="product-details"] #product-detail-root {
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }
  body[data-page] .page-shell {
    padding-top: calc(var(--header-height)+1rem);
  }
  .site-header .container {
    width: 100vw;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.46rem 0.55rem 0.08rem;
  }
  .nav-shell .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
    margin-left: -0.22rem;
    margin-right: -0.14rem;
  }
  .nav-shell .brand-logo {
    width: 180px;
    height: 84px;
    aspect-ratio: 245 / 114;
    max-width: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    object-position: left center;
  }
  .nav-search-shell {
    grid-column: 2;
    grid-row: 1;
    order: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .nav-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-column: auto;
    grid-row: auto;
    order: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.42rem 0.38rem 0.42rem 1.08rem;
    gap: 0.42rem;
  }
  .nav-search input {
    width: 100%;
    min-width: 0;
    font-size: 0.94rem;
  }
  .nav-search button {
    width: auto;
    min-width: 0;
    padding: 0.62rem 0.76rem;
    font-size: 0.8rem;
    box-shadow: none;
    white-space: nowrap;
  }
  .hamburger {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    justify-self: end;
    margin-left: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
  }
  .nav-search-suggestions {
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(46vh, 360px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 18px;
    z-index: 1300;
  }
  .mobile-menu {
    z-index: 1300;
  }
  .search-suggestion-head {
    padding: 0.72rem 0.85rem;
    font-size: 0.74rem;
  }
  .search-suggestion-item {
    gap: 0.65rem;
    padding: 0.82rem 0.85rem;
  }
  .search-suggestion-type {
    min-width: 4.2rem;
    padding: 0.38rem 0.56rem;
    font-size: 0.64rem;
  }
  .search-suggestion-text strong {
    font-size: 0.88rem;
  }
  .search-suggestion-text span {
    font-size: 0.78rem;
  }
  .hero-copy h1 {
    font-size: clamp(2.45rem, 10vw, 4rem);
  }
  .category-grid,
  .review-grid,
  .footer-grid,
  .values-grid,
  .form-grid.two-column {
    grid-template-columns: 1fr;
  }
  .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .spotlight-card {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.38rem;
    padding: 0.62rem;
    text-align: center;
  }
  body[data-page="home"] .spotlight-card-image {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    flex-shrink: 0;
    align-self: center;
  }
  body[data-page="home"] .spotlight-card-icon-image {
    width: 28px;
    height: 28px;
  }
  body[data-page="home"] .spotlight-card-copy {
    gap: 0.1rem;
    min-width: 0;
    align-items: center;
  }
  body[data-page="home"] .spotlight-card-copy strong {
    font-size: 0.82rem;
    line-height: 1.18;
    word-break: break-word;
  }
  body[data-page="home"] .spotlight-card-copy span {
    font-size: 0.68rem;
    line-height: 1.22;
    word-break: break-word;
  }
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-location-card {
    align-items: stretch;
    flex-direction: column;
  }
  .checkout-location-button {
    width: 100%;
  }
  .checkout-location-map-head {
    flex-direction: column;
  }
  .checkout-location-use-button {
    width: 100%;
  }
  body[data-page="checkout"] .checkout-grid {
    gap: 0.72rem;
    margin-top: 0.35rem;
    padding-bottom: 5.8rem;
  }
  body[data-page="checkout"] .page-shell {
    padding-top: 0.55rem;
  }
  body[data-page="checkout"] .container {
    padding-inline: 0.42rem;
  }
  body[data-page="checkout"] .detail-panel,
  body[data-page="checkout"] .summary-card {
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body[data-page="checkout"] .summary-card {
    position: static;
    display: grid;
    gap: 0.72rem;
  }
  body[data-page="checkout"] .checkout-summary-head,
  body[data-page="checkout"] .checkout-summary-products,
  body[data-page="checkout"] .checkout-price-lines,
  body[data-page="checkout"] .checkout-total-panel,
  body[data-page="checkout"] .summary-card > .checkout-place-order-button {
    display: none;
  }
  body[data-page="checkout"] .checkout-mobile-total-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    order: -1;
    padding: 0.78rem 0.8rem;
    border: 1px solid rgba(240, 0, 0, 0.14);
    border-radius: 10px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.99),
      rgba(255, 246, 246, 0.98)
    );
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.045);
  }
  body[data-page="checkout"] .checkout-mobile-total-card span,
  body[data-page="checkout"] .checkout-mobile-total-card small {
    display: block;
    color: var(--color-text-soft);
    font-size: 0.78rem;
    font-weight: 700;
  }
  body[data-page="checkout"] .checkout-mobile-total-card strong {
    display: block;
    color: var(--color-black);
    font-size: 2rem;
    line-height: 1.05;
  }
  body[data-page="checkout"] .checkout-item-strip {
    display: flex;
    gap: 0.35rem;
    align-items: start;
  }
  body[data-page="checkout"] .checkout-item-thumb {
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f6f6;
  }
  body[data-page="checkout"] .checkout-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  body[data-page="checkout"] .checkout-item-more {
    display: grid;
    place-items: center;
    color: var(--color-text-soft);
    background: #f3f5f7;
    font-weight: 900;
  }
  body[data-page="checkout"] .checkout-mobile-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1300;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.56rem 0.72rem calc(0.56rem+env(safe-area-inset-bottom));
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 26px rgba(17, 17, 17, 0.1);
  }
  body[data-page="checkout"] .checkout-mobile-sticky strong,
  body[data-page="checkout"] .checkout-mobile-sticky span {
    display: block;
  }
  body[data-page="checkout"] .checkout-mobile-sticky strong {
    color: var(--color-black);
    font-size: 1.22rem;
  }
  body[data-page="checkout"] .checkout-mobile-sticky span {
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 800;
  }
  body[data-page="checkout"] .checkout-mobile-sticky .cta-button {
    min-height: 3.15rem;
    justify-content: center;
    border-radius: 999px;
  }
  body[data-page="checkout"] .checkout-step-card,
  body[data-page="checkout"] .checkout-coupon-card {
    display: grid;
    gap: 0.62rem;
    margin: 0;
    padding: 0.82rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.045);
  }
  body[data-page="checkout"] .checkout-step-card + .checkout-step-card {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
  }
  body[data-page="checkout"] .checkout-step-card h2 {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.58rem;
    align-items: center;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.2;
  }
  body[data-page="checkout"] .checkout-card-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: #fff1f1;
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 900;
  }
  body[data-page="checkout"] .checkout-change-button {
    min-height: 2rem;
    padding: 0.38rem 0.72rem;
    border-color: rgba(240, 0, 0, 0.14);
    border-radius: 999px;
    color: var(--color-primary);
    background: #fffafa;
    font-size: 0.78rem;
    font-weight: 800;
  }
  body[data-page="checkout"] .checkout-selected-address {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    padding: 0 0 0 2.58rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  body[data-page="checkout"] .checkout-selected-address > .checkout-card-icon,
  body[data-page="checkout"] .checkout-selected-address > label,
  body[data-page="checkout"]
    .checkout-selected-address
    .checkout-address-actions {
    display: none;
  }
  body[data-page="checkout"] .checkout-address-copy strong,
  body[data-page="checkout"] .checkout-method-card strong,
  body[data-page="checkout"] .checkout-payment-option span {
    margin: 0 0 0.14rem;
    font-size: 0.86rem;
  }
  body[data-page="checkout"] .checkout-address-copy p,
  body[data-page="checkout"] .checkout-method-card p,
  body[data-page="checkout"] .checkout-payment-option small {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  body[data-page="checkout"] .checkout-method-card,
  body[data-page="checkout"] .checkout-payment-option {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding: 0 0 0 2.58rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  body[data-page="checkout"] .checkout-payment-option {
    grid-template-columns: auto minmax(0, 1fr);
  }
  body[data-page="checkout"] .checkout-success-note {
    margin-left: 2.58rem;
    padding: 0.58rem 0.7rem;
    border-radius: 8px;
    font-size: 0.74rem;
  }
  body[data-page="checkout"] .checkout-address-toolbar {
    margin-top: 0;
  }
  body[data-page="checkout"] #toggle-address-form-secondary-button {
    min-height: 2.65rem;
    border-radius: 10px;
    background: #ffffff;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.58rem;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button::before {
    content: "%";
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: #fff1f1;
    color: var(--color-primary);
    font-weight: 900;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button span {
    display: grid;
    gap: 0.1rem;
    color: var(--color-black);
    font-size: 0.98rem;
    font-weight: 900;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button small {
    color: var(--color-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
  }
  body[data-page="checkout"] .checkout-coupon-row,
  body[data-page="checkout"] .checkout-coupon-link,
  body[data-page="checkout"] .checkout-coupon-feedback {
    display: none;
  }
  body[data-page="checkout"] .checkout-trust-row {
    display: flex;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.12rem 0.25rem 0.15rem;
    color: var(--color-text-soft);
    font-size: 0.66rem;
    font-weight: 800;
  }
  body[data-page="checkout"] .checkout-grid > * {
    min-width: 0;
  }
  body[data-page="checkout"] .checkout-grid .account-card,
  body[data-page="checkout"] .checkout-grid .summary-stack {
    padding: 0.9rem;
    border-radius: 20px;
  }
  body[data-page="checkout"] .checkout-grid h2 {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  body[data-page="checkout"] .checkout-grid h3 {
    font-size: 1rem;
  }
  body[data-page="checkout"] .checkout-grid .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
  body[data-page="checkout"] .checkout-form-shell {
    margin-top: 0.45rem;
  }
  body[data-page="checkout"] .checkout-grid .form-grid,
  body[data-page="checkout"] .checkout-grid .summary-stack {
    gap: 0.7rem;
  }
  body[data-page="checkout"] .checkout-address-toolbar {
    margin-top: 0.7rem;
  }
  body[data-page="checkout"] .checkout-address-toggle,
  body[data-page="checkout"] .checkout-place-order-button {
    width: 100%;
  }
  body[data-page="checkout"] .checkout-address-popup {
    padding: 0.85rem;
  }
  body[data-page="checkout"] .checkout-address-popup-dialog {
    width: min(100%, 460px);
    padding: 1.05rem 1rem 0.95rem;
    border-radius: 22px;
  }
  body[data-page="checkout"] .checkout-address-popup-actions {
    flex-direction: column;
    gap: 0.55rem;
  }
  body[data-page="checkout"] .checkout-address-popup-actions .cta-button,
  body[data-page="checkout"] .checkout-address-popup-actions .ghost-button {
    width: 100%;
    flex: 1 1 auto;
  }
  body[data-page="checkout"] .checkout-inline-alert {
    margin-top: 0.72rem;
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.45;
  }
  body[data-page="checkout"] .checkout-grid .field input,
  body[data-page="checkout"] .checkout-grid .field textarea,
  body[data-page="checkout"] .checkout-grid .field select {
    min-height: 2.8rem;
    padding: 0.72rem 0.82rem;
    font-size: 0.9rem;
  }
  body[data-page="checkout"] .checkout-grid .field textarea {
    min-height: 5rem;
  }
  body[data-page="checkout"] .address-card,
  body[data-page="checkout"] .table-item {
    gap: 0.65rem;
    padding: 0.72rem 0;
  }
  body[data-page="checkout"] .address-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  body[data-page="checkout"] .address-card label {
    min-width: 0;
    max-width: 100%;
    align-items: flex-start !important;
  }
  body[data-page="checkout"] .address-card label > div {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
  }
  body[data-page="checkout"] .address-card input[name="selected-address"] {
    flex: 0 0 auto;
    margin-top: 0.2rem;
  }
  body[data-page="checkout"] .address-card strong,
  body[data-page="checkout"] .address-card .muted {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
  }
  body[data-page="checkout"] .address-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
  }
  body[data-page="checkout"] .address-card-actions .badge {
    grid-column: 1 / -1;
    justify-self: start;
  }
  body[data-page="checkout"] .address-card-actions .ghost-button {
    width: 100%;
    min-width: 0;
    padding: 0.68rem 0.75rem;
  }
  body[data-page="checkout"] .checkout-coupon-card {
    gap: 0.62rem;
    margin-bottom: 0.7rem;
    padding: 0.8rem;
    border-radius: 18px;
  }
  body[data-page="checkout"] .checkout-coupon-head {
    gap: 0.55rem;
  }
  body[data-page="checkout"] .checkout-coupon-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  body[data-page="checkout"] .checkout-coupon-row input,
  body[data-page="checkout"] .checkout-coupon-button,
  body[data-page="checkout"] #place-order-button,
  body[data-page="checkout"] #address-form .ghost-button {
    width: 100%;
  }
  body[data-page="coupons"] .page-shell {
    padding-top: 1rem;
  }
  body[data-page="coupons"] .coupons-page-shell {
    width: 100%;
    max-width: 100%;
    padding: 1rem 0.85rem 2rem;
    gap: 0.9rem;
  }
  body[data-page="coupons"] .coupons-page-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
  }
  body[data-page="coupons"] .coupons-page-header h1 {
    font-size: 1.55rem;
    line-height: 1.15;
  }
  body[data-page="coupons"] .coupons-page-header p,
  body[data-page="coupons"] .coupons-page-header strong {
    overflow-wrap: anywhere;
  }
  body[data-page="coupons"] .coupons-page-panel {
    padding: 0.85rem;
    border-radius: 18px;
  }
  body[data-page="coupons"] .checkout-coupon-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  body[data-page="coupons"] .checkout-coupon-row input,
  body[data-page="coupons"] .checkout-coupon-button {
    width: 100%;
    min-width: 0;
  }
  body[data-page="coupons"] .checkout-coupon-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  body[data-page="coupons"] .checkout-coupon-tabs button {
    width: 100%;
    padding: 0.58rem 0.7rem;
  }
  body[data-page="coupons"] .checkout-coupon-list {
    gap: 0.72rem;
  }
  body[data-page="coupons"] .checkout-coupon-option {
    padding: 0.85rem;
    border-radius: 16px;
  }
  body[data-page="coupons"] .checkout-coupon-option-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
  }
  body[data-page="coupons"] .checkout-coupon-option-top strong,
  body[data-page="coupons"] .checkout-coupon-option p,
  body[data-page="coupons"] .checkout-coupon-shop-more,
  body[data-page="coupons"] .checkout-coupon-unavailable {
    overflow-wrap: anywhere;
  }
  body[data-page="coupons"] .checkout-coupon-apply-mini {
    min-width: 5.4rem;
    padding: 0.45rem 0.65rem;
  }
  body[data-page="checkout"] .checkout-location-card {
    gap: 0.72rem;
    padding: 0.8rem;
    border-radius: 16px;
  }
  body[data-page="checkout"] .checkout-location-card strong,
  body[data-page="checkout"] .checkout-location-map-head strong {
    font-size: 0.92rem;
  }
  body[data-page="checkout"] .checkout-location-card .muted,
  body[data-page="checkout"] .checkout-location-status {
    font-size: 0.84rem;
    line-height: 1.4;
  }
  body[data-page="checkout"] .checkout-location-status {
    padding: 0.62rem 0.76rem;
  }
  body[data-page="checkout"] .checkout-location-map-shell {
    gap: 0.55rem;
    padding: 0.72rem;
    border-radius: 16px;
  }
  body[data-page="checkout"] .checkout-location-map {
    min-height: 190px;
    border-radius: 14px;
  }
  body[data-page="checkout"] .checkout-location-use-button,
  body[data-page="checkout"] .checkout-location-button {
    min-height: 2.65rem;
    padding: 0.68rem 0.85rem;
  }
  body[data-page="checkout"] .checkout-total-row strong {
    font-size: 1rem;
  }
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }
  body[data-page="shop"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }
  body[data-page="shop"] .shop-coming-soon-panel {
    padding: 1.35rem 1.1rem;
    border-radius: 24px;
  }
  body[data-page="shop"] .shop-coming-soon-panel h2 {
    max-width: none;
    font-size: clamp(1.55rem, 6vw, 2.2rem);
  }
  body[data-page="shop"] .shop-coming-soon-panel p {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  body[data-page="shop"] .shop-coming-soon-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.1rem;
  }
  body[data-page="shop"] .shop-coming-soon-actions .cta-button,
  body[data-page="shop"] .shop-coming-soon-actions .ghost-button {
    width: 100%;
    min-width: 0;
  }
  .layout-two-column > .filter-panel {
    position: static;
  }
  .detail-layout {
    gap: 1.25rem;
  }
  body[data-page="product-details"] .detail-gallery {
    position: static;
    top: auto;
  }
  body[data-page="product-details"] .detail-layout--premium {
    grid-template-columns: 1fr;
  }
  body[data-page="product-details"] .detail-gallery--premium,
  body[data-page="product-details"] .detail-summary--premium {
    position: static;
    top: auto;
  }
  body[data-page="product-details"] .detail-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-panel {
    padding: 1rem;
  }
  .detail-summary .price {
    font-size: 1.6rem;
  }
  .selected-pack-banner {
    padding: 0.7rem 0.85rem;
  }
  .variant-chip-row {
    gap: 0.4rem;
  }
  .variant-chip {
    padding: 0.45rem 0.62rem;
    font-size: 0.72rem;
  }
  .featured-section-header {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .featured-section-title {
    font-size: 1.08rem;
    line-height: 1.15;
  }
  .featured-section-action {
    padding: 0.55rem 0.8rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }
  body[data-page="product-details"] .detail-benefit-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="product-details"] .detail-trust-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="product-details"] .detail-spec-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="product-details"] .detail-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  body[data-page="product-details"] .detail-cart-button {
    width: 100%;
  }
  .detail-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="shop"] .page-hero {
    padding: 1.15rem 1rem;
  }
  body[data-page="shop"] .page-hero h1 {
    font-size: 1.7rem;
  }
  body[data-page="shop"] .page-hero p {
    font-size: 0.9rem;
  }
  body[data-page="shop"] .layout-two-column {
    gap: 0.9rem;
  }
  body[data-page="shop"] .filter-panel {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
    position: static;
    top: auto;
    height: auto;
    z-index: auto;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.06);
  }
  body[data-page="shop"] .filter-panel .filter-group {
    margin-top: 0;
  }
  body[data-page="shop"] .shop-primary-filter-group {
    order: 1;
    margin: 0;
  }
  body[data-page="shop"] #shop-pet-type-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  body[data-page="shop"] #shop-pet-type-form .shop-filter-field-wide {
    grid-column: auto;
  }
  body[data-page="shop"] .shop-filter-panel:has(#shop-pet-type-form) {
    padding: 0.78rem;
    border-radius: 22px;
    background:
      radial-gradient(
        circle at top right,
        rgba(240, 0, 0, 0.08),
        transparent 38%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.99),
        rgba(255, 244, 244, 0.98)
      );
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.08);
  }
  body[data-page="shop"] .shop-filter-panel:has(#shop-pet-type-form) h3 {
    margin: 0 0 0.65rem;
    font-size: 0.98rem;
  }
  body[data-page="shop"] #shop-pet-type-form .shop-filter-field {
    gap: 0.32rem;
  }
  body[data-page="shop"] #shop-pet-type-form label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
  body[data-page="shop"] #shop-pet-type-form select {
    min-height: 2.8rem;
    padding: 0.66rem 1.95rem 0.66rem 0.78rem;
    border-radius: 16px;
    background-color: var(--color-white);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.05);
  }
  body[data-page="shop"] .shop-selected-filter-group {
    order: 2;
    padding: 0.1rem 0.1rem 0;
  }
  body[data-page="shop"] .shop-selected-filter-group h3 {
    display: none;
  }
  body[data-page="shop"] .filter-selected-summary {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }
  body[data-page="shop"] .filter-selected-summary::-webkit-scrollbar {
    display: none;
  }
  body[data-page="shop"] .shop-mobile-filter-toggle {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
    padding: 0.78rem 0.9rem;
    border: 1px solid rgba(240, 0, 0, 0.12);
    border-radius: 18px;
    background: linear-gradient(
      135deg,
      rgba(240, 0, 0, 0.96),
      rgba(255, 82, 82, 0.94)
    );
    color: var(--color-white);
    box-shadow: 0 14px 24px rgba(240, 0, 0, 0.18);
    text-align: left;
  }
  body[data-page="shop"] .shop-mobile-filter-toggle span,
  body[data-page="shop"] .shop-mobile-filter-toggle strong {
    display: block;
  }
  body[data-page="shop"] .shop-mobile-filter-toggle span {
    font-size: 0.96rem;
    font-weight: 800;
  }
  body[data-page="shop"] .shop-mobile-filter-toggle strong {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 700;
  }
  body[data-page="shop"] .shop-mobile-filter-toggle::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 1.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.2rem;
    font-weight: 800;
  }
  body[data-page="shop"]
    .filter-panel.is-mobile-filter-open
    .shop-mobile-filter-toggle::after {
    content: "-";
  }
  body[data-page="shop"] .shop-secondary-filter {
    display: none;
    order: 4;
  }
  body[data-page="shop"]
    .filter-panel.is-mobile-filter-open
    .shop-secondary-filter {
    display: block;
  }
  body[data-page="shop"]
    .filter-panel.is-mobile-filter-open
    .shop-secondary-filter
    + .shop-secondary-filter {
    margin-top: 0;
  }
  body[data-page="track-order"] .track-workspace {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  body[data-page="track-order"] .track-result-shell {
    position: static;
    top: auto;
    min-height: auto;
  }
  body[data-page="track-order"] .page-hero::after,
  body[data-page="track-order"] .track-control-card::after {
    right: 0;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 1.1rem, 100%);
  }
  .page-shell {
    padding: 1.2rem 0 3.5rem;
  }
  body[data-page="home"] .page-shell {
    padding-top: calc(var(--header-height)+5.75rem);
  }
  .brand-copy span {
    display: none;
  }
  .mobile-brand .brand-copy span {
    display: block;
  }
  .about-hero-panel,
  .contact-hero-panel {
    padding: 1.2rem;
  }
  .hero-copy,
  .page-hero,
  .detail-panel,
  .summary-card,
  .account-card,
  .auth-panel,
  .contact-card,
  .story-block,
  .values-grid,
  .contact-map {
    padding: 1.2rem;
  }
  .about-story-card,
  .about-story-side,
  .about-promise-card,
  .contact-form-panel,
  .contact-support-card,
  .contact-cta-banner,
  .contact-info-card,
  .about-feature-card {
    padding: 1rem;
  }
  .about-hero-visual {
    min-height: 260px;
  }
  .about-promise-list,
  .about-feature-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .about-cta-banner,
  .contact-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-cta-actions {
    width: 100%;
  }
  .contact-cta-actions .cta-button,
  .contact-cta-actions .ghost-button {
    flex: 1;
  }
  .floating-card.primary,
  .floating-card.secondary,
  .floating-card.tertiary {
    position: static;
    width: 100%;
    margin-top: 0.9rem;
  }
  .hero-visual {
    min-height: auto;
  }
  .hero-card-stack {
    position: static;
  }
  .hero-banner img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
    margin-top: 0px;
    margin-bottom: 0;
  }
  .hero-banner-slider,
  .hero-banner {
    height: auto;
    aspect-ratio: 1159 / 1358;
    min-height: 0;
    max-height: none;
    margin-top: 2.25rem;
    overflow: hidden;
  }
  .hero-banner-skeleton-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1159 / 1358;
    min-height: 0;
  }
  .hero-banner-track,
  .hero-banner-slide,
  .hero-banner-frame {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
  .home-banner-track,
  .home-banner-slide {
    height: auto;
  }
  body[data-page="home"]
    .hero-banner[data-home-hero-banner]
    .hero-banner-controls {
    display: none;
  }
  .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spotlight-art {
    min-height: 140px;
  }
  .category-circle-card,
  .category-circle-media {
    width: 104px;
  }
  .category-circle-media {
    height: 104px;
  }
  .table-item,
  .cart-line,
  .order-line,
  .address-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-actions {
    flex-direction: column;
  }
  .detail-layout {
    margin-top: 1.25rem;
    gap: 1rem;
  }
  .detail-gallery {
    padding: 0.85rem;
    border-radius: 24px;
  }
  body[data-page="product-details"] .detail-layout--premium {
    gap: 1rem;
  }
  body[data-page="product-details"] .detail-gallery--premium,
  body[data-page="product-details"] .detail-summary--premium {
    padding: 0.95rem;
  }
  body[data-page="product-details"] .detail-main-image {
    min-height: 280px;
    aspect-ratio: 1 / 0.95;
  }
  body[data-page="product-details"] .detail-gallery-badges {
    transform: scale(0.92);
    transform-origin: top left;
  }
  body[data-page="product-details"] .detail-gallery::before {
    right: 0;
  }
  .detail-main-image {
    aspect-ratio: 4 / 3;
    padding: 0.55rem;
    border-radius: 22px;
  }
  .detail-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
  body[data-page="product-details"] .detail-trust-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="product-details"] .detail-related-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="product-details"] .detail-related-card {
    padding: 0.75rem;
  }
  body[data-page="product-details"] .detail-quantity {
    width: 100%;
    justify-content: space-between;
  }
  body[data-page="product-details"] .detail-wishlist-button,
  body[data-page="product-details"] .detail-related-view {
    min-height: 2.6rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.84rem;
    line-height: 1.2;
  }
  body[data-page="product-details"] .detail-related-wishlist {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.88rem;
    top: 0.55rem;
    right: 0.55rem;
  }
  .detail-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
  }
  .detail-gallery {
    gap: 0.65rem;
  }
  body[data-page="shop"] .layout-two-column .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    justify-content: start;
    gap: 0.4rem;
  }
  body[data-page="shop"] .filter-chip-row {
    justify-content: flex-start;
  }
  body[data-page="shop"] .filter-chip {
    min-height: 2.45rem;
  }
  body[data-page="shop"] .shop-filter-panel:has(#shop-pet-type-form) {
    margin-top: 0;
  }
  body[data-page="shop"] #shop-pet-type-form select {
    min-height: 2.85rem;
    font-size: 0.9rem;
  }
  body[data-page="shop"] .product-card.is-compact {
    max-width: 100%;
    min-height: 0;
  }
  .shop-pagination {
    justify-content: center;
  }
  .shop-pagination-button,
  .shop-pagination-number {
    min-width: 2.45rem;
    min-height: 2.45rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.84rem;
  }
  .product-card.is-compact .product-body {
    padding: 0.46rem 0.46rem 0.54rem;
  }
  .product-card.is-compact h3 {
    font-size: 0.86rem;
  }
  .product-card.is-compact p {
    font-size: 0.74rem;
  }
  .product-card.is-compact .product-actions a,
  .product-card.is-compact .product-actions button,
  .product-card.is-compact .pill-button {
    padding: 0.36rem 0.42rem;
    font-size: 0.72rem;
  }
  .product-card.is-compact .variant-chip {
    padding: 0.18rem 0.3rem;
    font-size: 0.62rem;
  }
  .product-card.is-compact .product-media {
    aspect-ratio: 1 / 1;
    padding: 0.22rem;
  }
  body[data-page="product-details"] .detail-summary h1 {
    font-size: 1.8rem;
  }
  body[data-page="product-details"] .detail-summary > p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  body[data-page="product-details"] .detail-panel.detail-summary::before {
    right: 0;
  }
  body[data-page="product-details"] .detail-layout,
  body[data-page="product-details"] .detail-gallery,
  body[data-page="product-details"] .detail-summary,
  body[data-page="product-details"] .section-block,
  body[data-page="product-details"] .product-grid,
  body[data-page="product-details"] .product-card {
    min-width: 0;
    max-width: 100%;
  }
  body[data-page="product-details"] .detail-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 76px));
    justify-content: start;
    overflow: hidden;
  }
  body[data-page="product-details"] .detail-thumb {
    min-width: 0;
    max-width: 100%;
  }
  body[data-page="product-details"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }
  body[data-page="product-details"] .product-card.is-compact {
    min-width: 0;
    max-width: 100%;
  }
  body[data-page="product-details"] .detail-related-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="product-details"] .detail-pack-header,
  body[data-page="product-details"] .detail-spec-row,
  body[data-page="product-details"] .detail-benefit-card {
    padding: 0.78rem 0.85rem;
  }
  body[data-page="product-details"] .detail-spec-row {
    align-items: flex-start;
  }
  body[data-page="product-details"] .detail-spec-row strong {
    font-size: 0.86rem;
  }
  .wishlist-item-shell .wishlist-remove-button {
    padding: 0.82rem 0.9rem;
    font-size: 0.84rem;
  }
  .category-highlight-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .category-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.65rem;
  }
  .category-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .selected-pack-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  body[data-page="track-order"] .page-hero {
    padding: 1.25rem;
    border-radius: 24px;
  }
  body[data-page="track-order"] .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3rem);
  }
  body[data-page="track-order"] .track-control-card,
  body[data-page="track-order"] .track-result-shell {
    padding: 1rem;
    border-radius: 24px;
  }
  body[data-page="track-order"] .track-control-top,
  body[data-page="track-order"] .track-result-top {
    flex-direction: column;
    align-items: flex-start;
  }
  body[data-page="track-order"] .track-control-badges {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    min-width: 0;
  }
  body[data-page="track-order"] .track-control-badges span {
    font-size: 0.68rem;
    padding: 0.45rem 0.65rem;
  }
  body[data-page="track-order"] .track-search-form,
  body[data-page="track-order"] .track-recent-orders {
    padding: 0.85rem;
    border-radius: 20px;
  }
  body[data-page="track-order"] .track-result-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="track-order"] .track-result-top h2,
  body[data-page="track-order"] .track-recent-item span {
    overflow-wrap: anywhere;
  }
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body[data-page] .page-shell {
    padding-top: calc(var(--header-height)+0.85rem);
  }
  .site-header {
    width: 100vw;
    max-width: 100vw;
    overflow: visible;
  }
  .site-header .container {
    width: 100vw;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.32rem;
    padding: 0.46rem 0.42rem 0.46rem 0.02rem;
  }
  .nav-shell .brand {
    width: auto;
    max-width: 100%;
    gap: 0;
    margin-left: -0.18rem;
    margin-right: -0.08rem;
  }
  .nav-shell .brand-logo {
    width: 5.9rem;
    height: auto;
    max-width: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    object-position: left center;
  }
  .nav-search-shell {
    grid-column: 2;
    grid-row: 1;
  }
  .nav-search {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    min-height: 2.85rem;
    padding: 0.22rem 0.24rem 0.22rem 0.88rem;
    border-radius: 22px;
    gap: 0.3rem;
  }
  .nav-search input {
    width: 100%;
    min-width: 0;
    font-size: 0.78rem;
  }
  .nav-search button {
    width: auto;
    min-width: 0;
    min-height: 2.2rem;
    padding: 0.5rem 0.82rem;
    font-size: 0.72rem;
    box-shadow: none;
  }
  .hamburger {
    flex-basis: auto;
    flex-shrink: 0;
    width: 3.15rem;
    height: 3.15rem;
    min-width: 3.15rem;
    min-height: 3.15rem;
    border-radius: 18px;
    margin-left: 0.12rem;
    overflow: visible;
  }
  body[data-page="home"] .page-shell {
    padding-top: calc(var(--header-height)+0.75rem);
  }
  body[data-page="checkout"] .checkout-grid .account-card,
  body[data-page="checkout"] .checkout-grid .detail-panel,
  body[data-page="checkout"] .checkout-grid .summary-stack {
    padding: 0.78rem;
    border-radius: 18px;
  }
  body[data-page="checkout"] .checkout-grid h2 {
    font-size: 1.28rem;
  }
  body[data-page="checkout"] .checkout-grid .field input,
  body[data-page="checkout"] .checkout-grid .field textarea,
  body[data-page="checkout"] .checkout-grid .field select {
    font-size: 0.86rem;
  }
  body[data-page="checkout"] .checkout-location-map {
    min-height: 170px;
  }
  .admin-most-purchased-grid,
  .admin-most-purchased-meta {
    grid-template-columns: 1fr;
  }
  body[data-page="track-order"] .track-workspace {
    gap: 0.85rem;
  }
  body[data-page="track-order"] .track-recent-head,
  body[data-page="track-order"] .track-recent-item,
  body[data-page="track-order"] .track-recent-skeleton {
    flex-direction: column;
    align-items: flex-start;
  }
  body[data-page="track-order"] .track-recent-item,
  body[data-page="track-order"] .track-recent-skeleton {
    gap: 0.45rem;
    padding: 0.8rem 0.85rem;
  }
  body[data-page="track-order"] .track-result-card {
    min-height: auto;
    padding: 0.85rem;
  }
  body[data-page="thank-you"] .page-hero,
  body[data-page="my-orders"] .orders-hero-card,
  body[data-page="my-orders"] .order-card-premium {
    padding: 1rem;
    border-radius: 22px;
  }
  body[data-page="thank-you"] .thank-you-meta-grid,
  body[data-page="my-orders"] .orders-grid-shell {
    grid-template-columns: 1fr;
  }
  body[data-page="my-orders"] .orders-grid {
    gap: 1rem;
  }
  body[data-page="thank-you"] .thank-you-actions,
  body[data-page="my-orders"] .order-card-top,
  body[data-page="my-orders"] .order-card-actions,
  body[data-page="my-orders"] .order-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  body[data-page="my-orders"] .orders-hero-card {
    gap: 1rem;
  }
  body[data-page="my-orders"] .orders-hero-card,
  body[data-page="my-orders"] .order-card-meta {
    grid-template-columns: 1fr;
  }
  body[data-page="my-orders"] .orders-hero-copy,
  body[data-page="my-orders"] .order-card-top > div,
  body[data-page="my-orders"] .order-card-amount,
  body[data-page="my-orders"] .order-card-stack,
  body[data-page="my-orders"] .order-card-actions {
    min-width: 0;
  }
  body[data-page="my-orders"] .orders-hero-copy h2,
  body[data-page="my-orders"] .order-card-top strong,
  body[data-page="my-orders"] .order-card-top .muted,
  body[data-page="my-orders"] .orders-hero-copy p,
  body[data-page="thank-you"] .thank-you-meta-card strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  body[data-page="my-orders"] .order-card-top > div,
  body[data-page="my-orders"] .order-card-top .badge {
    min-width: 0;
  }
  body[data-page="my-orders"] .order-card-top .badge {
    align-self: flex-start;
  }
  body[data-page="my-orders"] .order-track-link,
  body[data-page="my-orders"] .order-view-link,
  body[data-page="thank-you"] .thank-you-actions .cta-button,
  body[data-page="thank-you"] .thank-you-actions .ghost-button {
    width: 100%;
    justify-content: center;
  }
  body[data-page="my-orders"] .order-card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  body[data-page="my-orders"] .order-card-footer {
    justify-content: stretch;
  }
  body[data-page="my-orders"] .order-card-footer > * {
    width: 100%;
  }
}
@media (max-width: 560px) {
  body[data-page="checkout"] .page-shell {
    padding-top: calc(var(--header-height)+0.8rem) !important;
    padding-bottom: 5.8rem !important;
  }
  body[data-page="checkout"] .checkout-mobile-total-card {
    display: none !important;
  }
  body[data-page="checkout"] .checkout-mobile-products {
    display: grid !important;
    margin-top: 0 !important;
  }
  body[data-page="checkout"] .checkout-mobile-sticky {
    z-index: 2600 !important;
  }
}
@media (max-width: 560px) {
  body[data-page="checkout"] .checkout-grid,
  body[data-page="checkout"] .detail-panel,
  body[data-page="checkout"] .summary-card,
  body[data-page="checkout"] .checkout-mobile-total-card,
  body[data-page="checkout"] .checkout-mobile-products,
  body[data-page="checkout"] .checkout-step-card,
  body[data-page="checkout"] .checkout-coupon-card,
  body[data-page="checkout"] .checkout-selected-address,
  body[data-page="checkout"] .checkout-method-card,
  body[data-page="checkout"] .checkout-payment-option,
  body[data-page="checkout"] .checkout-coupon-summary-button {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body[data-page="checkout"] .checkout-mobile-total-card {
    grid-template-columns: 1fr !important;
  }
  body[data-page="checkout"] .checkout-item-strip {
    max-width: 100% !important;
    justify-content: flex-start !important;
  }
  body[data-page="checkout"] .checkout-step-card h2 {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
  }
  body[data-page="checkout"] .checkout-step-card h2 .checkout-card-icon {
    flex: 0 0 2rem !important;
  }
  body[data-page="checkout"] .checkout-step-card h2 .checkout-mobile-change {
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }
  body[data-page="checkout"] .checkout-selected-address,
  body[data-page="checkout"] .checkout-method-card,
  body[data-page="checkout"] .checkout-payment-option {
    padding-left: 2.55rem !important;
  }
  body[data-page="checkout"] .checkout-payment-option {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.55rem !important;
  }
  body[data-page="checkout"] .checkout-payment-option input {
    flex: 0 0 1rem !important;
  }
  body[data-page="checkout"] .checkout-payment-option div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  body[data-page="checkout"] .checkout-mobile-product {
    grid-template-columns: 2.8rem minmax(0, 1fr) auto !important;
    gap: 0.55rem !important;
  }
  body[data-page="checkout"] .checkout-mobile-product img {
    width: 2.8rem !important;
    height: 2.8rem !important;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button {
    display: flex !important;
    align-items: center !important;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button::before {
    flex: 0 0 2rem !important;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  body[data-page="checkout"] .checkout-mobile-sticky {
    grid-template-columns: minmax(88px, 0.82fr) minmax(0, 1.18fr) !important;
    z-index: 2500 !important;
  }
}
@media (max-width: 640px) {
  body[data-page="checkout"] {
    overflow-x: hidden !important;
    background: #f7f7f8 !important;
  }
  body[data-page="checkout"] .page-shell {
    padding-top: calc(var(--header-height)+0.75rem) !important;
    padding-bottom: 5.8rem !important;
  }
  body[data-page="checkout"] .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 0.38rem !important;
  }
  body[data-page="checkout"] .checkout-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.68rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }
  body[data-page="checkout"] .detail-panel,
  body[data-page="checkout"] .summary-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  body[data-page="checkout"] .detail-panel {
    display: grid !important;
    gap: 0.68rem !important;
  }
  body[data-page="checkout"] .summary-card {
    position: static !important;
    display: grid !important;
    gap: 0.68rem !important;
  }
  body[data-page="checkout"] .checkout-mobile-total-card,
  body[data-page="checkout"] .checkout-mobile-products,
  body[data-page="checkout"] .checkout-step-card,
  body[data-page="checkout"] .checkout-coupon-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(17, 17, 17, 0.08) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.05) !important;
    overflow: hidden !important;
  }
  body[data-page="checkout"] .checkout-mobile-total-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 0.6rem !important;
    padding: 0.75rem 0.78rem !important;
  }
  body[data-page="checkout"] .checkout-mobile-total-card strong {
    font-size: 1.95rem !important;
    line-height: 1.02 !important;
    overflow-wrap: anywhere !important;
  }
  body[data-page="checkout"] .checkout-item-strip {
    max-width: 9.4rem !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 0.3rem !important;
    overflow: hidden !important;
  }
  body[data-page="checkout"] .checkout-item-thumb {
    width: 2.35rem !important;
    height: 2.35rem !important;
    flex: 0 0 2.35rem !important;
    border-radius: 8px !important;
  }
  body[data-page="checkout"] .checkout-mobile-products {
    display: grid !important;
    gap: 0 !important;
    padding: 0.1rem 0.78rem !important;
  }
  body[data-page="checkout"] .checkout-mobile-products-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 0.8rem !important;
    padding: 0.72rem 0 !important;
    border-bottom: 1px solid rgba(17, 17, 17, 0.07) !important;
  }
  body[data-page="checkout"] .checkout-mobile-products-head span,
  body[data-page="checkout"] .checkout-mobile-products-head small {
    display: block !important;
    color: var(--color-text-soft) !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }
  body[data-page="checkout"] .checkout-mobile-products-head strong {
    display: block !important;
    color: #111111 !important;
    font-size: 1.55rem !important;
    line-height: 1.05 !important;
  }
  body[data-page="checkout"] .checkout-mobile-products-head .is-saving,
  body[data-page="checkout"] .checkout-mobile-products-head .is-free {
    color: #079343 !important;
  }
  body[data-page="checkout"] .checkout-mobile-product {
    display: grid !important;
    grid-template-columns: 3.1rem minmax(0, 1fr) auto !important;
    gap: 0.65rem !important;
    align-items: center !important;
    padding: 0.68rem 0 !important;
    border-bottom: 1px solid rgba(17, 17, 17, 0.07) !important;
  }
  body[data-page="checkout"] .checkout-mobile-product:last-child {
    border-bottom: 0 !important;
  }
  body[data-page="checkout"] .checkout-mobile-product img {
    width: 3.1rem !important;
    height: 3.1rem !important;
    border-radius: 9px !important;
    background: #f6f6f6 !important;
    object-fit: contain !important;
  }
  body[data-page="checkout"] .checkout-mobile-product div {
    min-width: 0 !important;
  }
  body[data-page="checkout"] .checkout-mobile-product strong,
  body[data-page="checkout"] .checkout-mobile-product span {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  body[data-page="checkout"] .checkout-mobile-product strong {
    color: #111111 !important;
    font-size: 0.84rem !important;
    font-weight: 900 !important;
  }
  body[data-page="checkout"] .checkout-mobile-product span {
    color: var(--color-text-soft) !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
  }
  body[data-page="checkout"] .checkout-mobile-product b {
    color: #111111 !important;
    font-size: 0.84rem !important;
    white-space: nowrap !important;
  }
  body[data-page="checkout"] .checkout-step-card {
    display: grid !important;
    gap: 0.55rem !important;
    padding: 0.78rem !important;
  }
  body[data-page="checkout"] .checkout-step-card h2 {
    display: grid !important;
    grid-template-columns: 2rem minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    color: #111111 !important;
    font-size: 0.96rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }
  body[data-page="checkout"] .checkout-card-icon {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
  }
  body[data-page="checkout"] .checkout-change-button {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 1.95rem !important;
    padding: 0.34rem 0.66rem !important;
    white-space: nowrap !important;
  }
  body[data-page="checkout"] .checkout-selected-address,
  body[data-page="checkout"] .checkout-method-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.45rem !important;
    padding: 0 0 0 2.55rem !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body[data-page="checkout"] .checkout-payment-option {
    display: grid !important;
    grid-template-columns: 1.15rem minmax(0, 1fr) !important;
    gap: 0.55rem !important;
    padding: 0 0 0 2.55rem !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  body[data-page="checkout"] .checkout-payment-option input {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    margin: 0.12rem 0 0 !important;
  }
  body[data-page="checkout"] .checkout-method-icon {
    display: none !important;
  }
  body[data-page="checkout"] .checkout-payment-option div {
    min-width: 0 !important;
    max-width: 100% !important;
    display: grid !important;
    gap: 0.12rem !important;
  }
  body[data-page="checkout"] .checkout-selected-address > .checkout-card-icon,
  body[data-page="checkout"] .checkout-selected-address > label,
  body[data-page="checkout"]
    .checkout-selected-address
    .checkout-address-actions {
    display: none !important;
  }
  body[data-page="checkout"] .checkout-address-copy,
  body[data-page="checkout"] .checkout-method-card > div,
  body[data-page="checkout"] .checkout-payment-option {
    min-width: 0 !important;
  }
  body[data-page="checkout"] .checkout-address-copy strong,
  body[data-page="checkout"] .checkout-address-copy p,
  body[data-page="checkout"] .checkout-method-card strong,
  body[data-page="checkout"] .checkout-method-card p,
  body[data-page="checkout"] .checkout-payment-option span,
  body[data-page="checkout"] .checkout-payment-option small {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    word-break: normal !important;
  }
  body[data-page="checkout"] .checkout-method-card b {
    align-self: start !important;
    color: #079343 !important;
    font-size: 0.86rem !important;
  }
  body[data-page="checkout"] .checkout-success-note {
    margin-left: 2.55rem !important;
    padding: 0.55rem 0.64rem !important;
    border-radius: 8px !important;
    font-size: 0.72rem !important;
  }
  body[data-page="checkout"] .checkout-coupon-card {
    padding: 0.78rem !important;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button {
    grid-template-columns: 2rem minmax(0, 1fr) auto !important;
    gap: 0.55rem !important;
    width: 100% !important;
  }
  body[data-page="checkout"] .checkout-coupon-summary-button span,
  body[data-page="checkout"] .checkout-coupon-summary-button small {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  body[data-page="checkout"] .checkout-trust-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  body[data-page="checkout"] .checkout-trust-row span {
    min-width: 0 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }
  body[data-page="checkout"] .checkout-mobile-sticky {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    gap: 0.62rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  body[data-page="checkout"] .checkout-mobile-sticky .cta-button {
    width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 560px) {
  body[data-page="thank-you"] .page-hero h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.2rem);
  }
  body[data-page="thank-you"] .page-hero p,
  body[data-page="my-orders"] .orders-hero-copy p,
  body[data-page="my-orders"] .order-card-top .muted {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  body[data-page="thank-you"] .thank-you-summary h2,
  body[data-page="my-orders"] .orders-hero-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.08;
  }
  body[data-page="thank-you"] .thank-you-meta-card,
  body[data-page="thank-you"] .thank-you-note,
  body[data-page="my-orders"] .order-card-amount,
  body[data-page="my-orders"] .order-chip {
    padding: 0.9rem;
    border-radius: 18px;
  }
  body[data-page="my-orders"] .orders-hero-stats,
  body[data-page="my-orders"] .order-card-stack {
    grid-template-columns: 1fr;
  }
  body[data-page="thank-you"] .thank-you-meta-card {
    min-width: 0;
  }
  body[data-page="thank-you"] .thank-you-meta-card strong {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    line-height: 1.45;
    font-size: 0.94rem;
  }
  body[data-page="my-orders"] .orders-hero-stats,
  body[data-page="my-orders"] .order-card-stack {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  body[data-page="my-orders"] .order-card-top strong {
    font-size: 1.02rem;
    line-height: 1.2;
  }
  body[data-page="my-orders"] .order-card-amount strong,
  body[data-page="my-orders"] .order-chip strong {
    font-size: 0.98rem;
  }
  body[data-page="my-orders"] .order-details-modal {
    width: min(100%, calc(100vw - 1rem));
    padding: 1rem;
    border-radius: 22px;
  }
  body[data-page="my-orders"] .order-details-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem;
  }
  body[data-page="my-orders"] .order-details-summary .order-chip {
    min-width: 0;
    min-height: 6.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }
  body[data-page="my-orders"] .order-details-summary .order-chip span,
  body[data-page="my-orders"] .order-details-summary .order-chip strong {
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
  }
  body[data-page="my-orders"] .order-details-header {
    flex-direction: column;
    align-items: stretch;
  }
  body[data-page="my-orders"] .order-details-close {
    align-self: flex-end;
  }
  body[data-page="my-orders"] .order-details-items-head,
  body[data-page="my-orders"] .order-item-card {
    gap: 0.65rem;
  }
  body[data-page="my-orders"] .order-item-card {
    flex-direction: column;
    align-items: flex-start;
  }
  body[data-page="thank-you"] .thank-you-meta-card strong {
    font-size: 0.94rem;
  }
  body[data-page="thank-you"] .thank-you-actions {
    width: 100%;
  }
  body[data-page="thank-you"] .thank-you-actions .cta-button,
  body[data-page="thank-you"] .thank-you-actions .ghost-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 640px) {
  body[data-page="my-orders"] .order-details-modal {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 22px 18px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  body[data-page="my-orders"] .order-details-summary {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  body[data-page="my-orders"] .order-details-summary .order-chip {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 92px !important;
    padding: 14px 12px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    white-space: normal !important;
  }
  body[data-page="my-orders"] .order-details-summary .order-chip * {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}
@media (max-width: 560px) {
  body[data-page="checkout"] {
    overflow-x: hidden !important;
  }
  body[data-page="checkout"] .page-shell {
    min-height: 0 !important;
    padding-top: calc(var(--header-height)+0.75rem) !important;
    padding-bottom: 5rem !important;
  }
  body[data-page="checkout"] .checkout-grid,
  body[data-page="checkout"] .detail-panel,
  body[data-page="checkout"] .summary-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body[data-page="checkout"] .checkout-mobile-total-card,
  body[data-page="checkout"] .checkout-payment-field,
  body[data-page="checkout"] #site-footer,
  body[data-page="checkout"] .footer {
    display: none !important;
  }
  body[data-page="checkout"] .checkout-mobile-products,
  body[data-page="checkout"] .checkout-step-card,
  body[data-page="checkout"] .checkout-coupon-card {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  body[data-page="checkout"] .checkout-trust-row {
    margin: 0 !important;
    padding: 0.15rem 0.2rem !important;
  }
  body[data-page="checkout"] .checkout-mobile-sticky {
    display: grid !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 640px) {
  body[data-page="home"] .hero-banner,
  body[data-page="home"] .hero-banner-slider {
    margin-top: 5rem !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }
  body[data-page="home"] .hero-banner-track,
  body[data-page="home"] .hero-banner-slide,
  body[data-page="home"] .hero-banner-frame {
    height: auto !important;
    overflow: visible !important;
  }
  body[data-page="home"] .hero-banner img,
  body[data-page="home"] .hero-banner-frame img,
  body[data-page="home"] .hero-banner-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}
@media (max-width: 640px) {
  body[data-page="home"] .hero-banner,
  body[data-page="home"] .hero-banner-slider {
    margin-top: 5rem !important;
    padding-top: 0 !important;
    aspect-ratio: 1159/1358 !important;
    height: auto !important;
    overflow: hidden !important;
  }
  body[data-page="home"] .hero-banner-track,
  body[data-page="home"] .hero-banner-slide,
  body[data-page="home"] .hero-banner-frame {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1159/1358 !important;
    overflow: hidden !important;
  }
  body[data-page="home"] .hero-banner img,
  body[data-page="home"] .hero-banner-frame img,
  body[data-page="home"] .hero-banner-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}
@media (max-width: 640px) {
  body[data-page="shop"] .shop-coming-soon-panel h2 {
    font-size: clamp(1.35rem, 5vw, 1.9rem) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere !important;
  }
}
@media (max-width: 640px) {
  body[data-page="shop"] .shop-coming-soon-category {
    font-size: 0.86rem;
    margin-bottom: 0.75rem;
  }
}
@media (max-width: 640px) {
  body[data-page="shop"] .shop-coming-soon-panel {
    min-height: 320px !important;
    padding: 1.8rem 1.25rem !important;
    border-radius: 24px !important;
  }
  body[data-page="shop"] .shop-coming-soon-panel h2 {
    max-width: none !important;
    font-size: clamp(2.4rem, 12vw, 4rem) !important;
    line-height: 0.98 !important;
    overflow-wrap: anywhere !important;
  }
  body[data-page="shop"] .shop-coming-soon-panel p {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }
  body[data-page="shop"] .shop-coming-soon-category {
    font-size: 0.86rem !important;
    margin-bottom: 0.75rem !important;
  }
  body[data-page="shop"] .shop-coming-soon-actions .cta-button {
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0.45rem !important;
  }
}
@media (max-width: 768px) {
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-panel {
    min-height: 300px !important;
    padding: 1.6rem !important;
    border-radius: 22px !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-panel
    h2 {
    font-size: clamp(2.2rem, 10vw, 3.6rem) !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-actions
    .cta-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}
@media (max-width: 768px) {
  body[data-page="shop"] .layout-two-column {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  body[data-page="shop"] .layout-two-column > div:last-child,
  body[data-page="shop"] #shop-product-grid.is-coming-soon {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 300px !important;
    padding: 1.45rem !important;
    border-radius: 22px !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-copy {
    width: 100% !important;
    max-width: 100% !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-panel
    h2 {
    font-size: clamp(2rem, 10vw, 3.25rem) !important;
    line-height: 1 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-category {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-panel
    p {
    font-size: 0.96rem !important;
  }
  body[data-page="shop"]
    #shop-product-grid.is-coming-soon
    .shop-coming-soon-actions
    .cta-button {
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 1rem !important;
  }
}
@media (max-width: 768px) {
  body[data-page="shop"] .layout-two-column {
    overflow: visible !important;
  }
  body[data-page="shop"] .filter-panel,
  body[data-page="shop"] .shop-filter-panel:has(#shop-pet-type-form) {
    overflow: visible !important;
  }
  body[data-page="shop"] .shop-primary-filter-group {
    padding-top: 1rem !important;
  }
  body[data-page="shop"] #shop-pet-type-form {
    padding-top: 0.35rem !important;
    row-gap: 0.9rem !important;
  }
  body[data-page="shop"] #shop-pet-type-form .shop-filter-field {
    padding-top: 0.18rem !important;
  }
}
@media (max-width: 768px) {
  body[data-page="shop"] .filter-panel {
    max-height: none !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
  }
  body[data-page="shop"] .filter-panel.is-mobile-filter-open {
    max-height: calc(100dvh - var(--header-height) - 1rem) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }
  body[data-page="shop"]
    .filter-panel.is-mobile-filter-open
    .shop-filter-panel:has(#shop-pet-type-form),
  body[data-page="shop"]
    .filter-panel.is-mobile-filter-open
    .shop-secondary-filter {
    overflow: visible !important;
  }
}
@media (max-width: 768px) {
  body[data-page="shop"] .filter-panel.is-mobile-filter-open {
    max-height: none !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
  }
  body[data-page="shop"] #shop-pet-type-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body[data-page="shop"] #shop-pet-type-form .shop-filter-field-wide {
    grid-column: 1/-1 !important;
  }
  body[data-page="shop"] #shop-pet-type-form select {
    min-height: 3.2rem !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
  }
}
@media (max-width: 768px) {
  body[data-page="shop"] #shop-pet-type-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body[data-page="shop"] #shop-pet-type-form .shop-filter-field-wide {
    grid-column: auto !important;
  }
  body[data-page="shop"] #shop-pet-type-form select {
    font-size: 0.9rem !important;
  }
  body[data-page="shop"] #shop-pet-type-form select.is-mobile-select-open {
    height: auto !important;
    max-height: 18rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 768px) {
  body[data-page="shop"] #shop-pet-type-form select.is-mobile-select-open {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
}
@media (max-width:820px){body[data-page="checkout"] .checkout-mobile-breakup-button{display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}}
@media (max-width:820px){body[data-page="checkout"] .summary-card.is-mobile-breakup-open .checkout-summary-head,body[data-page="checkout"] .summary-card.is-mobile-breakup-open .checkout-summary-products,body[data-page="checkout"] .summary-card.is-mobile-breakup-open .checkout-price-lines,body[data-page="checkout"] .summary-card.is-mobile-breakup-open .checkout-total-panel{display:grid !important}body[data-page="checkout"] .summary-card.is-mobile-breakup-open .checkout-summary-head{grid-template-columns:minmax(0,1fr) auto;align-items:center}}

/* Keep the applied coupon removable in the compact mobile checkout. */
@media (max-width: 820px) {
    body[data-page="checkout"] #remove-coupon-button {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0.5rem 0;
    }
}
@media (max-width:640px){body[data-page=home] .hero-banner,body[data-page=home] .hero-banner-slider{margin-top:.75rem!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;background:#fff7f7!important}body[data-page=home] .hero-banner-track,body[data-page=home] .hero-banner-slide,body[data-page=home] .hero-banner-frame{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;overflow:visible!important}body[data-page=home] .hero-banner-frame,body[data-page=home] .hero-banner picture,body[data-page=home] .hero-banner-slide picture{display:block!important}body[data-page=home] .hero-banner img,body[data-page=home] .hero-banner-frame img,body[data-page=home] .hero-banner-slide img,body[data-page=home] .home-banner-slide img{width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important;object-position:center top!important;display:block!important}}
@media (max-width:640px){:root{--header-height:166px}body[data-page=home] .page-shell{padding-top:var(--header-height)!important}body[data-page=home] .hero-banner,body[data-page=home] .hero-banner-slider{margin-top:0!important}}@media (max-width:380px){:root{--header-height:174px}}
@media (max-width:640px){:root{--header-height:158px}body[data-page=home] .page-shell{padding-top:158px!important}body[data-page=home] .hero-banner,body[data-page=home] .hero-banner-slider{margin-top:0!important;padding-top:0!important}.nav-delivery-panel{top:calc(var(--header-height) + .45rem)!important;left:.75rem!important;right:.75rem!important;width:auto!important;max-width:none!important;padding:.82rem!important;border-radius:18px!important}.nav-delivery-form{grid-template-columns:2.5rem minmax(0,1fr) auto!important;gap:.42rem!important}.nav-delivery-form button{grid-column:auto!important;min-height:2.75rem!important;padding:0 .9rem!important;white-space:nowrap!important}}
@media (max-width:640px){body[data-page=home] .page-shell{padding-top:70px!important}body[data-page=home] .hero-banner,body[data-page=home] .hero-banner-slider{margin-top:0!important;padding-top:0!important}}@media (max-width:380px){body[data-page=home] .page-shell{padding-top:66px!important}}
@media (max-width:640px){body[data-page=home] .site-header{position:relative!important;top:auto!important;left:auto!important;right:auto!important}body[data-page=home] .page-shell{padding-top:0!important}body[data-page=home] .hero-banner,body[data-page=home] .hero-banner-slider{margin-top:0!important;padding-top:0!important}}

@media (max-width:640px){body[data-page="home"] .hero-banner,body[data-page="home"] .hero-banner-slider,body[data-page="home"] .hero-banner-track,body[data-page="home"] .hero-banner-slide,body[data-page="home"] .hero-banner-frame{aspect-ratio:769/900!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}body[data-page="home"] .hero-banner img,body[data-page="home"] .hero-banner-frame img,body[data-page="home"] .hero-banner-slide img,body[data-page="home"] .home-banner-slide img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;display:block!important}}
