﻿/* MODUCOPY Modern Refined Quote Sheet & Action Buttons Styles */
/* Shop Product Button Flex Bar (High Specificity 3-Button & Wish Row) */
div#sit_ov_btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-top: 20px !important;
  margin-bottom: 15px !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}
div#sit_ov_btn:before,
div#sit_ov_btn:after {
  display: none !important;
  content: none !important;
}
div#sit_ov_btn > button,
div#sit_ov_btn > a,
div#sit_ov_btn #sit_btn_buy,
div#sit_ov_btn #sit_btn_cart,
div#sit_ov_btn #mc_quote_open,
button#mc_quote_open {
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  line-height: 48px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  vertical-align: middle !important;
  text-decoration: none !important;
}

div#sit_ov_btn #sit_btn_buy,
div#sit_ov_btn #sit_btn_cart,
div#sit_ov_btn #mc_quote_open,
button#mc_quote_open {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 14px !important;
}

div#sit_ov_btn #sit_btn_buy {
  background-color: #3f4678 !important;
  color: #ffffff !important;
  border: 1px solid #3f4678 !important;
  box-shadow: 0 2px 6px rgba(63, 70, 120, 0.2) !important;
}
div#sit_ov_btn #sit_btn_buy:hover {
  background-color: #4b5390 !important;
  border-color: #4b5390 !important;
}
div#sit_ov_btn #sit_btn_buy * {
  color: #ffffff !important;
}

div#sit_ov_btn #sit_btn_cart {
  background-color: #ffffff !important;
  color: #3f4678 !important;
  border: 1.5px solid #3f4678 !important;
}
div#sit_ov_btn #sit_btn_cart:hover {
  background-color: #f8fafc !important;
}
div#sit_ov_btn #sit_btn_cart * {
  color: #3f4678 !important;
}

div#sit_ov_btn #mc_quote_open,
button#mc_quote_open {
  background-color: #ffffff !important;
  color: #134e42 !important;
  border: 1.5px solid #134e42 !important;
}
div#sit_ov_btn #mc_quote_open *,
button#mc_quote_open * {
  color: #134e42 !important;
}
div#sit_ov_btn #mc_quote_open:hover,
button#mc_quote_open:hover {
  background-color: #134e42 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(19, 78, 66, 0.2) !important;
}
div#sit_ov_btn #mc_quote_open:hover *,
button#mc_quote_open:hover * {
  color: #ffffff !important;
}

div#sit_ov_btn #sit_btn_wish {
  flex: 0 0 50px !important;
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  height: 50px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  color: #64748b !important;
  padding: 0 !important;
}
div#sit_ov_btn #sit_btn_wish:hover {
  color: #e11d48 !important;
  border-color: #fda4af !important;
}

@media (max-width: 768px) {
  #sit_ov_btn {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  #sit_ov_btn #sit_btn_buy,
  #sit_ov_btn #sit_btn_cart {
    flex: 1 1 calc(50% - 3px) !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 14px !important;
  }
  #sit_ov_btn #mc_quote_open {
    flex: 1 1 calc(100% - 56px) !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 14px !important;
  }
  #sit_ov_btn #sit_btn_wish {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
  }
}

.mc-quote-active {
  overflow: hidden !important;
}

.mc-quote-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 22, 0.65);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  padding: 36px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mc-quote-sheet {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 30px;
  background: #ffffff;
  color: #1e293b;
  padding: 44px 48px;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 1px 1px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Malgun Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

/* Tools Bar */
.mc-quote-tools {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
}
.mc-quote-tools button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
  min-height: 42px !important;
}
.mc-quote-tools button.btn-download {
  background: #134e42 !important;
  color: #ffffff !important;
  border: 1px solid #134e42 !important;
  box-shadow: 0 2px 8px rgba(19, 78, 66, 0.25) !important;
}
.mc-quote-tools button.btn-download:hover {
  background: #0d3830 !important;
  border-color: #0d3830 !important;
}
.mc-quote-tools button.btn-close {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  min-width: 72px !important;
}
.mc-quote-tools button.btn-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Header */
.mc-quote-header {
  border-bottom: 2px solid #134e42;
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.mc-quote-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.mc-quote-brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #134e42;
  text-transform: uppercase;
}
.mc-quote-date-badge {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.mc-quote-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #0f172a;
  margin: 0;
}

/* Info Grid: Customer Inputs & Supplier Cards */
.mc-quote-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.mc-quote-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
}
.mc-quote-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #134e42;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mc-quote-card-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 12px;
  background: #134e42;
  border-radius: 2px;
}

/* Supplier specs */
.mc-supplier-table {
  width: 100%;
  font-size: 13px;
  line-height: 1.7;
  border-collapse: collapse;
}
.mc-supplier-table th {
  width: 72px;
  color: #64748b;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
  padding: 2px 0;
}
.mc-supplier-table td {
  color: #1e293b;
  font-weight: 600;
  padding: 2px 0;
}

/* Customer Fields */
.mc-quote-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mc-quote-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-quote-field-group label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.mc-quote-field-group input {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-family: inherit;
  transition: all 0.15s ease;
}
.mc-quote-field-group input:focus {
  outline: none;
  border-color: #134e42;
  box-shadow: 0 0 0 3px rgba(19, 78, 66, 0.12);
}

/* Product Heading */
.mc-quote-product-banner {
  background: #f1f7f5;
  border-left: 4px solid #134e42;
  border-radius: 0 8px 8px 0;
  padding: 12px 18px;
  margin-bottom: 20px;
}
.mc-quote-product-banner .prod-label {
  font-size: 12px;
  font-weight: 700;
  color: #134e42;
  margin-bottom: 2px;
}
.mc-quote-product-banner .prod-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

/* Section Header & Spec Tables */
.mc-quote-section-title {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #134e42;
  border-bottom: 1.5px solid #134e42;
  padding-bottom: 6px;
  margin: 26px 0 0;
}
.mc-quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}
.mc-quote-table tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.1s ease;
}
.mc-quote-table tr:hover {
  background: #f8fafc;
}
.mc-quote-table th {
  width: 150px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-align: left;
  vertical-align: middle;
  background: #fafbfa;
}
.mc-quote-table td {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-align: left;
  vertical-align: middle;
}
.mc-quote-table td.highlight {
  color: #134e42;
  font-weight: 700;
}

/* Total Price Card */
.mc-quote-total-card {
  background: linear-gradient(135deg, #134e42 0%, #0c352c 100%);
  border-radius: 12px;
  padding: 20px 26px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 18px;
  box-shadow: 0 8px 24px rgba(19, 78, 66, 0.2);
}
.mc-quote-total-card .label-box span {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.mc-quote-total-card .label-box small {
  display: block;
  font-size: 12px;
  color: #a7d3c9;
  margin-top: 2px;
}
.mc-quote-total-card .price-box {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
}

/* Footer Notes */
.mc-quote-notice {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.75;
}
.mc-quote-notice-title {
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.mc-quote-notice ul {
  margin: 0;
  padding-left: 18px;
}
.mc-quote-notice li {
  margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .mc-quote-overlay {
    padding: 12px 8px;
  }
  .mc-quote-sheet {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .mc-quote-info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mc-quote-table th {
    width: 100px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .mc-quote-table td {
    padding: 8px 12px;
    font-size: 13px;
  }
  .mc-quote-total-card {
    padding: 16px 18px;
  }
  .mc-quote-total-card .price-box {
    font-size: 24px;
  }
}

/* Official Yellow Total Banner in Customer Quote */
.mc-quote-yellow-total {
  background: #ffff00 !important;
  border: 1.5px solid #000000 !important;
  color: #000000 !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-weight: 900 !important;
  margin: 26px 0 16px !important;
  border-radius: 4px !important;
}
.mc-quote-yellow-total .total-label {
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}
.mc-quote-yellow-total .total-label small {
  font-size: 11px !important;
  font-weight: normal !important;
  display: block;
}
.mc-quote-yellow-total .korean-sum {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #000000 !important;
  letter-spacing: 0.5px !important;
}
.mc-quote-yellow-total .num-sum {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #000000 !important;
  letter-spacing: 0.5px !important;
}

/* Official Yellow Footer Banner in Customer Quote */
.mc-quote-yellow-footer {
  background: #ffff00 !important;
  border: 1.5px solid #000000 !important;
  color: #000000 !important;
  padding: 12px 18px !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.7 !important;
  margin-top: 22px !important;
  border-radius: 4px !important;
}

/* Supplier Seal Stamp */
.mc-supplier-stamp {
  position: relative;
  display: inline-block;
  font-weight: 900;
}
.mc-supplier-stamp-svg {
  position: absolute;
  right: -24px;
  top: -12px;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

/* A4 공식 견적서 미리보기 */
.mc-quote-overlay{background:#525659;padding:28px 12px 60px;backdrop-filter:none}
.mc-quote-sheet{width:210mm;max-width:calc(100vw - 24px);min-height:297mm;margin:52px auto 30px;padding:9mm 10mm;border-radius:0;box-shadow:0 3px 18px rgba(0,0,0,.38);color:#000;font-family:Arial,'Malgun Gothic',sans-serif;line-height:1.42}
.mc-quote-tools{position:absolute;right:0;top:-50px;margin:0!important}
.mc-quote-header{border:0;padding:0 0 8px;margin:0}.mc-quote-brand-row{margin:0}.mc-quote-brand{color:#000;font-size:11px}.mc-quote-date-badge{color:#000;font-size:11px}.mc-quote-title{text-align:center;color:#000;font-size:29px;letter-spacing:15px;padding-left:15px;margin-top:-8px;white-space:nowrap;word-break:keep-all}
.mc-quote-info-grid{grid-template-columns:48% 52%;gap:0;margin:0;border:1.5px solid #000}.mc-quote-card{border:0;border-radius:0;background:#fff;padding:12px 14px}.mc-quote-card:first-child{border-right:1.5px solid #000}.mc-quote-card-title{color:#000;font-size:12px;margin-bottom:7px}.mc-quote-card-title:before{background:#000}.mc-quote-fields{gap:5px}.mc-quote-field-group{display:grid;grid-template-columns:95px minmax(0,1fr);align-items:center}.mc-quote-field-group label{color:#000}.mc-quote-field-group input{height:31px;border:0;border-bottom:1px solid #8b9498;border-radius:0;padding:0 5px;font-size:12px}.mc-supplier-table{font-size:11px;line-height:1.4}.mc-supplier-table th,.mc-supplier-table td{padding:3px 0;color:#000}
.mc-quote-product-banner{margin:0;border:1.5px solid #000;border-top:0;border-radius:0;background:#fff;padding:8px 12px}.mc-quote-product-banner .prod-label{color:#59676d;font-size:10px}.mc-quote-product-banner .prod-title{color:#000;font-size:14px}
.mc-quote-section-title{font-size:12px;color:#263b45;border:0;margin:0;padding:8px 10px 4px;background:#f8fafb}.mc-quote-table{margin:0;table-layout:fixed;border-collapse:collapse}.mc-quote-table tr{border:0}.mc-quote-table th,.mc-quote-table td{border:1px solid #d7dfe1;padding:5px 8px;font-size:11.5px}.mc-quote-table th{width:115px;color:#59676d;background:#f8fafb}.mc-quote-table td,.mc-quote-table td.highlight{color:#173f38;background:#fff}
.mc-quote-yellow-total{order:0;margin:0!important;border-radius:0!important;padding:8px 12px!important}.mc-quote-yellow-total .total-label{font-size:12px!important}.mc-quote-yellow-total .korean-sum,.mc-quote-yellow-total .num-sum{font-size:15px!important}.mc-quote-yellow-footer{border-radius:0!important;margin:0!important;padding:8px 12px!important;font-size:12px!important}.mc-quote-notice{border-radius:0;border-color:#d7dfe1;padding:8px 12px;font-size:10px;line-height:1.45;margin:0}.mc-quote-notice-title{margin-bottom:3px}
@media(max-width:820px){.mc-quote-sheet{width:100%;min-height:0;padding:18px 12px}.mc-quote-info-grid{grid-template-columns:1fr}.mc-quote-card:first-child{border-right:0;border-bottom:1.5px solid #000}.mc-quote-title{font-size:22px;letter-spacing:6px;padding-left:6px;white-space:nowrap}.mc-quote-yellow-total{gap:8px;flex-wrap:wrap!important}.mc-quote-yellow-total .korean-sum{order:3;width:100%;text-align:center}}
