/**
 * Single product — full-bleed accordion (below gallery + summary).
 */

.single-product .bg-product-accordion-section {
  clear: both;
  flex: 1 1 100%;
  box-sizing: border-box;
  background-color: #f5f5f5;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 2.5rem;
  padding: 3.5rem 0 4rem;
}

.single-product .bg-product-accordion-section .ast-container {
  max-width: var(--ast-normal-container-width, 1440px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.bg-product-accordion {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.bg-product-accordion__item {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-product-accordion__item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-product-accordion__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  user-select: none;
  font-size: 1.10rem;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bg-product-accordion__summary::-webkit-details-marker {
  display: none;
}

.bg-product-accordion__summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  opacity: 0.65;
}

.bg-product-accordion__item[open] .bg-product-accordion__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

/* max-height transition; JS sets pixel height so the full 0.45s runs (see product-accordion.js) */
.bg-product-accordion__panel {
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-product-accordion__item:not([open]) .bg-product-accordion__panel {
  max-height: 0;
}

.bg-product-accordion__item[open] .bg-product-accordion__panel {
  max-height: none;
}

.bg-product-accordion__panel-inner {
  padding-bottom: 1rem;
}

.bg-product-accordion__panel-inner > *:first-child {
  margin-top: 0;
}

/* Visible product attributes: two columns, check icon per value */
.bg-product-accordion__attr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 0.65rem;
}

@media (max-width: 600px) {
  .bg-product-accordion__attr-list {
    grid-template-columns: 1fr;
  }
}

.bg-product-accordion__attr-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  min-width: 0;
  line-height: 1.45;
}

.bg-product-accordion__attr-item::before {
  content: "";
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.12em;
  background-color: currentColor;
  opacity: 0.72;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 111.06-1.06L6 11.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 111.06-1.06L6 11.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
