/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


 /* Star Rating Styling */
.star-rating-custom {
    direction: rtl;
    display: inline-flex;
    font-size: 2rem;
  }
  
  .star-rating-custom input[type="radio"] {
    display: none;
  }
  
  .star-rating-custom label {
    color: #ddd;
    cursor: pointer;
    padding: 0 2px;
    margin-top: -12px !important;
  }

  .star-rating-custom label:last-of-type {
    padding-left: 0;
  }
  
  .star-rating-custom label:before {
    content: '\2605'; /* Unicode star symbol */
    font-size: 36px;
  }
  
  .star-rating-custom input:checked ~ label {
    color: #FDA256;
  }
  
  .star-rating-custom label:hover,
  .star-rating-custom label:hover ~ label {
    color: #FDA256;
  }
  
  .star-rating-custom input:checked + label:hover,
  .star-rating-custom input:checked + label:hover ~ label,
  .star-rating-custom input:checked ~ label:hover,
  .star-rating-custom input:checked ~ label:hover ~ label {
    color: #FDA256;
  }

  .star-ratings label {
    font-size: 16px;
    margin: 0;
    display: block;
  }
  
  /* Algemene foutmelding bovenaan het formulier */
.general-error {
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Foutmelding bij specifieke velden */
.field-error {
  color: red;
  margin-top: 5px;
  font-size: 0.9em;
}

.gfy-review-description {
  margin-top: 25px;
}

.woocommerce-Reviews .ct-review-votes [data-count="0"] {
  display: none !important;
}

.gfy-meta-reviews {
  display: flex;
  flex-direction: row-reverse;
  margin-top: 25px;
  border-top: 1px dashed var(--theme-border-color);
  padding-top: 12px;
}

.gfy-meta-reviews .ct-review-votes {
  padding-top: 0 !important;
  margin-top: 0 !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  border: none !important;
}

.gfy-meta-reviews .meta {
  width: 100%;
  margin-bottom: 0;
}

/* Registration form */
.gfy-registration-form {
  @media screen and (min-width: 1024px) {
    max-width: 65%;
    margin: 0 auto;
  }
  /* min-width: 360px; */
}

.gfy-registration-form .form-row {
  margin-bottom: 32px;
}

.gfy-registration-form .form-row label {
  font-weight: 600;
}

.gfy-registration-form .gfy-reg-block-two {
  display: flex;
}

.gfy-registration-form .gfy-reg-block-two .form-row {
  width: 50%;
}

.gfy-registration-form .gfy-reg-block-two .form-row:first-of-type {
  margin-right: 20px;
}

.gfy-reg-form-option-fields .gfy-reg-form-option-input {
  @media screen and (min-width: 1024px) {
    flex: 1 1 calc(50% - 10px);
  }
}

.gfy-reg-form-option-fields {
  @media screen and (min-width: 1024px) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
}

.gfy-link-to-reviews {
  padding-bottom: 20px;
}

.star-rating:not(.comment_container .star-rating),
.wc-block-components-product-rating-stars__stars:not(.comment_container .wc-block-components-product-rating-stars__stars),
.wc-block-rating-filter .wc-block-components-product-rating__stars:not(.comment_container .wc-block-rating-filter .wc-block-components-product-rating__stars),
.wc-block-grid__product-rating .wc-block-grid__product-rating__stars:not(.comment_container .wc-block-grid__product-rating .wc-block-grid__product-rating__stars),
.has-rating .wc-block-components-review-list-item__rating > .wc-block-components-review-list-item__rating__stars:not(.comment_container .has-rating .wc-block-components-review-list-item__rating > .wc-block-components-review-list-item__rating__stars) {
  font-size: 1.5em;
}

.gdpr-confirm-policy {
  display: flex;
  justify-content: end;
}

.gdpr-confirm-policy label {
  color: white;
}

.gdpr-confirm-policy label a {
  color: white;
}

.newsletter-sidebar .gdpr-confirm-policy {
  justify-content: start;
}

.ct-posts-block .wp-post-image {
  max-height: 200px !important;
}

.ct-footer .ct-widget:not(:first-child) {
  margin-top: var(--widgets-gap, 16px) !important;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a, [data-header*="type-1"] .ct-header [data-id="menu-tertiary"] > ul > li > a {
  --theme-text-transform: none !important;
}

.comment-form {
  grid-row-gap: 0.5em !important;
}

.woocommerce-Reviews #commentform .gdpr-confirm-policy {
  justify-content: start;
  padding: 12px 0;
}

.woocommerce-Reviews #commentform .gdpr-confirm-policy label {
  color: black;
}

.woocommerce-Reviews #commentform .gdpr-confirm-policy label a {
  color: black;
}

.product .woocommerce-tabs {
  padding-top: 40px !important;

  @media screen and (min-width: 1024px) {
    padding-top: 80px !important;
  }
}

.product-title--mobile {   
  .entry-title {
      font-size: 32px;
      margin-bottom: 10px;
  } 

  @media (min-width: 1024px) {
      display: none;
  }
}

.product .summary .product_title {
  display: none;
  @media (min-width: 1024px) {
      display: block;
  }
}

@media (max-width: 1024px) {
  .ct-search-box #ajaxsearchpro1_2, div.asp_m.asp_m_1 {
    border: 2px solid white;
  }

  .ct-search-box div.asp_m.asp_m_1 .probox .proinput input.orig::placeholder {
    color: white;
  }

  .ct-search-box #ajaxsearchpro1_2 .probox .promagnifier .innericon svg, div.asp_m.asp_m_1 .probox .promagnifier .innericon svg {
    fill: white;
  }

  .ct-search-box #ajaxsearchpro1_2 .probox .proinput input.orig, div.asp_m.asp_m_1 .probox .proinput input.orig {
    color: white;
  }
}

.mobile-menu .ct-icon {
  fill: rgb(255, 255, 255, 0.8) !important;
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-excerpt {
  display: none;
  @media (min-width: 1024px) {
      display: block;
  }
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-title {
  padding-bottom: 8px;
  display: block;
  font-weight: bold;
}

.ff-message-success {
  border: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  border-radius: 20px;
  background-color: var(--theme-palette-color-1);
  padding: 40px 40px !important;
  color: var(--theme-palette-color-2);
  text-align: center;
}

.ff-message-success p {
  margin-block-end: 0;
}

#fluentform_2_errors {
  border: 1px solid red !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  border-radius: 20px;
  background-color: var(--theme-palette-color-5);
  padding: 40px 40px !important;
  color: var(--theme-palette-color-1);
  text-align: center;
}

#fluentform_2_errors p {
  margin-block-end: 0;
}

.ct-woocommerce-wishlist-table .wishlist-product-actions {
  display: none;
}

a.skip-link {
  clip: rect(1px,1px,1px,1px);
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  overflow-wrap: normal !important;
  padding: 0;
  position: absolute !important;
  width: 1px;
}

/* General styles for the options */
.gfy-reg-interest-fields {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for rows */
  gap: 10px; /* Add space between items */
}

/* Each input container styling */
.gfy-reg-interest-option {
  flex: 1 1 calc(50% - 10px); /* 50% width on tablet and larger */
  display: flex;
  align-items: center;
}
.gfy-reg-interest-option input {
  margin-right: 6px;
}

/* Mobile (1 row per item) */
@media (max-width: 768px) {
  .gfy-reg-interest-option {
      flex: 1 1 100%; /* Full width on small screens */
  }
}

.gfy-reg-interest-option.option-full-width {
  flex: 1 1 100%; /* Full width always */
}

/* Display none for the "Anders" text field */
#other-text-container {
  width: 100%;
  display: none;
}

.gfy-brands-filter .ct-filter-widget {
  flex-direction: column;
}

#menu-footer-menu .ct-menu-link {
  text-transform: none;
}


/* css for review form loader */
#form-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

#form-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: var(--theme-palette-color-1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

textarea {
	--theme-form-field-border-radius: 20px;
}

#footer [data-id="text"] h3 {
	font-size: 17px;
	margin-bottom: 5px;
}

.default-logo, .sticky-logo {
	width: auto;
}

.resdrg div:last-child {
    border-bottom-left-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
}

.ct-newsletter-subscribe-message {
	color: var(--theme-palette-color-1);
}