/* Compact customer workspace and shopping pages. No external UI dependencies. */
.commerce-shell {
  background: #f7f9fd;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.commerce-shell > main {
  flex: 1;
  width: 100%;
}
.commerce-shell .announcement {
  display: none;
}
.commerce-shell .site-header {
  background: #fff;
  box-shadow: 0 3px 20px #183b7810;
}
.commerce-shell .header-row {
  padding-block: 10px;
  gap: 24px;
  min-height: 0;
}
.commerce-shell .brand img {
  width: 180px;
  height: 52px;
  object-fit: contain;
}
.commerce-shell .header-search {
  min-height: 44px;
  border-radius: 12px;
}
.commerce-shell .header-search button {
  min-height: 34px;
  padding: 8px 18px;
  border-radius: 9px;
}
.commerce-shell .header-actions {
  gap: 16px;
}
.commerce-shell .store-nav {
  padding-block: 0 8px;
  gap: 6px;
}
.commerce-shell .store-nav > a,
.commerce-shell .store-nav summary,
.commerce-shell .nav-catalog {
  min-height: 36px;
  padding-block: 8px;
  font-size: 12px;
}
.commerce-shell .section {
  padding-block: 22px 28px;
}
.commerce-shell .breadcrumb {
  font-size: 11px;
  margin-bottom: 18px;
}
.workspace-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: #79869b;
  font-size: 11px;
}
.workspace-footer > .wrap,
.workspace-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.workspace-footer > .wrap {
  justify-content: space-between;
}
.workspace-footer a:hover {
  color: var(--blue);
}

/* Account pages share a small navigation rail and consistent card spacing. */
.account-shell .account-layout {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.account-shell .account-content {
  min-width: 0;
}
.account-shell .account-nav {
  top: 130px;
  padding: 12px 9px;
  border-radius: 16px;
  box-shadow: 0 5px 20px #183b7805;
}
.account-shell .account-nav-person {
  padding: 4px 8px 12px;
  margin-bottom: 8px;
}
.account-shell .account-nav nav > a {
  font-size: 12px;
  padding: 11px 10px;
  gap: 10px;
  border-radius: 10px;
}
.account-shell .account-nav svg {
  width: 19px;
  height: 19px;
}
.account-shell .account-nav form {
  margin-top: 10px;
  padding-top: 8px;
}
.account-shell .account-heading {
  margin-bottom: 14px;
  min-height: 30px;
}
.account-shell .account-heading h1 {
  font-size: 25px;
  letter-spacing: -0.6px;
}
.account-shell .account-heading button.text-link {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px;
}
.account-shell .order-back {
  margin: 0;
  color: #536b94;
  font-size: 12px;
}
.account-shell .panel {
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px #183b7805;
}
.account-shell .panel h2 {
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.account-shell .profile-panel {
  max-width: none;
  padding: 22px;
}
.account-shell .profile-heading {
  padding-bottom: 12px;
  margin-bottom: 14px;
  gap: 12px;
}
.account-shell .profile-heading .profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 18px;
}
.account-shell .profile-heading h2 {
  font-size: 19px;
  margin-bottom: 3px;
}
.account-shell .profile-heading p {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}
.account-shell .profile-form .form-grid {
  gap: 14px;
  margin-bottom: 10px;
}
.account-shell .profile-form .field {
  font-size: 12px;
  gap: 6px;
  margin: 0;
}
.account-shell .profile-form input {
  padding: 10px 12px;
  font-size: 13px;
  min-height: 42px;
  border-radius: 10px;
}
.account-shell .profile-form .btn {
  font-size: 12px;
  min-height: 42px;
  padding: 10px 18px;
  margin-top: 0;
}
.account-shell .profile-form .field-note {
  margin: 0;
}
.account-shell .field-note {
  font-size: 11px;
  line-height: 1.6;
}
.account-shell .verification-row {
  margin-top: 16px;
  padding-top: 12px;
  font-size: 11px;
}
.account-shell .account-security {
  max-width: none;
  padding: 16px 22px;
}
.account-shell .account-security h2 {
  margin-bottom: 10px;
}
.account-shell .security-row {
  font-size: 12px;
  gap: 14px;
  flex-wrap: wrap;
}
.account-shell .security-row .text-link {
  font-size: 12px;
}
.account-shell .customer-order-filters {
  margin-bottom: 14px;
  gap: 7px;
  padding-bottom: 4px;
}
.account-shell .customer-order-filters > a {
  padding: 7px 12px;
  font-size: 11px;
  min-height: 34px;
}
.account-shell .customer-orders {
  display: grid;
  gap: 12px;
}
.account-shell .customer-order-card {
  margin: 0;
  padding: 16px 18px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.account-shell .customer-order-card:hover {
  border-color: #b8caf3;
  box-shadow: 0 6px 24px #214a8b0d;
}
.account-shell .customer-order-heading {
  margin-bottom: 4px;
  padding-bottom: 10px;
  font-size: 11px;
}
.account-shell .customer-order-heading .badge {
  font-size: 10px;
  padding: 4px 9px;
}
.account-shell .customer-order-product {
  gap: 12px;
  padding: 12px 0;
}
.account-shell .customer-order-product > img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: contain;
}
.account-shell .customer-order-product h2 {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 4px;
}
.account-shell .customer-order-product p {
  font-size: 11px;
  margin: 0 0 3px;
}
.account-shell .customer-order-product small {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.account-shell .customer-order-product > b {
  font-size: 15px;
  white-space: nowrap;
}
.account-shell .customer-order-footer {
  margin-top: 12px;
  padding-top: 10px;
  font-size: 11px;
}

/* Status, shipment and immutable order costs stay on the same workspace. */
.customer-order-detail .panel {
  padding: 18px;
  margin: 0;
}
.customer-order-detail .order-progress-panel {
  margin-bottom: 14px;
  padding: 16px 20px;
}
.customer-order-detail .order-title {
  margin: 0 0 16px;
  gap: 10px;
  align-items: center;
}
.customer-order-detail .order-title h1 {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 3px;
}
.customer-order-detail .order-title p {
  font-size: 10px;
}
.customer-order-detail .order-title .badge {
  font-size: 10px;
  padding: 5px 10px;
}
.customer-order-detail .order-stepper {
  margin: 0;
}
.customer-order-detail .order-stepper li > span {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-width: 1px;
}
.customer-order-detail .order-stepper li > span svg {
  width: 16px;
  height: 16px;
}
.customer-order-detail .order-stepper li:before {
  top: 15px;
  height: 3px;
}
.customer-order-detail .order-stepper li.current > span {
  box-shadow: 0 0 0 4px #e9f0ff;
}
.customer-order-detail .order-stepper li b {
  font-size: 9px;
  padding-inline: 2px;
  line-height: 1.4;
}
.order-current-stage {
  display: none;
}
.customer-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: start;
}
.order-main-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.customer-order-detail .tracking-heading {
  margin: 0 0 12px;
  gap: 10px;
  align-items: center;
}
.customer-order-detail .tracking-heading h2 {
  margin: 0;
}
.tracking-refresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: #f1f5ff;
  color: var(--blue);
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 10px;
  min-height: 32px;
}
.tracking-refresh svg {
  width: 14px;
  height: 14px;
}
.customer-order-detail .carrier-head {
  padding: 0;
  border: 0;
  background: none;
  gap: 10px;
  border-radius: 0;
  margin: 0;
}
.customer-order-detail .carrier-logo {
  width: 52px;
  height: 40px;
  flex-basis: 52px;
  border-radius: 10px;
  background: #f0f4ff;
}
.customer-order-detail .courier-image {
  width: 46px;
  height: 30px;
  object-fit: contain;
}
.customer-order-detail .carrier-head b {
  font-size: 13px;
  line-height: 1.5;
}
.customer-order-detail .carrier-head small {
  font-size: 10px;
  line-height: 1.4;
}
.compact-waybill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f7f9fd;
  justify-content: space-between;
  min-width: 0;
}
.compact-waybill code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.customer-order-detail .copy-button {
  font-size: 10px;
  padding: 4px 6px;
  gap: 4px;
  flex-shrink: 0;
}
.customer-order-detail .copy-button svg {
  width: 13px;
  height: 13px;
}
.customer-order-detail .shipping-status {
  gap: 10px;
  margin: 13px 0 0;
  padding: 0;
}
.customer-order-detail .status-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 9px;
}
.customer-order-detail .status-icon svg {
  width: 17px;
  height: 17px;
}
.customer-order-detail .shipping-status b {
  font-size: 12px;
  line-height: 1.5;
}
.customer-order-detail .shipping-status small {
  font-size: 10px;
  line-height: 1.6;
  margin-top: 2px;
}
.customer-order-detail .tracking-driver {
  margin: 12px 0 0;
  padding: 10px;
  border-radius: 10px;
  gap: 10px;
}
.customer-order-detail .tracking-driver > span {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 8px;
}
.customer-order-detail .tracking-driver small {
  font-size: 9px;
}
.customer-order-detail .tracking-driver b {
  font-size: 11px;
  line-height: 1.4;
}
.customer-order-detail .tracking-driver .btn {
  font-size: 10px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
}
.tracking-history {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 4px;
}
.tracking-history > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 9px 0 3px;
  font-size: 11px;
  font-weight: 650;
  color: var(--blue);
}
.tracking-history > summary::-webkit-details-marker {
  display: none;
}
.tracking-history > summary svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s;
}
.tracking-history[open] > summary svg {
  transform: rotate(180deg);
}
.customer-order-detail .tracking-timeline {
  margin: 14px 0 0;
  max-height: 230px;
  overflow: auto;
  padding-right: 6px;
}
.customer-order-detail .timeline li {
  padding: 0 0 14px 19px;
  font-size: 11px;
}
.customer-order-detail .timeline li b {
  font-weight: 650;
}
.customer-order-detail .timeline li p {
  font-size: 11px;
  margin: 3px 0;
  overflow-wrap: anywhere;
}
.customer-order-detail .timeline li small {
  font-size: 9px;
  margin-top: 2px;
}
.customer-order-detail .payment-status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  margin: 0 0 14px;
  border-radius: 12px;
}
.customer-order-detail .payment-status-box > div > b {
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.customer-order-detail .payment-status-box svg {
  width: 16px;
  height: 16px;
}
.customer-order-detail .payment-status-box .field-note {
  font-size: 10px;
  margin: 4px 0 0;
}
.customer-order-detail .payment-status-box .form-actions {
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  margin: 0;
}
.customer-order-detail .payment-status-box .btn {
  font-size: 10px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 9px;
}
.customer-order-detail .order-products h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.order-products h2 > small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.customer-order-detail .checkout-item {
  gap: 10px;
  padding: 9px 0;
  font-size: 11px;
  align-items: center;
}
.customer-order-detail .checkout-item > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-shrink: 0;
}
.customer-order-detail .checkout-item > div {
  min-width: 0;
}
.customer-order-detail .checkout-item b {
  font-size: 11px;
  line-height: 1.45;
  display: block;
}
.customer-order-detail .checkout-item span {
  font-size: 10px;
}
.customer-order-detail .checkout-item .item-price {
  font-size: 11px;
  white-space: nowrap;
}
.customer-order-detail .sum-row {
  padding: 4px 0;
  font-size: 12px;
  gap: 8px;
}
.customer-order-detail .sum-row.total {
  font-size: 16px;
  padding: 10px 0 0;
  margin-top: 8px;
  color: var(--blue);
}
.customer-order-detail .sum-row.total b {
  font-size: 21px;
  font-weight: 750;
  color: var(--blue);
}
.order-recipient {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.customer-order-detail .order-recipient h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  margin-bottom: 10px;
}
.order-recipient h2 svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.order-recipient > b,
.order-recipient > span {
  display: block;
  line-height: 1.5;
}
.order-recipient > span,
.order-recipient p {
  font-size: 11px;
  color: #65758d;
}
.order-recipient p {
  margin: 7px 0;
  line-height: 1.7;
}
.order-recipient small {
  font-size: 10px;
  color: #8390a5;
}

/* Cart controls are shared with the drawer, including native form fallbacks. */
.cart-page > .section-head {
  margin-bottom: 18px;
  align-items: center;
}
.cart-page h1 {
  font-size: 28px;
  margin: 0 0 4px;
}
.cart-count {
  font-size: 12px;
  margin: 0;
  color: #73819a;
}
.cart-page .cart-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}
.cart-page .cart-items {
  border: 0;
  background: transparent;
  display: grid;
  gap: 12px;
}
.cart-page .cart-item {
  padding: 20px;
  background: #fff;
  border: 1px solid #e2e9f5;
  border-radius: 17px;
  gap: 18px;
  box-shadow: 0 4px 20px #183b7805;
}
.cart-page .cart-photo {
  width: 108px;
  height: 108px;
  flex-basis: 108px;
  border-radius: 12px;
  background: #f7f9fd;
  padding: 5px;
}
.cart-page .cart-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.cart-page .cart-details h3 {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.cart-unit-price {
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.cart-unit-price small {
  font-size: 10px;
  color: #8a96a9;
  white-space: nowrap;
}
.cart-page .cart-unit-price strong {
  font-size: 17px;
  color: var(--blue);
}
.cart-page .cart-quantity {
  margin-top: 14px;
  gap: 12px;
}
.cart-page .quantity-stepper {
  border-radius: 10px;
  overflow: hidden;
  background: #f9fbff;
}
.cart-page .quantity-stepper button {
  width: 40px;
  height: 38px;
  background: transparent;
  color: #365681;
}
.cart-page .quantity-stepper input {
  width: 44px;
  font-size: 13px;
  padding: 7px 0;
}
.cart-page .remove-item {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff8f9;
  border-color: #f7e7eb;
  color: #bb5468;
}
.cart-page .remove-item:hover {
  background: #fce8ed;
  border-color: #edbbca;
}
.cart-page .cart-summary {
  border-radius: 18px;
  padding: 22px;
  margin: 0;
  box-shadow: 0 10px 32px #1d43810a;
  position: sticky;
  top: 138px;
}
.cart-summary-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.cart-summary-heading > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef3ff;
  color: var(--blue);
}
.cart-summary-heading svg {
  width: 19px;
  height: 19px;
}
.cart-page .cart-summary h2 {
  font-size: 18px;
  margin: 0;
}
.cart-page .cart-summary .sum-row {
  font-size: 12px;
  padding: 9px 0;
}
.cart-page .cart-summary .sum-row.total {
  display: block;
  margin: 5px 0 14px;
  padding: 14px 0 5px;
}
.cart-page .cart-summary .sum-row.total > span {
  display: block;
  font-size: 11px;
  color: #6d7e99;
  margin-bottom: 4px;
}
.cart-page .cart-summary .sum-row.total > b {
  display: block;
  font-size: 26px;
  font-weight: 750;
  text-align: left;
  letter-spacing: -0.7px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.cart-page .cart-summary > p {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.cart-page .cart-summary .btn.full {
  min-height: 46px;
  border-radius: 11px;
  font-size: 13px;
  margin-top: 0;
}
.cart-next-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
  color: #8493a9;
  font-size: 10px;
}
.cart-next-step svg {
  width: 13px;
  height: 13px;
  color: #5b7fbd;
}
.cart-next-step i {
  font-style: normal;
  color: #b1bed1;
  margin-inline: 3px;
}
.cart-drawer {
  box-shadow: -20px 0 70px #13275225;
}
.cart-drawer .drawer-heading {
  padding: 20px 24px;
}
.cart-drawer .drawer-heading h2 {
  font-size: 22px;
}
.cart-drawer .drawer-content {
  padding: 6px 20px;
}
.cart-drawer .cart-item {
  padding: 20px 0;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer .cart-photo {
  width: 84px;
  height: 84px;
  flex-basis: 84px;
  padding: 4px;
  background: #f7f9fd;
  border-radius: 11px;
}
.cart-drawer .cart-details h3 {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 7px;
}
.cart-drawer .cart-unit-price strong {
  font-size: 15px;
}
.cart-drawer .quantity-stepper {
  border-radius: 9px;
}
.cart-drawer .quantity-stepper button {
  width: 36px;
  height: 36px;
}
.cart-drawer .quantity-stepper input {
  width: 38px;
  font-size: 12px;
}
.cart-drawer .remove-item {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.cart-drawer .drawer-footer {
  padding: 18px 24px;
  background: linear-gradient(#fafbff, #fff);
}
.cart-drawer .drawer-footer .total {
  font-size: 16px;
  margin-bottom: 14px;
}
.cart-drawer .drawer-footer .btn {
  min-height: 46px;
  border-radius: 11px;
}

/* Photo-first product detail with concise purchase and expandable information. */
.product-page .product-detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.product-page .gallery-stage {
  border-radius: 17px;
  background: #fff;
  border: 1px solid #dfe7f5;
}
.product-page .gallery-track {
  height: clamp(340px, calc(100svh - 290px), 510px);
  aspect-ratio: auto;
}
.product-page .gallery-slide {
  height: 100%;
  padding: 16px;
}
.product-page .gallery-slide img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  aspect-ratio: auto;
}
.product-page .gallery-zoom {
  top: 12px;
  right: 12px;
  padding: 7px 9px;
  min-height: 32px;
  font-size: 10px;
  background: #fffffff0;
  border-radius: 9px;
}
.product-page .gallery-arrow {
  width: 34px;
  height: 34px;
  font-size: 17px;
}
.product-page .gallery-counter {
  font-size: 10px;
  bottom: 12px;
  right: 12px;
  padding: 4px 9px;
}
.product-page .thumbnails {
  gap: 9px;
  margin-top: 10px;
  padding: 2px;
}
.product-page .thumbnails button {
  flex-basis: 61px;
  width: 61px;
  min-height: 61px;
  border-radius: 10px;
  padding: 4px;
  background: #fff;
}
.product-page .thumbnails img {
  width: 51px;
  height: 51px;
  object-fit: contain;
}
.product-context {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.product-context > a {
  font-size: 10px;
  font-weight: 750;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.product-context .badge {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 5px;
}
.product-page .detail-copy h1 {
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin-bottom: 16px;
}
.product-page .price-box {
  padding: 15px 18px;
  border: 1px solid #dfe7fb;
  border-radius: 13px;
  background: linear-gradient(120deg, #edf2ff, #f7f9ff);
  margin: 0 0 14px;
}
.product-page .price-box small {
  display: block;
  font-size: 10px;
  margin-bottom: 3px;
  color: #7183a1;
}
.product-page .price-box strong {
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.7px;
}
.product-page .price-box p {
  font-size: 11px;
  line-height: 1.65;
  margin: 5px 0 0;
}
.product-page .product-intro {
  font-size: 12px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.product-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 15px;
}
.product-highlights > div {
  border: 1px solid #e1e8f4;
  border-radius: 9px;
  padding: 9px 11px;
  background: #fff;
  min-width: 0;
}
.product-highlights dt {
  font-size: 9px;
  color: #8391a6;
  margin-bottom: 4px;
}
.product-highlights dd {
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.product-page .buy-form {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}
.product-page .purchase-quantity {
  margin: 0;
  display: block;
}
.product-page .purchase-quantity > label {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.product-page .purchase-quantity .quantity-stepper {
  display: flex;
  height: 44px;
  width: 100%;
  border-radius: 10px;
}
.product-page .purchase-quantity button {
  height: 42px;
  width: 38px;
  flex-shrink: 0;
  font-size: 17px;
}
.product-page .buy-form .purchase-quantity .quantity-stepper input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 42px;
  font-size: 13px;
}
.product-page .product-purchase-actions {
  display: contents;
}
.product-page .product-purchase-actions .btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: 12px;
  padding: 11px 14px;
}
.product-page .product-purchase-actions .btn.red {
  grid-column: 1 / -1;
}
.product-page .product-purchase-actions svg {
  width: 17px;
  height: 17px;
}
.product-page .purchase-account {
  font-size: 10px;
  margin: 10px 0 0;
  line-height: 1.6;
}
.product-benefits {
  display: grid;
  gap: 9px;
  list-style: none;
  padding: 14px 0 0;
  margin: 15px 0 0;
  border-top: 1px solid var(--line);
}
.product-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #5a6d8e;
}
.product-benefits svg {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 6px;
  background: #eaf0ff;
  color: var(--blue);
}
.product-page .product-information {
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 28px;
  background: #eef3ff;
  border: 1px solid #e1e8f5;
  border-radius: 17px;
  padding: 24px;
  margin-top: 28px;
}
.product-accordions {
  min-width: 0;
}
.product-info-section {
  border-bottom: 1px solid #d8e2f7;
}
.product-info-section:last-child {
  border-bottom: 0;
}
.product-info-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 750;
  color: #1c355e;
}
.product-info-section:first-child > summary {
  padding-top: 0;
}
.product-info-section > summary::-webkit-details-marker {
  display: none;
}
.product-info-section > summary svg {
  width: 15px;
  height: 15px;
  color: #6c8cc7;
  transition: transform 0.18s;
}
.product-info-section[open] > summary svg {
  transform: rotate(180deg);
}
.product-info-section .prose {
  font-size: 12px;
  line-height: 1.8;
  padding-bottom: 12px;
  overflow-wrap: anywhere;
}
.product-info-section .prose p {
  margin-bottom: 12px;
}
.product-info-section .prose .text-link {
  font-size: 12px;
}
.product-info-section .technical-section {
  background: #f8faff;
  border-radius: 9px;
  margin: 9px 0;
  border: 1px solid #dce6f8;
  padding: 10px 12px;
}
.product-info-section .technical-section summary {
  font-size: 12px;
}
.product-page .product-facts {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 0 14px;
  font-size: 12px;
}
.product-page .product-facts dl {
  margin: 0 0 12px;
}
.product-page .product-facts dl > div {
  padding: 9px 0;
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid #dce5f5;
}
.product-page .product-facts dt {
  font-size: 11px;
  color: #7283a1;
}
.product-page .product-facts dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.product-page .product-facts p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.product-brochures {
  align-self: start;
  background: #fff;
  padding: 22px;
  border: 1px solid #dce5f7;
  border-radius: 13px;
}
.brochure-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0f4ff;
  color: var(--blue);
  margin-bottom: 12px;
}
.product-brochures h2 {
  font-size: 17px;
  margin-bottom: 9px;
}
.product-brochures p {
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.product-brochures .brochure-button {
  margin: 0 0 7px;
  display: flex;
  font-size: 11px;
  border-radius: 9px;
  justify-content: flex-start;
}
.product-page .related-heading {
  margin: 28px 0 16px;
  align-items: center;
}
.product-page .related-heading h2 {
  font-size: 23px;
  margin: 0;
}
.product-page .related-heading .text-link {
  font-size: 12px;
}

/* Category browsing follows the same photo cards without adding provider calls. */
.catalog .catalog-head {
  margin-bottom: 20px;
}
.catalog .catalog-head h1 {
  font-size: 30px;
  margin: 0;
}
.catalog-workspace {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.catalog-sidebar {
  position: sticky;
  top: 138px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 10px;
}
.catalog-sidebar h2 {
  font-size: 13px;
  margin: 0 10px 12px;
}
.catalog-sidebar nav {
  display: grid;
  gap: 3px;
  max-height: calc(100svh - 235px);
  overflow: auto;
  scrollbar-width: thin;
}
.catalog-sidebar a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #64758f;
}
.catalog-sidebar a:hover {
  background: #f5f8ff;
  color: var(--blue);
}
.catalog-sidebar a[aria-current="page"] {
  background: #eaf0ff;
  color: var(--blue);
  font-weight: 700;
}
.catalog-results {
  min-width: 0;
}
.catalog .catalog-filters {
  padding: 12px;
  margin: 0 0 16px;
  gap: 10px;
  border-radius: 12px;
  background: #fff;
}
.catalog .catalog-filters .catalog-category {
  display: none;
}
.catalog .catalog-filters .catalog-query {
  flex: 1;
}
.catalog .catalog-filters input,
.catalog .catalog-filters select {
  font-size: 12px;
  min-height: 40px;
}
.catalog .catalog-filters .btn {
  min-height: 40px;
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 9px;
}
.catalog .catalog-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.catalog .product-image,
.product-page .product-image {
  padding: 13px;
  background: #f0f4fd;
  border-bottom: 1px solid #e4eaf5;
}
.catalog .product-copy,
.product-page .product-copy {
  padding: 14px;
}
.catalog .product-copy h3,
.product-page .product-copy h3 {
  font-size: 13px;
  line-height: 1.5;
  height: 58.5px;
  min-height: 58.5px;
  margin-bottom: 12px;
}
.catalog .product-category,
.product-page .product-category {
  font-size: 9px;
  margin-bottom: 6px;
}
.catalog .product-bottom strong,
.product-page .product-bottom strong {
  font-size: 15px;
}
.catalog .product-detail-link,
.product-page .product-detail-link {
  font-size: 10px;
  padding-top: 10px;
  margin-top: 10px;
}

@media (min-width: 1101px) {
  .account-shell .customer-orders {
    max-height: calc(100svh - 274px);
    overflow: auto;
    padding: 2px 5px 4px 2px;
    scrollbar-width: thin;
  }
  .account-shell .orders-page .account-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100svh - 235px);
  }
  .account-shell .orders-page .orders-toolbar {
    flex-shrink: 0;
  }
  .account-shell .orders-page .customer-orders {
    min-height: 0;
    flex: 0 1 auto;
    max-height: none;
  }
  .customer-order-detail .order-products-list {
    max-height: 180px;
    overflow: auto;
    padding-right: 3px;
    scrollbar-width: thin;
  }
  .cart-page .cart-items {
    max-height: calc(100svh - 274px);
    overflow: auto;
    padding: 2px 5px 4px 2px;
    scrollbar-width: thin;
  }
  .product-info-section > .product-description {
    max-height: 250px;
    overflow: auto;
    padding-right: 8px;
    scrollbar-width: thin;
  }
}
@media (min-width: 1200px) {
  .commerce-shell .order-page.section {
    padding-top: 16px;
    padding-bottom: 8px;
  }
  .order-page .account-heading {
    margin-bottom: 10px;
  }
  .customer-order-detail .order-progress-panel {
    padding-block: 14px;
  }
  .customer-order-detail .order-title {
    margin-bottom: 12px;
  }
  .customer-order-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .customer-order-grid .order-main-column {
    display: contents;
  }
  .customer-order-grid .shipping-panel {
    grid-column: 1;
  }
  .customer-order-grid .order-products {
    grid-column: 2;
  }
  .customer-order-grid .order-summary-panel {
    grid-column: 3;
  }
  .customer-order-detail .order-summary-panel {
    padding-block: 12px;
  }
  .customer-order-detail .order-recipient {
    margin-top: 10px;
    padding-top: 10px;
  }
  .customer-order-detail .checkout-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .customer-order-detail .checkout-item .item-price {
    grid-column: 2;
    font-size: 12px;
    font-weight: 650;
  }
}
@media (max-width: 1100px) {
  .catalog-workspace {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 18px;
  }
  .catalog .catalog-products {
    gap: 12px;
  }
  .account-shell .account-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
  }
  .customer-order-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .customer-order-detail .order-summary-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
  }
  .order-summary-panel > h2,
  .order-summary-panel > .sum-row,
  .order-summary-panel > .field-note {
    grid-column: 1;
  }
  .order-summary-panel > .order-recipient {
    grid-column: 2;
    grid-row: 1 / span 7;
    margin: 0;
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .product-page .product-detail {
    gap: 24px;
  }
  .product-page .detail-copy h1 {
    font-size: 25px;
  }
  .product-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .commerce-shell .header-row {
    padding-block: 10px;
    gap: 10px;
  }
  .commerce-shell .brand img {
    width: 160px;
    height: 44px;
  }
  .commerce-shell .header-search {
    height: 42px;
    min-height: 42px;
  }
  .commerce-shell .header-actions {
    gap: 8px;
  }
  .commerce-shell .store-nav.open {
    padding-block: 10px;
    gap: 5px;
  }
  .commerce-shell .store-nav > a,
  .commerce-shell .store-nav summary,
  .commerce-shell .nav-catalog {
    font-size: 13px;
    min-height: 42px;
  }
  .account-shell .account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .account-shell .account-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    overflow: visible;
    padding: 8px;
    border-radius: 12px;
  }
  .account-shell .account-nav-person {
    display: none;
  }
  .account-shell .account-nav nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
    gap: 3px;
  }
  .account-shell .account-nav nav > a {
    font-size: 11px;
    gap: 6px;
    padding: 8px 6px;
    margin: 0;
    min-height: 40px;
    justify-content: center;
  }
  .account-shell .account-nav form {
    border: 0;
    margin: 0;
    padding: 0;
    align-self: center;
  }
  .account-shell .account-logout {
    font-size: 0;
    gap: 0;
    padding: 10px;
    min-width: 38px;
    min-height: 40px;
  }
  .account-shell .account-logout svg {
    width: 18px;
    height: 18px;
  }
  .customer-order-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 1fr);
  }
  .customer-order-detail .order-summary-panel {
    display: block;
  }
  .order-summary-panel > .order-recipient {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
    margin-top: 16px;
  }
  .cart-page .cart-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
  }
  .cart-page .cart-item {
    padding: 16px;
    gap: 12px;
  }
  .cart-page .cart-photo {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }
  .cart-page .cart-details h3 {
    font-size: 13px;
  }
  .cart-page .cart-unit-price strong {
    font-size: 15px;
  }
  .cart-page .cart-summary {
    padding: 18px;
    top: 130px;
  }
  .cart-page .cart-summary .sum-row.total > b {
    font-size: 23px;
  }
  .catalog-sidebar {
    display: none;
  }
  .catalog-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog .catalog-filters .catalog-category {
    display: block;
  }
  .catalog .catalog-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-page .gallery-track {
    height: 360px;
  }
  .product-page .product-information {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    padding: 20px;
  }
}
@media (max-width: 650px) {
  .commerce-shell .section {
    padding-block: 16px 24px;
  }
  .commerce-shell .wrap {
    width: calc(100% - 28px);
  }
  .commerce-shell .brand img {
    width: 142px;
    height: 40px;
  }
  .commerce-shell .header-row {
    gap: 8px;
  }
  .commerce-shell .header-search {
    border-radius: 10px;
  }
  .commerce-shell .header-search input {
    font-size: 12px;
  }
  .commerce-shell .header-search button {
    min-height: 32px;
    padding: 7px 14px;
    font-size: 12px;
  }
  .workspace-footer {
    padding: 16px 0 82px;
  }
  .workspace-footer > .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
  .workspace-footer nav {
    gap: 16px;
    flex-wrap: wrap;
  }
  .account-shell .account-layout {
    gap: 14px;
  }
  .account-shell .account-nav nav > a {
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    min-height: 46px;
    padding: 5px 3px;
  }
  .account-shell .account-nav svg {
    width: 18px;
    height: 18px;
  }
  .account-shell .account-logout {
    padding: 8px;
    min-width: 32px;
  }
  .account-shell .account-heading h1 {
    font-size: 23px;
  }
  .account-shell .account-heading > a {
    font-size: 11px;
  }
  .account-shell .panel {
    padding: 17px;
    border-radius: 14px;
    margin-bottom: 12px;
  }
  .account-shell .profile-panel {
    padding: 18px;
  }
  .account-shell .profile-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .account-shell .profile-heading h2 {
    font-size: 17px;
  }
  .account-shell .profile-form .btn {
    width: 100%;
  }
  .account-shell .verification-row {
    gap: 8px;
    flex-wrap: wrap;
  }
  .account-shell .security-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .account-shell .security-row > span {
    width: 100%;
  }
  .account-shell .customer-order-card {
    padding: 14px;
    margin: 0;
  }
  .account-shell .customer-order-product {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }
  .account-shell .customer-order-product > img {
    width: 48px;
    height: 48px;
  }
  .account-shell .customer-order-product h2 {
    font-size: 12px;
    margin-bottom: 3px;
  }
  .account-shell .customer-order-product > b {
    grid-column: 2;
    font-size: 14px;
  }
  .account-shell .customer-order-product small {
    font-size: 9px;
  }
  .customer-order-detail .order-progress-panel {
    padding: 14px;
    margin-bottom: 12px;
  }
  .customer-order-detail .order-title {
    display: block;
    margin-bottom: 18px;
  }
  .customer-order-detail .order-title h1 {
    font-size: 14px;
  }
  .customer-order-detail .order-title .badge {
    margin-top: 9px;
    font-size: 9px;
  }
  .customer-order-detail .order-stepper li > span {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
  }
  .customer-order-detail .order-stepper {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
  }
  .customer-order-detail .order-stepper li:not(:last-child):before {
    display: block;
  }
  .customer-order-detail .order-stepper li:before {
    top: 13px;
  }
  .customer-order-detail .order-stepper li b {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  .customer-order-detail .order-current-stage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--blue);
    font-size: 12px;
    font-weight: 650;
    margin: 7px 0 0;
  }
  .order-current-stage small {
    font-size: 10px;
    font-weight: 400;
    color: #7b8da9;
  }
  .customer-order-detail .order-stepper li > span svg {
    width: 14px;
    height: 14px;
  }
  .customer-order-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .order-main-column {
    gap: 12px;
  }
  .customer-order-detail .panel {
    margin: 0;
    padding: 16px;
  }
  .customer-order-detail .panel h2 {
    font-size: 15px;
  }
  .customer-order-detail .tracking-refresh {
    min-height: 40px;
  }
  .tracking-history > summary {
    min-height: 44px;
  }
  .customer-order-detail .checkout-item {
    gap: 9px;
    flex-wrap: wrap;
  }
  .customer-order-detail .checkout-item > div {
    flex: 1;
  }
  .customer-order-detail .checkout-item .item-price {
    margin-left: 57px;
  }
  .customer-order-detail .payment-status-box {
    display: block;
    padding: 14px;
  }
  .customer-order-detail .payment-status-box .form-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
  }
  .customer-order-detail .payment-status-box .btn {
    min-height: 38px;
    font-size: 11px;
  }
  .cart-page h1 {
    font-size: 25px;
  }
  .cart-page .section-head {
    gap: 12px;
  }
  .cart-page .section-head > .text-link {
    font-size: 11px;
  }
  .cart-page .cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .cart-page .cart-item {
    padding: 15px;
    gap: 12px;
    border-radius: 14px;
  }
  .cart-page .cart-photo {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  .cart-page .cart-details h3 {
    font-size: 12px;
    line-height: 1.5;
  }
  .cart-page .cart-quantity {
    margin-top: 12px;
    gap: 8px;
  }
  .cart-page .quantity-stepper button {
    width: 34px;
    height: 36px;
  }
  .cart-page .quantity-stepper input {
    width: 36px;
    font-size: 12px;
  }
  .cart-page .remove-item {
    width: 36px;
    height: 36px;
  }
  .cart-page .cart-summary {
    position: static;
    padding: 20px;
  }
  .cart-drawer .drawer-heading {
    padding: 18px;
  }
  .cart-drawer .drawer-content {
    padding: 0 16px;
  }
  .cart-drawer .cart-photo {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }
  .cart-drawer .cart-details h3 {
    font-size: 12px;
  }
  .cart-drawer .drawer-footer {
    padding: 18px 18px max(18px, env(safe-area-inset-bottom));
  }
  .product-page .breadcrumb {
    font-size: 10px;
    line-height: 1.7;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }
  .product-page .product-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .product-page .gallery-track {
    height: auto;
    aspect-ratio: 1;
  }
  .product-page .gallery-slide {
    padding: 12px;
    height: auto;
  }
  .product-page .gallery-slide img {
    height: 100%;
    aspect-ratio: 1;
  }
  .product-page .thumbnails button {
    flex-basis: 53px;
    width: 53px;
    min-height: 53px;
    border-radius: 8px;
  }
  .product-page .thumbnails img {
    width: 43px;
    height: 43px;
  }
  .product-page .detail-copy h1 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .product-page .price-box {
    padding: 14px 16px;
  }
  .product-page .price-box strong {
    font-size: 25px;
  }
  .product-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-page .buy-form {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 9px;
  }
  .product-page .product-purchase-actions .btn {
    font-size: 11px;
    padding: 11px 9px;
    gap: 6px;
  }
  .product-page .product-information {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding: 17px;
    border-radius: 14px;
  }
  .product-info-section > summary {
    font-size: 13px;
    padding-block: 14px;
  }
  .product-brochures {
    padding: 18px;
  }
  .product-brochures .brochure-icon {
    float: left;
    margin-right: 12px;
  }
  .product-brochures h2 {
    font-size: 16px;
    margin-top: 2px;
  }
  .product-brochures .brochure-button {
    clear: both;
  }
  .product-page .related-heading {
    gap: 10px;
  }
  .product-page .related-heading h2 {
    font-size: 21px;
  }
  .catalog .catalog-head h1 {
    font-size: 26px;
  }
  .catalog .catalog-filters {
    gap: 8px;
    padding: 10px;
  }
  .catalog .catalog-filters .catalog-query {
    flex-basis: 100%;
  }
  .catalog .catalog-filters .catalog-category {
    flex: 1;
    min-width: 0;
  }
  .catalog .catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .catalog .product-image,
  .product-page .product-image {
    padding: 9px;
  }
  .catalog .product-copy,
  .product-page .product-copy {
    padding: 11px;
  }
  .catalog .product-copy h3,
  .product-page .product-copy h3 {
    font-size: 11px;
    line-height: 1.55;
    height: 51.15px;
    min-height: 51.15px;
    margin-bottom: 10px;
  }
  .catalog .product-bottom strong,
  .product-page .product-bottom strong {
    font-size: 13px;
  }
  .catalog .product-detail-link,
  .product-page .product-detail-link {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-shell * {
    scroll-behavior: auto;
  }
  .tracking-history > summary svg,
  .product-info-section > summary svg {
    transition: none;
  }
}
@media (min-width: 901px) and (max-height: 950px) {
  .account-shell main > .section:has(.customer-order-detail) {
    height: calc(100vh - 145px);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .customer-order-detail .order-summary-panel .sum-row {
    padding: 2px 0;
  }
  .customer-order-detail .order-summary-panel .sum-row.total {
    margin-top: 5px;
    padding-top: 6px;
  }
  .customer-order-detail .order-summary-panel .order-recipient {
    margin-top: 8px;
    padding-top: 8px;
  }
  .customer-order-detail .order-summary-panel .order-recipient h2 {
    margin-bottom: 6px;
  }
  .customer-order-detail .order-summary-panel .order-recipient p {
    margin: 5px 0;
  }
}
@media print {
  .workspace-footer,
  .account-heading {
    display: none !important;
  }
  .commerce-shell {
    display: block;
    background: #fff;
  }
  .customer-order-grid,
  .customer-order-detail .order-summary-panel {
    display: block;
  }
  .customer-order-detail .panel {
    margin-bottom: 12px;
  }
  .customer-order-detail .order-products-list,
  .customer-order-detail .tracking-timeline {
    max-height: none;
    overflow: visible;
  }
  .tracking-history:not([open]) > .tracking-timeline {
    display: block;
  }
}

/* Compact order rows and customer delivery acknowledgement. */
.account-shell .orders-page .account-heading {
  margin-bottom: 10px;
}
.orders-page .account-heading h1 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.orders-page .account-heading h1 small {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #e9efff;
  color: #3156aa;
  font-size: 12px;
  letter-spacing: 0;
}
.account-shell .orders-page .customer-order-filters {
  margin-bottom: 10px;
}
.account-shell .orders-page .customer-orders {
  gap: 10px;
  grid-auto-rows: max-content;
  align-content: start;
}
.account-shell .orders-page .customer-order-card {
  padding: 12px 16px;
  min-height: 0;
  border-radius: 14px;
  background: #fff;
}
.account-shell .orders-page .customer-order-heading {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 10px;
  min-height: 22px;
}
.account-shell .orders-page .customer-order-heading .badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 7px;
}
.receipt-badge {
  background: #fff3df;
  color: #98620b;
}
.account-shell .orders-page .customer-order-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 0 1px;
  align-items: center;
  min-height: 0;
}
.account-shell .orders-page .customer-order-product > img,
.orders-page .order-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  background: #f7f9fd;
}
.account-shell .orders-page .customer-order-product h2 {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  letter-spacing: 0;
}
.account-shell .orders-page .customer-order-product p {
  margin: 0 0 2px;
  font-size: 11px;
}
.account-shell .orders-page .customer-order-product small {
  display: block;
  font-size: 10px;
  color: #8592a9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-shell .orders-page .customer-order-product > .customer-order-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding-left: 12px;
  flex: none;
}
.customer-order-value > b {
  font-size: 15px;
  white-space: nowrap;
  color: #192e50;
}
.customer-order-value > span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--blue);
}
.customer-order-value svg {
  width: 13px;
  height: 13px;
  transform: rotate(-90deg);
}
.order-receipt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.receipt-copy {
  flex: 1;
  min-width: 0;
}
.receipt-copy > b {
  font-size: 13px;
  color: #224375;
}
.receipt-copy > p {
  font-size: 11px;
  line-height: 1.6;
  color: #6d7f99;
  margin: 0;
}
.receipt-copy time {
  font-weight: 650;
  color: #455e83;
  white-space: nowrap;
}
.order-receipt form {
  flex: none;
  margin: 0;
}
.order-receipt .btn {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 11px;
  border-radius: 9px;
  gap: 6px;
  white-space: nowrap;
}
.order-receipt .btn svg {
  width: 15px;
  height: 15px;
}
.receipt-compact {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #edf1f7;
  gap: 12px;
}
.receipt-panel {
  background: linear-gradient(110deg, #edf3ff, #fff);
  border: 1px solid #dbe6fa;
  border-radius: 13px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.receipt-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #deebff;
  color: var(--blue);
  flex: none;
}
.receipt-symbol svg {
  width: 19px;
  height: 19px;
}
.order-completed {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #eaf8f2;
  border: 1px solid #d7eee4;
  border-radius: 11px;
  padding: 10px 14px;
  margin-bottom: 14px;
  color: #207254;
}
.order-completed > svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.order-completed > p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  color: inherit;
}
@media (max-width: 650px) {
  .account-shell .orders-page .customer-order-card {
    padding: 12px;
    border-radius: 12px;
  }
  .account-shell .orders-page .customer-order-product {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 5px;
    padding-top: 8px;
  }
  .account-shell .orders-page .customer-order-product > img,
  .orders-page .order-placeholder {
    width: 48px;
    height: 48px;
    grid-row: 1 / span 2;
    align-self: start;
  }
  .account-shell .orders-page .customer-order-product h2 {
    font-size: 12px;
    line-height: 1.4;
  }
  .account-shell .orders-page .customer-order-product small {
    font-size: 9px;
  }
  .account-shell .orders-page .customer-order-product > .customer-order-value {
    grid-column: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 10px;
  }
  .customer-order-value > b {
    font-size: 14px;
  }
  .receipt-compact {
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
    padding-top: 9px;
  }
  .receipt-compact .receipt-copy {
    flex-basis: 100%;
  }
  .receipt-compact form,
  .receipt-compact .btn {
    width: 100%;
  }
  .order-receipt .btn {
    min-height: 40px;
  }
  .receipt-panel {
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
    margin-bottom: 12px;
  }
  .receipt-panel .receipt-symbol {
    width: 30px;
    height: 30px;
    align-self: flex-start;
  }
  .receipt-panel .receipt-copy {
    flex-basis: calc(100% - 42px);
  }
  .receipt-panel form,
  .receipt-panel .btn {
    width: 100%;
  }
  .receipt-copy > p {
    font-size: 10px;
  }
  .order-completed {
    padding: 10px 12px;
    margin-bottom: 12px;
  }
}
@media print {
  .order-receipt {
    display: none;
  }
}
