fieldset.variant-input-wrap[data-handle="color"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 380px);
  margin-inline: auto;
}
fieldset.variant-input-wrap[data-handle="color"] .variant__button-label {
  display: grid;
  place-items: center;
  min-height: 40px;
  margin: 0;
  padding: 6px;
  text-align: center;
}

.jacket-bundles { width: 100%; margin: 0 0 15px; padding: 0; border: 0; text-align: left; }
.jacket-bundles legend {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  color: #000;
  text-align: center;
  font: 700 16px/1.2 Arial, sans-serif;
}
.jacket-bundles legend::before,
.jacket-bundles legend::after { content: ""; flex: 1; min-width: 6px; border-top: 1px solid #aab6d0; }
.jacket-bundle-card {
  position: relative;
  margin-bottom: 10px;
  border: 1px solid #abb7cf;
  border-radius: 8px;
  background: #ededed;
  color: black;
  font-family: Arial, sans-serif;
}
.jacket-bundle-card:last-child { margin-bottom: 0; }
.jacket-bundle-card:has(input:checked) { border-color: #072f76; box-shadow: inset 0 0 0 1px #072f76; background: #fff; }
.jacket-bundle-card > label {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 73px;
  margin: 0;
  padding: 10px 18px 10px 17px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.25;
}
.jacket-bundle-card:has(.jacket-bundle-badge):not(:has(input:checked)) > label { min-height: 87px; }
.jacket-bundle-card input {
  appearance: none;
  position: static;
  width: 24px;
  height: 24px;
  margin: 0;
  flex: 0 0 24px;
  border: 2px solid #abb7cf;
  border-radius: 50%;
  background: white;
}
.jacket-bundle-card input:checked {
  border-color: #072f76;
  background: radial-gradient(circle, #072f76 0 7px, white 8px);
}
.jacket-bundle-card input:focus-visible { outline: 2px solid #072f76; outline-offset: 2px; }
.jacket-bundle-card strong { flex: 1; }
.jacket-bundle-card strong, .jacket-bundle-card b { font-size: 20px; font-weight: 700; }
.jacket-bundle-card label > span { text-align: right; white-space: nowrap; }
.jacket-bundle-card small, .jacket-bundle-card del { display: block; color: #585656; font-size: 17px; font-weight: 700; }
.jacket-bundle-card small:empty { display: none; }
.jacket-bundle-badge {
  position: absolute;
  top: -9px;
  right: 15px;
  padding: 4px 8px;
  border-radius: 0 0 5px 5px;
  background: black;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.jacket-bundle-badge::before, .jacket-bundle-badge::after {
  content: "";
  position: absolute;
  top: 0;
  border-bottom: 8px solid black;
  border-inline: 8px solid transparent;
}
.jacket-bundle-badge::before { left: -8px; }
.jacket-bundle-badge::after { right: -8px; }
.jacket-bundle-options { display: none; padding: 0 19px 10px; }
.jacket-bundle-card:has(input:checked) .jacket-bundle-options:has(.jacket-bundle-row) { display: block; }
.jacket-bundle-options p { margin: 0 0 8px; color: #5b5b5b; font: 12px/1.25 Arial, sans-serif; }
.jacket-bundle-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 153px) 57px;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
}
.jacket-bundle-row img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.jacket-bundle-row select {
  min-width: 0;
  width: 100%;
  height: 33px;
  padding: 4px 20px 4px 6px;
  border: 1px solid #abb7cf;
  border-radius: 4px;
  background-color: white;
  color: black;
  font: 13px Arial, sans-serif;
}
@media (max-width: 380px) {
  .jacket-bundles legend { font-size: 13px; }
  .jacket-bundle-card > label { gap: 9px; padding-inline: 11px; }
  .jacket-bundle-card small, .jacket-bundle-card del { font-size: 14px; }
  .jacket-bundle-options { padding-inline: 12px; }
}

/* Jacket offer and cart-to-checkout preview */
.jacket-bundles legend,
.jacket-bundle-card { font-family: "Outfit", Arial, sans-serif; }
.jacket-bundle-card:has(input:checked) { border-color: #842747; box-shadow: inset 0 0 0 1px #842747; }
.jacket-bundle-card input:checked { border-color: #842747; background: radial-gradient(circle, #842747 0 7px, white 8px); }
#CartDrawer .drawer__footer { padding-block: 14px; }
#CartDrawer .cart__item-row:has(> small:only-child) { display: none; }
#CartDrawer .cart__checkout {
  min-height: 50px;
  background: #842747;
  color: #fff;
  border-radius: 10px;
  font: 600 17px/1.25 "Outfit", Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
#CartDrawer .cart__checkout:hover { background: #6c1e39; }
.jacket-drawer-shipping { margin: 0 0 10px; font-size: 14px; }
.jacket-drawer-wallets { margin: 9px 0; text-align: center; font-size: 13px; }
.jacket-drawer-trust { display: flex; gap: 6px 14px; justify-content: center; flex-wrap: wrap; text-align: center; color: #56504f; font-size: 12px; }
.jacket-drawer-trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.jacket-drawer-cards { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }

fieldset.variant-input-wrap[data-handle="color"] { margin-inline: 0 auto; }
#jacket-options { scroll-margin-top: 100px; }
.jacket-purchase-trust { padding: 13px 0 4px; }
.jacket-payment-marks, .jacket-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  list-style: none;
}
.jacket-payment-marks li, .jacket-trust-badges li { margin: 0; }
.jacket-payment-marks img { display: block; border: 1px solid #e4ded9; border-radius: 3px; }
.jacket-trust-badges { gap: 6px 12px; margin-top: 10px; font-size: 12px; color: #524b4a; }
.jacket-trust-badges li { display: flex; align-items: center; gap: 4px; }
.jacket-trust-badges svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.jacket-trust-badges a, .jacket-faq p a { text-decoration: underline; text-underline-offset: 3px; }
.jacket-story { display: grid; gap: clamp(28px, 5vw, 64px); padding-block: 36px 68px; }
.jacket-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 5vw, 68px); background: #f6f2ef; }
.jacket-feature > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.jacket-feature > div { padding: clamp(20px, 4vw, 48px); }
.jacket-feature--reverse img { grid-column: 2; grid-row: 1; }
.jacket-feature--reverse div { grid-column: 1; grid-row: 1; }
.jacket-story h2 { margin: 0 0 12px; font-size: clamp(24px, 3.5vw, 44px); line-height: 1.12; letter-spacing: normal; text-transform: none; }
.jacket-feature p, .jacket-detail-panel dd { margin: 0; font-size: 17px; }
.jacket-detail-panel { border-block: 1px solid #e2d9d3; padding-block: clamp(20px, 4vw, 42px); }
.jacket-detail-panel dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 0; }
.jacket-detail-panel dt { margin-bottom: 5px; font-weight: 600; }
.jacket-faq { width: min(100%, 740px); margin-inline: auto; }
.jacket-faq details { border-bottom: 1px solid #e2d9d3; padding: 13px 0; }
.jacket-faq summary { font-weight: 600; cursor: pointer; }
.jacket-faq details p { margin: 8px 0 0; }
.jacket-back-to-options { margin-top: 20px; }
@media (max-width: 749px) {
  .jacket-feature, .jacket-detail-panel dl { grid-template-columns: 1fr; }
  .jacket-feature { gap: 0; }
  .jacket-feature--reverse img, .jacket-feature--reverse div { grid-area: auto; }
}

#CartDrawer.jacket-reference-drawer { color: #171717; }
.jacket-reference-drawer .drawer__header { border-bottom: 1px solid #e8e8e8; }
.jacket-reference-drawer .drawer__title { display: flex; align-items: center; gap: 9px; font: 600 26px/1.2 "Outfit", Arial, sans-serif; letter-spacing: normal; text-transform: none; }
.jacket-cart-count { padding: 4px 8px; border-radius: 20px; background: #202020; color: white; font: 600 13px/1 "Outfit", Arial, sans-serif; }
.jacket-cart-shipping { padding: 14px 18px 10px; text-align: center; font-size: 14px; }
.jacket-cart-shipping div { height: 6px; margin-top: 8px; border-radius: 20px; background: repeating-linear-gradient(135deg, #111 0 4px, #828282 4px 8px); }
.jacket-reference-drawer .drawer__footer { border-top: 1px solid #ddd; background: #fff; }
.jacket-cart-savings:not([hidden]) { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 7px; }
.jacket-reference-drawer .cart__item-sub:has([data-subtotal]) { font-weight: 700; font-size: 19px; }
#CartDrawer.jacket-reference-drawer .cart__checkout { background: #111; }
#CartDrawer.jacket-reference-drawer .cart__checkout:hover { background: #303030; }
.jacket-reference-drawer .jacket-drawer-trust > * { padding: 4px 7px; border-radius: 4px; background: #f4f4f4; }

#CartDrawer a.jacket-drawer-wallets {
  display: block;
  padding: 8px 12px;
  border: 1px solid #dedede;
  border-radius: 10px;
  color: #171717;
  font-weight: 600;
}
#CartDrawer a.jacket-drawer-wallets small { display: block; font-weight: 400; color: #555; }
#CartDrawer a.jacket-drawer-wallets:hover { border-color: #171717; }
.jacket-wallet-frame { display: block; width: 100%; border: 0; margin-block: 4px; }
.jacket-wallet-frame[hidden] { display: block; position: absolute; height: 1px !important; visibility: hidden; pointer-events: none; }
#CartDrawer a.jacket-drawer-wallets[hidden] { display: none; }
@media (max-width: 749px) {
  #CartDrawer .jacket-drawer-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  #CartDrawer .jacket-drawer-trust > * {
    display: grid;
    place-items: center;
    padding: 4px 5px;
    font-size: 11px;
    line-height: 1.25;
  }
}
