.capsule-builder {
    max-width: 1120px;
    margin: 0 auto 0px;
    padding: 0 24px;
    color: #3b3b3b;
    font-family: "Gill Sans", "Gill Sans MT", Arial, sans-serif;
}

body.capsule-builder-embed>header,
body.capsule-builder-embed>footer,
body.capsule-builder-embed #header,
body.capsule-builder-embed #footer,
body.capsule-builder-embed .footer-container,
body.capsule-builder-embed .fixed-bag,
body.capsule-builder-embed #columns>.breadcrumb {
    display: none !important;
}

body.capsule-builder-embed #page,
body.capsule-builder-embed #columns {
    margin: 0 !important;
    padding: 0 !important;
}

.capsule-builder__tabs {
    display: flex;
    justify-content: center;
    gap: 42px;
    margin-bottom: 28px;
    padding: 22px 50px 16px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    font-size: 12px;
}

.capsule-builder__tabs span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.capsule-builder__tabs a {
    color: #3b3b3b;
}

.capsule-builder__header,
.capsule-result__header {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.capsule-result__header {
    margin-bottom: 100px;
}

.capsule-builder__eyebrow {
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
}

.capsule-builder h1 {
    margin: 25px 0px;
    font-size: 42px;
    line-height: 1.12;
}

.capsule-progress {
    position: relative;
    display: flex;
    justify-content: flex-end;
    max-width: 900px;
    height: 25px;
    width: 100%;
    margin: 0 auto 26px;
    font-size: 10px;
}

.capsule-progress:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    background: #e6e6e6;
}

.capsule-progress__bar {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: end;
    height: 5px;
    border-radius: 5px;
    width: 25%;
    background: #171717;
    transition: width .25s ease;
}

.capsule-progress__bar span {
    margin-top: 5px;
    margin-right: -2px;
}

.capsule-builder form {
    max-width: 900px;
    margin: 50px auto;
}

.capsule-question__back {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3b3b3b;
    text-align: left;
    font-size: 13px;
}

.capsule-question__back:not([hidden]) {
    display: block;
}

.capsule-question__back[hidden] {
    display: none;
}

.capsule-question {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.capsule-question.is-active {
    display: block;
}

.capsule-question legend {
    display: block;
    width: 100%;
    margin-bottom: 42px;
    border: 0;
    color: #3b3b3b;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.25;
}

.capsule-question legend span {
    display: block;
    margin-bottom: 8px;
    color: #62725c;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.capsule-question legend>small {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
}

.capsule-question__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
    color: #3b3b3b;
    font-family: gil;
}

.capsule-question__options label {
    display: flex;
    align-items: center;
    min-height: 58px;
    margin: 0;
    padding: 13px 18px;
    border: 1px solid #3b3b3b;
    font-family: gill;
    color: #3b3b3b;
    border-radius: 9px;
    cursor: pointer;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.2;
}

.capsule-question__options label span,
.capsule-question__options label b,
.capsule-question__options label small {
    display: block;
}

.capsule-question__options label small {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.25;
}

.capsule-question input[type="radio"] {
    margin: 0 14px 0 0;
    accent-color: #3b3b3b;
}

.capsule-question__help {
    margin-top: -14px;
    color: #777;
}

.capsule-outfits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.capsule-outfit {
    cursor: pointer;
    font-weight: normal;
}

.capsule-outfit input {
    position: absolute;
    opacity: 0;
}

.capsule-outfit__card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #aaa;
    border-radius: 9px;
}

.capsule-outfit__description {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.3;
}

.capsule-outfit__card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.capsule-outfit__letter {
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #999;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    font-size: 12px;
}

.capsule-outfit input:checked+.capsule-outfit__card {
    outline: 3px solid #4f6448;
    outline-offset: -3px;
    background: #edf4e9;
}

.capsule-outfit__name {
    display: block;
    margin-top: 8px;
    color: #3b3b3b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

.capsule-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
}

.capsule-product__body select {
    width: 100%;
    padding: 10px 10px;
    margin-bottom: 20px;
}

.capsule-button--secondary {
    background: #fff;
    color: #171717;
}

.capsule-question__error {
    min-height: 20px;
    margin: 18px 0 0;
    color: #a12626;
}

.capsule-result__hero {
    max-width: 560px;
    margin: 0 auto 100px;
    overflow: hidden;
}

.capsule-result__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capsule-result__description {
    font-size: 17px;
    line-height: 1.55;
}

.capsule-result__values {
    color: #62725c;
    font-weight: 600;
}

.capsule-result__intro {
    margin: 0 0 26px;
    text-align: center;
}

.capsule-result__intro h2 {
    margin-bottom: 8px;
    font-size: 27px;
}

.capsule-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(194px, 1fr));
    gap: 18px;
    justify-content: center;
}

.capsule-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.capsule-product__image {
    display: block;
    background: #f4f2ef;
}

.capsule-product__image img {
    display: block;
    width: 100%;
    aspect-ratio: 764/1145;
    object-fit: cover;
}

.capsule-product__body h3 {
    margin: 13px 0 5px;
    font-size: 13px;
    line-height: 27px;
    font-family: 'gill' !important;
    letter-spacing: 1px;
}

.capsule-product__body h3 a {
    color: #111;
}

.capsule-product__price {
    margin-bottom: 12px;
    color: #111;
    font-size: 12px;
    font-family: gill;
}

.capsule-product__option {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.capsule-product__option select {
    display: block;
    width: 100%;
    height: 38px;
    margin-top: 5px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 12px;
    text-transform: none;
}

.capsule-product select[data-product-attribute] option:disabled {
    color: #999;
    background: #eee;
}

.capsule-product__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.capsule-product__add {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: auto;
}

.capsule-product__body:has(select) .capsule-product__add {
    margin-top: 20px;
}

.capsule-product__body:has(select) select {
    margin-top: auto;
    margin-bottom: 0px;
}

.capsule-product__add.disabled,
.capsule-product__add:disabled {
    border-color: #cfcfcf;
    background: #eee;
    color: #999;
    cursor: not-allowed;
}

.capsule-product__details {
    display: block;
    margin-top: 9px;
    color: #555;
    text-align: center;
    text-decoration: underline;
    font-size: 12px;
}

.capsule-styling {
    margin-top: 44px;
    padding: 32px;
    background: #edf4e9;
    text-align: center;
}

.capsule-styling h2 {
    margin: 0 0 24px;
    font-size: 25px;
}

.capsule-styling__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.capsule-styling__grid article {
    padding: 20px;
    background: #fff;
}

.capsule-styling__grid h3 {
    margin: 0 0 9px;
    font-size: 16px;
}

.capsule-styling__grid p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.capsule-disclaimer {
    margin-top: 36px;
    padding: 18px 20px;
    background: #fff3c9;
    font-size: 13px;
}

.capsule-voucher {
    margin: 25px auto 0;
    text-align: center;
    background: #DBE2F2;
    color: black;
    padding: 24px;
    min-width: 600px;
    max-width: 760px;
}

.capsule-voucher h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.capsule-voucher>p {
    margin: 0 auto 16px;
}

.capsule-voucher__fields {
    display: flex;
    gap: 10px;
}

.capsule-voucher__fields input {
    flex: 1;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #777;
    background: #fff;
}

.capsule-voucher__fields button {
    padding: 13px 20px;
    border: 1px solid #222;
    background: #222;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

.capsule-voucher__message {
    min-height: 20px;
    margin: 14px 0 0 !important;
    font-weight: 600;
}

.capsule-voucher__message.is-error {
    color: #a32020;
}

.capsule-voucher__message.is-success {
    color: #27602f;
}

.capsule-voucher .capsule-voucher__terms {
    margin: 14px auto 0;
    max-width: 680px;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .capsule-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .capsule-builder {
        margin-top: 0;
        padding: 0 16px;
    }

    .capsule-builder__tabs {
        gap: 28px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .capsule-builder h1 {
        font-size: 32px;
    }

    .capsule-question__back {
        margin-bottom: 24px;
    }

    .capsule-question legend {
        margin-bottom: 24px;
        font-size: 23px;
    }

    .capsule-question__options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .capsule-question__options label {
        min-height: 58px;
        text-align: left;
    }

    .capsule-outfits {
        grid-template-columns: repeat(2, 1fr);
    }

    .capsule-styling {
        padding: 24px 16px;
    }

    .capsule-styling__grid {
        grid-template-columns: 1fr;
    }

    .capsule-voucher {
        min-width: 100%;
    }

    .capsule-voucher__fields {
        flex-direction: column;
    }
}
