.mytheme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #fff;
  box-shadow: 0 18px 36px rgba(97, 51, 55, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease;
  height: 100%;
}

.mytheme-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px rgba(97, 51, 55, 0.18);
}

.mytheme-product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.mytheme-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.mytheme-product-card:hover .mytheme-product-card__media img {
  transform: scale(1.05);
}

.mytheme-product-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #613337;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(97, 51, 55, 0.12);
}

.mytheme-variant-dropdown {
  position: relative;
}

.mytheme-variant-dropdown__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(97, 51, 55, 0.2);
  background: rgba(97, 51, 55, 0.05);
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #613337;
  transition: border-color 150ms ease, background 150ms ease;
}

.mytheme-variant-dropdown__toggle:hover,
.mytheme-variant-dropdown__toggle:focus-visible {
  border-color: rgba(97, 51, 55, 0.55);
  background: rgba(97, 51, 55, 0.1);
  outline: none;
}

.mytheme-variant-dropdown__toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.mytheme-variant-dropdown[data-open="true"] .mytheme-variant-dropdown__toggle svg {
  transform: rotate(180deg);
}

.mytheme-variant-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(97, 51, 55, 0.2);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 48px rgba(97, 51, 55, 0.22);
  z-index: 30;
}

.mytheme-variant-dropdown[data-open="true"] .mytheme-variant-dropdown__menu {
  display: flex;
}

.mytheme-variant-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 1.25rem;
  border: 1px solid transparent;
  background: rgba(97, 51, 55, 0.06);
  color: #613337;
  font-weight: 600;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.mytheme-variant-option:hover:not(:disabled),
.mytheme-variant-option:focus-visible:not(:disabled) {
  border-color: rgba(97, 51, 55, 0.4);
  background: rgba(97, 51, 55, 0.12);
  outline: none;
}

.mytheme-variant-option.is-active {
  border-color: rgba(97, 51, 55, 0.5);
  background: rgba(97, 51, 55, 0.18);
  box-shadow: inset 0 0 0 1px rgba(97, 51, 55, 0.05);
}

.mytheme-variant-option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mytheme-product-card__form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

