/* Existing Montserrat / Cabin and brand colours; no changes to the restored home hero. */
body.drk-site-design { --drks-ink:#264e53; --drks-accent:#147b8b; --drks-line:#dbe7e6; --drks-soft:#eef6f5; }

/* The three older information pages now follow the shop's reading scale. */
body.drks-info .entry-content>.wp-block-uagb-container:first-child { padding:178px 30px 68px; min-height:0; }
body.drks-info .entry-content>.wp-block-uagb-container:first-child::before { background-image:linear-gradient(180deg,#173f49e8,#246b78b8); }
body.drks-info .entry-content h1.uagb-heading-text { max-width:900px; margin:0 auto; font-size:clamp(32px,3.5vw,50px); line-height:1.22; font-weight:500; text-transform:none; letter-spacing:normal; text-wrap:balance; color:#fff; }
body.drks-info .entry-content :is(h2,h3) { color:var(--drks-ink); text-transform:none; letter-spacing:normal; font-weight:500; text-wrap:balance; }
body.drks-info .entry-content h2 { font-size:clamp(25px,2.25vw,32px); line-height:1.35; }
body.drks-info .entry-content h3 { font-size:22px; line-height:1.4; }
body.drks-info.page-id-546 .entry-content>.wp-block-uagb-container:first-child { background-image:linear-gradient(120deg,#315f69,#83b0b4); }
body.drks-info.page-id-546 .entry-content>.wp-block-uagb-container:first-child::before { background-image:none; }
body.drks-info .dr-copy-prose { max-width:850px!important; padding:52px 24px 72px!important; font-size:17px; line-height:1.8; color:#435b5d; }
body.drks-info .dr-copy-prose>p:first-child { font-size:19px; color:var(--drks-ink); }
body.drks-info .dr-copy-prose h2 { margin:40px 0 16px; }
body.drks-info .dr-copy-prose p { margin-bottom:22px; }
body.drks-info .dr-copy-prose a:not(.button) { color:var(--drks-accent); text-underline-offset:4px; overflow-wrap:anywhere; }
body.drks-info .dr-copy-prose ul { margin:20px 0 28px; padding-left:22px; }
body.drks-info .dr-copy-prose li { padding-left:4px; margin-bottom:12px; }
body.drks-info .dr-copy-prose li::marker { content:'✓  '; color:var(--drks-accent); }
body.drks-info.page-id-545 .entry-content>.wp-block-uagb-container:not(:first-child) { padding:52px 30px 0; }
body.drks-info.page-id-545 .entry-content>.wp-block-uagb-container:last-child { padding-bottom:64px; }
body.drks-info.page-id-545 :is(.uagb-block-42e70927,.uagb-block-fae397d4)::before { background-image:none; }
body.drks-info.page-id-545 .entry-content>.wp-block-uagb-container:not(:first-child)>.uagb-container-inner-blocks-wrap { max-width:1120px; }
body.drks-info.page-id-545 .wp-block-uagb-image img { border-radius:18px; }
body.drks-info .uagb-icon-list__source-wrap { align-self:flex-start; padding-top:2px; color:var(--drks-accent); }
body.drks-info .uagb-icon-list__source-wrap svg { display:none; }
body.drks-info .uagb-icon-list__source-wrap::before { content:'✓'; font-size:17px; font-weight:600; }

/* Restore readable button text where Astra's generic uppercase style leaked in. */
body.drk-site-design :is(.drb-root .drb-button,.drq-root .drq-button,.drkl-page .drkl-buy-button,.dr-copy-prose .button,.drkp-purchase .drkp-buy-button,.woocommerce-cart-form .button,.wc-proceed-to-checkout .button,.woocommerce-message .button,.woocommerce-form-login .button,.woocommerce-form-register .button,.woocommerce-ResetPassword .button,.drka-actions button) {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px;
  padding:13px 22px; border-radius:8px; font-family:Montserrat,sans-serif; font-size:14px; line-height:1.5;
  font-weight:500; text-transform:none; letter-spacing:normal; white-space:normal; text-align:center;
}
body.drk-site-design :is(.drb-root .drb-button,.drkl-page .drkl-buy-button,.dr-copy-prose .button) { background:var(--drks-accent); color:#fff; border:1px solid var(--drks-accent); text-decoration:none; }
body.drk-site-design :is(.drb-root .drb-button,.drkl-page .drkl-buy-button,.dr-copy-prose .button):hover { background:#116776; border-color:#116776; }
body.drk-site-design .drka-settings button { text-transform:none; letter-spacing:normal; font-family:Cabin,sans-serif; min-height:44px; }
body.drk-site-design .drka-banner { font-family:Cabin,sans-serif; border-color:var(--drks-line); background:#f5faf9; color:var(--drks-ink); }
body.drk-site-design .drka-banner a { color:var(--drks-accent); }
body.drk-site-design .drka-actions button { padding:10px 12px; border-color:#a1bfc0; color:var(--drks-ink); background:#fff; }
body.drk-site-design .drka-actions button:hover { background:var(--drks-soft); }

/* Bring the older ad landing templates in line with the night landing. */
body.drk-site-design .drkl-page :is(h1,h2,h3) { color:var(--drks-ink); text-transform:none; letter-spacing:normal; text-wrap:balance; }
body.drk-site-design .drkl-page h1 { font-size:clamp(32px,4vw,56px); line-height:1.16; font-weight:500; }
body.drk-site-design .drkl-page h2 { font-size:clamp(26px,2.5vw,36px); line-height:1.3; }
body.drk-site-design .drkl-page h3 { font-size:22px; line-height:1.4; }
body.drk-site-design .drkl-page .drkl-benefits { margin-inline:auto; }
body.drk-site-design .drkl-eyebrow { color:var(--drks-accent); }

/* Login and recovery keep WooCommerce semantics and comfortable touch targets. */
body.drk-site-design.woocommerce-account .site-content>.ast-container { max-width:1120px; padding-inline:28px; }
body.drk-site-design.woocommerce-account #primary { margin-block:40px 64px; }
body.drk-site-design.woocommerce-account :is(.entry-title,.woocommerce h2) { text-transform:none; color:var(--drks-ink); line-height:1.3; font-weight:500; }
body.drk-site-design.woocommerce-account .entry-title { font-size:clamp(28px,3vw,38px); margin-bottom:24px; }
body.drk-site-design.woocommerce-account .woocommerce h2 { font-size:24px; }
body.drk-site-design.woocommerce-account .woocommerce>h2,
body.drk-site-design.woocommerce-account .woocommerce>.woocommerce-form-login,
body.drk-site-design.woocommerce-account .woocommerce>.woocommerce-ResetPassword { max-width:620px; margin-inline:auto; }
body.drk-site-design.woocommerce-account form:is(.login,.register,.woocommerce-ResetPassword) { padding:28px; border:1px solid var(--drks-line); border-radius:16px; background:#fff; }
body.drk-site-design.woocommerce-account .woocommerce form .form-row label { margin-bottom:7px; line-height:1.5; color:var(--drks-ink); }
body.drk-site-design.woocommerce-account .woocommerce form .input-text { min-height:48px; border:1px solid #9bb9be; border-radius:8px; padding:11px 12px; background:#fff; font-size:16px; }
body.drk-site-design.woocommerce-account .woocommerce form .form-row { margin-bottom:18px; }
/* WooCommerce adds translate while the older layout already uses transform. */
body.drk-site-design .woocommerce .show-password-input { translate:none; margin:0; bottom:auto; }
body.drk-site-design .woocommerce .password-input input { padding-right:48px; }
body.drk-site-design.woocommerce-account .woocommerce-LostPassword a { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px; }
body.drk-site-design.woocommerce-cart .entry-title { font-size:clamp(28px,3vw,38px); text-transform:none; color:var(--drks-ink); }
body.drk-site-design.woocommerce-cart :is(.cart_totals h2,.cross-sells>h2) { font-size:26px; text-transform:none; color:var(--drks-ink); }
body.drk-site-design.single-product .related.products>h2 { font-size:28px; text-transform:none; color:var(--drks-ink); }
body.drk-site-design.single-product #tab-description>ul:not(.drk-track-description):not(.drk-checklist) { margin-left:0; padding-left:25px; }
body.drk-site-design.single-product #tab-description>ul:not(.drk-track-description):not(.drk-checklist)>li { padding-left:5px; margin-bottom:10px; }
body.drk-site-design.single-product #tab-description>ul:not(.drk-track-description):not(.drk-checklist)>li::marker { content:'✓  '; color:var(--drks-accent); }
body.drk-site-design.drkco-checkout :is(.entry-title,.woocommerce-billing-fields h3,#order_review_heading) { color:var(--drks-ink); }
body.drk-site-design.woocommerce-cart .shop_table { border-color:var(--drks-line); }
body.drk-site-design.woocommerce-cart .cart_totals { border:1px solid var(--drks-line); border-radius:12px; overflow:hidden; background:#fff; }
body.drk-site-design.woocommerce-cart .cart_totals h2 { background:var(--drks-soft); }
body.drk-site-design.woocommerce-cart .coupon input { border-radius:8px; min-height:48px; font-size:16px; }

@media(max-width:767px) {
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form table.shop_table { border:0; border-spacing:0 16px; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item { position:relative; display:grid; grid-template-columns:76px minmax(0,1fr); gap:14px; padding:20px; margin-bottom:18px; border:1px solid var(--drks-line); border-radius:14px; background:#fff; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>td { min-width:0; padding:0; border:0; background:transparent; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove { position:absolute; top:8px; right:8px; width:44px; height:44px; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove a.remove { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:0; background:transparent; color:#526b70; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-thumbnail { display:block; grid-column:1; grid-row:1; align-self:start; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-thumbnail img { width:76px; height:76px; max-width:100%; border-radius:8px; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-name { grid-column:2; grid-row:1; text-align:left!important; padding-right:30px; line-height:1.6; font-size:15px; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-name a { color:var(--drks-ink); }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item :is(td.product-thumbnail,td.product-name)::before { display:none; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item :is(td.product-price,td.product-quantity,td.product-subtotal) { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; border-top:1px solid #edf1ef; padding-top:12px; text-align:right!important; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-subtotal { font-weight:600; color:var(--drks-ink); }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-quantity .quantity { margin-left:auto; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form td.actions { padding:0; border:0; background:transparent; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form td.actions .coupon { display:grid; grid-template-columns:1fr; gap:10px; }
 body.drk-site-design.woocommerce-cart .woocommerce-cart-form td.actions .coupon :is(input,button) { width:100%; margin:0; }
}

@media(max-width:921px) {
 body.drks-info .entry-content>.wp-block-uagb-container:first-child { padding:128px 24px 52px; }
 body.drks-info.page-id-545 .entry-content>.wp-block-uagb-container:not(:first-child) { padding-inline:24px; }
}
@media(min-width:922px) and (max-width:1180px) {
 body.drk-site-design #ast-desktop-header .main-header-menu>.menu-item>.menu-link { padding-inline:7px; font-size:12px; }
}
@media(max-width:600px) {
 body.drks-info .entry-content>.wp-block-uagb-container:first-child { padding:112px 20px 40px; }
 body.drks-info .entry-content h1.uagb-heading-text { font-size:30px; line-height:1.25; }
 body.drks-info .dr-copy-prose { padding:30px 20px 44px!important; font-size:16px; }
 body.drks-info .dr-copy-prose>p:first-child { font-size:17px; }
 body.drks-info .dr-copy-prose h2 { margin-top:30px; }
 body.drks-info.page-id-545 .entry-content>.wp-block-uagb-container:not(:first-child) { padding:32px 20px 0; }
 body.drks-info.page-id-545 .entry-content>.wp-block-uagb-container:last-child { padding-bottom:40px; }
 body.drk-site-design.woocommerce-account .site-content>.ast-container { padding-inline:20px; }
 body.drk-site-design.woocommerce-account #primary { margin-block:26px 40px; }
 body.drk-site-design.woocommerce-account form:is(.login,.register,.woocommerce-ResetPassword) { padding:20px; }
 body.drk-site-design .drkl-page h3 { font-size:20px; }
 body.drk-site-design.drkvd-page #content>.ast-container { padding-inline:20px!important; }
}

/* Quiz results use the same calm hierarchy as their product pages. */
body.drk-site-design .drq-root :is(h1,h2,h3) { text-transform:none; color:var(--drks-ink); letter-spacing:normal; }
body.drk-site-design .drq-root .drq-card-title { font-size:22px; line-height:1.4; }
body.drk-site-design .drq-root .drq-group-title { font-size:21px; line-height:1.4; }
body.drk-site-design .drq-root .drq-product-image { object-fit:contain; }
body.drk-site-design .return-to-shop .button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; font-size:14px; line-height:1.5; letter-spacing:normal; text-transform:none; border-radius:8px; }
