/* Shopping v112: compact surfaces and touch-first controls. */
.storefront {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.storefront .site-header,
.storefront main,
.storefront .header-row {
  max-width: 100%;
  min-width: 0;
}
.storefront .header-search {
  min-width: 0;
}
.storefront .header-search input {
  min-width: 0;
  width: 100%;
}
.storefront .product-card {
  position: relative;
}
.wishlist-button,
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e0e7f0;
  background: #fff;
  color: #5c6c86;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 8px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.wishlist-button svg,
.share-button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.product-card > .wishlist-button {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 4;
  background: #fffffff2;
  box-shadow: 0 2px 8px #152b4c0a;
}
.wishlist-button:hover,
.wishlist-button[aria-pressed="true"] {
  color: #ed2343;
  background: #fff1f4;
  border-color: #ffc7d2;
}
.wishlist-button[aria-pressed="true"] svg {
  fill: #ed2343;
  stroke: #ed2343;
}
.wishlist-button:focus-visible,
.share-button:focus-visible,
.card-cart button:focus-visible {
  outline: 3px solid #92b0ff;
  outline-offset: 3px;
}
.selling-price {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
  line-height: 1.4;
}
.selling-price del {
  color: #8c97a8;
  font-size: 11px;
  white-space: nowrap;
}
.discount-label {
  font-size: 10px;
  font-weight: 750;
  background: #fff0f3;
  color: #e21e40;
  border-radius: 5px;
  padding: 3px 5px;
  white-space: nowrap;
}
.storefront .product-card .product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 56px;
  padding-top: 5px;
  margin-top: auto;
}
.storefront .product-card .selling-price {
  gap: 4px 7px;
}
.product-card .selling-price strong {
  flex-basis: 100%;
}
.card-cart {
  margin: 0;
  flex-shrink: 0;
}
.card-cart button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #dae3f7;
  border-radius: 10px;
  background: #f1f5ff;
  color: #174ddb;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.card-cart button:hover {
  background: #174ddb;
  color: #fff;
}
.card-cart button svg {
  width: 17px;
  height: 17px;
}
.product-title-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.product-title-row h1 {
  min-width: 0;
}
.product-social {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.product-social .wishlist-button {
  position: static;
}
.share-button {
  width: auto;
  border-radius: 99px;
  font-size: 11px;
  padding-inline: 12px;
}
.product-page .price-box .selling-price {
  gap: 8px 12px;
}
.product-page .price-box .selling-price strong {
  margin: 0;
}
.product-page .price-box .discount-label {
  display: inline-block;
  font-size: 11px;
  margin: 0;
  color: #e21e40;
}
.product-page .price-box del {
  font-size: 13px;
}
.share-dialog input {
  width: 100%;
  font-size: 14px;
  padding: 12px;
  border: 1px solid #dce4f1;
  border-radius: 8px;
  margin: 8px 0 18px;
}
.share-dialog > .btn {
  margin: 0 8px 0 0;
}
.wishlist-empty {
  padding: 35px 20px;
  text-align: center;
  border: 1px dashed #ccd9ee;
  border-radius: 14px;
  font-size: 13px;
  color: #7284a0;
  background: #fff;
  line-height: 1.8;
}
.account-nav .account-wishlist {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  margin-top: 3px;
  border-radius: 11px;
  color: #6b7b96;
  font-size: 13px;
}
.account-nav .account-wishlist.active {
  background: #eef3ff;
  color: #174ddb;
  font-weight: 700;
}
.wishlist-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.wishlist-page .account-heading p {
  font-size: 12px;
  margin: 5px 0 0;
  color: #7b89a0;
}
.order-count {
  background: #eaf0ff;
  border-radius: 7px;
  font-size: 12px;
  padding: 5px 8px;
  vertical-align: middle;
}
.storefront .cart-drawer {
  inset: 18px 18px auto auto;
  width: min(420px, calc(100% - 36px));
  height: auto;
  max-height: calc(100dvh - 36px);
  border: 1px solid #e1e8f3;
  border-radius: 20px;
  box-shadow: 0 20px 80px #10295238;
  overflow: hidden;
}
.storefront .cart-drawer .drawer-heading {
  padding: 16px 18px;
  gap: 12px;
  background: #fff;
  flex-shrink: 0;
}
.storefront .cart-drawer .drawer-heading h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.storefront .cart-drawer .drawer-heading .icon-btn {
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f4f6fa;
  border: 0;
}
.storefront .cart-drawer .drawer-content {
  flex: 0 1 auto;
  min-height: 0;
  padding: 0 18px;
  max-height: calc(100dvh - 285px);
  overflow: auto;
  overscroll-behavior: contain;
}
.storefront .cart-drawer .cart-item {
  padding: 16px 0;
  gap: 12px;
  align-items: flex-start;
}
.storefront .cart-drawer .cart-item:last-child {
  border-bottom: 0;
}
.storefront .cart-drawer .cart-photo {
  width: 66px;
  height: 66px;
  flex-basis: 66px;
  border-radius: 9px;
}
.storefront .cart-drawer .cart-details {
  min-width: 0;
}
.storefront .cart-drawer .cart-details h3 {
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.storefront .cart-drawer .cart-unit-price strong {
  font-size: 14px;
}
.storefront .cart-drawer .cart-unit-price small {
  font-size: 9px;
}
.storefront .cart-drawer .cart-quantity {
  margin-top: 10px;
  gap: 8px;
}
.storefront .cart-drawer .quantity-stepper button,
.storefront .cart-drawer .remove-item {
  width: 32px;
  min-width: 32px;
  height: 32px;
}
.storefront .cart-drawer .quantity-stepper input {
  width: 34px;
  min-width: 34px;
  font-size: 12px;
}
.storefront .cart-drawer .drawer-footer {
  padding: 14px 18px 16px;
  background: #f8faff;
  flex-shrink: 0;
  box-shadow: none;
}
.storefront .cart-drawer .drawer-footer .total {
  margin-bottom: 12px;
  padding: 0;
  font-size: 13px;
}
.storefront .cart-drawer .drawer-footer .total b {
  font-size: 19px;
  color: #174ddb;
}
.storefront .cart-drawer .drawer-footer .btn {
  min-height: 43px;
  font-size: 12px;
}
.storefront .cart-drawer .drawer-footer p {
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  margin: 9px 0;
}
.storefront .cart-drawer .drawer-footer > .text-link {
  display: flex;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 6px;
  font-size: 11px;
  border: 0;
  background: transparent;
}
.storefront .drawer-backdrop {
  background: #0d1e405c;
  backdrop-filter: blur(3px);
}
.storefront .cart-page .cart-item {
  padding: 18px;
  gap: 16px;
}
.storefront .cart-page .cart-photo {
  width: 80px;
  height: 80px;
  flex-basis: 80px;
}
.storefront .cart-page .cart-details h3 {
  font-size: 14px;
}
.storefront .cart-page .cart-summary {
  padding: 22px;
}
.toast-stack {
  width: min(340px, calc(100% - 28px));
}
.toast {
  padding: 13px 13px 15px;
  gap: 10px;
  border-color: #dbe5f9;
  border-radius: 12px;
  box-shadow: 0 8px 35px #102b6426;
  grid-template-columns: 28px 1fr 24px;
  background: #fff;
}
.toast p {
  font-size: 12px;
  line-height: 1.6;
  color: #263b5c;
  align-self: center;
}
.toast-icon {
  width: 28px;
  height: 28px;
  background: #edf3ff;
  color: #174ddb;
  border-radius: 9px;
  font-size: 15px;
}
.toast-progress,
.toast-success .toast-progress {
  height: 2px;
  background: #174ddb;
}
.toast-error {
  border-color: #ffd3db;
}
.toast-error .toast-progress {
  background: #ed2343;
}
.toast-close {
  font-size: 22px;
  min-height: 28px;
  border-radius: 7px;
}
.toast-close:hover {
  background: #f0f4fc;
  color: #174ddb;
}
.storefront.overlay-open .toast-stack {
  top: auto;
  bottom: 22px;
  right: 22px;
  z-index: 220;
}
.shop-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.shop-path {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e4eaf4;
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.shop-path:hover {
  border-color: #96b0ec;
  transform: translateY(-2px);
}
.shop-path img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 10px;
  background: #f4f7ff;
}
.shop-path b {
  font-size: 12px;
  display: block;
  line-height: 1.5;
  color: #18345d;
}
.shop-path small {
  font-size: 10px;
  color: #7b8ba4;
  display: block;
  margin-top: 3px;
}
.shop-path > svg {
  margin-left: auto;
  color: #174ddb;
  flex-shrink: 0;
}
.store-service-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid #e8edf5;
}
.store-service-strip a {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 12px;
  color: #314c75;
}
.store-service-strip svg {
  color: #174ddb;
  width: 20px;
  height: 20px;
}
.store-service-strip small {
  display: block;
  font-size: 10px;
  color: #8a97ab;
  margin-top: 3px;
}
.store-service-strip {
  scrollbar-width: none;
}
.store-service-strip::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1100px) {
  .product-title-row {
    flex-wrap: wrap;
    gap: 0;
  }
  .product-social {
    margin-bottom: 16px;
  }
  .shop-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .storefront .header-actions .header-wishlist {
    display: none;
  }
  .storefront {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }
  .storefront .header-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: calc(100% - 28px);
    padding-block: 10px;
  }
  .storefront .header-row > .brand {
    flex: 1;
    min-width: 0;
  }
  .storefront .header-row > .mobile {
    display: inline-flex;
    flex-shrink: 0;
  }
  .storefront .header-row .header-search {
    order: 5;
    flex: 1 0 100%;
    max-width: 100%;
    width: 100%;
    height: 42px;
    min-height: 42px;
  }
  .storefront .header-actions {
    flex-shrink: 0;
  }
  .storefront .header-wishlist {
    display: none;
  }
  .storefront .store-nav:not(.open) {
    display: none;
  }
  .storefront .store-nav-bar:has(.store-nav:not(.open)) {
    border: 0;
  }
  .storefront .mobile-bottom {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e4eaf4;
    border-radius: 16px 16px 0 0;
    background: #fffffff7;
    backdrop-filter: blur(16px);
    box-shadow: 0 -5px 25px #12356408;
  }
  .storefront .mobile-bottom a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    min-height: 48px;
    border-radius: 11px;
    font-size: 9px;
    color: #8a98b0;
    padding: 4px;
    line-height: 1.2;
  }
  .storefront .mobile-bottom a.active {
    background: #edf3ff;
    color: #174ddb;
  }
  .storefront .mobile-bottom a.active:before {
    top: 0;
    left: 35%;
    right: 35%;
  }
  .storefront .mobile-bottom svg {
    width: 21px;
    height: 21px;
  }
  .storefront .workspace-footer {
    padding-bottom: 18px;
  }
  .storefront .site-footer {
    padding-bottom: 18px;
  }
  .storefront.checkout-shell .mobile-bottom {
    display: none;
  }
  .storefront.checkout-shell {
    padding-bottom: 0;
  }
  .storefront .toast-stack,
  .storefront.overlay-open .toast-stack {
    right: 14px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .storefront.overlay-open .toast-stack {
    top: 14px;
    bottom: auto;
  }
  .account-shell .account-nav nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .account-shell .account-nav nav > a {
    font-size: 9px;
    gap: 5px;
    flex-direction: column;
    padding: 7px 3px;
    min-height: 47px;
  }
  .account-shell .account-nav nav > a svg {
    width: 18px;
    height: 18px;
  }
  .wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .storefront .brand img {
    max-width: 100%;
    width: 139px;
    height: 40px;
  }
  .storefront .header-actions {
    gap: 7px;
  }
  .storefront .header-search input {
    font-size: 16px;
  }
  .storefront .header-search button {
    font-size: 11px;
    padding-inline: 16px;
  }
  .storefront .header-row > .mobile,
  .storefront .header-actions .icon-btn,
  .storefront .cart-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
  .storefront .cart-drawer {
    inset: auto 10px calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 20px);
    max-height: calc(100dvh - 30px);
    border-radius: 20px;
  }
  .storefront .cart-drawer .drawer-content {
    max-height: calc(100dvh - 265px);
  }
  .storefront .cart-drawer .drawer-heading {
    padding: 14px 16px;
  }
  .storefront .cart-drawer .drawer-footer {
    padding: 13px 16px;
  }
  .storefront .cart-drawer .cart-photo {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  .storefront .cart-page .cart-item {
    padding: 14px;
    gap: 12px;
  }
  .storefront .cart-page .cart-photo {
    width: 65px;
    height: 65px;
    flex-basis: 65px;
  }
  .storefront .cart-page .cart-details h3 {
    font-size: 12px;
  }
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .wishlist-page .account-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .wishlist-page .account-heading p {
    font-size: 10px;
    max-width: 180px;
  }
  .product-card > .wishlist-button {
    right: 9px;
    top: 9px;
    width: 31px;
    height: 31px;
  }
  .product-card .selling-price del {
    font-size: 9px;
  }
  .product-card .discount-label {
    font-size: 8px;
  }
  .storefront .product-card .product-bottom strong {
    font-size: 13px;
  }
  .card-cart button {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .card-cart button svg {
    width: 15px;
    height: 15px;
  }
  .product-social {
    margin-bottom: 13px;
  }
  .product-title-row {
    flex-wrap: wrap;
  }
  .product-page .price-box .selling-price strong {
    font-size: 26px;
  }
  .shop-paths {
    gap: 10px;
    margin-top: 16px;
  }
  .shop-path {
    padding: 10px;
    gap: 9px;
  }
  .shop-path img {
    width: 45px;
    height: 45px;
  }
  .shop-path b {
    font-size: 10px;
  }
  .shop-path small {
    font-size: 9px;
  }
  .shop-path > svg {
    display: none;
  }
  .store-service-strip {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 17px 0;
  }
  .store-service-strip a {
    flex-shrink: 0;
    font-size: 10px;
    gap: 8px;
  }
  .store-service-strip small {
    font-size: 9px;
  }
  .store-service-strip svg {
    width: 18px;
    height: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wishlist-button,
  .share-button,
  .card-cart button,
  .shop-path {
    transition: none;
  }
  .shop-path:hover {
    transform: none;
  }
}
@media print {
  .wishlist-button,
  .share-button,
  .card-cart,
  .storefront .mobile-bottom {
    display: none;
  }
  .storefront {
    padding-bottom: 0;
  }
}
