/* Product actions share one icon shape before and after saving. */
body[data-v14] .ec-action-icon {
  display:block;
  flex:0 0 20px;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body[data-v14] .ec-save-button[aria-pressed="true"] { color:#963b4c; }
body[data-v14] .ec-save-button[aria-pressed="true"] .ec-action-icon { fill:currentColor; }
body[data-v14] .ec-action-label { white-space:nowrap; }
html body[data-v14] :is(.v14-catalog,.v14-m-wishlist) .v14-product { display:flex;flex-direction:column; }
html body[data-v14] :is(.v14-catalog,.v14-m-wishlist) .v14-product-link { flex:1; }
html body[data-v14] .v14-product-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
  height:auto;
  min-height:54px;
  padding:4px 6px 6px;
  margin:0;
  box-sizing:border-box;
}
html body[data-v14] .v14-product-actions >button {
  position:static;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:100%;
  min-width:0;
  height:44px;
  min-height:44px;
  margin:0;
  padding:0;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#5b4936;
  box-shadow:none;
  font:500 12px/1.2 var(--v14-font,sans-serif);
  letter-spacing:0;
  cursor:pointer;
  box-sizing:border-box;
}
html body[data-v14] .v14-product-actions .ec-action-icon { flex-basis:18px;width:18px;height:18px;stroke-width:1.65; }
html body[data-v14] .v14-product-actions [data-v14-bag-add] { background:#6949230c; }
html body[data-v14] .v14-product-actions .ec-save-button[aria-pressed="true"] { color:#963b4c; }
html body[data-v14] [data-v14-bag-add][data-added="true"] { opacity:1;cursor:default;background:#e4e6c7;color:#4a5b36; }
html body[data-v14] .v14-product-actions :is([data-like],[data-v14-bag-add]):focus-visible { outline:2px solid #75583a;outline-offset:-2px; }
/* Wishlist actions stay below the object, using the same row rather than covering the photo. */
html body[data-v14] .v14-m-wishlist .v14-product-actions { position:static!important;height:auto!important;min-height:54px!important;padding:4px 6px 6px!important; }
html body[data-v14] .v14-m-wishlist .v14-product-actions >button:is([data-like],[data-v14-bag-add]) { position:static;inset:auto;display:flex;width:100%;height:44px;min-height:44px;border-radius:10px;background:transparent;color:#5b4936!important; }
html body[data-v14] .v14-m-wishlist .v14-product-actions [data-like][aria-pressed="true"] { color:#963b4c!important; }
html body[data-v14] .v14-m-wishlist .v14-product-actions [data-v14-bag-add] { background:#6949230c!important; }
html body[data-v14] .v14-m-wishlist .v14-product-actions [data-v14-bag-add][data-added="true"] { background:#e4e6c7!important;color:#4a5b36!important; }
/* Keep the existing catalogue and detail actions, with consistent hit areas and SVG states. */
html body[data-v14] .card .tools >button { display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:10px;background:transparent; }
html body[data-v14] .card .tools >button svg { width:20px;height:20px;stroke-width:1.65; }
html body[data-v14] .detail-actions .ec-save-button { display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px; }
/* A single steady row in the quick view; price already appears beside the title. */
html body[data-v14] .v14-sheet-buy {
  display:grid;
  grid-template-columns:44px minmax(112px,1fr) minmax(0,1.2fr);
  gap:8px;
  align-items:center;
  padding:10px 0 4px;
}
html body[data-v14] .v14-sheet-buy >:is(button,a) {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:100%;
  min-width:0;
  height:48px;
  min-height:48px;
  margin:0;
  padding:0 8px;
  border-radius:12px;
  font:500 13px/1.2 var(--v14-font,sans-serif);
  box-sizing:border-box;
  white-space:nowrap;
}
html body[data-v14] .v14-sheet-buy >[data-like] { width:44px;min-width:44px;flex:none;padding:0; }
html body[data-v14] .v14-sheet-buy >[data-v14-bag-add] { background:transparent;border:1px solid #bba182; }
html body[data-v14] .v14-sheet-buy >[data-v14-bag-add][data-added="true"] { background:#e4e6c7;border-color:transparent; }
html body[data-v14] .v14-sheet-buy >.v14-cta { font-size:14px;gap:8px; }
html body[data-v14] .v14-sheet-buy .ec-action-icon { flex-basis:20px;width:20px;height:20px; }
html body[data-v14] .v14-sheet-buy .v14-cta .ec-action-icon { flex-basis:16px;width:16px;height:16px; }
@media(max-width:480px) {
  html body[data-v14] .v14-sheet-buy { grid-template-columns:44px 44px minmax(0,1fr); }
  html body[data-v14] .v14-sheet-buy >[data-v14-bag-add] { padding:0; }
  html body[data-v14] .v14-sheet-buy >[data-v14-bag-add] .ec-action-label { display:none; }
}
@media(hover:hover) {
  html body[data-v14] .v14-product-actions >button:not(:disabled):hover { background:#69492314; }
  html body[data-v14] .card .tools >button:hover { background:#6949230c; }
}
/* Keep Chinese action labels at the same size as their English equivalents. */
html[lang^="zh"] body[data-v14] .v14-product-actions >button { font-size:12px!important;line-height:1.2!important; }
