/**
 * === TGD Accordions (Description + Size Chart) — match Bulk Discount style ===
 * NOTE: We DO NOT touch Bulk Discount. These rules only target .tgd-acc-outer.
 */

/* Container (same look as .wdp_table_outter) */
.tgd-acc-outer {
  margin: 2px 0;
  border: 1px solid #000000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background: #fff;
}

/* Header */
.tgd-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #ffffff;
  margin: 0 !important;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
  user-select: none;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Active/Hover */
.tgd-accordion-header:hover { background-color: #ffffff; }
.tgd-accordion-active { background-color: #ffffff; }

/* Arrow */
.tgd-accordion-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  margin-left: 10px;
}
.tgd-accordion-active .tgd-accordion-arrow { transform: rotate(180deg); }

/* Panel */
.tgd-accordion-panel {
  display: none;
  padding: 14px;
  background: #fff;
  color: #000;
}
.tgd-accordion-panel.open { display: block; }

/* Subtitle for Composition inside Description */
.tgd-subtitle { margin: 16px 0 8px; font-weight: 700; text-transform: uppercase; }

/* ===== Size Chart table look (header normal grey, even/light, odd/slightly darker) ===== */
.tgd-acc-outer .tgd-styled-table,
.tgd-acc-outer table.size-chart {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #bfbfbf; /* subtle frame similar to your mock */
}

.tgd-acc-outer .tgd-styled-table thead tr,
.tgd-acc-outer table.size-chart thead tr {
  background-color: #e0e0e0; /* header: normal grey */
}

.tgd-acc-outer .tgd-styled-table th,
.tgd-acc-outer .tgd-styled-table td,
.tgd-acc-outer table.size-chart th,
.tgd-acc-outer table.size-chart td {
  padding: 10px 12px;
  border-bottom: 1px solid #d9d9d9;
  text-align: left;
}

/* Odd rows: slightly darker than header */
.tgd-acc-outer .tgd-styled-table tbody tr:nth-child(odd),
.tgd-acc-outer table.size-chart tbody tr:nth-child(odd) {
  background-color: #d6d6d6;
}

/* Even rows: light grey */
.tgd-acc-outer .tgd-styled-table tbody tr:nth-child(even),
.tgd-acc-outer table.size-chart tbody tr:nth-child(even) {
  background-color: #f3f3f3;
}

.tgd-acc-outer .tgd-styled-table tbody tr:last-child td,
.tgd-acc-outer table.size-chart tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 767px) {
  .tgd-accordion-panel { overflow-x: auto; }
  .tgd-accordion-header { padding: 12px; font-size: 14px; }
  .tgd-acc-outer .tgd-styled-table th,
  .tgd-acc-outer .tgd-styled-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
}
