.dl_stats, .dl_checks, .dl_contact, .dl_benefits, .dl_proof, .dl_delivery {
  --dl-accent: #ED672A;
  --dl-accent-dark: #C9521C;
  --dl-border: #e2e2e2;
  --dl-heading: #1a1a1a;
  --dl-text: #666;
  font-family: inherit;
}

/* ── Stats bar ── */
.dl_stats { list-style: none; margin: 0 0 1em; padding: 6px 0; display: flex; align-items: center; border: 1px solid var(--dl-border); border-radius: 12px; background: #fff; /*max-width: 530px;*/ }
.dl_stats li { display: flex; align-items: center; gap: 10px; flex: 1; padding: 3px 10px; font-size: 13px; color: var(--dl-text); line-height: 1.3; margin: 0 !important; list-style: none; }
.dl_stats li + li { border-left: 1px solid var(--dl-border); }
.dl_stats b { display: block; font-size: 15px; font-weight: 600; color: var(--dl-heading); white-space: nowrap; }
.dl_stats svg { flex-shrink: 0; color: var(--dl-text); }
.cri-wheel { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(#ff0000, #ff8000, #ffff00, #00cc00, #0000ff, #8b00ff, #ff00ff, #ff0000); -webkit-mask: radial-gradient(circle, transparent 8px, black 8.5px); mask: radial-gradient(circle, transparent 8px, black 8.5px); }

@media (max-width: 1200px) {
  .dl_stats { flex-wrap: wrap; }
  .dl_stats li { flex: 1 1 calc(50% - 1px); }
  .dl_stats li:nth-child(odd) { border-left: none; }
  .dl_stats li:nth-child(n+3) { border-top: 1px solid var(--dl-border); }
}
@media (max-width: 800px) {
  .dl_stats li { flex: 1 1 100%; border-left: none; }
  .dl_stats li + li { border-left: none; border-top: 1px solid var(--dl-border); }
}
@media (max-width: 550px) {
  .dl_stats li { flex: 1 1 calc(50% - 1px); border-top: 0; }
  .dl_stats li + li { border-top: 0; }
  .dl_stats li:nth-child(even) { border-left: 1px solid var(--dl-border); }
  .dl_stats li:nth-child(n+3) { border-top: 1px solid var(--dl-border); }
}

/* ── Checkmark list ── */
.dl_checks { list-style: none; margin: 0 0 1em; padding: 0; }
.dl_checks li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 6px !important; list-style: none; line-height: 1.5; }
.dl_checks svg { flex-shrink: 0; width: 14px; height: 14px; margin-top: calc((1.5em - 14px) / 2); color: var(--dl-accent); }
.dl_checks strong, .dl_checks b { font-weight: 600; color: var(--dl-heading); }

/* ── Contact block ── */
.dl_contact { border-top: 1px solid var(--dl-border); padding-top: 16px; margin: 16px 0; }
.dl_contact__title { margin: 0 0 4px !important; font-size: 17px; font-weight: 600; color: var(--dl-heading); line-height: 1.35; }
.dl_contact__text { margin: 0 0 12px !important; font-size: 15px; color: #555; line-height: 1.5; }
.dl_contact__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.dl_contact__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; color: var(--dl-accent); text-decoration: none; }
.dl_contact__links a:hover, .dl_contact__links a:focus { color: var(--dl-accent-dark); text-decoration: underline; }
.dl_contact__links svg { flex-shrink: 0; }
.dl_contact__sep { width: 1px; height: 14px; background: var(--dl-border); }

@media (max-width: 550px) {
  .dl_contact__links { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dl_contact__sep { display: none; }
}

/* ── Benefits box ── */
.dl_benefits { list-style: none; margin: 1em 0; padding: 2px 16px; border: 1px solid var(--dl-border); border-radius: 12px; background: #fff; max-width: 530px; }
.dl_benefits li { display: flex; align-items: center; gap: 14px; padding: 12px 0; margin: 0 !important; list-style: none; font-size: 13px; color: var(--dl-text); line-height: 1.4; }
.dl_benefits li + li { border-top: 1px solid var(--dl-border); }
.dl_benefits svg { flex-shrink: 0; color: var(--dl-accent); }
.dl_benefits b { display: block; font-size: 15px; font-weight: 600; color: var(--dl-heading); }

/* ── Social-proof row under the title ── */
.dl_proof {
  --dl-star: #F5B301;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 0 0 14px; font-size: 14px; line-height: 1.4; color: var(--dl-text);
}
.dl_proof a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.dl_proof a:hover, .dl_proof a:focus { color: var(--dl-heading); }
.dl_proof a:hover > span:last-of-type, .dl_proof a:focus > span:last-of-type { text-decoration: underline; }
.dl_proof svg { flex-shrink: 0; }
.dl_proof__sep { width: 1px; height: 16px; background: var(--dl-border); }

/* stars (partial fill for e.g. 4.7) */
.dl_proof__stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.dl_proof__stars svg { display: inline-block; margin-right: 1px; }
.dl_proof__stars-empty { color: #e2e2e2; }
.dl_proof__stars-full { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--dl-star); }
.dl_proof__rating b { font-weight: 600; color: var(--dl-heading); }

/* quote */
.dl_proof__quote > svg { color: var(--dl-star); }
.dl_proof__quote q { font-style: italic; quotes: "\201C" "\201D"; }
.dl_proof__author { white-space: nowrap; }

/* installations */
.dl_proof__installs > svg:first-child { color: var(--dl-star); }
.dl_proof__arrow { color: var(--dl-accent); transition: transform .2s ease; }
.dl_proof__installs:hover .dl_proof__arrow, .dl_proof__installs:focus .dl_proof__arrow { transform: translateX(3px); }

@media (max-width: 549px) {
  .dl_proof__sep { display: none; }
}

/* ── Delivery time ── */
.dl_delivery {
  --dl-green: #2E9E5B;
  --dl-blue: #2F7FC1;
  margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--dl-text);
}
.dl_delivery p { margin: 0 !important; }
.dl_delivery__main { display: flex; align-items: center; gap: 8px; }
.dl_delivery__main b { font-weight: 600; color: var(--dl-heading); }
.dl_delivery__dot {
  flex-shrink: 0; width: 9px; height: 9px; margin: 0 3px; border-radius: 50%;
  background: var(--dl-green); box-shadow: 0 0 0 3px rgba(46, 158, 91, .18);
}
.dl_delivery__clock { flex-shrink: 0; color: var(--dl-blue); }
.dl_delivery__note { padding-left: 24px; font-size: 13px; } /* lines up with the text above */
.dl_delivery__ask { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--dl-accent); text-decoration: none; white-space: nowrap; }
.dl_delivery__ask svg { transition: transform .2s ease; }
.dl_delivery__ask:hover, .dl_delivery__ask:focus { color: var(--dl-accent-dark); text-decoration: underline; }
.dl_delivery__ask:hover svg, .dl_delivery__ask:focus svg { transform: translateX(3px); }
@media (max-width: 549px) {
  .dl_delivery__ask { white-space: normal; }
}

/* ── Photo info on gallery images ── */
.woocommerce-product-gallery__image { position: relative; }
.dl-photo-info {
  position: absolute; left: 60px; bottom: 12px; z-index: 5; /* clear of Flatsome's zoom icon */
  max-width: min(340px, calc(100% - 72px));
  background: rgba(26, 26, 26, .78);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; border-radius: 6px;
  font-family: inherit; font-size: 13px; line-height: 1.45;
  text-align: left;
}
.dl-photo-info__label {
  display: flex; align-items: center; gap: 8px;
  margin: 0; padding: 6px 10px; min-height: 0;
  background: none; border: 0; border-radius: 6px; box-shadow: none;
  color: inherit; font: inherit; font-weight: 600; text-transform: none; letter-spacing: normal; line-height: inherit;
  text-align: left; cursor: default;
}
button.dl-photo-info__label { cursor: pointer; }
button.dl-photo-info__label:focus-visible { outline: 2px solid var(--dl-accent, #ED672A); outline-offset: 2px; }
.dl-photo-info__more { position: relative; width: 10px; height: 10px; flex-shrink: 0; }
.dl-photo-info__more::before, .dl-photo-info__more::after {
  content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 2px; background: currentColor; transition: transform .25s ease;
}
.dl-photo-info__more::after { transform: rotate(90deg); }
.dl-photo-info__text {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease;
}
.dl-photo-info__text > div { overflow: hidden; padding: 0 10px; font-weight: 400; color: rgba(255,255,255,.88); }
.dl-photo-info__text p { margin: 0 0 .4em; }
.dl-photo-info__text p:last-child { margin: 0; }

.dl-photo-info.is-open .dl-photo-info__text { grid-template-rows: 1fr; }
.dl-photo-info.is-open .dl-photo-info__text > div { padding-bottom: 8px; }
.dl-photo-info.is-open .dl-photo-info__more::after { transform: rotate(0deg); }

@media (hover: hover) {
  .dl-photo-info:hover .dl-photo-info__text { grid-template-rows: 1fr; }
  .dl-photo-info:hover .dl-photo-info__text > div { padding-bottom: 8px; }
  .dl-photo-info:hover .dl-photo-info__more::after { transform: rotate(0deg); }
}

/* ── Installations link under the gallery ── */
.dl-installs {
  display: flex; align-items: center; gap: 14px;
  margin: 16px 0 30px; padding: 12px 16px;
  border: 1px solid #e2e2e2; border-radius: 12px; background: #fff;
  font-family: inherit; font-size: 13px; line-height: 1.4; color: #666;
  text-decoration: none; transition: border-color .2s ease;
}
.dl-installs > svg:first-child { flex-shrink: 0; color: #ED672A; }
.dl-installs span { flex: 1; }
.dl-installs b { display: block; font-size: 15px; font-weight: 600; color: #1a1a1a; }
.dl-installs__arrow { flex-shrink: 0; color: #ED672A; transition: transform .2s ease; }
.dl-installs:hover, .dl-installs:focus { border-color: #ED672A; color: #666; }
.dl-installs:hover .dl-installs__arrow, .dl-installs:focus .dl-installs__arrow { transform: translateX(3px); }

/* ── Main gallery: same 3:4 shape for all photos (lightbox stays full size) ── */
.woocommerce-product-gallery { --dl-main-ratio: 3 / 4; } /* e.g. 1 / 1 for square */
.woocommerce-product-gallery__image > a {
  display: block;
  aspect-ratio: var(--dl-main-ratio);
  overflow: hidden;
}
.woocommerce-product-gallery__image > a img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none;
  object-fit: cover;
  object-position: 50% 0%; /* default focus: centre top */
}

/* ── Thumbnails: same shape for all (portrait photos cropped to fit) ── */
.product-thumbnails { --dl-thumb-ratio: 1 / 1; } /* e.g. 4 / 3 for wider thumbnails */
.product-thumbnails .col a {
  display: block;
  aspect-ratio: var(--dl-thumb-ratio);
  overflow: hidden;
}
.product-thumbnails .col a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%; /* same default focus as the main gallery */
}

/* Never on the small thumbnails */
.product-thumbnails .dl-photo-info,
.flex-control-thumbs .dl-photo-info { display: none !important; }
