[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9c5810 !important; outline-offset: 4px; }
.header__logo img, .menu__logo img { object-fit: contain; }
.header__logo img { max-width: 100%; }
.tabs__title[role=button] { cursor: pointer; }
.promo__range { touch-action: none; cursor: pointer; }
.copy-btn.copied { background-color: #f39513; color: #fff; }
.copy-btn.copied svg [stroke] { stroke: #fff; }
.copy-value { display: inline-block; }
.rw-empty { grid-column: 1 / -1; }
.rw-recent-empty { animation: none !important; }

#rw-checkout {
  position: fixed; inset: min(9.5vh,100px) 0 auto; margin: 0 auto;
  width: min(650px,calc(100% - 24px)); max-height: calc(100dvh - min(9.5vh,100px) - 12px);
  overflow: auto; border: 0; border-radius: 24px; padding: 24px; background: #fff;
  color: #6c6c87; overscroll-behavior: contain;
}
#rw-checkout[open] { animation: rw-popup-in .3s ease both; }
#rw-checkout::backdrop { background: #0008; animation: rw-overlay-in .3s ease both; }
@keyframes rw-popup-in { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes rw-overlay-in { from { opacity: 0; } to { opacity: 1; } }
#rw-checkout .popup__box { margin-right: auto; }
#rw-checkout .popup__close { flex: 0 0 44px; height: 44px; font-size: 1.55rem; line-height: 1; }
#rw-checkout .popup__image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
#rw-details { min-width: 0; }
#rw-details .form-popup__title { color: #1c1f27; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
#rw-details .form-popup__input { margin-bottom: 1rem; }
#rw-details .checkbox { margin-bottom: 1rem; }
#rw-details .checkbox__input:focus-visible + label { outline: 2px solid #9c5810; outline-offset: 4px; }
#rw-gift-hint { margin: -.35rem 0 1rem 2.5rem; }
#rw-pay-description { white-space: pre-line; color: #1c1f27; background: #f3f7fb; border-radius: 12px; padding: 12px; margin-bottom: 16px; }
#rw-pay-submit:disabled { opacity: .6; cursor: default; }
#rw-pay-message:empty { display: none; }
#rw-pay-message { color: #805221; margin-top: 10px; }

#rw-bundle { margin: 16px 0; }
#rw-bundle h3 { font-size: 1.12rem; font-weight: 700; color: #1c1f27; }
#rw-pay-form .rw-bundle-item { display: flex; align-items: center; gap: 12px; margin: 8px 0; background: #f2f8fb; padding: 9px 12px; border-radius: 14px; }
.rw-bundle-item input { accent-color: #f39513; }
.rw-bundle-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.rw-bundle-item strong { color: #1c1f27; }
.rw-bundle-item span { margin-left: auto; display: grid; text-align: right; }
.rw-bundle-item b { color: #1d7d3b; }
@media (max-width: 530px) {
  #rw-checkout { padding: 16px; max-width: 360px; }
  #rw-checkout .popup__top { gap: 6px; }
  #rw-checkout .popup__close { flex-basis: 30px; }
  #rw-options { grid-template-columns: repeat(auto-fit,minmax(min(96px,100%),1fr)); }
  .rw-option .form-popup__content strong { font-size: 1.08rem; }
  .rw-option .form-popup__content small { font-size: .78rem; }
  .rw-option-price { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  #rw-checkout[open], #rw-checkout::backdrop { animation: none; }
}
#rw-details .form-popup__title { text-align: left; }
@media (prefers-reduced-motion: reduce) {
  .tabs__item[data-reveal]{ transition: none; }
}

.promo__item .promo__input:focus-visible { outline: none !important; }
.promo__item:focus-within {
  border-radius: .75rem;
  box-shadow: inset 0 0 0 1px #d49a46;
}
.promo__input { appearance: textfield; -moz-appearance: textfield; }
.promo__input::-webkit-inner-spin-button,
.promo__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
