.twh-ec { max-width:1200px; margin:0 auto; }
.twh-ec, .twh-ec *{ box-sizing:border-box; }
.twh-ec-title { font-size:28px; margin:0 0 18px; }
.twh-ec-grid { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr) !important; gap:24px; align-items:start; }
@media (max-width: 1100px){ .twh-ec-grid{ grid-template-columns:1fr !important; } }

.twh-ec-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.twh-ec-month{ font-weight:800; letter-spacing:.04em; }
.twh-ec-nav{ border:1px solid #e7e7e7; background:#fff; padding:8px 12px; border-radius:10px; cursor:pointer; }

.twh-ec-dow{ display:grid; grid-template-columns:repeat(7,1fr); gap:0; margin-bottom:8px; }
.twh-ec-dow > div{ text-align:center; font-size:12px; color:#666; padding:10px 0; }

/* === TWH Events Calendar - clean UI (Woodmart-safe) === */
.twh-ec-cal{ display:grid; grid-template-columns:repeat(7,1fr); gap:0; border:1px solid #eee; border-radius:14px; overflow:hidden; }
.twh-ec-cal .twh-ec-day{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:block !important;
  width:100% !important;
  margin:0 !important;
  position:relative;
  aspect-ratio: 1 / 1;
  border:0 !important;
  border-right:1px solid #eee !important;
  border-bottom:1px solid #eee !important;
  background:#fff !important;
  cursor:pointer;
  min-height:64px;
  padding:0;
}
.twh-ec-cal .twh-ec-day:nth-child(7n){ border-right:0 !important; }

/* number */
.twh-ec-cal .twh-ec-num{
  position:absolute;
  top:10px;
  left:10px;
  font-size:14px;
  font-weight:700;
  color:#222;
}

/* state */
.twh-ec-cal .twh-ec-day.is-out{
  opacity:.35;
  cursor:default;
  background:#fafafa !important;
}
.twh-ec-cal .twh-ec-day.is-selected{
  background: rgba(215,180,132,.22) !important;
}
.twh-ec-cal .twh-ec-day.has-event .twh-ec-num{
  color:#111;
}
.twh-ec-dot{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  width:7px;
  height:7px;
  border-radius:999px;
  background:#d7b484;
}

/* right panel */
.twh-ec-right{
  border:1px solid #eee;
  border-radius:16px;
  padding:16px;
  background:#fff;
  height:100%;
}
.twh-ec-right-title{
  font-weight:900;
  margin-bottom:6px;
}
.twh-ec-right-date{
  color:#666;
  font-size:13px;
  margin-bottom:12px;
}

.twh-ec-item{
  display:block;
  width:100%;
  padding:10px;
  border:1px solid #f0f0f0;
  border-radius:14px;
  text-decoration:none !important;
  margin-bottom:10px;
  background:#fff;
}
.twh-ec-item:hover{
  border-color:#d7b484;
}
.twh-ec-item-media{
  border-radius:10px;
  overflow:hidden;
  margin-bottom:10px;
  background:#f7f7f7;
}
.twh-ec-item-media img{
  display:block;
  width:100%;
  height:140px;
  object-fit:cover;
}
.twh-ec-item-body{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.twh-ec-item-title{
  font-weight:800;
  color:#222;
  line-height:1.25;
}
.twh-ec-item-price{
  font-size:14px;
  color:#111;
  font-weight:700;
}
.twh-ec-item-price del{
  color:#888;
  font-weight:500;
}
.twh-ec-item-price ins{
  text-decoration:none;
}
.twh-ec-item-btn{
  display:inline-block;
  margin-top:2px;
  padding:8px 12px;
  border-radius:10px;
  background:#d7b484;
  color:#111;
  font-size:13px;
  font-weight:800;
  line-height:1;
}
.twh-ec-item-sub{
  color:#666;
  font-size:13px;
  margin-top:4px;
}
.twh-ec-empty{ color:#666; padding:10px 0; }
