/* ================================
   ADMIN - Variant Features Forms
   ================================ */

.maf-variant-features-group {
  background: #f8f9fa;
  border-left: 4px solid #25B9D7;
  padding: 15px;
  margin: 20px 0;
  border-radius: 2px;
}

/* Front-end: Feature Pills - Premium Blue Edition */
.maf-features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: flex-start;
}

.maf-pill {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #24b9d7; /* PrestaShop Blue */
    background: #f0faff;
    border: 1.5px solid #24b9d7;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(36, 185, 215, 0.1);
}

.maf-pill:hover {
    background: #24b9d7;
    color: #ffffff;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 185, 215, 0.3);
}

/* Back-office: Product Form Mapping - Native Integration */
.maf-variant-mapping-container {
    background: #ffffff;
    border-radius: 4px;
}

.maf-variant-mapping-container .form-group.row {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 12px;
}

.maf-variant-mapping-container .form-group.row:last-child {
    border-bottom: none;
}

.maf-variant-mapping-container small.form-text {
    color: #6c868e;
    font-size: 0.85rem;
    font-style: italic;
}

.maf-feature-variant-select {
    border-color: #bbcdd2 !important;
    max-width: 400px;
}

.maf-feature-variant-select:hover {
    border-color: #24b9d7 !important;
}

/* ================================
   FRONT - Miniature Features
   ================================ */

/* Miniature Features */
.maf-miniature-features {
  font-size: 12px;
  color: #6f6f6f;
  margin: 6px 0 8px 0;
  line-height: 1.35;
}

.maf-miniature-feature-item {
  display: inline-block;
}

.maf-miniature-feature-item:not(:last-child)::after {
  content: " • ";
  margin: 0 4px;
}

/* Modal Quantity */
.maf-modal-quantity-wrapper {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e7e7e7;
}

.maf-modal-qty-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.maf-qty-label {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: #222;
}

.maf-qty-control {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 96px;
  border: 1px solid #cfcfcf;
  background: #fff;
}

.maf-qty-control input {
  width: 64px;
  height: 42px;
  border: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  padding: 0;
  -moz-appearance: textfield;
}

.maf-qty-control input::-webkit-outer-spin-button,
.maf-qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.maf-qty-buttons {
  width: 32px;
  border-left: 1px solid #d7d7d7;
  display: flex;
  flex-direction: column;
}

.maf-qty-control .btn-touchspin {
  width: 32px;
  height: 21px;
  border: 0;
  border-radius: 0;
  background: #f5f5f5;
  padding: 0;
  min-width: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.maf-qty-control .maf-qty-down {
  border-top: 1px solid #d7d7d7;
}

.maf-qty-control .btn-touchspin i {
  font-size: 18px;
  color: #333;
}
