/* Extends the existing Sard ordering system without changing the site palette. */
.order-page .start-service:nth-child(3n){border-inline-end:0}
.order-page .start-service:nth-child(3n+1){padding-inline-start:0}

.order-page .project-items{display:flex;flex-wrap:wrap;gap:12px;padding-block:16px 24px}
.order-page .project-item{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--line);padding:8px 16px;min-width:0;max-width:100%}
.order-page .project-item span{overflow-wrap:anywhere;flex:1;font-size:15px}
.order-page .project-item button{min-height:44px;font-size:13px}
.order-page .service-assist-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 32px;margin-block:8px}
.order-page .service-assist-actions .add-service{display:inline-flex;min-height:48px;align-items:center;margin:0;border-bottom:1px solid var(--line)}
.order-page .service-assist-actions .assistant-help{margin:0}
.order-page .estimate-line{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-top:16px;font-size:15px;line-height:1.7}
.order-page .estimate-line strong{font-weight:500}.order-page .estimate-line bdi{white-space:nowrap;font-size:14px}
.order-page .estimate-breakdown{border-block:1px solid var(--muted);padding-block:8px 16px;margin-block:16px}
.order-page .summary-price{font-variant-numeric:tabular-nums;unicode-bidi:isolate;overflow-wrap:anywhere}
.order-page .scope-quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.order-page .scope-quantity-grid label{min-width:0;display:flex;flex-direction:column;gap:8px;font-size:16px}
.order-page .quantity-control{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;direction:ltr}
.order-page .quantity-control input{min-width:0;width:100%;min-height:48px;text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:0;padding:8px;font:inherit;color:var(--ink)}
.order-page .quantity-control button{min-width:44px;min-height:48px;background:transparent;border:1px solid var(--line);font:inherit;color:var(--ink);cursor:pointer}
.order-page .quantity-control button:hover{background:var(--panel)}
.order-page .quantity-control button:focus-visible,.order-page .quantity-control input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.order-page .estimate-receipt{font-variant-numeric:tabular-nums;line-height:1.8;padding-block:16px}
@media(max-width:900px){
 .order-page .order-layout{display:flex;flex-direction:column}
 .order-page .order-summary{position:static;inset:auto;margin-block:24px;max-height:none;overflow:visible;box-shadow:none;width:100%;order:2}
 .order-page .order-summary summary{cursor:default;flex-wrap:wrap}
 .order-page .order-summary summary::after{content:none}
 .order-page .order-experience:not([data-current-step="0"]):not([data-current-step="4"]){padding-bottom:100px}
 .order-page .start-service:nth-child(n){border-inline-end:0;padding-inline:0}
 .order-page .project-items{gap:8px}
 .order-page .project-item{width:100%;padding:8px 12px}
 .order-page .scope-quantity-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.order-page .summary-price{transition:none;animation:none}}
@media(min-width:901px){.order-page .order-experience[data-current-step="0"] .order-layout[data-has-items="true"]{grid-template-columns:minmax(0,1fr) 304px}}
@media(max-width:900px){
 .order-page #order-main{display:contents}
 .order-page [data-order-step]{order:1;width:100%;min-width:0}
 .order-page .order-summary{order:2}
 .order-page .order-experience[data-current-step="2"] .order-summary,.order-page .order-experience[data-current-step="3"] .order-summary{order:0}
 .order-page .service-assist-actions,.order-page .progress-save{order:3}
}
@media(max-width:900px){.order-page .step-controls{order:4;width:100%}}

/* A unified, optically balanced service icon family. */
.order-page .start-service-top .service-icon {width:32px;height:32px;flex:0 0 32px;color:var(--accent);}
.order-page .visual-presentations {height:100%;padding:24px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;}
.order-page .presentation-stack {position:relative;margin-top:24px;padding:0 8px 12px 0;isolation:isolate;}
.order-page .presentation-stack>i {position:absolute;inset:8px 4px 4px 4px;border:1px solid var(--line);background:var(--paper);z-index:-1;}
.order-page .presentation-stack>i:first-child {inset:16px 0 0 8px;}
.order-page .presentation-slide {position:relative;min-height:132px;padding:20px;border:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;justify-content:space-between;gap:12px;}
.order-page .presentation-slide strong {font-size:clamp(18px,2vw,25px);line-height:1.5;}
.order-page .presentation-rule {height:2px;width:32px;background:var(--accent);}
.order-page .presentation-page {font-size:10px;align-self:flex-end;letter-spacing:.06em;color:var(--muted);}
@media(max-width:700px){.order-page .start-service-top .service-icon {width:30px;height:30px;flex-basis:30px;}.order-page .visual-presentations {padding:16px;}.order-page .presentation-slide {padding:16px;}}

/* Arabic ordering canvases follow their content instead of reserving blank height. */
html[dir="rtl"] .order-page .service-visual {
 height:auto;min-height:0;align-self:center;width:100%;padding:24px;
}
html[dir="rtl"] .order-page :is(.service-visual,.configuration-art) .visual-custom strong {
 margin-top:16px;font-size:clamp(24px,2.5vw,32px);line-height:1.5;direction:rtl;unicode-bidi:isolate;
}
html[dir="rtl"] .order-page :is(.service-visual,.configuration-art) :is(.visual-translation,.visual-editing,.visual-content) {
 height:auto;min-height:0;gap:16px;justify-content:flex-start;
}
html[dir="rtl"] .order-page :is(.service-visual,.configuration-art) .visual-presentations {
 height:auto;padding:0;justify-content:flex-start;
}
html[dir="rtl"] .order-page :is(.service-visual,.configuration-art) .presentation-stack {margin-top:16px;}
html[dir="rtl"] .order-page :is(.service-visual,.configuration-art) .presentation-slide {min-height:0;gap:16px;}
html[dir="rtl"] .order-page .configuration-art {min-height:0;max-height:none;}
html[dir="rtl"] .order-page .configuration-questions {min-height:0;}
html[dir="rtl"] .order-page .configuration-art:not(:has([data-configuration-service]:not([hidden]))) {display:none;}
html[dir="rtl"] .order-page .configuration-space:not(:has([data-configuration-service]:not([hidden]))) {grid-template-columns:minmax(0,1fr);}
@media(max-width:600px){
 html[dir="rtl"] .order-page .service-visual {padding:20px;}
}
