﻿@media (max-width: 768px) {
  body.wp-theme-blocksy .ct-container,
  body.wp-theme-blocksy .ct-constrained-width {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.home .wp-block-query,
  body.home .wp-block-woocommerce-product-template,
  body.home .wc-block-grid,
  body.home .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products li.product,
  body.woocommerce-shop .woocommerce ul.products li.product,
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product .summary.entry-summary,
  body.single-product .woocommerce div.product form.cart,
  body.single-product .woocommerce div.product .summary .variations_form,
  body.single-product .woocommerce div.product .summary .cart,
  body.page-id-8 .woocommerce-cart-form,
  body.page-id-8 .cart_totals {
    border-radius: var(--gf-radius-inner);
    padding: 16px;
  }

  body.single-product .woocommerce div.product .product_title {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  body.page-id-8 .woocommerce-cart-form .coupon {
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }

  .ct-cart-content .woocommerce-mini-cart__buttons {
    gap: 10px;
  }

  .ct-trending-block {
    padding: 16px;
  }

  body.post-type-archive-product.wp-theme-blocksy .ct-trending-block,
  body.woocommerce-shop.wp-theme-blocksy .ct-trending-block,
  body.tax-product_cat.wp-theme-blocksy .ct-trending-block,
  body.single-product.wp-theme-blocksy .ct-trending-block {
    display: block !important;
  }

  .ct-trending-block [class*="items"],
  .ct-trending-block [class*="slider"],
  .ct-trending-block [class*="products"] {
    min-width: 0;
  }

  .ct-trending-block .ct-trending-block-item {
    border-radius: var(--gf-radius-inner);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    width: 100%;
  }

  .ct-trending-block .ct-trending-block-item-content,
  .ct-trending-block .ct-post-title,
  .ct-trending-block .ct-post-title a {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    width: 100%;
    word-break: normal;
  }

  .ct-trending-block .ct-media-container,
  .ct-trending-block .ct-trending-block-item img,
  .ct-trending-block .ct-media-container img {
    max-width: 100%;
    width: 100%;
  }

  body.post-type-archive-product .woocommerce ul.products,
  body.woocommerce-shop .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products {
    min-width: 0;
  }

  body.post-type-archive-product .woocommerce ul.products li.product,
  body.woocommerce-shop .woocommerce ul.products li.product,
  body.tax-product_cat .woocommerce ul.products li.product {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.post-type-archive-product .woocommerce .woocommerce-loop-product__title,
  body.woocommerce-shop .woocommerce .woocommerce-loop-product__title,
  body.tax-product_cat .woocommerce .woocommerce-loop-product__title {
    overflow-wrap: break-word;
    word-break: normal;
  }

  body.wp-theme-blocksy .ct-footer,
  body.wp-theme-blocksy .site-footer,
  body.wp-theme-blocksy footer {
    font-size: 1rem;
    padding-top: 0;
  }

  body.wp-theme-blocksy .ct-footer [data-row],
  body.wp-theme-blocksy .site-footer [data-row],
  body.wp-theme-blocksy footer [data-row] {
    padding-bottom: 12px;
    padding-top: 12px;
  }

  body.wp-theme-blocksy .ct-footer [data-row] .ct-container,
  body.wp-theme-blocksy .site-footer [data-row] .ct-container,
  body.wp-theme-blocksy footer [data-row] .ct-container {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
  }

  body.wp-theme-blocksy .ct-footer .ct-widget,
  body.wp-theme-blocksy .site-footer .ct-widget {
    max-width: 100%;
  }

  body.wp-theme-blocksy .ct-footer .widget-title,
  body.wp-theme-blocksy .site-footer .widget-title {
    font-size: 1rem;
    margin-bottom: .45rem;
  }

  body.wp-theme-blocksy .ct-footer p,
  body.wp-theme-blocksy .ct-footer li,
  body.wp-theme-blocksy .site-footer p,
  body.wp-theme-blocksy .site-footer li {
    font-size: 1rem;
    line-height: 1.5;
  }

  body.wp-theme-blocksy .ct-footer [class*="social"],
  body.wp-theme-blocksy .site-footer [class*="social"] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  body.page-id-8.wp-theme-blocksy .ct-footer [data-row],
  body.page-id-8.wp-theme-blocksy footer [data-row],
  body.page-id-9.wp-theme-blocksy .ct-footer [data-row],
  body.page-id-9.wp-theme-blocksy footer [data-row] {
    padding-bottom: 8px;
    padding-top: 8px;
  }

  body.page-id-8.wp-theme-blocksy .ct-footer #text-4,
  body.page-id-8.wp-theme-blocksy footer #text-4,
  body.page-id-9.wp-theme-blocksy .ct-footer #text-4,
  body.page-id-9.wp-theme-blocksy footer #text-4 {
    font-size: 1rem;
    text-align: left;
  }

  body.wp-theme-blocksy a.button[href*="/vertrag-widerrufen/"],
  body.wp-theme-blocksy a[href*="/vertrag-widerrufen/"].button,
  body.wp-theme-blocksy .wp-block-button a[href*="/vertrag-widerrufen/"] {
    justify-content: center;
    width: min(100%, 280px);
  }

  body.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-coming-soon .wp-block-group:has(> h1.woocommerce-coming-soon-banner) {
    align-items: flex-start;
    box-sizing: border-box;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-coming-soon h1.woocommerce-coming-soon-banner {
    box-sizing: border-box;
    display: block;
    font-size: clamp(1.35rem, 5.8vw, 1.7rem) !important;
    line-height: 1.16;
    margin-left: 0;
    margin-right: auto;
    max-width: min(342px, calc(100vw - 48px));
    overflow-wrap: anywhere;
    padding-left: 0;
    padding-right: 0;
    white-space: normal;
    width: min(342px, calc(100vw - 48px));
    word-break: normal;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification {
    background: #fffaf4;
    border: 1px solid rgba(88, 53, 31, .42);
    box-shadow: var(--gf-shadow);
    color: #2f241d;
    max-width: calc(100vw - 24px);
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .container {
    box-sizing: border-box;
    gap: 14px;
    padding: 18px;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-cookies-content {
    color: #2f241d;
    font-family: var(--gf-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-cookies-content a {
    color: #58351f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-button-group {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-button {
    border-radius: var(--gf-radius-pill);
    box-sizing: border-box;
    font-family: var(--gf-font);
    font-weight: 700;
    min-height: 44px;
    min-width: 0;
    padding: 10px 16px;
    white-space: normal;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-cookies-accept-button {
    background: #58351f;
    border: 1px solid #58351f;
    color: #fffaf4;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-cookies-decline-button {
    background: #ffffff;
    border: 1px solid #58351f;
    color: #58351f;
  }

  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-button:hover,
  body.wp-child-theme-gluexxfund-blocksy-child .cookie-notification .ct-button:focus-visible {
    outline: 3px solid var(--gf-caramel);
    outline-offset: 2px;
  }
}

