/** Shopify CDN: Minification failed

Line 158:33 Unexpected ","
Line 159:41 Unexpected ","

**/
: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;
    
}

.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;
        
    }

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

    .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%;
  
}

.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, .winem8-step.appear, .winem8-step.appear-done, .winem8-step.appear-active {
    display: block;
}

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

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

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

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

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

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

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

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

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

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

.winem8-step .collection-container {
    display: grid;
    gap: var(--winem8-spacing-0);
    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-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;

  

}

.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);

    }
}
