/* Acrylic Omamori Quote - UI */
.aoq-wrap{
  max-width: 860px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

.aoq-title{
  font-size: 22px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.aoq-spec{
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.aoq-spec-item{
  font-size: 14px;
}

.aoq-card{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px;
}

.aoq-h3{
  margin: 18px 0 10px;
  font-size: 16px;
}

.aoq-help{
  margin: 0 0 12px;
  font-size: 13px;
  opacity: .9;
  line-height: 1.7;
}

/* Steps */
.aoq-steps{
  display: grid;
  gap: 12px;
}

.aoq-step{
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.aoq-step__head{
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Form row */
.aoq-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

@media (max-width: 640px){
  .aoq-row{
    grid-template-columns: 1fr;
  }
}

.aoq-col label{
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 13px;
}

.aoq-col select{
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  background: #fff;
}

/* Buttons */
.aoq-btn{
  display: inline-block;
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
  background: #111827;
  color: #fff;
}

.aoq-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
}

.aoq-btn-ghost{
  background: #f3f4f6;
  color: #111;
}

.aoq-btn-mini{
  width: auto;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 12px;
}

.aoq-col-btn{
  min-width: 120px;
}

/* Foil */
.aoq-foil-block{
  margin-top: 10px;
}

.aoq-foil-title{
  font-weight: 900;
  margin-bottom: 8px;
  font-size: 13px;
}

.aoq-foil-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 640px){
  .aoq-foil-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.aoq-foil-option{
  appearance: none;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  text-align: center;
  transition: transform .08s ease, border-color .08s ease, box-shadow .08s ease;
}

.aoq-foil-option:hover{
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.aoq-foil-option.is-active{
  border-color: #111827;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.aoq-foil-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
}

.aoq-foil-label{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #111827;
}

.aoq-empty{
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
  opacity: .85;
}

/* Preview */
.aoq-preview{
  margin-top: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.aoq-preview__head{
  padding: 10px 12px;
  font-weight: 900;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.aoq-preview__body{
  padding: 12px;
}

.aoq-preview__img{
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
}

/* Lines */
.aoq-lines{
  margin-top: 10px;
}

.aoq-lines-empty{
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
  opacity: .85;
}

.aoq-line{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-top: 8px;
}

.aoq-line-left{
  min-width: 0;
}

.aoq-line-title{
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
}

.aoq-line-sub{
  margin-top: 4px;
  font-size: 12px;
  opacity: .85;
}

.aoq-line-right{
  flex: 0 0 auto;
}

/* Summary */
.aoq-summary{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #f7f7f7;
}

@media (max-width: 640px){
  .aoq-summary{
    grid-template-columns: 1fr;
  }
}

.aoq-total-qty{
  font-size: 16px;
  font-weight: 900;
}

.aoq-total-incl{
  font-size: 24px;
  font-weight: 900;
}

.aoq-total-excl{
  font-size: 14px;
  opacity: .9;
  margin-top: 4px;
}

.aoq-unit{
  font-size: 13px;
  opacity: .9;
  margin-top: 6px;
}

.aoq-note-small{
  margin-top: 6px;
  font-size: 12px;
  opacity: .85;
  line-height: 1.6;
}

.aoq-footer{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}