@charset "UTF-8";

/* .form-wrapper removed in v1.4.1 — markup restructured to bd-stairbuilder-layout. */

input.form-chk {
    position: absolute;
    opacity: 0;
    z-index: -1;
  }

.form-tabs {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
  }
  
  .form-tab {
    width: 100%;
    color: var(--bd-tab-text, #ffffff);
    overflow: hidden;
  }
  .tab-label {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    background: var(--bd-tab-bg, #302f2f);
    font-weight: bold;
    cursor: pointer;
    /* Icon */
  }
  .tab-label:hover {
    background: var(--bd-tab-hover-bg, #463f3f);
  }
  .tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all 0.35s;
  }
  .tab-content {
    max-height: 0;
    padding: 0 1em;
    color: #2c3e50;
    background: white;
    transition: all 0.35s;
  }
  .tab-content h5 { text-align: left; }
  .tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: var(--bd-tab-bg, #302f2f);
    cursor: pointer;
  }
  .tab-close:hover {
    background: var(--bd-tab-hover-bg, #463f3f);
  }
  
  input:checked + .tab-label {
    background: var(--bd-tab-active-bg, #1a252f);
    color: var(--bd-tab-active-text, #ffffff);
  }
  input:checked + .tab-label::after {
    transform: rotate(90deg);
  }
  input:checked ~ .tab-content {
    max-height: max-content;
    padding: 1em;
  }
 
  .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
  }
  .form-row label{
    width:100%;
  }
  .form-row input, .form-row select{
    width:100%;
  }
  .form-row input[type="checkbox"] {
    width: 30px;
  }
  .form-row:last-child {
    margin-bottom: 0;
  }
  
  .form-col {
    display: flex;
    flex-direction: row;
    margin-right: 1em;
    flex: 1;
  }

  .form-col label{
    width:100%;
  }
  
  .form-col:last-child {
    margin-right: 0;
  }
 .sb-buynow { padding:10px; background: #057d2c; border-radius: 6px; margin-top:10px; border:none; color:#ffffff; cursor: pointer;  }
 .sb-buynow:hover { background: #03521d; } 
 /* .breakout / .mm_breakout positioning + colours moved to layout.css under
    .bd-stairbuilder-layout scope (v1.4.1). The stand-alone fixed-bottom-right
    rules they had here conflicted with the floating-panel layout. */
 .rdbuttons {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  column-gap: 1rem;
}
 .radio__label {
  font-weight: 500;
  font-size: 1 rem;
  text-transform: capitalize;
  color: #2c3e50;
  padding: 1.2rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  justify-content: space-evenly;
}
.d.radio__label { border: 0.1rem solid #2c3e50; }
.p.radio__label {
  border: 0.1rem solid transparent;
}
.radio__radio {
  display: none;
}
/* Selected radio pills (delivery .d + packaging .p) follow the Active-Tab
   brand colours; fallbacks preserve the original hardcoded appearance when
   no brand colours are configured. */
.radio__radio:checked + .d.radio__label,
.radio__radio:checked + .p.radio__label {
  background-color: var(--bd-tab-active-bg, #2c3e50);
  border-color: var(--bd-tab-active-bg, #1a252f);
  color: var(--bd-tab-active-text, #ffffff);
}

/* Action button follows the Active-Tab brand colours (fallbacks preserve the
   original appearance when no brand colours are configured). */
.input__btn {
  border: 0.1rem solid var(--bd-tab-active-bg, #2c3e50);
  border-radius: 0.6rem;
  background-color: var(--bd-tab-active-bg, #2c3e50);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2rem;
  color: var(--bd-tab-active-text, #ffffff);
  width: 100%;
  padding: 1rem 0;
}

.input__btn:hover {
  border-color: var(--bd-tab-active-bg, #2c3e50);
}
/* Package / postcode panels use the form-box background + text colours. */
.packg, .pcode {
  padding: 0.4rem;
  border: 0.1rem solid var(--bd-form-text, #2c3e50);
  border-radius: 0.6rem;
  background-color: var(--bd-form-bg, #c6d8e9);
}
.pcode input[type="text"] { background:#fff; border-radius: 0.6rem; border-color: #1a252f;  } 
.chkboxbttn { display: flex; flex-direction:row; justify-content: space-evenly; }

.pcode input { height:60px;  }
