.oc-scroll-lock { overflow: hidden; }
.oc-dialog {
  --oc-ink: #1d2148;
  --oc-muted: #595a69;
  --oc-line: #d7d2c8;
  --oc-cream: #fffbf2;
  --oc-yellow: #ffcf36;
  color: var(--oc-ink);
  background: var(--oc-cream);
  border: 1.5px solid var(--oc-ink);
  border-radius: 24px;
  max-height: min(90dvh, 860px);
  width: min(560px, calc(100% - 36px));
  max-width: none;
  margin: auto;
  padding: 0;
  overscroll-behavior: contain;
  box-shadow: 0 20px 80px rgb(24 22 40 / 22%);
  font: inherit;
  line-height: 1.4;
}
.oc-dialog[open] { animation: oc-enter .18s ease-out; }
.oc-dialog::backdrop { background: rgb(25 24 46 / 50%); backdrop-filter: blur(4px); }
.oc-dialog.oc-detail { width: min(885px, calc(100% - 48px)); }
.oc-dialog *, .oc-dialog *::before, .oc-dialog *::after { box-sizing: border-box; }
.oc-dialog :is(h2,h3,p,pre) { margin: 0; }
.oc-dialog button { font: inherit; color: inherit; cursor: pointer; }
.oc-dialog button:focus-visible, .oc-dialog textarea:focus-visible { outline: 3px solid #4a46ae; outline-offset: 3px; }
.oc-dialog button:disabled { cursor: default; }
.oc-dialog svg, .oc-toast svg { width: 19px; height: 19px; flex-shrink: 0; display: inline-block; }
.oc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.oc-close {
  border: 1px solid #c3bfae; background: var(--oc-cream); color: var(--oc-ink);
  display: inline-grid; place-items: center; padding: 0;
  height: 42px; width: 42px; min-height: 42px; border-radius: 100%;
  flex-shrink: 0;
}
.oc-close:hover, .oc-step button:not(:disabled):hover { background: #eae5d8; }
.oc-product { display: grid; grid-template-columns: .99fr 1.01fr; min-height: 460px; }
.oc-gallery { min-width: 0; background: #f4eee4; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.oc-stage { width: 100%; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: #fff; }
.oc-photo-view { display: grid; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; position: relative; place-items: center; cursor: zoom-in !important; }
.oc-photo-view img { width: 100%; height: 100%; display: block; min-height: 0; object-fit: contain; }
.oc-gallery [hidden] { display: none !important; }
.oc-expand-icon { position: absolute; bottom: 9px; inset-inline-end: 9px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #cfc9bb; background: #fffcf4; display: grid; place-items: center; }
.oc-expand-icon svg { width: 15px; height: 15px; }
.oc-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--oc-muted); font-size: .8rem; font-weight: 650; }
.oc-caption bdi { white-space: nowrap; font-variant-numeric: tabular-nums; }
.oc-thumbs { display: flex; align-items: center; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px; margin: -4px; }
.oc-thumbs button { border: 1px solid #cec7bb; padding: 2px; border-radius: 8px; width: 55px; height: 55px; flex: 0 0 55px; background: #fff; display: grid; place-items: center; }
.oc-thumbs button[aria-pressed=true] { border: 2px solid var(--oc-ink); padding: 1px; }
.oc-thumbs img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 5px; }
.oc-thumb-no { display: none; }
.oc-unavailable-thumb .oc-thumb-no { display: inline; }
.oc-image-missing, .oc-gallery.oc-missing { color: var(--oc-muted); text-align: center; }
.oc-gallery .oc-illustrated-note { color: #4e4c57; font-size: .83rem; line-height: 1.4; }
.oc-gallery .oc-zoom-back { display: inline-flex; gap: 6px; align-items: center; align-self: center; background: var(--oc-cream); border: 1px solid var(--oc-line); border-radius: 8px; padding: 6px 12px; min-height: 40px; }
.oc-zoomed .oc-product { display: block; min-height: auto; }
.oc-zoomed .oc-product-copy { display: none; }
.oc-zoomed .oc-gallery { padding: 15px 22px; }
.oc-zoomed .oc-stage { height: min(60dvh,650px); aspect-ratio: auto; }
.oc-zoomed .oc-photo-view { cursor: zoom-out !important; }
.oc-product-copy { padding: 46px 32px 28px; position: relative; align-self: center; min-width: 0; }
.oc-product-copy .oc-close { position: absolute; inset-inline-end: 15px; top: 13px; }
.oc-kicker { display: block; margin: 0 47px 14px 0; font: 650 .76rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; color: var(--oc-muted); }
.oc-dialog[dir=rtl] .oc-kicker { margin: 0 0 14px 47px; letter-spacing: 0; }
.oc-dialog h2 { color: var(--oc-ink); font-size: clamp(1.72rem, 3.3vw, 2.4rem); font-weight: 750; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
.oc-dialog[dir=rtl] h2 { line-height: 1.35; letter-spacing: 0; }
.oc-price { margin-block: 12px 16px; font-size: 1.38rem; font-weight: 750; }
.oc-description, .oc-review-intro { color: var(--oc-muted); font-size: .97rem; line-height: 1.58; }
.oc-unit { margin: 20px 0 13px; padding: 11px 14px; display: grid; gap: 3px; background: #fff1c1; border-inline-start: 3px solid #efa91b; border-radius: 0 8px 8px 0; }
.oc-unit strong { font-size: .8rem; }
.oc-unit span { font-size: .93rem; }
.oc-dialog[dir=rtl] .oc-unit { border-radius: 8px 0 0 8px; }
.oc-stocks { display: flex; gap: 9px 15px; flex-wrap: wrap; margin-block: 15px 0; }
.oc-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .81rem; font-weight: 650; }
.oc-stock i { width: 7px; height: 7px; background: #2a755b; border-radius: 50%; }
.oc-stock.oc-no { color: var(--oc-muted); }
.oc-stock-value { background: #e4eee3; padding: 2px 6px; border-radius: 5px; color: #315645; font-variant-numeric: tabular-nums; }
.oc-no .oc-stock-value { background: #eae7df; color: #625e62; }
.oc-identifiers { display: flex; gap: 8px; font-size: .81rem; color: var(--oc-muted); line-height: 1.5; margin: 9px 0 0; border-block-start: 1px solid var(--oc-line); padding-block-start: 10px; }
.oc-identifiers dd { margin: 0; font-variant-numeric: tabular-nums; }
.oc-inquiry { padding-block-start: 8px; }
.oc-inquiry strong { display: block; font-size: .84rem; }
.oc-inquiry>div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 5px; }
.oc-inquiry a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #224e40; border: 1px solid #b5c6b7; border-radius: 8px; padding: 5px 9px; font-size: .84rem; font-weight: 650; text-decoration: none; }
.oc-inquiry svg { width: 15px; height: 15px; }
.oc-inquiry a:hover, .oc-inquiry a:focus-visible { background: #e8efe4; }
.oc-product-copy .oc-crumbs { color: var(--oc-muted); margin: 0 20px 9px 0; font-size: .79rem; line-height: 1.4; }
.oc-product-copy .oc-crumbs span { padding-inline: 3px; color: #77757c; }
.oc-dialog[dir=rtl] .oc-crumbs { margin: 0 0 9px 20px; }
.oc-related { padding: 20px 25px 24px; border-block-start: 1px solid var(--oc-line); }
.oc-related h3 { font-size: 1.03rem; margin-block-end: 11px; }
.oc-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.oc-related-toy { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px; border-radius: 10px; background: #f3efe5; color: var(--oc-ink); text-decoration: none; }
.oc-related-toy:hover, .oc-related-toy:focus-visible { background: #eee7d5; }
.oc-related-toy:focus-visible { outline: 3px solid #4a46ae; outline-offset: 2px; }
.oc-related-toy img { width: 43px; height: 49px; object-fit: contain; flex-shrink: 0; background: #fff; border-radius: 6px; }
.oc-related-toy>span { display: grid; gap: 3px; min-width: 0; }
.oc-related-toy b { font-size: .84rem; line-height: 1.3; overflow-wrap: anywhere; }
.oc-related-toy span span, .oc-related-toy small { font-size: .78rem; color: var(--oc-muted); }
.oc-zoomed .oc-related { display: none; }
.oc-stock.oc-no i { border: 1px solid #77747b; background: transparent; }
.oc-product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: 22px; }
.oc-primary, .oc-secondary {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  padding: 10px 17px; min-height: 46px; font-weight: 700 !important;
  border: 1.5px solid var(--oc-ink); border-radius: 11px; line-height: 1.25;
}
.oc-primary { background: var(--oc-yellow); color: var(--oc-ink); }
.oc-primary:hover { background: #ffdb66; }
.oc-product-actions .oc-primary { flex: 1; }
.oc-secondary { background: transparent; }
.oc-secondary:hover { background: #e9e5d9; }
.oc-step { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #afacaa; border-radius: 12px; overflow: hidden; min-height: 42px; max-width: max-content; }
.oc-step button { align-self: stretch; min-width: 36px; border: 0; padding: 0 6px; background: transparent; color: var(--oc-ink); font-size: 1.13rem; }
.oc-step button:disabled { color: #8a8787; }
.oc-step b { text-align: center; min-width: 23px; }
.oc-share, .oc-text-btn { background: none; border: none; font-weight: 650 !important; color: var(--oc-ink); text-decoration: underline; text-underline-offset: 4px; }
.oc-share { margin-top: 11px; display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 2px; }
.oc-inline-status { margin-top: 12px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: .85rem; color: #285945; }
.oc-inline-status .oc-text-btn { color: var(--oc-ink); padding: 2px 4px; }
.oc-inline-status svg { width: 15px; height: 15px; }
.oc-bag { padding: clamp(20px, 4vw, 34px); }
.oc-bag-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.oc-bag-head .oc-kicker { margin-block-end: 8px; }
.oc-bag-lines { border-block-start: 1px solid var(--oc-line); }
.oc-cart-line { display: grid; grid-template-columns: 69px minmax(0,1fr) auto; gap: 13px; align-items: start; padding: 17px 0; border-block-end: 1px solid var(--oc-line); }
.oc-cart-line img { width: 69px; height: 74px; background: #f1ece2; object-fit: contain; border-radius: 10px; }
.oc-cart-line h3, .oc-plan h3, .oc-order-head h3 { font-size: 1.02rem; font-weight: 750; line-height: 1.3; color: var(--oc-ink); }
.oc-line-main small { display: block; color: var(--oc-muted); margin-block-start: 3px; font-size: .83rem; }
.oc-line-tools { display: flex; gap: 7px; align-items: center; margin-block-start: 9px; flex-wrap: wrap; }
.oc-line-tools .oc-step { min-height: 33px; border-radius: 8px; }
.oc-line-tools .oc-step button { min-width: 29px; }
.oc-remove { border: none; background: none; color: var(--oc-muted) !important; font-size: .79rem !important; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }
.oc-line-price { font-size: .95rem; text-align: end; white-space: nowrap; }
.oc-plan { background: #e9eddf; border-radius: 13px; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 10px; margin: 20px 0 13px; padding: 16px; }
.oc-plan-icon { color: #275942; display: inline-grid; place-content: center; height: 26px; }
.oc-plan p { color: #415345; font-size: .85rem; line-height: 1.45; margin: 5px 0 10px; }
.oc-branch-sub, .oc-receipt>div, .oc-order-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.oc-branch-sub { font-size: .91rem; margin-block-start: 7px; }
.oc-pick-branch { display: flex; gap: 7px; flex-wrap: wrap; margin: 9px 0; }
.oc-pick-branch button { background: transparent; border: 1px solid #47614b; border-radius: 7px; padding: 6px 13px; min-height: 36px; font-size: .86rem; }
.oc-pick-branch button[aria-pressed=true] { background: #294235; color: white; }
.oc-receipt { margin: 17px 0; }
.oc-receipt>div { font-size: .88rem; color: var(--oc-muted); }
.oc-receipt>div span:last-child { text-align: end; }
.oc-receipt>.oc-total { color: var(--oc-ink); font-size: 1.16rem; margin-top: 10px; }
.oc-full { display: flex; width: 100%; }
.oc-empty { display: grid; justify-items: center; text-align: center; gap: 17px; padding: 28px 0 22px; }
.oc-empty>svg { width: 45px; height: 45px; }
.oc-review-intro { margin: 0 0 15px !important; }
.oc-order-card { border-radius: 12px; border: 1px solid var(--oc-line); background: #fffefa; margin: 13px 0; overflow: hidden; }
.oc-order-head { background: #f2eddb; padding: 12px 15px; align-items: center; }
.oc-order-head h3 { display: flex; align-items: center; gap: 6px; }
.oc-order-card pre { padding: 16px; font: inherit; line-height: 1.65; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; color: #444655; }
.oc-order-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 15px 15px; }
.oc-order-card .oc-secondary, .oc-wa { min-height: 40px; font-size: .89rem; }
.oc-wa { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; background: #214f43; color: #fff; border: 1.5px solid #214f43; border-radius: 11px; padding: 8px 14px; text-decoration: none; }
.oc-wa:visited { color: #fff; }
.oc-wa:hover { background: #193e34; }
.oc-wa:focus-visible { outline: 3px solid #4a46ae; outline-offset: 3px; }
.oc-long-order { padding: 0 15px 12px; font-size: .9rem; color: var(--oc-muted); }
.oc-manual { width: 100%; display: block; min-height: 72px; margin: 6px 0; padding: 9px; font: inherit; }
.oc-toast { position: fixed; z-index: 9999; inset-inline-start: 50%; bottom: max(26px,env(safe-area-inset-bottom)); transform: translate(-50%,12px); color: white; background: #202342; padding: 11px 17px; font: inherit; font-size: .9rem; font-weight: 650; border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity .15s,transform .15s; }
[dir=rtl] .oc-toast { transform: translate(50%,12px); }
.oc-toast.is-on { opacity: 1; transform: translate(-50%,0); }
[dir=rtl] .oc-toast.is-on { transform: translate(50%,0); }
@keyframes oc-enter { from { opacity: 0; translate: 0 7px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 660px) {
  .oc-dialog, .oc-dialog.oc-detail { width: min(100%, 520px); max-height: 94dvh; margin: auto auto 0; border-radius: 23px 23px 0 0; border-bottom: none; }
  .oc-product { display: block; min-height: 0; }
  .oc-gallery { padding: 13px 18px; gap: 8px; }
  .oc-stage { height: min(32dvh,270px); aspect-ratio: auto; }
  .oc-thumbs button { width: 45px; height: 45px; flex-basis: 45px; }
  .oc-zoomed .oc-gallery { padding: 13px; }
  .oc-product-copy { position: static; padding: 21px 21px max(18px,env(safe-area-inset-bottom)); }
  .oc-product-copy .oc-close { top: 12px; inset-inline-end: 13px; }
  .oc-product-copy .oc-kicker { margin: 0 0 7px; }
  .oc-product-copy h2 { font-size: 1.75rem; }
  .oc-related { padding: 15px 18px 20px; }
  .oc-related-grid { grid-template-columns: 1fr; gap: 6px; }
  .oc-related-toy img { width: 42px; height: 42px; }
  .oc-price { margin: 8px 0; }
  .oc-unit { margin: 12px 0; }
  .oc-product-actions { margin-block-start: 15px; }
  .oc-bag { padding-bottom: max(22px,env(safe-area-inset-bottom)); }
  .oc-bag-head { gap: 9px; }
  .oc-cart-line { grid-template-columns: 50px minmax(0,1fr) auto; gap: 9px; }
  .oc-cart-line img { width: 50px; height: 58px; }
}
@media (max-width: 370px) {
  .oc-bag { padding-inline: 15px; }
  .oc-cart-line { grid-template-columns: 46px minmax(0,1fr); }
  .oc-line-price { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .oc-dialog[open] { animation: none; } .oc-toast { transition: none; } }
