.optionrocket { margin: 0 0 1.2em; width: 100%; }
.optionrocket-field { margin: 0 0 1em; }
.optionrocket-field[hidden] { display: none !important; }
.optionrocket-label { display: block; font-weight: 600; margin-bottom: .35em; }
.optionrocket-label .required { color: #b32d2e; text-decoration: none; border: 0; }
.optionrocket-price { font-weight: 400; opacity: .8; font-size: .92em; }
.optionrocket-desc { font-size: .92em; opacity: .85; margin-bottom: .4em; }
.optionrocket-desc p { margin: 0 0 .4em; }
.optionrocket-heading { margin: 1em 0 .3em; font-size: 1.1em; }
.optionrocket-input, .optionrocket select.optionrocket-input { width: 100%; max-width: 100%; box-sizing: border-box; }
.optionrocket-choices { display: flex; flex-direction: column; gap: .3em; }
.optionrocket-choice { display: flex; align-items: center; gap: .45em; cursor: pointer; font-weight: 400; margin: 0; }
.optionrocket-choice input { margin: 0; }
.optionrocket-tiles { flex-direction: row; flex-wrap: wrap; gap: .5em; }
.optionrocket-tiles .optionrocket-choice { border: 2px solid rgba(0,0,0,.15); border-radius: 6px; padding: .45em .8em; flex-direction: column; text-align: center; gap: .3em; background: #fff; position: relative; }
.optionrocket-tiles .optionrocket-choice input { position: absolute; opacity: 0; pointer-events: none; }
.optionrocket-tiles .optionrocket-choice.is-checked { border-color: currentColor; box-shadow: 0 0 0 1px currentColor; }
.optionrocket-tiles .optionrocket-choice:focus-within { outline: 2px solid #2271b1; outline-offset: 2px; }
.or-swatch-img img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; display: block; }
.or-swatch-color { width: 32px; height: 32px; border-radius: 50%; display: block; border: 1px solid rgba(0,0,0,.2); }
.or-type-color .or-choice-text { font-size: .85em; }
.optionrocket-totals { border-top: 1px solid rgba(0,0,0,.1); padding-top: .6em; margin-top: .6em; }
.optionrocket-totals[hidden] { display: none; }
.optionrocket-totals dl { display: grid; grid-template-columns: auto auto; justify-content: space-between; margin: 0; gap: .2em 1em; }
.optionrocket-totals dt { font-weight: 400; margin: 0; }
.optionrocket-totals dd { margin: 0; text-align: right; font-weight: 600; }
.or-upload-status { display: block; font-size: .9em; margin-top: .3em; }
.variations_form .optionrocket { clear: both; }

/* Variation swatches */
.or-swatch-wrap { position: relative; }
.or-swatch-wrap select[data-optionrocket-swatched] { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.or-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.or-sw { cursor: pointer; border: 2px solid rgba(0,0,0,.15); background: #fff; color: inherit; border-radius: 8px; padding: 0; line-height: 1; transition: border-color .15s, box-shadow .15s, opacity .15s; font: inherit; }
.or-sw:hover { border-color: rgba(0,0,0,.4); }
.or-sw.is-selected { border-color: currentColor; box-shadow: 0 0 0 1px currentColor; }
.or-sw:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }
.or-sw.is-disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.or-sw-label { padding: 8px 14px; font-size: .95em; min-width: 44px; }
.or-sw-color { border-radius: 50%; padding: 3px; width: 38px; height: 38px; }
.or-sw-dot { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.or-sw-image { padding: 2px; width: 56px; height: 56px; overflow: hidden; }
.or-sw-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; display: block; }
.variations_form .variations td.value .reset_variations { display: inline-block; margin-top: 4px; }

/* Size guides (Pro) */
.or-size-guide-link { display: inline-block; margin: 2px 0 8px; font-size: .92em; text-decoration: underline; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
dialog.or-size-guide { max-width: min(760px, 94vw); width: 100%; border: 0; border-radius: 12px; padding: 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
dialog.or-size-guide::backdrop { background: rgba(10,12,30,.55); }
.or-size-guide-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(0,0,0,.1); }
.or-size-guide-head h2 { margin: 0; font-size: 1.15em; }
.or-size-guide-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; color: inherit; }
.or-size-guide-body { padding: 16px 18px 20px; max-height: 70vh; overflow: auto; }
.or-size-guide-body table { width: 100%; border-collapse: collapse; }
.or-size-guide-body th, .or-size-guide-body td { border: 1px solid rgba(0,0,0,.12); padding: 6px 10px; text-align: left; }

/* Sticky add-to-cart bar (Pro) */
.or-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .25s ease; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.or-sticky.is-on { transform: translateY(0); }
.or-sticky-in { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.or-sticky img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.or-sticky-text { flex: 1 1 auto; min-width: 0; }
.or-sticky-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.or-sticky-price { font-size: .95em; opacity: .85; }
.or-sticky-price del { opacity: .6; }
.or-sticky .button { flex: 0 0 auto; white-space: nowrap; }
@media (min-width: 769px) { .or-sticky.is-mobile-only { display: none; } }
@media (prefers-reduced-motion: reduce) { .or-sticky { transition: none; } }
