/* Generated from resources/scss/commerce/gift-card.scss; edit the source and run npm run build. */
/* This purchase form keeps Woo's native variation and recipient fields. */
.single-product.woocommerce #content div.product.product-type-pw-gift-card {
  --card-muted: #4b5d50;
  --card-line: #9aab9d;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-art {
  float: left;
  width: 47%;
  margin: 0 0 32px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-art img {
  display: block;
  width: 100%;
  height: auto;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-stage {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #dfcda6 url("../assets/images/gift-cards/envelope-backdrop.jpg") center/cover;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-stage img {
  position: absolute;
  top: 25.12%;
  left: 6.62%;
  width: 84.53%;
  -webkit-transform: rotate(-6deg);
          transform: rotate(-6deg);
  -webkit-box-shadow: 0 1px 0 #d1ceb9, 0 2px 1px #a3a38b, 0 4px 5px rgba(36, 39, 27, 0.3333333333), 2px 12px 10px rgba(49, 49, 32, 0.2);
          box-shadow: 0 1px 0 #d1ceb9, 0 2px 1px #a3a38b, 0 4px 5px rgba(36, 39, 27, 0.3333333333), 2px 12px 10px rgba(49, 49, 32, 0.2);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(25, 58, 43, 0.1882352941);
  border-radius: 50%;
  background: white url("../assets/icons/osc-search.svg") center/20px no-repeat;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-stage:focus-visible {
  outline: 3px solid #006c3b;
  outline-offset: 3px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-dialog {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 94vw;
  max-height: 96vh;
  margin: auto;
  padding: 46px 0 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-dialog::-ms-backdrop {
  background: rgba(16, 39, 29, 0.9411764706);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-dialog::backdrop {
  background: rgba(16, 39, 29, 0.9411764706);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-dialog img {
  width: auto;
  max-width: min(94vw, 1350px);
  max-height: calc(96vh - 52px);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-dialog button {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border: 0;
  background: white;
  color: #153c27;
  font: 28px/1 sans-serif;
  cursor: pointer;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-dialog button:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .entry-summary {
  float: right;
  width: 48%;
  margin: 0 0 36px;
  color: var(--osc-ink);
}
@media (min-width: 768px) {
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-art + .entry-summary {
    margin-left: 5%;
  }
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .entry-summary .product_title {
  color: var(--osc-ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 12px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .woocommerce-product-details__short-description {
  color: var(--card-muted);
  font-size: 17px;
  line-height: 1.55;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .entry-summary form.cart {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid #d8dfd4;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .variations, .single-product.woocommerce #content div.product.product-type-pw-gift-card .variations tbody, .single-product.woocommerce #content div.product.product-type-pw-gift-card .variations tr, .single-product.woocommerce #content div.product.product-type-pw-gift-card .variations th, .single-product.woocommerce #content div.product.product-type-pw-gift-card .variations td {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .variations {
  margin-bottom: 20px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .variations .label label, .single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-purchase-container .pwgc-label {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--osc-ink);
  margin: 0 0 6px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-form .reset_variations, .single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-form select[hidden] {
  display: none !important;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-form-email-design > [hidden] {
  display: none !important;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-designs {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-designs legend {
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  color: var(--osc-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles label {
  position: relative;
  margin: 0;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles label > span {
  display: block;
  height: 100%;
  padding: 4px;
  border: 1px solid #bdc8bb;
  background: #fff;
  cursor: pointer;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles label:hover > span {
  border-color: #46694e;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 27/16;
  -o-object-fit: contain;
     object-fit: contain;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles span > span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 5px;
  padding: 6px 2px 3px;
  color: var(--osc-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles span > span::before {
  content: "";
  -ms-flex-item-align: start;
      align-self: flex-start;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 11px;
          flex: 0 0 11px;
  height: 11px;
  margin-top: 3px;
  border: 1px solid #69806c;
  border-radius: 50%;
  background: #fff;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles input:checked + span {
  border-color: #00683a;
  -webkit-box-shadow: inset 0 0 0 1px #00683a;
          box-shadow: inset 0 0 0 1px #00683a;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles input:checked + span > span::before {
  border-color: #00683a;
  background: #00683a;
  -webkit-box-shadow: inset 0 0 0 2px white;
          box-shadow: inset 0 0 0 2px white;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-design-tiles input:focus-visible + span {
  outline: 3px solid #00683a;
  outline-offset: 2px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(-webkit-max-content, 1.35fr);
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(max-content, 1.35fr);
  gap: 0;
  border: 1px solid var(--card-line);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts label {
  position: relative;
  margin: 0;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts span {
  display: grid;
  min-height: 48px;
  padding: 6px 8px;
  place-items: center;
  background: #fff;
  color: var(--osc-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts label + label {
  border-left: 1px solid var(--card-line);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts label:hover span {
  background: #f1f6ed;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts input:checked + span {
  color: var(--osc-button-text);
  background: var(--osc-green);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts label:hover input:checked + span {
  background: var(--osc-green-dark);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts input:disabled + span {
  opacity: 0.5;
  cursor: default;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts input:focus-visible + span {
  outline: 3px solid #006c3b;
  outline-offset: -3px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts input:checked:focus-visible + span {
  outline-color: white;
  outline-offset: -5px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-email-preview-button:focus-visible,
.single-product.woocommerce #content div.product.product-type-pw-gift-card .single_add_to_cart_button:focus-visible {
  outline: 3px solid #006c3b;
  outline-offset: 3px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-purchase-container .pwgc-field-container {
  margin: 0 0 14px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-purchase-container :is(.pwgc-input-text, .wc_input_price, #pwgc-message) {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--card-line);
  background: #fff;
  color: var(--osc-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-purchase-container #pwgc-message {
  height: 78px;
  resize: vertical;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-purchase-container .pwgc-subtitle {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--card-muted);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-purchase-container .pwgc-subtitle:empty {
  display: none;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-form-email-design {
  padding-bottom: 0;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-email-preview-button {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--osc-green-dark);
  border-radius: 0;
  background: #fff;
  color: var(--osc-green-dark);
  font: inherit;
  font-weight: 600;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-email-preview-button:hover {
  background: var(--osc-green-dark);
  color: var(--osc-button-hover-text);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-email-preview-container {
  border: 1px solid var(--card-line);
}
@media (scripting: none) {
  .single-product.woocommerce #content div.product.product-type-pw-gift-card #pwgc-email-preview-button {
    display: none;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card form:has(.osc-gift-native-custom) #pwgc-custom-amount-form {
    display: block;
  }
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .woocommerce-variation-add-to-cart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .woocommerce-variation-add-to-cart .quantity {
  margin: 0;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .woocommerce-variation-add-to-cart .osc-pack-quantity {
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 134px;
          flex: 0 0 134px;
  width: 134px;
  margin-top: 23px;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-quantity-label {
  position: absolute;
  bottom: calc(100% + 5px);
  left: -1px;
  color: #5d6a54;
  font-size: 12px;
  line-height: 1.5;
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .single_add_to_cart_button {
  min-height: 48px;
  margin: 0;
  border-radius: 0;
  background: var(--osc-green);
  color: var(--osc-button-text);
}
.single-product.woocommerce #content div.product.product-type-pw-gift-card .single_add_to_cart_button:hover {
  background: var(--osc-green-dark);
  color: var(--osc-button-hover-text);
}
@media (max-width: 767px) {
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-art, .single-product.woocommerce #content div.product.product-type-pw-gift-card .entry-summary {
    float: none;
    width: 100%;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card:has(> .osc-gift-card-art) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card:has(> .osc-gift-card-art)::before, .single-product.woocommerce #content div.product.product-type-pw-gift-card:has(> .osc-gift-card-art)::after {
    display: none;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card:has(> .osc-gift-card-art) .entry-summary {
    display: contents;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card:has(> .osc-gift-card-art) .entry-summary .product_title {
    grid-row: 1;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card:has(> .osc-gift-card-art) .osc-gift-card-art {
    grid-row: 2;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-card-art {
    margin-bottom: 22px;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .entry-summary .product_title {
    margin-bottom: 10px;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .woocommerce-product-details__short-description {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts label:nth-child(2n+1) {
    border-left: 0;
  }
  .single-product.woocommerce #content div.product.product-type-pw-gift-card .osc-gift-amounts label:nth-child(n+3) {
    border-top: 1px solid var(--card-line);
  }
}

/* Pimwick appends the delivery calendar to body, outside its product form. */
body.single-product > .pika-single {
  border-color: #9aab9d;
  color: var(--osc-ink);
  font-family: inherit;
}
body.single-product > .pika-single .pika-button {
  min-height: 34px;
  background: #f4f6f1;
  color: var(--osc-ink);
  font: inherit;
}
body.single-product > .pika-single .is-today .pika-button {
  color: #006c3b;
  font-weight: 700;
}
body.single-product > .pika-single .is-selected .pika-button, body.single-product > .pika-single .pika-button:hover {
  border-radius: 0;
  background: var(--osc-green-dark);
  color: var(--osc-button-text);
  -webkit-box-shadow: none;
          box-shadow: none;
}
body.single-product > .pika-single .is-disabled .pika-button {
  color: #69716a;
  background: #fff;
}
body.single-product > .pika-single :is(button, select):focus-visible {
  outline: 3px solid #006c3b;
  outline-offset: -3px;
}
body.single-product > .pika-single .is-selected .pika-button:focus-visible {
  outline-color: white;
  outline-offset: -4px;
}
