/* This collection's design comparison only; the existing preference logic stays. */
#pill-medicine-collection #design-options .pill-design-layout {gap:22px;align-items:stretch}
#pill-medicine-collection #design-options .pill-depth-wide>a {position:relative;display:block;border-radius:14px;overflow:hidden}
#pill-medicine-collection #design-options .pill-depth-wide img {margin:0;border-radius:14px}
#pill-medicine-collection #design-options .pill-compare-zoom {position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid #d8e2da;border-radius:8px;background:#fffffff2;color:#244a37;font-size:14px;font-weight:600;line-height:1.4}
#pill-medicine-collection #design-options .pill-depth-wide figcaption {margin:9px 0 0;color:#607066}
#pill-medicine-collection #design-options .pill-depth-options {grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
#pill-medicine-collection #design-options .pill-depth-options article {position:relative;display:flex;align-items:stretch;flex-direction:column;min-width:0;padding:20px;border-radius:12px;transition:border-color .15s,background-color .15s}
#pill-medicine-collection #design-options .pill-depth-options article:has([data-frame]) {border-color:#bdcec1}
#pill-medicine-collection #design-options .pill-depth-options article:has([data-frame]) {cursor:pointer}
#pill-medicine-collection #design-options .pill-depth-options article:has([data-frame]:focus-visible) {outline:2px solid #a3611b;outline-offset:3px}
#pill-medicine-collection #design-options .pill-depth-options article:has([data-frame][aria-pressed="true"]) {border-color:#2b5940;background:#f0f6ee;box-shadow:inset 0 0 0 1px #2b5940}
#pill-medicine-collection #design-options .pill-depth-options h3 {margin:0 0 9px;font-size:22px!important;line-height:1.25!important}
#pill-medicine-collection #design-options .pill-depth-options article:has([data-frame]) h3 {padding-right:24px}
#pill-medicine-collection #design-options .pill-frame-mark {position:absolute;right:18px;top:23px;width:18px;height:18px;border:1px solid #95ad9b;border-radius:50%;background:#fff}
#pill-medicine-collection #design-options article:has([aria-pressed="true"]) .pill-frame-mark {background:#2b5940;border-color:#2b5940}
#pill-medicine-collection #design-options article:has([aria-pressed="true"]) .pill-frame-mark::after {content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
#pill-medicine-collection #design-options .pill-depth-options p {margin:0 0 16px;font-size:16px!important;line-height:1.55!important}
#pill-medicine-collection #design-options .pill-depth-options :is(a,button) {display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;font-size:15px!important;line-height:1.4!important}
#pill-medicine-collection #design-options .pill-depth-options button {width:100%;padding:10px 12px;border-radius:8px}
#pill-medicine-collection #design-options .pill-depth-options button[data-frame] {position:static}
#pill-medicine-collection #design-options .pill-depth-options button[data-frame]::after {content:'';position:absolute;inset:0;border-radius:12px}
#pill-medicine-collection #design-options .pill-depth-options a {justify-content:flex-start;width:100%;text-underline-offset:4px}
#pill-medicine-collection #design-options .pill-depth-options a:hover {text-decoration:underline}
#pill-medicine-collection #design-options .pill-depth-selection {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin-top:18px;padding:12px 16px;border:1px solid #d7e2d8;border-radius:12px;background:#fff}
#pill-medicine-collection #design-options:has([data-frame][aria-pressed="true"]) .pill-depth-selection {background:#f0f6ee;border-color:#bdcec1}
#pill-medicine-collection #design-options .pill-depth-selection p {width:auto;margin:0;font-size:15px!important;line-height:1.5!important}
#pill-medicine-collection #design-options .pill-design-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
#pill-medicine-collection #design-options #pill-frame-clear {min-height:44px;padding:10px 6px;font-size:15px!important}
#pill-medicine-collection #design-options #pill-frame-clear:disabled {display:none}
#pill-medicine-collection #design-options .pill-design-actions>a {display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #244a37;border-radius:8px;background:#244a37;color:#fff;font-size:15px!important;line-height:1.4!important;text-decoration:none}
@media(max-width:1050px) {
  #pill-medicine-collection #design-options .pill-depth-wide {width:min(100%,720px);margin-inline:auto}
}
@media(max-width:600px) {
  #pill-medicine-collection #design-options .pill-depth-options {grid-template-rows:none;gap:12px}
  #pill-medicine-collection #design-options .pill-depth-options article {padding:18px}
  #pill-medicine-collection #design-options .pill-depth-options h3 {font-size:20px!important}
  #pill-medicine-collection #design-options .pill-frame-mark {top:20px}
  #pill-medicine-collection #design-options .pill-depth-selection {padding:14px;gap:10px}
  #pill-medicine-collection #design-options .pill-depth-selection p {width:100%}
  #pill-medicine-collection #design-options .pill-design-actions {width:100%}
  #pill-medicine-collection #design-options .pill-design-actions>a {flex:1 1 200px;text-align:center}
}
@media(prefers-reduced-motion:reduce) {
  #pill-medicine-collection #design-options .pill-depth-options article {transition:none}
}
