/* ShopBlocks WP 2.3.0
 * Structural styles only. Typography, colors, buttons, links, form controls,
 * and general content presentation inherit from the active WordPress theme.
 */

/* Shared layout safety */
.shopblocks-blog,
.shopblocks-collection {
  min-width: 0;
}
.shopblocks-blog *,
.shopblocks-collection * {
  box-sizing: border-box;
}
.shopblocks-blog img,
.shopblocks-collection img {
  max-width: 100%;
  height: auto;
}

/* Blog structure */
.shopblocks-blog__hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.shopblocks-blog__hero-content,
.shopblocks-blog-hero__inner {
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
}
.shopblocks-blog__layout {
  display: grid;
  grid-template-columns: minmax(0, var(--shopblocks-article-width, 780px)) minmax(240px, var(--shopblocks-sidebar-width, 320px));
  justify-content: center;
  align-items: start;
  gap: var(--shopblocks-layout-gap, 48px);
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
}
.shopblocks-blog__main,
.shopblocks-blog__content,
.shopblocks-blog__sidebar,
.shopblocks-sidebar-block {
  min-width: 0;
}
.shopblocks-sidebar-block:empty {
  display: none;
}

/* Collection structure */
.shopblocks-collection__hero,
.shopblocks-collection__products,
.shopblocks-collection__related-blogs {
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
}
.shopblocks-collection__content {
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  max-width: none;
  margin-inline: auto;
}

/* ShopBlocks single templates call the active theme header and footer directly,
 * so no theme post-container breakout rules are required here. */

/* Product grids */
.shopblocks-product-grid {
  width: 100%;
}
.shopblocks-product-grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 280px));
  justify-content: center;
  gap: var(--shopblocks-product-gap, 28px);
  width: 100%;
  max-width: var(--shopblocks-page-width, 1280px);
  margin-inline: auto;
}
.shopblocks-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}
.shopblocks-product-card__image {
  display: block;
  overflow: hidden;
}
.shopblocks-product-card__image img {
  display: block;
  width: 100%;
  height: auto;
}
.shopblocks-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.shopblocks-product-card__button {
  margin-top: auto;
}

/* Product hero structure */
.shopblocks-product-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--shopblocks-layout-gap, 48px);
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
}
.shopblocks-product-hero__media {
  flex: 1 1 320px;
}
.shopblocks-product-hero__summary {
  flex: 1 1 400px;
  float: none;
  width: auto;
}

/* Related Blog cards */
.shopblocks-blog-cards__inner,
.shopblocks-blog-archive__grid,
.shopblocks-collections__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--shopblocks-layout-gap, 28px);
}
.shopblocks-blog-cards--sidebar .shopblocks-blog-cards__inner {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .shopblocks-blog__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .shopblocks-blog__sidebar {
    position: static;
  }
  .shopblocks-blog-cards__inner,
  .shopblocks-blog-archive__grid,
  .shopblocks-collections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .shopblocks-blog__layout,
  .shopblocks-blog__hero-content,
  .shopblocks-blog-hero__inner,
  .shopblocks-collection__hero,
  .shopblocks-collection__products,
  .shopblocks-collection__related-blogs,
  .shopblocks-collection__content,
  .shopblocks-product-hero__inner {
    width: min(calc(100% - 28px), var(--shopblocks-page-width, 1280px));
  }
  .shopblocks-product-grid__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--shopblocks-product-mobile-gap, 12px);
  }
  .shopblocks-blog-cards__inner,
  .shopblocks-blog-archive__grid,
  .shopblocks-collections__grid {
    grid-template-columns: 1fr;
  }
}

/* ShopBlocks 1.9 page shell: isolate layout while inheriting theme design. */
.shopblocks-page,
.shopblocks-page__inner {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.shopblocks-page__inner {
  margin: 0;
  padding: 0;
}
.shopblocks-collection__article,
.shopblocks-gutenberg-content {
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  max-width: none;
  margin-inline: auto;
}
.shopblocks-gutenberg-content {
  display: block;
}
.shopblocks-gutenberg-content > * {
  max-width: none;
}

/* Related content is an automatic ShopBlocks component. */
.shopblocks-related-content {
  width: min(calc(100% - 40px), 1080px);
  margin: 64px auto;
  padding: 36px;
  background: var(--shopblocks-related-background, var(--shopblocks-color-primary, #1ea5e8));
  border-radius: var(--shopblocks-related-radius, 6px);
}
.shopblocks-related-content__title {
  margin: 0 0 28px;
  color: var(--shopblocks-related-heading-color, #fff);
  text-align: center;
}
.shopblocks-related-content__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.shopblocks-related-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  background: var(--shopblocks-related-card-background, #fff);
}
.shopblocks-related-card__image {
  display: block;
  overflow: hidden;
}
.shopblocks-related-card__image img,
.shopblocks-related-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}
.shopblocks-related-card__placeholder {
  background: rgba(0,0,0,.08);
}
.shopblocks-related-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 8px 6px;
  text-align: center;
}
.shopblocks-related-card__title {
  margin: 0 0 10px;
}
.shopblocks-related-card__title a {
  color: inherit;
}
.shopblocks-related-card__excerpt {
  margin: 0 0 16px;
}
.shopblocks-related-card__button {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 10px 14px;
  background: var(--shopblocks-related-button-background, var(--shopblocks-color-primary, #1ea5e8));
  color: var(--shopblocks-related-button-color, var(--shopblocks-color-button-text, #fff));
  text-align: center;
  text-decoration: none;
}
.shopblocks-related-content--sidebar {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}
.shopblocks-related-content--sidebar .shopblocks-related-content__title {
  color: inherit;
  text-align: left;
}
.shopblocks-related-content--sidebar .shopblocks-related-content__grid {
  grid-template-columns: 1fr;
}

/* Structured FAQs rendered after Collection editor content. */
.shopblocks-faq--automatic {
  width: 100%;
  margin: 64px 0 0;
}
.shopblocks-faq__item {
  border-top: 1px solid currentColor;
}
.shopblocks-faq__item:last-child {
  border-bottom: 1px solid currentColor;
}
.shopblocks-faq__question {
  position: relative;
  display: block;
  padding: 18px 42px 18px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.shopblocks-faq__question::-webkit-details-marker { display: none; }
.shopblocks-faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.shopblocks-faq__item[open] .shopblocks-faq__question::after { content: "−"; }
.shopblocks-faq__answer { padding: 0 42px 18px 0; }
.shopblocks-faq__answer p { margin: 0; }

@media (max-width: 800px) {
  .shopblocks-related-content__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shopblocks-collection__article,
  .shopblocks-gutenberg-content,
  .shopblocks-related-content {
    width: calc(100% - 28px);
  }
  .shopblocks-related-content { padding: 24px 14px; }
}


/* =========================================================
   ShopBlocks 1.10 Blog structure and dedicated sidebar
   Blogs intentionally do not render Collection related-card panels.
   ========================================================= */
.shopblocks-blog__hero {
  isolation: isolate;
  min-height: var(--shopblocks-blog-hero-height, 420px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.shopblocks-blog__hero-media,
.shopblocks-blog__hero-overlay {
  position: absolute;
  inset: 0;
}
.shopblocks-blog__hero-media {
  z-index: -2;
  background-image: var(--shopblocks-blog-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.shopblocks-blog__hero-overlay {
  z-index: -1;
  background: var(--shopblocks-blog-hero-overlay, rgba(4,18,38,.48));
}
.shopblocks-blog__hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
  text-align: center;
}
.shopblocks-blog__hero.has-background .shopblocks-blog__title,
.shopblocks-blog__hero.has-background .shopblocks-blog__meta {
  color: var(--shopblocks-blog-hero-color, #fff);
}
.shopblocks-blog__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .65rem;
}
.shopblocks-blog__layout {
  grid-template-columns: minmax(0, 780px) minmax(240px, 320px);
  grid-template-columns: minmax(0, var(--shopblocks-article-width, 780px)) minmax(240px, var(--shopblocks-sidebar-width, 320px));
  max-width: var(--shopblocks-page-width, 1280px);
  padding-block: var(--shopblocks-blog-layout-padding, 64px);
}
.shopblocks-blog__article,
.shopblocks-blog__main,
.shopblocks-blog__sidebar {
  min-width: 0;
}
.shopblocks-blog__sidebar {
  align-self: start;
}
.shopblocks-sidebar-block + .shopblocks-sidebar-block {
  margin-top: var(--shopblocks-sidebar-block-gap, 32px);
}
.shopblocks-sidebar-block--newsletter .shopblocks-newsletter,
.shopblocks-sidebar-block--products .shopblocks-product-grid,
.shopblocks-sidebar-block--links .shopblocks-helpful-links,
.shopblocks-sidebar-block--custom > * {
  width: 100%;
  margin: 0;
}
.shopblocks-sidebar-products .shopblocks-product-grid__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--shopblocks-sidebar-product-gap, 32px);
  max-width: none;
}
.shopblocks-sidebar-products .shopblocks-product-card {
  max-width: none;
}
.shopblocks-sidebar-products .shopblocks-product-card__image img {
  width: 100%;
}
.shopblocks-sidebar-products .shopblocks-product-card__button {
  display: block;
  width: 100%;
  text-align: center;
}
.shopblocks-helpful-links__title {
  margin-top: 0;
}
.shopblocks-helpful-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shopblocks-helpful-links__list li {
  margin: 0;
  border-bottom: 1px solid currentColor;
}
.shopblocks-helpful-links__list a {
  display: block;
  padding: .9rem 0;
}
.shopblocks-blog .shopblocks-faq--automatic {
  width: 100%;
}
@media (min-width: 901px) {
  .shopblocks-blog__sidebar {
    position: sticky;
    top: var(--shopblocks-sidebar-sticky-offset, 32px);
  }
}
@media (max-width: 900px) {
  .shopblocks-blog__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .shopblocks-blog__sidebar {
    position: static;
    margin-top: var(--shopblocks-sidebar-mobile-gap, 48px);
  }
}
@media (max-width: 600px) {
  .shopblocks-blog__hero {
    min-height: var(--shopblocks-blog-hero-mobile-height, 520px);
  }
  .shopblocks-blog__hero-content {
    width: calc(100% - 28px);
  }
  .shopblocks-blog__meta {
    gap: .45rem;
  }
}


/* =========================================================
   ShopBlocks 2.1 universal editorial + lead-generation layer
   WooCommerce components are optional.
   ========================================================= */
.shopblocks-button,
.shopblocks-sidebar-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--shopblocks-button-radius, 6px);
  text-decoration: none;
}
.shopblocks-button--primary,
.shopblocks-sidebar-cta__button {
  background: var(--shopblocks-color-primary, #1ea5e8);
  color: #fff;
}
.shopblocks-button--secondary {
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}
.shopblocks-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Blog hero can optionally become a conversion split layout. */
.shopblocks-blog__hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--shopblocks-layout-gap, 48px);
  align-items: center;
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
}
.shopblocks-blog__hero-shell .shopblocks-blog__hero-content {
  width: 100%;
  margin: 0;
}
.shopblocks-blog.has-hero-conversion .shopblocks-blog__hero-shell {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}
.shopblocks-blog.has-hero-conversion .shopblocks-blog__hero-content {
  text-align: left;
}
.shopblocks-blog.has-hero-conversion .shopblocks-blog__meta {
  justify-content: flex-start;
}
.shopblocks-blog__eyebrow,
.shopblocks-article__eyebrow {
  margin-bottom: 12px;
  font-size: .8em;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.shopblocks-blog__hero-description,
.shopblocks-article__description {
  max-width: 62ch;
  margin-top: 16px;
}
.shopblocks-blog__hero-conversion,
.shopblocks-article__hero-conversion {
  min-width: 0;
}
.shopblocks-lead-form {
  width: 100%;
}
.shopblocks-lead-form__title {
  margin-top: 0;
}

/* Blog sidebar lead modules. */
.shopblocks-sidebar-cta {
  overflow: hidden;
  background: var(--shopblocks-color-surface, #fff);
  border: 1px solid var(--shopblocks-color-border, #d9dde3);
  border-radius: var(--shopblocks-radius-small, 6px);
}
.shopblocks-sidebar-cta__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.shopblocks-sidebar-cta__body {
  padding: 18px;
}
.shopblocks-sidebar-cta__title {
  margin-top: 0;
}
.shopblocks-sidebar-cta__button {
  width: 100%;
  margin-top: 12px;
}
.shopblocks-blog.has-no-sidebar .shopblocks-blog__layout {
  display: block;
}
.shopblocks-blog.has-no-sidebar .shopblocks-blog__main {
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
}

/* Article / landing article shell. */
.shopblocks-article__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--shopblocks-article-hero-background, var(--shopblocks-color-primary, #1ea5e8));
  color: var(--shopblocks-article-hero-color, #fff);
}
.shopblocks-article__hero-media,
.shopblocks-article__hero-overlay {
  position: absolute;
  inset: 0;
}
.shopblocks-article__hero-media {
  z-index: -2;
  background-image: var(--shopblocks-article-hero-image);
  background-position: center;
  background-size: cover;
}
.shopblocks-article__hero-overlay {
  z-index: -1;
  background: var(--shopblocks-article-hero-overlay, rgba(17, 24, 39, .42));
}
.shopblocks-article__hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--shopblocks-layout-gap, 48px);
  align-items: center;
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
  padding-block: var(--shopblocks-article-hero-padding, 72px);
}
.shopblocks-article.has-hero-conversion .shopblocks-article__hero-shell {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
}
.shopblocks-article__title {
  margin: 0;
}
.shopblocks-article__body {
  width: min(calc(100% - 40px), var(--shopblocks-page-width, 1280px));
  margin-inline: auto;
  padding-block: var(--shopblocks-article-body-padding, 56px 80px);
}
.shopblocks-article__content,
.shopblocks-article__content .shopblocks-gutenberg-content {
  width: 100%;
  max-width: none;
}
.shopblocks-location {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
  gap: var(--shopblocks-layout-gap, 48px);
  align-items: center;
  margin-bottom: 48px;
}
.shopblocks-location__map iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}
.shopblocks-location__title {
  margin-top: 0;
}

@media (max-width: 900px) {
  .shopblocks-blog.has-hero-conversion .shopblocks-blog__hero-shell,
  .shopblocks-article.has-hero-conversion .shopblocks-article__hero-shell,
  .shopblocks-location {
    grid-template-columns: 1fr;
  }
  .shopblocks-blog.has-hero-conversion .shopblocks-blog__hero-content {
    text-align: center;
  }
  .shopblocks-blog.has-hero-conversion .shopblocks-blog__meta,
  .shopblocks-blog.has-hero-conversion .shopblocks-hero-actions {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .shopblocks-blog__hero-shell,
  .shopblocks-article__hero-shell,
  .shopblocks-article__body,
  .shopblocks-blog.has-no-sidebar .shopblocks-blog__main {
    width: calc(100% - 28px);
  }
  .shopblocks-article__hero-shell {
    padding-block: 44px;
  }
  .shopblocks-location__map iframe {
    min-height: 280px;
  }
  .shopblocks-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .shopblocks-button {
    width: 100%;
  }
}

/* =========================================================
   ShopBlocks 2.2 resilient visual defaults
   These rules provide a complete Collection/Blog presentation layer while
   remaining scoped to ShopBlocks. Saved design tokens override the fallbacks.
   ========================================================= */

.shopblocks-collection,
.shopblocks-blog,
.shopblocks-article {
  background: var(--shopblocks-color-background, #fff);
  color: var(--shopblocks-color-text, #1f2933);
  font-family: var(--shopblocks-font-body, inherit);
}

.shopblocks-collection h1,
.shopblocks-collection h2,
.shopblocks-collection h3,
.shopblocks-blog h1,
.shopblocks-blog h2,
.shopblocks-blog h3,
.shopblocks-article h1,
.shopblocks-article h2,
.shopblocks-article h3 {
  font-family: var(--shopblocks-font-heading, inherit);
}

.shopblocks-collection__hero {
  padding: clamp(36px, 6vw, 72px) 0 28px;
  text-align: center;
}
.shopblocks-collection__title {
  max-width: 900px;
  margin: 0 auto 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}
.shopblocks-collection__intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--shopblocks-color-muted, #6b7280);
  font-size: 16px;
  line-height: 1.65;
}
.shopblocks-collection__products {
  padding: 18px 0 56px;
}
.shopblocks-collection__article {
  padding-bottom: 72px;
}
.shopblocks-collection__content,
.shopblocks-blog__content,
.shopblocks-article__content {
  font-size: 16px;
  line-height: 1.7;
}
.shopblocks-collection__content > * + *,
.shopblocks-blog__content > * + *,
.shopblocks-article__content > * + * {
  margin-top: 1.25em;
}
.shopblocks-collection__content h2,
.shopblocks-blog__content h2,
.shopblocks-article__content h2 {
  margin-bottom: .55em;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}
.shopblocks-collection__content h3,
.shopblocks-blog__content h3,
.shopblocks-article__content h3 {
  margin-bottom: .45em;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.35;
}

/* Product cards: reliable layout + CTA styling independent of theme buttons. */
.shopblocks-product-card {
  overflow: hidden;
  min-height: 100%;
  background: var(--shopblocks-color-surface, #fff);
  border: 1px solid var(--shopblocks-color-border, #d9dde3);
  border-radius: var(--shopblocks-radius-small, 6px);
  box-shadow: var(--shopblocks-card-shadow, none);
}
.shopblocks-product-card__image {
  aspect-ratio: 1 / 1;
  background: var(--shopblocks-color-surface, #fff);
}
.shopblocks-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shopblocks-product-card__content {
  padding: 16px;
}
.shopblocks-product-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
}
.shopblocks-product-card__title a {
  color: var(--shopblocks-color-text, #1f2933);
  text-decoration: none;
}
.shopblocks-product-card__price {
  margin: 0 0 14px;
  color: var(--shopblocks-color-muted, #6b7280);
  font-size: 14px;
  line-height: 1.4;
}
.shopblocks-product-card__price del { opacity: .65; }
.shopblocks-product-card__button,
.shopblocks-collection .button,
.shopblocks-blog .shopblocks-sidebar-products .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 16px;
  border: 1px solid var(--shopblocks-color-primary, #1ea5e8);
  border-radius: var(--shopblocks-button-radius, 6px);
  background: var(--shopblocks-color-primary, #1ea5e8);
  color: var(--shopblocks-color-button-text, #fff);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.shopblocks-product-card__button:hover,
.shopblocks-product-card__button:focus-visible,
.shopblocks-collection .button:hover,
.shopblocks-blog .shopblocks-sidebar-products .button:hover {
  color: var(--shopblocks-color-button-text, #fff);
  opacity: .88;
}
.shopblocks-product-card__button:focus-visible,
.shopblocks-button:focus-visible,
.shopblocks-sidebar-cta__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Keep fewer-than-four Collection products centered. */
.shopblocks-collection__products .shopblocks-product-grid__inner {
  grid-template-columns: repeat(auto-fit, minmax(210px, 250px));
  justify-content: center;
  gap: 28px 22px;
  max-width: 1100px;
}

/* Standalone/legacy shoppable hero. */
.shopblocks-product-hero {
  padding: 48px 0;
  background: var(--shopblocks-color-background, #fff);
  color: var(--shopblocks-color-text, #1f2933);
}
.shopblocks-product-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--shopblocks-radius-small, 6px);
}
.shopblocks-product-hero__summary .button,
.shopblocks-product-hero__summary button {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--shopblocks-color-primary, #1ea5e8);
  border-radius: var(--shopblocks-button-radius, 6px);
  background: var(--shopblocks-color-primary, #1ea5e8);
  color: var(--shopblocks-color-button-text, #fff);
}

/* Blog template defaults. */
.shopblocks-blog__hero {
  padding: 54px 0;
  background: var(--shopblocks-color-surface, #fff);
  color: var(--shopblocks-color-text, #1f2933);
}
.shopblocks-blog__hero.has-no-background {
  min-height: 0;
}
.shopblocks-blog__hero.has-no-background .shopblocks-blog__hero-overlay {
  display: none;
}
.shopblocks-blog__hero.has-no-background .shopblocks-blog__title,
.shopblocks-blog__hero.has-no-background .shopblocks-blog__meta {
  color: var(--shopblocks-color-text, #1f2933);
}
.shopblocks-blog__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
}
.shopblocks-blog__meta {
  margin-top: 16px;
  color: var(--shopblocks-color-muted, #6b7280);
  font-size: 14px;
}
.shopblocks-blog__layout {
  padding-block: 56px 76px;
}
.shopblocks-blog__article {
  width: 100%;
}
.shopblocks-blog__sidebar {
  color: var(--shopblocks-color-text, #1f2933);
}
.shopblocks-sidebar-block {
  overflow: hidden;
  padding: 20px;
  background: var(--shopblocks-color-surface, #fff);
  border: 1px solid var(--shopblocks-color-border, #d9dde3);
  border-radius: var(--shopblocks-radius-small, 6px);
  box-shadow: var(--shopblocks-card-shadow, none);
}
.shopblocks-sidebar-block--products {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.shopblocks-sidebar-block--products .shopblocks-product-card + .shopblocks-product-card {
  margin-top: 24px;
}
.shopblocks-newsletter {
  width: 100%;
}
.shopblocks-newsletter__title,
.shopblocks-helpful-links__title,
.shopblocks-lead-form__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}
.shopblocks-newsletter__description {
  margin: 0 0 16px;
  color: var(--shopblocks-color-muted, #6b7280);
}
.shopblocks-helpful-links__list li {
  border-color: var(--shopblocks-color-border, #d9dde3);
}
.shopblocks-helpful-links__list a {
  color: var(--shopblocks-color-text, #1f2933);
  text-decoration: none;
}
.shopblocks-helpful-links__list a:hover {
  color: var(--shopblocks-color-primary, #1ea5e8);
}
.shopblocks-button--primary,
.shopblocks-sidebar-cta__button {
  border: 1px solid var(--shopblocks-color-primary, #1ea5e8);
  background: var(--shopblocks-color-primary, #1ea5e8);
  color: var(--shopblocks-color-button-text, #fff);
  font-weight: 600;
}
.shopblocks-button--primary:hover,
.shopblocks-sidebar-cta__button:hover {
  color: var(--shopblocks-color-button-text, #fff);
  opacity: .88;
}

/* FAQ defaults within ShopBlocks only. */
.shopblocks-faq__title {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 30px);
}
.shopblocks-faq__item {
  border-color: var(--shopblocks-color-border, #d9dde3);
}
.shopblocks-faq__question {
  color: var(--shopblocks-color-text, #1f2933);
}
.shopblocks-faq__answer {
  color: var(--shopblocks-color-muted, #6b7280);
}

@media (max-width: 640px) {
  .shopblocks-collection__hero {
    padding-top: 34px;
  }
  .shopblocks-collection__products .shopblocks-product-grid__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }
  .shopblocks-product-card__content {
    padding: 10px;
  }
  .shopblocks-product-card__title {
    font-size: 13px;
  }
  .shopblocks-product-card__price {
    font-size: 12px;
  }
  .shopblocks-product-card__button,
  .shopblocks-collection .button,
  .shopblocks-blog .shopblocks-sidebar-products .button {
    min-height: 36px;
    padding: 8px 7px;
    font-size: 11px;
  }
  .shopblocks-blog__hero {
    padding: 38px 0;
  }
  .shopblocks-blog__layout {
    padding-block: 38px 52px;
  }
  .shopblocks-sidebar-block {
    padding: 16px;
  }
}

/* =========================================================
   BLOG HERO CENTERING — structural default
   ========================================================= */
.shopblocks-blog:not(.has-hero-conversion) .shopblocks-blog__hero-content {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  justify-self: center;
  text-align: center;
}

.shopblocks-blog:not(.has-hero-conversion) .shopblocks-blog__hero .shopblocks-blog__title {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.shopblocks-blog:not(.has-hero-conversion) .shopblocks-blog__hero .shopblocks-blog__meta {
  width: 100%;
  justify-content: center;
  text-align: center;
}
