.sentidrive-cta {
  box-sizing: border-box;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sentidrive-cta:hover:not(.is-disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sentidrive-cta:active:not(.is-disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sentidrive-cta.is-disabled {
  pointer-events: none;
}

.sentidrive-cta.is-underlined {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.sentidrive-cta-icon {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
}

.sentidrive-cta-custom-icon {
  max-width: 16px;
  max-height: 16px;
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
  .sentidrive-cta {
    width: 100% !important;
    max-width: 200px;
  }
}

/* Separator Block */
.sentidrive-separator {
  box-sizing: border-box;
  display: block;
  margin: 20px auto;
}

.sentidrive-separator.is-horizontal {
  width: var(--separator-desktop-width, 104px);
  height: 0;
  border-top: var(--separator-border-width, 1px) solid
    var(--separator-border-color, #e0e5eb);
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.sentidrive-separator.is-vertical {
  width: 0;
  height: var(--separator-desktop-width, 104px);
  border-left: var(--separator-border-width, 1px) solid
    var(--separator-border-color, #e0e5eb);
  border-top: none;
  border-right: none;
  border-bottom: none;
  margin: 20px auto;
}

@media (max-width: 768px) {
  .sentidrive-separator.is-responsive.is-horizontal {
    width: var(--separator-mobile-width, 370px);
  }

  .sentidrive-separator.is-responsive.is-vertical {
    width: var(--separator-mobile-width, 370px);
    height: 0;
    border-left: none;
    border-top: var(--separator-border-width, 1px) solid
      var(--separator-border-color, #e0e5eb);
  }
}

/* Social Icon Block */
.sentidrive-social-icon {
  transition: all 0.3s ease;
}

.sentidrive-social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Carousel Block */
.sentidrive-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  margin: 20px auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: calc(100% - 50px);
  overflow: hidden;
}

.carousel-slides {
  flex: 1;
  position: relative;
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--carousel-gap, 18px);
  height: 100%;
  box-sizing: border-box;
}

.carousel-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  height: 40px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #4051ff;
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.carousel-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-arrow svg {
  color: #666;
}

/* Editor styles */
.sentidrive-carousel-editor {
  position: relative;
  border: 2px dashed #e0e0e0;
}

.carousel-container-editor {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-content-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: calc(100% - 50px);
  overflow: hidden;
}

.carousel-slides-editor {
  flex: 1;
  overflow: hidden;
}

.carousel-navigation-editor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  height: 40px;
}

.carousel-indicators-editor {
  display: flex;
  justify-content: center;
}

.carousel-dots-editor {
  display: flex;
  gap: 8px;
}

/* Media Query Wrapper Block */
.media-query-wrapper {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Features Showcase Block */
.sentidrive-features-showcase {
  padding: 80px 0;
  background: #f8f9fa;
}

.features-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-showcase-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.showcase-phone-image {
  max-width: 100%;
  max-height: 600px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.showcase-phone-image.active {
  opacity: 1;
  position: relative;
}

.features-showcase-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 100vw;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #1c3457;
  border-radius: 16px;
  cursor: pointer;
}

.feature-card:hover {
  border-color: #4051ff;
}

.feature-card:active,
.feature-card.is-selected {
  border-color: #4051ff;
  border-left-width: 5px;
}

/* Individual icon colors based on feature type */
.feature-card[data-feature-index="0"] .feature-icon {
  background: linear-gradient(135deg, #4051ff 0%, #3041e0 100%);
  color: white;
}

.feature-card[data-feature-index="1"] .feature-icon {
  background: linear-gradient(135deg, #ff6c40 0%, #e55a30 100%);
  color: white;
}

.feature-card[data-feature-index="2"] .feature-icon {
  background: linear-gradient(135deg, #c5fc45 0%, #a8d639 100%);
  color: #212529;
}

.feature-card[data-feature-index="3"] .feature-icon {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
}

.feature-card[data-feature-index="4"] .feature-icon {
  background: linear-gradient(135deg, #ff335a 0%, #e02749 100%);
  color: white;
}

.feature-card[data-feature-index="5"] .feature-icon {
  background: linear-gradient(135deg, #031633 0%, #212529 100%);
  color: white;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin: 0 0 8px 0;
  line-height: 1.4;
  font-family: "Barlow", sans-serif;
}

.feature-description {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
  font-family: "Barlow", sans-serif;
}

.features-carousel-navigation {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.features-cta {
  display: flex;
  justify-content: center;
}

.features-cta-button {
  background: linear-gradient(135deg, #4051ff 0%, #3041e0 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: "Barlow", sans-serif;
  box-shadow: 0 8px 24px rgba(64, 81, 255, 0.2);
}

.features-cta-button:hover {
  background: linear-gradient(135deg, #3041e0 0%, #2435c7 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(64, 81, 255, 0.4);
}

/* Mobile Styles - Transform to Carousel */
@media (max-width: 782px) {
  .sentidrive-features-showcase {
    padding: 40px 0;
  }

  .features-showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  .features-showcase-content {
    overflow: hidden;
    width: calc(100vw - 40px);
  }

  .features-showcase-image {
    order: -1;
  }

  .showcase-phone-image {
    max-height: 400px;
    border-radius: 16px;
  }

  .features-grid {
    display: flex;
    overflow: hidden;
    position: relative;
    scroll-behavior: smooth;
    width: calc(6 * (100vw - 40px)); /* Width for all 6 cards */
    transition: transform 0.3s ease;
  }

  .feature-card {
    width: calc(100vw - 60px);
    min-width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    flex-shrink: 0;
    margin-right: 0;
    transition: transform 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
  }

  .feature-card:not(:last-child) {
    margin-right: 0;
  }

  .feature-card:last-child {
    margin-right: 0;
  }

  .features-carousel-navigation {
    display: flex;
    margin-top: 32px;
  }

  .carousel-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
  }

  .carousel-arrow:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
  }

  .carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }

  .carousel-arrow svg {
    color: #666;
  }

  .carousel-indicators {
    display: flex;
    justify-content: center;
  }

  .carousel-dots {
    display: flex;
    gap: 8px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .carousel-dot.active {
    background-color: #4051ff;
  }
}

/* Editor Styles */
.sentidrive-features-showcase.editor-view .features-showcase-container {
  border: 2px dashed #e0e0e0;
  padding: 20px;
  border-radius: 8px;
}

.sentidrive-features-showcase.editor-view .image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  background: #f8f9fa;
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  color: #6c757d;
}

.sentidrive-features-showcase.editor-view .feature-card.editor-card {
  border: 1px solid #ddd;
  background: #f9f9f9;
}

.sentidrive-features-showcase.editor-view .feature-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.sentidrive-features-showcase.editor-view .feature-preview {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sentidrive-features-showcase.editor-view .add-feature-button {
  margin-top: 20px;
  align-self: flex-start;
}

.sentidrive-product-summary-list ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}

.sentidrive-product-summary-list ul li::before, 
.sentidrive-product-summary-list ul.positive li::before {
  background: url("/wp-content/themes/sentidrive/assets/images/check_circle_green.png")
    no-repeat 50% 50% / contain;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  content: " ";
}

.sentidrive-product-summary-list ul.negative li::before {
  background: url("/wp-content/themes/sentidrive/assets/images/check_circle_green.png")
    no-repeat 50% 50% / contain;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  content: " ";
}

.sentidrive-product-summary-list ul li {
  display: block;
}

/* Sticky price bar */

.sticky-product-price {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  z-index: 100;
}

/* Override default styles */
.wc-block-components-product-image {
  border-radius: 16px;
  border: 1px solid #12213e;
  overflow: hidden;
}

.wc-block-product-gallery-thumbnails__thumbnail {
  border-radius: 16px;
  border: 1px solid #12213e;
  overflow: hidden;
}

.wc-block-product-gallery-thumbnails__scrollable {
  gap: 10px;
  padding: 5px;
  box-sizing: border-box;
}

.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pills {
  gap: 12px;
}

.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill {
  border: 1px solid #12213e;
  color: #12213e;
  background: white;
  transition: all 0.3s ease;
  padding: 16px;
  border-radius: 16px;
  outline: none;
  box-sizing: border-box;
}

.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill::before {
  content: " ";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  border: 1px solid #12213e;
  border-radius: 100%;
}

.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill--selected,
.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill:has(
    .wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:checked
  ) {
  color: #4051ff;
  border-color: #4051ff;
  border-width: 2px;
  padding: 15px;
}

.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill--selected,
.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill:has(
    .wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:checked
  )::before {
  background-color: #4051ff;
  border-color: #4051ff;
}

/* Product filter checkbox list - same style as variation pills */

/* container */
.wc-block-product-filter-checkbox-list__item {
    display: flex;
}

.wc-block-product-filter-checkbox-list__item .wc-block-product-filter-checkbox-list__label {
  display: inline-flex;
  margin: 4px;
  border: 1px solid #12213e;
  color: #12213e;
  background: white;
  transition: all 0.3s ease;
  padding: 16px;
  border-radius: 16px;
  outline: none;
  box-sizing: border-box;
}

/* label */


/* label - selected state */
.wc-block-product-filter-checkbox-list__item .wc-block-product-filter-checkbox-list__label:has(
    .wc-block-product-filter-checkbox-list__input-wrapper input:checked
  ) {
  color: #4051ff;
  background-color: white;
  border-color: #4051ff;
  border-width: 2px;
  padding: 15px;
}

.wc-block-product-filter-checkbox-list__item .wc-block-product-filter-checkbox-list__label:has(
    .wc-block-product-filter-checkbox-list__input-wrapper input
  )
  .wc-block-product-filter-checkbox-list__input-wrapper::before {
  background-color: white;
  opacity: 1;
  border-color: #12213e;
  /* border-width: 1px; */
  /* border-style: solid; */
  border-radius: 100%;
  display: flex;
  content: "◎";
  align-items: center;
  justify-content: center;
}

.wc-block-product-filter-checkbox-list__item .wc-block-product-filter-checkbox-list__label:has(
    .wc-block-product-filter-checkbox-list__input-wrapper input:checked
  )
  .wc-block-product-filter-checkbox-list__input-wrapper::before {
  background-color: white;
  border-color: #4051ff;
  border-radius: 100%;
  content: "◉";
  color: #4051ff;
  
}

.wc-block-product-filter-checkbox-list__item .wc-block-product-filter-checkbox-list__label:has(
    .wc-block-product-filter-checkbox-list__input-wrapper input:checked
  ) .wc-block-product-filter-checkbox-list__mark {
    display: none;
  }

div.wc-block-add-to-cart-form.wc-block-add-to-cart-form--stepper form.cart div.wc-block-components-quantity-selector.quantity {
    display: none;
}