/* =====================================================
   DOLLAR BOUQUET BAKU — Customize / Calculator Page Styles
   ===================================================== */

/* Slightly shorter page header on this page */
.page-header {
  height: 280px;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2px;
  padding: 2px;
}

.steps-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* =====================================================
   STEP CARD
   ===================================================== */
.step-card {
  background: white;
  padding: 48px 48px 44px;
}

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.step-n {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.step-head-text h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-head-text p {
  font-size: 12px;
  color: var(--mist);
}

/* =====================================================
   BILL INPUTS
   ===================================================== */
.bills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.bill-item {
  background: var(--warm);
  padding: 14px 12px;
  text-align: center;
}

.bill-item label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 8px;
}

.bill-item input {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.bill-item input:focus {
  border-bottom-color: var(--ink);
}

/* =====================================================
   DECORATIONS
   ===================================================== */
.deco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.deco-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.deco-item.on {
  border-color: var(--ink);
  background: rgba(10, 10, 10, 0.02);
}

.deco-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deco-check input[type="checkbox"] {
  accent-color: var(--ink);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.deco-check label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.deco-sub {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deco-item:not(.on) .deco-sub {
  display: none;
}

.deco-sub select,
.deco-sub input {
  width: 100%;
  padding: 7px 10px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  outline: none;
}

/* =====================================================
   PACKING
   ===================================================== */
.pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pack-opt {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.pack-opt.on {
  border-color: var(--ink);
}

.pack-opt label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.pack-opt input[type="radio"] {
  accent-color: var(--ink);
}

.pack-sub-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.pack-opt.on .pack-sub-grid {
  display: grid;
}

.pack-sub-btn {
  padding: 7px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.pack-sub-btn.sel {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* =====================================================
   CUSTOMER INFO
   ===================================================== */
.cust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cust-field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 8px;
}

.cust-field input,
.cust-field textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.cust-field input:focus,
.cust-field textarea:focus {
  border-bottom-color: var(--ink);
}

.cust-field.full {
  grid-column: 1 / -1;
}

.cust-field textarea {
  min-height: 72px;
  resize: vertical;
  line-height: 1.6;
}

/* =====================================================
   RECEIPT SIDEBAR
   ===================================================== */
.receipt-col {
  position: sticky;
  top: 80px;
  align-self: start;
}

.receipt-card {
  background: var(--ink);
  color: white;
  padding: 44px 40px;
}

.receipt-logo {
  height: 36px;
  margin-bottom: 32px;
  opacity: 0.7;
}

.receipt-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.receipt-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.receipt-line strong {
  color: white;
}

.receipt-total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}

.receipt-total-lbl {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.receipt-total-val {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold2);
}

.receipt-total-val small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 4px;
}

.btn-order {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  padding: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-order:hover {
  background: var(--gold2);
}

.receipt-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* =====================================================
   RECEIPT CARD — Additional Elements
   ===================================================== */
.receipt-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 6px;
}

.receipt-items {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 48px;
}

.receipt-empty {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  font-style: italic;
}

.ri {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.ri-name {
  color: rgba(255, 255, 255, 0.65);
}

.ri-val {
  color: white;
  font-weight: 500;
}

.rt-lbl {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.rt-val {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold2);
}

.order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  padding: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 24px;
  margin-bottom: 12px;
}

.order-btn:hover {
  background: var(--gold2);
}

/* =====================================================
   RESPONSIVE — CUSTOMIZE
   ===================================================== */
@media (max-width: 1000px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .receipt-col {
    position: static;
  }
}

@media (max-width: 768px) {
  .step-card {
    padding: 32px 24px;
  }

  .bills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .deco-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cust-grid {
    grid-template-columns: 1fr;
  }
}

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