﻿@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon child theme for mensroom.top
Theme URI: https://wp-cocoon.com/
Author: mensroom.top
Template: cocoon-master
Version: 1.1.4
*/

:root {
  --mr-bg: #f6f1ea;
  --mr-surface: #fffdf9;
  --mr-surface-strong: #ffffff;
  --mr-text: #241c18;
  --mr-text-soft: #6f6259;
  --mr-line: #e4d7ca;
  --mr-accent: #9d5c3d;
  --mr-accent-strong: #7c4327;
  --mr-accent-soft: #f3e1d3;
  --mr-shadow: 0 18px 40px rgba(36, 28, 24, 0.08);
  --mr-radius-lg: 24px;
  --mr-radius-md: 16px;
  --mr-radius-sm: 999px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(157, 92, 61, 0.14), transparent 30%),
    linear-gradient(180deg, #fcf8f3 0%, #f6f1ea 40%, #f3ece4 100%);
  color: var(--mr-text);
}

.main {
  position: relative;
}

.mr-listingPage,
.mr-shopPage {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.mr-pageHero {
  margin-bottom: 28px;
  padding: 32px;
  border: 1px solid rgba(228, 215, 202, 0.9);
  border-radius: var(--mr-radius-lg);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(249, 241, 232, 0.98));
  box-shadow: var(--mr-shadow);
}

.mr-pageHero__eyebrow,
.mr-sectionCard__eyebrow {
  margin: 0 0 10px;
  color: var(--mr-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.mr-pageHero__title,
.mr-sectionCard__title {
  margin: 0;
  color: var(--mr-text);
  line-height: 1.2;
}

.mr-pageHero__title {
  font-size: clamp(28px, 4vw, 44px);
}

.mr-pageHero__lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--mr-text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.mr-pageHero__metaRow,
.mr-card__metaRow,
.mr-actionRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mr-pageHero__metaRow {
  margin-top: 16px;
}

.mr-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--mr-radius-sm);
  background: rgba(157, 92, 61, 0.12);
  color: var(--mr-accent-strong);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.mr-chip-secondary {
  background: rgba(36, 28, 24, 0.08);
  color: var(--mr-text);
}

.mr-cardGrid,
.mr-staffGrid,
.mr-areaGridModern {
  display: grid;
  gap: 18px;
}

.mr-cardGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mr-card {
  min-height: 100%;
  border: 1px solid rgba(228, 215, 202, 0.95);
  border-radius: var(--mr-radius-md);
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--mr-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mr-card:hover,
.mr-areaPanel:hover,
.mr-staffCard:hover,
.mr-shopHeroCard:hover,
.mr-sectionCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(36, 28, 24, 0.12);
}

.mr-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.mr-card__body {
  flex: 1;
  padding: 22px;
}

.mr-card__title {
  margin: 14px 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.mr-card__text {
  margin: 10px 0 0;
  color: var(--mr-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.mr-card__text strong {
  display: block;
  margin-bottom: 2px;
  color: var(--mr-text);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.mr-card__footer {
  padding: 16px 22px;
  border-top: 1px solid var(--mr-line);
  background: rgba(157, 92, 61, 0.08);
  color: var(--mr-accent-strong);
  font-weight: 700;
}

.mr-shopHeroCard,
.mr-sectionCard,
.mr-areaPanel {
  border: 1px solid rgba(228, 215, 202, 0.95);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--mr-shadow);
}

.mr-shopHeroCard,
.mr-sectionCard {
  border-radius: var(--mr-radius-lg);
}

.mr-shopHeroCard {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.mr-shopHeroCard__media {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(157, 92, 61, 0.16), rgba(157, 92, 61, 0.04));
}

.mr-shopHeroCard__media img,
.mr-staffCard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mr-shopHeroCard__placeholder,
.mr-staffCard__placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: var(--mr-text-soft);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.mr-shopHeroCard__body,
.mr-sectionCard {
  padding: 28px;
}

.mr-infoGrid {
  display: grid;
  gap: 14px;
}

.mr-infoItem {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mr-line);
}

.mr-infoItem:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mr-infoItem__label {
  margin-bottom: 6px;
  color: var(--mr-accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mr-infoItem__value {
  color: var(--mr-text);
  line-height: 1.8;
}

.mr-actionRow {
  margin-top: 22px;
}

.mr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 20px;
  border-radius: var(--mr-radius-sm);
  background: var(--mr-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.mr-button-secondary {
  background: rgba(36, 28, 24, 0.9);
}

.mr-sectionCard {
  margin-top: 24px;
}

.mr-sectionCard__header {
  margin-bottom: 18px;
}

.mr-richText {
  color: var(--mr-text-soft);
  line-height: 1.9;
}

.mr-staffGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mr-staffCard {
  border: 1px solid var(--mr-line);
  border-radius: var(--mr-radius-md);
  background: var(--mr-surface-strong);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mr-staffCard__photo {
  aspect-ratio: 1 / 1.15;
  background: linear-gradient(180deg, rgba(157, 92, 61, 0.16), rgba(157, 92, 61, 0.04));
}

.mr-staffCard__name,
.mr-staffCard__detail {
  padding-left: 16px;
  padding-right: 16px;
}

.mr-staffCard__name {
  margin: 14px 0 6px;
  font-size: 18px;
}

.mr-staffCard__detail {
  margin: 0 0 18px;
  color: var(--mr-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.mr-areaGridModern {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mr-areaPanel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--mr-radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mr-areaPanel__name {
  font-size: 18px;
  font-weight: 700;
}

.mr-areaPanel__count {
  color: var(--mr-text-soft);
  font-size: 13px;
}

.mr-emptyState {
  padding: 32px;
  border: 1px dashed var(--mr-line);
  border-radius: var(--mr-radius-lg);
  background: rgba(255, 253, 249, 0.8);
  text-align: center;
}

.mr-emptyState__title {
  margin: 0 0 10px;
}

.mr-emptyState__text {
  margin: 0;
  color: var(--mr-text-soft);
}

.mr-paginationWrap {
  margin-top: 28px;
}

.mr-paginationWrap .pagination,
.mr-paginationWrap .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mr-paginationWrap a,
.mr-paginationWrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--mr-line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.96);
  text-decoration: none;
}

.mr-cmeta {
  margin-bottom: 8px;
  color: var(--mr-text-soft);
  font-size: 14px;
}

@media screen and (max-width: 1024px) {
  .mr-cardGrid,
  .mr-staffGrid,
  .mr-areaGridModern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mr-shopHeroCard {
    grid-template-columns: 1fr;
  }

  .mr-shopHeroCard__media {
    min-height: 280px;
  }
}

@media screen and (max-width: 640px) {
  .mr-listingPage,
  .mr-shopPage {
    padding: 18px 12px 40px;
  }

  .mr-pageHero,
  .mr-shopHeroCard__body,
  .mr-sectionCard {
    padding: 22px;
  }

  .mr-cardGrid,
  .mr-staffGrid,
  .mr-areaGridModern {
    grid-template-columns: 1fr;
  }

  .mr-button {
    width: 100%;
  }
}

.mr-home {
  display: grid;
  gap: 28px;
}

.mr-homeHero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 22px;
  padding: 34px;
  border: 1px solid rgba(228, 215, 202, 0.92);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(157, 92, 61, 0.18), transparent 28%),
    linear-gradient(135deg, #fffaf5 0%, #f7efe6 50%, #f3e7db 100%);
  box-shadow: var(--mr-shadow);
}

.mr-homeHero__eyebrow,
.mr-sectionHeading__eyebrow {
  margin: 0 0 12px;
  color: var(--mr-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.mr-homeHero__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.mr-homeHero__lead,
.mr-sectionHeading__lead,
.mr-homeStep__text {
  color: var(--mr-text-soft);
  line-height: 1.85;
}

.mr-homeHero__lead {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 16px;
}

.mr-homeHero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mr-homeHero__panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mr-homeStat,
.mr-homeStep,
.mr-homeAreaCard {
  border: 1px solid rgba(228, 215, 202, 0.95);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--mr-shadow);
}

.mr-homeStat {
  padding: 22px;
}

.mr-homeStat__label {
  display: block;
  color: var(--mr-text-soft);
  font-size: 13px;
}

.mr-homeStat__value {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
}

.mr-homeHero__note {
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(36, 28, 24, 0.92);
  color: #f8f1e8;
  line-height: 1.8;
}

.mr-homeSection {
  display: grid;
  gap: 18px;
}

.mr-homeSection-alt {
  padding: 28px;
  border: 1px solid rgba(228, 215, 202, 0.95);
  border-radius: 28px;
  background: rgba(255, 250, 245, 0.72);
}

.mr-sectionHeading__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
}

.mr-sectionHeading__lead {
  margin: 10px 0 0;
  max-width: 720px;
}

.mr-homeAreaGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mr-homeAreaCard {
  display: grid;
  gap: 10px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mr-homeAreaCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(36, 28, 24, 0.12);
}

.mr-homeAreaCard__name {
  font-size: 24px;
  font-weight: 700;
}

.mr-homeAreaCard__count {
  color: var(--mr-text-soft);
  font-size: 14px;
}

.mr-homeSteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mr-homeStep {
  padding: 24px;
}

.mr-homeStep__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(157, 92, 61, 0.12);
  color: var(--mr-accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mr-homeStep__title {
  margin: 18px 0 10px;
  font-size: 22px;
}

@media screen and (max-width: 1024px) {
  .mr-homeHero,
  .mr-homeAreaGrid,
  .mr-homeSteps {
    grid-template-columns: 1fr;
  }

  .mr-homeSection-alt {
    padding: 22px;
  }
}

@media screen and (max-width: 640px) {
  .mr-homeHero {
    padding: 24px 20px;
  }

  .mr-homeHero__actions {
    flex-direction: column;
  }
}

/* Tighten Cocoon default spacing around custom pages */
.home .main,
.page .main,
.archive .main,
.tax-area .main,
.single-shop .main {
  margin-top: 0;
  padding-top: 0;
}

.entry-content.mr-listingPage,
.entry-content.mr-shopPage,
.main > .mr-home {
  margin-top: 0;
}

.entry-content.mr-listingPage > :first-child,
.entry-content.mr-shopPage > :first-child,
.main > .mr-home > :first-child {
  margin-top: 0;
}

/* Remove Cocoon top spacing around custom theme layouts */
.home #content,
.home #content-in,
.home #main,
.post-type-archive-shop #content,
.post-type-archive-shop #content-in,
.post-type-archive-shop #main,
.tax-area #content,
.tax-area #content-in,
.tax-area #main,
.single-shop #content,
.single-shop #content-in,
.single-shop #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home #main > .mr-home,
.post-type-archive-shop #main > .mr-listingPage,
.tax-area #main > .mr-listingPage,
.single-shop #main > .mr-shopPage {
  margin-top: 0 !important;
}

/* Remove top gap from Cocoon main/content wrappers */
body.home #content.content,
body.home #content-in.content-in,
body.home #main.main,
body.post-type-archive-shop #content.content,
body.post-type-archive-shop #content-in.content-in,
body.post-type-archive-shop #main.main,
body.tax-area #content.content,
body.tax-area #content-in.content-in,
body.tax-area #main.main,
body.single-shop #content.content,
body.single-shop #content-in.content-in,
body.single-shop #main.main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home #main.main,
body.post-type-archive-shop #main.main,
body.tax-area #main.main,
body.single-shop #main.main {
  padding-top: 0 !important;
}

/* Hide empty Cocoon navigation bar */
#navi-in:empty {
  display: none !important;
}

#navi {
  min-height: 0 !important;
}

#navi:has(#navi-in:empty) {
  display: none !important;
}

/* Force-remove Cocoon gap above custom content */
#content.content {
  margin-top: 0 !important;
}

#content-in.content-in {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#main.main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.entry-content,
.article,
.archive-title,
.entry-title {
  margin-top: 0 !important;
}

/* Hide empty global navigation entirely */
#navi,
#navi-in {
  min-height: 0 !important;
}

#navi {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Tighten header bottom spacing */
#header-container,
#header-container-in,
#header,
#header-in {
  margin-bottom: 0 !important;
}

/* Home page should be full-width without sidebar */
body.home #content-in.content-in {
  display: block !important;
}

body.home #main.main {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  float: none !important;
}

body.home #sidebar,
body.home .sidebar,
body.home #sidebar-scroll,
body.home .sidebar-scroll,
body.home .widget-sidebar,
body.home #slide-in-sidebar,
body.home #sidebar-menu-content,
body.home .sidebar-menu-button {
  display: none !important;
}

body.home .mr-home {
  max-width: 1280px;
  margin: 0 auto;
}

/* Compact the Cocoon centered logo header */
.header-in {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.tagline {
  margin: 4px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.logo-text {
  padding: 8px 0 10px !important;
}

.site-name-text {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

.logo-header {
  margin: 0 !important;
}

/* Pull first view upward a bit more */
body.home #main.main {
  padding-top: 8px !important;
}

/* Keep footer in normal document flow */
#footer.footer {
  clear: both !important;
  position: relative !important;
  margin-top: 56px !important;
  padding: 20px 0 !important;
  background: rgba(247, 239, 230, 0.96) !important;
  border-top: 1px solid var(--mr-line) !important;
  z-index: 2 !important;
}

#footer-in.footer-in {
  max-width: 1256px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-bottom {
  margin-top: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px;
}

.footer-bottom-logo {
  position: static !important;
  float: none !important;
  bottom: auto !important;
}

.footer-bottom-content {
  float: none !important;
  text-align: right !important;
}

@media screen and (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .footer-bottom-content {
    text-align: left !important;
  }
}

/* Home: remove Cocoon title band so hero starts immediately */
body.home .tagline,
body.home .logo-header,
body.home .logo,
body.home .site-name-text-link,
body.home .site-name-text {
  display: none !important;
}

body.home #header-container,
body.home #header-container-in,
body.home #header,
body.home #header-in,
body.home .header-in {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Home: collapse any space between header and first view */
body.home #content.content {
  margin-top: 0 !important;
}

body.home #main.main {
  padding-top: 0 !important;
}

body.home .mr-homeHero {
  margin-top: 0 !important;
}

/* Footer: simplify to centered copyright and avoid overlap */
.footer-bottom-logo,
#navi-footer,
#navi-footer-in {
  display: none !important;
}

#footer.footer {
  position: static !important;
  clear: both !important;
}

.footer-bottom,
.footer-bottom-content {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  float: none !important;
}

.source-org.copyright {
  margin: 0 auto !important;
  display: block !important;
}

/* Reserve enough space before footer on the home layout */
body.home #main.main {
  padding-bottom: 180px !important;
}

body.home .mr-home {
  padding-bottom: 120px !important;
}

body.home .mr-homeSection:last-child,
body.home .mr-homeSection-alt:last-child {
  margin-bottom: 0 !important;
}

#footer.footer {
  margin-top: 0 !important;
}

/* Tighten top spacing on non-home custom pages */
body.post-type-archive-shop #main.main,
body.tax-area #main.main,
body.single-shop #main.main {
  padding-top: 0 !important;
}

body.post-type-archive-shop .mr-listingPage,
body.tax-area .mr-listingPage,
body.single-shop .mr-shopPage {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.post-type-archive-shop .mr-pageHero,
body.tax-area .mr-pageHero,
body.single-shop .mr-pageHero {
  margin-top: 0 !important;
}

/* Hide stray footer copyright text */
.source-org.copyright {
  display: none !important;
}
