.product-time-notices {
  display: grid;
  gap: 7px;
  margin: 8px 0;
}

.product-time-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  padding: 9px 11px;
  border: 1px solid #d9e5ed;
  border-radius: 10px;
  background: #f6fafc;
  color: #21465c;
  font-size: 12px;
  line-height: 1.35;
}

.product-time-notice i {
  width: 16px;
  text-align: center;
}

.product-time-notice strong {
  font-size: 13px;
}

.product-time-notice.upcoming {
  border-color: #e8c764;
  background: #fff9db;
  color: #755500;
}

.product-time-notice.sale-upcoming {
  border-color: #e8c764;
  background: #fff9db;
  color: #755500;
}

.product-time-notice.ended {
  border-color: #efb5b5;
  background: #fff0f0;
  color: #9b2929;
}

.product-time-notice.ordering {
  border-color: #8dcdb7;
  background: #edfbf6;
  color: #17664f;
}

.product-time-notice.sale {
  border-color: #f3a0b7;
  background: #fff0f5;
  color: #9a2548;
}

.product-countdown {
  font-weight: 700;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.cart-item.time-blocked {
  border-color: #efb5b5;
  background: #fff9f9;
}

.cart-time-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #9b2929;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
}

.checkout-time-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #9b2929;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 12px;
  border: 1px solid #efb5b5;
  border-radius: 10px;
  background: #fff0f0;
  margin-bottom: 10px;
}

.cart-time-warning-banner {
  padding: 10px 12px;
  border: 1px solid #efb5b5;
  border-radius: 10px;
  background: #fff0f0;
  margin-bottom: 10px;
}

.cart-remove-required {
  color: #9b2929;
  font-size: 12px;
  font-weight: 700;
}

.checkout-product-table .time-blocked-row {
  background: #fff1f1;
}

.checkout-product-table .time-blocked-row td:first-child small {
  display: block;
  margin-top: 4px;
  color: #9b2929;
  font-weight: 700;
}

.reset-password-wrap {
  width: min(620px,calc(100% - 32px));
  margin: 36px auto;
}

.reset-password-wrap > .logo-link {
  justify-content: center;
  margin-bottom: 24px;
}

.reset-password-card {
  text-align: center;
}

.reset-password-card form {
  display: grid;
  gap: 10px;
  text-align: left;
  margin: 20px 0;
}

.reset-password-card form[hidden] {
  display: none;
}

.reset-password-icon {
  color: var(--blue);
  font-size: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 4px;
}

.nav-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 850;
  transition: 0.2s;
  background: transparent;
  color: var(--ink);
}

.cart-btn {
  border-radius: 999px;
  font-weight: 850;
  transition: 0.2s;
  position: relative;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 21px;
  padding: 7px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-btn:hover {
  background: #edf5fb;
  color: var(--blue);
}

.cart-count {
  position: absolute;
  right: -3px;
  top: -5px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 70px 7%;
  background: linear-gradient(
      90deg,
      #fefef2 0%,
      rgba(254, 254, 242, 0.98) 33%,
      rgba(254, 254, 242, 0.62) 52%,
      rgba(247, 251, 255, 0.12) 76%
    ),
    url("jpr-hero-scenery-clean.png") center right/cover no-repeat;
  border-bottom: 1px solid rgba(2, 87, 166, 0.08);
}

.hero:before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(253, 174, 198, 0.35);
  border-radius: 50%;
}

.hero:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(121, 174, 226, 0.35);
  border-radius: 50%;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(2, 87, 166, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  box-shadow: 0 8px 20px rgba(2, 87, 166, 0.08);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: var(--blue);
  margin: 17px 0 8px;
  letter-spacing: 1px;
  line-height: 1.12;
}

.hero p {
  max-width: 570px;
  margin: 0 0 25px;
  line-height: 1.9;
  color: var(--ink);
  font-size: 16px;
}

.hero-points {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.hero-point {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(253, 174, 198, 0.42);
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 850;
  color: var(--blue);
  box-shadow: 0 6px 15px rgba(2, 87, 166, 0.07);
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.shopbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: nowrap;
  position: sticky;
  top: 78px;
  z-index: 40;
  padding: 8px;
  border: 1px solid rgba(2, 87, 166, 0.09);
  border-radius: 16px;
  background: rgba(254, 254, 242, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px rgba(2, 87, 166, 0.08);
}

/* Keep both navigation layers inside the viewport while browsing products. */
body:not(.admin-route) > header {
  position: sticky!important;
  top: 0!important;
  width: 100%;
  max-width: 100vw;
}

.products-section .shopbar {
  position: sticky!important;
  width: 100%;
  max-width: 100%;
}

.products-section .shopbar > * {
  min-width: 0;
}

.shopbar .search { min-width: 0; }

.compact-select {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
}

.compact-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.mobile-category-select { display: none; }

.product {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 87, 166, 0.08);
  border-radius: 21px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: 0.2s;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(2, 87, 166, 0.15);
}

.social-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.cart-drawer.open {
  display: block;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 50, 79, 0.35);
  backdrop-filter: blur(3px);
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(430px, 92vw);
  background: var(--cream2);
  box-shadow: -15px 0 40px rgba(2, 87, 166, 0.18);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
}

.cart-head h2 {
  margin: 0;
  color: var(--blue);
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 12px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf3f7;
}

.cart-thumb {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4faff, var(--pink2));
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-name {
  font-weight: 850;
  font-size: 13px;
  line-height: 1.4;
}

.cart-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.cart-controls {
  margin-top: 6px;
  display: flex!important;
  align-items: center!important;
  gap: 6px!important;
}

.cart-controls button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: inline-grid!important;
  place-items: center!important;
  width: 32px!important;
  height: 32px!important;
  min-width: 32px!important;
  padding: 0!important;
  line-height: 1!important;
}

.cart-price {
  font-weight: 900;
  color: var(--blue);
  white-space: nowrap;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.checkout-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0;
}

.checkout-legal-consent {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(2, 87, 166, 0.14);
  border-radius: 11px;
  background: #f4f9ff;
  color: #314f6f;
  font-size: 12px;
  line-height: 1.65;
}

.checkout-legal-consent a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(23, 50, 79, 0.35);
  backdrop-filter: blur(4px);
  padding: 18px;
  overflow: auto;
}

.checkout-modal.open {
  display: grid;
  place-items: center;
}

.checkout-card {
  width: min(680px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: var(--cream2);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 25px 70px rgba(2, 87, 166, 0.2);
  padding: 25px;
  position: relative;
}

.checkout-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 48px;
}

.checkout-header .icon-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.checkout-card h2 {
  color: var(--blue);
  margin: 0 0 5px;
}

.checkout-summary {
  background: linear-gradient(135deg, #f3f9ff, var(--pink2));
  border: 1px solid rgba(253, 174, 198, 0.35);
  border-radius: 16px;
  padding: 14px;
  margin: 15px 0;
}

footer {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  text-align: center;
  padding: 35px 20px;
  margin-top: 30px;
}

footer .social-row {
  justify-content: center;
}

footer small {
  opacity: 0.9;
}

.footer-copyright {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.2px;
}

.topbar {
  height: 34px;
  background: linear-gradient(90deg, #064d99, #075fb2);
  color: #fff;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.topbar span {
  color: #fdaec6;
  margin: 0 6px;
}

.active-nav {
  color: var(--blue) !important;
  border-bottom: 3px solid var(--pink) !important;
  border-radius: 0 !important;
}

.cart-btn small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  font-weight: 800;
}

.hero-v6 {
  min-height: 475px;
  padding: 58px 8% 70px;
  background: linear-gradient(
      90deg,
      rgba(254, 254, 242, 0.96) 0%,
      rgba(254, 254, 242, 0.92) 27%,
      rgba(254, 254, 242, 0.38) 53%,
      rgba(254, 254, 242, 0) 76%
    ),
    url("jpr-hero-scenery-clean.png") center 58% / cover no-repeat;
  background-image: linear-gradient(
      90deg,
      rgba(254, 254, 242, 0.98) 0%,
      rgba(254, 254, 242, 0.93) 29%,
      rgba(254, 254, 242, 0.46) 54%,
      rgba(254, 254, 242, 0.08) 78%
    ),
    url("jpr-hero-scenery-clean.png");
  background-position: center,
    right center;
  background-size: cover,
    auto 92%;
  background-repeat: no-repeat;
  background-color: var(--cream);
  display: none!important;
}

.hero-v6 .hero-content {
  max-width: 560px;
}

.hero-v6 h1 {
  font-size: clamp(48px, 6vw, 72px);
  margin: 14px 0 8px;
}

.hero-v6 p {
  font-size: 16px;
  max-width: 500px;
}

.hero-v6 .hero-point {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 7px;
  min-width: 115px;
  background: rgba(255, 255, 255, 0.78);
  padding: 9px 12px;
}

.hero-v6 .hero-point small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 600;
  font-size: 10px;
}

.hero-main {
  border-radius: 10px;
  padding: 13px 25px;
  font-size: 16px;
}

.hero-main span {
  font-size: 22px;
  margin-left: 12px;
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots i {
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.hero-dots i:first-child {
  background: var(--pink);
  width: 24px;
  border-radius: 9px;
}

.service-strip {
  margin: -24px auto 0;
  position: relative;
  z-index: 4;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(2, 87, 166, 0.14);
  max-width: 1200px;
  width: min(1200px, 92%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 15px 18px;
  display: none!important;
}

.service-strip > div {
  display: grid;
  column-gap: 8px;
  align-items: center;
  border-right: 1px solid #e7edf3;
  min-width: 0;
  grid-template-columns: 45px minmax(0, 1fr);
  padding: 8px 18px;
}

.service-strip > div:last-child {
  border-right: 0;
}

.service-strip span {
  grid-row: 1/3;
  font-size: 25px;
  color: var(--pink);
}

.service-strip strong {
  color: var(--blue);
  font-size: 14px;
}

.service-strip small {
  color: var(--muted);
  font-size: 11px;
}

.category-section {
  padding-top: 48px;
}

.category-grid-v6 {
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.category-grid-v6 .cat {
  padding: 0 0 17px;
  border-radius: 20px;
  overflow: hidden;
}

.category-grid-v6 .cat h3 {
  font-size: 16px;
  margin: 12px 0 3px;
}

.category-grid-v6 .cat p {
  font-size: 10px;
  margin-bottom: 10px;
}

.category-grid-v6 .cat button {
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  padding: 7px 17px;
  font-size: 11px;
}

.product-options {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

.products#grid .pic > .product-time-notices {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  margin: 0;
}

.products#grid .pic > .quick-buy.time-blocked .product-time-notices {
  margin: 0;
}

.products#grid .pic .product-time-notice {
  border-radius: 0;
  border-right: 0;
  border-left: 0;
}

.products#grid .pic .product-time-notice.sale {
  gap: 0 6px;
  padding: 8px 6px;
  background: rgb(255 240 245 / 90%);
}

.products#grid .pic .product-time-notice.ended {
  gap: 0 6px;
  padding: 8px 6px;
  background: rgb(255 240 245 / 90%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav .nav-btn {
  font-weight: 400;
}

.nav .account-btn {
  font-weight: 400;
}

.nav .account-btn small {
  font-weight: 400;
}

.nav .cart-btn {
  font-weight: 400;
}

.nav .cart-btn small {
  font-weight: 400;
}

.latest-nav {
  display: none !important;
}

.service-strip > div > i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--pink);
  font-size: 24px;
}

.nav-btn:focus-visible {
  outline: 3px solid rgba(121, 174, 226, 0.45);
  outline-offset: 2px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px auto 8px;
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  text-decoration: underline;
}

.content-page-header {
  position: static;
}

.content-page-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.content-page {
  width: min(920px, 92%);
  margin: 42px auto 70px;
}

.content-hero {
  margin-bottom: 20px;
  padding: 34px;
  border: 1px solid rgba(2, 87, 166, 0.09);
  border-radius: 25px;
  background: linear-gradient(135deg, #f3f9ff, var(--pink2));
  box-shadow: var(--shadow);
}

.content-hero h1 {
  margin: 0 0 10px;
  color: var(--blue);
}

.content-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.content-card {
  margin-top: 16px;
  padding: 25px 28px;
  border: 1px solid rgba(2, 87, 166, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 25px rgba(2, 87, 166, 0.07);
}

.content-card h2 {
  color: var(--blue);
}

.content-card h3 {
  color: var(--blue);
}

.content-card p {
  line-height: 1.85;
}

.content-card li {
  line-height: 1.85;
}

.content-card li + li {
  margin-top: 7px;
}

.content-card a {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 2px;
}

.product-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.product-operations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  padding: 16px;
  gap: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.product-visibility-setting {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-visibility-setting label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 800;
  cursor: pointer;
}

.product-visibility-setting input {
  width: auto;
  margin: 0;
}

.nav-category-menu {
  position: relative;
}

.nav-category-toggle i {
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-category-menu.open .nav-category-toggle i {
  transform: rotate(180deg);
}

.nav-category-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 90;
  display: none;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 50, 79, 0.18);
}

.nav-category-menu.open .nav-category-submenu {
  display: grid;
}

.nav-category-menu:focus-within .nav-category-submenu {
  display: grid;
}

.nav-category-submenu button {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.nav-category-submenu a {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.nav-category-submenu button:hover {
  background: var(--pink2);
  color: var(--blue);
}

.nav-category-submenu button:focus-visible {
  background: var(--pink2);
  color: var(--blue);
}

.nav-category-submenu a:hover {
  background: var(--pink2);
  color: var(--blue);
}

.nav-category-submenu a:focus-visible {
  background: var(--pink2);
  color: var(--blue);
}

.order-product-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 13px;
}

.order-product-table th {
  padding: 9px 10px;
  border: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
  background: #eef6ff;
  color: var(--blue);
  font-size: 11px;
  text-transform: none;
  white-space: nowrap;
}

.order-product-table td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
}

.order-product-table .num {
  width: 90px;
  text-align: right;
  white-space: nowrap;
}

.order-product-table .money {
  width: 90px;
  text-align: right;
  white-space: nowrap;
}

.order-product-table td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.nav-category-menu:not(.open) .nav-category-submenu {
  display: none;
}

.nav-category-menu:not(.open):focus-within .nav-category-submenu {
  display: none;
}

.shipping-method-choice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  min-width: 0;
  height: 100%;
  align-items: center!important;
  text-align: left;
}

.shipping-method-choice.active {
  border-color: var(--blue);
  background: #eef7ff;
  box-shadow: 0 0 0 2px rgba(25, 94, 150, 0.12);
}

.shipping-method-choice > i {
  color: var(--blue);
  font-size: 18px;
  text-align: center;
}

.shipping-method-choice span {
  display: block;
}

.shipping-method-choice small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.checkout-totals {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-totals .total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.reset-password-wrap>.logo-link {
  justify-content: center;
  margin-bottom: 24px;
}

#home>.category-section {
  padding-top: 32px;
}

.checkout-product-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.checkout-summary .order-table-wrap {
  overflow-x: auto!important;
}

.checkout-product-table th {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.checkout-product-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.checkout-product-table .num {
  text-align: right;
  white-space: nowrap;
}

.checkout-product-table .money {
  text-align: right;
  white-space: nowrap;
}

.checkout-phone-row {
  width: 100%;
}

.product-description-input {
  min-height: 180px!important;
}

.cart-controls button i {
  display: block;
  line-height: 1;
  font-size: 13px;
}

.order-product-name {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 180px;
}

.order-product-name>span {
  min-width: 0;
}

.order-product-thumb {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.order-product-image-link {
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
}

.order-product-placeholder {
  display: grid;
  place-items: center;
  color: #7890a0;
  background: #f2f6f8;
  font-size: 20px;
}

body.app-loading>.topbar {
  display: none!important;
}

body.app-loading>footer {
  display: none!important;
}

.product-intro {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  line-height: 1.7;
}

.product-intro>:first-child {
  margin-top: 0;
}

.product-intro>:last-child {
  margin-bottom: 0;
}

.shipping-address-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef7ff;
  color: #23445f;
  font-size: 13px;
  line-height: 1.55;
}

.shipping-address-note a {
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.previous-address-wrap {
  margin-bottom: 12px;
}

.cart-item-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.checkout-member-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3f8fc;
}

.checkout-member-identity[hidden] {
  display: none!important;
}

.checkout-member-identity>i {
  font-size: 24px;
  color: var(--blue);
}

.checkout-member-identity span {
  display: grid;
  gap: 2px;
}

.checkout-member-identity small {
  color: var(--muted);
}

.shopbar #timeFilter {
  min-width: 145px;
}

.social-row .social {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-row .social i {
  margin: 0;
  font-size: 18px;
}

@media (max-width: 1050px) {
  .category-grid-v6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-strip > div {
    border-bottom: 1px solid #e7edf3;
  }

  .service-strip > div:nth-child(2) {
    border-right: 0;
  }

  .service-strip > div:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  .checkout-modal {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }

  .checkout-modal.open {
    place-items: start center;
  }

  .checkout-card {
    width: 100%;
    max-height: calc(100dvh - 20px);
    margin: 0;
    border-radius: 18px;
    padding: 18px;
  }

  .checkout-header {
    min-height: 44px;
    padding-right: 50px;
  }

  .checkout-header .icon-btn {
    top: 12px;
    right: 12px;
  }

  .product-time-notice {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .product-time-notice span:not(.product-countdown) {
    grid-column: 2;
  }

  .product-countdown {
    grid-column: 1/-1;
    margin-left: 0;
  }

  .nav-btn {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding: 58px 6% 65px;
    background: linear-gradient(
        180deg,
        rgba(254, 254, 242, 0.98) 0%,
        rgba(254, 254, 242, 0.86) 48%,
        rgba(247, 251, 255, 0.18) 100%
      ),
      url("jpr-hero-scenery-clean.png") center 58% / cover no-repeat;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .shopbar {
    align-items: center;
    top: 61px;
    gap: 6px;
    padding: 6px;
  }

  .products-section .shopbar {
    width: calc(100% + 4px);
    margin-left: -2px;
    margin-right: -2px;
  }

  .shopbar .search input { padding-left: 36px; padding-right: 10px; }
  .compact-select { flex-basis: 38px; width: 38px; height: 38px; }
  .mobile-category-select { display: inline-grid; }
  #categoryFilters { display: none; }

  .topbar {
    height: auto;
    min-height: 34px;
    padding: 6px 4%;
    font-size: 10px;
  }

  .nav-btn:first-child {
    display: block;
  }

  .hero-v6 {
    padding: 50px 6% 60px;
    min-height: 560px;
    background-image: linear-gradient(
        180deg,
        rgba(254, 254, 242, 0.98) 0%,
        rgba(254, 254, 242, 0.88) 52%,
        rgba(254, 254, 242, 0.16) 100%
      ),
      url("jpr-hero-scenery-clean.png");
    background-position: center,
      center bottom;
    background-size: cover,
      100% auto;
  }

  .hero-v6 .hero-content {
    max-width: 100%;
  }

  .hero-v6 h1 {
    font-size: 48px;
  }

  .hero-v6 p {
    font-size: 14px;
    max-width: 330px;
  }

  .hero-v6 .hero-points {
    max-width: 360px;
  }

  .hero-v6 .hero-point {
    min-width: 105px;
  }

  .service-strip {
    margin: -18px 4% 0;
    margin-top: -18px;
    grid-template-columns: 1fr;
    padding: 8px 16px;
  }

  .service-strip > div {
    border-right: 0;
    border-bottom: 1px solid #e7edf3;
    padding: 11px 5px;
  }

  .service-strip > div:last-child {
    border-bottom: 0;
  }

  .category-grid-v6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
  }

  .category-grid-v6 .cat h3 {
    font-size: 14px;
  }

  .nav {
    gap: 2px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 4%;
    left: 4%;
    z-index: 60;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 15px 28px rgba(23, 50, 79, 0.15);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links .nav-btn {
    display: block;
    width: 100%;
    border: 0 !important;
    border-radius: 10px !important;
    text-align: left;
  }

  .nav-links .about-btn {
    display: block;
    width: 100%;
    border: 0 !important;
    border-radius: 10px !important;
    text-align: left;
  }

  .service-strip > div:nth-child(n + 3) {
    border-right: 0;
    border-bottom: 1px solid #e7edf3;
    padding: 11px 5px;
  }

  .content-page-nav .nav-btn {
    display: inline-flex;
  }

  .content-page {
    margin-top: 24px;
  }

  .content-hero {
    padding: 21px;
  }

  .content-card {
    padding: 21px;
  }

  .product-price-fields {
    grid-template-columns: 1fr;
  }

  .product-operations-grid {
    grid-template-columns: 1fr;
    padding: 11px;
    gap: 11px;
  }
}

@media (max-width: 430px) {
  .cart-btn {
    min-width: 39px;
    padding: 8px;
  }

  .cart-btn small {
    display: none;
  }

  .service-strip {
    width: 94%;
    margin-inline: 3%;
  }
}

@media (max-width: 760px) {
  .nav-category-menu {
    width: 100%;
  }

  .nav-category-submenu {
    position: static;
    min-width: 0;
    margin: 2px 6px 6px;
    border-radius: 10px;
    box-shadow: none;
    background: #f7fbff;
  }

  .nav-category-menu:focus-within .nav-category-submenu {
    display: none;
  }

  .nav-category-menu.open .nav-category-submenu {
    display: grid;
  }

  .order-product-table {
    min-width: 480px;
  }
}

@media (max-width: 640px) {
  .order-product-table {
    min-width: 0;
    display: block;
    width: 100%;
  }

  .order-product-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .order-product-table tbody {
    display: block;
    width: 100%;
  }

  .order-product-table tr {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .order-product-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 7px 2px;
    border: 0;
    border-bottom: 1px dashed var(--line);
    text-align: left;
    white-space: normal;
  }

  .order-product-table .num {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 7px 2px;
    border: 0;
    border-bottom: 1px dashed var(--line);
    text-align: left;
    white-space: normal;
  }

  .order-product-table .money {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 7px 2px;
    border: 0;
    border-bottom: 1px dashed var(--line);
    text-align: left;
    white-space: normal;
  }

  .order-product-table td:last-child {
    border-bottom: 0;
  }

  .order-product-table td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
  }

  .order-product-table td select {
    width: 100%;
    min-width: 0;
  }

  .checkout-phone-row {
    grid-template-columns: 1fr!important;
  }

  .checkout-product-table {
    font-size: 12px;
  }

  .checkout-product-table th {
    padding: 7px 4px;
  }

  .checkout-product-table td {
    padding: 7px 4px;
  }

  .checkout-product-table th:first-child {
    width: 46%;
  }

  .checkout-product-table td:first-child {
    width: 46%;
  }

  .order-product-name {
    min-width: 0;
  }

  .order-product-thumb {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .shipping-address-note {
    font-size: 11px;
    padding: 8px;
  }

  .product-intro {
    padding: 12px 14px;
    margin-bottom: 16px;
  }
}
