@media only screen and (max-width: 600px) {
  #sultan-baklava-video {
    width: 100%;
    height: auto;
  }
}

/* Express buttons above email; preserve native form boxes and growing card form. */
@supports (grid-template-rows: subgrid) {
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current > div:not(.ec-cart-step__anchor) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(6, auto);
    position: relative;
    padding-top: 0;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__checkout,
.ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__buttons,
.ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__buttons > div {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    grid-area: 1 / 1 / 7 / 2;
    position: static;
    margin: 0;
    padding: 0;
    min-width: 0;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__email {
    grid-area: 2 / 1;
    z-index: 1;
    margin: 0 0 12px;
    scroll-margin-top: 24px;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__agreement {
    grid-area: 3 / 1;
    z-index: 1;
    margin: 0 0 12px;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__checkout > .ec-form {
    grid-area: 4 / 1;
    z-index: 1;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__checkout > .ec-form:empty {
    display: none;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__button--checkout {
    grid-area: 5 / 1;
    width: 100%;
    margin: 0 0 8px;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__button--paypal {
    grid-area: 1 / 1;
    position: relative;
    width: 100%;
    margin: 0 0 24px;
  }
  .ec-size .ec-store .ec-cart-step--email.ec-cart-step--current .ec-cart__buttons > div > div:has(> .ec-cart__button--stripe-express) {
    grid-area: 6 / 1;
    width: 100%;
  }
}

/* Compact checkout: preserve native validation and all legal links. */
.ec-size .ec-store .ec-cart__credits-and-coupons {
  display: none;
}

.ec-size .ec-store .ec-cart__agreement .form-control:not(.form-control--required):has(#form-control__checkbox--agree2) {
  display: none;
}

.ec-size .ec-store .ec-cart__agreement {
  font-size: 14px;
  line-height: 1.45;
}

.ec-size .ec-store .ec-cart-next__header {
  font-size: 14px;
  line-height: 1.4;
  margin: 16px 0 8px;
  padding: 0;
  border: 0;
}

.ec-size .ec-store .ec-cart-step--empty {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  width: calc(25% - 6px);
  margin: 0 6px 8px 0;
  padding: 0;
  border: 0;
}

.ec-size .ec-store .ec-cart-step--empty .ec-cart-step__wrap {
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #d3dfdf;
  border-radius: 6px;
  background: #f5f9f9;
  min-height: 66px;
}

.ec-size .ec-store .ec-cart-step--empty .ec-cart-step__title {
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  padding: 0;
  white-space: normal;
}

.ec-size .ec-store .ec-cart-step--empty .ec-cart-step__body {
  display: none;
}

.ec-size .ec-store .ec-cart__button--stripe-express {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
}

@media only screen and (max-width: 600px) {
  .ec-size .ec-store .ec-cart-step--empty {
    width: calc(50% - 6px);
  }
  .ec-size .ec-store .ec-cart-step--empty .ec-cart-step__wrap {
    min-height: 50px;
  }
}

/* Keep the legal links in a concise information sentence. */
.ec-size .ec-store .ec-cart__agreement .form-control__inline-label > label[for="form-control__checkbox--agree"]:last-child {
  display: none;
}

.ec-size .ec-store .ec-cart__agreement .form-control__inline-label:has(label[for="form-control__checkbox--agree"])::after {
  content: ".";
}
