/** Shopify CDN: Minification failed

Line 167:33 Unexpected ","
Line 168:41 Unexpected ","
Line 185:4 Unexpected "{"
Line 185:5 Expected identifier but found "%"
Line 185:88 Unexpected "{"
Line 185:89 Expected identifier but found "%"
Line 211:8 Unexpected "{"
Line 211:9 Expected identifier but found "%"
Line 213:8 Unexpected "{"
Line 213:9 Expected identifier but found "%"
... and 16 more hidden warnings

**/
:root {
    --small-min-width: 576px;
    --medium-min-width: 768px;
    --large-min-width: 992px;
    --extra-large-min-width: 1200px;
    --XXL-min-width: 1424px;
}


/* Container Mixin replaced */
.winem8-form, .winem8-account-page  {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;

}
@media (min-width: var(--medium-min-width)) {
    .winem8-form, .winem8-account-page {
        max-width: 744px;
    }
}

@media (min-width: var(--large-min-width)) {
    .winem8-form, .winem8-account-page {
        max-width: 968px;
    }
}

@media (min-width: var(extra-large-min-width)) {
    .winem8-form, .winem8-account-page {
        max-width: 1176px;
    }
}
@media (min-width: var(--XXL-min-width)) {
    .winem8-form, .winem8-account-page {
        max-width: 1400px;
    }
}

/* Animations */
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes scale-out-center {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
}
@keyframes scale-out-center {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
}

@keyframes fadeInUpWinem8 {
  0% {
    -ms-transform: translateY(60%);
    -webkit-transform: translateY(60%);
    transform: translateY(60%);
    opacity: 0;
  }

  100% {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes sk-rotateplane {
  0% {
    -webkit-transform: perspective(120px);
  }
  50% {
    -webkit-transform: perspective(120px) rotateY(180deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
  }
}

@keyframes sk-rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

#winem8-root,
.winem8-account-page {
  color: var(--winem8-text-color);
  min-height: 100vh;
}

#winem8-root :is(h1, h2, h3, h4, ,h5 ,.h1 ,.h2 ,.h3 ,.h4 ,.h5),
.winem8-account-page :is(h1, h2, h3, h4, ,h5 ,.h1 ,.h2 ,.h3 ,.h4 ,.h5){
    color: var(--winem8-titles-color);
    margin-top: 0;
}

#winem8-root a,
.winem8-account-page a {
    color: var(--winem8-links-color);
    cursor: pointer;
}

.winem8-form {
  font-size: 16px;
}

.link--winem8-cta {
    text-decoration: none !important;
    {% if settings.winem8_card_shadows == true %}transition: 0.2s transform ease-in-out;{% endif %}
}

.link--winem8-cta:focus {
    outline: none;
    text-decoration: none;
} 

.link--winem8-cta:focus .winem8-card {
    border: 1px solid var(--winem8-color-selected);
}

.link--winem8-cta:focus .btn--winem8-cta {
    background-color: var(--winem8-color-btn);
    color: var(--winem8-color-btn-contrast);
}

.link--winem8-cta:focus .btn--winem8-cta[aria-pressed="true"] {
    background-color: transparent;
    color: var(--winem8-text-color);
    border-color: var(--winem8-text-color);
}

@media (hover: hover) {
    .link--winem8-cta:hover {
        text-decoration: none;
        {% if settings.winem8_card_shadows == true %}
        transform: translateY(-1%);
        {% endif %}
    }

    .link--winem8-cta:hover .winem8-card {
        border: 1px solid var(--winem8-color-selected);
        {% if settings.winem8_card_shadows == true %}
        -webkit-box-shadow: 0 0 25px 5px rgba(0,0,0,0.2);
        box-shadow: 0 0 25px 5px rgba(0,0,0,0.2);
        {% endif %}
    }

    .link--winem8-cta:hover .btn--winem8-cta {
        background-color: var(--winem8-color-btn);
        color: var(--winem8-color-btn-contrast);
    }

    .link--winem8-cta:hover .btn--winem8-cta[aria-pressed="true"] {
        background-color: transparent;
        color: var(--winem8-text-color);
        border-color: var(--winem8-text-color);
    }
}

.winem8-card {
  color: var(--winem8-text-color);
  background-color: var(--winem8-card-background);
  padding: var(--winem8-spacing-24);
  border: 1px solid var(--winem8-color-divider);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: 0.2s border-color ease-in-out, 0.2s outline ease-in-out, 0.2s box-shadow ease-in-out;
  height: 100%;
  {% if settings.winem8_card_shadows == true %}
  -webkit-box-shadow: 0 0 1px 0 rgba(0,0,0,0.3);
  box-shadow: 0 0 1px 0 rgba(0,0,0,0.3);
  {% endif %}
}

.winem8-card[data-selected="true"]{
    border: 1px solid var(--winem8-color-selected);
    outline: 1px solid var(--winem8-color-selected);
}

.winem8-card[data-selected="true"].winem8-card__selected {
    -webkit-animation: scale-in-center 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation: scale-in-center 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.winem8-card[data-selected="false"] .winem8-card__selected {
    -webkit-animation: scale-out-center 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
    animation: scale-out-center 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.winem8-card__header {
  width: 100%;
  text-align: left;
}

.winem8-card__title {
  text-align: left;
  margin-top: 0;
}

.winem8-card__note {
  text-align: left;
}

.winem8-card__note.winem8-card__note--price {
    color: var(--winem8-color-price);
}

.winem8-card__note.winem8-card__note--percent {
    color: var(--winem8-color-discount);
}

.winem8-card__description {
  text-align: left;
  margin-top: 0;
}

.btn--winem8-cta {
  white-space: nowrap;
  align-self: flex-start;
  margin-top: auto;
  pointer-events: none;
  border: 1px solid var(--winem8-color-btn);
  background-color: transparent;
  color: var(--winem8-color-btn);
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.btn--winem8-cta[aria-pressed="true"] {
    background-color: transparent;
    color: var(--winem8-text-color);
    border-color: var(--winem8-text-color);
}

.btn--winem8-cta[data-isvalid="false"]{
    cursor: not-allowed;
}

.winem8-card__selected {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -1rem;
  right: -1rem;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 2px solid var(--winem8-color-selected);
  background-color: #ffffff;
  transform: scale(0);

}

.winem8-card__selected::before {
    position: relative;
    width: 14px;
    height: 6px;
    border-bottom: 2px solid var(--winem8-color-primary);
    border-left: 2px solid var(--winem8-color-primary);
    transform: rotate(-45deg);
    content: "";
    display: block;
    top: -1px;
}

@media (min-width: var(--medium-min-width)) {
    .winem8-order {
        max-width: 500px;
        padding: var(--winem8-spacing-24);
    }
}

@media (min-width: var(--large-min-width)) {
    .winem8-order {
        max-width: 600px;
    }
}

.winem8-order {
  padding: var(--winem8-spacing-16);
  border: 1px solid var(--winem8-color-primary);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: auto;
  margin: auto;
  margin-bottom: var(--winem8-spacing-16);
}

.winem8-order .winem8-order__details {
    text-align: left;
    margin: auto 0;
    line-height: 1.5;
    flex-grow: 1;
}

.winem8-order .winem8-order__details[data-active="false"] {
    display: none;
}

.winem8-order .winem8-order__details > * {
    margin-bottom: var(--winem8-spacing-8);
}
    
.winem8-order .winem8-order__details:last-child {
    margin-bottom: 0;
}

.winem8-order .winem8-order__details .order__discount .discount__msg {
    margin-right: 0.5em;
}

.winem8-order .winem8-order__details .order__discount .discount__amount {
    color: var(--winem8-color-discount);
    
}

.winem8-order .winem8-order__details .order__price {
    display: block;
}
.winem8-order .winem8-order__details .order__price .price__original {
    text-decoration: line-through;
    display: inline-block;
    margin-right: 0.5em;
}
.winem8-order .winem8-order__details .order__price .price__discount {
    display: inline-block;
}

.winem8-order .winem8-order__details .order__qty .qty__selected {
    display: inline-block;
}

.winem8-order .winem8-order__details .order__qty .qty__to-select {
    display: inline-block;
    margin-right: 0.5em;
}

.winem8-order .winem8-order__details .order__qty .qty__msg {
    display: inline-block;
}



@media (min-width: var(--medium-min-width)) {
    .winem8-order-fixed {
        margin: auto;
    }
}

.winem8-order-fixed {
  position: fixed;
  width: auto;
  background-color: #fff;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  bottom: -40px;
  transition: opacity 0.5s, bottom 0.5s;
  -webkit-transition: opacity 0.5s, bottom 0.5s;
  -moz--transition: opacity 0.5s, bottom 0.5s;
  left: 0px;
  right: 0px;
  margin-left: 6px;
  margin-right: 6px;
}

.winem8-order-fixed.winem8-order-show {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
    transition: opacity 0.5s, bottom 0.5s;
    -webkit-transition: opacity 0.5s, bottom 0.5s;
    -moz--transition: opacity 0.5s, bottom 0.5s;
}

.winem8-product-card {
  padding: var(--winem8-spacing-16);
  text-align: center;
  background: #fff;
  width: auto;
  border: 1px solid var(--winem8-product-card-border);
}



.winem8-product-card.is-selected {
    border-color: var(--winem8-product-card-selected);
    outline: 1px solid var(--winem8-product-card-selected);
}

.winem8-product-card .winem8-product-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.winem8-product-card .winem8-card__selected {
    right: auto;
    left: 0;
    top: 0;
    transform: scale(1);
  }

.winem8-product-card .product-image {
    width: auto;
    max-height: 15rem;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
}

@media (min-width: var(small-min-width)) {
    .winem8-product-card .product-image {
        max-height: 25rem;
    }
}

.winem8-product-card .product-functionality {
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: var(small-min-width)) {
    .winem8-product-card .pricing {
        display: flex;

    }    
}


.winem8-product-card .pricing {
    display: block;
    justify-content: center;
    padding: 1em 0;
}

.winem8-product-card .pricing .no-discount, .winem8-product-card .pricing .discount {
    display: flex;
    justify-content: center;
}

.winem8-product-card .pricing .discount .winem8-pricing__unit {
    display: inline-block;
}

@media (min-width: var(small-min-width)) {
    .winem8-product-card .pricing .discount .winem8-pricing__unit {
        display: none;
    }
}

.winem8-product-card .pricing .winem8-pricing__price {
    margin-right: 0.5rem;
}

.winem8-product-card .pricing .winem8-pricing__price.winem8-pricing__price--discounted::before {
    display: none;
}

@media (min-width: var(small-min-width)) {
    .winem8-product-card .pricing .winem8-pricing__price.winem8-pricing__price--discounted {
        margin-left: 0.5rem;
    }
}

.winem8-product-card .pricing .winem8-pricing__price.winem8-pricing__price--no-discount {
    text-decoration: line-through;
}

.winem8-product-card .qty {
    display: grid;
    grid-template-columns: repeat(3, 46px);
    grid-template-rows: 46px;
    justify-content: center;
    padding: 1em 5px 2.5em;
    margin-top: auto;
}

.winem8-product-card .qty .qty-current {
    color: var(--winem8-text-color);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--winem8-text-color);
}

.winem8-product-card .qty .qty-btn {
    color: var(--winem8-text-color);
      background: none;
      border: 1px solid var(--winem8-text-color);
}

.winem8-product-card .qty .qty-btn:hover, .winem8-product-card .qty .qty-btn:focus {
    color: #ffffff;
    background: var(--winem8-text-color);
    border: 1px solid var(--winem8-text-color);
}

.winem8-product-card .qty .qty-btn[disabled]{
    opacity: 0.3;

}

.winem8-step {
  text-align: center;
  display: none;
  padding-top: var(--winem8-spacing-32);
  padding-bottom: var(--winem8-spacing-32);
  margin-bottom: var(--winem8-spacing-60);
    
}

.winem8-step #loadingIndicator {
    display: none;
}

.winem8-step .winem8-step--1 #loadingIndicator {
    display: block !important;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.winem8-step.winem8-card {
    opacity: 0;
}

.winem8-step.winem8-step__inner {
    opacity: 0;
}

.winem8-step.enter-done, .winem8-step.enter-active {
    display: block;
}

.winem8-step:is(.enter-done, .enter-active) .winem8-step__inner {
    animation: fadeIn 0.5s ease-out;
    opacity: 1;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card, 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card {
    animation: fadeInUpWinem8 0.5s ease-out;
    animation-direction: forwards;
    animation-fill-mode: both;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(1), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(1){
    animation-delay: 0.1s;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(2), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(2){
    animation-delay: 0.2s;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(3), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(3){
    animation-delay: 0.3s;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(4), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(4){
    animation-delay: 0.4s;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(5), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(5){
    animation-delay: 0.5s;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(6), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(6){
    animation-delay: 0.6s;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(7), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(7){
    animation-delay: 0.7s;
}

.winem8-step::is(.enter-done, .enter-active) .winem8-card:nth-child(8), 
.winem8-step::is(.enter-done, .enter-active) .winem8-product-card::nth-child(8){
    animation-delay: 0.8s;
}

.winem8-step .collection-container {
    display: grid;
    gap: {{ settings.winem8_grid_gap }};
    grid-template-columns: repeat(var(--winem8-grid-cols-mob), 1fr);
    margin: 0;
    padding: 0;
    justify-content: center;
}

@media (min-width: var(small-min-width)) {
    .collection-container {
        grid-template-columns: repeat(var(--winem8-grid-cols-tablet), 1fr);
    }
}
@media (min-width: var(--large-min-width)) {
    .collection-container {
        grid-template-columns: repeat(var(--winem8-grid-cols-desk), 1fr);
    }
}

.step__header .step__header-top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

@media (min-width: var(small-min-width)) {
    .step__header-top {
        flex-direction: column;
    }
}

.step-text {
    text-align: left;   
}

.step-text h2 {
    margin: 0;
}

@media (min-width: var(small-min-width)) {
    .step-text {
        text-align: center;
    }   
}

.step-subHeading {
    text-align: left;
    margin-bottom: 20px;
    clear: left;
    margin-top: 20px;
    font-size: 1em;
    width: 100%;
}
@media (min-width: var(small-min-width)) {
    .step-subHeading {
        text-align: center;
        margin-top: 0px;
        margin-bottom: 50px;
        clear: none;
        font-size: 1em;

    }
}

.step-icon {
    color: var(--winem8-icon-color);
    background-color: var(--winem8-icon-color-background);
    border-radius: var(--winem8-icon-border-radius);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;

}

.step-icon .step-icon__img {
    width: 36px;
    height: 36px;
}


@media (min-width: var(small-min-width)) {
    .step-icon {
        width: 150px;
        height: 150px;
        margin: 0 auto var(--winem8-spacing-48);
    }
    .step-icon__img {
        width: 62px;
        height: 62px;
        
    }
}


.step-actions {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: var(--winem8-spacing-32);
  margin: 0;
  padding: 0;
  justify-content: center;
}

.step-actions .step-actions__action {
    list-style: none;
    width: 100%;
    height: 100%;
}

.step-actions.step-actions--checkout {
    display: block;
}

@media (min-width: var(small-min-width)) {
    .step-actions {
        grid-template-columns: repeat(auto-fit, calc(50% - 20px));
        
    }
}
@media (min-width: var(--large-min-width)) {
    .step-actions {
        grid-template-columns: repeat(auto-fit, calc(400px - 20px));
    }
}

.winem8-content {
  overflow: hidden;
}

.winem8-wrap-checkout .winem8-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.winem8-header {
  width: 100%;
}

.winem8-main {
  width: 100%;
  margin-bottom: var(--winem8-spacing-32) ;
}

@media (min-width: var(--large-min-width)) {
    .winem8-main {
        width: 55%;
        padding: 0 var(--winem8-spacing-32) 0 0;
        margin: 0;
    }

}

.winem8-customer-email {
  margin-bottom: var(--winem8-spacing-48) ;
}

.winem8-sidebar {
  width: 100%;
  position: relative;
  border: 1px solid var(--winem8-color-divider);
  padding: var(--winem8-spacing-24);
}

@media (min-width: var(--large-min-width)) {
    .winem8-sidebar {
        width: 45%;
    }
}


.winem8-checkout-btn {
  flex-grow: 1;
}

.winem8-checkout-btn--loading {
  opacity: 0.5;
}

.winem8-link-small {
  text-decoration: underline initial;
  color: initial;
  display: block;
  margin-bottom: 20px;
}

.winem8-checkout-section {
  margin-bottom: var(--winem8-spacing-32);
}

.winem8-field {
  margin-bottom: var(--winem8-spacing-32);
}

.winem8-payment-expirycvc {
  .winem8-expiry {
    label {
      line-height: 24px
    }
  }
}

.winem8-field :is(input[type='text'], input[type='url'], input[type='email'], input[type='password'], input[type='number'], input[type='tel']){
    margin: 0;
}

.winem8-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.winem8-hidden {
  display: none;
}

.winem8-billing-address-section {
  margin: 10px 0;
}

.winem8-billing-address-section > legend {
    position: absolute !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.winem8-items-container {
  padding-bottom: 20px;
}

.winem8-item-row {
  width: 100%;
  display: flex;
  padding-bottom: 5px;
}

.winem8-item-productTitle {
  width: 55%;
  display: inline-block;
}

.winem8-item-packTitle {
  flex-grow: 1;
  display: inline-block;
}

.winem8-item-quantity {
  width: 25%;
  display: inline-block;
  text-align: right;
}

.winem8-item-price {
  width: 110px;
  flex-shrink: 0;
  text-align: right;
}

.winem8-totals-row {
  width: 100%;
  display: flex;
  padding-bottom: 5px;
}

.winem8-totals-price {
  width: 110px;
  flex-shrink: 0;
  text-align: right;
}

.winem8-totals-label {
  flex-grow: 1;
  display: inline-block;
  text-align: right;
}

.winem8-stripe-field {
  font-size: 1.4rem;
  color: var(--winem8-text-color);
  font-style: normal;
  font-weight: 400;
  font-family: inherit;
  line-height: 1.71429;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 20px;
  border: 1px solid var(--winem8-form-input-border);
  border-radius: 0;
  -webkit-appearance: none;
}

.winem8-payment-expirycvc {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.winem8-expiry {
  flex: 0 1 50%;
  margin-right: var(--winem8-spacing-16);
}

.winem8-cvc {
  flex: 0 1 50%;
}

.winem8-stripeError {
  color: var(--winem8-color-error);
}

.winem8-spinner {
  width: 80px;
  height: 80px;
  margin: 100px auto;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
  background-color: var(--winem8-color-primary);
}

.subscription-container {
  border: 1px solid var(--winem8-color-divider);
  margin: 0 0 var(--winem8-spacing-60) 0;

  {% if settings.winem8_card_shadows == true %}
  -webkit-box-shadow: 0 0 20px 5px rgba(0,0,0,0.1);
  box-shadow: 0 0 20px 5px rgba(0,0,0,0.1);
  {% endif %}

}

.subscription-header {
  padding: var(--winem8-spacing-16);
  border-bottom: 1px solid var(--winem8-color-divider);
  display: flex;
  flex-direction: column;

}

@media (min-width: var(--medium-min-width)) {
    .subscription-header {
        justify-content: space-between;
        flex-direction: row;
        align-items: baseline;
        padding: var(--winem8-spacing-24);
    }
}

.subscription-panel {
  padding: var(--winem8-spacing-16);
  border-bottom: 1px solid var(--winem8-color-divider);

}

@media (min-width: var(--medium-min-width)) {
    .subscription-panel {
        padding: var(--winem8-spacing-24);
    }
}

.subscription-edit-panel {
    padding: var(--winem8-spacing-16);
}

.subscription-edit-panel {
    margin-right: var(--winem8-spacing-16);
}
.subscription-edit-panel .winem8-btn-link:last-child {
    margin-right: 0;
}

@media (min-width: var(--medium-min-width)) {
    .subscription-edit-panel {
        padding: var(--winem8-spacing-24);
    }
}

.subscription-header-content {
  width: 100%;
}

.subscription-shipping-schedule,
.subscription-heading {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
}

.subscription-shipping-schedule p:first-child {
    margin-right: var(--winem8-spacing-16);
}

.subscription-panel:last-child .winem8-responsive-table tr {
      border-bottom: none;
}

.subscription-section-header__btn {
  margin-bottom: var(--winem8-spacing-60);
}

.icon-back {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: var(--winem8-spacing-8);
}

.subscription-pack-heading {
  display: inline;
}

/* The Modal (background) */
.winem8-modal {
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.winem8-modal-content {
  background-color: #fff;
  margin: 0 auto;
  padding: var(--winem8-spacing-24);
  border: 1px solid var(--winem8-color-divider);
  width: 720px;
  min-width: 320px;
  max-width: 100%;

}

@media (min-width: var(--medium-min-width)) {
    .winem8-modal-content {
        max-width: 90%;
        margin: var(--winem8-spacing-32) auto;
    }
}

.winem8-modal-text {
  padding-top: 30px;
}

.winem8-modal-btn-group {
  display: flex;
  flex-direction: column;
}

@media (min-width: var(--medium-min-width)) {
    .winem8-modal-btn:last-child {
        margin-right: 0;
    }
}


@media (min-width: var(--medium-min-width)) {
    .winem8-modal-btn-group {
        justify-content: space-between;
        flex-direction: row;
    }
}

.winem8-modal-btn {
  width: 100%;
  margin-bottom: var(--winem8-spacing-24);
}

@media (min-width: var(--medium-min-width)) {
    .winem8-modal-btn {
        margin-bottom: 0;
        margin-right: var(--winem8-spacing-16);
        flex: 0 1 50%; 
    }
}


@media (min-width: var(--medium-min-width)) {
    .winem8-modal-primary-button {
        flex: 0 1 50%; 
    }
}

/* The Close Button */
.winem8-close-btn {
  position: relative;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 10px;
  z-index: 22;
}

.winem8-close-btn:hover,
.winem8-close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.cancelled-pack {
  background-color: #e4e3e2;
  padding: var(--winem8-spacing-16);
}

.cancelled-pack span{
  margin: auto;
}

/* Responsive tables */
.winem8-responsive-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.winem8-responsive-table tr {
    vertical-align: center; 
}

.winem8-responsive-table th {
    font-weight: 600;
}

.winem8-responsive-table td[data-label="Total"] {
    font-weight: 600;
}

.winem8-responsive-table td.product-details-total {
    font-weight: normal;
}

@media (max-width: 575px) {
    .winem8-responsive-table .mobile--hide {
        display: none;
    }
    .winem8-responsive-table thead {
        display: none;
    }
    
    .winem8-responsive-table tr {
        display: block;
        margin-bottom: var(--winem8-spacing-16);
        padding-bottom: var(--winem8-spacing-16);
        border-bottom: 1px solid var(--winem8-color-divider);
    }
    
    .winem8-responsive-table tr,td {
        float: left;
        clear: both;
        width: 100%;
    }
}

@media (min-width: var(small-min-width)) {
    .winem8-responsive-table td {
        border-top: 1px solid var(--winem8-color-divider);
    }
    .winem8-responsive-table td:empty {
        border-top-color: transparent;
    }

    .winem8-responsive-table tfoot td {
        border-top: 1px solid var(--winem8-text-color);
        
    }
    .winem8-responsive-table tfoot td:empty {
        border-top-color: transparent;
    }

    .winem8-responsive-table th:first-child, .winem8-responsive-table td:first-child {
        padding-left: 0;
    }

    .winem8-responsive-table th:last-child, .winem8-responsive-table td:last-child {
        text-align: right;
    }

}
.winem8-responsive-table th, .winem8-responsive-table td {

    vertical-align: center;
    text-align: left;
    padding: var(--winem8-spacing-8);
}

@media (max-width: 575px) {
    .winem8-responsive-table th, .winem8-responsive-table td {
        display: block;
        margin: 0;
        padding:0;
    }

    .winem8-responsive-table td::before {
        content: attr(data-label);
        display: inline-block;
        text-align: left;
        font-weight: 600;
        margin-right: var(--winem8-spacing-8);
    }

    .responsive-table-row + .responsive-table-row,
    tfoot > .responsive-table-row:first-child {
        position: relative;
    }

    .responsive-table-row + .responsive-table-row,
    tfoot > .responsive-table-row:first-child::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        display: block;
        border-bottom: 1px solid var(--winem8-color-divider);

    }
}

/* Dawn - Subscriptions page styling */

#winem8-root,
.winem8-account-page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 27px 2rem;
}

.winem8-account-page {
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media (min-width: 750px){
  #winem8-root,
  .winem8-account-page {
    padding: 36px 5rem;
  }
}


.subscription-container {
  margin-top: 2.5rem;
  padding: 2rem;
  box-shadow: none;
  border: 1px solid rgba(var(--color-button));
  display: flex;
  flex-direction: column;
  
  .cancelled-pack {
    background: #F9F0DB;
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem
    order: 2;
  
    span::before {
      content: ""
    }
  }

  .subscription-edit-panel {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;

  }
}


@media (max-width: 750px){
    .subscription-edit-panel {
      flex-direction: column;
    }
}

.subscription-container:has(.cancelled-pack) {
  border: 1px solid rgba(var(--color-button), 0.2);
}

#winem8-root {
  a.winem8-manage-btn {
    text-decoration: none;
    color: rgba(var(--color-button));
  }
  
  a.winem8-manage-btn:hover {
    text-decoration: underline;
  }
}

.subscription-section-header__btn {
  .winem8-btn-link {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: rgba(var(--color-button));
    text-decoration: none;
  }

  .winem8-btn-link:hover {
    text-decoration: underline;
    background-color: transparent;
  }
}

.subscription-heading {
  border-bottom: 1px solid rgba(var(--color-button));
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  h3 {
    margin: 0;
    color: rgba(var(--color-button)) !important;
  }
}

.subscription-panel-heading {
  border-bottom: 0;
  
}

.winem8-modal-content {
  position: absolute;
  top: 30vh;
  left: 50%;
  transform: translateX(-50%);
  padding: 2rem;

  form {
    h3 {
      padding-top: 0.5rem;
      border-bottom: 1px solid rgba(var(--color-button));
      padding-bottom: 1rem;
    }
  }
}

@media screen and (max-width: 750px) {
  .winem8-modal-content {
    width: 90vw;
  }
}

.winem8-modal-btn-group {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

.winem8-stripe-field {
  background-color: #00000010;
}

.winem8-cvc {
  .field__label {
    position: relative;
    top: auto;
    left: auto;
  }
}
.winem8-payment-expirycvc {
  gap: 2rem;
}

.winem8-checkout-btn,
.winem8-modal-btn-group button, 
#winem8-root .subscription-container .subscription-edit-panel .winem8-btn-link,
.step-actions .winem8-card .btn--winem8-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(var(--color-button));
    cursor: pointer;
    font: inherit;
    font-size: 1.5rem;
    text-decoration: none;
    color: rgb(var(--color-button-text));
    transition: box-shadow var(--duration-short) ease;
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(var(--color-button), var(--alpha-button-background));
    transition: all 0.25s ease-out;
    border-radius: 4px;
    padding: 7px 26px;
}

.winem8-card .btn--winem8-cta {
  width: 100%;
}

.winem8-checkout-btn:hover,
.winem8-modal-btn-group button:hover, 
.subscription-container .susbcription-edit-panel .winem8-btn-link:hover {
  background-color: rgba(var(--color-button), 0.7);
} 

.step-actions {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

  .winem8-card {
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgb(var(--color-button));
    background-color: rgba(var(--color-button), 0.05);
  }

  .winem8-card[data-selected="true"]{
      background-color: rgba(var(--color-background));
  }
}


.winem8-step {
  .collection-container {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 6rem;
    gap: 1.5rem;
  }
}
@media (max-width: 750px){
  .step-actions {
    grid-template-columns: 1fr;
  }

  .winem8-step {
  .collection-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
}

.link--winem8-cta:hover .btn--winem8-cta[aria-pressed="true"],
.link--winem8-cta:focus .btn--winem8-cta[aria-pressed="true"] {
    background-color: rgba(var(--color-button));
    border: 1px solid rgba(var(--color-button));
    color: white;
}

.btn--winem8-cta[aria-pressed="true"]::before {
  content: "";
  width: 0.6rem;
  height: 1.4rem;
  border: 1.5px solid rgba(var(--color-background));
  border-radius: 1px;
  border-top: none;
  border-left: none;
  rotate: 45deg;
  margin-right: 10px;
}

.step-actions .winem8-card .btn--winem8-cta[aria-pressed="false"]{
  background-color: transparent;
  color: rgba(var(--color-button));
}

.step-actions .winem8-card .btn--winem8-cta[aria-pressed="false"]:hover, {
  background-color: rgba(var(--color-button));
}


.step-actions .link--winem8-cta:focus .winem8-card[data-selected="true"] {
  border: 1px solid rgb(var(--color-button));
}

.winem8-product-card {
  border: 1px solid rgba(var(--color-button));
  background-color: rgba(var(--color-button), 0.1);
  border-radius: 4px;
}

.winem8-product-card.is-selected {
  background-color: rgba(var(--color-background));
}

.winem8-product-card .product-title {
  font-size: 24px;
}

.winem8-product-card .qty {
  border: 1px solid rgba(var(--color-button));
  background-color: transparent;
  border-radius: 4px;
  padding: 0;
  margin-bottom: 1.5rem;
  color: rgba(var(--color-text));
  width: fit-content;
}

.product-functionality {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.winem8-product-card .qty .qty-btn {
    background-color: transparent;
    color: rgba(var(--color-button));
    cursor: pointer;
    font-size: 20px;
}

.winem8-product-card .qty .qty-btn:hover {
  color: rgba(var(--color-button));
}

.winem8-product-card .qty .qty-current {
  color: rgba(var(--color-button));
  font-size: 20px;
}

.winem8-product-card .qty .qty-btn[disabled] {
    opacity: 0.3;
    cursor: default;
}

.winem8-product-card .qty .qty-btn[disabled]:hover {
  opacity: 0.3;
  color: rgba(var(--color-button));
}

.winem8-product-card .product-image {
    max-height: 30rem;
}

.link--winem8-cta:hover .winem8-card {
    border: 1px solid rgb(var(--color-button));
    -webkit-box-shadow: none;
    box-shadow: none;
}

.link--winem8-cta:hover {
    text-decoration: none;
    transform: none;
}

.winem8-form {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.winem8-account-page__inner,
.winem8-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.winem8-input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.winem8-input-wrapper > input,
.winem8-checkout-section .winem8-stripe-field,
.winem8-field input[type='text'],
.winem8-checkout-section .winem8-stripe-field input  {
  padding: 11px 9px;
  border: 1px solid rgb(var(--color-button));
  border-radius: 4px;
  background-color: rgba(var(--color-background));
}

.winem8-input-wrapper > input {
  width: 430px;
}

.winem8-form-wrapper input[type="submit"]
{
  width: 100%;
  border-radius: 4px;
}

.winem8-form-wrapper input[type="submit"]:hover,
#winem8-root .subscription-container .subscription-edit-panel .winem8-btn-link:hover,
.subscription-container .subscription-edit-panel .winem8-btn-link:hover,
.winem8-btn-link:hover {
  background-color: rgb(var(--color-button), 0.7);
}

.winem8-form-wrapper p:has(input[type="submit"]) {
  width: 100%;
}

.winem8-form-wrapper label {
  color: rgb(var(--color-foreground));
}

.winem8-responsive-table__row a.winem8-btn-link {
  padding: 4px;
  background-color: #EDF0F0;
  text-decoration: none;
}

.winem8-responsive-table__row a.winem8-btn-link:hover {
  text-decoration: underline;
}


.winem8-card__nextRenewal, .winem8-card__note--price {
  font-weight: 600;
}

.winem8-card__nextRenewal {
  padding-bottom: 1rem;
}

.winem8-order__details {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;

    .order-qty {
      font-size: 24px;
      margin-bottom: 1rem;
    }
    .order-price {
      font-size: 16px;
      margin-bottom: 0.5rem;
    }
    .order__discount {
      font-size: 12px;
    }
}

.winem8-order-fixed.winem8-order-show {
  bottom: 0;
  padding: 2rem;
  border-top: 1px solid rgba(var(--color-button));
  margin: 0;
  
  
  .winem8-order__details {
    max-width: var(--page-width);
  }
  .order-qty {
    font-size: 24px;
    margin-bottom: 1rem;
  }
  .order-price {
    font-size: 16px;
    margin-bottom: 0.5rem;
  }
  .order__discount {
    font-size: 12px;
  }
}

.winem8-wrap-checkout {
  .winem8-main {
    width: 50%;
    padding-right: 4.5rem;

    .winem8-customer-email {
      margin-bottom: 2.5rem;
    }
  }

  .winem8-sidebar {
    width: 50%;
    padding: 1rem;

    #order-summary {
      border: 1px solid rgba(var(--color-button));
      border-radius: 4px;
      padding: 2rem;
    }

    .winem8-items-container {
      border-bottom: 1px solid rgba(var(--color-button));
      margin-bottom: 1.5rem;
    }

    .winem8-item-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .winem8-item-quantity, .winem8-item-price {
      width: fit-content;
      font-size: 14px;
    }

    .winem8-item-price {
      font-weight: 600;
    }

    .winem8-item-productTitle {
      width: 100%;
      font-weight: 600;

    }

    .winem8-totals-row {
      justify-content: space-between;
      .winem8-totals-label {
        flex-grow: 0;
      }

      .winem8-totals-label:last-of-type {
        color: 
      }
    }

    .winem8-totals-row:last-of-type {
      .winem8-totals-label {
        font-weight: 900;
      }
      .winem8-totals-price {
        font-weight: 900;
        font-size: 24px;
      }
    }
  }
}

@media (max-width: 750px){

  .winem8-wrap-checkout {
    .winem8-sidebar {
      width: 100%;
    }

    .winem8-main {
      width: 100%;
    }
  }
}

.winem8-field {
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;

    label {
      margin-bottom: 0.5rem;
    }
    input, select, textarea {
      padding: 11px 9px;
      border: 1px solid rgb(var(--color-button));
      border-radius: 4px;
      background-color: rgba(var(--color-background));
      width: 100%
    }

    input[disabled] {
      background-color: rgba(var(--color-button), 0.1);
    }

    textarea:focus-visible,
    input:focus-visible {
      outline: none;
      outline-offset: none;
      box-shadow: none;
    }
}

.winem8-form-wrapper {
  input[type="password"], input[type="email"] {
    padding: 11px 9px;
    border: 1px solid rgb(var(--color-button));
    border-radius: 4px;
    background-color: rgba(var(--color-background));
    width: 430px;
    margin-bottom: 1rem;
  }

  label {
    width: 100%;
    
  }

  
}

.winem8-step-footer {
  margin-top: 2.5rem;

  button {
    width: 100%
  }
}

#winem8-root .winem8-link-small {
  color: rgba(var(--color-button));
  margin-top: 1rem;
  text-decoration: none;

  span {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }
}

#winem8-root .winem8-link-small:hover {
  text-decoration: underline;
}

.winem8-checkout-section:has(#checkout_notes){
  margin-top: 2.5rem
}

form:has(#RecoverEmail) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    .button-group {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: center;
      width: 100%
    }
}

.customer .winem8-account-manage-btn {
  font-size: 20px;
  font-weight: 600;
}

.winem8-introduction {
    padding: 3rem 0;
}

/* End Dawn styling */