/* Product photography and controls remain ordinary, sharp DOM elements. */
.has-charm .detail-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 0 42px; align-items: end; margin-bottom: 23px; }
.has-charm .detail-heading .eyebrow { grid-column: 1 / -1; }
.has-charm .detail-heading h1 { font-size: clamp(27px, 3.1vw, 38px); line-height: 1.35; }
.has-charm .detail-summary { font-size: 13px; line-height: 1.85; margin-bottom: 2px; }
.has-charm .detail-layout { display: block; max-width: 760px; margin: 38px 0 0; }
.has-charm #detail-cover { display: none; }
.charm-viewer { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(250px, .9fr); border: 1px solid #d6cfc4; background: #f8f5ef; }
.charm-stage { position: relative; isolation: isolate; min-width: 0; height: clamp(470px, 64vh, 650px); background: radial-gradient(ellipse at 48% 35%, #fffcf5, #e7e0d5 100%); overflow: hidden; }
.charm-stage-top { position: absolute; top: 24px; left: 27px; right: 27px; display: flex; justify-content: space-between; pointer-events: none; font: 10px/1.5 var(--sans); letter-spacing: 1.2px; color: #766a5c; z-index: 2; }
.charm-canvas { position: absolute; inset: 0; }
.charm-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.charm-canvas canvas:active { cursor: grabbing; }
.charm-canvas canvas:focus-visible { outline: 2px solid #82624c; outline-offset: -6px; }
.charm-stage-caption { position: absolute; left: 20px; right: 20px; bottom: 21px; text-align: center; font-size: 11px; line-height: 1.65; color: #756858; pointer-events: none; }
.charm-control-panel { padding: clamp(25px, 3vw, 43px) clamp(23px, 2.8vw, 39px); display: flex; flex-direction: column; border-left: 1px solid #d6cfc4; }
.charm-edition { font-size: 10px; letter-spacing: 1.2px; color: #80674f; }
.charm-control-panel h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 2.6vw, 35px); line-height: 1.5; margin: 15px 0 12px; min-height: 2.9em; white-space: pre-line; letter-spacing: -.6px; }
.charm-material { font-size: 12px; color: #7a6d60; line-height: 1.9; }
.charm-variants { padding: 0; border: 0; display: flex; gap: 10px; margin: 25px 0 23px; min-width: 0; }
.charm-variants legend { padding: 0; width: 100%; font-size: 11px; margin-bottom: 12px; color: #665a4c; }
.charm-variants legend span { float: right; color: #8d8275; font-size: 9px; letter-spacing: 1px; }
.charm-swatch { border: 1px solid transparent; border-radius: 50%; width: 43px; height: 43px; padding: 6px; background: none; cursor: pointer; }
.charm-swatch span { display: block; width: 100%; height: 100%; background: var(--swatch); border-radius: 50%; box-shadow: inset 0 0 0 1px #00000012; }
.charm-swatch[aria-pressed="true"] { border-color: #7a6856; }
.charm-swatch:hover { border-color: #b7a692; }
.charm-view-buttons { display: grid; grid-template-columns: 1fr; gap: 7px; }
.charm-view-buttons button { min-height: 43px; border: 1px solid #d3c8b9; background: transparent; padding: 10px 13px; display: flex; gap: 12px; align-items: center; font-size: 12px; text-align: left; cursor: pointer; }
.charm-view-buttons button span { font-family: Arial, sans-serif; font-size: 20px; width: 23px; color: #927252; }
.charm-view-buttons button:hover, .charm-orbit-buttons button:hover { background: #ebe3d6; }
.charm-orbit-buttons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; margin-top: 9px; }
.charm-orbit-buttons button { min-height: 40px; border: 0; background: none; padding: 0; font: 19px/1 Arial, sans-serif; cursor: pointer; }
.charm-motion { margin-top: 11px; padding: 12px 0; min-height: 43px; border: 0; border-top: 1px solid #e1d8cb; background: none; font-size: 11px; display: flex; justify-content: space-between; cursor: pointer; color: #675747; }
.charm-status { font-size: 10px; line-height: 1.8; color: #756758; min-height: 18px; }
.charm-model-note { margin-top: auto; padding-top: 18px; font-size: 10px; color: #918577; line-height: 1.85; }
.charm-fallback { position: absolute; top: 48%; left: 50%; width: 62%; max-width: 340px; transform: translate(-50%, -42%) rotate(-5deg); }
.charm-flat-pillow { background: #bd1733; color: #ffeedb; border-radius: 17%; border: 6px double #90142a; padding: 24px 24px 30px; box-shadow: inset -12px -14px 23px #4d00195c, inset 12px 12px 22px #ff718438, 16px 28px 38px #39291828; aspect-ratio: 1.37; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--serif); }
.charm-flat-pillow small { font-size: clamp(15px, 1.9vw, 24px); font-weight: 600; }
.charm-flat-pillow>span { white-space: pre-line; font-size: clamp(25px, 3.2vw, 46px); line-height: 1.15; font-weight: 700; }
.charm-flat-ring { position: absolute; width: 66px; height: 75px; border: 8px solid #991a33; border-radius: 50%; top: -86px; left: calc(50% - 33px); box-shadow: inset 2px 2px 3px #fff6, 2px 1px 1px #72041b; }
.charm-flat-cord { position: absolute; width: 16px; height: 31px; border: 5px solid #f2efdd; border-radius: 40%; top: -24px; left: calc(50% - 8px); }
.charm-viewer[data-state="ready"] .charm-fallback { display: none; }
.charm-viewer[data-state="failed"] .charm-canvas { display: none; }
.charm-viewer[data-state="failed"] .charm-view-buttons, .charm-viewer[data-state="failed"] .charm-orbit-buttons, .charm-viewer[data-state="failed"] .charm-motion { display: none; }
@media (max-width: 900px) {
  .charm-viewer { grid-template-columns: minmax(0, 1.6fr) 252px; }
  .charm-control-panel { padding: 27px 23px; }
  .charm-stage { height: 530px; }
}
@media (max-width: 700px) {
  .has-charm .detail-heading { display: block; }
  .has-charm .detail-heading h1 { font-size: 29px; }
  .has-charm .detail-summary { margin-top: 10px; }
  .charm-viewer { display: block; }
  .charm-stage { height: min(108vw, 480px); min-height: 355px; }
  .charm-stage-top { top: 17px; left: 19px; right: 19px; font-size: 9px; }
  .charm-stage-caption { bottom: 15px; font-size: 10px; }
  .charm-control-panel { border-left: 0; border-top: 1px solid #d6cfc4; padding: 25px 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 19px; align-items: start; }
  .charm-edition { grid-column: 1 / -1; }
  .charm-control-panel h2 { grid-column: 1; font-size: 26px; min-height: 0; margin: 13px 0 4px; }
  .charm-material { grid-column: 1; font-size: 11px; }
  .charm-variants { grid-column: 2; grid-row: 2 / 4; flex-wrap: wrap; gap: 2px; margin: 17px 0 0; max-width: 112px; justify-self: end; }
  .charm-variants legend { margin-bottom: 4px; }
  .charm-variants legend span { display: none; }
  .charm-swatch { width: 44px; height: 44px; }
  .charm-view-buttons { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: 21px; }
  .charm-view-buttons button { font-size: 11px; gap: 5px; padding-inline: 10px; }
  .charm-orbit-buttons { grid-column: 1 / -1; }
  .charm-orbit-buttons button { min-height: 44px; }
  .charm-motion { grid-column: 1 / -1; }
  .charm-status, .charm-model-note { grid-column: 1 / -1; }
  .charm-model-note { padding-top: 12px; }
  .charm-flat-pillow small { font-size: 21px; }
  .charm-flat-pillow>span { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .charm-fallback { transform: translate(-50%, -42%); } }

/* Keep object controls descriptive while removing directional glyphs. */
.charm-view-buttons button > span { display: none; }
.charm-orbit-buttons button { font-size: 0; }
.charm-orbit-buttons button::after { font: 400 10px/1 var(--sans); }
.charm-orbit-buttons button[data-charm-action="left"]::after { content: "左旋"; }
.charm-orbit-buttons button[data-charm-action="right"]::after { content: "右旋"; }
.charm-orbit-buttons button[data-charm-action="up"]::after { content: "上旋"; }
.charm-orbit-buttons button[data-charm-action="down"]::after { content: "下旋"; }
.charm-orbit-buttons button[data-charm-action="zoom-in"]::after { content: "放大"; }
.charm-orbit-buttons button[data-charm-action="zoom-out"]::after { content: "缩小"; }
