/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */ /**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Round color button */
.bv-color-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  width: 1.5rem;
  height: 1.5rem;
  padding: 1px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid transparent;
}

.bv-color-button:hover,
.bv-color-button:focus {
  border-color: #8b8d8f;
  outline: none;
}

.bv-color-button svg {
  display: none;
}

.bv-color-button.selected {
  border-color: #000000;
}

.persy-button-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.bv-color-button.selected {
  border-color: #000000;
}

.bv-color-button.selected svg {
  display: block;
}

.persy-attribute-group {
  margin-top: 1.5rem;
}

.persy-color-container {
  display: flex;
  justify-content: space-between;
  border: 1px solid #e1e1e1;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.persy-color-container span {
  font-size: 0.875rem;
}

.persy-color-container-relation {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.persy-color-container-relation .persy-color-list {
  padding-top: 1rem;
}

.persy-color-container-relation .persy-color-list-wrap {
  height: 0;
  overflow: hidden;
}

.persy-color-header-relation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.persy-color-list {
  display: flex;
  gap: 0.625rem;
  max-width: 15.25rem;
  flex-wrap: wrap;
}

/* .with-relation .persy-color-list {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
} */

.persy-color-list.active {
  padding-top: 1rem;
  max-height: 200px;
}

.persy-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  background-color: #f3f3f3;
  border-radius: 8px;
  border: 1px solid #f3f3f3;
  transition: border-color 0.2s;
}

.persy-button.selected {
  border: 1px solid #8b8d8f;
}

.persy-button.selected .persy-checkbox {
  background-color: #cac8f2;
  transition: all 0.2s;
}

.persy-button.selected .persy-checkbox svg {
  display: block;
}

.persy-button:hover {
  cursor: pointer;
  border: 1px solid #8b8d8f;
}

.persy-button:hover .persy-checkbox {
  border: 1px solid #b4b4b4;
}

.persy-button-content {
  padding: 0.75rem 1rem;
}

.persy-button-content p {
  font-size: 0.75rem;
  line-height: 1.125rem;
}

.persy-button-more {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #8b8d8f;
}

.persy-button-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.persy-button-header span {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.persy-button-header > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.persy-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  background-color: white;
  border-radius: 4px;
}

.persy-checkbox svg {
  display: none;
}

.persy-button-image {
  flex-shrink: 0;
  padding-right: 0.5rem;
}

.persy-button-image img {
  width: 6.125rem;
  height: 6.125rem !important;
  object-fit: cover;
  border-radius: 4px;
}
.persy-button-modal-wrapper {
  display: none;
  position: relative;
  z-index: 999999;
}

.persy-button-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.persy-button-modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999999;
}

.persy-button-modal-header h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 1024px) {
  .persy-button-modal-header h2 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.persy-button-modal-content {
  overflow-y: auto;
  background-color: white;
  padding-inline: 1.25rem;
  padding-top: 2.75rem;
  z-index: 9999999;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .persy-button-modal-content {
    max-width: 27.875rem;
    border-radius: 10px;
    height: auto;
    padding: 2rem;
  }
}

.persy-button-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .persy-button-modal-close {
    top: 0.5rem;
    right: 0.5rem;
  }
}

.persy-button-modal-description {
  margin-bottom: 1.5rem;
}

.persy-button-modal-image img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1;
}

@media screen and (min-width: 768px) {
  .persy-button-modal-image img {
    aspect-ratio: 382/255;
  }
}

.cart-item-attributes {
  border: 1px solid #e1e1e1;
  border-top: none;
  padding-bottom: 1rem;
  padding-inline: 1rem;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transform: translateY(-0.4375rem);
  padding-top: 1.4375rem;
}

.cart-item-attribute-group {
  display: flex;
  width: 100%;
  gap: 1.25rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e1e1e1;
  font-size: 0.75rem;
  line-height: 1.125rem;
}

.cart-item-attribute-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cart-item-attributes-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  max-width: 13.3125rem;
  width: 100%;
}

.cart-item-attribute {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.cart-item-attribute .free {
  color: #8b8d8f;
}

.persy-wide-color-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.persy-wide-color-label {
  display: block;
}

.persy-wide-button {
  display: flex;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 0.625rem 0.75rem;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.persy-wide-button:hover {
  cursor: pointer;
  border-color: #8b8d8f;
}

.persy-wide-color {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 4px;
  padding: 1px;
  border: 1px solid transparent;
}

.persy-wide-button.selected {
  background-color: #f3f3f3;
  border-color: #000000;
}

.persy-wide-button.selected .persy-wide-color {
  border: 1px solid #000000;
}

.persy-wide-button svg {
  display: none;
}

.persy-wide-button.selected svg {
  display: block;
}

.persy-wide-color {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  background-color: transparent;
}

.persy-wide-color-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.5rem;
}

.persy-wide-color-container .persy-selected-attribute {
  color: #8b8d8f;
}

.persy-customize,
.persy-reset {
  transition: background-color 0.2s;
  border-radius: 4px;
}

.persy-customize .customize,
.persy-customize .reset-to-default {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.persy-customize:hover,
.persy-reset:hover {
  cursor: pointer;
  background-color: #f3f3f3;
}

.persy-addons-label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.5rem;
}

.persy-selected-attribute-relation {
  color: #8b8d8f;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-left: 0.5rem;
}
