/* SOF Homepage */
.c--homepage-banners-grid {
  --gap: 24px;
  --caption-padding: 40px 40px;
  --action-gap: 50px;
  --banner-large-inline-size: 615px;
  --banner-large-block-size: 620px;
  --banner-small-inline-size: 440px;
  --banner-small-block-size: 320px;
  --banner-mobile-block-size: 380px;
  --banner-small-mobile-block-size: 320px;
  --name-font-size: 34px;
  --name-big-font-size: 56px;
  --eyebrow-font-size: 20px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap);

  .eyebrow {
    text-transform: uppercase;
    font-size: var(--eyebrow-font-size);
    letter-spacing: 1px;
  }

  .name {
    font-size: var(--name-font-size);
    font-weight: 700;

    &.big {
      font-size: var(--name-big-font-size);
    }
  }

  .action {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;

    &::before {
      content: "";
      width: 50px;
      height: 1px;
      top: 56%;
      left: 0;
      position: absolute;
      background-color: #fff;
      transform: translateY(-50%) scaleX(1);
      transform-origin: left center;
      transition: transform 0.35s ease;
      will-change: transform;
      backface-visibility: hidden;
    }

    .label {
      font-weight: 500; /* overide bootstrap */
      display: inline-block;
      margin-inline-start: var(--action-gap);
      transform: translateX(0);
      transition: transform 0.35s ease;
      will-change: transform;
    }
  }

  .c--banner {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-decoration: none;

    .c--caption {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 16px;
      block-size: 100%;
      padding: var(--caption-padding);
      position: relative;
      z-index: 1;
      transition: 0.4s ease all;

      span {
        line-height: 1;
      }
    }

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: inherit;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
      transition: 0.35s ease transform;
      will-change: transform;
      backface-visibility: hidden;
    }

    &::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top right,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0) 55%
      );
      pointer-events: none;
    }

    &:hover {
      .action {
        &::before {
          transform: translateY(-50%) scaleX(2);
        }

        .label {
          transform: translateX(var(--action-gap));
        }
      }

      &::before {
        transform: scale(1.05);
      }
    }

    &.c--banner-large {
      inline-size: var(--banner-large-inline-size);
      block-size: var(--banner-large-block-size);
    }

    &.c--banner-small {
      inline-size: var(--banner-small-inline-size);
      block-size: var(--banner-small-block-size);
    }
  }

  @media (width <= 1024px) {
    --name-font-size: 26px;
    --name-big-font-size: 36px;
    --eyebrow-font-size: 16px;
    --caption-padding: 40px 20px;

    flex-direction: column;

    .c--banner {
      &.c--banner-large,
      &.c--banner-small {
        inline-size: 100%;
      }

      &.c--banner-large {
        block-size: var(--banner-mobile-block-size);
      }

      &.c--banner-small {
        block-size: var(--banner-small-mobile-block-size);
      }

      .c--caption,
      .action::before,
      .action .label,
      &::before {
        transition: none;
      }

      &:hover {
        .action::before {
          transform: translateY(-50%) scaleX(1);
        }

        .action .label {
          transform: translateX(0);
        }

        &::before {
          transform: none;
        }
      }
    }
  }

  @media (width <= 500px) {
    --name-big-font-size: 26px;
  }
}
/* EOF Homepage */

/* SOF CHECKOUT */

#checkout-checkout {
  --section-bg: #f4f4f4;
}

.checkout-stepper {
  margin: 0 0 40px;
}

.checkout-stepper .cs-track {
  display: flex;
}

.checkout-stepper .cs-current {
  display: none;
}

.checkout-stepper .cs-dot {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  font-size: 11px;
  line-height: 24px;
  transition: background .2s ease;
}

.checkout-stepper .cs-dot i {
  line-height: 24px;
}

.checkout-stepper .cs-label {
  font-size: 12px;
  line-height: 1.35;
  color: #999;
  text-transform: uppercase;
}

.checkout-stepper .cs-step {
  flex: 1 1 0;
  position: relative;
  text-align: center;
  padding: 0 5px;
  cursor: default;
}

.checkout-stepper .cs-step:before,
.checkout-stepper .cs-step:after {
  content: '';
  position: absolute;
  top: 11px;
  height: 2px;
  width: 50%;
  background: #ddd;
}

.checkout-stepper .cs-step:before {
  left: 0;
}

.checkout-stepper .cs-step:after {
  right: 0;
}

.checkout-stepper .cs-step:first-child:before,
.checkout-stepper .cs-step:last-child:after {
  display: none;
}

.checkout-stepper .cs-step.is-active:before {
  background: #000;
}

.checkout-stepper .cs-step.is-active .cs-dot {
  background: #000;
}

.checkout-stepper .cs-step.is-active .cs-label {
  color: #000;
  font-weight: 600;
}

.checkout-stepper .cs-step.is-done {
  cursor: pointer;
}

.checkout-stepper .cs-step.is-done:before,
.checkout-stepper .cs-step.is-done:after {
  background: #000;
}

.checkout-stepper .cs-step.is-done .cs-dot {
  background: #000;
}

.checkout-stepper .cs-step.is-done .cs-label {
  color: #666;
}

.checkout-stepper .cs-step.is-done:hover .cs-label {
  color: #000;
}

.checkout-stepper .cs-step.is-available {
  cursor: pointer;
}

.checkout-stepper .cs-step.is-available .cs-dot {
  background: #aaa;
}

.checkout-stepper .cs-step.is-available .cs-label {
  color: #666;
}

.checkout-stepper .cs-step.is-available:hover .cs-label {
  color: #000;
}

#checkout-checkout .checkout-login {
  max-width: 340px;
  margin: 0 auto;
  padding: 10px 0 20px;
}

#checkout-checkout .checkout-login .btn-block {
  display: block;
  margin: 0 0 12px;
}

#checkout-checkout .checkout-login .checkout-login-radios {
  display: none;
}

#checkout-checkout .checkout-login .form-group {
  display: block;
  margin-bottom: 15px;
}

#checkout-checkout .checkout-login .form-group .control-label {
  display: block;
  padding: 0 0 6px;
}

#checkout-checkout .checkout-login .form-group .form-control {
  width: 100%;
}

#checkout-checkout .checkout-login #button-continue-guest,
#checkout-checkout .checkout-login #button-register {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}

#checkout-checkout .checkout-login #button-continue-guest:hover,
#checkout-checkout .checkout-login #button-register:hover {
  background: #000;
  color: #fff;
}

.checkout-login .checkout-login-or {
  position: relative;
  margin: 22px 0 18px;
  text-align: center;
}

.checkout-login .checkout-login-or:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
}

.checkout-login .checkout-login-or span {
  position: relative;
  padding: 0 12px;
  background: var(--section-bg);
  color: #999;
  font-size: 13px;
}

.checkout-login .checkout-login-back {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 767px) {
  #checkout-checkout .checkout-login .btn-block {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
}

@media only screen and (min-width: 768px) {
  #checkout-checkout .checkout-login {
    max-width: 520px;
  }

  #checkout-checkout .checkout-login .checkout-login-choice {
    max-width: 340px;
    margin: 0 auto;
  }
}


@media only screen and (min-width: 992px) {
  #checkout-checkout #collapse-shipping-method .panel-body:has(> #boxnow-iframe-window) {
    display: grid;
    grid-template-columns: 640px minmax(0, 1fr);
    grid-template-rows: repeat(24, auto);
    column-gap: 32px;
    row-gap: 0;
    align-items: start;
  }

  #checkout-checkout #collapse-shipping-method .panel-body:has(> #boxnow-iframe-window) > * {
    grid-column: 1;
  }

  #checkout-checkout #collapse-shipping-method .panel-body:has(> #boxnow-iframe-window) > #boxnow-iframe-window {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: 0;
  }
}

#checkout-checkout #collapse-shipping-method .panel-body > p,
#checkout-checkout #collapse-payment-method .panel-body > p {
  margin: 0 0 16px;
  color: #666;
}

#checkout-checkout #collapse-shipping-method .panel-body > p > strong,
#checkout-checkout #collapse-payment-method .panel-body > p > strong {
  display: block;
  margin: 24px 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#checkout-checkout #collapse-shipping-method .panel-body .radio,
#checkout-checkout #collapse-payment-method .panel-body .radio {
  display: block;
  max-width: 640px;
  margin: 0 0 10px;
}

#checkout-checkout #collapse-shipping-method .panel-body .radio label,
#checkout-checkout #collapse-payment-method .panel-body .radio label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#checkout-checkout #collapse-shipping-method .panel-body .radio label:hover,
#checkout-checkout #collapse-payment-method .panel-body .radio label:hover {
  border-color: #999;
}

#checkout-checkout #collapse-shipping-method .panel-body .radio input[type="radio"],
#checkout-checkout #collapse-payment-method .panel-body .radio input[type="radio"] {
  position: static;
  flex: none;
  margin: 0;
  accent-color: #000;
}

#checkout-checkout #collapse-shipping-method .panel-body .radio:has(input:checked) label,
#checkout-checkout #collapse-payment-method .panel-body .radio:has(input:checked) label {
  border-color: #333;
  box-shadow: inset 0 0 0 1px #333;
}

#checkout-checkout #collapse-shipping-method .panel-body textarea.form-control,
#checkout-checkout #collapse-payment-method .panel-body textarea.form-control {
  max-width: 640px;
  height: 110px;
  resize: vertical;
}

#checkout-checkout #collapse-shipping-method .panel-body .buttons,
#checkout-checkout #collapse-payment-method .panel-body .buttons {
  max-width: 640px;
}

#checkout-checkout #collapse-shipping-method .panel-body .buttons .pull-right,
#checkout-checkout #collapse-payment-method .panel-body .buttons .pull-right {
  flex: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

#checkout-checkout #collapse-payment-method .panel-body .buttons .pull-right {
  flex: 1;
  margin-left: 0;
}

#checkout-checkout .buttons input[type="checkbox"] {
  accent-color: #000;
}

#checkout-checkout #collapse-shipping-method .panel-body .buttons .btn,
#checkout-checkout #collapse-payment-method .panel-body .buttons .btn {
  flex: none;
  width: auto;
  padding-right: 40px;
  padding-left: 40px;
}

#checkout-checkout #collapse-payment-method .panel-body > p,
#checkout-checkout #collapse-payment-method .panel-body > .radio,
#checkout-checkout #collapse-payment-method .panel-body > .buttons {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
}


#checkout-checkout #accordion .panel-heading {
  display: none;
}

#checkout-checkout #accordion .panel {
  border-top: 1px solid transparent;
}

#checkout-checkout .checkbox label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 0;
}

#checkout-checkout .checkbox input[type="checkbox"] {
  position: static;
  flex: none;
  margin: 0;
  accent-color: #000;
}

@media (max-width: 900px) {
  .checkout-stepper {
    margin-bottom: 30px;
  }

  .checkout-stepper .cs-dot {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 9px;
    margin-bottom: 0;
  }

  .checkout-stepper .cs-dot i {
    line-height: 18px;
  }

  .checkout-stepper .cs-label {
    display: none;
  }

  .checkout-stepper .cs-current {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
  }

  .checkout-stepper .cs-step {
    padding: 0 2px;
  }

  .checkout-stepper .cs-step:before,
  .checkout-stepper .cs-step:after {
    top: 8px;
  }
}

/* EOF CHECKOUT */

/* SOF PRODUCT VARIATIONS */

.product-thumb .product-sizes {
  margin: 10px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: #7a7a7a;
  letter-spacing: .02em;
}

.product-list .product-thumb .product-sizes {
  text-align: left;
}


.product-variations {
  margin: 14px 0 18px;
}

.product-variations-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7a7a7a;
}

.product-variations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-variations-list .product-variation-link {
  display: block;
  padding: 7px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.2;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.product-variations-list .product-variation-link:not(.active):hover {
  border-color: #333;
}

.product-variations-list .product-variation-link.active {
  border-color: #333;
  background: #333;
  color: #fff;
}

.product-variations-list .product-variation.out-of-stock > .product-variation-link {
  color: #a5a5a5;
  text-decoration: line-through;
}

.product-variations-list .product-variation.out-of-stock > .product-variation-link.active {
  color: #fff;
  text-decoration: line-through;
}

/* EOF PRODUCT VARIATIONS */