/* Four product stories, one Drive Parts visual language. */
.commerce-icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.commerce-logo { display: block; object-fit: contain; width: 42px; height: 42px; }
.commerce-product-image { display: block; object-fit: contain; width: 76px; height: 76px; }
.commerce-brand { width: 112px; height: 24px; object-fit: contain; }
.commerce-network, .commerce-order, .commerce-conversation, .commerce-campaign { width: 100%; position: relative; color: #071a35; container-type: inline-size; }
.commerce-network { aspect-ratio: 560 / 460; }
.commerce-network > svg { width: 100%; height: auto; overflow: visible; }
.commerce-network__scroll, .commerce-network__orbit { transform-origin: 280px 230px; }
.commerce-network__scroll { transform: rotate(calc(-8deg + var(--scene-progress, .5) * 28deg)); }
.commerce-network__counter { transform: rotate(calc(8deg - var(--scene-progress, .5) * 28deg)); }
.commerce-network__ring { fill: none; stroke: #d8e0e9; stroke-width: 1; stroke-dasharray: 3 8; }
.commerce-network__wires { fill: none; stroke: #bac9d8; stroke-width: 1.2; }
.commerce-network__signals { fill: none; stroke: #f45118; stroke-width: 1.7; stroke-dasharray: 10 220; stroke-linecap: round; opacity: .8; }
.commerce-network__brand { filter: brightness(0) invert(1); }
.commerce-network__pulse { fill: none; stroke: #f45118; stroke-width: 1; opacity: .32; }
.commerce-network__legend { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; font-size: clamp(11px, 2.4cqw, 13px); color: #526279; }
.has-motion .commerce-network__orbit { animation: commerce-orbit 18s ease-in-out infinite alternate paused; }
.has-motion .commerce-network__upright { animation: commerce-upright 18s ease-in-out infinite alternate paused; }
.has-motion .commerce-network__signals { animation: commerce-signals 8s linear infinite paused; }
.feature-scene.has-motion.is-in-view .commerce-network__orbit, .feature-scene.has-motion.is-in-view .commerce-network__upright, .feature-scene.has-motion.is-in-view .commerce-network__signals { animation-play-state: running; }

.commerce-distribution { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.2fr); align-items: center; gap: 8px; padding: 18px 0; }
.commerce-distribution__source { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; min-width: 0; }
.commerce-distribution__source .commerce-product-image { width: 84px; height: 84px; }
.commerce-distribution__source strong { font-size: 13px; }
.commerce-distribution__source > span { font-size: 10px; line-height: 1.5; color: #526279; }
.commerce-distribution__connector { color: #f45118; }
.commerce-distribution__channels { display: grid; gap: 7px; }
.commerce-distribution__channel { display: grid; grid-template-columns: 29px 1fr 13px; align-items: center; gap: 8px; padding: 7px 8px; background: #fff; border-bottom: 1px solid #e8ecf1; font-size: 10px; }
.commerce-distribution__channel .commerce-logo { width: 29px; height: 29px; }
.commerce-distribution__channel .commerce-icon { width: 13px; height: 13px; color: #21775e; }
.commerce-review { position: relative; width: 100%; padding: 20px 22px; background: #fff; overflow: hidden; }
.commerce-review__heading { display: flex; align-items: center; gap: 11px; font-size: 13px; padding-bottom: 14px; }
.commerce-review__heading .commerce-icon { color: #f45118; width: 19px; height: 19px; }
.commerce-review__row { display: grid; grid-template-columns: 25px minmax(0, 1fr) 8px; gap: 10px; align-items: center; padding-block: 12px; border-top: 1px solid #e8ecf1; }
.commerce-review__row > span { color: #7b8da5; }
.commerce-review__row .commerce-icon { width: 18px; height: 18px; }
.commerce-review__row strong, .commerce-review__row small { display: block; }
.commerce-review__row strong { font-size: 12px; font-weight: 600; }
.commerce-review__row small { color: #526279; font-size: 10px; margin-top: 3px; }
.commerce-review__row i { width: 5px; height: 5px; border-radius: 50%; background: #f45118; }
.commerce-review__scan { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: #f45118; opacity: .24; transform: translateY(calc(58px + var(--scene-progress, .5) * 180px)); }

.commerce-order { min-height: 400px; aspect-ratio: 560 / 460; perspective: 1200px; }
.commerce-order__paper { position: absolute; top: 4%; left: 4%; width: 79%; padding: clamp(20px, 4.5cqw, 29px); background: #fff; border: 1px solid #e3e9ef; border-radius: 10px; box-shadow: 0 20px 56px -30px #071a3545; transform: rotateY(calc(var(--scene-x, 0) * 3deg)) rotateX(calc(var(--scene-y, 0) * -2deg)) translateY(calc((1 - var(--scene-progress, 1)) * 9px)); }
.commerce-order__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-bottom: 20px; border-bottom: 1px solid #e7ebf0; }
.commerce-order__heading > .commerce-icon { color: #f45118; width: 20px; height: 20px; }
.commerce-order__heading strong { font-size: clamp(16px, 3.5cqw, 19px); }
.commerce-order__heading > span { margin-left: auto; color: #697c93; font-size: 10px; }
.commerce-order__product { display: flex; align-items: center; gap: 15px; margin-block: 16px; }
.commerce-order__product strong, .commerce-order__product span { display: block; }
.commerce-order__product strong { font-size: 15px; }
.commerce-order__product span { color: #697c93; font-size: 11px; margin-top: 6px; }
.commerce-order__paper dl { margin: 0; display: grid; gap: 12px; }
.commerce-order__paper dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.commerce-order__paper dt { font-size: 11px; color: #697c93; }
.commerce-order__paper dd { font-size: 11px; margin: 0; text-align: right; }
.commerce-order__rail { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e7ebf0; font-size: 11px; }
.commerce-order__rail .commerce-icon { width: 16px; height: 16px; color: #f45118; }
.commerce-order__approval { position: absolute; width: 76%; left: 21%; bottom: 6%; display: flex; align-items: center; gap: 14px; padding: 22px; background: #071a35; color: #fff; border-radius: 9px; box-shadow: 0 14px 34px -20px #071a3555; transform: translateY(calc((1 - var(--scene-progress, 1)) * 22px)); }
.commerce-order__approval strong, .commerce-order__approval div > span { display: block; }
.commerce-order__approval strong { font-size: 15px; font-weight: 600; }
.commerce-order__approval div > span { font-size: 10px; line-height: 1.6; margin-top: 5px; color: #c8d6e6; }
.commerce-order__check { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: #fff; border: 1px solid #f45118; border-radius: 50%; }
.commerce-order__check .commerce-icon { width: 17px; height: 17px; }
.has-motion .commerce-order__paper { animation: commerce-document-sale 900ms cubic-bezier(.22,.61,.36,1) 100ms both paused; }
.has-motion .commerce-order__approval { animation: commerce-document-sale 1000ms cubic-bezier(.22,.61,.36,1) 850ms both paused; }
.feature-scene.has-motion.is-in-view .commerce-order__paper, .feature-scene.has-motion.is-in-view .commerce-order__approval { animation-play-state: running; }
.commerce-selling { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 38px 0; position: relative; }
.commerce-selling__line { height: 1px; background: #cad4df; position: absolute; left: 16.5%; right: 16.5%; top: 63px; }
.commerce-selling__line::after { content: ''; display: block; height: 100%; width: 100%; background: #f45118; transform: scaleX(var(--scene-progress, 1)); transform-origin: left; }
.commerce-selling__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.commerce-selling__step > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #dfe5ec; margin-bottom: 17px; }
.commerce-selling__step:last-child > span { color: #f45118; border-color: #f3c4b4; }
.commerce-selling__step strong { font-size: 12px; }
.commerce-selling__step small { display: block; font-size: 10px; line-height: 1.6; color: #697c93; margin-top: 6px; }
.commerce-history { padding: 22px; background: #fff; }
.commerce-history__title { font-size: 13px; display: block; margin-bottom: 18px; }
.commerce-history__entry { display: flex; align-items: center; gap: 14px; position: relative; padding-block: 12px; }
.commerce-history__entry:not(:last-child)::after { content: ''; height: 24px; width: 1px; background: #dfe5ec; position: absolute; left: 17px; top: 45px; }
.commerce-history__entry > span { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; background: #f4f6f8; border-radius: 50%; }
.commerce-history__entry .commerce-icon { width: 17px; height: 17px; }
.commerce-history__entry:nth-child(3) > span { background: #fff0e9; color: #f45118; }
.commerce-history__entry strong, .commerce-history__entry small { display: block; }
.commerce-history__entry strong { font-size: 12px; font-weight: 600; }
.commerce-history__entry small { font-size: 10px; color: #697c93; margin-top: 4px; }

.commerce-conversation { width: 95%; margin: 14px auto 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 18px 50px -31px #071a3540; overflow: hidden; }
.commerce-conversation__heading { display: flex; align-items: center; gap: 12px; padding: 21px 24px; border-bottom: 1px solid #e8edf3; }
.commerce-conversation__heading strong, .commerce-conversation__heading span { display: block; }
.commerce-conversation__heading strong { font-size: clamp(12px, 2.7cqw, 15px); }
.commerce-conversation__heading span { color: #697c93; font-size: 10px; margin-top: 5px; }
.commerce-conversation__heading > .commerce-icon { width: 17px; height: 17px; margin-left: auto; color: #697c93; }
.commerce-conversation__product { display: flex; align-items: center; gap: 13px; padding: 14px 25px; background: #f8fafc; }
.commerce-conversation__product .commerce-product-image { width: 46px; height: 46px; }
.commerce-conversation__product strong, .commerce-conversation__product span { display: block; }
.commerce-conversation__product strong { font-size: 12px; }
.commerce-conversation__product span { font-size: 10px; color: #697c93; margin-top: 5px; }
.commerce-conversation__messages { padding: 25px; display: flex; flex-direction: column; gap: 18px; }
.commerce-message { width: fit-content; max-width: 86%; padding: 15px 19px; border-radius: 12px; font-size: 13px; line-height: 1.7; }
.commerce-message > span { display: block; font-size: 10px; color: #697c93; margin-bottom: 6px; }
.commerce-message--customer { align-self: flex-start; background: #f1f4f7; border-bottom-left-radius: 2px; }
.commerce-message--store { align-self: flex-end; background: #071a35; color: #fff; border-bottom-right-radius: 2px; }
.commerce-message--store > span { color: #acbed3; }
.commerce-conversation__continuity { display: flex; justify-content: center; align-items: center; gap: 8px; padding-top: 2px; font-size: 10px; line-height: 1.6; color: #697c93; }
.commerce-conversation__continuity .commerce-icon { width: 14px; height: 14px; }
.commerce-contact-history { width: 100%; padding: 24px; }
.commerce-contact-history__head { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 18px; }
.commerce-contact-history__head .commerce-icon { color: #f45118; width: 19px; height: 19px; }
.commerce-contact-history__event { display: flex; align-items: center; gap: 16px; position: relative; padding-block: 13px; }
.commerce-contact-history__event > i { height: 8px; width: 8px; border: 1px solid #8ca0b7; border-radius: 50%; position: relative; flex: 0 0 auto; }
.commerce-contact-history__event:not(:last-child)::after { position: absolute; content: ''; left: 3px; width: 1px; height: 38px; top: 36px; background: #d9e2ec; }
.commerce-contact-history__event:last-child > i { border-color: #f45118; background: #f45118; }
.commerce-contact-history__event strong, .commerce-contact-history__event span { display: block; }
.commerce-contact-history__event strong { font-size: 12px; font-weight: 600; }
.commerce-contact-history__event span { font-size: 10px; color: #697c93; margin-top: 4px; }
.commerce-ownership { padding: 20px 5px 12px; }
.commerce-ownership__conversation { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.commerce-ownership__conversation > .commerce-icon { color: #f45118; }
.commerce-ownership__conversation strong { font-size: 14px; }
.commerce-ownership__conversation > span { font-size: 11px; color: #697c93; }
.commerce-ownership__line { height: 33px; width: 1px; margin: 9px auto 0; background: #f45118; }
.commerce-ownership__people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.commerce-ownership__person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding-top: 12px; }
.commerce-ownership__person > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #8292a5; background: #edf1f5; }
.commerce-ownership__person strong { font-size: 10px; color: #697c93; }
.commerce-ownership__person--active { padding-top: 0; }
.commerce-ownership__person--active > span { background: #071a35; color: #fff; width: 54px; height: 54px; box-shadow: 0 0 0 5px #fff0e9; }
.commerce-ownership__person--active strong { color: #071a35; }
.commerce-ownership__person small { font-size: 9px; color: #f45118; }

.commerce-campaign { aspect-ratio: 560 / 460; min-height: 355px; padding: 34px 10px 0; perspective: 1100px; }
.commerce-coupon { background: #fff; border: 1px solid #dce4ec; padding: clamp(22px, 5cqw, 34px); position: relative; border-radius: 9px; box-shadow: 0 19px 48px -30px #071a3544; transform: rotate(-3deg) rotateY(calc(var(--scene-x, 0) * 4deg)) translateY(calc((1 - var(--scene-progress, 1)) * 12px)); }
.commerce-coupon::before, .commerce-coupon::after { content: ''; width: 14px; height: 26px; position: absolute; top: 54%; border: 1px solid #dce4ec; background: #f4f6f8; }
.commerce-coupon::before { left: -1px; border-left: 0; border-radius: 0 20px 20px 0; }
.commerce-coupon::after { right: -1px; border-right: 0; border-radius: 20px 0 0 20px; }
.commerce-coupon__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #697c93; font-size: 11px; }
.commerce-coupon__top .commerce-icon { width: 19px; height: 19px; }
.commerce-coupon__offer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px 22px; }
.commerce-coupon__offer strong { font-size: clamp(21px, 5.7cqw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.055em; }
.commerce-coupon__offer > span { color: #f45118; font-size: clamp(49px, 13cqw, 68px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.commerce-coupon__terms { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px dashed #d3dce6; padding-top: 16px; color: #697c93; font-size: 10px; }
.commerce-referral { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 12px; align-items: center; padding: 28px 24px 0; }
.commerce-referral__store { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.commerce-referral__store > .commerce-icon { width: 27px; height: 27px; }
.commerce-referral__store strong { font-size: 11px; font-weight: 600; }
.commerce-referral__store--destination > .commerce-icon { color: #f45118; }
.commerce-referral__connection { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 10px; color: #697c93; }
.commerce-referral__connection > i { display: block; width: 100%; height: 1px; background: #dce4ec; position: relative; }
.commerce-referral__connection .commerce-icon { position: absolute; right: 0; top: -8px; width: 17px; height: 17px; color: #f45118; background: #fff; }
.commerce-conditions { padding: 24px; background: #fff; }
.commerce-conditions__title { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; font-size: 13px; }
.commerce-conditions__title .commerce-icon { color: #f45118; width: 20px; height: 20px; }
.commerce-conditions__row { display: grid; grid-template-columns: 22px minmax(72px, .75fr) 1fr; align-items: center; gap: 12px; padding-block: 15px; border-bottom: 1px solid #e7ecf2; }
.commerce-conditions__row > span { color: #f45118; font-size: 10px; }
.commerce-conditions__row strong { font-weight: 600; font-size: 12px; }
.commerce-conditions__row small { font-size: 10px; color: #697c93; line-height: 1.5; }
.commerce-conditions__foot { font-size: 10px; line-height: 1.7; color: #697c93; margin-top: 18px; }

.has-motion .commerce-distribution__channel, .has-motion .commerce-review__row, .has-motion .commerce-history__entry, .has-motion .commerce-message, .has-motion .commerce-conversation__continuity, .has-motion .commerce-contact-history__event, .has-motion .commerce-conditions__row, .has-motion .commerce-selling__step { animation: commerce-arrive 850ms cubic-bezier(.22,.61,.36,1) var(--commerce-delay, 0ms) both paused; }
.feature-scene.has-motion.is-in-view .commerce-distribution__channel, .feature-scene.has-motion.is-in-view .commerce-review__row, .feature-scene.has-motion.is-in-view .commerce-history__entry, .feature-scene.has-motion.is-in-view .commerce-message, .feature-scene.has-motion.is-in-view .commerce-conversation__continuity, .feature-scene.has-motion.is-in-view .commerce-contact-history__event, .feature-scene.has-motion.is-in-view .commerce-conditions__row, .feature-scene.has-motion.is-in-view .commerce-selling__step { animation-play-state: running; }
.has-motion .commerce-referral__connection .commerce-icon { animation: commerce-referral 4s ease-in-out infinite paused; }
.feature-scene.has-motion.is-in-view .commerce-referral__connection .commerce-icon { animation-play-state: running; }
@keyframes commerce-orbit { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes commerce-upright { from { transform: rotate(5deg); } to { transform: rotate(-5deg); } }
@keyframes commerce-signals { to { stroke-dashoffset: -230; } }
@keyframes commerce-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes commerce-document-sale { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes commerce-referral { 0%, 15% { transform: translateX(-40px); opacity: 0; } 30% { opacity: 1; } 70%, 100% { transform: translateX(0); opacity: 1; } }

@media (max-width: 600px) {
  .commerce-order { min-height: 350px; }
  .commerce-order__paper { width: 89%; left: 0; padding: 20px; }
  .commerce-order__heading > span { font-size: 9px; }
  .commerce-order__product { gap: 10px; margin-block: 12px; }
  .commerce-order__product .commerce-product-image { width: 60px; height: 60px; }
  .commerce-order__approval { width: 85%; left: 15%; bottom: 1%; padding: 18px; gap: 10px; }
  .commerce-order__approval strong { font-size: 13px; }
  .commerce-conversation { width: 100%; }
  .commerce-conversation__heading { padding: 17px; gap: 9px; }
  .commerce-conversation__heading .commerce-logo { width: 34px; height: 34px; }
  .commerce-conversation__messages { padding: 18px; }
  .commerce-conversation__product { padding-inline: 17px; }
  .commerce-message { max-width: 94%; font-size: 12px; padding: 13px 15px; }
  .commerce-campaign { padding-inline: 8px; }
  .commerce-coupon { padding: 22px; }
  .commerce-referral { padding-inline: 9px; }
  .commerce-distribution { gap: 4px; grid-template-columns: minmax(0, .8fr) 19px minmax(0, 1.2fr); }
  .commerce-distribution__source strong { font-size: 11px; }
  .commerce-distribution__connector .commerce-icon { width: 17px; height: 17px; }
  .commerce-distribution__channel { gap: 5px; font-size: 9px; padding-inline: 6px; }
  .commerce-distribution__source .commerce-product-image { width: 70px; height: 70px; }
  .commerce-conditions, .commerce-review, .commerce-history, .commerce-contact-history { padding-inline: 17px; }
  .commerce-conditions__row { grid-template-columns: 18px 71px 1fr; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-network *, .commerce-order *, .commerce-conversation *, .commerce-campaign *, .commerce-distribution *, .commerce-review *, .commerce-selling *, .commerce-history *, .commerce-contact-history *, .commerce-ownership *, .commerce-conditions * { animation: none !important; transition: none !important; }
  .commerce-network__scroll, .commerce-network__counter, .commerce-order__paper, .commerce-order__approval, .commerce-coupon { transform: none !important; }
  .commerce-selling__line::after { transform: none; }
  .commerce-distribution__channel, .commerce-review__row, .commerce-history__entry, .commerce-message, .commerce-conversation__continuity, .commerce-contact-history__event, .commerce-conditions__row, .commerce-selling__step { opacity: 1 !important; transform: none !important; }
}
