#v1 .product-item-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  color: #111;
  background: #fff;
}
#v1 .product-item-total small { display: block; color: #575757; font-size: 12px; }
#v1 .product-item-total #product-line-total { margin: 0; white-space: nowrap; font-size: 18px; }
#retry-product-catalog { grid-column: 1 / -1; justify-self: start; order: 2; min-height: 36px; }
.saved-sticker-finish { font-size: 12px; color: #555; }
#v1 .product-sharing { order: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0; }
#v1 .product-sharing button,
#product-share-dialog .share-product-actions > * {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  color: #111;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
#v1 .product-sharing svg { width: 17px; height: 17px; flex: none; }
#v1 .product-sharing [data-share-product],
#product-share-dialog [data-copy-share-link] { border-color: #f6cf1f; background: #f6cf1f; }
#v1 .product-sharing button:hover,
#product-share-dialog .share-product-actions > :hover { border-color: #111; }
#v1 .product-sharing [role=status] { font-size: 12px; color: #333; }
#product-share-dialog { box-sizing: border-box; max-width: 400px; padding: 20px; border-radius: 6px; }
#product-share-dialog .share-product-header { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
#product-share-dialog h2 { margin: 0; }
#product-share-dialog .share-product-name { margin: 4px 0 14px; color: #555; }
#product-share-dialog .share-product-link { box-sizing: border-box; width: 100%; margin: 5px 0 12px; font-size: 13px; }
#product-share-dialog .share-product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#product-share-dialog .share-product-actions > * { flex: 1; }
#product-share-dialog [role=status] { margin: 8px 0 0; font-size: 13px; }
#product-share-dialog [role=status]:empty { margin: 0; }
#product-share-dialog .share-product-close { min-width: 44px; padding: 0; border: 0; background: #f2f2f2; color: #111; font-size: 24px; cursor: pointer; }

#v1 #variant-groups .variant-group[data-group-id='sticker-material'] { grid-column: 1 / -1; }
#v1 #variant-groups .variant-group[data-group-id='sticker-material'] .variant-cards,
.cart-variant-picker [data-group-id='sticker-material'] .variant-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

#commerce-checkout #v3 { overflow-anchor: none; }
#commerce-checkout #v3:has(#checkout-pricing-status:not(:empty))::after {
  content: '';
  display: block;
  height: var(--checkout-scroll-reserve, 0px);
}
#checkout-pricing-status { block-size: 1.25em; line-height: 1.25; }

@media (max-width: 720px) {
  #v1 .product-layout { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  #v1 .product-media { display: contents; }
  #v1 .product-media .product-photo { order: 0; width: 100%; height: clamp(145px, 23svh, 205px); aspect-ratio: auto; border-radius: 0; }
  #v1 .product-media #product-gallery { order: 1; gap: 6px; padding-bottom: 2px; }
  #v1 .product-media #product-gallery:empty { display: none; }
  #v1 .product-layout .product-media .gallery-thumb { width: 48px; height: 48px; border-radius: 0; }
  #v1 .product-media .gallery-thumb img { border-radius: 0; }
  #v1 .product-media .gallery-thumb.active { border-color: #111; box-shadow: inset 0 -2px #f6cf1f; }
  #v1 .product-info { order: 2; margin: 0; padding: 0; }
  #v1 .product-media .testimonials { order: 3; margin: 8px 0 0; }
  #v1 #pName { font-size: 22px; }
  #v1 .product-info > .price { font-size: 24px; }
  #v1 .product-sharing button { min-height: 34px; padding: 4px 8px; gap: 5px; font-size: 12px; }
  #v1 .product-sharing svg { width: 14px; height: 14px; }
  #v1 #product-description { margin: 4px 0; font-size: 13px; }
  #v1 #variant-groups:has([data-group-id='sticker-material']) { margin-top: 5px; }
  #v1 #variant-groups [data-group-id='sticker-material'] .variant-card { min-height: 36px; padding: 4px; }
  #v1 #variant-groups [data-group-id='sticker-material'] .variant-card strong { overflow-wrap: anywhere; }
  #v1 #variant-error:empty { display: none; }
  #v1 .quantity-block { margin-top: 6px; }
  #v1 .product-info .quantity-row .qty button,
  #v1 .quantity-row #q1 { min-height: 36px; height: 36px; padding: 0; }
  #v1 .product-info .quantity-row .qty button { min-width: 36px; width: 36px; }
  #v1 .quantity-row #q1 { width: 52px; }
  #v1 .quantity-row > span { display: none; }
  #v1 .product-item-total { padding: 6px 10px; margin: 5px 0; }
  #v1 .product-info > .product-item-total,
  #v1 .product-info > .commerce-product-actions { order: 9; }
  #v1 .product-info > .first-order-savings { order: 10; }
  #v1 .product-info > .commerce-product-actions { gap: 8px; }
  #v1 .commerce-product-actions #go2,
  #v1 .commerce-product-actions #buy-now {
    position: static;
    width: 100%;
    min-height: 38px;
    height: auto;
    margin: 0 !important;
    padding: 6px 8px !important;
    border-radius: 3px;
    box-shadow: none;
    font-size: 12px !important;
  }
  #v1 .commerce-product-actions #go2 { order: 0; background: #f6cf1f !important; color: #111 !important; }
  #v1 .commerce-product-actions #buy-now { order: 1; background: #111 !important; color: #fff !important; }
}
