:root{
  --blue:#2563eb;
  --blue2:#3b82f6;
  --line:#ededed;
  --text:#111;
  --muted:#6b7280;
  --bg:#f8fafc;
  --chip:#eff6ff;
}

/*====================
      상품 리스트 페이지
====================*/
.prd-hero{
  position:relative;
  overflow:hidden;
  background: linear-gradient(90deg, rgba(37,99,235,0.12) 0%, rgba(59,130,246,0.08) 55%, rgba(207,225,255,0.22) 100%);
  border-bottom:1px solid #f1f1f1;
  padding:54px 0 28px;
}
.prd-hero-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.prd-hero-wm{
  position:absolute;
  right:-20px;
  top:50%;
  transform:translateY(-50%);
  font-size:160px;
  font-weight:700;
  color:rgba(37,99,235,0.06);
  white-space:nowrap;
}

.prd-eyebrow{
  font-size:12px;
  font-weight:700;
  color:rgba(37,99,235,0.95);
}
.prd-hero-title{
  margin-top:10px;
  font-size:40px;
  font-weight:700;
  color:var(--text);
}
.prd-hero-desc{
  margin-top:12px;
  font-size:16px;
  color:#556;
  font-weight:600;
  max-width:680px;
  word-break:keep-all;
}

.prd-tabs{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.prd-tab{
  padding: 8px 16px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,0.18);
  background:#fff;
  color:var(--text);
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}
.prd-tab.is-active{
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  color:#fff;
  border-color:transparent;
}

.prd-toolbar{
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:18px 0 16px;
}
.prd-toolbar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.prd-search{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  height:48px;
  padding:0 4px 0 15px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
}
.prd-search i{color:rgba(17,17,17,.55);}
.prd-search input{
  width:100%;
  height:100%;
  border:0;
  outline:none;
  font-size:15px;
  font-weight:650;
  color:var(--text);
  background:transparent;
}
.prd-search-btn{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(37,99,235,0.18);
  background: var(--chip);
  color:var(--blue);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  transition: transform .18s ease, background .18s ease;
}
.prd-search-btn:hover{
  background: rgba(37,99,235,0.14);
}
.prd-search-btn i{color:var(--blue); opacity:1;}

.prd-controls{
  display:flex;
  align-items:center;
  gap:10px;
}
.prd-select{
  height:48px;
  padding:0 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-size:14px;
  font-weight:700;
  color:var(--text);
}

.prd-chips{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.chip{
  padding: 5px 14px;
  border-radius:999px;
  border:1px solid #dbeafe;
  background:#fff;
  color:#1f2937;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.chip.is-active{
  background: rgba(37,99,235,0.10);
  color:var(--blue);
  border-color: rgba(37,99,235,0.22);
}


.prd-section{
  background:#fff;
  padding:26px 0 64px;
}
.prd-meta{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:16px;
}
.prd-count{
  font-size:14px;
  font-weight:600;
  color:#374151;
}
.prd-count strong{color:var(--blue);}
.prd-tip{
  font-size:12px;
  font-weight:650;
  color:#9ca3af;
}

.prd-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:18px;
}

.prd-card{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.prd-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

.prd-thumb{
  position:relative;
  aspect-ratio: 2 / 1;
  background:#f3f4f6;
}
.prd-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.prd-badges{
  position:absolute;
  right:12px;
  top:12px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.badge{
  height:26px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  font-size:12px;
  font-weight:700;
  border:1px solid transparent;
  background:#fff;
  color:#111;
}

.b-best{color:#ff3b30; border-color:rgba(255, 59, 48, 0.5);}
.b-fast{color:var(--blue); border-color:rgba(37, 99, 235, 0.5);}
.b-hot{color:#111; border-color:rgba(17,17,17,0.2);}
.b-safe{color:#0f766e; border-color:rgba(15,118,110,0.2);}
.b-discount{color:#0c8a0c; border-color:rgba(12,138,12,0.45);}

.prd-card.is-soldout .prd-thumb::after{
  content:"품절";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.38);
  color:#fff;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

.prd-body{
  padding:16px 16px 14px;
}
.prd-name{
  font-size:16px;
  font-weight:700;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.prd-sub{
  margin-top:8px;
  font-size:13px;
  font-weight:500;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.prd-actions{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.prd-actions .mini{
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:var(--blue);
  background: rgba(37,99,235,0.10);
  border:1px solid rgba(37,99,235,0.16);
}
.wish{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.wish i{color:#111; opacity:.7;}
.wish:hover{background:#f8fafc;}
.wish.is-active i{color:#ef4444;}
.wish.is-active{i{color:#ef4444 !important;}}

.cart-grid{
  display:grid;
  gap:16px;
  margin-top:12px;
}
.cart-card{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:14px;
  display:flex;
  gap:12px;
  background:#fff;
  box-shadow:0 6px 14px rgba(15,23,42,0.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.cart-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(15,23,42,0.18);
}
.cart-thumb{
  width:88px;
  height:88px;
  border-radius:12px;
  overflow:hidden;
  flex-shrink:0;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cart-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.cart-info{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.cart-title{
  font-weight:700;
  color:#0f172a;
  line-height:1.4;
}
.cart-price{
  font-weight:600;
  color:#334155;
}
.cart-actions{
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.qty-control{
  display:inline-flex;
  align-items:center;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:6px 10px;
  background:#f8fafc;
}
.wishlist-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:18px;
}
.wishlist-header h2{
  font-size:24px;
  font-weight:700;
  margin:0;
}
.wishlist-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
  margin-top:12px;
}
.wishlist-card{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:14px;
  display:flex;
  gap:12px;
  background:#fff;
  box-shadow:0 6px 14px rgba(15,23,42,0.06);
  transition:opacity 200ms ease;
}
.wishlist-thumb{
  width:88px;
  height:88px;
  border-radius:12px;
  overflow:hidden;
  flex-shrink:0;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
}
.wishlist-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.wishlist-info{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.wishlist-title{
  font-weight:700;
  color:#0f172a;
  line-height:1.4;
}
.wishlist-price{
  font-weight:600;
  color:#334155;
}
.wishlist-actions{
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.wishlist-card .wish{
  width:36px;
  height:36px;
}
@media (max-width:540px){
  .wishlist-card{
    flex-direction:column;
    align-items:flex-start;
  }
}

.prd-paging{
  margin-top:26px;
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.pg-btn, .pg-num{
  height:40px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font-size:14px;
  font-weight:700;
  color:#111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.pg-num.is-active{
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  border-color:transparent;
  color:#fff;
}
.pg-btn.is-disabled{
  opacity:.45;
  pointer-events:none;
}


@media screen and (max-width: 1024px){
  .prd-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .prd-hero-title{font-size:34px;}
  .prd-hero-wm{font-size:120px;}

}

@media screen and (max-width: 768px){
  .prd-hero-title{font-size:30px;}
  .prd-hero-desc {font-size: 14px; margin-top: 10px;}
  .prd-hero-wm{font-size:100px;}
  .prd-tabs{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.prd-tab{
  padding: 5px 13px;
  font-size:12px;
}
}

@media screen and (max-width: 500px){
  .prd-grid{grid-template-columns: 1fr;}
  .prd-meta{flex-direction:column; align-items:flex-start;}
  .prd-toolbar-row{flex-direction:column; align-items:stretch;}
  .prd-search {
    padding: 5px 10px 5px 14px;
  }
  .prd-search-btn {
    width: 35px;
    height: 35px;
  }
  .prd-select{
    font-size: 12px;
    height: auto;
    padding: 10px 10px;
  }
  .chip{
  padding: 5px 13px; font-size:12px;}
}


@media screen and (max-width: 360px){
  .prd-hero-title{font-size:28px;}
  .pg-btn, .pg-num {
    height: 30px;
    font-size: 12px;
    padding: 0 10px;
    border-radius: 8px;
  }
}

/*====================
      상품 구매 페이지
====================*/

.prd-detail-page{
  background:#fff;
  padding: 34px 0 70px;
}

.prd-detail-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items:start;
}
.prd-left {
  width: 100%;
}
.prd-left-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
  overflow:hidden;
}
.prd-preview .prd-thumb{
  aspect-ratio: 2 / 1;
  background:#f3f4f6;
}
.prd-preview .prd-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.prd-preview .prd-body{
  padding:16px 16px 14px;
}

.prd-info-tabs{
  display:flex;
  gap:10px;
  padding: 14px 16px 0;
  flex-wrap:wrap;
}

.info-tab{
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,0.18);
  background:#fff;
  color:#111;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}

.info-tab.is-active{
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  color:#fff;
  border-color:transparent;
}

.prd-info-panel{
  padding: 14px 16px 18px;
}

.info-box{
  border:1px solid #eef2ff;
  background: rgba(37,99,235,0.02);
  border-radius:16px;
  padding: 16px;
}

.info-pane{
  display:none;
}

.info-pane.is-active{
  display:block;
}

.info-group{
  padding: 10px 0;
}

.info-group + .info-group{
  border-top:1px solid rgba(37,99,235,0.14);
  margin-top: 10px;
}

.info-title{
  font-size:16px;
  font-weight:650;
  color:#111;
  margin-bottom: 10px;
}

.info-dl{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.info-row{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap:12px;
  align-items:start;
  padding: 7px 0px;
  align-items: center;
}

.info-row dt{
  font-size:13px;
  font-weight:650;
  color:#334155;
}

.info-row dd{
  margin:0;
  font-size:13px;
  font-weight:500;
  color:#111;
}

.info-link{
  color: var(--blue);
  font-weight:600;
  text-decoration:none;
}

.info-items{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.info-items li{
  padding: 2px 0;
  font-size:13px;
  font-weight:500;
  color:#111;
  position: relative;
  padding-left: 10px;
}
.info-items li::after{
  position: absolute;
  left: 2px;
  top: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  content: "";
  width: 3px;
  height: 3px;
  background: var(--blue);
  
}

.prd-buy-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
  padding: 18px;
  position: sticky;
  top: 92px;
}

.buy-head{
  padding-bottom: 14px;
  border-bottom:1px solid #f1f1f1;
}
.buy-eyebrow{
  font-size:12px;
  font-weight:700;
  color: rgba(37,99,235,0.95);
}
.buy-title{
  margin-top:8px;
  font-size:22px;
  font-weight:700;
  color:#111;
}
.buy-desc{
  margin-top:8px;
  font-size:13px;
  font-weight:500;
  color:#64748b;
}

.buy-sec{
  margin-top: 16px;
}
.buy-sec-title{
  font-size:14px;
  font-weight:700;
  color:#111;
  margin-bottom:10px;
}

.denom-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.denom-row{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.denom-row.is-selected{
  border-color: rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.10);
}

.denom-left{
  min-width:0;
}

.denom-row .denom-name{
  font-size:15px;
  font-weight:700;
  color:#111;
}

.denom-row.is-selected .denom-name{
  color: var(--blue);
}

.denom-row .denom-sub{
  margin-top:6px;
  font-size:12px;
  font-weight:600;
  color:#64748b;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 240px;
  width: 100%;
}

.qty{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
  padding: 6px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#fff;
}

.qty-btn{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  font-size:18px;
  font-weight:700;
  color:#111;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.qty-btn:hover{
  background:#eef2ff;
  border-color: rgba(37,99,235,0.22);
}

.qty-input{
  width:46px;
  height:34px;
  border:0;
  outline:none;
  text-align:center;
  font-size:14px;
  font-weight:700;
  color:#111;
  background:transparent;
}

.denom-name{
  display:block;
  font-size:15px;
  font-weight:700;
  color:#111;
}
.denom-sub{
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:600;
  color:#64748b;
}

.price-box{
  border:1px solid #eef2ff;
  background: rgba(37,99,235,0.06);
  border-radius:16px;
  padding: 14px;
}
.price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 8px 2px;
}
.price-row .k{
  font-size:13px;
  font-weight:700;
  color:#334155;
}
.price-row .v{
  font-size:13px;
  font-weight:700;
  color:#111;
}
.price-row .v.is-minus{
  color:#ef4444;
}
.price-line{
  height:1px;
  background: rgba(37,99,235,0.18);
  margin: 10px 0;
}
.price-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 8px 2px;
}
.price-total .k{
  font-size:14px;
  font-weight:700;
  color:#111;
}
.price-total .v.is-total{
  font-size:18px;
  font-weight:700;
  color: var(--blue);
}
.price-tip{
  margin-top:10px;
  font-size:12px;
  font-weight:400;
  color:#94a3b8;
}

.pay-methods{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.pay-btn{
  height:46px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  color:#111;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.pay-btn i{opacity:.75;}
.pay-btn:hover{
  background:#f8fafc;
}
.pay-btn.is-active{
  border-color: rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.10);
  color: var(--blue);
}
.final-pay-summary{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(37,99,235,0.18);
  background: rgba(37,99,235,0.06);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  text-align:right;
}
.final-pay-summary .k{
  font-size:13px;
  font-weight:700;
  color:#334155;
}
.final-pay-meta{
  font-size:12px;
  font-weight:700;
  line-height:1.25;
  color:#475569;
}
.final-pay-meta.is-discount{
  color:#047857;
}
.final-pay-meta.is-surcharge{
  color:#dc2626;
}
.final-pay-meta.is-hidden{
  display:none;
}
.final-pay-summary .v{
  font-size:28px;
  line-height:1.2;
  font-weight:900;
  color: var(--blue);
}

.agree{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  padding: 10px 10px 20px 10px;
}
.agree input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.agree-box{
  width:20px;
  height:20px;
  border-radius:6px;
  border:1px solid #cbd5e1;
  background:#fff;
  display:inline-block;
  position:relative;
  flex:0 0 auto;
}
.agree input:checked + .agree-box{
  border-color: rgba(37,99,235,0.45);
  background: rgba(37,99,235,0.12);
}
.agree input:checked + .agree-box::after{
  content:"";
  position:absolute;
  left:5px;
  top:1px;
  width:6px;
  height:10px;
  border-right:2px solid var(--blue);
  border-bottom:2px solid var(--blue);
  transform: rotate(45deg);
}
.agree-text{
  font-size:13px;
  font-weight:600;
  color:#334155;
}

.buy-cta{
  margin-top: 16px;
}
.buy-submit{
  width:100%;
  height:54px;
  border:0;
  border-radius:16px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition: background .5s ease;
}
.buy-submit:hover{
  background: linear-gradient(90deg, #1d4eb9, #2563eb);
}
.buy-note{
  margin-top:10px;
  text-align:center;
  font-size:12px;
  font-weight:500;
  color:#94a3b8;
}

/* buy button override (detail page) */
.buy-btn{
  width:100%;
  height:54px;
  border:0;
  border-radius:16px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  color:#fff;
  font-size:16px;
  font-weight:800;
  letter-spacing:-0.2px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(37,99,235,0.25);
  transition: transform .08s ease, box-shadow .12s ease, background .2s ease;
}
.buy-btn:hover{
  transform: translateY(-1px);
  box-shadow:0 14px 28px rgba(37,99,235,0.3);
}
.buy-btn:active{
  transform: translateY(0);
  box-shadow:0 10px 20px rgba(37,99,235,0.22);
}

.buy-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.buy-actions form{
  flex:1 1 50%;
}

@media screen and (max-width: 1024px){
  .prd-detail-grid{
    grid-template-columns: 1fr;
  }
  .prd-buy-card{
    position: static;
    top:auto;
  }
}
@media screen and (max-width: 480px){
  .info-tab {
    font-size: 12px;
    height: 30px;
  }
  .prd-info-tabs {
    padding-top: 0;
  }
  .info-group {
    padding: 0;
  }
  .info-group + .info-group {
    padding-top: 10px;
  }
  .info-title {
    font-size: 14px;
  }
  .info-row {
    grid-template-columns: 60px 1fr;
  }
  .info-row dt,
  .info-row dd,
  .info-items li {
    font-size: 12px;
  }
  .info-items li::after {
    top: 9px;
  }
  .info-dl {
    gap: 5px;
  }


  .buy-title {
    font-size: 18px;
  }
  .buy-desc,
  .denom-row .denom-sub,
  .price-tip,
  .buy-note {
    font-size: 11px;
  }

  .prd-buy-card{
    padding: 16px;
  }
  .pay-methods{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .final-pay-summary .v{
    font-size:24px;
  }
}

@media screen and (max-width: 360px){
  .denom-row {
    gap: 8px;
    padding: 8px 10px;
  }
  .denom-row .denom-name {
    font-size: 13px;
  }
  .denom-row .denom-sub {
    margin-top: 5px;
  }
  .qty {
    gap: 5px;
  }
  .qty-btn {
    width: 28px;
    height: 28px;
  }
  .qty-input {
    width: 40px;
    height: 28px;
    font-size: 12px;
  }
}


/*====================
      마이페이지
====================*/

.mypage-page{
  padding: 26px 0 60px;
}

.mypage-hero{ margin-bottom: 18px; }

.mypage-usercard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 18px 18px;
  border: 1px solid #e9eefc;
  border-radius: 18px;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
}

.mypage-title{
  margin: 20px 0 40px;
  font-size: 30px;
  font-weight: 800;
  text-align: center;
}

.mypage-user-name{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 0 0 8px;
}

.mypage-user-name strong{
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.mypage-user-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  color: #334155;
  font-size: 13px;
}

.mypage-user-meta b{ color:#0f172a; font-weight: 700; }

.mypage-meta-dot{
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c7d2fe;
}

.mypage-page .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  text-decoration:none;
  cursor:pointer;
  background: #fff;
  color:#0f172a;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
}
.mypage-page .btn-ghost,
.mypage-page .btn-primary{
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  color:#fff;
  border-color: rgba(37,99,235,.20);
}

.mypage-page .mypage-btn-delete,
.mypage-page .mypage-btn-alldelete{
  background:#fff;
  border-color:#dbe7ff;
  color:#1d4ed8;
}

.mypage-page .btn:hover{
  filter: brightness(.98);
}

.mypage-sections{
  display:flex;
  flex-direction:column;
  gap: 16px;
}

.mypage-card{
  border: 1px solid #e9eefc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
  overflow:hidden;
}

.mypage-card-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #eef2ff;
}

.mypage-card-title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.mypage-card-sub{
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.mypage-order-filter,
.mypage-qna-filter{
  padding: 14px 18px 12px;
  border-bottom: 1px solid #eef2ff;
}

.mypage-filter-row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items:end;
  padding: 20px;
}

.mypage-field{ display:flex; flex-direction:column; gap: 8px; }

.mypage-field-wrap01{
  width: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 100px;
  gap: 20px;
}

.mypage-field-wrap02{
  width: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr 100px;
  gap: 20px;
}

.mypage-lbl{
  font-size: 12px;
  font-weight: 700;
  color:#334155;
  padding-left: 5px;
}

.mypage-lbl-hide{ visibility:hidden; }

.mypage-range{
  display:flex;
  align-items:center;
  gap: 8px;
}

.mypage-range-tilde{
  color:#94a3b8;
  font-weight: 700;
}

.mypage-input,
.mypage-select{
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background:#fff;
  font-size: 13px;
  font-weight: 700;
  color:#0f172a;
  outline: none;
}

.mypage-input:focus,
.mypage-select:focus{
  border-color:#93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.mypage-filter-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 12px;
}

.mypage-left-actions{ display:flex; gap: 8px; flex-wrap:wrap; }

.mypage-hint{
  margin:0;
  font-size: 13px;
  font-weight: 700;
  color:#475569;
}

.mypage-hint b{ color:#0f172a; font-weight: 700; }

.mypage-chips{ display:flex; gap: 8px; flex-wrap:wrap; }

.mypage-chip{
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dbe7ff;
  background:#fff;
  color:#2563eb;
  font-size: 13px;
  font-weight: 700;
  cursor:pointer;
}

.mypage-chip.is-active{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.25);
}

.mypage-table-wrap{ padding: 0 18px 14px; }

.mypage-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  overflow:hidden;
  border: 1px solid #eef2ff;
  border-radius: 16px;
  background:#fff;
  table-layout: fixed;
}

.mypage-table thead th{
  background:#f4f7ff;
  color:#334155;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 10px;
  border-bottom: 1px solid #eef2ff;
  text-align: center;
  white-space: nowrap;
}

.mypage-table tbody td{
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  color:#0f172a;
  border-bottom: 1px solid #f1f5ff;
  text-align: center;
}

.mypage-table tbody tr:last-child td{ border-bottom: 0; }

.mypage-th-chk{ width: 46px; }
.mypage-td-chk{ width: 46px; }

.mypage-table td{
  min-width: 0;
}

.mypage-link{
  color:#1d4ed8;
  text-decoration:none;
  max-width: 100%;
  min-width: 0;
  display: block;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-link:hover{ text-decoration: underline; }

.mypage-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}

.mypage-p-green{ background: rgba(16,185,129,.12); color:#047857; border-color: rgba(16,185,129,.20); }
.mypage-p-blue{ background: rgba(37,99,235,.12); color:#1d4ed8; border-color: rgba(37,99,235,.20); }
.mypage-p-gray{ background: rgba(100,116,139,.12); color:#334155; border-color: rgba(100,116,139,.20); }
.mypage-p-amber{ background: rgba(245,158,11,.14); color:#92400e; border-color: rgba(245,158,11,.22); }

.mypage-chk{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}

.mypage-chk input{
  position:absolute;
  opacity:0;
  width: 1px;
  height: 1px;
}

.mypage-chk-ui{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
  background:#fff;
  display:inline-block;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
  position:relative;
}

.mypage-chk input:checked + .mypage-chk-ui{
  border-color:#2563eb;
  background: rgba(37,99,235,.12);
}

.mypage-chk input:checked + .mypage-chk-ui::after{
  content:"";
  position:absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #2563eb;
  border-bottom: 2px solid #2563eb;
  transform: rotate(45deg);
}

.mypage-paging{
  display:flex;
  gap: 8px;
  justify-content:center;
  padding: 0 18px 18px;
}

.mypage-pg-btn,
.mypage-pg-num{
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #e9eefc;
  background:#fff;
  color:#334155;
  font-size: 13px;
  font-weight: 700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
}

.mypage-pg-num.is-active{
  background: rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.25);
  color:#1d4ed8;
}

.mypage-btn-delete,
.mypage-btn-alldelete{
  border-color:#dbe7ff;
  color:#1d4ed8;
}

@media (max-width: 1024px){
  .mypage-filter-row{ flex-wrap:wrap; }
  .mypage-field-wrap01,
  .mypage-field-wrap02{ width: 100%; }
}

@media (max-width: 640px){
  .mypage-usercard{
    flex-direction:column;
    align-items:flex-start;
  }
  .mypage-user-right{ width:100%; }
  .mypage-user-right .btn{ width:100%; }

  .mypage-card-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .mypage-head-right{ width:100%; }
  .mypage-head-right .btn{ width:100%; }
}

@media (max-width:768px) {
  .mypage-table thead{ display:none; }
  .mypage-table tbody{ display:flex; flex-direction:column; gap: 10px; }
  .mypage-table tbody tr{
    display:block;
    border: 1px solid #eef2ff;
    border-radius: 16px;
    background:#fff;
    box-shadow: 0 5px 10px rgba(0,0,0,.03);
    overflow:hidden;
  }

  .mypage-table tbody td{
    display:flex;
    justify-content:space-between;
    gap: 12px;
    border-bottom: 1px solid #f1f5ff;
    padding: 12px 12px;
  }

  .mypage-table tbody td:last-child{ border-bottom:0; }

  .mypage-table tbody td::before{
    content: attr(data-label);
    color:#64748b;
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
  }

  .mypage-td-chk{ justify-content:flex-start; }
}

@media (max-width: 520px){
  .mypage-table-wrap{ padding: 0 14px 14px; }
  .mypage-order-filter,
  .mypage-qna-filter{ padding: 14px 14px 12px; }

  .mypage-table{
    border: 0;
    border-radius: 0;
  }

  

  .mypage-field-wrap01{ grid-template-columns: 1fr 1fr; }
  .mypage-field-wrap02{ grid-template-columns: 1fr 1fr; }
  .mypage-field-btn{ grid-column: 1 / -1; }
}

@media (max-width: 450px){
  .mypage-user-meta {
    flex-wrap: wrap;
    gap: 5px;
  }
  .mypage-meta-item {
    width: 100%;
  }
  .mypage-meta-dot {
    display: none;
  }

  .mypage-field-wrap01,
  .mypage-field-wrap02 {
    gap: 10px;
  }
}

@media (max-width: 360px){
  .mypage-filter-row {
    align-items: unset;
  }
  .mypage-filter-row{ flex-direction:column; }
  .mypage-range{ flex-direction:column; align-items:stretch; }
  .mypage-range-tilde{ display:none; }
  .mypage-field-wrap01 {
    grid-template-columns: 1fr;
  }
}

.mypage-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.mypage-modal.is-open{
  display: block;
}

.mypage-modal-dim{
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,.55);
}

.mypage-modal-panel{
  position: relative;
  width: min(760px, calc(100% - 28px));
  margin: 80px auto 0;
  border-radius: 18px;
  border: 1px solid #e9eefc;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  overflow: hidden;
}

.mypage-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2ff;
}

.mypage-modal-title{
  font-size: 16px;
  font-weight: 700;
  color:#0f172a;
}

.mypage-modal-body{
  padding: 18px;
  max-height: calc(100vh - 260px);
  overflow: auto;
  background:#fff;
}

.mypage-modal-foot{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid #eef2ff;
  background:#fbfcff;
}

.mypage-modal-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mypage-modal-box{
  border: 1px solid #eef2ff;
  border-radius: 16px;
  padding: 12px 12px;
  background:#fff;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
}

.mypage-modal-row{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5ff;
}

.mypage-modal-row:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.mypage-modal-k{
  font-size: 12px;
  font-weight: 700;
  color:#64748b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-modal-v{
  font-size: 13px;
  font-weight: 600;
  color:#0f172a;
}

.mypage-modal-section{
  margin-top: 12px;
}

.mypage-modal-section:first-child{
  margin-top: 0;
}

.mypage-modal-h3{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color:#0f172a;
}

.mypage-modal-text{
  border: 1px solid #eef2ff;
  border-radius: 16px;
  padding: 12px 12px;
  background:#fff;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
  font-size: 13px;
  font-weight: 500;
  color:#0f172a;
}

.mypage-modal-foot{
  display:flex;
  gap: 10px;
  justify-content:flex-end;
  align-items:center;
}

.mypage-modal-foot .btn{
  min-width: 92px;
}

.mypage-modal .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  text-decoration:none;
  cursor:pointer;
  background:#fff;
  color:#0f172a;
  box-shadow: 0 5px 10px rgba(0,0,0,.03);
}

.mypage-modal .btn-primary{
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  color:#fff;
  border-color: rgba(37,99,235,.20);
}

.mypage-modal .btn-ghost{
  background:#fff;
  border-color:#dbe7ff;
  color:#2563eb;
}

.mypage-modal .btn:hover{
  filter: brightness(.98);
}




@media (max-width: 720px){
  .mypage-modal-panel{
    margin: 52px auto 0;
  }
  .mypage-modal-grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px){
  .mypage-modal-v,
  .mypage-modal-text {
    font-size: 12px;
  }
  .mypage-modal .btn {
    font-size: 12px;
    height: 30px;
  }
}

/*====================
      공지사항
====================*/


.notice_page{
  padding: 34px 0 60px;
}

.notice-hero{
  padding: 18px 0 16px;
}

.notice-eyebrow{
  font-size: 12px;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 6px;
}

.notice-title{
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.notice-sub{
  font-size: 14px;
  color: #64748b;
  word-break: keep-all;
}

.notice-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 14px;
  padding: 14px;
  border: 1px solid #eef2f7;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

.notice-search{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  width: min(520px, 100%);
}

.notice-input{
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: #0f172a;
}

.notice-input:focus{
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.notice-btn{
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.notice-btn:hover{
  filter: brightness(1.02);
}

.notice-filters{
  display: flex;
  gap: 8px;
}

.notice-select{
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 12px;
  background: #fff;
  color: #0f172a;
  outline: none;
}

.notice-select:focus{
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.notice-board{
  border: 1px solid #eef2f7;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

.notice-empty{
  padding: 38px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.notice-head{
  display: grid;
  grid-template-columns: 90px 1fr 140px 90px;
  gap: 10px;
  padding: 14px 14px;
  background:rgba(37,99,235,0.06);
  border-bottom: 1px solid #eef2f7;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.notice-row{
  display: grid;
  grid-template-columns: 90px 1fr 140px 90px;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.notice-row:last-child{
  border-bottom: 0;
}

.notice-row:hover{
  background: rgba(37,99,235,0.035);
}

.notice-row.is-pin{
  background: rgba(37,99,235,0.03);
}

.col-no, .col-date, .col-view{
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.col-no {
  font-weight: 700;
}

.col-title{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.notice-row-title{
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.notice-row span {
  color: #64748b;
}

.notice-row .notice-row-meta{
  font-size: 12px;
  color: #2563eb;
  font-weight: 800;
  flex: 0 0 auto;
}

.notice-row .tag-pin{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(37,99,235,0.12);
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}



.notice-foot{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}


.paging{
  display: flex;
  gap: 6px;
  align-items: center;
}


.pg-btn, .pg-num{
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pg-num.is-active{
  border-color: rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.10);
  color: #2563eb;
}

.pg-btn.is-disabled{
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width:768px) {
  .notice-toolbar {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .notice-search {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }
  
  .notice-input {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 12px;
  }
  .notice-btn {
    height: auto;
    font-size: 12px;
    padding: 10px 20px ;
    white-space: nowrap;
  }
  .notice-select {
    height: auto;
    font-size: 10px;
    padding: 8px 15px;
    border-radius: 10px;
  }
  .notice-head {
    font-size: 13px;
  }
  .notice-head,
  .notice-row {
    grid-template-columns: 50px 1fr 100px 50px;
  }
  .notice-row-title{
    font-size: 13px;
  }
  .col-no, .col-date, .col-view {
    font-size: 12px;
  }
  
}

@media (max-width:500px) {
  .notice-toolbar {
    gap: 10px;
    padding: 10px;
  }
  .notice-search {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .notice-btn {
    width: 100%;
    justify-content: center;
  }
  .notice-head {
    font-size: 11px;
  }
  .notice-head,
  .notice-row {
    grid-template-columns: 30px 1fr 80px 30px;
  }

  .notice-row-title{
    font-size: 11px;
  }
  .notice-row .notice-row-meta,
  .col-no, .col-date, .col-view, .col-title {
    font-size: 10px;
  }
  .notice-row .tag-pin {
    font-size: 10px;
    height: auto;
    padding: 3px 5px;
  }

}

@media (max-width:430px) {
  .notice-title {
    font-size: 25px;
  }
  .notice-eyebrow {
    font-size: 10px;
  }
  .notice-sub {
    font-size: 12px;
  }
  .notice-head,
  .notice-row {
    grid-template-columns: 30px 1fr 80px;
    padding: 10px;
  }
  .col-view {
    display: none;
  }
  .pg-btn, .pg-num {
    font-size: 10px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    padding: 0;
  }
}

/*====================
      공지사항 뷰페이지
====================*/

.notice_view_page{
  padding: 34px 0 60px;
}

.notice-view-hero{
  padding: 18px 0 16px;
}

.notice-view-card{
  border: 1px solid #eef2f7;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
  overflow: hidden;
}

.notice-view-top{
  padding: 18px 18px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: rgba(37,99,235,0.03);
}


.notice-view-title{
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.notice-view-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.notice-view-meta b{
  color: #0f172a;
  font-weight: 600;
}

.meta-dot{
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(37,99,235,0.25);
}

.notice-view-body{
  padding: 18px 18px 20px;
}

.notice-view-p{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  word-break: keep-all;
}

.notice-view-box{
  border: 1px solid rgba(37,99,235,0.12);
  background: rgba(37,99,235,0.04);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
}

.notice-view-files{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.notice-file-list{
  display: flex;
  gap: 10px;
}

.notice-file{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
}

.notice-file i{
  color: #2563eb;
  opacity: 0.9;
}

.notice-file:hover{
  background: rgba(37,99,235,0.04);
  border-color: rgba(37,99,235,0.20);
}

.notice-view-nav{
  margin-top: 14px;
  border: 1px solid #eef2f7;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

.notice-nav-row{
  display: grid;
  grid-template-columns: 80px 1fr 110px;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.notice-nav-row:last-child{
  border-bottom: 0;
}

.notice-nav-row:hover{
  background: rgba(37,99,235,0.035);
}

.notice-nav-k{
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-align: center;
}

.notice-nav-t{
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-nav-d{
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
}

.notice-view-actions{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.notice-back-btn{
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(37,99,235,0.22);
  background: rgba(37,99,235,0.10);
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notice-back-btn:hover{
  background: rgba(37,99,235,0.14);
}

@media (max-width:768px){
  .notice-view-title{
    font-size: 18px;
  }
  .notice-nav-row{
    grid-template-columns: 70px 1fr 90px;
  }
  .notice-view-p{
    font-size: 13px;
  }
}

@media (max-width:500px){
  .notice-view-top,
  .notice-view-body{
    padding: 14px;
  }
  .notice-nav-row{
    grid-template-columns: 60px 1fr 80px;
    padding: 12px;
  }
  .notice-nav-k,
  .notice-nav-t{
    font-size: 12px;
  }
  .notice-nav-d{
    font-size: 11px;
  }
}

@media (max-width:430px){
  .notice-view-meta{
    flex-wrap: wrap;
    gap: 8px;
  }
  .meta-dot{
    display: none;
  }
  .notice-nav-row{
    grid-template-columns: 60px 1fr;
  }
  .notice-nav-d{
    display: none;
  }
}

/*====================
      FAQ 뷰페이지
====================*/

.faq_page{
  padding: 34px 0 60px;
}

.faq_page .sub-container {
  max-width: 980px;
}

.faq-hero{
  padding: 18px 0 16px;
}

.faq-eyebrow{
  font-size: 12px;
  font-weight: 600;
  color: var(--blue2);
  margin-bottom: 6px;
}

.faq-title{
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.faq-sub{
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.faq-wrap{
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item{
  border: 1px solid #eef2f7;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

.faq-item.is-open{
  border-color: rgba(37,99,235,0.22);
}

.faq-q{
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 14px;
  text-align: left;
}

.faq-q-badge{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.10);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(37,99,235,0.14);
}

.faq-q-text{
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faq-a{
  overflow: hidden;
  max-height: 0;
  transition: max-height .26s ease;
  border-top: 1px solid #f1f5f9;
  background: rgba(37,99,235,0.02);
}

.faq-a-inner{
  padding: 14px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

@media (max-width: 768px){
  .faq-title{ font-size: 26px; }
  .faq-q-text{ font-size: 13px; }
  .faq-a-inner{ font-size: 12px; }
}

@media (max-width: 430px){
  .faq-title{ font-size: 25px; }
  .faq-eyebrow {font-size: 10px;}
  .faq-sub{ font-size: 12px; }
  .faq-q{ padding: 12px 12px; }
  .faq-a-inner{ padding: 12px 12px; }
}

/*====================
      이용 가이드
====================*/

.guide-page{
  padding: 40px 0 70px;
  background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, rgba(255,255,255,1) 32%);
}

.guide-page .sub-container{
  max-width: 1080px;
}

.guide-hero{
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap:28px;
  align-items:center;
  padding:18px 0 12px;
}

.guide-hero-text{}

.guide-eyebrow{
  font-size:12px;
  font-weight:700;
  color:var(--blue2);
  letter-spacing:0.08em;
}

.guide-title{
  margin-top:10px;
  font-size:38px;
  font-weight:800;
  color:#0f172a;
}

.guide-desc{
  margin-top:10px;
  font-size:15px;
  line-height:1.7;
  color:#475569;
  max-width:640px;
  word-break: keep-all;
}

.guide-hero-actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.guide-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  border:1px solid #dbeafe;
  background:#fff;
  color:var(--blue);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.guide-btn.primary{
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  color:#fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37,99,235,0.25);
}

.guide-btn.ghost{
  background:#fff;
}

.guide-btn:hover{ transform: translateY(-1px); }

.guide-hero-visual{
  display:flex;
  justify-content:flex-end;
}

.guide-img-placeholder{
  width:100%;
  min-height:220px;
  border-radius:20px;
  border:1px dashed #bfdbfe;
  background: #eff6ff;
  color:#1d4ed8;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  gap:6px;
  padding:24px;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,0.04);
}

.guide-img-placeholder.large{
  min-height:320px;
  background: #f8fafc;
}

.guide-img-placeholder span{font-weight:800; font-size:15px;}
.guide-img-placeholder small{color:#64748b; font-size:12px;}

.guide-section{
  margin-top:46px;
}

.guide-section-head{
  max-width:760px;
}

.guide-section-title{
  margin-top:6px;
  font-size:30px;
  font-weight:800;
  color:#0f172a;
}

.guide-section-desc{
  margin-top:10px;
  font-size:15px;
  line-height:1.7;
  color:#475569;
}

.guide-steps{
  margin-top:24px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap:16px;
}

.guide-step{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:18px 16px;
  box-shadow:0 6px 14px rgba(0,0,0,0.03);
}

.guide-step-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:26px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(37,99,235,0.10);
  color:var(--blue);
  font-size:12px;
  font-weight:800;
  letter-spacing:0.04em;
  border:1px solid rgba(37,99,235,0.14);
}

.guide-step-title{
  margin-top:10px;
  font-size:18px;
  font-weight:800;
  color:#0f172a;
}

.guide-step-desc{
  margin-top:8px;
  font-size:14px;
  color:#475569;
  line-height:1.6;
}

.guide-step-list{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#1f2937;
  font-size:13px;
  font-weight:700;
}

.guide-step-list li{position:relative; padding-left:14px;}
.guide-step-list li::before{
  content:"";
  width:6px; height:6px;
  border-radius:50%;
  background:var(--blue2);
  position:absolute; left:0; top:8px;
}

.guide-split{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap:18px;
  align-items:center;
}

.guide-visual-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:16px;
  box-shadow:0 8px 18px rgba(0,0,0,0.04);
}

.guide-panel{
  background:#0f172a;
  color:#e2e8f0;
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 22px rgba(15,23,42,0.28);
}

.guide-panel-title{
  margin-top:6px;
  font-size:22px;
  font-weight:800;
}

.guide-check-list{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
  line-height:1.6;
}

.guide-check-list strong{color:#fff;}

.guide-note{
  margin-top:14px;
  padding:12px 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  color:#cbd5e1;
  font-size:13px;
}

.guide-cta{
  margin-top:52px;
}

.guide-cta-inner{
  border-radius:18px;
  padding:24px 24px;
  background: linear-gradient(135deg, rgba(37,99,235,0.94), rgba(59,130,246,0.85));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  box-shadow:0 14px 28px rgba(37,99,235,0.35);
}

.guide-cta-title{
  margin-top:6px;
  font-size:22px;
  font-weight:800;
  line-height:1.5;
}

.guide-cta-desc{
  margin-top:6px;
  font-size:14px;
  color: rgba(255,255,255,0.86);
  max-width:640px;
  line-height:1.6;
}

.guide-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.guide-cta .guide-btn{box-shadow:none; border-color:rgba(255,255,255,0.4); color:#0f172a;}
.guide-cta .guide-btn.primary{background:#fff; color:var(--blue); box-shadow:none;}
.guide-cta .guide-btn.ghost{background:transparent; color:#fff;}

@media (max-width: 900px){
  .guide-title{font-size:34px;}
  .guide-section-title{font-size:26px;}
}

@media (max-width: 640px){
  .guide-cta-inner{flex-direction:column; align-items:flex-start;}
  .guide-hero{grid-template-columns:1fr;}
  .guide-img-placeholder{min-height:180px;}
}

  
