/* BASIC css start */
/* ==========================================
   1. MEREN Base & Global Layout
   ========================================== */
.meren * {
  box-sizing: border-box;
}

.meren {
  margin: 0;
  color: #222;
  font-family: Arial, 'Noto Sans KR', sans-serif;
  background: #fff;
}

.meren .wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.meren .promo {
  height: 38px;
  background: #272522;
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .3px;
  padding: 12px;
}

.meren .head {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1240px;
  margin: auto;
  padding: 0 24px;
}

.meren .logo {
  font-family: Georgia, serif;
  font-size: 31px;
  letter-spacing: 6px;
}

.meren .icons {
  position: absolute;
  right: max(24px, calc((100% - 1192px) / 2));
  font-size: 18px;
}

.meren .hamb {
  display: none;
  border: 0;
  background: none;
  font-size: 22px;
}

.meren .search {
  display: none;
}

.meren .hot,
.meren .cats {
  display: flex;
  justify-content: center;
  gap: 34px;
  border-top: 1px solid #eee;
  height: 48px;
  align-items: center;
  font-size: 13px;
}

.meren .cats {
  background: #faf9f7;
  border-bottom: 1px solid #eee;
}

.meren .red {
  color: #c84035;
  font-weight: bold;
}


/* ==========================================
   2. Hero & Quick Menu
   ========================================== */
.meren .hero {
  height: 570px;
  background: linear-gradient(90deg, #e8e3dc 0%, #eeeae5 55%, #d8d1c9 100%);
  display: flex;
  align-items: center;
}

.meren .hero > div {
  width: 1240px;
  margin: auto;
  padding: 0 70px;
}

.meren .hero span,
.meren .title small,
.meren .pantscopy small,
.meren .size small {
  letter-spacing: 2px;
  font-size: 11px;
}

.meren .hero h1 {
  font-family: Georgia, 'Noto Serif KR', serif;
  font-size: 47px;
  font-weight: 400;
  line-height: 1.25;
  margin: 18px 0;
}

.meren .hero p {
  color: #68625d;
}

.meren .hero button,
.meren .pants button,
.meren .size button {
  margin-top: 18px;
  border: 1px solid #333;
  background: transparent;
  padding: 14px 22px;
}

.meren .quick {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  padding-top: 34px;
  padding-bottom: 10px;
}

.meren .quick div {
  text-align: center;
  font-size: 22px;
}

.meren .quick b {
  display: block;
  font-size: 12px;
  margin-top: 9px;
}


/* ==========================================
   3. Sections, Grids & Products
   ========================================== */
.meren .section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.meren .title {
  text-align: center;
  margin-bottom: 34px;
}

.meren .title.left {
  text-align: left;
}

.meren .title h2 {
  font-family: Georgia, 'Noto Serif KR', serif;
  font-size: 29px;
  font-weight: 400;
  margin: 10px 0;
}

.meren .title p {
  font-size: 13px;
  color: #777;
}

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

.meren .card .pic {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #e7e3de, #d5d0ca);
  position: relative;
}

.meren .card:nth-child(2n) .pic {
  background: linear-gradient(145deg, #dedbd6, #c9c4bd);
}

.meren .badge {
  position: absolute;
  left: 9px;
  top: 9px;
  background: #292725;
  color: #fff;
  font-size: 10px;
  padding: 6px 8px;
}

.meren .card h3 {
  font-size: 14px;
  font-weight: 400;
  margin: 13px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meren .price strong {
  font-size: 17px;
}

.meren .price del {
  font-size: 11px;
  color: #aaa;
  margin-left: 6px;
}

.meren .price em {
  font-style: normal;
  color: #c43b32;
  font-weight: bold;
  margin-left: 6px;
}

.meren .meta {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
}

.meren .soft {
  background: #f7f5f2;
}

.meren .more {
  display: block;
  margin: 40px auto 0;
  border: 1px solid #bbb;
  background: #fff;
  padding: 13px 30px;
}


/* ==========================================
   4. Special Components (Pants, Size, Steps, Reviews)
   ========================================== */
.meren .prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.meren .prices div {
  background: #f2efeb;
  padding: 38px 25px;
  min-height: 150px;
}

.meren .prices small,
.meren .prices span {
  display: block;
  color: #777;
  font-size: 11px;
}

.meren .prices b {
  display: block;
  font-family: Georgia, serif;
  font-size: 27px;
  margin: 9px 0;
}

.meren .pants {
  background: #312e2b;
  color: #fff;
  padding: 90px 0;
}

.meren .pants > .wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 55px;
  align-items: center;
}

.meren .pantscopy h2 {
  font-family: Georgia, 'Noto Serif KR', serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.35;
}

.meren .pantscopy p {
  font-size: 12px;
  color: #c9c4bf;
}

.meren .pants button {
  color: #fff;
  border-color: #777;
}

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

.meren .pants .card .pic {
  background: linear-gradient(145deg, #8d8780, #69635e);
}

.meren .pants .card h3 {
  color: #fff;
}

.meren .pants .meta {
  color: #bbb;
}

.meren .size {
  text-align: center;
  background: #eee8df;
  padding: 65px 20px;
}

.meren .size h2 {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  margin: 12px;
}

.meren .size p {
  color: #6d6861;
}

.meren .size div {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 25px;
}

.meren .size span {
  border: 1px solid #aaa;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: #f8f5f0;
}

.meren .tabs {
  text-align: center;
  margin: -15px 0 30px;
}

.meren .tabs > * {
  margin: 0 14px;
  font-size: 12px;
}

.meren .tabs b {
  border-bottom: 1px solid;
  padding-bottom: 7px;
}

.meren .direct {
  background: #262421;
  color: #fff;
  padding: 95px 0;
}

.meren .direct .title p {
  color: #bbb;
}

.meren .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
}

.meren .steps div {
  padding: 40px 28px;
  border-right: 1px solid #555;
}

.meren .steps div:last-child {
  border: 0;
}

.meren .steps i {
  display: block;
  font-family: Georgia, serif;
  color: #9f968c;
  margin-bottom: 22px;
}

.meren .steps b {
  font-size: 12px;
  letter-spacing: 1px;
}

.meren .steps p {
  font-size: 12px;
  color: #bbb;
  line-height: 1.7;
}

.meren .reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.meren .reviews article {
  background: #faf8f5;
  padding: 30px;
}

.meren .reviews b {
  font-size: 12px;
}

.meren .reviews p {
  font-size: 13px;
  line-height: 1.7;
}

.meren .reviews small {
  color: #999;
}

.meren footer {
  background: #f4f2ef;
  padding: 65px max(24px, calc((100% - 1192px) / 2));
  font-size: 12px;
  color: #777;
}

.meren footer > b {
  font-family: Georgia, serif;
  font-size: 25px;
  letter-spacing: 4px;
  color: #222;
}

.meren footer div {
  margin: 25px 0;
}

.meren .bottom {
  display: none;
}


/* ==========================================
   5. MEREN Main Integration (.meren-main)
   ========================================== */
.meren-main a {
  color: inherit;
  text-decoration: none;
}

.meren-main .quick a {
  text-align: center;
  min-width: 0;
}

.meren-main .quick a > span {
  display: block;
  font-size: 11px;
  letter-spacing: .5px;
  min-height: 22px;
}

.meren-main .prices a {
  display: block;
  background: #f2efeb;
  padding: 38px 25px;
  min-height: 150px;
}

.meren-main .prices a small,
.meren-main .prices a span {
  display: block;
  color: #777;
  font-size: 11px;
}

.meren-main .prices a b {
  display: block;
  font-family: Georgia, serif;
  font-size: 27px;
  margin: 9px 0;
}

.meren-main .card .pic {
  overflow: hidden;
}

.meren-main .card .pic > a:first-child,
.meren-main .card .pic > a:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meren-main .prd-ico {
  min-height: 17px;
  margin-top: 8px;
}

.meren-main .prd-ico img {
  max-height: 15px;
  width: auto;
  margin-right: 3px;
}

.meren-main .prd-color {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 2px;
}

.meren-main .meren-wish {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.meren-main .meren-line-btn {
  display: inline-block;
  margin-top: 18px;
  border: 1px solid currentColor;
  padding: 14px 22px;
  font-size: 12px;
}

.meren-main .meren-pants-banner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 55px;
  align-items: center;
}

.meren-main .meren-banner-placeholder {
  min-height: 360px;
  background: linear-gradient(145deg, #8d8780, #69635e);
  display: grid;
  place-items: center;
  text-align: center;
  color: #ddd;
}

.meren-main .meren-banner-placeholder span {
  font: 25px Georgia, serif;
  letter-spacing: 3px;
}

.meren-main .meren-banner-placeholder small {
  display: block;
  margin-top: -130px;
}

.meren-main .meren-category-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.meren-main .meren-category-links a {
  background: #f2efeb;
  min-height: 110px;
  display: grid;
  place-items: center;
  font: 18px Georgia, serif;
}

.meren-main .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.meren-main .price del {
  margin: 0;
  order: 2;
}

.meren-main .price strong {
  order: 1;
}

.meren-main .price strong + strong {
  margin-left: 4px;
}


/* ==========================================
   6. MEREN Header Integration (.meren-site-header)
   ========================================== */
.meren-site-header {
  position: relative;
  z-index: 30;
  background: #fff;
}

.meren-site-header a {
  color: inherit;
  text-decoration: none;
}

.meren-site-header .promo a {
  color: #fff;
}

.meren-utility {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #777;
}

.meren-utility-left,
.meren-utility-right {
  display: flex;
  align-items: center;
  gap: 17px;
}

.meren-site-header .head {
  position: relative;
}

.meren-head-actions {
  position: absolute;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 13px;
}

.meren-search-area {
  position: relative;
  max-width: 520px;
  padding-bottom: 20px;
}

.meren-search-area fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  border-bottom: 1px solid #333;
}

.meren-search-area legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.meren-search-area input[type=text],
.meren-search-area input[type=search] {
  width: 100%;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0 8px;
  outline: 0;
}

.meren-search-button {
  width: 58px;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.meren-search-area .search-auto-complete-list {
  position: absolute;
  top: 42px;
  left: 24px;
  right: 24px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.meren-gnb {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #faf9f7;
}

.meren-gnb ul {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meren-gnb li {
  flex: 0 0 auto;
  font-size: 12px;
}

.meren-gnb a:hover {
  color: #c84035;
}

.meren-site-header .hamb {
  position: absolute;
  left: 24px;
  color: #222;
}

.meren-site-header #allfinder-ctr {
  z-index: 35;
}


/* ==========================================
   7. MEREN Footer Integration (.meren-site-footer)
   ========================================== */
.meren-site-footer {
  margin-top: 100px;
  background: #f4f2ef;
  color: #716d67;
}

.meren-site-footer a {
  color: inherit;
  text-decoration: none;
}

.meren-site-footer #footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.meren-footer-brand {
  padding-bottom: 38px;
  border-bottom: 1px solid #dcd8d2;
}

.meren-footer-logo {
  font-family: Georgia, serif;
  font-size: 27px;
  letter-spacing: 5px;
  color: #222 !important;
}

.meren-footer-brand p {
  margin: 12px 0 0;
  font-size: 12px;
}

.meren-site-footer .footerTop {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 2.6fr;
  gap: 46px;
  padding: 42px 0;
}

.meren-site-footer .infoBx h3 {
  margin: 0 0 20px;
  color: #222;
  font: 500 12px Arial, sans-serif;
  letter-spacing: 1.2px;
}

.meren-site-footer .infoBx ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meren-site-footer .infoBx li {
  margin: 0 0 10px;
  font-size: 11px;
}

.meren-site-footer .infoBx .tx {
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
}

.meren-site-footer .csInfo .tel {
  margin: 0 0 12px;
  color: #222;
  font: 400 23px Georgia, serif;
}

.meren-site-footer .shopInfo .tx span {
  display: inline-block;
  margin: 0 13px 2px 0;
}

.meren-site-footer .shopInfo .tx a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meren-site-footer .copy {
  margin: 20px 0 0;
  font-size: 10px;
  letter-spacing: .4px;
}

.meren-site-footer .barotalk img {
  width: auto;
  max-height: 17px;
  vertical-align: middle;
}

.meren-site-footer .footerBottom {
  padding-top: 24px;
  border-top: 1px solid #dcd8d2;
}

.meren-site-footer .escrow {
  margin: 0;
}

.meren-site-footer .escrow img {
  max-height: 42px;
  width: auto;
}

#mask {
  display: none;
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}


/* ==========================================
   8. Responsive Styles (Mobile & Tablet)
   ========================================== */
@media (max-width: 900px) {
  .meren-site-footer .footerTop {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  /* Base Mobile */
  .meren {
    padding-bottom: 58px;
  }
  .meren .promo {
    font-size: 10px;
    height: 34px;
    padding: 10px 3px;
  }
  .meren .head {
    height: 58px;
    justify-content: space-between;
    padding: 0 16px;
  }
  .meren .logo {
    font-size: 22px;
    letter-spacing: 4px;
  }
  .meren .hamb {
    display: block;
  }
  .meren .icons {
    position: static;
    font-size: 0;
  }
  .meren .icons::after {
    content: '♡  🛒';
    font-size: 17px;
  }
  .meren .search {
    display: flex;
    margin: 0 15px 10px;
    background: #f4f3f1;
    border-radius: 3px;
    height: 40px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
  }
  .meren .hot,
  .meren .cats {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
    padding: 0 17px;
    white-space: nowrap;
    height: 43px;
  }
  .meren .cats {
    display: none;
  }
  .meren .hero {
    height: 410px;
  }
  .meren .hero > div {
    padding: 0 28px;
  }
  .meren .hero h1 {
    font-size: 32px;
  }
  .meren .hero p {
    font-size: 12px;
    max-width: 250px;
  }
  .meren .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
  .meren .quick {
    display: flex;
    overflow-x: auto;
    gap: 11px;
    padding-top: 22px;
  }
  .meren .quick div {
    min-width: 65px;
    font-size: 19px;
  }
  .meren .quick b {
    font-size: 10px;
  }
  .meren .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .meren .title {
    margin-bottom: 25px;
  }
  .meren .title h2 {
    font-size: 24px;
  }
  .meren .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 9px;
  }
  .meren .card h3 {
    font-size: 12px;
    margin-top: 10px;
  }
  .meren .price strong {
    font-size: 15px;
  }
  .meren .prices {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .meren .prices div {
    padding: 25px 16px;
    min-height: 120px;
  }
  .meren .prices b {
    font-size: 22px;
  }
  .meren .pants {
    padding: 60px 0;
  }
  .meren .pants > .wrap {
    display: block;
  }
  .meren .pantscopy {
    margin-bottom: 35px;
  }
  .meren .pantscopy h2 {
    font-size: 27px;
  }
  .meren .mini {
    grid-template-columns: repeat(2, 1fr);
  }
  .meren .mini .card:nth-child(3) {
    display: none;
  }
  .meren .size {
    padding: 45px 10px;
  }
  .meren .size h2 {
    font-size: 30px;
  }
  .meren .size div {
    gap: 5px;
  }
  .meren .size span {
    width: 47px;
    height: 47px;
  }
  .meren .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .meren .steps div {
    padding: 28px 16px;
    border-bottom: 1px solid #555;
  }
  .meren .reviews {
    display: flex;
    overflow-x: auto;
  }
  .meren .reviews article {
    min-width: 82%;
  }
  .meren footer {
    padding: 50px 20px;
  }
  .meren .bottom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 20;
  }
  .meren .bottom span {
    display: grid;
    place-items: center;
    font-size: 16px;
    padding-top: 7px;
  }
  .meren .bottom b {
    display: block;
    font-size: 8px;
    margin-top: -6px;
  }
  .meren .deal .grid .card:nth-child(n+5),
  .meren #bestGrid .card:nth-child(n+9),
  .meren #newGrid .card:nth-child(n+9),
  .meren #catGrid .card:nth-child(n+7),
  .meren #steadyGrid .card:nth-child(n+7) {
    display: none;
  }

  /* Main Mobile Integration */
  .meren-main .quick a {
    min-width: 72px;
  }
  .meren-main .prices a {
    padding: 25px 16px;
    min-height: 120px;
  }
  .meren-main .prices a b {
    font-size: 22px;
  }
  .meren-main .meren-pants-banner {
    display: block;
  }
  .meren-main .meren-banner-placeholder {
    min-height: 260px;
  }
  .meren-main .meren-category-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .meren-main .meren-category-links a {
    min-height: 80px;
    font-size: 15px;
  }
  .meren-main .meren-wish {
    width: 27px;
    height: 27px;
  }
  .meren-main .prd-ico {
    min-height: 14px;
  }

  /* Header Mobile Integration */
  .meren-site-header .promo {
    height: auto;
    min-height: 34px;
    padding: 10px 12px;
  }
  .meren-utility {
    display: none;
  }
  .meren-site-header .head {
    height: 58px;
    padding: 0 15px;
  }
  .meren-site-header .hamb {
    display: block;
    position: static;
  }
  .meren-head-actions {
    position: static;
    gap: 13px;
  }
  .meren-head-actions .meren-search-jump {
    display: none;
  }
  .meren-search-area {
    padding: 0 15px 10px;
    max-width: none;
  }
  .meren-search-area fieldset {
    height: 40px;
    border: 0;
    background: #f4f3f1;
    padding-left: 8px;
  }
  .meren-search-area .search-auto-complete-list {
    top: 40px;
    left: 15px;
    right: 15px;
  }
  .meren-gnb {
    overflow-x: auto;
  }
  .meren-gnb .wrap {
    padding: 0;
  }
  .meren-gnb ul {
    height: 43px;
    justify-content: flex-start;
    gap: 24px;
    padding: 0 17px;
    width: max-content;
  }
  .meren-site-header .logo {
    font-size: 22px;
  }

  /* Footer Mobile Integration */
  .meren-site-footer {
    margin-top: 65px;
  }
  .meren-site-footer #footer {
    padding: 45px 20px 28px;
  }
  .meren-footer-brand {
    padding-bottom: 28px;
  }
  .meren-site-footer .footerTop {
    display: block;
    padding: 28px 0;
  }
  .meren-site-footer .infoBx {
    padding: 23px 0;
    border-bottom: 1px solid #dcd8d2;
  }
  .meren-site-footer .infoBx:first-child {
    padding-top: 0;
  }
  .meren-site-footer .infoBx:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .meren-site-footer .linkInfo ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .meren-site-footer .linkInfo li {
    margin: 0;
  }
  .meren-site-footer .csInfo .tel {
    font-size: 21px;
  }
  .meren-site-footer .shopInfo .tx span {
    display: block;
    margin-right: 0;
  }
  .meren-site-footer .footerBottom {
    padding-top: 20px;
  }
}
/* BASIC css end */

