/* GOYA 1.2.1 — product details only; no catalogue/cart/checkout selectors. */
.goya-variation-picker-patch.single-product .goya-product-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 4px 0 18px;
  padding: 0;
}
.goya-variation-picker-patch.single-product .goya-product-tools a {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #424750;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  line-height: 1.5;
  max-width: 100%;
  padding: 0;
  text-decoration: none !important;
}
.goya-variation-picker-patch.single-product .goya-product-tools a:hover {
  color: var(--goya-red, #d9000d);
}
.goya-variation-picker-patch.single-product .goya-product-tools span {
  align-items: center;
  background: #fff3f3;
  border: 0;
  border-radius: 8px;
  color: var(--goya-red, #d9000d);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 19px;
  font-weight: 500;
  height: 28px;
  justify-content: center;
  text-decoration: none !important;
  width: 28px;
}
.goya-variation-picker-patch .goya-vp-form,
.goya-variation-picker-patch .goya-vp-panel,
.goya-variation-picker-patch .goya-vp-panel * {
  box-sizing: border-box;
}
.goya-variation-picker-patch.single-product .goya-vp-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: none;
  clear: both;
  margin: 0 0 16px;
  max-width: 100%;
  min-width: 0;
  padding: 18px;
  width: 100%;
}
/* Explicitly neutralise the theme's striped table cells, including tbody odd rows. */
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations,
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations tbody,
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations tr,
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations th,
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations td {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block;
  float: none;
  margin: 0;
  max-width: 100%;
  min-height: 0;
  min-width: 0;
  padding: 0 !important;
  width: 100%;
}
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 !important;
}
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations .goya-vp-row + .goya-vp-row {
  margin-top: 20px;
}
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations .label {
  align-items: baseline;
  color: #202329;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 4px 10px;
  justify-content: space-between;
  line-height: 1.5;
  margin-bottom: 11px;
  text-align: left;
}
.goya-variation-picker-patch.single-product form.goya-vp-form table.variations .label label {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
}
.goya-variation-picker-patch .goya-vp-current {
  color: #7b818a;
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.goya-variation-picker-patch .goya-vp-native {
  border: 0 !important;
  clip-path: inset(50%);
  height: 1px !important;
  margin: -1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
}
.goya-variation-picker-patch.single-product .goya-vp-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  max-width: 560px;
  width: 100%;
}
.goya-variation-picker-patch.single-product button.goya-vp-option {
  align-content: center;
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #dcdfe4;
  border-radius: 10px;
  box-shadow: none;
  color: #292d34;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  gap: 3px;
  justify-content: center;
  letter-spacing: normal;
  line-height: 1.2;
  margin: 0;
  min-height: 56px;
  min-width: 0;
  opacity: 1;
  padding: 8px 5px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.goya-variation-picker-patch.single-product button.goya-vp-option:not(:disabled):hover {
  background: #fff8f8;
  border-color: var(--goya-red, #d9000d);
  color: var(--goya-red, #d9000d);
}
.goya-variation-picker-patch.single-product button.goya-vp-option.is-selected {
  background: #fff4f4;
  border-color: var(--goya-red, #d9000d);
  box-shadow: inset 0 0 0 1px var(--goya-red, #d9000d);
  color: var(--goya-red, #d9000d);
}
.goya-variation-picker-patch.single-product button.goya-vp-option:disabled {
  background: #f4f5f6;
  border-color: #edf0f2;
  box-shadow: none;
  color: #9298a1;
  cursor: not-allowed;
  opacity: 1;
  text-decoration: none;
}
.goya-variation-picker-patch .goya-vp-option[data-state="soldout"] .goya-vp-option-label,
.goya-variation-picker-patch .goya-vp-option[data-state="backorder"] .goya-vp-option-label {
  text-decoration: line-through;
  text-decoration-color: #b8bec6;
}
.goya-variation-picker-patch .goya-vp-option-label {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.goya-variation-picker-patch .goya-vp-option-state {
  font-size: 9px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.goya-variation-picker-patch .goya-vp-option-state:empty { display: none; }
.goya-variation-picker-patch.single-product button.goya-vp-option:focus-visible,
.goya-variation-picker-patch.single-product .goya-product-tools a:focus-visible,
.goya-variation-picker-patch .goya-vp-panel .reset_variations:focus-visible {
  outline: 2px solid var(--goya-red, #d9000d);
  outline-offset: 3px;
}
.goya-variation-picker-patch.single-product .goya-vp-grid--colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.goya-variation-picker-patch.single-product .goya-vp-grid--colors button.goya-vp-option {
  column-gap: 8px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  text-align: left;
  width: auto;
}
.goya-variation-picker-patch .goya-vp-color {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d0d4da;
  display: block;
  grid-column: 1;
  grid-row: 1 / 3;
  height: 18px;
  width: 18px;
}
.goya-variation-picker-patch .goya-vp-grid--colors .goya-vp-option-label,
.goya-variation-picker-patch .goya-vp-grid--colors .goya-vp-option-state { grid-column: 2; }
.goya-variation-picker-patch .goya-vp-option:disabled .goya-vp-color { opacity: .4; }
.goya-variation-picker-patch .goya-vp-footer {
  align-items: baseline;
  border-top: 1px solid #f0f1f3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
}
.goya-variation-picker-patch.single-product .goya-vp-note,
.goya-variation-picker-patch.single-product .goya-vp-status {
  color: #7b818a;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
.goya-variation-picker-patch.single-product .goya-vp-status:not([hidden]) {
  color: #565e68;
  font-size: 12px;
  margin-top: 10px;
}
.goya-variation-picker-patch .goya-vp-status[hidden] { display: none !important; }
.goya-variation-picker-patch.single-product .goya-vp-panel .reset_variations {
  border: 0;
  color: #565e68;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.goya-variation-picker-patch.single-product .goya-vp-form .single_variation_wrap {
  border-top: 0;
  padding-top: 0;
}
@media (max-width: 480px) {
  .goya-variation-picker-patch.single-product .goya-vp-panel { border-radius: 14px; padding: 14px; }
  .goya-variation-picker-patch.single-product .goya-product-tools { gap: 9px; margin-bottom: 16px; }
  .goya-variation-picker-patch.single-product .goya-product-tools a { font-size: 12px; }
  .goya-variation-picker-patch.single-product .goya-vp-grid { gap: 7px; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
  .goya-variation-picker-patch.single-product button.goya-vp-option { min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .goya-variation-picker-patch.single-product button.goya-vp-option { transition: none; }
}
@media (forced-colors: active) {
  .goya-variation-picker-patch.single-product button.goya-vp-option.is-selected { outline: 2px solid Highlight; }
  .goya-variation-picker-patch.single-product button.goya-vp-option:disabled { color: GrayText; border-color: GrayText; }
}
