/* Full-page offer sequence, followed by a separate, simple receipt. */
.product-page.order-completed .detail-copy,.product-page.order-completed #cod-order{max-width:none!important;width:100%!important}.product-page.order-completed .product-page-grid{display:block}.product-page.order-completed .product-page-extras{display:none!important}.product-page.order-completed{padding-top:36px}.pp-flow{color:var(--green,#173e35);width:100%;scroll-margin-top:110px}.pp-flow [hidden]{display:none!important}.pp-flow-loading,.pp-load-error{text-align:center;padding:80px 20px;min-height:45vh}.pp-load-error>button{margin:24px auto}.pp-offer-page{max-width:960px;margin:0 auto;padding:8px 0 52px;min-height:70vh}.pp-flow-progress{display:flex;justify-content:center;gap:7px;margin:0 auto 32px;max-width:240px}.pp-flow-progress i{height:3px;flex:1;background:#dce3de;border-radius:4px}.pp-flow-progress .is-current{background:var(--green)}.pp-offer-content{text-align:center}.product-page .pp-offer-content>h1{font-size:clamp(26px,3.2vw,40px);font-weight:700;letter-spacing:0;line-height:1.5;margin:0 auto 28px;max-width:780px}.pp-offer-main-image{display:block;width:auto;height:auto;max-width:100%;max-height:520px;margin:0 auto 32px;object-fit:contain;border-radius:14px}.pp-rich-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.pp-rich-content img{max-width:100%;height:auto}.pp-rich-content .ql-align-center{text-align:center}.pp-rich-content .ql-align-right{text-align:right}.pp-rich-content .ql-align-justify{text-align:justify}.pp-rich-content .ql-direction-rtl{direction:rtl}.pp-rich-content .ql-size-small{font-size:.8em}.pp-rich-content .ql-size-large{font-size:1.5em}.pp-rich-content .ql-size-huge{font-size:2em}.pp-rich-content .ql-font-serif{font-family:Georgia,serif}.pp-rich-content .ql-font-monospace{font-family:monospace}.pp-rich-content>p:empty{display:none}.pp-rich-content .lp-section:last-child{margin-bottom:0}.pp-offer-price{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:28px 0 20px}.pp-offer-price>strong{font-size:30px;line-height:1.4}.pp-offer-price del{font-size:16px;opacity:.55}.pp-offer-price>span{font-size:13px}.pp-free{display:inline-block;padding:5px 10px;background:#e4eee7;border-radius:5px;font-size:13px;font-weight:700}.pp-choices{display:flex;justify-content:center;gap:14px;max-width:500px;margin:20px auto}.pp-choices:empty{display:none}.pp-choices>label{flex:1;display:grid;gap:8px;font-size:13px;text-align:start}.pp-choices select{width:100%;height:48px;background:white;border:1px solid #ccd8cf;border-radius:7px;padding:8px 12px;font:inherit;color:inherit}.pp-projected{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:620px;margin:24px auto;padding:18px 0;border-block:1px solid var(--line);font-size:14px}.pp-projected strong{font-size:18px}.pp-decision-actions{display:grid;grid-template-columns:1.65fr 1fr;gap:16px;max-width:720px;margin:28px auto 0}.pp-accept,.pp-decline{min-height:54px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;padding:14px 22px;font:700 16px/1.5 Tahoma,Arial,sans-serif;font-family:inherit;cursor:pointer}.pp-accept{background:var(--green,#173e35);color:white}.pp-accept:hover{filter:brightness(1.15)}.pp-decline{background:#eef1ed;color:#354b40;border-color:#dce3dc}.pp-decline:hover{background:#e4eae3}.pp-accept:disabled,.pp-decline:disabled{opacity:.6;cursor:wait}.pp-flow-error{max-width:720px;background:#fff0ed;border:1px solid #e9ccc5;padding:14px 18px;margin:20px auto;color:#963b30;font-size:14px;text-align:center;border-radius:8px}.pp-thankyou{width:100%;max-width:1240px;margin:0 auto;padding:12px 0 40px;text-align:start}.pp-thanks-content{text-align:center;max-width:900px;margin:0 auto 48px}.pp-thanks-icon{display:block;width:100px!important;height:100px!important;min-width:100px;max-width:100px!important;object-fit:contain;margin:0 auto 24px}.product-page .pp-thanks-content h1{font-size:clamp(28px,3.6vw,42px);font-weight:700;letter-spacing:0;line-height:1.5;margin:0 0 20px}.pp-thanks-content p{line-height:1.9}
/* Compact receipt: independent product, quantity and amount columns in RTL and LTR. */
.pp-receipt{max-width:780px;margin:0 auto 40px;border:1px solid #dce3de;border-radius:14px;overflow:hidden;background:var(--page-background,#faf8f3);color:#25362e;box-shadow:0 4px 20px color-mix(in srgb,var(--green,#183e35) 300.0%,transparent)}
.pp-receipt-title{padding:18px 20px;display:flex;justify-content:center;text-align:center;align-items:center;gap:8px 20px;flex-wrap:wrap;background:var(--ivory,#f3ede2)}
.product-page.order-completed .pp-receipt-title h2{margin:0;font-family:inherit;font-size:16px;font-weight:600;letter-spacing:0;line-height:1.5}
.pp-receipt-title>span{font-size:11px;line-height:1.6;color:#617268;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pp-receipt-title bdi{font-weight:600;color:#334b3e;letter-spacing:.02em}
.pp-receipt table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;font-family:inherit}
.pp-receipt .pp-quantity-column{width:60px}.pp-receipt .pp-amount-column{width:120px}
.pp-receipt th,.pp-receipt td{box-sizing:border-box;padding:14px 20px;border:0;border-top:1px solid var(--ivory,#f3ede2);font-size:14px;line-height:1.5;letter-spacing:0;text-align:start;vertical-align:middle;font-weight:400}
.pp-receipt thead th{padding-block:10px;font-size:12.1px;font-weight:500;color:#6a796f;background:var(--page-background,#faf8f3)}
.pp-receipt .pp-quantity-cell{text-align:center;padding-inline:8px}
.pp-receipt .pp-amount-cell{text-align:end;padding-inline-start:8px}
.pp-item-product{display:flex;align-items:center;gap:12px;min-width:0;text-align:start}
.product-page .pp-receipt .pp-item-image{display:block;flex:0 0 52px;width:52px;height:60px;max-width:52px;margin:0;border-radius:8px;object-fit:cover;background:var(--ivory,#f3ede2)}
.pp-receipt .pp-item-placeholder{display:grid!important;place-items:center;color:#8b9b91}.pp-item-placeholder svg{width:22px;height:22px}
.pp-item-copy{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.pp-receipt .pp-item-name{font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;white-space:normal;text-transform:none}
.pp-receipt .pp-item-options{margin:0;font-size:11px;line-height:1.4;color:#738077;opacity:1;overflow-wrap:anywhere}
.pp-receipt .pp-item-kind{margin:0;padding:2px 6px;border-radius:4px;background:var(--ivory,#f3ede2);font-size:10px;font-weight:500;line-height:1.4;color:#5a7162;opacity:1}
.pp-receipt .pp-qty{display:inline-flex;align-items:center;justify-content:center;min-width:30px;box-sizing:border-box;padding:4px 6px;margin:0;border:1px solid #e6ece7;border-radius:6px;background:var(--ivory,#f3ede2);font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;direction:ltr;font-variant-numeric:tabular-nums}
.pp-receipt .pp-line-price{font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.pp-receipt tfoot th,.pp-receipt tfoot td{padding-block:12px;font-size:13px}
.pp-receipt tfoot bdi{white-space:nowrap;font-variant-numeric:tabular-nums}
.pp-delivery-copy{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pp-receipt .pp-delivery-copy small{margin:0;color:#738077;font-size:11px;line-height:1.5;opacity:1}
.pp-receipt .pp-delivery-price{font-weight:500}
.pp-receipt-total{background:var(--ivory,#f3ede2)}
.pp-receipt .pp-receipt-total th,.pp-receipt .pp-receipt-total td{padding-block:16px;font-size:16px;font-weight:600;color:var(--green,#173e35)}
@media(max-width:600px){
 .pp-receipt{margin-bottom:28px;border-radius:10px}
 .pp-receipt-title{padding:14px 12px;gap:6px 12px}
 .product-page.order-completed .pp-receipt-title h2{font-size:14px}
 .pp-receipt-title>span{font-size:10px}
 .pp-receipt .pp-quantity-column{width:44px}.pp-receipt .pp-amount-column{width:120px}
 .pp-receipt th,.pp-receipt td{padding:12px;font-size:12px}
 .pp-receipt thead th{padding-block:9px;font-size:11px}
 .pp-receipt .pp-quantity-cell{padding-inline:4px}.pp-receipt .pp-amount-cell{padding-inline-start:6px}
 .pp-item-product{gap:9px}
 .product-page .pp-receipt .pp-item-image{flex-basis:42px;width:42px;max-width:42px;height:50px;border-radius:6px}
 .pp-receipt .pp-item-name{font-size:12px;line-height:1.55}
 .pp-receipt .pp-item-options{font-size:10px}.pp-receipt .pp-item-kind{font-size:9px;padding:2px 5px}
 .pp-receipt .pp-qty{min-width:26px;font-size:10px;padding:4px}
 .pp-receipt .pp-line-price{font-size:12px}
 .pp-receipt tfoot th,.pp-receipt tfoot td{padding-block:11px;font-size:12px}
 .pp-receipt .pp-delivery-copy small{font-size:10px}
 .pp-receipt .pp-receipt-total th,.pp-receipt .pp-receipt-total td{padding-block:14px;font-size:14px}
}
.pp-related>h2{text-align:center;margin:0 0 28px;font-size:30px;font-weight:700}.pp-related-grid{margin-top:0}.pp-related{margin-top:40px}.pp-flow [tabindex="-1"]:focus{outline:0}@media(max-width:760px){.product-page.order-completed{padding-top:24px}.pp-offer-page{padding-bottom:28px}.pp-offer-main-image{max-height:380px;border-radius:10px;margin-bottom:22px}.pp-flow-progress{margin-bottom:24px}.pp-rich-content{font-size:15px}.pp-decision-actions{grid-template-columns:1fr;gap:12px;margin-top:24px}.pp-accept,.pp-decline{min-height:52px;font-size:15px}.pp-thanks-content{margin-bottom:32px}.pp-projected{font-size:12px;gap:10px}.pp-projected strong{font-size:16px}.pp-offer-price>strong{font-size:27px}.pp-related>h2{font-size:25px}.pp-thankyou{padding-bottom:24px}}

@media(max-width:760px){}

/* Separate authored offer content from the customer decision. */
.pp-decision-actions{border-block-start:1px solid var(--ivory,#f3ede2);padding-block-start:28px}
@media(max-width:760px){.pp-decision-actions{padding-block-start:24px}}

.pp-receipt .pp-free-delivery{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border:1px solid var(--green,#183e35);border-radius:6px;background:var(--green,#183e35);color:#faf8f3;font-family:inherit;font-weight:600;line-height:1.5;vertical-align:middle}
html[lang=ar] .pp-receipt th,html[lang=ar] .pp-receipt td{line-height:1.65}

/* Borderless receipt with optically centred quantity and delivery badges. */
.pp-receipt{border:0;box-shadow:none}
.product-page.order-completed .pp-receipt-title h2{font-size:19.2px;text-align:center;width:100%}
.pp-receipt .pp-qty{border:0;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1.5;padding:4px 8px;text-align:center}
.pp-receipt .pp-free-delivery{line-height:1.5;padding:5px 10px;text-align:center;white-space:nowrap}
@media(max-width:600px){.product-page.order-completed .pp-receipt-title h2{font-size:16.8px}}

/* Side rules join the title and total without horizontal seams. */
.pp-receipt thead tr:first-child>th,.pp-receipt .pp-receipt-total>th,.pp-receipt .pp-receipt-total>td{border-top:0}
.pp-receipt thead,.pp-receipt tbody{border-inline:1px solid var(--ivory,#f3ede2)}
.pp-receipt tfoot>tr:not(.pp-receipt-total)>:first-child{border-inline-start:1px solid var(--ivory,#f3ede2)}
.pp-receipt tfoot>tr:not(.pp-receipt-total)>:last-child{border-inline-end:1px solid var(--ivory,#f3ede2)}

/* Keep the offer focused, with equal page gutters and a compact action baseline. */
body:has(#detail.post-purchase-offering:not([hidden])) .brand-footer{display:none!important}
.product-page.post-purchase-offering{--offer-edge:clamp(20px,6vw,64px);padding-inline:var(--offer-edge);padding-bottom:var(--offer-edge)}
.product-page.post-purchase-offering .pp-offer-page{padding-bottom:0;min-height:0}
.pp-decision-actions>.pp-accept,.pp-decision-actions>.pp-decline{box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.5;padding:14px 20px;margin:0;min-height:54px}
@media(max-width:760px){.product-page.post-purchase-offering{--offer-edge:5vw}.pp-decision-actions>.pp-accept,.pp-decision-actions>.pp-decline{min-height:52px;padding:14px 16px}}

/* Balance Arabic header baselines within the column-heading row. */
.pp-receipt thead th{padding-top:9px;padding-bottom:11px;vertical-align:middle}
@media(max-width:600px){.pp-receipt thead th{padding-top:8px;padding-bottom:10px}}

.pp-receipt .pp-delivery-copy{display:flex;align-items:center;justify-content:flex-start;gap:10px;line-height:1.5}
.pp-receipt .pp-free-delivery{box-sizing:border-box;min-height:32px}

/* Compact free-delivery label while retaining the icon-aligned height. */
.pp-receipt .pp-free-delivery{font-size:.85em;padding-inline:8px;min-height:32px}

/* Delivery label shares the total-label edge; method icon accompanies the amount. */
.pp-receipt .pp-delivery-amount{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.pp-receipt .pp-free-delivery{min-height:26px;padding-block:2px;line-height:1.4}
.pp-receipt .pp-amount-column{width:120px}

.pp-receipt tfoot .pp-delivery-copy,.pp-receipt tfoot .pp-delivery-amount{min-height:26px;align-items:center;line-height:1.5}
.pp-receipt tfoot th,.pp-receipt tfoot td{vertical-align:middle}

/* Compensate for the Arabic font's visual baseline without resizing the badge. */
html[lang=ar] .pp-receipt .pp-free-delivery{display:inline-flex;align-items:center;justify-content:center;height:26px;min-height:26px;padding-block:3px 1px;line-height:1;text-align:center}

/* Thank-you recommendations share the receipt's desktop width and edges. */
@media(min-width:761px){
 .pp-thankyou .pp-related{width:100%;max-width:780px;margin-inline:auto;box-sizing:border-box}
 .pp-thankyou .pp-related-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
 .pp-thankyou .pp-related-grid>.product{min-width:0}
}
