/*!*********************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./scss/main.scss ***!
  \*********************************************************************************************************/
/**
 * S4 Extension Garantie - Styles
 *
 * @author    Section4
 * @copyright 2025 Section4
 */
.s4-extgar-checkbox-container {
  padding: 1.5rem;
  margin: 1rem 0;
  border: 0.5px solid rgba(0, 0, 0, 0.5);
  background-color: transparent;
}

.s4-extgar-checkbox-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.s4-extgar-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  flex: 1;
  margin: 0;
}

.s4-extgar-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.s4-extgar-checkbox:checked + .s4-extgar-checkbox-custom {
  background-color: #1e2d43;
  border-color: #1e2d43;
}
.s4-extgar-checkbox:checked + .s4-extgar-checkbox-custom::after {
  display: block;
}

.s4-extgar-checkbox-custom {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #1e2d43;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.s4-extgar-checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.s4-extgar-checkbox-text {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
}

.s4-extgar-price {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.s4-extgar-info-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}
.s4-extgar-info-icon:hover {
  color: #1e2d43;
}
.s4-extgar-info-icon svg {
  width: 20px;
  height: 20px;
}

.s4-extgar-fidelite-container {
  margin: 1rem 0;
  padding: 1.5rem;
  background-color: #1e2d43;
}

.s4-extgar-fidelite-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.s4-extgar-fidelite-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  color: #fff;
}
.s4-extgar-fidelite-icon svg {
  width: 30px;
  height: 30px;
}

.s4-extgar-fidelite-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 15px;
  color: #fff;
}
.s4-extgar-fidelite-text strong {
  font-weight: 600;
}
.s4-extgar-fidelite-text .s4-extgar-fidelite-link {
  text-decoration: underline;
  color: #fff;
}
.s4-extgar-fidelite-text .s4-extgar-fidelite-link:hover {
  text-decoration: none;
}

.s4-extgar-fidelite-action {
  flex-shrink: 0;
}

.s4-extgar-fidelite-add {
  display: inline-block;
  padding: 0;
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: opacity 0.2s ease;
  cursor: pointer;
}
.s4-extgar-fidelite-add:hover {
  text-decoration: none;
  color: #fff;
}
.s4-extgar-fidelite-add.s4-extgar-added {
  text-decoration: none;
  opacity: 0.8;
}

.cart-item .product-line-grid.s4-extension-garantie-line {
  border: 1px solid rgba(30, 45, 67, 0.13);
  background-color: white;
}
.cart-item .product-line-grid.s4-extension-garantie-line .product-line-grid-left {
  display: flex;
  align-items: center;
  justify-content: end;
}
.cart-item .product-line-grid.s4-extension-garantie-line .product-line-grid-left img {
  max-width: 30px;
}
.cart-item .product-line-grid.s4-extension-garantie-line .product-line-grid-body .product-price {
  margin-bottom: 0;
}

#order-items .order-line .s4-extension-garantie-line {
  border: 1px solid rgba(30, 45, 67, 0.13);
  background-color: white;
  margin-top: 0;
  padding: 15px;
}
#order-items .order-line .s4-extension-garantie-line > .row > div {
  margin-top: 8px;
  margin-bottom: 0;
}
#order-items .order-line .s4-extension-garantie-line > .row > div:first-child {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: end;
}
#order-items .order-line .s4-extension-garantie-line > .row > div:first-child img {
  max-width: 30px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .s4-extgar-checkbox-content {
    flex-wrap: wrap;
  }
  .s4-extgar-checkbox-label {
    width: 100%;
  }
  .s4-extgar-fidelite-content {
    flex-wrap: wrap;
  }
  .s4-extgar-fidelite-text {
    flex: 0 0 calc(100% - 56px);
  }
  .s4-extgar-fidelite-action {
    flex: 0 0 100%;
    margin-top: 0.5rem;
    text-align: right;
  }
}
.s4-extgar-info {
  margin-top: 0.5rem;
}

.s4-extgar-badge-order,
.s4-extgar-badge {
  display: inline-block;
  margin-top: 15px;
  padding: 0.5rem 0.75rem;
  background-color: #f6f8fb;
  color: black;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(30, 45, 67, 0.13);
}

.s4-extgar-qty-locked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 0.375rem 0.5rem;
  background-color: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  cursor: not-allowed;
}
