@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

.bpc {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7f8ff;
  --text: #071724;
  --muted: #071724;
  --accent: #071724;
  --border: #bfcafc;
  --border-light: #bfcafc;
  font-family: 'Raleway', system-ui, sans-serif;
  background: #ffffff;
  color: #071724;
  width: 100%;
}


.bpc h1, .bpc h2, .bpc h3, .bpc h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #071724;
  margin: 0;
letter-spacing: 1px;
}

.bpc h1, .bpc h3 {font-size: 35px}

.bpc button,
.bpc select,
.bpc input {
  font-family: 'Raleway', system-ui, sans-serif;
}

/* ----- was display flex --*/

.bpc__strip {
  display: none;
  height: 8px;
  overflow: hidden;
}

.bpc__strip-color {
  flex: 1;
  min-width: 8px;
}

.bpc__page {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 28px 80px;
}

.bpc__header {
  margin-bottom: 44px;
  text-align: center;
}

.bpc__title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.bpc__subtitle {
  font-size: 16px;
  color: #071724;
  line-height: 1.7;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
}

.bpc__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #071724;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}

.bpc__type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.bpc__type-btn {
  background: #fff;
  color: #071724;
  border: 1px solid #bfcafc;
  border-radius: 2px;
  padding: 13px 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.bpc__type-btn:hover {
  border-color: #071724;
  background: #f0f3ff;
}

.bpc__type-btn.is-active {
  background: #071724;
  color: #fff;
  border-color: #071724;
}

.bpc__type-btn-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}

.bpc__type-btn-desc {
  font-size: 11px;
  line-height: 1.4;
  color: #071724;
  opacity: 0.8;
}

.bpc__type-btn.is-active .bpc__type-btn-desc {
  color: rgba(255,255,255,0.7);
}

.bpc__info {
  background: #f7f8ff;
  border: 1px solid #bfcafc;
  border-radius: 2px;
  padding: 11px 15px;
  font-size: 14px;
  color: #5a6690;
  line-height: 1.65;
}

.bpc__divider {
  border-top: 1px solid #bfcafc;
  margin: 28px 0;
}

.bpc__section {
  margin-bottom: 32px;
}

.bpc__section-title {
  font-size: 23px;
  margin-bottom: 18px;
}

.bpc__section-note {
  font-size: 12px;
  color: #6a7490;
  margin-bottom: 18px;
  line-height: 1.6;
}

.bpc__measure-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.bpc__measure-name {
  font-size: 13px;
  font-weight: 600;
  color: #071724;
  letter-spacing: 0.07em;
  width: 64px;
  padding-bottom: 10px;
  padding-top: 33px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.bpc__dim-group {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.bpc__input-pair {
  display: flex;
  gap: 4px;
}

.bpc__input,
.bpc__input-wide,
.bpc__select {
  border: 1px solid #bfcafc;
  border-radius: 2px;
  font-size: 14px;
  color: #071724;
  background: #fff;
  display: block;
}

.bpc__input {
  width: 64px;
  padding: 9px 8px;
}

.bpc__input-wide {
  width: 100%;
  padding: 9px 10px;
}

.bpc__input:focus,
.bpc__input-wide:focus,
.bpc__select:focus {
  border-color: #071724;
  outline: none;
}

.bpc__remove-btn {
  background: none;
  border: none;
  color: #071724;
  font-size: 20px;
  line-height: 1;
  padding-bottom: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: color 0.15s, opacity 0.15s;
}

.bpc__remove-btn:hover {
  color: #c00;
  opacity: 1;
}

.bpc__add-btn {
  background: none;
  border: none;
  color: #071724;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 6px;
  text-transform: uppercase;
  padding: 0;
}

.bpc__add-btn:hover {
  color: #071724;
}

.bpc__subtract-card,
.bpc__result-card,
.bpc__legend,
.bpc__tip {
  border: 1px solid #bfcafc;
  border-radius: 2px;
  background: #f7f8ff;
}

.bpc__subtract-card {
  padding: 16px 18px;
  margin-bottom: 10px;
}

.bpc__sub-fields {
  display: flex;
  gap: 12px;
}

.bpc__sub-field {
  flex: 1;
}

.bpc__sub-note {
  font-size: 12px;
  color: #071724;
  margin-top: 5px;
  opacity: 0.75;
}

.bpc__select {
  width: 100%;
  padding: 10px 40px 10px 14px;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23bfcafc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.bpc__select-note {
  font-size: 13px;
  color: #071724;
  margin-top: 7px;
  opacity: 0.8;
}

.bpc__actions {
  display: flex;
  gap: 10px;
}

.bpc__btn-primary,
.bpc__btn-secondary,
.bpc__cta-primary,
.bpc__cta-secondary {
  border-radius: 2px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.bpc__btn-primary {
  flex: 1;
  background: #071724;
  color: #fff;
  border: 1px solid #071724;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.bpc__btn-primary:hover {
  background: #071724;
  border-color: #071724;
}

.bpc__btn-secondary {
  background: none;
  border: 1px solid #bfcafc;
  color: #071724;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.bpc__btn-secondary:hover {
  border-color: #071724;
  color: #071724;
}

.bpc__results {
  margin-top: 44px;
}

.bpc__results-title {
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 24px;
}

.bpc__result-card {
  padding: 18px 20px;
  margin-bottom: 18px;
}

.bpc__result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  gap: 15px;
}

.bpc__result-row-label {
  font-size: 14px;
  color: #071724;
}

.bpc__result-row-value {
  font-size: 14px;
  font-weight: 500;
  color: #071724;
  letter-spacing: 0.02em;
  text-align: right;
}

.bpc__result-row--bold .bpc__result-row-value {
  font-size: 15px;
  font-weight: 700;
}

.bpc__result-row--faint .bpc__result-row-label,
.bpc__result-row--faint .bpc__result-row-value {
  opacity: 0.55;
}

.bpc__result-divider {
  border-top: 1px solid #bfcafc;
  margin-top: 10px;
  padding-top: 10px;
}

.bpc__product-card {
  border: 1px solid #bfcafc;
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 14px;
}

.bpc__product-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 4px;
}

.bpc__product-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #071724;
}

.bpc__product-subtitle {
  font-size: 12px;
  color: #071724;
  margin-left: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.bpc__product-liters {
  font-size: 22px;
  font-weight: 700;
  color: #071724;
  letter-spacing: -0.01em;
}

.bpc__product-body {
  border-top: 1px solid #bfcafc;
  padding-top: 14px;
}

.bpc__can-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bpc__can-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #bfcafc;
  border-radius: 2px;
  padding: 7px 14px;
  background: #fff;
  font-size: 18px;
  font-weight: 600;
  color: #071724;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.bpc__can-tag-icon {
  font-size: 14px;
  color: #071724;
}

.bpc__total-purchased {
  font-size: 13px;
  color: #071724;
  margin-top: 10px;
  opacity: 0.8;
}

.bpc__legend,
.bpc__tip {
  padding: 13px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: #071724;
  line-height: 1.7;
}

.bpc__legend {
  margin-top: 4px;
}

.bpc__legend strong,
.bpc__tip strong {
  color: #071724;
}

.bpc__shop-ctas {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.bpc__cta-primary {
  flex: 1;
  background: #071724;
  color: #fff;
  border: 1px solid #071724;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.bpc__cta-secondary {
  flex: 1;
  background: none;
  border: 1px solid #bfcafc;
  color: #071724;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.bpc input[type=number]::-webkit-inner-spin-button,
.bpc input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bpc input[type=number] {
  -moz-appearance: textfield;
}

@media (max-width: 600px) {
  .bpc__type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bpc__measure-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .bpc__dim-group {
    flex-wrap: wrap;
  }

  .bpc__sub-fields {
    flex-direction: column;
    gap: 10px;
  }

  .bpc__product-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .bpc__shop-ctas,
  .bpc__actions {
    flex-direction: column;
  }

  .bpc__page {
    padding: 32px 16px 60px;
  }

  .bpc__can-tags {
    flex-direction: column;
    align-items: flex-start;
  }

  .bpc__strip-color {
    min-width: 4px;
  }
}

/* ==============================
   FORCE BUTTON STYLES
   Prevent theme button styling
================================= */

.bpc button,
.bpc button:visited,
.bpc button:hover,
.bpc button:focus,
.bpc button:active,
.bpc a.bpc__cta-primary,
.bpc a.bpc__cta-primary:visited,
.bpc a.bpc__cta-primary:hover,
.bpc a.bpc__cta-primary:focus,
.bpc a.bpc__cta-primary:active,
.bpc a.bpc__cta-secondary,
.bpc a.bpc__cta-secondary:visited,
.bpc a.bpc__cta-secondary:hover,
.bpc a.bpc__cta-secondary:focus,
.bpc a.bpc__cta-secondary:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
  font-family: 'Raleway', system-ui, sans-serif !important;
  text-decoration: none !important;
}

/* All main action buttons */
.bpc__btn-primary,
.bpc__btn-primary:visited,
.bpc__btn-primary:hover,
.bpc__btn-primary:focus,
.bpc__btn-primary:active,
.bpc__cta-primary,
.bpc__cta-primary:visited,
.bpc__cta-primary:hover,
.bpc__cta-primary:focus,
.bpc__cta-primary:active {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  min-height: 46px;
  padding: 14px 20px !important;
  background: #071724 !important;
  color: #ffffff !important;
  border: 1px solid #071724 !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transform: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

/* Secondary buttons */
.bpc__btn-secondary,
.bpc__btn-secondary:visited,
.bpc__btn-secondary:hover,
.bpc__btn-secondary:focus,
.bpc__btn-secondary:active,
.bpc__cta-secondary,
.bpc__cta-secondary:visited,
.bpc__cta-secondary:hover,
.bpc__cta-secondary:focus,
.bpc__cta-secondary:active {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  min-height: 46px;
  padding: 14px 20px !important;
  background: transparent !important;
  color: #071724 !important;
  border: 1px solid #bfcafc !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transform: none !important;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease !important;
}

/* Hover states */
.bpc__btn-primary:hover,
.bpc__btn-primary:focus,
.bpc__btn-primary:active,
.bpc__cta-primary:hover,
.bpc__cta-primary:focus,
.bpc__cta-primary:active {
  background: #071724 !important;
  color: #ffffff !important;
  border-color: #071724 !important;
  outline: none !important;
}

.bpc__btn-secondary:hover,
.bpc__btn-secondary:focus,
.bpc__btn-secondary:active,
.bpc__cta-secondary:hover,
.bpc__cta-secondary:focus,
.bpc__cta-secondary:active {
  background: transparent !important;
  color: #071724 !important;
  border-color: #071724 !important;
  outline: none !important;
}

/* Project type buttons */
.bpc__type-btn,
.bpc__type-btn:visited,
.bpc__type-btn:hover,
.bpc__type-btn:focus,
.bpc__type-btn:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: block !important;
  width: 100% !important;
  min-height: unset !important;
  padding: 13px 10px !important;
  background: #ffffff !important;
  color: #071724 !important;
  border: 1px solid #bfcafc !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
  font-family: 'Raleway', system-ui, sans-serif !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: normal !important;
  cursor: pointer !important;
}

.bpc__type-btn:hover,
.bpc__type-btn:focus {
  border-color: #071724 !important;
  background: #f0f3ff !important;
  color: #071724 !important;
  outline: none !important;
}

.bpc__type-btn.is-active,
.bpc__type-btn.is-active:hover,
.bpc__type-btn.is-active:focus,
.bpc__type-btn.is-active:active {
  background: #071724 !important;
  color: #ffffff !important;
  border-color: #071724 !important;
}

/* Add and remove controls */
.bpc__add-btn,
.bpc__add-btn:visited,
.bpc__add-btn:hover,
.bpc__add-btn:focus,
.bpc__add-btn:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #071724 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  margin-top: 6px !important;
  cursor: pointer !important;
  width: auto !important;
  min-height: unset !important;
}

.bpc__remove-btn,
.bpc__remove-btn:visited,
.bpc__remove-btn:hover,
.bpc__remove-btn:focus,
.bpc__remove-btn:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #071724 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  padding-bottom: 8px !important;
  cursor: pointer !important;
  width: auto !important;
  min-height: unset !important;
  opacity: 0.6 !important;
}

.bpc__remove-btn:hover,
.bpc__remove-btn:focus {
  color: #c00 !important;
  opacity: 1 !important;
  outline: none !important;
}