/* Audrixs shop filter sidebar — premium card layout on top of the Noctura filters. */

/* Each filter group is its own soft card */
body .nc-filters { gap: 14px; }
body .nc-filters .nc-filter-group,
body .nc-filters .nc-filter-group:first-child,
body .nc-filters .nc-filter-group:last-child {
  background: #fff;
  border: 1px solid rgba(153, 102, 204, .12);
  border-radius: 18px;
  padding: 16px 16px;
  box-shadow: 0 1px 2px rgba(36, 18, 58, .03), 0 10px 30px -22px rgba(36, 18, 58, .35);
}

/* Group heading */
body .nc-filters .nc-filter-group__head {
  font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  color: #2b1f3a !important;
}
body .nc-filters .nc-filter-group__head svg {
  width: 26px; height: 26px; padding: 6px;
  border-radius: 50%;
  background: #f5effb; color: #6e4993 !important;
}
body .nc-filters .nc-filter-group__head:hover,
body .nc-filters .nc-filter-group__head:hover svg { color: #6e4993 !important; }
body .nc-filters .nc-filter-group__head:hover svg { background: #ece1f8; }
body .nc-filters .nc-filter-group__inner { padding-top: 14px; }

/* Search field */
body .nc-filters .nc-filter-search input[type="search"] {
  background: #f8f5fc;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .9rem;
}
body .nc-filters .nc-filter-search input[type="search"]:hover { border-color: rgba(153, 102, 204, .25); }
body .nc-filters .nc-filter-search input[type="search"]:focus {
  background: #fff; border-color: #9966cc;
  box-shadow: 0 0 0 4px rgba(153, 102, 204, .14);
}
body .nc-filters .nc-filter-search .nc-search-icon-btn { color: #6e4993 !important; }

/* Price slider */
body .nc-filters .nc-price-slider__track { height: 4px; background: #eee6f7; border: 0; }
body .nc-filters .nc-price-slider__fill { top: 0; bottom: 0; background: linear-gradient(90deg, #8a55c0, #b57edc); }
body .nc-filters .nc-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 20px; height: 20px; border: 3px solid #9966cc; background: #fff;
  box-shadow: 0 3px 10px -2px rgba(110, 73, 147, .55);
}
body .nc-filters .nc-price-slider input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border: 3px solid #9966cc; background: #fff;
  box-shadow: 0 3px 10px -2px rgba(110, 73, 147, .55);
}
body .nc-filters .nc-price-slider__inputs { margin-top: 16px; gap: 6px; }
body .nc-filters .nc-price-slider__cur { font-size: .8rem; }
body .nc-filters .nc-price-slider__field {
  background: #f8f5fc; border: 1px solid transparent; border-radius: 12px;
  padding: .55em .55em; gap: 2px;
}
body .nc-filters .nc-price-slider__field:hover { border-color: rgba(153, 102, 204, .25); }
body .nc-filters .nc-price-slider__field:focus-within { background: #fff; border-color: #9966cc; box-shadow: 0 0 0 4px rgba(153, 102, 204, .14); }
body .nc-filters .nc-price-slider__cur { color: #9a90a8 !important; font-weight: 600; }
body .nc-filters .nc-price-slider__field input { font-size: .84rem; letter-spacing: -.01em; font-weight: 600; color: #2b1f3a !important; }
body .nc-filters .nc-price-slider__sep { width: 10px; background: #d9cce8; }

/* Category links */
body .nc-filters .nc-filter-list { display: grid; gap: 2px; }
body .nc-filters .nc-filter-link {
  padding: .5rem .7rem; border-radius: 10px;
  color: #4a4058 !important; font-size: .9rem;
}
body .nc-filters .nc-filter-link:hover { background: #f8f5fc; color: #6e4993 !important; }
body .nc-filters .nc-filter-link.is-active,
body .nc-filters .nc-filter-link.is-active:hover {
  background: #f3ebfb; color: #6e4993 !important; font-weight: 600;
  box-shadow: inset 3px 0 0 #9966cc;
}
body .nc-filters .nc-filter-link.is-active > span,
body .nc-filters .nc-filter-link:hover > span { color: inherit !important; }
body .nc-filters .nc-filter-count {
  min-width: 30px; text-align: center;
  background: #f5effb; border: 0; color: #7d6a93 !important;
  font-size: .72rem; font-weight: 600;
}
body .nc-filters .nc-filter-link:hover .nc-filter-count,
body .nc-filters .nc-filter-check:hover .nc-filter-count { background: #ece1f8; color: #6e4993 !important; }
body .nc-filters .nc-filter-link.is-active .nc-filter-count,
body .nc-filters .nc-filter-link.is-active:hover .nc-filter-count {
  background: linear-gradient(135deg, #8a55c0, #b57edc); color: #fff !important; border: 0;
}

/* Brand checkboxes */
body .nc-filters .nc-filter-check { padding: .42rem .2rem; font-size: .9rem; color: #4a4058 !important; gap: .7rem; }
body .nc-filters .nc-filter-check:hover { color: #6e4993 !important; }
body .nc-filters .nc-filter-check__box {
  width: 18px; height: 18px; border-radius: 6px;
  border: 1.5px solid #cdbde0; background: #fff;
}
body .nc-filters .nc-filter-check:hover .nc-filter-check__box { border-color: #9966cc; }
body .nc-filters .nc-filter-check input:checked + .nc-filter-check__box {
  background: linear-gradient(135deg, #8a55c0, #b57edc); border-color: transparent;
  box-shadow: 0 3px 8px -3px rgba(110, 73, 147, .7);
}
body .nc-filters .nc-filter-check.is-active .nc-filter-check__label { color: #2b1f3a !important; }

/* "+ 4 more" */
body .nc-filters .nc-filter-more {
  margin-top: 6px; padding: .4rem .7rem; border-radius: 8px;
  color: #6e4993 !important; font-size: .84rem;
}
body .nc-filters .nc-filter-more:hover { background: #f8f5fc; color: #4a2f6b !important; }

/* Active filter chips + actions */
body .nc-filter-chip { border-radius: 100px; }
body .nc-filters .nc-filters__actions .nc-btn { border-radius: 12px; }

/* Range inputs were inheriting the global form-field padding (~17px a side),
   which pushed both handles inside the ends of the bar and off the purple fill. */
body .nc-price-slider input[type="range"] { padding: 0 !important; margin: 0 !important; border: 0 !important; min-height: 0 !important; }

/* ===== Product short description: spec-sheet table ===== */
body .woocommerce-product-details__short-description table {
  width: 100%;
  margin: 6px 0 22px;
  border-collapse: separate; border-spacing: 0;
  border: 1px solid rgba(153, 102, 204, .16);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  font-size: .93rem;
}
/* "Attribute / Details" header row adds nothing — the labels say it already */
body .woocommerce-product-details__short-description table thead { display: none; }
body .woocommerce-product-details__short-description table th,
body .woocommerce-product-details__short-description table td {
  padding: 12px 16px !important;
  text-align: left !important;
  vertical-align: top;
  border: 0;
  border-top: 1px solid rgba(153, 102, 204, .12);
  line-height: 1.5;
}
body .woocommerce-product-details__short-description table tbody tr:first-child th,
body .woocommerce-product-details__short-description table tbody tr:first-child td { border-top: 0; }
body .woocommerce-product-details__short-description table tbody th {
  width: 36%;
  background: #f8f5fc;
  color: #6b5f7b !important;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  border-right: 1px solid rgba(153, 102, 204, .12);
}
body .woocommerce-product-details__short-description table tbody td {
  color: #2b1f3a !important;
  font-weight: 500;
}
body .woocommerce-product-details__short-description table tbody tr:hover td { background: #fcfaff; }

@media (max-width: 560px) {
  body .woocommerce-product-details__short-description table tbody tr { display: block; border-top: 1px solid rgba(153, 102, 204, .12); }
  body .woocommerce-product-details__short-description table tbody tr:first-child { border-top: 0; }
  body .woocommerce-product-details__short-description table tbody th,
  body .woocommerce-product-details__short-description table tbody td { display: block; width: auto; border: 0 !important; }
  body .woocommerce-product-details__short-description table tbody th { padding: 10px 14px 2px !important; background: transparent; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
  body .woocommerce-product-details__short-description table tbody td { padding: 0 14px 10px !important; }
}

/* Tables with 3+ columns (e.g. "Component | Model | Qty") are real data tables:
   keep their header row and lay them out as a normal grid, never as label/value. */
body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) thead { display: table-header-group; }
body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) thead th {
  background: #f3ebfb; color: #4a2f6b !important;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-top: 0;
}
body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) tbody th {
  width: auto; background: transparent; color: #2b1f3a !important;
  font-size: .93rem; font-weight: 600; letter-spacing: 0; border-right: 0;
}
body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) tbody tr:first-child th,
body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) tbody tr:first-child td { border-top: 1px solid rgba(153, 102, 204, .12); }
@media (max-width: 560px) {
  body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) tbody tr { display: table-row; }
  body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) tbody th,
  body .woocommerce-product-details__short-description table:has(tr > :nth-child(3)) tbody td {
    display: table-cell; padding: 10px 12px !important; font-size: .85rem; text-transform: none;
    border-top: 1px solid rgba(153, 102, 204, .12) !important;
  }
}

/* ===================== Product description tab ===================== */
#tab-description { font-size: .95rem; color: #4a4058; }
#tab-description > h2:first-child { display: none; } /* the tab already says "Description" */
#tab-description p { line-height: 1.75; margin: 0 0 14px; color: #4a4058 !important; }
#tab-description p:last-child { margin-bottom: 0; }
#tab-description strong, #tab-description b { color: #2b1f3a !important; }
#tab-description h2, #tab-description h3, #tab-description h4 { color: #2b1f3a !important; letter-spacing: -.01em; margin: 22px 0 10px; }

/* Collapsible sections as clean cards */
#tab-description details {
  background: #fff;
  border: 1px solid #ece4f6;
  border-radius: 14px;
  margin: 0 0 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
#tab-description details[open] { border-color: #ddd0ee; box-shadow: 0 10px 28px -20px rgba(36, 18, 58, .35); }
#tab-description details > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; margin: 0;
  font-size: 1rem; font-weight: 600; line-height: 1.4; color: #2b1f3a !important;
  background: #fff; transition: background .2s ease;
}
#tab-description details > summary::-webkit-details-marker { display: none; }
#tab-description details > summary::marker { content: ""; }
#tab-description details > summary * { font-size: inherit !important; color: inherit !important; margin: 0; }
#tab-description details > summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: #f3ebfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e4993' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform .25s ease, background-color .2s ease;
}
#tab-description details > summary:hover { background: #fcfaff; }
#tab-description details[open] > summary { background: #faf6fe; border-bottom: 1px solid #efe7f8; }
#tab-description details[open] > summary::after { transform: rotate(180deg); background-color: #e8dbf7; }
#tab-description details > :not(summary) { margin-left: 20px; margin-right: 20px; }
#tab-description details > summary + * { margin-top: 18px; }
#tab-description details > :last-child:not(summary) { margin-bottom: 20px; }

/* Bullet lists with purple check marks */
#tab-description ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 9px; }
#tab-description ul li {
  position: relative; padding-left: 28px; line-height: 1.6; color: #4a4058 !important;
}
#tab-description ul li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 18px; height: 18px; border-radius: 50%;
  background: #f3ebfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239966cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
#tab-description ol { padding-left: 22px; margin: 0 0 14px; }
#tab-description ol li { line-height: 1.6; margin-bottom: 6px; }

/* Tables — spec sheet */
#tab-description table {
  width: 100%; margin: 0 0 16px;
  border-collapse: separate; border-spacing: 0;
  border: 1px solid #ece4f6; border-radius: 12px; overflow: hidden;
  background: #fff; font-size: .9rem;
}
#tab-description table th,
#tab-description table td {
  padding: 11px 16px !important; text-align: left !important; vertical-align: top;
  border: 0; border-top: 1px solid #f0e9f8; line-height: 1.55;
  color: #2b1f3a !important; background: transparent;
}
#tab-description table tr:first-child > th,
#tab-description table tr:first-child > td { border-top: 0; }
/* first column = label */
#tab-description table tbody tr > :first-child {
  width: 38%; background: #f9f6fd;
  color: #6b5f7b !important; font-weight: 600; font-size: .84rem;
  border-right: 1px solid #f0e9f8;
}
#tab-description table tbody tr:hover > * { background-color: #fcfaff; }
#tab-description table tbody tr:hover > :first-child { background-color: #f4eefb; }
/* generic 2-column header ("Specification | Details") is noise; real data tables keep theirs */
#tab-description table:not(:has(tr > :nth-child(3))) thead { display: none; }
#tab-description table:not(:has(tr > :nth-child(3))) tbody tr:first-child > * { border-top: 0; }
#tab-description table thead th,
#tab-description table thead td {
  background: #f3ebfb; color: #4a2f6b !important;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
#tab-description table:has(tr > :nth-child(3)) tbody tr > :first-child { width: auto; }

/* Mobile */
@media (max-width: 640px) {
  #tab-description { font-size: .92rem; }
  #tab-description details > summary { padding: 14px 16px; font-size: .95rem; }
  #tab-description details > :not(summary) { margin-left: 16px; margin-right: 16px; }
  /* 2-column spec tables: label above value */
  #tab-description table:not(:has(tr > :nth-child(3))) tbody,
  #tab-description table:not(:has(tr > :nth-child(3))) tr { display: block; }
  #tab-description table:not(:has(tr > :nth-child(3))) tbody tr { border-top: 1px solid #f0e9f8; }
  #tab-description table:not(:has(tr > :nth-child(3))) tbody tr:first-child { border-top: 0; }
  #tab-description table:not(:has(tr > :nth-child(3))) tbody tr > * {
    display: block; width: auto !important; border: 0 !important; background: transparent !important;
  }
  #tab-description table:not(:has(tr > :nth-child(3))) tbody tr > :first-child {
    padding: 10px 14px 2px !important; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #8d84a0 !important;
  }
  #tab-description table:not(:has(tr > :nth-child(3))) tbody tr > :last-child { padding: 0 14px 10px !important; }
  /* wide tables scroll sideways inside their card instead of squashing */
  #tab-description table:has(tr > :nth-child(3)) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* Description section chevron: the theme drew its own chevron with border-right/bottom on the
   same ::after, which showed as a dark partial ring around ours. */
body.single-product div.product .woocommerce-tabs #tab-description details > summary::after {
  border: 0 !important;
  margin: 0 0 0 auto !important;
  width: 30px !important; height: 30px !important;
  border-radius: 50% !important;
  background: #f3ebfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e4993' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
  transform: none !important;
  transition: transform .25s ease, background-color .2s ease;
}
body.single-product div.product .woocommerce-tabs #tab-description details[open] > summary::after {
  transform: rotate(180deg) !important;
  background-color: #e8dbf7 !important;
}
body.single-product div.product .woocommerce-tabs #tab-description details > summary:hover::after { background-color: #e8dbf7 !important; }
