/* HAICO Opening Hours minimal frontend styling */

.haico-hours-table,
.haico-hours-exceptions,
.haico-hours-next7{
  width: 100%;
  border-collapse: collapse;
}

.haico-hours-table td,
.haico-hours-exceptions td,
.haico-hours-next7 td{
  padding: 6px 0;
  vertical-align: top;
}

.haico-hours-table thead th,
.haico-hours-exceptions thead th,
.haico-hours-next7 thead th{
  padding: 0 0 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
  text-align: left;
  font-weight: 600;
}

.haico-open-now,
.haico-open-status,
.haico-reachability{
  display: inline-block;
}


.haico-hours-col-left{width:38%;padding-right:16px;white-space:nowrap;}
.haico-hours-col-right{text-align:left;}
.haico-hours-bullet{display:inline-block;width:1em;}


/* hard reset to avoid theme table borders */
.haico-hours-table,
.haico-hours-next7,
.haico-hours-exceptions{
  border: 0 !important;
  border-collapse: collapse;
}

.haico-hours-table td,
.haico-hours-next7 td,
.haico-hours-exceptions td{
  border: 0 !important;
  background: transparent !important;
}


/* Force plain tables (no borders/lines), even if the theme styles tables globally */
.haico-hours-table,
.haico-hours-exceptions,
.haico-hours-next7,
.haico-hours-table * ,
.haico-hours-exceptions * ,
.haico-hours-next7 *{
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* force plain tables (override theme table styles) */
.haico-hours-table,
.haico-hours-exceptions,
.haico-hours-next7{
  border: 0 !important;
  background: transparent !important;
}

.haico-hours-table th,
.haico-hours-table td,
.haico-hours-exceptions th,
.haico-hours-exceptions td,
.haico-hours-next7 th,
.haico-hours-next7 td,
.haico-hours-table tr,
.haico-hours-exceptions tr,
.haico-hours-next7 tr{
  border: 0 !important;
  background: transparent !important;
}



/* remove any borders from this plugin tables */
.haico-hours-table tr + tr td,
.haico-hours-exceptions tr + tr td,
.haico-hours-next7 tr + tr td{
  border-top:0 !important;
}

.haico-hours-dot{display:inline-block;width:1em;margin-right:6px;}
.haico-hours-dot[data-state="open"]{color:#17803d;}
.haico-hours-dot[data-state="closed"]{color:#b91c1c;}

.haico-hours-accordion-trigger{display:flex;justify-content:space-between;align-items:center;width:100%;background:transparent;border:0;padding:0;cursor:pointer;font:inherit;text-align:left;}
.haico-hours-accordion-left{display:inline-flex;align-items:center;gap:0;}
.haico-hours-accordion-right{display:inline-flex;align-items:center;gap:8px;}


.haico-hours-accordion.is-open

/* accordion trigger + chevron (single source of truth) */
.haico-hours-accordion-trigger{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  font:inherit;
  text-align:left;
}

.haico-hours-accordion-left{
  display:inline-flex;
  align-items:center;
}

.haico-hours-accordion-right{
  display:inline-flex;
  align-items:center;
  gap:8px;
  justify-content:flex-end;
  opacity:.75;
}

.haico-hours-accordion-arrow{
  display:inline-flex;
  width:28px;
  height:28px;
  align-items:center;
  justify-content:center;
  line-height:0;
}

.haico-hours-chevron{
  width:22px;
  height:22px;
  display:block;
  transform:rotate(0deg);
  transform-origin:50% 50%;
  transition:transform .15s ease;
}

.haico-hours-accordion-trigger[aria-expanded="true"] .haico-hours-chevron{
  transform:rotate(180deg);
}
