.aerock-calc-wrapper {
  font-family: var(--body-font, 'OpenSans', sans-serif);
  color: var(--body-c, #333);
  font-size: 15px;
  line-height: 1.5;
}

.aerock-calc-wrapper .calc-section {
  background: var(--w, #fff);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 4px;
  padding: 0;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.aerock-calc-wrapper .calc-section-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--nav-tabs-bg, #f7f7f7);
  font-weight: 700;
  font-size: 1.2em;
  color: var(--heading-c, #333);
  display: flex;
  align-items: center;
  gap: 10px;
}

.aerock-calc-wrapper .calc-section-header i {
  color: var(--header-icon-c, #ec6314);
  width: 18px;
  text-align: center;
}

.aerock-calc-wrapper .calc-section-body {
  padding: 20px;
}

.aerock-calc-wrapper .form-control {
  font-size: 14px;
  height: 38px;
}

.aerock-calc-wrapper .calc-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  display: block;
}

.aerock-calc-wrapper .calc-label i {
  color: var(--header-icon-c, #ec6314);
  margin-right: 6px;
  width: 18px;
  text-align: center;
}

/* Qb display */
.aerock-calc-wrapper .calc-qb-box {
  background: #fef3ed;
  border: 2px solid var(--add-to-cart-btn-bg, #ec6314);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.aerock-calc-wrapper .calc-qb-value {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--add-to-cart-btn-bg, #ec6314);
  line-height: 1.1;
  transition: transform .25s ease;
}

.aerock-calc-wrapper .calc-qb-label {
  font-size: .95rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}

/* Alert bar */
.aerock-calc-wrapper .calc-alert {
  background: var(--w, #fff);
  border-left: 4px solid var(--add-to-cart-btn-bg, #ec6314);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  font-size: 1.05rem;
  line-height: 1.5;
}

.aerock-calc-wrapper .calc-alert strong {
  color: var(--add-to-cart-btn-bg, #ec6314);
}

/* Product cards */
.aerock-calc-wrapper .calc-product {
  background: var(--w, #fff);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.aerock-calc-wrapper .calc-product:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  border-color: var(--add-to-cart-btn-bg, #ec6314);
}

.aerock-calc-wrapper .calc-product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--add-to-cart-btn-bg, #ec6314);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}

.aerock-calc-wrapper .calc-product:hover::before {
  transform: scaleY(1);
}

.aerock-calc-wrapper .calc-model-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading-c, #333);
}

.aerock-calc-wrapper .calc-capacity {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--add-to-cart-btn-bg, #ec6314);
}

.aerock-calc-wrapper .calc-units {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading-c, #333);
}

.aerock-calc-wrapper .calc-speed-label {
  font-size: .9rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* Fan speed radios */
.aerock-calc-wrapper .calc-fan-speeds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.aerock-calc-wrapper .calc-fan-speeds .radio-inline {
  margin: 0;
  padding: 8px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  color: #555;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.aerock-calc-wrapper .calc-fan-speeds .radio-inline:hover {
  border-color: var(--add-to-cart-btn-bg, #ec6314);
  color: var(--add-to-cart-btn-bg, #ec6314);
  background: #fef3ed;
}

.aerock-calc-wrapper .calc-fan-speeds .radio-inline input[type="radio"] {
  display: none;
}

.aerock-calc-wrapper .calc-fan-speeds .radio-inline input[type="radio"]:checked + .calc-fan-label {
  /* handled by parent */
}

.aerock-calc-wrapper .calc-fan-speeds .radio-inline:has(input[type="radio"]:checked) {
  border-color: var(--add-to-cart-btn-bg, #ec6314);
  background: var(--add-to-cart-btn-bg, #ec6314);
  color: #fff;
}

/* Buttons */
.aerock-calc-wrapper .calc-btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--add-to-cart-btn-bg, #ec6314);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  white-space: nowrap;
}

.aerock-calc-wrapper .calc-btn-cart:hover {
  background: var(--add-to-cart-btn-bg-hover, #c50000);
  color: #fff;
}

.aerock-calc-wrapper .calc-btn-cart:disabled {
  background: #e5e5e5;
  color: #888;
  cursor: default;
  transform: none;
}

.aerock-calc-wrapper .calc-btn-cart-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--add-to-cart-btn-bg, #ec6314);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}

.aerock-calc-wrapper .calc-btn-cart-all:hover {
  background: var(--add-to-cart-btn-bg-hover, #c50000);
  color: #fff;
}

/* Image */
.aerock-calc-wrapper .calc-img-hall {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: box-shadow .25s ease;
}

.aerock-calc-wrapper .calc-img-hall:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.aerock-calc-wrapper .calc-product {
  animation: fadeInUp .35s ease both;
}

.aerock-calc-wrapper .calc-product:nth-child(1) { animation-delay: .02s; }
.aerock-calc-wrapper .calc-product:nth-child(2) { animation-delay: .04s; }
.aerock-calc-wrapper .calc-product:nth-child(3) { animation-delay: .06s; }
.aerock-calc-wrapper .calc-product:nth-child(4) { animation-delay: .08s; }
.aerock-calc-wrapper .calc-product:nth-child(5) { animation-delay: .10s; }
.aerock-calc-wrapper .calc-product:nth-child(6) { animation-delay: .12s; }

.aerock-calc-wrapper .calc-qb-update {
  animation: countPulse .3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .aerock-calc-wrapper *,
  .aerock-calc-wrapper *::before,
  .aerock-calc-wrapper *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .aerock-calc-wrapper .calc-product { animation: none; }
  .aerock-calc-wrapper .calc-product:hover { transform: none; }
}

@media (max-width: 768px) {
  .aerock-calc-wrapper .calc-section-body { padding: 14px; }
  .aerock-calc-wrapper .calc-qb-value { font-size: 2rem; }
  .aerock-calc-wrapper .calc-capacity { font-size: 1rem; }
  .aerock-calc-wrapper .calc-units { font-size: 1.3rem; }
  .aerock-calc-wrapper .calc-product { padding: 12px; }
}
