.p6-fortune-panel{position:relative;margin:clamp(34px,6vw,82px) auto;padding:clamp(24px,5vw,54px);max-width:1440px;border:1px solid var(--line,#ddd);background:linear-gradient(135deg,#f8f5ef,#fffdf9);color:#171715;overflow:hidden}
.p6-fortune-panel p{color:#45433f}
.p6-fortune-panel[hidden],.p6-fortune-result[hidden]{display:none}
.p6-fortune-layout{display:grid;grid-template-columns:minmax(160px,.55fr) minmax(0,1.35fr);gap:clamp(24px,5vw,58px);align-items:center}
.p6-fortune-art{position:relative;display:grid;place-items:center;width:min(250px,100%);aspect-ratio:1;margin:auto}
.p6-fortune-art img{width:68%;height:68%;object-fit:cover;border-radius:50%;border:1px solid #b79661;box-shadow:0 10px 42px #b7966144}
.p6-fortune-ring{position:absolute;inset:5%;border:1px solid #c8b28d;border-radius:50%;transform:rotate(-24deg)}
.p6-fortune-ring:before{content:"";position:absolute;inset:14%;border:1px solid #8f7756;border-radius:50%}
.p6-fortune-pointer{position:absolute;top:2%;left:calc(50% - 9px);width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:18px solid #8f7756}
.p6-fortune-copy .p6-eyebrow{color:#8e7144;font-size:11px;letter-spacing:.28em;text-transform:uppercase}
.p6-fortune-copy h2{font-family:var(--display,Georgia,serif);font-size:clamp(34px,4vw,58px);line-height:1.04;margin:12px 0}
.p6-fortune-copy p{max-width:62ch;line-height:1.65}
.p6-fortune-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:20px}
.p6-fortune-controls label{display:grid;gap:7px;min-width:min(100%,280px);font-size:13px}
.p6-fortune-controls select{min-height:48px;padding:10px 12px;border:1px solid var(--line,#bbb);background:#fff;color:inherit;font:inherit}
.p6-fortune-draw{min-height:48px;padding:12px 22px;border:0;background:#171717;color:#fff;font:inherit;cursor:pointer}
.p6-fortune-draw:disabled{opacity:.55;cursor:wait}
.p6-fortune-odds{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;color:#615d55;font-size:12px}
.p6-fortune-odds span{padding:5px 9px;border:1px solid #ded6c7;border-radius:99px}
.p6-fortune-terms{margin-top:14px;color:#615d55;font-size:12px}
.p6-fortune-result{margin-top:28px;padding:22px;border-top:1px solid #d8c9af;background:#fffdf9;animation:p6-fortune-reveal .72s ease both}
.p6-fortune-result h3{font:clamp(26px,3vw,38px)/1.15 var(--display,Georgia,serif);color:#70552f}
.p6-fortune-result code{display:inline-block;padding:10px 13px;margin:5px 0 12px;background:#f3eee4;letter-spacing:.1em;overflow-wrap:anywhere}
.p6-fortune-result a{display:inline-block;margin-top:10px}
.p6-fortune-product{margin:18px 0;padding:16px;border:1px solid var(--line,#ddd);background:#fbf8f2}
.p6-fortune-bag{margin:12px 0;padding:10px 12px;border-left:2px solid #a4895f;background:#f7f2e9;font-size:13px}
.p6-fortune-error{margin-top:12px;color:#8d2b2b;font-size:14px}
.p6-checkout-coupon{margin:16px 0;padding:14px 0;border-block:1px solid var(--line,#ddd);font-size:13px}
.p6-coupon-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.p6-coupon-controls input{min-width:180px;flex:1;min-height:42px;padding:8px 10px;border:1px solid var(--line,#bbb);font:inherit}
.p6-coupon-controls button{min-height:42px;padding:8px 12px;border:1px solid var(--ink,#171717);background:transparent;color:inherit;font:inherit;cursor:pointer}
.p6-coupon-error{color:#8d2b2b}
.p6-fortune-spin .p6-fortune-ring{animation:p6-fortune-spin 1.3s cubic-bezier(.15,.65,.35,1) both}
@keyframes p6-fortune-spin{to{transform:rotate(900deg)}}
@keyframes p6-fortune-reveal{from{opacity:0;transform:translateY(16px) rotateX(-8deg)}to{opacity:1;transform:none}}
@media(max-width:720px){.p6-fortune-panel{margin:28px 4%;padding:24px 18px}.p6-fortune-layout{grid-template-columns:1fr;gap:20px}.p6-fortune-art{width:145px}.p6-fortune-copy h2{font-size:38px}.p6-fortune-controls{display:grid}.p6-fortune-controls label,.p6-fortune-draw{width:100%}}
@media(prefers-reduced-motion:reduce){.p6-fortune-result,.p6-fortune-spin .p6-fortune-ring{animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* P6 FINAL: keep the product offer full-width instead of inside the narrow purchase column. */
.product-layout+.p6-fortune-product{width:min(92%,1440px);margin:clamp(28px,4vw,60px) auto clamp(52px,6vw,86px);padding:clamp(24px,4vw,48px)}
.product-layout+.p6-fortune-product .p6-fortune-layout{grid-template-columns:minmax(190px,.46fr) minmax(0,1.54fr);gap:clamp(24px,4vw,58px)}
.product-layout+.p6-fortune-product .p6-fortune-copy{min-width:0}
.product-layout+.p6-fortune-product .p6-fortune-copy p{max-width:68ch;word-break:normal;overflow-wrap:normal}
.p6-hero-fortune-entry{background:#f8f5ef;color:#171715;border-color:#ad8e5a}
.p6-hero-fortune-entry:hover{background:#171715;color:#fff}
.p6-hero-fortune-entry:focus-visible{outline-color:#ad8e5a}
.hero-actions.p6-has-fortune-entry{gap:10px;flex-wrap:nowrap}
.hero-actions.p6-has-fortune-entry .button.dark{min-height:42px;height:42px;padding:8px 12px;gap:10px;font-size:18px;white-space:nowrap}
.hero-actions.p6-has-fortune-entry .film-link{gap:7px;font-size:16px;white-space:nowrap}
.hero-actions.p6-has-fortune-entry .film-link svg{width:36px;height:36px}
.hero-actions .p6-hero-fortune-entry{display:inline-flex;align-items:center;min-height:42px;height:42px;font-family:var(--display);font-size:14px;padding:8px 10px;gap:8px;white-space:nowrap}
.p6-fortune-result .p6-copy-code{min-height:42px;padding:9px 14px;border:1px solid #ad8e5a;background:#171715;color:#f8f5ef;font:inherit}
.p6-fortune-bag{color:#171715}
#summaryDetails #p6CheckoutCoupon{color:#f4eee2;border-color:#a8895a}
#summaryDetails #p6CheckoutCoupon p{color:#f4eee2}
#summaryDetails #p6CheckoutCoupon .p6-coupon-controls input{background:#fffdf9;color:#171715;border-color:#a8895a}
#summaryDetails #p6CheckoutCoupon .p6-coupon-controls button{background:#f8f5ef;color:#171715;border-color:#a8895a}
#summaryDetails #p6CheckoutCoupon .p6-coupon-controls button:hover{background:#171715;color:#f8f5ef}
.p6-coupon-error{color:#ffb3a7}
@media(max-width:760px){
 .hero-actions.p6-has-fortune-entry{flex-wrap:wrap}
 .product-layout+.p6-fortune-product{width:92%;margin:28px auto 52px;padding:24px 18px}
 .product-layout+.p6-fortune-product .p6-fortune-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .product-layout+.p6-fortune-product .p6-fortune-art{width:145px}
 .product-layout+.p6-fortune-product .p6-fortune-copy h2{font-size:clamp(30px,9vw,38px)}
 .product-layout+.p6-fortune-product .p6-fortune-controls{display:grid;grid-template-columns:minmax(0,1fr)}
 .product-layout+.p6-fortune-product .p6-fortune-controls label,.product-layout+.p6-fortune-product .p6-fortune-draw{width:100%;min-width:0}
 .product-layout+.p6-fortune-product .p6-fortune-odds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-layout+.p6-fortune-product .p6-fortune-odds span{min-width:0;white-space:normal}
}
