/* Tactile button feedback and product imagery integrated into the purchase card. */
.button,
.nav-buy,
.rott-footer__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.2,.75,.25,1), background-color .3s, color .3s, box-shadow .3s;
}
.button::before,
.nav-buy::before,
.rott-footer__cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -45%;
  width: 24%;
  transform: translateX(-180%) rotate(24deg);
  background: linear-gradient(90deg, transparent, #ffffff50, transparent);
  transition: transform .65s cubic-bezier(.2,.75,.25,1);
  pointer-events: none;
}
.button:hover,
.button:focus-visible,
.nav-buy:hover,
.nav-buy:focus-visible,
.rott-footer__cta:hover,
.rott-footer__cta:focus-visible {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 12px 28px #30221926;
}
.button:hover::before,
.button:focus-visible::before,
.nav-buy:hover::before,
.nav-buy:focus-visible::before,
.rott-footer__cta:hover::before,
.rott-footer__cta:focus-visible::before { transform: translateX(650%) rotate(24deg); }
.button span,
.nav-buy span { display: inline-block; transition: transform .3s cubic-bezier(.2,.75,.25,1); }
.button:hover span,
.button:focus-visible span,
.nav-buy:hover span,
.nav-buy:focus-visible span { transform: translate(4px,-2px) rotate(7deg); }
.button:active,
.nav-buy:active,
.rott-footer__cta:active { transform: translateY(0) scale(.98); }

.buy-section .product-gallery { position: relative; }
.product-gallery-track { position: absolute; inset: 0; display: flex; gap: 10px; padding: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery-slide { position: relative; flex: 0 0 88%; height: 100%; min-width: 0; margin: 0; overflow: hidden; border-radius: 19px; background: #e8e5df; scroll-snap-align: center; isolation: isolate; }
.product-gallery-slide::after { content: ""; position: absolute; z-index: 0; inset: 55% 0 0; background: linear-gradient(transparent,#18130f9c); pointer-events: none; }
.buy-section .product-gallery-slide img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.product-gallery-slide:hover img { transform: scale(1.045); filter: saturate(1.08); }
.product-gallery-slide.product-gallery-original { background: radial-gradient(ellipse at 50% 42%,#fff 0,#eeece8 75%); }
.buy-section .product-gallery-slide.product-gallery-original img { padding: 28px; object-fit: contain; }
.product-gallery-slide figcaption { position: absolute; z-index: 1; left: 20px; bottom: 19px; display: grid; gap: 5px; color: #fff; text-align: left; }
.product-gallery-slide figcaption span { font-size: 7px; font-weight: 700; letter-spacing: .16em; }
.product-gallery-slide figcaption strong { font-size: 17px; letter-spacing: -.04em; }
.product-gallery-original figcaption { color: #302219; }
.product-gallery-original::after { display: none; }
.product-badge { z-index: 3; }
.product-gallery-arrow { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #fff9; border-radius: 50%; background: #fffE; color: #211a14; font-size: 19px; transform: translateY(-50%); transition: background .2s,color .2s,transform .2s; }
.product-gallery-arrow:hover { transform: translateY(-50%) scale(1.1); background: #211a14; color: #fff; }
.product-gallery-prev { left: 18px; }
.product-gallery-next { right: 18px; }
.product-gallery-dots { position: absolute; z-index: 4; left: 50%; bottom: 17px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 30px; background: #211a14bb; transform: translateX(-50%); }
.product-gallery-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #ffffff80; transition: width .25s,background .25s; }
.product-gallery-dots button[aria-pressed="true"] { width: 22px; border-radius: 9px; background: #fff; }
.buy-section .purchase-mode-card { overflow: hidden; border-color: #cfc8bd; transition: transform .35s cubic-bezier(.2,.75,.25,1),border-color .25s,background-color .3s,box-shadow .3s; }
.buy-section .purchase-mode-card::before { content: ""; position: absolute; inset: 0; z-index: 0; transform: translateX(-110%); background: linear-gradient(105deg,transparent 25%,#ffffffb5 49%,transparent 72%); pointer-events: none; }
.buy-section .purchase-mode-card:hover::before,.buy-section .purchase-mode-card:focus-within::before { animation: purchase-card-flash .7s ease-out; }
.buy-section .purchase-mode-card:hover { transform: translateY(-3px) rotateX(1deg); border-color: #7561d6; box-shadow: 0 12px 24px #34285b13; }
.buy-section .purchase-mode-card:has(input:checked) { border-color: #292116; background: #ddf86b; box-shadow: 0 8px 24px #72843224,inset 0 0 0 1px #292116; }
.buy-section .purchase-mode-card input { position: relative; z-index: 1; accent-color: #342c12; transform: scale(1.08); }
.buy-section .purchase-mode-card > span { position: relative; z-index: 1; }
.buy-section .monthly-pending { background: #292116; color: #e7fa90; }
.buy-section .quantity-stepper { border-color: #b9b0a4; box-shadow: 0 5px 16px #2f24110d; }
.buy-section .quantity-stepper button { position: relative; border-radius: 50%; transition: color .2s,background .2s,transform .2s; }
.buy-section .quantity-stepper button:hover { color: #242014; background: #ddf86b; transform: scale(.92); }
.buy-section .quantity-stepper button:active { transform: scale(.82); }
.buy-section .pdp-purchase-note { position: relative; isolation: isolate; overflow: hidden; border: 0; background: linear-gradient(128deg,#211811 8%,#302219 57%,#3a346e); box-shadow: 0 18px 36px #21181120; }
.buy-section .pdp-purchase-note::before { content: ""; position: absolute; z-index: -1; top: -80px; right: -50px; width: 180px; aspect-ratio: 1; border: 1px solid #ddf86b44; border-radius: 50%; box-shadow: 0 0 0 18px #ddf86b0b,0 0 0 42px #ddf86b08; animation: launch-orbit 18s linear infinite; }
.buy-section .pdp-purchase-note > * { position: relative; }
.buy-section .pdp-purchase-note > .eyebrow { color: #ddf86b; }
.buy-section .pdp-purchase-note > strong { font-size: 20px; }
.buy-section .pdp-launch-signal { position: relative; display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; padding: 12px 14px; overflow: hidden; border: 1px solid #ddf86b55; border-radius: 13px; background: #ddf86b12; }
.buy-section .pdp-launch-signal::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: #ddf86b; box-shadow: 0 0 15px #ddf86b; animation: launch-scan 3.4s ease-in-out infinite; }
.pdp-launch-orbit { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 1px solid #ddf86b9c; border-radius: 50%; color: #ddf86b; font-size: 19px; animation: launch-pulse 2.8s ease-in-out infinite; }
.pdp-launch-signal > span:nth-child(2) { display: grid; gap: 4px; }
.pdp-launch-signal small { color: #d3c8b8; font-size: 7px; letter-spacing: .15em; }
.pdp-launch-signal b { color: #ddf86b; font-size: 10px; letter-spacing: .08em; }
.pdp-launch-signal > i { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #ddf86b; box-shadow: 0 0 0 5px #ddf86b20,0 0 15px #ddf86b; }
@keyframes purchase-card-flash { to { transform: translateX(110%); } }
@keyframes launch-orbit { to { transform: rotate(360deg); } }
@keyframes launch-scan { 0%,100% { transform: translateY(-110%); } 50% { transform: translateY(1100%); } }
@keyframes launch-pulse { 0%,100% { box-shadow: 0 0 0 0 #ddf86b00; transform: rotate(0deg); } 50% { box-shadow: 0 0 0 7px #ddf86b12; transform: rotate(45deg); } }
@media(max-width:760px) {
  .product-gallery-track { padding: 9px; gap: 8px; }
  .product-gallery-slide { flex-basis: 91%; border-radius: 16px; }
  .buy-section .product-gallery-slide.product-gallery-original img { padding: 19px; }
  .product-gallery-slide figcaption { left: 15px; bottom: 16px; }
  .product-gallery-slide figcaption strong { font-size: 15px; }
  .product-gallery-arrow { width: 34px; height: 34px; }
  .product-gallery-prev { left: 13px; }
  .product-gallery-next { right: 13px; }
  .product-gallery-dots { bottom: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .button,.nav-buy,.rott-footer__cta,.button::before,.nav-buy::before,.rott-footer__cta::before,
  .button span,.nav-buy span,.product-gallery-slide img,.product-gallery-arrow,.product-gallery-dots button,
  .buy-section .purchase-mode-card,.buy-section .purchase-mode-card::before,.buy-section .quantity-stepper button { transition: none; }
  .buy-section .pdp-purchase-note::before,.buy-section .pdp-launch-signal::after,.pdp-launch-orbit { animation: none; }
  .buy-section .purchase-mode-card:hover::before,.buy-section .purchase-mode-card:focus-within::before { animation: none; }
  .button:hover,.nav-buy:hover,.rott-footer__cta:hover,.product-gallery-slide:hover img { transform: none; }
  .buy-section .purchase-mode-card:hover,.buy-section .quantity-stepper button:hover,.buy-section .quantity-stepper button:active { transform: none; }
}
