:root{
  --pcmm-orange: rgb(240,120,20);
  --pcmm-brown: rgb(131,36,13);
  --pcmm-cream: #fef4ea;
  --pcmm-text: #2d2420;
  --pcmm-muted: #81746f;
  --pcmm-border: #f1e5dc;
  --pcmm-white: #fff;
  --pcmm-shadow: 0 24px 60px rgba(58,32,20,.16);
}

.pcmm-root > a,
.pcmm-root > .wd-nav-link,
.pcmm-root > .elementor-item{
  position: relative;
}

.pcmm-root > a::after,
.pcmm-root > .wd-nav-link::after,
.pcmm-root > .elementor-item::after{
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-left: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 8px;
  vertical-align: 2px;
  opacity: .7;
  transition: transform .2s ease;
}

.pcmm-root.pcmm-open > a::after,
.pcmm-root:hover > a::after{
  transform: rotate(135deg);
}

.pcmm-panel{
  position: fixed;
  z-index: 99999;
  top: var(--pcmm-top, 80px);
  left: 50%;
  width: min(1080px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  direction: rtl;
}

.pcmm-root:hover > .pcmm-panel,
.pcmm-root:focus-within > .pcmm-panel,
.pcmm-root.pcmm-open > .pcmm-panel{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pcmm-shell{
  display: grid;
  grid-template-columns: 275px minmax(0,1fr);
  min-height: 390px;
  max-height: min(580px, calc(100vh - var(--pcmm-top,80px) - 20px));
  overflow: hidden;
  background: var(--pcmm-white);
  border: 1px solid rgba(131,36,13,.08);
  border-radius: 18px;
  box-shadow: var(--pcmm-shadow);
}

.pcmm-sidebar{
  background: linear-gradient(180deg, #fffaf6 0%, var(--pcmm-cream) 100%);
  padding: 14px;
  border-left: 1px solid var(--pcmm-border);
  overflow-y: auto;
}

.pcmm-all-link{
  min-height: 44px;
  padding: 0 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--pcmm-brown) !important;
  font-weight: 800;
  text-decoration: none !important;
  background: rgba(240,120,20,.09);
}

.pcmm-all-link:hover{ background: rgba(240,120,20,.15); }

.pcmm-tabs{ display: flex; flex-direction: column; gap: 5px; }

.pcmm-tab{
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 20px;
  align-items: center;
  min-height: 48px;
  padding: 7px 10px;
  border-radius: 12px;
  color: var(--pcmm-text) !important;
  text-decoration: none !important;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.pcmm-tab:hover,
.pcmm-tab.is-active{
  color: var(--pcmm-brown) !important;
  background: var(--pcmm-white);
  box-shadow: 0 8px 22px rgba(131,36,13,.07);
}

.pcmm-tab.is-active::before{
  content: "";
  position: absolute;
  right: 0;
  width: 3px;
  height: 25px;
  border-radius: 4px 0 0 4px;
  background: var(--pcmm-orange);
}

.pcmm-tab{ position: relative; }
.pcmm-tab-icon,
.pcmm-card-icon,
.pcmm-empty-icon{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pcmm-orange);
  background: rgba(240,120,20,.10);
  flex: 0 0 auto;
}

.pcmm-tab-icon .pcmm-svg,
.pcmm-card-icon .pcmm-svg,
.pcmm-empty-icon .pcmm-svg{ width: 23px; height: 23px; }

.pcmm-tab-icon,
.pcmm-card-icon,
.pcmm-empty-icon{
  background: linear-gradient(145deg, rgba(240,120,20,.13), rgba(131,36,13,.06));
  border: 1px solid rgba(240,120,20,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.pcmm-tab:hover .pcmm-tab-icon,
.pcmm-tab.is-active .pcmm-tab-icon,
.pcmm-card:hover .pcmm-card-icon{
  background: linear-gradient(145deg, rgba(240,120,20,.18), rgba(131,36,13,.09));
  border-color: rgba(240,120,20,.20);
}

.pcmm-illustration{ overflow: visible; }
.pcmm-tab-arrow{ display:flex; color:#b7aaa4; transition:transform .16s ease,color .16s ease; }
.pcmm-tab-arrow .pcmm-svg{ width:18px; height:18px; }
.pcmm-tab:hover .pcmm-tab-arrow,
.pcmm-tab.is-active .pcmm-tab-arrow{ color:var(--pcmm-orange); transform:translateX(-2px); }
.pcmm-tab-label{ overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-weight:700; font-size:14px; }

.pcmm-content{
  padding: 24px 26px;
  overflow-y: auto;
  background: #fff;
}

.pcmm-content-panel{ display:none; animation:pcmmFade .16s ease; }
.pcmm-content-panel.is-active{ display:block; }
@keyframes pcmmFade{ from{opacity:.4; transform:translateY(4px)} to{opacity:1; transform:none} }

.pcmm-content-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
  padding-bottom:16px;
  border-bottom:1px solid var(--pcmm-border);
}
.pcmm-eyebrow{ display:block; margin-bottom:5px; font-size:11px; color:var(--pcmm-orange); font-weight:800; }
.pcmm-content-head h3{ margin:0; font-size:20px; line-height:1.5; color:var(--pcmm-brown); }
.pcmm-view-all{ display:inline-flex; align-items:center; gap:6px; color:var(--pcmm-orange)!important; text-decoration:none!important; font-weight:800; font-size:13px; white-space:nowrap; }
.pcmm-view-all .pcmm-svg{ width:17px; height:17px; transition:transform .16s ease; }
.pcmm-view-all:hover .pcmm-svg{ transform:translateX(-3px); }

.pcmm-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.pcmm-card{
  min-height:74px;
  padding:12px 13px;
  border:1px solid var(--pcmm-border);
  border-radius:14px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 22px;
  align-items:center;
  gap:10px;
  text-decoration:none!important;
  background:#fff;
  color:var(--pcmm-text)!important;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.pcmm-card:hover{
  border-color:rgba(240,120,20,.36);
  box-shadow:0 12px 24px rgba(131,36,13,.07);
  transform:translateY(-1px);
}
.pcmm-card-icon{ width:40px; height:40px; border-radius:12px; }
.pcmm-card-text{ min-width:0; display:flex; flex-direction:column; gap:4px; }
.pcmm-card-text strong{ color:var(--pcmm-text); font-size:14px; line-height:1.5; }
.pcmm-card-text small{ color:var(--pcmm-muted); font-size:11px; }
.pcmm-card-arrow{ display:flex; color:#b7aaa4; }
.pcmm-card-arrow .pcmm-svg{ width:18px;height:18px; }
.pcmm-card:hover .pcmm-card-arrow{ color:var(--pcmm-orange); }

.pcmm-empty-card{
  min-height:110px;
  padding:18px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 24px;
  align-items:center;
  gap:14px;
  border:1px dashed rgba(240,120,20,.35);
  border-radius:16px;
  background:#fffaf7;
  color:var(--pcmm-text)!important;
  text-decoration:none!important;
}
.pcmm-empty-card .pcmm-empty-icon{width:50px;height:50px;border-radius:15px}
.pcmm-empty-card strong{display:block;margin-bottom:4px;color:var(--pcmm-brown);font-size:15px}
.pcmm-empty-card small{color:var(--pcmm-muted);font-size:12px}
.pcmm-empty-card > .pcmm-svg{width:20px;height:20px;color:var(--pcmm-orange)}

.pcmm-svg{ display:block; width:18px; height:18px; }

@media (max-width: 1024px){
  .pcmm-panel{
    width:calc(100vw - 20px);
    left:50%;
    top:var(--pcmm-top,70px);
  }
  .pcmm-shell{ grid-template-columns:220px minmax(0,1fr); border-radius:14px; }
  .pcmm-content{ padding:18px; }
  .pcmm-grid{ grid-template-columns:1fr; }
}

@media (max-width: 767px){
  .pcmm-panel{
    position:fixed;
    top:var(--pcmm-top,64px);
    width:calc(100vw - 12px);
  }
  .pcmm-shell{
    display:block;
    max-height:calc(100vh - var(--pcmm-top,64px) - 10px);
    overflow-y:auto;
  }
  .pcmm-sidebar{ border-left:0; border-bottom:1px solid var(--pcmm-border); }
  .pcmm-tabs{ flex-direction:row; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; }
  .pcmm-tabs::-webkit-scrollbar{ display:none; }
  .pcmm-tab{ min-width:max-content; grid-template-columns:30px auto 16px; padding:6px 9px; }
  .pcmm-tab.is-active::before{ width:24px; height:3px; right:50%; bottom:0; transform:translateX(50%); border-radius:3px 3px 0 0; }
  .pcmm-content{ padding:16px; }
  .pcmm-content-head{ align-items:center; }
  .pcmm-content-head h3{ font-size:17px; }
  .pcmm-eyebrow{ display:none; }
}

@media (prefers-reduced-motion: reduce){
  .pcmm-panel,.pcmm-tab,.pcmm-card,.pcmm-content-panel{transition:none!important;animation:none!important}
}

/* --- v1.2.0: Woodmart mobile drawer, true responsive accordion --- */
.pcmm-panel,
.pcmm-panel *{box-sizing:border-box}
.pcmm-panel,
.pcmm-panel a,
.pcmm-panel button{font-family:inherit}
.pcmm-mobile-menu{display:none}

@media (max-width:1024px){
  /* Fixed desktop mega-panels are clipped/misplaced inside Woodmart's
     transformed off-canvas drawer. Keep the mobile menu IN the drawer. */
  .pcmm-root{
    min-width:0!important;
    max-width:100%!important;
    position:relative;
  }
  .pcmm-root > .pcmm-panel{
    display:none!important;
    position:static!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    pointer-events:auto!important;
    transition:none!important;
    z-index:auto!important;
    direction:rtl;
    text-align:right;
    overflow:visible!important;
  }
  .pcmm-root.pcmm-open > .pcmm-panel{
    display:block!important;
  }
  .pcmm-root > .pcmm-panel .pcmm-shell{
    display:block!important;
    width:100%;
    min-width:0;
    min-height:0;
    max-height:none;
    height:auto;
    overflow:visible;
    background:#fff;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .pcmm-root > .pcmm-panel .pcmm-sidebar,
  .pcmm-root > .pcmm-panel .pcmm-content{
    display:none!important;
  }
  .pcmm-root > .pcmm-panel .pcmm-mobile-menu{
    display:block!important;
    width:100%;
    min-width:0;
    padding:10px 10px 13px;
    background:#fff;
    direction:rtl;
    text-align:right;
  }
  .pcmm-root .pcmm-mobile-menu a,
  .pcmm-root .pcmm-mobile-menu button{
    font-family:inherit!important;
    text-decoration:none!important;
    text-transform:none!important;
    letter-spacing:normal!important;
    white-space:normal;
    direction:rtl;
    box-shadow:none;
  }
  .pcmm-root .pcmm-mobile-all{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-height:41px;
    padding:9px 11px;
    margin:0 0 10px;
    border:0;
    border-radius:10px;
    background:#fff0e3;
    color:var(--pcmm-brown)!important;
    font-size:13px!important;
    font-weight:750!important;
    line-height:1.6;
  }
  .pcmm-mobile-all .pcmm-svg{
    width:15px;
    height:15px;
    flex:0 0 auto;
    color:var(--pcmm-brown);
  }
  .pcmm-mobile-groups{display:flex;flex-direction:column;gap:7px;min-width:0}
  .pcmm-mobile-group{
    width:100%;
    min-width:0;
    overflow:hidden;
    border:1px solid var(--pcmm-border);
    border-radius:11px;
    background:#fff;
  }
  .pcmm-root .pcmm-mobile-toggle{
    display:grid!important;
    width:100%!important;
    grid-template-columns:30px minmax(0,1fr) 17px;
    align-items:center;
    gap:8px;
    min-height:47px;
    margin:0!important;
    padding:7px 9px!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    color:var(--pcmm-text)!important;
    font-size:13px!important;
    font-weight:750!important;
    line-height:1.6!important;
    cursor:pointer;
    text-align:right!important;
    -webkit-appearance:none;
    appearance:none;
  }
  .pcmm-root .pcmm-mobile-toggle[aria-expanded="true"]{
    background:#fff6ee!important;
    color:var(--pcmm-brown)!important;
  }
  .pcmm-mobile-title{
    min-width:0;
    overflow-wrap:anywhere;
    line-height:1.65;
  }
  .pcmm-mobile-icon,
  .pcmm-mobile-item-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(240,120,20,.10);
    color:var(--pcmm-orange);
    border-radius:8px;
    width:30px;
    height:30px;
    flex:0 0 auto;
  }
  .pcmm-mobile-icon .pcmm-svg{width:22px;height:22px}
  .pcmm-mobile-chevron{display:flex;align-items:center;justify-content:center;color:var(--pcmm-brown)}
  .pcmm-mobile-chevron .pcmm-svg{width:15px;height:15px;transition:transform .18s ease}
  .pcmm-mobile-toggle[aria-expanded="true"] .pcmm-mobile-chevron .pcmm-svg{transform:rotate(-90deg)}
  .pcmm-mobile-children{
    display:flex;
    min-width:0;
    flex-direction:column;
    gap:4px;
    padding:6px 8px 9px;
    border-top:1px solid #f4e4d7;
    background:#fff;
  }
  .pcmm-mobile-children[hidden]{display:none!important}
  .pcmm-root .pcmm-mobile-view-all{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:7px;
    min-height:34px;
    padding:6px 5px;
    color:var(--pcmm-brown)!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.65;
    overflow-wrap:anywhere;
  }
  .pcmm-mobile-view-all .pcmm-svg{width:14px;height:14px;flex:0 0 auto;color:var(--pcmm-orange)}
  .pcmm-root .pcmm-mobile-item{
    display:grid;
    grid-template-columns:27px minmax(0,1fr) 15px;
    align-items:center;
    gap:8px;
    min-width:0;
    min-height:42px;
    margin:0;
    padding:6px 7px;
    border:1px solid #f6eae1;
    border-radius:9px;
    background:#fff;
    color:var(--pcmm-text)!important;
    font-size:12.5px!important;
    font-weight:600!important;
    line-height:1.65;
  }
  .pcmm-mobile-item-text{min-width:0;overflow-wrap:anywhere;text-align:right}
  .pcmm-mobile-item-icon{width:27px;height:27px;border-radius:7px}
  .pcmm-mobile-item-icon .pcmm-svg{width:20px;height:20px}
  .pcmm-mobile-item-arrow{display:flex;justify-content:center;align-items:center;color:#b39c8e}
  .pcmm-mobile-item-arrow .pcmm-svg{width:14px;height:14px}
  .pcmm-root .pcmm-mobile-item:active,
  .pcmm-root .pcmm-mobile-item:focus-visible,
  .pcmm-root .pcmm-mobile-view-all:focus-visible,
  .pcmm-root .pcmm-mobile-toggle:focus-visible{
    outline:2px solid var(--pcmm-orange)!important;
    outline-offset:-2px;
  }
  .pcmm-root.pcmm-open > a::after,
  .pcmm-root.pcmm-open > .wd-nav-link::after,
  .pcmm-root.pcmm-open > .elementor-item::after{transform:rotate(135deg)}
}

@media (max-width:359px){
  .pcmm-root > .pcmm-panel .pcmm-mobile-menu{padding:8px 7px 10px}
  .pcmm-root .pcmm-mobile-toggle{gap:6px;padding:6px!important;font-size:12.5px!important}
  .pcmm-root .pcmm-mobile-item{gap:6px;padding:5px;font-size:12px!important}
}
