/* Extracted from service-details.php so the browser can cache it. */
:root { --sd-primary:#1f5e45; --sd-accent:#f97316; }
.service-details-page { padding: 48px 0 92px; background:#f7f8f5; }
.service-details-container { max-width:1200px; margin:auto; padding:0 20px; }
.service-breadcrumb { display:inline-flex; align-items:center; gap:8px; margin-bottom:22px; color:#64746b; font-size:13px; font-weight:600; text-decoration:none; }
.service-breadcrumb:hover { color:var(--sd-primary); }
.service-details-content { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:44px; align-items:start; }
.service-image-gallery { padding:16px; border:1px solid #e2e9e3; border-radius:20px; background:#fff; }
.service-main-image-wrapper { position:relative; overflow:hidden; border-radius:14px; background:#eef2ee; }
.service-main-img { display:block; width:100%; height:auto; max-height:620px; object-fit:contain; }
.service-badge { position:absolute; top:16px; left:16px; padding:7px 14px; border-radius:30px; background:var(--sd-accent); color:#fff; font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.service-info { padding:14px 8px; }
.service-category { display:inline-block; margin-bottom:12px; color:var(--sd-accent); font-size:12px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; }
.service-info h1 { margin:0 0 14px; color:var(--sd-primary); font-family:var(--font-heading,inherit); font-size:38px; line-height:1.18; }
.service-price-line { display:flex; align-items:baseline; gap:10px; margin-bottom:18px; }
.service-price-line .label { color:#7a877f; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.service-price-line .amount { color:var(--sd-primary); font-size:30px; font-weight:900; }
.service-price-line .duration { display:inline-flex; align-items:center; gap:5px; margin-left:auto; padding:5px 10px; border:1px solid #dfe7e1; border-radius:999px; background:#f6f9f6; color:#5c6c63; font-size:12px; font-weight:700; }
.service-short-desc { margin:0 0 26px; color:#5e6d65; font-size:17px; line-height:1.75; }
.service-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.btn-service-primary, .btn-service-share { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:0 22px; border:0; border-radius:10px; font-weight:800; }
.btn-service-primary { background:var(--sd-primary); color:#fff; }
.btn-service-primary:hover { background:#174a35; color:#fff; }
.btn-service-share { background:#fff1df; color:#a95416; }
.btn-service-share:hover { background:#ffe6c7; color:#8f4211; }
.service-share-wrap { position:relative; }
.service-share-menu { position:absolute; z-index:20; top:calc(100% + 8px); left:0; width:170px; padding:7px; border-radius:12px; background:#fff; box-shadow:0 16px 40px rgba(20,45,33,.18); }
.service-share-menu[hidden] { display:none; }
.service-share-option { display:flex !important; align-items:center; gap:9px; width:100%; min-height:40px !important; padding:0 10px !important; border-radius:8px; background:#fff !important; color:var(--sd-primary) !important; font-size:13px; font-weight:700; text-decoration:none; }
.service-share-option:hover { background:#f3f7f4 !important; }

.service-booking-panel { margin-top:34px; padding:28px 30px 30px; border:1px solid #e1e9e2; border-radius:20px; background:#fff; box-shadow:0 20px 55px rgba(20,45,33,.08); }
.service-booking-panel-head { margin-bottom:20px; }
.service-booking-panel-eyebrow { display:inline-block; margin-bottom:6px; color:var(--sd-accent); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.service-booking-panel-title { margin:0; color:#24342c; font-size:26px; font-weight:900; }
.service-booking-summary { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:13px; margin-bottom:22px; padding:15px; border:1px solid #dce7df; border-radius:13px; background:#f6f9f6; }
.service-booking-summary-icon { display:grid; width:43px; height:43px; place-items:center; border-radius:12px; background:#fff1df; color:#b5672d; }
.service-booking-summary span, .service-booking-summary strong { display:block; }
.service-booking-summary span { color:#718078; font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.service-booking-summary strong { margin-top:2px; color:var(--sd-primary); font-size:19px; }
.service-booking-summary small { color:#718078; font-size:11px; text-align:right; }
.service-booking-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.service-booking-field-full { grid-column:1 / -1; }
.service-booking-panel .form-label { margin-bottom:7px; color:#405248; font-size:12px; font-weight:800; }
.service-booking-panel .form-control, .service-booking-panel .form-select { min-height:48px; border-color:#dce5dd; border-radius:10px; }
.service-booking-panel .form-control:focus, .service-booking-panel .form-select:focus { border-color:var(--sd-primary); box-shadow:0 0 0 3px rgba(31,94,69,.1); }
/* ===== Add to Cart button =====
   Every property is !important and scoped to #serviceBookingForm so theme
   styles for button / .btn / [type=submit] cannot override it.
   (@keyframes cannot use !important, so they are plain.) */
#serviceBookingForm .btn-service-cart {
    --cart-ease: cubic-bezier(.22,1,.36,1);
    position:relative !important; isolation:isolate !important; overflow:hidden !important; box-sizing:border-box !important;
    display:flex !important; align-items:center !important; justify-content:flex-start !important; gap:14px !important;
    width:100% !important; max-width:100% !important; height:auto !important; min-height:64px !important;
    margin:22px 0 0 !important; padding:10px 12px 10px 10px !important;
    border:0 !important; border-radius:16px !important; outline:0 !important;
    font-family:inherit !important; font-size:16px !important; line-height:1.2 !important; letter-spacing:normal !important;
    text-align:left !important; text-transform:none !important; text-decoration:none !important; text-shadow:none !important;
    color:#fff !important; opacity:1 !important; filter:none !important; cursor:pointer !important;
    background:linear-gradient(135deg,#fb923c 0%,#f97316 45%,#ea580c 100%) !important;
    background-size:160% 160% !important; background-position:0% 50% !important;
    box-shadow:0 14px 30px rgba(249,115,22,.32), inset 0 1px 0 rgba(255,255,255,.25) !important;
    transform:none !important;
    transition:transform .35s var(--cart-ease), box-shadow .35s var(--cart-ease), background-position .6s var(--cart-ease) !important;
}
#serviceBookingForm .btn-service-cart::before { display:none !important; content:none !important; }
#serviceBookingForm .btn-service-cart::after {
    content:"" !important; position:absolute !important; z-index:-1 !important; top:0 !important; bottom:0 !important; left:-60% !important;
    width:40% !important; height:auto !important; background:linear-gradient(115deg,transparent,rgba(255,255,255,.38),transparent) !important;
    transform:skewX(-20deg) !important; pointer-events:none !important;
}
#serviceBookingForm .btn-service-cart:not(:disabled):hover {
    transform:translateY(-3px) !important; background-position:100% 50% !important; color:#fff !important;
    box-shadow:0 20px 40px rgba(234,88,12,.38), inset 0 1px 0 rgba(255,255,255,.25) !important;
}
#serviceBookingForm .btn-service-cart:not(:disabled):hover::after { animation:cartSweep 1s cubic-bezier(.22,1,.36,1) !important; }
#serviceBookingForm .btn-service-cart:not(:disabled):active { transform:translateY(-1px) scale(.995) !important; }
#serviceBookingForm .btn-service-cart:focus-visible { outline:3px solid rgba(249,115,22,.45) !important; outline-offset:3px !important; }
@keyframes cartSweep { to { left:130%; } }

#serviceBookingForm .btn-cart-icon {
    position:relative !important; flex:0 0 auto !important; display:grid !important; place-items:center !important;
    width:46px !important; height:46px !important; margin:0 !important; border-radius:12px !important;
    background:rgba(255,255,255,.2) !important; color:#fff !important; font-size:18px !important;
    transition:transform .45s var(--cart-ease), background-color .3s ease !important;
}
#serviceBookingForm .btn-service-cart:not(:disabled):hover .btn-cart-icon { transform:rotate(-8deg) scale(1.06) !important; background:rgba(255,255,255,.28) !important; }
#serviceBookingForm .btn-cart-text { display:flex !important; flex:1 1 auto !important; flex-direction:column !important; min-width:0 !important; margin:0 !important; padding:0 !important; color:inherit !important; font-size:16px !important; line-height:1.2 !important; background:none !important; }
#serviceBookingForm .btn-cart-label { display:block !important; margin:0 !important; padding:0 !important; background:none !important; color:inherit !important; font-size:16px !important; font-weight:900 !important; letter-spacing:.01em !important; }
#serviceBookingForm .btn-cart-sub {
    display:block !important; margin-top:3px !important; overflow:hidden !important;
    color:rgba(255,255,255,.85) !important; font-size:12px !important; font-weight:600 !important;
    white-space:nowrap !important; text-overflow:ellipsis !important;
}
#serviceBookingForm .btn-cart-arrow {
    flex:0 0 auto !important; display:grid !important; place-items:center !important; width:34px !important; height:34px !important;
    border-radius:50% !important; background:rgba(255,255,255,.18) !important; color:#fff !important; font-size:13px !important;
    transition:transform .35s var(--cart-ease), background-color .3s ease !important;
}
#serviceBookingForm .btn-service-cart:not(:disabled):hover .btn-cart-arrow { transform:translateX(4px) !important; background:rgba(255,255,255,.3) !important; }

/* Not ready yet: calm and clearly locked */
#serviceBookingForm .btn-service-cart:disabled {
    opacity:1 !important; cursor:not-allowed !important; color:#6b7a72 !important;
    background:#eef2ef !important; box-shadow:inset 0 0 0 1px #dce5dd !important; transform:none !important;
}
#serviceBookingForm .btn-service-cart:disabled::after { display:none !important; }
#serviceBookingForm .btn-service-cart:disabled .btn-cart-icon { background:#fff !important; color:#9aa8a0 !important; }
#serviceBookingForm .btn-service-cart:disabled .btn-cart-sub { color:#8a978f !important; }
#serviceBookingForm .btn-service-cart:disabled .btn-cart-arrow { background:#fff !important; color:#a6b2ab !important; }
#serviceBookingForm .btn-service-cart:disabled .btn-cart-arrow i::before { content:"\f023" !important; } /* lock icon */

/* Just became ready: one short pulse */
#serviceBookingForm .btn-service-cart.is-ready { animation:cartReady 1.2s cubic-bezier(.22,1,.36,1) 1 !important; }
@keyframes cartReady {
    0%   { box-shadow:0 0 0 0 rgba(249,115,22,.55); }
    100% { box-shadow:0 0 0 16px rgba(249,115,22,0), 0 14px 30px rgba(249,115,22,.32); }
}

/* Adding / added (also disabled, so these come after the disabled rules) */
#serviceBookingForm .btn-service-cart.is-loading,
#serviceBookingForm .btn-service-cart.is-done {
    cursor:progress !important; color:#fff !important; transform:none !important;
    background:linear-gradient(135deg,#fb923c 0%,#f97316 45%,#ea580c 100%) !important;
    box-shadow:0 14px 30px rgba(249,115,22,.32) !important;
}
#serviceBookingForm .btn-service-cart.is-loading .btn-cart-icon,
#serviceBookingForm .btn-service-cart.is-done .btn-cart-icon { background:rgba(255,255,255,.2) !important; color:#fff !important; }
#serviceBookingForm .btn-service-cart.is-loading .btn-cart-sub,
#serviceBookingForm .btn-service-cart.is-done .btn-cart-sub { color:rgba(255,255,255,.85) !important; }
#serviceBookingForm .btn-service-cart.is-loading .btn-cart-arrow,
#serviceBookingForm .btn-service-cart.is-done .btn-cart-arrow { display:none !important; }
#serviceBookingForm .btn-service-cart.is-done {
    background:linear-gradient(135deg,#22c55e 0%,#16a34a 55%,#15803d 100%) !important;
    box-shadow:0 14px 30px rgba(22,163,74,.32) !important;
}
#serviceBookingForm .btn-service-cart.is-done .btn-cart-icon i { animation:cartTick .5s cubic-bezier(.22,1,.36,1) !important; }
@keyframes cartTick { from { transform:scale(.3) rotate(-30deg); } to { transform:none; } }

#serviceBookingForm .service-cart-trust {
    display:flex !important; flex-wrap:wrap !important; justify-content:center !important; gap:6px 18px !important;
    margin:12px 0 0 !important; padding:0 !important; color:#7a877f !important; font-size:12px !important; font-weight:600 !important;
}
#serviceBookingForm .service-cart-trust span { display:inline-flex !important; align-items:center !important; margin:0 !important; padding:0 !important; color:#7a877f !important; font-size:12px !important; background:none !important; }
#serviceBookingForm .service-cart-trust i { margin-right:5px !important; color:var(--sd-primary) !important; }

@media (max-width:575.98px) {
    #serviceBookingForm .btn-service-cart { min-height:60px !important; gap:10px !important; }
    #serviceBookingForm .btn-cart-icon { width:40px !important; height:40px !important; font-size:16px !important; }
    #serviceBookingForm .btn-cart-label { font-size:15px !important; }
    #serviceBookingForm .btn-cart-arrow { display:none !important; }
    #serviceBookingForm .btn-cart-sub { white-space:normal !important; display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical !important; }
}
@media (prefers-reduced-motion: reduce) {
    #serviceBookingForm .btn-service-cart,
    #serviceBookingForm .btn-service-cart *,
    #serviceBookingForm .btn-service-cart::after { transition:none !important; animation:none !important; }
}
.service-booking-error { margin-top:16px; }

#serviceBookingForm .service-tabs { display:flex !important; gap:28px !important; margin-top:38px !important; overflow-x:auto !important; border-bottom:2px solid #dce5dd !important; }
#serviceBookingForm .service-tab-btn { position:relative !important; flex:0 0 auto !important; min-height:48px !important; padding:0 2px 14px !important; border:0 !important; background:transparent !important; color:#65736b !important; font-size:15px !important; font-weight:800 !important; white-space:nowrap !important; }
#serviceBookingForm .service-tab-btn:hover, #serviceBookingForm .service-tab-btn.active { color:var(--sd-primary) !important; }
#serviceBookingForm .service-tab-btn.active::after { content:"" !important; position:absolute !important; right:0 !important; bottom:-2px !important; left:0 !important; height:3px !important; background:var(--sd-primary) !important; }
#serviceBookingForm .service-tab-content { padding:32px 0 !important; }
#serviceBookingForm .service-tab-content .tab-pane { display:none !important; }
#serviceBookingForm .service-tab-content .tab-pane.active { display:block !important; }
#serviceBookingForm .service-description { max-width:100% !important; overflow:hidden !important; color:#526158 !important; font-size:16px !important; line-height:1.8 !important; overflow-wrap:anywhere !important; }
#serviceBookingForm .service-description img, #serviceBookingForm .service-description video, #serviceBookingForm .service-description iframe { display:block !important; max-width:100% !important; height:auto !important; }
#serviceBookingForm .service-description table { display:block !important; max-width:100% !important; overflow-x:auto !important; }
#serviceBookingForm .service-details-list { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:14px !important; margin:0 !important; padding:0 !important; list-style:none !important; }
#serviceBookingForm .service-details-list li { padding:14px 16px !important; border:1px solid #e1e9e2 !important; border-radius:10px !important; background:#fff !important; color:#536159 !important; line-height:1.6 !important; }
#serviceBookingForm .service-faq-list { border-top:1px solid #dce5dd !important; }
#serviceBookingForm .service-faq-item { overflow:hidden !important; border-bottom:1px solid #dce5dd !important; background:#fff !important; }
#serviceBookingForm .service-faq-item.active { box-shadow:inset 3px 0 0 var(--sd-accent) !important; }
#serviceBookingForm .service-faq-question { display:grid !important; grid-template-columns:38px 1fr 34px !important; align-items:center !important; gap:15px !important; width:100% !important; min-height:70px !important; padding:14px 18px 14px 8px !important; border:0 !important; background:transparent !important; color:#24342c !important; text-align:left !important; }
#serviceBookingForm .service-faq-number { color:#9aa79f !important; font-size:12px !important; font-weight:800 !important; letter-spacing:.08em !important; text-align:center !important; }
#serviceBookingForm .service-faq-text { font-size:16px !important; font-weight:800 !important; line-height:1.45 !important; }
#serviceBookingForm .service-faq-toggle { display:grid !important; width:32px !important; height:32px !important; place-items:center !important; border:1px solid #d8e1da !important; border-radius:50% !important; color:var(--sd-primary) !important; transition:transform .25s ease, background-color .2s ease, color .2s ease !important; }
#serviceBookingForm .service-faq-item.active .service-faq-toggle { background:var(--sd-primary) !important; color:#fff !important; transform:rotate(45deg) !important; }
#serviceBookingForm .service-faq-answer[hidden] { display:none !important; }
#serviceBookingForm .service-faq-answer-inner { margin:0 56px 0 61px !important; padding:0 0 22px !important; color:#55665c !important; line-height:1.8 !important; }
#serviceBookingForm .service-faq-answer-inner p { margin:0 !important; padding:18px 0 0 !important; border-top:1px solid #e8eee9 !important; }
.service-details-page .related-section { margin-top:48px; }
.service-details-page .related-section > h2 { margin:0 0 22px; color:var(--sd-primary); font-family:var(--font-heading,inherit); font-size:clamp(1.45rem,2.6vw,1.85rem); font-weight:900; line-height:1.2; }
.service-details-page .related-card { display:flex; flex-direction:column; height:100%; overflow:hidden; border:1px solid #e1e9e2; border-radius:16px; background:#fff; box-shadow:0 10px 30px rgba(20,45,33,.06); transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.service-details-page .related-card:hover { transform:translateY(-4px); border-color:#cfe0d4; box-shadow:0 18px 40px rgba(20,45,33,.12); }
.service-details-page .related-card a { color:inherit; text-decoration:none; }
.service-details-page .related-card-media { display:block; overflow:hidden; background:#f1f4f1; }
.service-details-page .related-card-media img { display:block; width:100%; height:180px; object-fit:cover; transition:transform .4s ease; }
.service-details-page .related-card:hover .related-card-media img { transform:scale(1.04); }
.service-details-page .related-card-body { display:flex; flex:1; flex-direction:column; padding:18px; }
.service-details-page .related-card-category { margin-bottom:7px; color:var(--sd-accent); font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.service-details-page .related-card h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:0 0 8px; color:var(--sd-primary); font-size:18px; font-weight:800; line-height:1.35; }
.service-details-page .related-card p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; flex:1; overflow:hidden; margin:0 0 14px; color:#6b7971; font-size:13px; line-height:1.6; }
.service-details-page .related-card-link { display:inline-flex; align-items:center; justify-content:center; gap:7px; width:100%; min-height:40px; padding:0 14px; border-radius:9px; background:#eef4ef; color:var(--sd-primary); font-size:12px; font-weight:800; text-decoration:none; transition:background-color .2s ease,color .2s ease; }
.service-details-page .related-card-link:hover { background:var(--sd-primary); color:#fff; }
.service-details-page .related-card-link:focus-visible,.service-details-page .related-card-media:focus-visible { outline:3px solid rgba(249,115,22,.45); outline-offset:3px; }
@media (max-width:991.98px) {
    .service-details-content { grid-template-columns:1fr; }
    .service-info h1 { font-size:31px; }
}
@media (max-width:575.98px) {
    .service-details-page { padding-top:28px; }
    .service-booking-panel { padding:22px 18px; }
    .service-booking-form-grid, .service-details-list { grid-template-columns:1fr; }
    .service-booking-summary { grid-template-columns:auto 1fr; }
    .service-booking-summary small { display:none; }
    .service-actions { align-items:stretch; flex-direction:column; }
    .btn-service-primary, .btn-service-share { width:100%; }
    .service-faq-question { grid-template-columns:30px 1fr 32px; gap:10px; }
    .service-faq-answer-inner { margin:0 20px 0 48px; }
    .service-details-page .related-section { margin-top:36px; }
    .service-details-page .related-card-media img { height:170px; }
}
