/* Presentation only. Keep the restored hero, content and purchase handlers intact. */
body.drk-polish {
  --drkpl-ink:#264e53;
  --drkpl-muted:#536b6f;
  --drkpl-line:#dbe7e6;
  --drkpl-soft:#f1f7f6;
}
body.drk-polish :is(.drkh h2,.drkh h3,.drb-root h1,.drb-root h2,.drb-root h3,.drq-root h1,.drq-root h2) { text-wrap:balance; }

/* Show each complete square cover edge to edge, with no side strips or crop. */
body.drk-polish .drkh .drkh-cover { height:auto; aspect-ratio:1; }
body.drk-polish .drkh .drkh-cover img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; margin:0; }
body.drk-polish .drkh .drkh-card { border-color:var(--drkpl-line); box-shadow:0 6px 22px #264e5308; }
body.drk-polish .drkh .drkh-card-body { padding:24px; }
body.drk-polish .drkh .drkh-card-copy { font-size:15px; line-height:1.65; }
body.drk-polish .drkh .drkh-card-bottom { padding-top:16px; }
body.drk-polish .drkh .drkh-card-actions .drkh-button { font-size:13px!important; min-height:48px; }
body.drk-polish .drkh-sample .drkh-sample-caption { font-size:12px; }
body.drk-polish .drkh-sample .drkh-transcript summary { font-size:12px; min-height:36px; display:flex; align-items:center; }
body.drk-polish .drkh .drkh-faq details { padding:4px 0 16px; }

/* Align catalogue metadata beneath titles while letting longer names grow. */
body.drk-polish.drkc-catalog .woocommerce-products-header { margin-bottom:8px; }
body.drk-polish.drkc-catalog .woocommerce-products-header__title { color:var(--drkpl-ink); font-weight:500; margin-bottom:18px; }
body.drk-polish.drkc-catalog .term-description { max-width:900px; }
body.drk-polish.drkc-catalog ul.products li.product .woocommerce-loop-product__title { line-height:1.4; color:var(--drkpl-ink); text-wrap:balance; }
body.drk-polish.drkc-catalog .drkc-card-meta { line-height:1.55; }
body.drk-polish.drkc-catalog .drkc-loop-toolbar { padding-top:16px; border-top:1px solid var(--drkpl-line); }
body.drk-polish.drkc-catalog .drkc-loop-toolbar select { border:1px solid var(--drkpl-line); border-radius:8px; background-color:#fff; padding:10px 30px 10px 12px; }

/* Product introductions share the calm type and colour of the homepage. */
body.drk-polish.single-product .site-content>.ast-container { max-width:1220px; padding-inline:30px; }
body.drk-polish.single-product #primary { margin-top:38px; }
body.drk-polish.single-product div.product .summary .product_title {
  font-size:clamp(25px,2.5vw,32px); line-height:1.3; font-weight:500;
  text-transform:none; letter-spacing:normal; color:var(--drkpl-ink);
  margin:0 0 18px; overflow-wrap:break-word; text-wrap:balance;
}
body.drk-polish.single-product .single-product-category { display:block; font-size:13px; line-height:1.65; margin-bottom:14px; color:var(--drkpl-muted); }
body.drk-polish.single-product .single-product-category a { color:var(--drkpl-muted); text-underline-offset:3px; }
body.drk-polish.single-product div.product .summary .price { font-size:28px; font-weight:500; color:var(--drkpl-ink); margin-bottom:18px; }
body.drk-polish.single-product .woocommerce-product-details__short-description { font-size:16px; line-height:1.75; color:#435b5d; }
body.drk-polish.single-product .woocommerce-product-details__short-description p { margin-bottom:18px; }
body.drk-polish.single-product .woocommerce-product-gallery__wrapper { margin:0; }
body.drk-polish.single-product .woocommerce-product-gallery__image { border-radius:16px; overflow:hidden; border:1px solid var(--drkpl-line); }
body.drk-polish.single-product .woocommerce-product-gallery__image img { display:block; width:100%; height:auto; }
body.drk-polish.single-product div.product .woocommerce-tabs { padding-top:36px; }
body.drk-polish.single-product div.product .woocommerce-tabs ul.tabs { max-width:880px; margin:0 auto 32px; }
body.drk-polish.single-product div.product .woocommerce-tabs .panel { max-width:880px; margin-inline:auto; font-size:16px; line-height:1.8; color:#435b5d; }
body.drk-polish.single-product #tab-description>h2 { font-size:clamp(23px,2.2vw,28px); line-height:1.35; text-transform:none; color:var(--drkpl-ink); margin:38px 0 18px; text-wrap:balance; }
body.drk-polish.single-product #tab-description>p { margin-bottom:22px; }
body.drk-polish.single-product .drk-track-description { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0 32px; padding:0; list-style:none; }
body.drk-polish.single-product .drk-track-description li { position:relative; margin:0; padding:22px 22px 22px 52px; background:#fff; border:1px solid var(--drkpl-line); border-radius:12px; font-size:15px; line-height:1.75; }
body.drk-polish.single-product .drk-track-description li strong { display:inline-block; color:var(--drkpl-ink); font-size:16px; line-height:1.5; margin-bottom:7px; }
@supports (mask-image:url("")) or (-webkit-mask-image:url("")) {
 body.drk-polish.drki-icons.single-product .drk-track-description li::before {
  content:""; position:absolute; top:24px; left:20px; width:20px; height:20px;
  background:#16798d; -webkit-mask:url("../drkukla-icons/assets-fa6/headphones.svg") center/contain no-repeat; mask:url("../drkukla-icons/assets-fa6/headphones.svg") center/contain no-repeat;
 }
}
body.drk-polish.single-product div.product .drkp-purchase { grid-template-columns:minmax(0,1fr) minmax(220px,.7fr); padding:28px; }
body.drk-polish.single-product .drkp-copy h2 { color:var(--drkpl-ink); text-wrap:balance; }

/* Consistent reading rhythm for the existing blog cards, without clipping titles. */
body.drk-polish .drb-story h2 { line-height:1.35; }
body.drk-polish .drb-story .drb-meta { flex-wrap:wrap; gap:8px 12px; }
body.drk-polish .drb-story .drb-read { white-space:nowrap; }
body.drk-polish :is(.drb-filters a,.drkc-formats a,.drkc-topics a):focus-visible { outline:3px solid #16798d; outline-offset:3px; }

@media(min-width:922px) {
 body.drk-polish.single-product #content .ast-woocommerce-container div.product .woocommerce-product-gallery { width:calc(45% - 24px); margin-right:48px; }
 body.drk-polish.single-product #content .ast-woocommerce-container div.product .summary { width:calc(55% - 24px); }
}
/* Share content rows across the three cards, even when live copy changes length. */
@supports (grid-template-rows:subgrid) {
 @media(min-width:901px) {
  body.drk-polish .drkh .drkh-cards { row-gap:0; }
  body.drk-polish .drkh .drkh-card { display:grid; grid-row:span 6; grid-template-rows:subgrid; row-gap:0; }
  body.drk-polish .drkh .drkh-card-body { display:contents; }
  body.drk-polish .drkh .drkh-card .drkh-eyebrow { margin:24px 24px 10px; }
  body.drk-polish .drkh .drkh-card h3 { margin:0 24px 14px; min-height:0; }
  body.drk-polish .drkh .drkh-card-copy { margin:0 24px 18px; min-height:0; }
  body.drk-polish .drkh .drkh-card .drkh-sample { margin:0 24px; align-self:start; }
  body.drk-polish .drkh .drkh-card-bottom { margin:0 24px 24px; padding-top:24px; align-self:end; }
 }
}
@media(min-width:601px) {
 body.drk-polish.drkc-catalog ul.products li.product .woocommerce-loop-product__title { min-height:2.8em; }
}
@media(min-width:541px) and (max-width:900px) {
 body.drk-polish .drkh .drkh-card { grid-template-columns:180px minmax(0,1fr); }
 body.drk-polish .drkh .drkh-cover { align-self:start; }
}
@media(max-width:921px) {
 body.drk-polish.single-product .site-content>.ast-container { padding-inline:22px; }
 body.drk-polish.single-product #content .ast-woocommerce-container div.product .woocommerce-product-gallery { width:min(100%,440px); margin:0 auto 28px; float:none; }
 body.drk-polish.single-product #content .ast-woocommerce-container div.product .summary { width:100%; float:none; }
 body.drk-polish.single-product div.product .drkp-purchase { grid-template-columns:1fr; }
}
@media(max-width:600px) {
 body.drk-polish.single-product .site-content>.ast-container { padding-inline:20px; }
 body.drk-polish.single-product #primary { margin-top:24px; }
 body.drk-polish.single-product #content .ast-woocommerce-container div.product .woocommerce-product-gallery { max-width:300px; margin-bottom:24px; }
 body.drk-polish.single-product .single-product-category { font-size:12px; }
 body.drk-polish.single-product div.product .woocommerce-tabs { padding-top:20px; }
 body.drk-polish.single-product .drk-track-description { grid-template-columns:1fr; gap:12px; }
 body.drk-polish.single-product .drk-track-description li { padding:18px 18px 18px 48px; }
 body.drk-polish.single-product .drk-track-description li::before { top:20px; left:16px; }
 body.drk-polish.single-product div.product .drkp-purchase { padding:20px; }
 body.drk-polish .drkh .drkh-card-body { padding:20px; }
 body.drk-polish .drkh .drkh-card h3 { font-size:21px; }
 body.drk-polish .drkh .drkh-card-actions { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
 body.drk-polish .drkh .drkh-card-actions .drkh-button { font-size:12px!important; }
 body.drk-polish .drkh .drkh-picker>div { padding-left:0; }
 body.drk-polish .drkh .drkh-picker>div::before { position:static; margin-bottom:12px; }
 body.drk-polish .drkh .drkh-picker h2 { font-size:22px; }
}
@media(max-width:360px) {
 body.drk-polish .drkh .drkh-card-body { padding:18px; }
 body.drk-polish .drkh .drkh-card-actions { grid-template-columns:1fr; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 body.drk-polish :is(.drkh-card,.drb-story) { transition:border-color .18s ease,box-shadow .18s ease; }
 body.drk-polish :is(.drkh-card,.drb-story):hover { border-color:#9fbebd; box-shadow:0 8px 26px #264e5310; }
}
