.second-fit-app-section {
  padding: 160px 0 80px;
  min-height: 70vh;
  background: #f7f7f7;
}

.chat-layout { display: grid; grid-template-columns: minmax(220px, 30%) 1fr; min-height: 620px; border: 1px solid #eee; background: #fff; }
.chat-sidebar { border-right: 1px solid #eee; padding: 20px; }
.chat-sidebar-title { font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.chat-new-room { width: 100%; margin-bottom: 15px; }
.chat-room-list { display: grid; gap: 6px; }
.chat-room-item { width: 100%; border: 0; background: #f7f7f7; padding: 12px; text-align: left; cursor: pointer; }
.chat-panel { min-width: 0; }
.chat-empty { display: grid; min-height: 620px; place-items: center; color: #777; }
.chat-active { min-height: 620px; display: grid; grid-template-rows: auto 1fr auto; }
.chat-active[hidden] { display: none; }
.chat-room-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; padding: 18px 20px; }
.chat-room-header h3 { margin: 0; font-size: 19px; }
.chat-connection { color: #777; font-size: 13px; }
.chat-messages { min-height: 0; max-height: 500px; overflow-y: auto; padding: 20px; background: #fafafa; }
.chat-message { max-width: 76%; margin-bottom: 12px; padding: 10px 14px; background: #fff; border: 1px solid #eee; border-radius: 12px; }
.chat-message.mine { margin-left: auto; background: #2a2a2a; color: #fff; border-color: #2a2a2a; }
.chat-message strong { display: block; margin-bottom: 4px; font-size: 12px; }
.chat-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-link-preview { display: block; margin-top: 8px; padding: 8px; border: 1px solid currentColor; color: inherit; }
.chat-compose { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: end; border-top: 1px solid #eee; padding: 14px; }
.chat-file-button { width: 42px; height: 42px; border: 1px solid #ddd; background: #fff; }
.chat-input { width: 100%; resize: none; border: 1px solid #ddd; padding: 10px; }
.chat-send { border: 0; min-height: 42px; padding: 0 18px; }
@media (max-width: 767px) {
  .chat-layout { grid-template-columns: 1fr; }
  .chat-sidebar { border-right: 0; border-bottom: 1px solid #eee; }
  .chat-empty, .chat-active { min-height: 480px; }
  .chat-messages { max-height: 360px; }
}

.second-fit-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.second-fit-auth-card { max-width: 560px; }
.second-fit-board-card { max-width: 1110px; margin-right: auto; margin-left: auto; }
.second-fit-easy-editor {
  width: 100% !important;
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}
.second-fit-easy-editor > iframe,
.second-fit-easy-editor > textarea {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}
.second-fit-easy-editor > iframe {
  display: block;
  border-right: 1px solid #cfcfcf !important;
}
.second-fit-board-card .easy-editor-height-resize { touch-action: none; }
.second-fit-board-card .second-fit-post-content img { max-width: 100%; height: auto; cursor: pointer; }
.second-fit-eyebrow { color: #aaa; letter-spacing: 0.12em; font-weight: 600; }
.second-fit-help { margin: 12px 0 28px; color: #666; }
.second-fit-error { padding: 12px 14px; color: #8a1f1f; background: #fff1f1; border-left: 3px solid #c44; }
.second-fit-form { display: grid; gap: 20px; }
.second-fit-field { display: grid; gap: 8px; }
.second-fit-field label { font-weight: 600; color: #2a2a2a; }
.second-fit-field label span, .second-fit-field small { color: #777; font-weight: 400; }
.second-fit-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #ddd;
  border-radius: 2px;
}
.second-fit-field input:focus { outline: 3px solid rgba(42, 42, 42, 0.18); border-color: #2a2a2a; }
.second-fit-button, .second-fit-small-button {
  border: 1px solid #2a2a2a;
  color: #fff;
  background: #2a2a2a;
  cursor: pointer;
}
.second-fit-button { min-height: 48px; padding: 12px 20px; font-weight: 600; }
.second-fit-button-link { display: inline-flex; align-items: center; text-decoration: none; }
.second-fit-text-link { display: inline-block; margin-top: 20px; color: #2a2a2a; text-decoration: underline; }
.second-fit-table-wrap { overflow-x: auto; }
.second-fit-table { width: 100%; border-collapse: collapse; }
.second-fit-table th, .second-fit-table td { padding: 13px 10px; border-bottom: 1px solid #eee; text-align: left; }
.second-fit-table .second-fit-board-number, .second-fit-table .second-fit-board-date, .second-fit-table .second-fit-board-author { text-align: center; }
.second-fit-table .second-fit-board-view-count { text-align: right; }
.second-fit-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.second-fit-actions form { margin: 0; }
.second-fit-small-button { padding: 6px 9px; font-size: 13px; }
.second-fit-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.second-fit-search-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 24px 0; }
.second-fit-search-form label { font-weight: 600; }
.second-fit-search-form input, .second-fit-search-form select,
.second-fit-form textarea, .second-fit-form select {
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #ddd;
  border-radius: 2px;
}
.second-fit-form textarea { width: 100%; resize: vertical; }
.second-fit-post-content { min-height: 180px; margin: 28px 0; line-height: 1.75; white-space: normal; }
.second-fit-attachments, .second-fit-comments { margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; }
.second-fit-comment { padding: 16px 0; border-bottom: 1px solid #eee; }
.second-fit-comment p { margin: 8px 0; }
.second-fit-board-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.second-fit-admin-board-form { padding: 20px; border: 1px solid #eee; }
.second-fit-admin-board-form label { display: grid; gap: 6px; }
.second-fit-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.second-fit-pagination a { min-width: 36px; padding: 7px; border: 1px solid #ddd; text-align: center; color: #2a2a2a; }
.second-fit-pagination a[aria-current='page'] { color: #fff; background: #2a2a2a; border-color: #2a2a2a; }

@media (max-width: 767px) {
  .second-fit-app-section { padding: 130px 0 50px; }
  .second-fit-card { padding: 24px 18px; }
  .second-fit-page-heading { display: grid; }
  .second-fit-board-admin-grid { grid-template-columns: 1fr; }
}
.header-area .main-nav .logo.second-fit-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 100px;
  line-height: 1;
  color: #000;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.header-area .main-nav .logo.second-fit-brand small {
  padding: 5px 7px;
  border: 1px solid #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.background-header .main-nav .logo.second-fit-brand {
  height: 80px;
  line-height: 1;
}

@media (max-width: 767px) {
  .header-area .main-nav .logo.second-fit-brand {
    height: 100px;
    margin-left: 15px;
    font-size: 22px;
  }
}
.second-fit-nav-logout {
  margin: 0;
}

.header-area .main-nav .nav li.second-fit-nav-badge {
  margin-left: 8px;
}

.header-area .main-nav .nav li.second-fit-nav-badge > a {
  display: block;
  min-width: 84px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 1px;
  text-align: center;
}

.header-area .main-nav .nav li.second-fit-nav-badge > a:hover {
  border-color: #555;
  background: #555;
  color: #fff;
}

.header-area .main-nav .nav li.second-fit-nav-admin > a,
.header-area .main-nav .nav li.second-fit-nav-icon .second-fit-nav-logout button {
  width: 44px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2a2a2a;
  line-height: 40px;
  text-align: center;
}

.header-area .main-nav .nav li.second-fit-nav-admin > a {
  font-size: 24px;
}

.header-area .main-nav .nav li.second-fit-nav-icon .second-fit-nav-logout button {
  font-size: 21px;
  cursor: pointer;
}

.header-area .main-nav .nav li.second-fit-nav-admin > a:hover,
.header-area .main-nav .nav li.second-fit-nav-icon .second-fit-nav-logout button:hover {
  color: #aaa;
}

@media (min-width: 768px) {
  .header-area .main-nav .nav li.second-fit-nav-chat {
    padding-right: 6px;
  }

  .header-area .main-nav .nav li.second-fit-nav-admin {
    padding-left: 0;
    padding-right: 3px;
  }

  .header-area .main-nav .nav li.second-fit-nav-icon {
    padding-left: 3px;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .header-area .main-nav .nav li.second-fit-nav-badge {
    margin-left: 0;
  }

  .header-area .main-nav .nav li.second-fit-nav-badge > a {
    width: 100%;
    height: 50px;
    border-radius: 0;
    line-height: 48px;
  }

  .header-area .main-nav .nav li.second-fit-nav-admin > a,
  .header-area .main-nav .nav li.second-fit-nav-icon .second-fit-nav-logout button {
    width: 100%;
    height: 50px;
    background: #f7f7f7;
    line-height: 50px;
  }

  .header-area .main-nav .nav li.second-fit-nav-admin > a:hover,
  .header-area .main-nav .nav li.second-fit-nav-icon .second-fit-nav-logout button:hover {
    background: #eee;
  }
}

.second-fit-footer{padding:26px 0;background:#2a2a2a}.second-fit-footer .under-footer{margin-top:0;padding-top:0;border-top:0}.second-fit-footer .under-footer p{margin:0;color:#fff;text-align:center}

.second-fit-home-banner > .container-fluid {
  max-width: 1160px;
  padding-right: 15px;
  padding-left: 15px;
}

.second-fit-home-banner .row {
  align-items: stretch;
  justify-content: center;
}

.second-fit-home-banner .row > .col-lg-6:first-child {
  flex: 0 1 530px;
  max-width: 530px;
}

.second-fit-home-banner .row > .col-lg-6:last-child {
  flex: 0 1 630px;
  max-width: 630px;
}

.second-fit-home-slider-wrap,
.second-fit-main-slider,
.second-fit-main-slider .owl-stage-outer,
.second-fit-main-slide {
  width: 500px;
  max-width: 100%;
  height: 500px;
}

.second-fit-main-slide img {
  display: block;
  width: 500px;
  max-width: 100%;
  height: 500px;
  object-fit: cover;
}

.second-fit-main-slider .owl-nav {
  position: absolute;
  top: 50%;
  right: 16px;
  left: 16px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.second-fit-main-slider .owl-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.58) !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 38px !important;
  pointer-events: auto;
}

.second-fit-main-slider .owl-dots {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  text-align: center;
}

.second-fit-main-slider .owl-dot span {
  background: rgba(255, 255, 255, 0.65);
}

.second-fit-main-slider .owl-dot.active span {
  background: #fff;
}

body.second-fit-lightbox-open {
  overflow: hidden;
}

.second-fit-image-lightbox[hidden] {
  display: none;
}

.second-fit-image-lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 90px;
  background: rgba(0, 0, 0, 0.9);
}

.second-fit-image-lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: auto;
  touch-action: pan-x pan-y pinch-zoom;
}

.second-fit-image-lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.second-fit-image-lightbox-content figcaption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 20px;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.second-fit-image-lightbox-close,
.second-fit-image-lightbox-nav,
.second-fit-image-lightbox-zoom {
  position: absolute;
  z-index: 2;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

.second-fit-image-lightbox-close {
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 38px;
  line-height: 44px;
}

.second-fit-image-lightbox-nav {
  top: 50%;
  width: 54px;
  height: 70px;
  font-size: 36px;
  transform: translateY(-50%);
}

.second-fit-image-lightbox-prev {
  left: 20px;
}

.second-fit-image-lightbox-next {
  right: 20px;
}

.second-fit-image-lightbox-zoom {
  display: none;
}

.second-fit-home-notices {
  width: 600px;
  max-width: 100%;
  height: 500px;
  padding: 24px 32px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.second-fit-home-notices-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2a2a2a;
}

.second-fit-home-notices-header h2 {
  margin: 0;
  color: #2a2a2a;
  font-size: 26px;
  font-weight: 700;
}

.second-fit-home-notices-header a {
  color: #666;
  font-size: 14px;
}

.second-fit-home-notice-list {
  margin: 0;
}

.second-fit-home-notice-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  border-bottom: 1px solid #eee;
}

.second-fit-home-notice-item a {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #2a2a2a;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.second-fit-home-notice-item time {
  flex: 0 0 auto;
  color: #999;
  font-size: 13px;
}

.second-fit-home-notices-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  color: #888;
}

.second-fit-product-carousel-section .item .thumb > img,
.second-fit-home-product-image-empty {
  width: 100%;
  aspect-ratio: 1;
}

#product.second-fit-product-detail {
  margin-top: 150px;
}

#product .second-fit-product-detail-layout {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

#product .second-fit-product-media,
#product .second-fit-product-info {
  min-width: 0;
}

#product .left-images img.second-fit-product-detail-image {
  width: 500px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

#product .second-fit-product-image-slider {
  position: relative;
  width: 500px;
  max-width: 100%;
}

#product .second-fit-product-image-slider .owl-nav button {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #111;
  font-size: 28px;
  line-height: 36px;
  transform: translateY(-50%);
}

#product .second-fit-product-image-slider .owl-nav .owl-prev { left: 12px; }
#product .second-fit-product-image-slider .owl-nav .owl-next { right: 12px; }
#product .second-fit-product-image-slider .owl-dots {
  margin-top: 12px;
  text-align: center;
}
#product .second-fit-product-image-slider .owl-dot {
  width: 9px;
  height: 9px;
  margin: 0 4px;
  border-radius: 50%;
  background: #c8c8c8;
}
#product .second-fit-product-image-slider .owl-dot.active { background: #111; }

@media (max-width: 991px) {
  #product .second-fit-product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #product .left-images img.second-fit-product-detail-image {
    display: block;
    width: min(100%, 300px);
    max-width: 300px;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  #product .second-fit-product-description img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    object-fit: contain;
  }
}

.second-fit-product-carousel-section .item .thumb > img {
  display: block;
  object-fit: cover;
}

.second-fit-home-product-image-empty {
  display: grid;
  place-items: center;
  background: #f5f5f5;
  color: #999;
  font-weight: 600;
}

:is(#men, #women, #kids, #fire-products, #highend-products, #sunglasses-products, #products) .item .down-content h4 {
  padding-right: 130px;
}

:is(#men, #women, #kids, #fire-products, #highend-products, #sunglasses-products, #products) .item .down-content ul.second-fit-home-product-price li {
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 700;
}

:is(#men, #women, #kids, #fire-products, #highend-products, #sunglasses-products, #products) .item .down-content .second-fit-home-product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}

:is(#men, #women, #kids, #fire-products, #highend-products, #sunglasses-products, #products) .item .down-content .second-fit-home-product-options span {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.second-fit-home-products-empty {
  min-height: 370px;
  display: grid;
  place-items: center;
  color: #888;
}

@media (max-width: 991px) {
  .second-fit-home-banner .row > .col-lg-6:first-child,
  .second-fit-home-banner .row > .col-lg-6:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .second-fit-home-slider-wrap,
  .second-fit-main-slider,
  .second-fit-main-slider .owl-stage-outer,
  .second-fit-main-slide,
  .second-fit-main-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .second-fit-home-notices {
    width: 100%;
    height: auto;
    min-height: 420px;
    margin-top: 30px;
    padding: 28px 24px;
  }
}

@media (max-width: 575px) {
  .second-fit-image-lightbox {
    padding: 0;
  }

  .second-fit-image-lightbox-content {
    width: 100vw;
    height: 100dvh;
  }

  .second-fit-image-lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100dvh;
  }

  .second-fit-image-lightbox-content.is-zoomed {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .second-fit-image-lightbox-content.is-zoomed img {
    width: 200vw;
    max-width: none;
    max-height: none;
    margin: auto;
  }

  .second-fit-image-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .second-fit-image-lightbox-nav {
    width: 44px;
    height: 60px;
    font-size: 30px;
  }

  .second-fit-image-lightbox-prev {
    left: 8px;
  }

  .second-fit-image-lightbox-next {
    right: 8px;
  }

  .second-fit-image-lightbox-zoom {
    right: 12px;
    bottom: 12px;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
  }

  .second-fit-home-notice-item {
    align-items: flex-start;
    gap: 6px;
    flex-direction: column;
    justify-content: center;
  }
}
