.storefront-page-content {
    margin: 26px 0 32px;
}

.storefront-page-content__card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 52px 64px;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
}

.storefront-page-content__back {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--storefront-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.storefront-page-content__back:hover,
.storefront-page-content__back:focus-visible {
    text-decoration: underline;
    outline: none;
}

.storefront-page-content__header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeef;
}

.storefront-page-content__header p {
    margin: 0 0 8px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-page-content__header--with-image {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

.storefront-page-content__image {
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #f5f5f7;
}

.storefront-page-content__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.storefront-page-content__header h1 {
    margin: 0;
    color: #1d1d1f;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.storefront-page-content__body {
    color: #424245;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: -0.025em;
    white-space: normal;
}

.storefront-page-content__empty {
    margin: 0;
    color: #6e6e73;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .storefront-page-content__card {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .storefront-page-content__header--with-image {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .storefront-page-content__image {
        border-radius: 22px;
    }
}

.storefront-page-content__contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.storefront-page-content__contact a,
.storefront-page-content__contact div {
    min-height: 118px;
    padding: 22px;
    border: 1px solid #eeeeef;
    border-radius: 24px;
    background: #f5f5f7;
    color: #1d1d1f;
    text-decoration: none;
}

.storefront-page-content__contact span {
    display: block;
    margin-bottom: 10px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-page-content__contact strong {
    display: block;
    color: #1d1d1f;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.035em;
    word-break: break-word;
}

.storefront-page-content__contact a:hover,
.storefront-page-content__contact a:focus-visible {
    border-color: var(--storefront-primary);
    outline: none;
}

.storefront-page-content__body--after-contact {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #eeeeef;
}

@media (max-width: 900px) {
    .storefront-page-content__contact {
        grid-template-columns: 1fr;
    }
}

.storefront-product-detail {
    margin: 26px 0 32px;
}

.storefront-product-detail__card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
}

.storefront-product-detail__layout {
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.storefront-product-detail__image {
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
    background: #f5f5f7;
}

.storefront-product-detail__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.storefront-product-detail__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.storefront-product-detail__thumbs figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid #eeeeef;
    border-radius: 16px;
    background: #f5f5f7;
}

.storefront-product-detail__thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.storefront-product-detail__info {
    padding-top: 8px;
}

.storefront-product-detail__category {
    margin: 0 0 10px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-product-detail__info h1 {
    margin: 0;
    color: #1d1d1f;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.storefront-product-detail__price {
    margin: 24px 0 0;
    color: #1d1d1f;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.05em;
}

.storefront-product-detail__stock {
    display: inline-flex;
    margin: 16px 0 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f5f5f7;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-product-detail__stock.is-available {
    color: #18794e;
}

.storefront-product-detail__stock.is-unavailable {
    color: #b42318;
}

.storefront-product-detail__description {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #eeeeef;
}

.storefront-product-detail__description h2 {
    margin: 0 0 12px;
    color: #1d1d1f;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.storefront-product-detail__description p {
    margin: 0;
    color: #424245;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: -0.025em;
}


.storefront-product-detail__notice {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-product-detail__notice p {
    margin: 0;
}

.storefront-product-detail__notice p + p {
    margin-top: 8px;
}

.storefront-product-detail__notice--success {
    background: #ecfdf3;
    color: #18794e;
}

.storefront-product-detail__notice--error {
    background: #fff1f0;
    color: #b42318;
}

.storefront-product-detail__cart-summary {
    margin: 0 0 24px;
    color: #6e6e73;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-product-detail__quantity {
    margin-bottom: 16px;
}

.storefront-product-detail__quantity label {
    display: block;
    margin-bottom: 10px;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.storefront-product-detail__quantity-control {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    max-width: 220px;
    min-height: 48px;
    overflow: hidden;
    border: 1px solid #eeeeef;
    border-radius: 999px;
    background: #ffffff;
}

.storefront-product-detail__quantity-control button {
    width: 48px;
    height: 48px;
    border: 0;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
}

.storefront-product-detail__quantity-control button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.storefront-product-detail__quantity-control input {
    width: 100%;
    height: 48px;
    border: 0;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 750;
    text-align: center;
    outline: none;
}

.storefront-product-detail__quantity-control input::-webkit-outer-spin-button,
.storefront-product-detail__quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.storefront-product-detail__cart {
    margin-top: 30px;
}

.storefront-product-detail__cart > button[type="submit"] {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--storefront-primary, #0071e3);
    color: #ffffff;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.025em;
    cursor: pointer;
}

.storefront-product-detail__cart > button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

@media (max-width: 900px) {
    .storefront-product-detail__card {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .storefront-product-detail__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .storefront-product-detail__image {
        border-radius: 24px;
    }

    .storefront-product-detail__info h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .storefront-product-detail__price {
        font-size: 24px;
    }
}

@media (max-width: 560px) {
    .storefront-product-detail {
        margin: 16px 0 24px;
    }

    .storefront-product-detail__card {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .storefront-page-content__back {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .storefront-product-detail__layout {
        gap: 20px;
    }

    .storefront-product-detail__image {
        border-radius: 18px;
    }

    .storefront-product-detail__image img {
        max-height: 280px;
    }

    .storefront-product-detail__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    .storefront-product-detail__thumbs figure {
        border-radius: 12px;
    }

    .storefront-product-detail__info {
        padding-top: 0;
    }

    .storefront-product-detail__category {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .storefront-product-detail__info h1 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .storefront-product-detail__price {
        margin-top: 16px;
        font-size: 22px;
    }

    .storefront-product-detail__stock {
        margin-top: 12px;
        padding: 7px 10px;
        font-size: 13px;
    }

    .storefront-product-detail__description {
        margin-top: 22px;
        padding-top: 22px;
    }

    .storefront-product-detail__description h2 {
        margin-bottom: 10px;
        font-size: 18px;
    }

    .storefront-product-detail__description p {
        font-size: 16px;
        line-height: 1.6;
    }

    .storefront-product-detail__cart {
        margin-top: 22px;
    }

    .storefront-product-detail__quantity {
        margin-bottom: 12px;
    }

    .storefront-product-detail__quantity label {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .storefront-product-detail__quantity-control {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        max-width: 156px;
        min-height: 38px;
    }

    .storefront-product-detail__quantity-control button {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .storefront-product-detail__quantity-control input {
        height: 38px;
        font-size: 16px;
    }

    .storefront-product-detail__cart button[type="submit"] {
        min-height: 48px;
        font-size: 15px;
    }
}

.storefront-cart-page {
    margin: 26px 0 32px;
}

.storefront-cart-page__card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
}

.storefront-cart-page__header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeef;
}

.storefront-cart-page__header p {
    margin: 0 0 8px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-cart-page__header h1 {
    margin: 0;
    color: #1d1d1f;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.storefront-cart-page__empty {
    padding: 34px;
    border-radius: 26px;
    background: #f5f5f7;
    text-align: center;
}

.storefront-cart-page__empty h2 {
    margin: 0 0 10px;
    color: #1d1d1f;
    font-size: 26px;
    letter-spacing: -0.05em;
}

.storefront-cart-page__empty p {
    margin: 0 auto 22px;
    max-width: 460px;
    color: #6e6e73;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.02em;
}

.storefront-cart-page__empty a,
.storefront-cart-summary a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--storefront-primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.storefront-cart-summary a {
    width: 100%;
}

.storefront-cart-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.storefront-cart-page__items {
    display: grid;
    gap: 14px;
}

.storefront-cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 220px 130px;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid #eeeeef;
    border-radius: 24px;
    background: #ffffff;
}

.storefront-cart-item__image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f5f7;
}

.storefront-cart-item__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.storefront-cart-item__body p {
    margin: 0 0 6px;
    color: #6e6e73;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-cart-item__body h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.storefront-cart-item__body h2 a {
    color: #1d1d1f;
    text-decoration: none;
}

.storefront-cart-item__body span {
    display: block;
    margin-top: 8px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.storefront-cart-item__form {
    display: grid;
    gap: 10px;
}

.storefront-cart-item__form .storefront-product-detail__quantity-control {
    max-width: 100%;
}

.storefront-cart-item__form > button,
.storefront-cart-summary button {
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: -0.025em;
    cursor: pointer;
}

.storefront-cart-item__remove {
    width: 40px;
    height: 40px;
    border: 1px solid #eeeeef;
    border-radius: 999px;
    color: #6e6e73;
    background: #f5f5f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    cursor: pointer;
}

.storefront-cart-item__remove svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.storefront-cart-item__remove:hover,
.storefront-cart-item__remove:focus-visible {
    border-color: #f2b8b5;
    color: #b42318;
    background: #fff1f0;
    outline: none;
}

.storefront-cart-item__total {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.storefront-cart-item__total strong {
    color: #1d1d1f;
    font-size: 17px;
    letter-spacing: -0.04em;
}

.storefront-cart-summary {
    position: sticky;
    top: 18px;
    padding: 24px;
    border-radius: 26px;
    background: #f5f5f7;
}

.storefront-cart-summary h2 {
    margin: 0 0 20px;
    color: #1d1d1f;
    font-size: 24px;
    letter-spacing: -0.05em;
}

.storefront-cart-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #e5e5e7;
    color: #1d1d1f;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.storefront-cart-summary p {
    margin: 18px 0;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.storefront-cart-summary form {
    margin: 12px 0 0;
}

.storefront-cart-summary button {
    width: 100%;
    min-height: 48px;
    background: #ffffff;
    font-size: 15px;
}

.storefront-cart-coupon {
    display: grid;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid #e5e5e7;
}

.storefront-cart-coupon form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin: 0;
}

.storefront-cart-coupon label {
    display: grid;
    gap: 6px;
    color: #6e6e73;
    font-size: 13px;
    font-weight: 700;
}

.storefront-cart-coupon input {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e5e7;
    border-radius: 999px;
    background: #ffffff;
    color: #1d1d1f;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.storefront-cart-coupon > form > button {
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
}

.storefront-cart-coupon__active {
    padding: 9px 10px;
    border: 1px solid #dff3e4;
    border-radius: 14px;
    background: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.storefront-cart-coupon__active span {
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 800;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.storefront-cart-coupon__active strong {
    color: #147a37;
    font-size: 13px;
    white-space: nowrap;
}

.storefront-cart-coupon__active form {
    display: block;
    margin: 0;
}

.storefront-cart-coupon__active button {
    width: auto;
    min-height: 32px;
    padding: 0 10px;
    background: #f5f5f7;
    font-size: 12px;
    white-space: nowrap;
}

.storefront-cart-summary__total {
    padding-top: 12px;
    border-top: 1px solid #e5e5e7;
}

@media (max-width: 980px) {
    .storefront-cart-page__card {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .storefront-cart-page__layout {
        grid-template-columns: 1fr;
    }

    .storefront-cart-summary {
        position: static;
    }

    .storefront-cart-item {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .storefront-cart-item__form,
    .storefront-cart-item__total {
        grid-column: 1 / -1;
    }

    .storefront-cart-item__total {
        justify-items: stretch;
    }

    .storefront-cart-coupon form {
        grid-template-columns: 1fr;
    }

    .storefront-cart-coupon__active {
        grid-template-columns: 1fr auto;
    }

    .storefront-cart-coupon__active form {
        grid-column: 1 / -1;
    }

    .storefront-cart-coupon__active button {
        width: 100%;
    }
}

.storefront-checkout-page,
.storefront-checkout-success {
    margin: 26px 0 32px;
}

.storefront-checkout-page__card,
.storefront-checkout-success__card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
}

.storefront-checkout-page__header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeef;
}

.storefront-checkout-page__header p,
.storefront-checkout-success__card p {
    margin: 0 0 8px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-checkout-page__header h1,
.storefront-checkout-success__card h1 {
    margin: 0;
    color: #1d1d1f;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.storefront-checkout-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.storefront-checkout-form {
    display: grid;
    gap: 18px;
}

.storefront-checkout-form fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 24px;
    border: 1px solid #eeeeef;
    border-radius: 26px;
}

.storefront-checkout-form legend {
    padding: 0 8px;
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.storefront-checkout-form label {
    display: grid;
    gap: 8px;
    color: #424245;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.storefront-checkout-form__note {
    grid-column: 1 / -1;
}

.storefront-checkout-form input,
.storefront-checkout-form select,
.storefront-checkout-form textarea {
    width: 100%;
    border: 1px solid #d2d2d7;
    border-radius: 14px;
    background: #ffffff;
    color: #1d1d1f;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.storefront-checkout-form input,
.storefront-checkout-form select {
    min-height: 46px;
    padding: 0 14px;
}

.storefront-checkout-form textarea {
    resize: vertical;
    padding: 12px 14px;
}

.storefront-checkout-form label.storefront-checkout-form__checkbox {
    grid-column: 1 / -1;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

.storefront-checkout-form label.storefront-checkout-form__checkbox input {
    width: 18px;
    min-height: 18px;
}

.storefront-checkout-payment-info {
    grid-column: 1 / -1;
    padding: 14px;
    border-radius: 16px;
    background: #f5f5f7;
    display: grid;
    gap: 7px;
}

.storefront-checkout-payment-info strong {
    color: #1d1d1f;
    font-size: 15px;
}

.storefront-checkout-payment-info span,
.storefront-checkout-payment-info p {
    margin: 0;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.45;
}

.storefront-product-options {
    display: grid;
    gap: 16px;
    margin: 8px 0 2px;
}

.storefront-product-option {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #eeeeef;
    border-radius: 18px;
    background: #f5f5f7;
}

.storefront-product-option legend {
    padding: 0;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 700;
}

.storefront-product-option__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.storefront-product-option__choice {
    position: relative;
    cursor: pointer;
}

.storefront-product-option__choice input {
    position: absolute;
    inset: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.storefront-product-option__choice > span {
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid #e6e6eb;
    border-radius: 999px;
    background: #ffffff;
    color: #1d1d1f;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.storefront-product-option__choice small {
    color: #6e6e73;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1;
}

.storefront-product-option__choice input:checked + span {
    border-color: var(--storefront-primary, #0071e3);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.storefront-product-option__choice input:focus-visible + span {
    outline: 2px solid var(--storefront-primary, #0071e3);
    outline-offset: 3px;
}

.storefront-product-option--color .storefront-product-option__choice > span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    justify-content: center;
}

.storefront-product-option__swatch {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.storefront-product-option__choice-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.storefront-cart-item__options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
}

.storefront-cart-item__option {
    min-height: 28px;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid #eeeeef;
    border-radius: 999px;
    background: #f5f5f7;
    color: #1d1d1f;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
}

.storefront-cart-item__option strong {
    color: #6e6e73;
    font-weight: 750;
}

.storefront-cart-item__option span {
    display: inline;
    margin: 0;
    color: #1d1d1f;
    font-size: inherit;
    font-weight: 750;
    letter-spacing: 0;
}

.storefront-cart-item__option em,
.storefront-checkout-summary__options em {
    color: #6e6e73;
    font-size: inherit;
    font-style: normal;
    font-weight: 750;
    letter-spacing: 0;
    white-space: nowrap;
}

.storefront-option-swatch {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.storefront-checkout-summary__options {
    display: grid;
    gap: 4px;
}

.storefront-checkout-summary__options span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.storefront-checkout-form__shipping {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.storefront-checkout-form__hint {
    grid-column: 1 / -1;
    margin: -6px 0 0;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.45;
}

.storefront-checkout-form__shipping.is-same-as-billing input {
    background: #f5f5f7;
    color: #6e6e73;
    cursor: default;
}

.storefront-checkout-form > button,
.storefront-checkout-success__card a,
.storefront-payment-result__retry button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--storefront-primary, #0071e3);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-decoration: none;
    cursor: pointer;
}

.storefront-payment-result__retry {
    margin: 0 0 16px;
}

.storefront-payment-result__error {
    margin: 0 0 20px;
    color: #b42318;
    font-size: 14px;
    font-weight: 700;
}

.storefront-checkout-summary {
    position: sticky;
    top: 18px;
    padding: 24px;
    border-radius: 26px;
    background: #f5f5f7;
}

.storefront-checkout-summary h2 {
    margin: 0 0 18px;
    color: #1d1d1f;
    font-size: 24px;
    letter-spacing: -0.05em;
}

.storefront-checkout-summary__items {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.storefront-checkout-summary__items article {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e7;
}

.storefront-checkout-summary__items span {
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.storefront-checkout-summary__items small {
    color: #6e6e73;
    font-size: 13px;
    font-weight: 700;
}

.storefront-checkout-summary__items .storefront-checkout-summary__options span {
    color: #6e6e73;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.storefront-checkout-summary__items strong {
    color: #1d1d1f;
    font-size: 15px;
}

.storefront-checkout-summary dl,
.storefront-checkout-success__card dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.storefront-checkout-summary dl div,
.storefront-checkout-success__card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #e5e5e7;
}

.storefront-checkout-summary dt,
.storefront-checkout-success__card dt {
    color: #6e6e73;
    font-size: 14px;
    font-weight: 700;
}

.storefront-checkout-summary dd,
.storefront-checkout-success__card dd {
    margin: 0;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 800;
    text-align: right;
}

.storefront-checkout-summary__total dd {
    font-size: 20px;
}

.storefront-checkout-success__card {
    max-width: 720px;
    text-align: center;
}

.storefront-checkout-success__card span {
    display: block;
    margin: 14px 0 28px;
    color: #6e6e73;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -0.03em;
}

.storefront-checkout-success__card dl {
    margin: 0 0 28px;
    text-align: left;
}

@media (max-width: 980px) {
    .storefront-checkout-page__card,
    .storefront-checkout-success__card {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .storefront-checkout-page__layout,
    .storefront-checkout-form fieldset,
    .storefront-checkout-form__shipping {
        grid-template-columns: 1fr;
    }

    .storefront-checkout-summary {
        position: static;
    }
}
