/* Florist POS order-entry gallery only; original POS and iPad styles stay intact. */
.pos-order-gallery { margin-top: 48px; padding: 34px 28px; border: 1px solid #e4d8ed; border-radius: 20px; background: linear-gradient(150deg, #faf8fd, #f1ebf8); }
.pos-order-gallery-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 30px; }
.pos-order-gallery-heading .eyebrow { margin-bottom: 15px; }
.pos-order-gallery-heading h3 { font-size: 35px; line-height: 1.25; }
.pos-order-gallery-heading > p { max-width: 350px; color: #655b6d; font-size: 12px; line-height: 1.9; }
.pos-order-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; align-items: start; }
.pos-order-gallery-card { min-width: 0; }
.pos-order-gallery-trigger { display: block; padding: 9px; border: 1px solid #ded1e9; border-radius: 13px; background: #fff; color: #655073; box-shadow: 0 12px 24px #47365a09; cursor: zoom-in; transition: transform .2s ease, border-color .2s ease; }
.pos-order-gallery-trigger:hover { transform: translateY(-3px); border-color: #b99ed1; }
.pos-order-gallery-trigger:focus-visible, .pos-order-gallery-control:focus-visible, .pos-order-gallery-original-link:focus-visible { outline: 3px solid #7861ad; outline-offset: 4px; }
.pos-order-gallery-trigger figure { margin: 0; }
.pos-order-gallery-trigger img { display: block; width: 100%; height: auto; border-radius: 6px; }
.pos-order-gallery-trigger figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 3px 4px; font-size: 9px; line-height: 1.7; }
.pos-order-gallery-number { color: #7861ad; font-family: var(--heading); }
.pos-order-gallery-copy { padding: 22px 5px 0; }
.pos-order-gallery-copy h4 { margin-bottom: 16px; font-family: var(--heading); font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.pos-order-gallery-copy h4 .italic { display: block; margin-top: 5px; }
.pos-order-gallery-copy > p, .pos-order-gallery-story-body p { color: #655b6d; font-size: 12px; line-height: 1.95; margin-bottom: 17px; }
.pos-order-gallery-story { border-top: 1px solid #dcd0e7; }
.pos-order-gallery-story summary { padding: 14px 0; color: #5b4270; font-family: var(--heading); font-size: 11px; line-height: 1.8; cursor: pointer; }
.pos-order-gallery-story summary::marker { color: #7861ad; }
.pos-order-gallery-story summary:focus-visible { outline: 3px solid #7861ad; outline-offset: 3px; border-radius: 3px; }
.pos-order-gallery-story-body h5 { margin: 17px 0 8px; font-family: var(--heading); font-size: 12px; font-weight: 650; line-height: 1.7; color: #5b4270; }
/* No empty cards while the remaining owner content is being supplied. */
.pos-order-gallery-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 30px; }
.pos-order-gallery-card:only-child .pos-order-gallery-copy { padding-top: 2px; }
.pos-order-gallery-card:only-child h4 { font-size: 26px; }
.pos-order-gallery-card:only-child .pos-order-gallery-copy > p { font-size: 13px; }
.pos-order-gallery-dialog { width: min(1200px, calc(100vw - 36px)); max-width: calc(100vw - 36px); max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); margin: auto; padding: 24px; border: 1px solid #d8c9e6; border-radius: 20px; background: #f7f3fb; color: #33283f; box-shadow: 0 30px 90px #09051066; overflow: auto; }
.pos-order-gallery-dialog::backdrop { background: #171322d9; }
.pos-order-gallery-viewer-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.pos-order-gallery-viewer-heading h3 { font-size: 19px; line-height: 1.3; }
.pos-order-gallery-full-image { display: block; max-width: 100%; width: auto; height: auto; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); object-fit: contain; margin: 0 auto; }
.pos-order-gallery-viewer-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.pos-order-gallery-control { padding: 10px 13px; border: 1px solid #d8c8e5; border-radius: 8px; background: #fff; color: #5b4270; font: inherit; font-size: 11px; line-height: 1.3; cursor: pointer; }
.pos-order-gallery-control:hover { background: #ede4f5; }
.pos-order-gallery-control[hidden] { display: none; }
.pos-order-gallery-status { margin: auto; font-size: 11px; color: #766783; text-align: center; }
.pos-order-gallery-original-link { display: block; width: fit-content; margin: 18px auto 0; color: #5b4270; font-size: 11px; line-height: 1.6; }
body.pos-order-gallery-open { overflow: hidden; }
@media (max-width: 1000px) {
  .pos-order-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .pos-order-gallery-card:only-child { gap: 24px; grid-template-columns: 1fr 1fr; }
  .pos-order-gallery-copy h4 { font-size: 24px; }
  .pos-order-gallery-copy > p, .pos-order-gallery-story-body p { font-size: 13px; }
}
@media (max-width: 800px) {
  .pos-order-gallery { padding: 28px 22px; }
  .pos-order-gallery-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pos-order-gallery-heading > p { max-width: 560px; }
  .pos-order-gallery-card:only-child { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pos-order-gallery { margin-top: 35px; padding: 24px 16px; border-radius: 15px; }
  .pos-order-gallery-heading h3 { font-size: 29px; }
  .pos-order-gallery-grid { grid-template-columns: 1fr; }
  .pos-order-gallery-copy h4, .pos-order-gallery-card:only-child h4 { font-size: 25px; }
  .pos-order-gallery-story summary { font-size: 12px; }
  .pos-order-gallery-dialog { padding: 16px; border-radius: 14px; }
  .pos-order-gallery-viewer-heading h3 { font-size: 16px; }
  .pos-order-gallery-control { padding: 10px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pos-order-gallery-trigger { transition: none; }
  .pos-order-gallery-trigger:hover { transform: none; }
}

/* Supporting windows: a wide companion, not a fifth gallery card. */
.pos-order-windows { margin-top: 36px; padding: 34px 28px; border: 1px solid #e4d8ed; border-radius: 20px; background: #fff; }
.pos-order-windows-heading { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin-bottom: 28px; }
.pos-order-windows-heading > div { flex-shrink: 0; }
.pos-order-windows-heading .eyebrow { margin-bottom: 15px; }
.pos-order-windows-heading h3 { font-size: 35px; line-height: 1.25; }
.pos-order-windows-heading > p { max-width: 500px; color: #655b6d; font-size: 13px; line-height: 1.9; }
.pos-order-windows-image { margin: 0; }
.pos-order-windows-image > a { display: block; padding: 12px; border: 1px solid #e4d8ed; border-radius: 14px; background: linear-gradient(135deg, #faf8fd, #eee6f5); cursor: zoom-in; transition: border-color .2s ease; }
.pos-order-windows-image > a:hover { border-color: #b99ed1; }
.pos-order-windows-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.pos-order-windows-image figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 3px 0; color: #766783; font-size: 10px; line-height: 1.8; }
.pos-order-windows-image figcaption a { color: #5b4270; text-decoration: underline; text-underline-offset: 3px; }
.pos-order-windows-image a:focus-visible { outline: 3px solid #7861ad; outline-offset: 4px; }
.pos-order-windows-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.pos-order-windows-options article { min-width: 0; padding-top: 17px; border-top: 1px solid #ded1e9; }
.pos-order-windows-options h4 { margin: 0 0 10px; color: #5b4270; font-family: var(--heading); font-size: 16px; line-height: 1.5; letter-spacing: -.025em; }
.pos-order-windows-options p { color: #655b6d; font-size: 12px; line-height: 1.9; }
.pos-order-windows-note { display: flex; align-items: flex-start; gap: 24px; margin-top: 28px; padding: 20px 22px; border-left: 3px solid #7861ad; border-radius: 0 10px 10px 0; background: #f2edf8; }
.pos-order-windows-note strong { flex-shrink: 0; padding-top: 2px; color: #5b4270; font-family: var(--heading); font-size: 12px; line-height: 1.8; }
.pos-order-windows-note p { color: #655b6d; font-size: 12px; line-height: 1.9; }
@media (max-width: 800px) {
  .pos-order-windows { padding: 28px 22px; }
  .pos-order-windows-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pos-order-windows-heading > p { max-width: 600px; }
  .pos-order-windows-options { grid-template-columns: 1fr; gap: 20px; }
  .pos-order-windows-options p { font-size: 13px; }
  .pos-order-windows-note { flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .pos-order-windows { margin-top: 28px; padding: 24px 16px; border-radius: 15px; }
  .pos-order-windows-heading h3 { font-size: 29px; }
  .pos-order-windows-image > a { padding: 5px; border-radius: 10px; }
  .pos-order-windows-image figcaption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pos-order-windows-note { padding: 17px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pos-order-windows-image > a { transition: none; }
}

/* Hidden gems: compact editorial rows below the montage, with no empty placeholders. */
.pos-order-gems { margin-top: 40px; }
.pos-order-gem { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px; padding: 38px 0; border-top: 1px solid #e4dde9; }
.pos-order-gem-copy { min-width: 0; }
.pos-order-gem-copy .eyebrow { margin-bottom: 17px; }
.pos-order-gem-copy h3 { margin-bottom: 20px; font-size: 32px; line-height: 1.25; }
.pos-order-gem-copy > p, .pos-order-gem-story-body p { color: #655b6d; font-size: 13px; line-height: 1.9; }
.pos-order-gem-story { margin-top: 22px; border-top: 1px solid #ded1e9; }
.pos-order-gem-story summary { padding: 15px 0 0; color: #5b4270; font-family: var(--heading); font-size: 12px; line-height: 1.8; cursor: pointer; }
.pos-order-gem-story summary::marker { color: #7861ad; }
.pos-order-gem-story-body h4 { margin: 19px 0 8px; color: #5b4270; font-family: var(--heading); font-size: 13px; line-height: 1.7; }
.pos-order-gem-story-body p { margin-bottom: 16px; }
.pos-order-gem-story-body p:last-child { margin-bottom: 0; }
.pos-order-gem-image { width: 100%; max-width: 460px; justify-self: center; margin: 0; padding: 20px 18px 16px; border: 1px solid #e4d8ed; border-radius: 16px; background: #f2edf8; }
.pos-order-gem-image > a { display: block; cursor: zoom-in; }
.pos-order-gem-image img { width: 100%; height: auto; object-fit: contain; }
.pos-order-gem-image figcaption { padding-top: 14px; color: #766783; font-size: 10px; line-height: 1.8; }
.pos-order-gem-image figcaption a { display: inline-block; color: #5b4270; text-decoration: underline; text-underline-offset: 3px; }
.pos-order-gem-story summary:focus-visible, .pos-order-gem-image a:focus-visible { outline: 3px solid #7861ad; outline-offset: 4px; border-radius: 4px; }
.pos-order-gem:nth-of-type(even) .pos-order-gem-copy { grid-column: 2; grid-row: 1; }
.pos-order-gem:nth-of-type(even) .pos-order-gem-image { grid-column: 1; grid-row: 1; }
@media (max-width: 1000px) {
  .pos-order-gem { gap: 30px; }
  .pos-order-gem-copy h3 { font-size: 30px; }
}
@media (max-width: 800px) {
  .pos-order-gems { margin-top: 32px; }
  .pos-order-gem { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 0; }
  .pos-order-gem:nth-of-type(even) .pos-order-gem-copy, .pos-order-gem:nth-of-type(even) .pos-order-gem-image { grid-column: auto; grid-row: auto; }
  .pos-order-gem-image { max-width: 520px; }
}
@media (max-width: 560px) {
  .pos-order-gem-copy h3 { font-size: 28px; }
  .pos-order-gem-image { padding: 16px 12px 13px; border-radius: 13px; }
}

/* A subtle collection introduction; product-specific headings keep their hierarchy. */
.pos-order-gems-heading { margin-bottom: 26px; }
.pos-order-gems-heading .eyebrow { margin-bottom: 10px; }
.pos-order-gems-tagline { max-width: 700px; color: #33283f; font-family: var(--heading); font-size: 26px; line-height: 1.4; letter-spacing: -.025em; }
@media (max-width: 560px) {
  .pos-order-gems-tagline { font-size: 23px; }
}
