/* Aqua Haven Design 1.3.0 — site layer.
   One look for every page: soft corners, one heading voice, readable small text, calm press feedback.
   Scoped under body.aqhd (added by the plugin). The static home page has its own stylesheet and is not touched. */
body.aqhd{--d-navy:#003B6F;--d-navy-2:#00315D;--d-ink:#10243A;--d-mute:#566779;--d-line:#DCE4EC;--d-soft:#F3F6F9;--d-tint:#E8F0F7;--d-gold:#D4A017;--d-r:12px;--d-r-lg:16px;--d-ease:cubic-bezier(.22,1,.36,1)}
body.aqhd .aqhd-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* ---------- One heading voice ---------- */
body.aqhd main :is(h1,h2):not(.woocommerce-loop-product__title){font-weight:700!important;letter-spacing:0}
body.aqhd main h3{font-weight:600!important;letter-spacing:0}
body.aqhd main h1{font-size:clamp(28px,8.2vw,44px);line-height:1.35}
body.aqhd main h2{line-height:1.45}
body.aqhd main :is(h1,h2,h3){text-wrap:balance}
body.aqhd main p{text-wrap:pretty}

/* Pages whose heading is now the page name: the small line above it would repeat it. */
body.aqhd.aqhd-plain-title main :is(header .info7-kicker,.studio-page-heading .eyebrow){display:none}
body.aqhd.aqhd-plain-title main .info7-faq-sidebar nav>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Readable small text and muted text that passes contrast ---------- */
body.aqhd main :is(.hp-kicker,.hp-number,.hp-reference,.hp-next-scene span,.hp-case-cover .hp-button,figcaption span,.cq-nav a,.cq-breadcrumb :is(a,span),.cq-field label,.cq-mode,.cq-results-count,.cq-heading .cq-button,.aqhb32-breadcrumb :is(a,span),.kit-mode-note,.kit-preview-caption,.kit-preview-summary :is(strong,span),.kit-tray-total span,.kit-segment small,.kit-text-button,.kit-step-nav button,.kit-tray-toggle,.cq-heading p,dl dt,dl dd span),
body.aqhd main.hp-page div>span{font-size:13px!important}
body.aqhd main.hp-page :is(p,figcaption span,div>span,.hp-number,.hp-breadcrumb a,.hp-breadcrumb span):not(.hp-button *,.hp-project-photo>span,.hp-project-photo>span *){color:var(--d-mute)}
body.aqhd main .studio-summary .studio-local-note{color:#C9D6E2!important}
body.aqhd main input[type=range]{min-height:44px}

/* ---------- Breadcrumb links reach a comfortable tap size ---------- */
body.aqhd main :is(.aqhb32-breadcrumb,.cq-breadcrumb,.hp-breadcrumb,[class*="breadcrumb"]) a{display:inline-flex;align-items:center;min-height:44px}

/* ---------- Buttons: soft corners, immediate press ---------- */
body.aqhd main :is(button,a.button,input[type=submit],.btn,.hp-button,.aqhp-primary,.cq-button,.kit-primary,.studio-return-preview):not(nav *,[role=tab],.aqhsf-sbuy *){border-radius:var(--d-r)!important;touch-action:manipulation}
body.aqhd main :is(a.button,input[type=submit],.btn-primary,.hp-button,.aqhp-primary,.cq-primary,.kit-primary,.studio-step-next){transition:background-color .2s ease,transform .14s var(--d-ease)}
body.aqhd main :is(a.button,input[type=submit],.btn-primary,.hp-button,.aqhp-primary,.cq-primary,.kit-primary,.studio-step-next):active{transform:scale(.98);transition-duration:0s}
body.aqhd main :is(.aqhp-primary,.cq-primary,.hp-button,.btn-primary){font-weight:700}

/* ---------- Fields ---------- */
body.aqhd main :is(input:not([type=checkbox],[type=radio],[type=range],[type=hidden],[type=submit],[type=button]),select,textarea){border-radius:var(--d-r)!important}
body.aqhd main :is(.aqhc-password-control,.aqh60-phone-control,.aqhv10-search-control,.aqhd-404-search){border-radius:var(--d-r);overflow:hidden}
body.aqhd main :is(.aqhc-password-control,.aqh60-phone-control,.aqhv10-search-control,.aqhd-404-search) :is(input,button){border-radius:0!important}
body.aqhd main input[type=checkbox]{width:20px;height:20px;accent-color:var(--d-navy)}

/* ---------- Photos and panels ---------- */
body.aqhd :is(main.hp-page,main.info7-page,main .cq) img,
body.aqhd main :is(figure.hp-case-cover,.hp-project-photo,figure.info7-studio-visual,.info7-feature-story,.info7-studio,.studio-summary,.studio-controls,.studio-preview-facts,.kit-workbench,.drafts-empty,.drafts-archive-note,.aqh60-notice){border-radius:var(--d-r-lg)}
body.aqhd main :is(figure.hp-case-cover,.hp-project-photo,figure.info7-studio-visual,.info7-feature-story){overflow:hidden}
body.aqhd main :is(figure.hp-case-cover,.hp-project-photo,figure.info7-studio-visual,.info7-feature-story) img{border-radius:0}

body.aqhd main :is(.drafts-archive-note,.drafts-empty) :is(h2,h3,strong){font-weight:700!important}
body.aqhd main .info7-faq-sidebar nav a{border-radius:999px;touch-action:manipulation}

/* ---------- Account gate (أحواضي، سجل العناية، طلباتي، الخدمات) ---------- */
body.aqhd main .aqhp-guest{margin-top:20px;padding:24px 20px;border:1px solid var(--d-line);border-radius:var(--d-r-lg);background:#fff}
body.aqhd main .aqhp-guest h2{margin-top:0;font-size:22px}
body.aqhd main .aqhp-guest .aqhp-primary{display:flex;align-items:center;justify-content:center;min-height:52px;margin-top:16px;border-radius:var(--d-r)}
body.aqhd main .aqhp-guest .aqhp-text-link{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:6px;font-weight:700}

/* ---------- Sign in ---------- */
body.aqhd main .aqhc-account-content{display:flex;flex-direction:column}
body.aqhd main .aqhc-account-content>.aqhc-account-form{order:1}
body.aqhd main .aqhc-account-content>.aqhc-auth-links{order:2;display:flex;justify-content:space-between;gap:12px;margin-top:8px}
body.aqhd main .aqhc-account-content>.aqhc-auth-links a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
body.aqhd main .aqhc-account-content>.aqhg52{order:3;margin-top:24px;padding-top:24px;border-top:1px solid var(--d-line)}
body.aqhd main .aqhg52 h2{font-size:18px}
body.aqhd main .aqhg52 :is(.aqhg52-intro,.aqhg52-help,.aqhg52-status){color:var(--d-mute);font-size:14px;line-height:1.8}
body.aqhd main .aqhc-account-form .cq-button{width:100%;min-height:52px;font-size:16px}
body.aqhd main .aqhc-account-form>label{display:flex;align-items:center;gap:10px;min-height:44px}

/* ---------- Phone sign-in (V60, when it is live) ---------- */
body.aqhd main .aqh60-phone .aqh60-code{min-height:64px;font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.3em;text-align:center}
body.aqhd main .aqh60-phone .aqh60-primary{min-height:52px;border-radius:var(--d-r);font-size:16px;font-weight:700}
body.aqhd main .aqh60-phone :is(.aqh60-text-button,.aqh60-entry-link){min-height:44px}

/* ---------- Cart: empty state ---------- */
body.aqhd main .cart-empty.woocommerce-info{margin:8px 0 16px;padding:28px 20px;border:0;border-radius:var(--d-r-lg);background:var(--d-soft);color:var(--d-ink);font-size:17px;font-weight:600;text-align:center}
body.aqhd main .cart-empty.woocommerce-info::before{display:none}
body.aqhd main .return-to-shop{margin:20px 0 0}
body.aqhd main .return-to-shop .button{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:var(--d-r);font-size:16px;font-weight:700}

/* ---------- Quick links (empty cart, 404) ---------- */
body.aqhd .aqhd-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
body.aqhd .aqhd-chips p{flex-basis:100%;margin:0 0 2px;color:var(--d-mute);font-size:14px}
body.aqhd .aqhd-chips a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--d-line);border-radius:999px;background:#fff;color:var(--d-ink);font-size:14px;font-weight:600;text-decoration:none;touch-action:manipulation;transition:border-color .2s ease,background-color .2s ease}
body.aqhd .aqhd-chips a:active{background:var(--d-tint)}
@media (hover:hover) and (pointer:fine){body.aqhd .aqhd-chips a:hover{border-color:var(--d-navy)}}

/* ---------- 404 ---------- */
body.aqhd.error404 main{padding-bottom:56px}
body.aqhd.error404 main:has(.aqhd-404)>p:not([class]){display:none}
body.aqhd .aqhd-404{max-width:520px;margin-top:12px}
body.aqhd .aqhd-404-lead{margin:0 0 18px;color:var(--d-mute);font-size:16px;line-height:1.8}
body.aqhd .aqhd-404-search{display:flex;align-items:stretch;min-height:52px;margin:0 0 18px;border:1px solid var(--d-line);border-radius:var(--d-r);background:#fff;overflow:hidden}
body.aqhd .aqhd-404-search:focus-within{border-color:var(--d-navy)}
body.aqhd .aqhd-404-search input{flex:1;min-width:0;margin:0;padding:0 14px;border:0;border-radius:0;background:transparent;color:var(--d-ink);font:inherit;font-size:16px}
body.aqhd .aqhd-404-search input:focus-visible{outline:0}
body.aqhd .aqhd-404-search button{flex:none;margin:0;padding:0 20px;border:0;border-radius:0;background:var(--d-navy);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}

/* ---------- Text pages (privacy, returns, contact) ---------- */
body.aqhd.page main.aqhv10-content>:is(p,ul,ol){max-width:66ch;line-height:1.95}
body.aqhd.page main.aqhv10-content>h2{margin-top:32px;font-size:22px}

@media (min-width:768px){
  body.aqhd main .return-to-shop .button{display:inline-flex;min-width:280px}
  body.aqhd main .aqhp-guest{max-width:520px}
}
@media (hover:hover) and (pointer:fine){
  body.aqhd main :is(.aqhp-primary,.cq-primary,.btn-primary,.return-to-shop .button):hover{background-color:var(--d-navy-2)}
}
@media (prefers-reduced-motion:reduce){
  body.aqhd main :is(a.button,input[type=submit],.btn-primary,.hp-button,.aqhp-primary,.cq-primary,.kit-primary,.studio-step-next){transition:background-color .2s ease}
  body.aqhd main :is(a.button,input[type=submit],.btn-primary,.hp-button,.aqhp-primary,.cq-primary,.kit-primary,.studio-step-next):active{transform:none}
}

/* ---------- Section icons on the empty-cart chips ---------- */
body.aqhd .aqhd-cart-sections a{gap:8px;min-height:48px;padding:0 16px 0 18px}
body.aqhd .aqhd-cart-sections a i{flex:none;width:20px;height:20px;background:var(--d-navy);-webkit-mask:var(--d-ico) center/contain no-repeat;mask:var(--d-ico) center/contain no-repeat}
body.aqhd .aqhd-cart-sections a:not([class*="aqhd-cat-aqh-ref-"]) i{display:none}
body.aqhd .aqhd-cart-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.aqhd .aqhd-cart-sections p{grid-column:1/-1}
body.aqhd .aqhd-cart-sections a{border-radius:var(--d-r);padding:8px 12px;line-height:1.4;white-space:normal}
body.aqhd .aqhd-cat-aqh-ref-1685113 i{--d-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3zM3 10h18M7 18v2M17 18v2'/%3E%3C/svg%3E")}
body.aqhd .aqhd-cat-aqh-ref-1685095 i{--d-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V11M12 11c0-4 3-7 7-7 0 4-3 7-7 7zM12 15c0-3-2-5-5-5 0 3 2 5 5 5z'/%3E%3C/svg%3E")}
body.aqhd .aqhd-cat-aqh-ref-1685080 i{--d-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 19l6-10 4 6 3-4 7 8z'/%3E%3C/svg%3E")}
body.aqhd .aqhd-cat-aqh-ref-1685082 i{--d-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2'/%3E%3C/svg%3E")}
body.aqhd .aqhd-cat-aqh-ref-1685090 i{--d-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c4 5 6 8 6 11a6 6 0 0 1-12 0c0-3 2-6 6-11z'/%3E%3C/svg%3E")}
body.aqhd .aqhd-cat-aqh-ref-1685091 i{--d-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12c3-5 9-5 13 0-4 5-10 5-13 0zM16 12l5-4v8zM7 11h.01'/%3E%3C/svg%3E")}

/* ---------- Google sign-in button: same height, corners and type as the other buttons ---------- */
body.aqhd main .aqhg52-google{margin:12px 0}
body.aqhd main .aqhg52-google>div,body.aqhd main .aqhg52-google>div>div{width:100%}
body.aqhd main .aqhg52-google [role=button]{display:flex!important;align-items:center;justify-content:center;gap:10px;direction:rtl;width:100%!important;max-width:none!important;height:52px!important;min-height:52px;padding:0 16px!important;border:1.5px solid var(--d-line)!important;border-radius:var(--d-r)!important;background:#fff!important;color:var(--d-ink)!important;font-family:inherit!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
body.aqhd main .aqhg52-google [role=button] div{display:contents!important;border:0!important;background:none!important;margin:0!important;padding:0!important}
body.aqhd main .aqhg52-google [role=button] svg{flex:none;display:block;border:0!important;outline:0!important;background:none!important;padding:0!important;width:20px!important;height:20px!important;min-width:20px}
body.aqhd main .aqhg52-google [role=button] svg,body.aqhd main .aqhg52-google [role=button] svg *{stroke:none!important;stroke-width:0!important}
body.aqhd main .aqhg52-google [role=button] span{flex:none;font-family:inherit!important;font-size:16px!important;font-weight:600!important;line-height:1.4!important;color:inherit!important;letter-spacing:0!important}
body.aqhd main .aqhg52-google [role=button] span:empty{display:none!important}
@media (hover:hover) and (pointer:fine){body.aqhd main .aqhg52-google [role=button]:hover{border-color:var(--d-navy)!important}}
/* 1.3.1: حد 13px لشريط المعاينة ورابط العودة في صفحة الدخول */
body.aqhd .aqhv10-demo-notice p,body.aqhd .aqh70-back{font-size:13px!important}

/* 1.5.5: مسار المنتج على الجوال في سطر واحد يُسحب أفقيًا؛ اسم المنتج يُخفى منه لأنه العنوان تحته مباشرة. */
@media (max-width:600px){
  body.aqhd .aqhv10-single .product-breadcrumb{flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;white-space:nowrap}
  body.aqhd .aqhv10-single .product-breadcrumb::-webkit-scrollbar{display:none}
  body.aqhd .aqhv10-single .product-breadcrumb>*{flex:none}
  body.aqhd .aqhv10-single .product-breadcrumb>svg:has(+ span[aria-current]),body.aqhd .aqhv10-single .product-breadcrumb>span[aria-current]{display:none}
}

/* 1.8.12 (owner approved 2026-11-26): one font family — Outfit for Latin, Changa for Arabic. The old theme points --font at IBM Plex Arabic, which made every store page download two extra font files. */
:root{--font:'Outfit','Changa',Tahoma,sans-serif!important}

/* 1.8.13 (owner approved 2026-11-27): the number first, then the currency («349 ر.س»), wherever WooCommerce prints a price — its <bdi> resolved to left-to-right and put «ر.س» before the number. And the VAT note beside the product price. */
.woocommerce-Price-amount bdi{direction:rtl}
.aqhd-vat{font:500 13px/1.4 'Changa',Tahoma,sans-serif;color:#5b6b7d;margin-inline-start:10px;letter-spacing:0;white-space:nowrap;vertical-align:middle}

/* 1.8.14 (owner asked 2026-11-27): the official Saudi riyal sign (SAMA file Saudi_Riyal_Symbol-2.svg) instead of the letters «ر.س».
   The letters stay in the page for screen readers, copy and search; only their drawing is replaced. Without mask support the letters show as before. */
:root{--aqhd-sar:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1124.14 1256.39%22%3E%3Cpath d=%22M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z%22/%3E%3Cpath d=%22M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z%22/%3E%3C/svg%3E")}
@supports ((-webkit-mask-image:url("")) or (mask-image:url(""))){
  .woocommerce-Price-currencySymbol,.aqhd-sar{display:inline-block;width:.7em;height:.78em;overflow:hidden;white-space:nowrap;vertical-align:baseline;background:currentColor;-webkit-text-fill-color:transparent;-webkit-mask:var(--aqhd-sar) center/contain no-repeat;mask:var(--aqhd-sar) center/contain no-repeat;text-decoration:none}
}
