/* ===========================
   CogniFleet — Frontend Styles
   Variation Description Layout
   =========================== */

/* Variation description container box */
.woocommerce-variation-description {
    margin-top: 15px !important;
    margin-bottom: 18px !important;
    padding: 25px 15px 12px 15px;
/* top | right | bottom | left */
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

/* Arrange lists in two columns (auto wraps if long) */
.woocommerce-variation-description ul {
    columns: 2;
    column-gap: 25px;
    margin: 0;
    padding-left: 18px;
}

/* Compact list spacing */
.woocommerce-variation-description li {
    margin-bottom: 6px;
}

/* ==============================
   Variation Description Toggle Button Styling
   (Linked to variation-desc-handler.js)
   ============================== */

#cf-toggle-desc {
  display: inline-block;
  width: 28%;
  background: #f7f7f7;
  border: 1px solid #ccc;
  color: #333;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  margin-left: 2%; /* small gap from Add to Basket */
  vertical-align: middle;
  float: right; /* button alignment: right */
}

/* Hover + active states */
#cf-toggle-desc:hover {
  background: #efefef;
}

#cf-toggle-desc:active {
  background: #e0e0e0;
}

/* Responsive: stack buttons on mobile */
@media (max-width: 480px) {
  #cf-toggle-desc {
    display: inline-block;
    width: 20%;
    margin-top: 0px;
    margin-left: 1%;
    float: right; /* button alignment: right */
  }
}
