/* @charset "utf-8";

/* ============================================================
   product_renewal.css
   Product detail page — new responsive design
   Override detail_v2.css using higher-specificity selectors
   ============================================================ */

/* ---- CSS Variables — copied from header_renewal.css :root ---- */
:root {
  --container: 1260px;
  --c-primary: #159fda;
  --c-navy:    #1b2a4a;
  --c-accent:  #14b6a4;
  --c-point:   #fb5a5a;
  --c-ink:     #222428;
  --c-text:    #3a3d44;
  --c-sub:     #6b7079;
  --c-mute:    #9aa0a8;
  --c-line:    #e6e8ec;
  --c-line-2:  #eef0f3;
  --c-bg-soft: #f6f7f9;
  --shadow-md: 0 6px 20px rgba(20, 30, 50, 0.1);
}

/* ---- Breadcrumb (div.crumb — outer, desktop only) ---- */
.crumb {
  background: #fff;
}
.crumb .inner {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  font-size: 13px;
  color: var(--c-sub);
  white-space: nowrap;
  max-width: var(--container);
  margin: 0 auto;
  box-sizing: border-box;
}
.crumb a {
  color: var(--c-sub);
  text-decoration: none;
}
.crumb a:hover {
  text-decoration: underline;
}
.crumb .sep {
  color: var(--c-mute);
}
.crumb .cur {
  color: var(--c-ink);
  font-weight: 700;
}

/* ---- nav.breadcrumb — inline breadcrumb inside option_wrap ---- */
section.order .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 46px;
  font-size: 13px;
  color: var(--c-sub);
  margin-bottom: 0px !important;
  /* match .layout.inner container width */
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
section.order .breadcrumb a {
  color: var(--c-sub);
  text-decoration: none;
}
section.order .breadcrumb a:hover {
  text-decoration: underline;
}
/* getBreadcrumb() returns plain text like "명함 > 프리미엄 명함" */
section.order .breadcrumb > span:first-child {
  font-size: 13px;
  color: var(--c-sub);
  margin-right: 0 !important;
}
/* version toggle (#bizver_info_product) sits to the right via space-between */
section.order #bizver_info_product {
  flex-shrink: 0;
}

/* ---- Order section: 3-column layout ---- */
section.order {
  padding: 6px 0 56px;
}
section.order .inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: var(--container);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Override detail_v2.css .option_wrap { width: 1200px } */
section.order .option_wrap {
  width: 100%;
  max-width: 100%;
}

/* Override detail_v2.css .layout */
section.order .layout.inner {
  width: auto;
  justify-content: flex-start;
}

/* ---- Columns ---- */
/* Override: detail_v2.css .layout .left { flex: 0 0 30% } — specificity 0-3-0, need 0-3-1 */
section.order .layout .col-left {
  flex: 0 0 330px;
  width: 330px;
  margin-top: 0;
}
/* Override: detail_v2.css .layout .right { flex: 0 0 50% } — specificity 0-3-0, need 0-3-1 */
section.order .layout .col-mid {
  flex: 1;
  min-width: 0;
}
/* Override: detail_v2.css .layout .side { flex: 0 0 15% } — specificity 0-3-0, need 0-3-1 */
section.order .layout .col-right {
  flex: 0 0 232px;
  width: 232px;
}

/* ---- Product image (left column) ---- */
/* preview_wrap is the outer container — it holds both the main image and thumbs */
section.order .pv-main {
  width: 100%;
  margin-bottom: 0;
}
/* Main image area inside preview_wrap */
section.order .pv-main .cont_box {
  border: 1px solid var(--c-line) !important;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f5f7;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
section.order .pv-main .cont_box > img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}

/* ---- Thumbnails ---- */
/* Override detail_v2.css .preview_wrap .tab_btn_wrap */
section.order .pv-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
section.order .pv-thumbs::-webkit-scrollbar {
  display: none;
}
section.order .pv-thumbs li {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--c-line);
  border-radius: 5px;
  overflow: hidden;
  background: #f4f5f7;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  float: none;
  font-size: 0;
}
section.order .pv-thumbs li.active {
  border-color: var(--c-primary);
}
section.order .pv-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Sidebox (period_box in left column) ---- */
/* Override detail_v2.css .period_box */
section.order .sidebox {
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 18px;
  margin-top: 18px;
  background: #fff;
  font-size: 12.5px;
  color: var(--c-text);
  line-height: 1.7;
}
section.order .sidebox .period_tit {
  margin-bottom: 10px;
}
section.order .sidebox .period_tit .tit {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-ink);
}
section.order .sidebox .period_tit .sub_tit {
  font-size: 11px;
  color: var(--c-mute);
  font-weight: 500;
  margin-left: 6px;
}
section.order .sidebox .period_list li {
  padding-left: 11px;
}
section.order .sidebox .period_list li::before {
  content: "·";
  left: 2px;
  color: var(--c-mute);
}

/* ---- Price table (col-right / side) ---- */
/* detail_v2.css: .price_box { border:1px solid #656565; border-radius:5px; padding:6px; font-size:11px }
                  .price_tit { background:#444; padding:8px 0; font-size:14px; border-radius:4px; margin-bottom:8px }
                  .price_body { background:#f1f1f1; padding:8px 12px; margin-bottom:12px }
                  .row { display:flex; justify-content:space-between; margin:5px 0 }
                  .label { color:#666 }  .value { font-weight:600 }
                  .divider.dotted { border-top:1px dotted #bbb; margin:8px 0 }
                  .price_footer { padding:0 5px 2px }  .footer_tit { color:#999; border-bottom:1px solid #ddd }
                  .final { font-weight:bold; font-size:12px }  .final .value { color:#F93C3C }
                  .floating_evtban { text-align:center } */
section.order .ptable {
  border: 1px solid #d8dde3;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  margin-top: 0;
  font-size: 13px;
}
section.order .ptable .ph {
  background: #3a3f47;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 0;
  border-radius: 0;
  margin-bottom: 0;
}
/* detail_v2: background:#f1f1f1; padding:8px 12px; margin-bottom:12px */
section.order .ptable .pb {
  padding: 16px 16px 18px;
  background: #fff;
  margin-bottom: 0;
}
/* detail_v2: .row { display:flex; justify-content:space-between; margin:5px 0 } */
section.order .ptable .pr {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text);
  margin-bottom: 10px;
  margin-top: 0;
}
/* detail_v2: .label { color:#666 } */
section.order .ptable .pr span {
  white-space: nowrap;
  color: var(--c-text);
  font-weight: 400;
}
/* detail_v2: .value { font-weight:600 } */
section.order .ptable .pr b,
section.order .ptable .pr .value {
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}
section.order .ptable .pr.sm {
  color: var(--c-mute);
  font-size: 12px;
  margin-bottom: 4px;
}
/* detail_v2: .divider.dotted { border-top:1px dotted #bbb } — now merged into .pr.line */
section.order .ptable .pr.line {
  border-top: 1px solid var(--c-line-2);
  padding-top: 12px;
}
section.order .ptable .divider.dotted {
  display: none;
}
/* detail_v2: .footer_tit { color:#999; border-bottom:1px solid #ddd } — now .est */
section.order .ptable .est,
section.order .ptable .pf {
  border-top: 1px solid var(--c-line);
  margin-top: 0;
  padding: 14px 16px 18px;
  font-size: 12px;
  color: var(--c-sub);
  background: #fff;
}
section.order .ptable .footer_tit {
  display: none;
}
/* detail_v2: .final { font-weight:bold; font-size:12px }  .final .value { color:#F93C3C } */
section.order .ptable .pr.total {
  margin-top: 8px;
  margin-bottom: 0;
  align-items: center;
}
section.order .ptable .pr.total span {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-ink);
}
section.order .ptable .pr.total b,
section.order .ptable .pr.total .value {
  font-size: 19px;
  font-weight: 900;
  color: var(--c-point);
}
/* ---- rev-ev banner (floating_evtban) ---- */
/* detail_v2: .floating_evtban { text-align:center; ... } */
section.order .rev-ev {
  margin-top: 14px;
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
  background: #5189ec;
  color: #fff;
}
section.order .rev-ev .rb {
  display: inline-block;
  background: #22408f;
  border-radius: 14px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
section.order .rev-ev p {
  font-size: 13px;
  line-height: 1.7;
}
section.order .rev-ev p b {
  font-weight: 800;
}

/* Sticky price table */
section.order .col-right .fixed_area {
  position: sticky !important;
  top: 20px !important;
}

/* ---- Form rows (col-mid / right) ---- */
/* Override detail_v2.css .form_container */
section.order .formwrap {
  border-top: 1px solid var(--c-line);
  margin-top: 20px;
}
/* Override detail_v2.css .form_row */
section.order .frow {
  display: flex;
  align-items: center !important;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line-2);
  margin-bottom: 0;
  min-height: 0;
  flex: unset !important;
}
/* Override detail_v2.css .form_label */
section.order .frow > .lab {
  flex: 0 0 110px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
  margin-top: 0;
}
/* Override detail_v2.css .form_buttons */
section.order .frow .fld {
  position: relative;
}
section.order .frow .grow {
  flex: 0 0 230px;
}
/* Override detail_v2.css .custom_btn { width: 100% } — inline hint siblings */
section.order .frow > .custom_btn {
  width: auto;
  flex: none;
}
section.order .frow > .custom_btn .text_label {
  padding: 0;
  width: auto;
}
section.order .frow > .custom_btn .text_label span {
  font-size: 13px;
  color: var(--c-sub);
  white-space: nowrap;
}

section.order .frow .fld select,
section.order .frow .fld input[type="text"] {
  height: 42px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--c-ink);
  background: #fff;
  outline: 0;
}
section.order .frow .fld select {
  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 fill='%23888' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
section.order .frow .grow select {
  width: 230px;
}
section.order .frow .hint {
  font-size: 13px;
  color: var(--c-sub);
  white-space: nowrap;
}

section.order .frow .hint-mm {
  display: none;
}

/* ---- qty-combo: select + unit badge ---- */
section.order .frow .qty-combo {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  height: 42px;
  background: #fff;
  width: 178px;
  flex: none;
  padding: 0;
}
section.order .frow .qty-combo .custom_select,
section.order .frow .qty-combo .custom_btn {
  display: contents;
}
section.order .frow .qty-combo select {
  border: 0 !important;
  outline: 0;
  font-size: 14px;
  color: var(--c-ink);
  padding: 0 6px 0 10px;
  height: 100%;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  min-width: 60px;
  cursor: pointer;
  flex: 1;
  width: auto !important;
  border-radius: 0;
}
section.order .frow .qty-unit {
  /* reset detail_v2.css .unit: position:absolute; right:35px; top:50%; transform:translateY(-50%) */
  position: static;
  top: auto;
  right: auto;
  transform: none;
  pointer-events: auto;
  /* new styles */
  padding: 0 10px;
  font-size: 13px;
  color: var(--c-sub);
  border-left: 1px solid var(--c-line);
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  background: #fafbfc;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---- 작업사이즈 row ---- */
section.order .frow.sz-row {
  flex-wrap: nowrap;
  align-items: center;
}
section.order .frow.sz-row > .lab {
  flex: 0 0 110px;
}
/* sz-in contains size_input_group (2 inputs + .x) */
section.order .frow.sz-row .sz-in {
  flex: none;
  width: auto;
}
section.order .frow.sz-row .sz-in .size_input_group {
  display: flex;
  align-items: center;
  gap: 0;
}
section.order .frow.sz-row .sz-in input[type="text"] {
  width: 82px;
  text-align: center;
}
section.order .frow.sz-row .x {
  flex: 0 0 auto;
  color: var(--c-mute);
  padding: 0 8px;
  font-size: 15px;
}

/* ---- Effects area (acc_section) ---- */
section.order .fx-area {
  padding: 18px 0;
  margin-top: 0;
}
/* Override detail_v2.css .acc_header { padding: 12px 0 0 0; border-bottom: 1px solid #ddd } */
section.order .fx-area > .acc_header {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line-2);
}
/* Override detail_v2.css .acc_content { padding: 15px 0 } */
section.order .fx-area > .acc_content {
  padding: 0;
}
/* form_row wrapping fx-grid: remove flex layout */
section.order .fx-grid,
section.order .form_row:has(.fx-grid) {
  display: block;
  border-bottom: none;
  padding: 0;
  gap: 0;
}
/* fx-grid itself as grid */
section.order .fx-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px;
  width: 100%;
}
section.order .eff-note {
  font-size: 13px;
  color: var(--c-primary);
  font-weight: 600;
}

/* ---- fx-warn ---- */
section.order .fx-warn {
  display: block;
  border-bottom: none;
  padding: 0;
  gap: 0;
  margin-top: 10px;
}
section.order .fx-warn .form_label {
  display: none;
}
section.order .fx-warn .txt_guide {
  font-size: 12px;
  color: var(--c-sub);
}
section.order .fx-warn .txt_guide .color_red {
  color: var(--c-point);
}

/* ---- Effects grid (form_buttons.multi_sel → fx-grid) ---- */
/* Override detail_v2.css .custom_btn layout (flex+btn_w_third) with grid */
section.order .fx-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px;
  padding: 0;
  width: 100%;
  flex-wrap: unset;
}
/* Each grid cell: override btn_w_third flex sizing */
section.order .fx-grid > .custom_btn,
section.order .fx-grid > .custom_select {
  flex: none !important;
  width: auto !important;
}
section.order .fx-grid .option_btn {
  height: 56px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  background: #fff;
  cursor: pointer;
  width: 100%;
  padding: 0;
  text-align: center;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
section.order .fx-grid .option_btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
section.order .fx-grid .option_btn.selected,
section.order .fx-grid .option_btn.choiceAdd {
  border-color: var(--c-primary);
  background: #eef5fe;
  color: var(--c-primary);
  box-shadow: none;
}

/* ---- Price summary (price_section → psum) ---- */
/* detail_v2.css: .price_section { padding:25px 0; text-align:right; border-top:1px solid #ddd; margin-top:30px } */
section.order .psum {
  border: 1px solid var(--c-line);
  border-radius: 4px;
  margin-top: 24px;
  padding: 20px 28px;
  background: #fff;
  border-top: 1px solid var(--c-line);
  text-align: left;
}
/* detail_v2.css: .price_row { margin-bottom:3px; font-size:13px; color:#666; text-align:right } */
section.order .psum .l1 {
  font-size: 13.5px;
  color: var(--c-text);
  line-height: 1.7;
  text-align: right;
  margin-bottom: 0;
}
/* detail_v2.css: .price_row .strong { color:#333; font-weight:600; font-size:15px } */
section.order .psum .l1 .strong {
  color: var(--c-ink);
  font-weight: 800;
  font-size: inherit;
}
section.order .psum .l2 {
  font-size: 13.5px;
  color: var(--c-text);
  margin-top: 4px;
  text-align: right;
  margin-bottom: 0;
}
section.order .psum .l2 .strong {
  color: var(--c-ink);
  font-weight: 800;
  font-size: inherit;
}
/* detail_v2.css: .price_row.final { margin-top:15px }
                  .price_row.final .strong { color:#F93C3C; font-weight:600; font-size:24px } */
section.order .psum .l3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line-2);
  font-size: 14px;
  color: var(--c-text);
}
section.order .psum .l3 .l3-lab {
  font-weight: 700;
  color: var(--c-ink);
}
section.order .psum .l3 .amt {
  font-size: 32px;
  font-weight: 900;
  color: var(--c-point);
  letter-spacing: -0.02em;
  margin-right: 4px;
}

/* ---- CTA buttons (action_buttons → psum-cta) ---- */
/* detail_v2.css: .action_buttons { margin:0 auto; display:flex; gap:10px }
                  .action_button { flex:1; padding:18px 15px; border-radius:2px; font-size:14px; font-weight:bold }
                  .btn_file_upload { background:#555; color:white }
                  .btn_quote { background:#159fda; color:white } */
section.order .psum-cta {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
section.order .psum-cta .action_button {
  flex: 1;
  height: 54px;
  padding: 0;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}
section.order .psum-cta .action_button:hover {
  opacity: 0.88;
}
/* override .btn_file_upload { background:#555 } */
section.order .psum-cta .upload {
  background: #4a4f57;
}
/* override .btn_quote { background:#159fda } */
section.order .psum-cta .quote {
  background: var(--c-primary);
}

/* Modal: always hidden by default, shown only via .on class */
.mob-modal-overlay {
  display: none;
}

/* ---- Tab navigation ---- */
.ptab {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 30;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.ptab .inner {
  display: flex;
  max-width: var(--container);
  margin: 0 auto;
  box-sizing: border-box;
}
.ptab a {
  flex: 1;
  text-align: center;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-sub);
  text-decoration: none;
}
.ptab a.on {
  color: #fff;
  background: #3a3f47;
}

/* ---- Product header action buttons (p-gbtns) ---- */
section.order .p-gbtns {
  display: flex;
  gap: 8px;
  margin-left: auto;
  align-items: center;
}
section.order .p-gbtns .ev {
  background: var(--c-primary);
  color: #fff;
  border-radius: 7px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3 !important;
  text-align: center;
  white-space: nowrap;
  height: 42px !important;
  padding: 7px 13px !important;
}
section.order .p-gbtns .ev small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.9;
}
section.order .prod_header {
  border-bottom: none;
}

section.order .prod_header .p-gbtns .gd {
  border: 1px solid var(--c-line);
  border-radius: 7px;
  padding: 0 14px;
  height: 42px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  background: #fff;
}

/* ===========================================================
   Responsive — tablet landscape (769px – 1024px)
   =========================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  section.order .inner {
    flex-wrap: wrap;
    gap: 28px;
  }
  section.order .layout .col-left {
    flex: 0 0 42% !important;
    width: 42% !important;
  }
  section.order .layout .col-mid {
    flex: 1 1 0 !important;
    width: auto !important;
  }
  section.order .layout .col-right {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  section.order .ptable {
    display: none !important;
  }
}

/* ===========================================================
   Responsive — mobile (≤768px)
   =========================================================== */
@media (max-width: 1024px) {
  .crumb {
    display: none !important;
  }

  section.order .breadcrumb {
    padding: 0 16px;
  }
  section.order {
    padding: 6px 0 30px;
  }
  section.order .inner {
    flex-direction: column !important;
    gap: 16px;
    padding: 0 16px;
  }
  section.order .col-left {
    flex: none !important;
    width: 100% !important;
  }
  section.order .col-mid {
    flex: none !important;
    width: 100% !important;
  }
  section.order .col-right {
    display: none !important;
  }

  /* p-gbtns: 3-column grid on mobile */
  section.order .prod_header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
  }
  section.order .p-gbtns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-left: 0;
  }
  section.order .p-gbtns .ev,
  section.order .p-gbtns .gd {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 6px !important;
    border: 1px solid var(--c-line) !important;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--c-text) !important;
    background: #fff !important;
    height: 56px !important;
    gap: 2px;
    white-space: normal;
    line-height: 1.3;
  }
  section.order .p-gbtns .ev {
    color: var(--c-primary) !important;
    border-color: var(--c-primary) !important;
    background: #eef8ff !important;
  }
  section.order .p-gbtns .ev small {
    display: none;
  }

  /* Image */
  section.order .pv-main .cont_box {
    max-height: 300px;
  }
  section.order .pv-thumbs {
    width: 100%;
    justify-content: flex-start;
  }
  section.order .pv-thumbs li {
    width: 50px;
    height: 50px;
  }

  /* Form rows: stacked */
  section.order .frow {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    align-items: flex-start;
  }
  section.order .frow > .lab {
    flex: 0 0 100% !important;
    font-size: 13px;
  }
  section.order .frow .grow {
    flex: 0 0 100% !important;
  }
  section.order .frow .fld select,
  section.order .frow .fld input[type="text"] {
    width: 100% !important;
  }
  /* hint-size 숨김, text_label hint 숨김 */
  section.order .frow .hint-size,
  section.order .frow > .custom_btn .text_label {
    display: none !important;
  }

  section.order .frow.sz-row .hint-mm {
    font-size: 13px;
    color: var(--c-sub);
    flex: 0 0 auto;
  }
  section.order .frow .hint-mm {
    display: inline-flex !important;
    align-items: center;
    font-weight: 700;
    color: var(--c-sub);
    flex: 0 0 auto;
    white-space: nowrap;
  }
  /* sz-row: 한 줄 강제 */
  section.order .frow.sz-row {
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px !important;
  }
  section.order .frow.sz-row > .lab {
    flex: 0 0 110px !important;
    font-size: clamp(12px, 3.2vw, 14px);
  }
  section.order .frow.sz-row .sz-in {
    flex: 0 0 64px !important;
    min-width: 0;
  }
  section.order .frow.sz-row .sz-in input[type="text"] {
    width: 100% !important;
    padding: 0 8px;
    font-size: 13px;
  }
  /* qty-combo: 각각 width auto, 같은 줄 */
  section.order .frow .qty-combo {
    width: auto !important;
    flex: 1 1 0 !important;
  }
  section.order .frow:has(.qty-combo) > .lab {
    flex: none !important;
    width: auto !important;
  }

  /* Effects grid: 3 columns still fine on mobile */
  section.order .fx-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Price summary */
  section.order .psum {
    padding: 16px;
    margin-top: 16px;
  }
  section.order .psum .price_row.final .strong {
    font-size: 24px;
  }

  /* CTA buttons */
  section.order .psum-cta .action_button {
    height: 48px;
    font-size: 14px;
  }

  /* Sidebox-wrap: 2 buttons side by side */
  section.order .sidebox-wrap {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }
  section.order .col-left .sidebox {
    flex: 1 1 0;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    background: #fff;
    margin-top: 0 !important;
    margin-bottom: 10px;
  }
  section.order .col-left .sidebox .sb-head {
    font-size: 14px;
    font-weight: 800;
    color: var(--c-ink);
    margin-bottom: 0;
  }
  section.order .col-left .sidebox .ext {
    display: none;
  }
  section.order .col-left .sidebox ul {
    display: none;
  }
  section.order .col-left .sidebox::after {
    content: "›";
    color: var(--c-mute);
    font-size: 20px;
    flex-shrink: 0;
  }

  /* Modal overlay */
  .mob-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    align-items: flex-end;
    justify-content: center;
  }
  .mob-modal-overlay.on {
    display: flex;
  }
  .mob-modal-box {
    background: #fff;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0 0 30px;
  }
  .mob-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--c-line);
    font-size: 16px;
    font-weight: 800;
    color: var(--c-ink);
    position: sticky;
    top: 0;
    background: #fff;
  }
  .mob-modal-head button {
    font-size: 20px;
    color: var(--c-mute);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }
  .mob-modal-body {
    padding: 20px;
  }
  .mob-modal-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mob-modal-body li {
    font-size: 14px;
    line-height: 1.8;
    padding: 8px 0 8px 16px;
    position: relative;
    border-bottom: 1px solid var(--c-line-2);
  }
  .mob-modal-body li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--c-primary);
  }
  .mob-modal-body li em {
    font-style: normal;
    font-weight: 700;
  }
  .mob-modal-body li.red {
    color: var(--c-point);
  }
  .mob-modal-body .sb-head {
    display: none;
  }

  /* Tab nav: scroll */
  .ptab a {
    flex: 0 0 auto;
    padding: 14px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
  .ptab .inner {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ptab .inner::-webkit-scrollbar {
    display: none;
  }
}

/* ---- Footer override for spec_v2.asp ---- */
footer .foot_wrap {
  max-width: 1200px !important;
} */
