.reward-pack[hidden], .reward-pack [hidden], .reward-pack-enabled [hidden] { display: none; }
.reward-pack { color: #111; margin: 1.35rem 0 1rem; }
.reward-pack fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.reward-pack legend { font-size: 1.12rem; font-weight: 700; margin: 0 auto .8rem; padding: 0 .55rem; }
.reward-offer-card { margin-bottom: .62rem; border: 2px solid #d2d2d2; border-radius: 12px; background: white; }
.reward-offer-card:has(input:checked) { border-color: #151515; background: #f5f5f5; }
.reward-offer-header { cursor: pointer; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .85rem; }
.reward-offer-header input { margin: 0; width: 18px; height: 18px; accent-color: #111; }
.reward-offer-header strong { font-size: .96rem; }
.reward-offer-header small, .reward-offer-header del { display: block; font-size: .78rem; color: #5f636b; margin-top: .23rem; }
.reward-offer-price { white-space: nowrap; text-align: right; }
.reward-pack [data-pack-colors] { padding: 0 .85rem .85rem; display: grid; gap: .38rem; }
.reward-color-row { display: flex; gap: .45rem; align-items: center; min-height: 44px; }
.reward-color-row > span { color: #555b64; font-size: .82rem; min-width: 1.2rem; }
.reward-color-row img { width: 40px; height: 42px; object-fit: contain; border: 1px solid #d2d2d2; border-radius: 6px; background: #fff; }
.reward-color-row select { min-width: 0; flex: 1; min-height: 44px; padding: .4rem .55rem; border: 1px solid #bcbcbc; border-radius: 6px; color: #111; background: #fff; font-size: 16px; }
.reward-pack-enabled .express-checkout-button { background: #111 !important; color: #fff !important; }
.reward-pack [data-pack-message]:empty { display: none; }
.reward-pack legend { color: #171717; letter-spacing: .01em; }
.reward-offer-card { border-color: #dedede; transition: background-color .15s, border-color .15s; }
.reward-offer-card:has(input:checked) { background: #f7f7f7; box-shadow: 0 3px 12px #0000000d; }
.reward-offer-header { padding: .9rem; }
.reward-offer-header strong { font-size: 1rem; line-height: 1.2; }
.reward-offer-price strong { font-variant-numeric: tabular-nums; }
.reward-color-row { gap: .55rem; }
.reward-color-row img { width: 48px; height: 48px; padding: 2px; border-color: #d7d7d7; border-radius: 8px; }
.reward-color-row select { border-color: #d1d1d1; border-radius: 8px; }
.reward-color-row select:focus-visible, .reward-offer-header input:focus-visible { outline: 2px solid #222; outline-offset: 2px; }
[data-reward-checkout-message] { color: #962626; margin: .65rem 0; }
[data-reward-checkout-message]:empty { display: none; }
[data-reward-standard-order] { display: block; margin: .5rem 0; text-decoration: underline; }
[data-reward-standard-order][hidden] { display: none; }
.reward-checkout-cta { display: block; width: 100%; min-height: 50px; margin: .85rem 0 0; border: 0; border-radius: 8px; background: #111; color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.reward-checkout-cta:disabled { opacity: .65; cursor: wait; }

@media (max-width: 767px) {
  html:has(.yc-single-product .reward-pack),
  body:has(.yc-single-product .reward-pack) {
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  .yc-single-product:has(.reward-pack),
  .yc-single-product:has(.reward-pack) .product-details,
  .reward-pack {
    box-sizing: border-box;
    min-inline-size: 0;
    max-inline-size: 100%;
  }

  .yc-single-product:has(.reward-pack) .product-images {
    inline-size: 100%;
    max-inline-size: 100%;
    margin-inline: 0;
  }

  .yc-single-product:has(.reward-pack) .product-description {
    overflow-wrap: anywhere;
  }

  .yc-single-product:has(.reward-pack) .product-description :is(img, iframe, video, table) {
    max-inline-size: 100%;
  }

  .reward-pack {
    direction: ltr;
  }
}

.reward-shipping { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; margin-bottom: .9rem; border: 1px solid #d8dfe5; border-radius: 8px; color: #123e38; }
.reward-shipping span::before { content: ''; display: inline-block; vertical-align: .05em; width: .6em; height: .6em; margin-inline-end: .5em; border-radius: 50%; background: #146358; }
.reward-offer-header { grid-template-columns: auto auto minmax(0,1fr) auto; gap: .5rem; }
.reward-offer-photo { inline-size: clamp(30px, 9vw, 55px); block-size: clamp(30px, 9vw, 55px); object-fit: contain; background: #fff; border-radius: 6px; }
.reward-offer-card:has(input:checked) { background: #edf2fb; border-color: #172238; }
.reward-offer-price del { margin: 0 0 .18rem; }
.reward-checkout-cta { background: linear-gradient(105deg, #192b3b, #10564b); }
@media (max-width: 400px) {
  .reward-offer-header { padding: .65rem .5rem; gap: .35rem; }
  .reward-offer-header strong { font-size: .88rem; }
}

.reward-cod { position: fixed; inset: 0; inset-inline: 0; margin: auto; box-sizing: border-box; width: min(94%, 480px); max-height: 92dvh; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 18px; background: white; color: #111; direction: ltr; padding: 1.25rem; }
.reward-cod::backdrop { background: #17223880; }
html:has(.reward-cod[open]) { overflow: hidden; }
.reward-cod h2 { font-size: 1.25rem; font-weight: 750; padding-inline-end: 2rem; }
.reward-cod-close { position: absolute; inset-block-start: .65rem; inset-inline-end: .65rem; width: 44px; height: 44px; font-size: 28px; }
.reward-cod [data-reward-order-summary] { padding: .65rem .8rem; margin: .75rem 0; background: #edf2fb; border-radius: 8px; }
.reward-cod .express-checkout-field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.reward-cod .express-checkout-field :is(input:not([type=hidden]),select,textarea) { font-size: 16px; min-width: 0; }
.reward-pack-enabled .reward-cod .express-checkout-button { width: 100%; min-height: 50px; background: linear-gradient(105deg,#192b3b,#10564b) !important; }
