@use "../base" as *; @use "../abstracts" as *; .path-cart { font-family: $font-primary; padding-bottom: 92px; @include breakpoint(medium) { padding-bottom: 0; } .layout-content { @media (max-width: 767px) { padding-right: 20px; padding-left: 20px; } padding-top: 28px; @include breakpoint(medium) { padding-top: 40px; } } .page-title { color: $dark-gray; font-size: 2.25rem; font-style: normal; font-weight: 500; line-height: 2.625rem; font-family: $font-primary; margin-bottom: 24px; @include breakpoint(medium) { font-size: 2.5rem; line-height: 3rem; margin-bottom: 32px; } } .messages { margin-top: 24px; } .cart-empty-page { padding: 64px 0; color: $mid-gray; text-align: left; font-family: $font-primary; font-size: 1.75rem; font-style: italic; font-weight: 400; line-height: 2.25rem; } .cart-is-empty { .cart-empty-page { display: none; } } .cart-empty-state { display: grid; gap: 24px; margin-bottom: 48px; padding: 24px; background: $gray3; border: 1px solid $light-gray2; border-radius: 4px; @include breakpoint(medium) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; min-height: 156px; padding: 32px; } &__content { max-width: 680px; } &__eyebrow { margin: 0 0 8px; color: $mid-gray; font-size: 0.75rem; font-weight: 700; line-height: 1rem; letter-spacing: 0.02rem; text-transform: uppercase; } h2 { margin: 0; color: $dark-gray; font-size: 1.75rem; font-weight: 500; line-height: 2.25rem; } p { margin: 12px 0 0; color: $mid-gray; font-size: 1rem; font-weight: 400; line-height: 1.5rem; } &__actions { display: grid; gap: 10px; @include breakpoint(medium) { min-width: 280px; } } &__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 14px 18px; border-radius: 4px; color: #fff; font-size: 0.875rem; font-weight: 700; line-height: 1.125rem; text-decoration: none; box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.45); &::after { content: ""; flex: 0 0 24px; width: 24px; height: 24px; background-image: url("/themes/custom/gto/assets/icons/arrow-right-long.svg"); background-repeat: no-repeat; background-size: cover; } &--blue { background-color: $brand-blue; } &--green { background-color: $brand-green; } &--red { background-color: $brand-red; } } } .view-commerce-cart-form { .views-table { width: 100%; margin: 16px 0 32px; display: block; thead { display: none; @include breakpoint(large) { display: block; } tr { display: grid; grid-template-columns: 2fr 3fr 2fr 2fr 2fr 1fr; border-top: 1px solid $light-gray; border-bottom: 1px solid $light-gray; } th { padding: 8px 16px; align-items: center; text-align: center; flex-shrink: 0; color: $dark-gray; font-size: 10px; font-style: normal; font-weight: 700; line-height: 1rem; text-transform: uppercase; border-left: 1px solid $light-gray; &:first-child { min-width: 200px; } &:nth-child(2) { text-align: left; } &:last-child { font-size: 0; border-right: 1px solid $light-gray; min-width: 106px; } } } tbody { display: block; tr:not(.rating-table-tr) { display: grid; border-bottom: 1px solid $light-gray; grid-template-areas: 'image image remove' 'title title title' 'empty price quantity' 'empty total total'; margin: 0 0 20px; @include breakpoint(small) { grid-template-columns: 2fr 3fr 2fr; grid-template-areas: 'image title remove' 'empty price quantity' 'empty total total'; } @include breakpoint(large) { margin: 0; grid-template-columns: 2fr 3fr 2fr 2fr 2fr 1fr; grid-template-areas: 'image title price quantity total remove'; } } .views-field { padding: 16px; display: flex; align-items: center; width: 100%; @include breakpoint(large) { justify-content: center; border-left: 1px solid $light-gray; } &:first-child { padding: 0; grid-column-start: 1; grid-column-end: 2; grid-row-start: 1; grid-row-end: 3; justify-content: center; grid-area: image; align-items: flex-start; .media-wrapper { position: relative; &__tags { position: absolute; top: 0; display: flex; gap: 8px; flex-direction: row; align-items: center; div { font-size: .75rem; font-style: normal; font-weight: 500; line-height: .875rem; letter-spacing: .015rem; color: #fff; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; background-color: $dark-gray; display: inline-block; border: 1px solid rgba(61, 63, 78, 0.12); margin-top: 8px; &:first-child { margin-left: 8px; } } .new { background-color: $light-gray; color: $dark-gray; } .sell { background-color: $brand-red; } } } @include breakpoint(large) { max-width: 224px; min-width: 200px; } img { display: inline-block; max-width: 224px; width: 100%; } } &:last-child { @include breakpoint(large) { border-right: 1px solid $light-gray; } } } .views-field-gto-commerce-cart-item-title-rate-additional { font-style: normal; justify-content: flex-start; grid-area: title; .line, .class { color: $mid-gray; font-size: .75rem; font-weight: 400; line-height: .875rem; letter-spacing: .015rem; } .title { color: $dark-gray; font-size: 1.125rem; font-weight: 500; line-height: 1.375rem; font-family: $font-primary; } .class { line-height: 1.125rem; } .vote-form, .rating-table { margin-top: 8px; .fivestar-rating-wrapper { display: flex; gap: 2px; position: relative; .form-item { .fivestar-rating-label { &::before { font-size: 1rem; color: $gray; } } .full::before { color: $stars-full; } .rating-option-result { font-size: .875rem; line-height: 6px; padding: 0 2px; } &:last-child { position: relative; margin-top: -2px; } } } .fivestar-rating-submit, .vote-result { display: none; } } .additional-product { display: flex; align-items: center; border-radius: 4px; border: 1px solid $brand-blue; margin-top: 16px; max-width: 192px; cursor: pointer; .button { padding: 10px 16px; text-align: center; font-size: .75rem; font-style: normal; font-weight: 500; line-height: 1rem; letter-spacing: .0075rem; text-transform: uppercase; color: $dark-gray; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; &::before { content: ''; display: inline-block; background-image: url('../../assets/icons/plus.svg'); width: 16px; height: 16px; background-repeat: no-repeat; background-size: cover; background-position: center; filter: invert(1); margin: auto 0; cursor: pointer; } &:hover { transition: .3s; background-color: $brand-blue; color: #fff; &::before { filter: invert(0); } } } } } .views-field-gto-commerce-cart-item-price { grid-area: price; .price-box { font-style: normal; &__price { display: flex; flex-direction: row; gap: 8px; align-items: center; &--price { color: $mid-gray; text-align: center; font-size: 1.125rem; font-style: normal; font-weight: 500; line-height: 1.375rem; @include breakpoint(large) { font-size: .9375rem; } @include breakpoint(full) { font-size: 1.125rem; } } &--price-discount { color: $brand-red; text-align: center; font-size: 1.125rem; font-style: normal; font-weight: 500; line-height: 1.375rem; @include breakpoint(large) { font-size: .9375rem; } @include breakpoint(full) { font-size: 1.125rem; } } .discount { text-decoration: line-through; } } &__price-last30 { color: $mid-gray; font-size: .75rem; font-weight: 400; line-height: .875rem; letter-spacing: .015rem; span { color: $dark-gray; font-weight: 500; } } } } .views-field-edit-quantity { grid-area: quantity; justify-content: center; .form-item { margin: 0; display: flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 4px; border: 1px solid $gray; @include breakpoint(medium) { max-width: 114px; } @include breakpoint(extra_large) { max-width: unset; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } input[type=number] { -moz-appearance: textfield; } label { display: none; } .before, .after { display: flex; align-items: center; justify-content: center; &::before { content: ''; display: inline-block; background-image: url('../../assets/icons/minus.svg'); width: 24px; height: 24px; background-repeat: no-repeat; background-size: cover; background-position: center; filter: invert(1); margin: auto 0; cursor: pointer; } } .after { &::before { background-image: url('../../assets/icons/plus.svg'); } } .quantity-edit-input { width: 40px; color: $dark-gray; text-align: center; font-size: .875rem; font-style: normal; font-weight: 400; line-height: 1.5rem; } } } .views-field-total-price__number { text-align: center; color: $dark-gray; font-size: 1.125rem; font-style: normal; font-weight: 500; line-height: 1.375rem; grid-area: total; justify-content: flex-end; @include breakpoint(large) { justify-content: center; } span { margin-right: 8px; font-weight: 400; @include breakpoint(large) { display: none; } } } .views-field-remove-button { grid-area: remove; justify-content: flex-end; align-items: flex-start; padding: 0; @include breakpoint(large) { justify-content: center; align-items: center; padding: 16px; } .label-trash { padding: 24px; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; cursor: pointer; &::before { content: ''; display: inline-block; background-image: url('../../assets/icons/trash-2.svg'); width: 24px; height: 24px; background-repeat: no-repeat; background-size: cover; background-position: center; } } .delete-order-item { display: none; } } } } .views-form > form > div > .field--name-total-price { .cart-order-summary__lines { display: flex; justify-content: flex-end; flex-direction: column; max-width: 350px; margin-left: auto; .order-total-line { display: flex; gap: 4px; font-family: $font-primary; flex-direction: row; font-style: normal; font-weight: 500; line-height: 1.125rem; font-size: .875rem; justify-content: flex-end; color: $dark-gray; .order-total-line-value { font-weight: 400; width: auto; .discount { text-decoration: line-through; } } } .order-total-line__total { gap: 12px; padding-top: 12px; border-top: 1px solid $light-gray; margin-top: 12px; align-items: flex-end; .order-total-line-label { padding: 4px 0; } .order-total-line-value { font-weight: 700; font-size: 1.5rem; line-height: 2rem; } } } } .cart-order-summary__note { margin-bottom: 18px; color: $mid-gray; font-size: .8125rem; font-weight: 500; line-height: 1.125rem; text-align: right; } .cart-order-summary__lines { .order-total-line__delivery { .discount { margin-right: 8px; color: $mid-gray; text-decoration-line: line-through; text-decoration-thickness: 2px; text-decoration-color: currentColor; } } } .cart-order-summary__shipping-progress { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid $light-gray; } .cart-order-summary__shipping-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; background: $gray3; &::before { content: ''; display: block; width: 22px; height: 22px; background: $dark-gray; mask: url('../../assets/icons/truck.svg') center / contain no-repeat; } } .cart-order-summary__shipping-content { min-width: 0; strong { display: block; margin-bottom: 8px; color: $dark-gray; font-size: .875rem; font-weight: 700; line-height: 1.25rem; } } .cart-order-summary__shipping-bar { display: block; width: 100%; height: 8px; overflow: hidden; border-radius: 999px; background: $gray3; span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, $brand-blue 0%, #6bc4f4 100%); } } .cart-order-summary__shipping-target { display: block; margin-top: 10px; color: $mid-gray; font-size: .8125rem; font-weight: 500; line-height: 1.125rem; } .form-actions { display: flex; flex-direction: row; justify-content: flex-end; gap: 8px; .button-wrapper { border-radius: 4px; display: flex; align-items: center; border: 1px solid $brand-blue; color: $dark-gray; text-align: center; font-size: 1rem; font-style: normal; font-weight: 500; line-height: 1.25rem; .button { padding: 18px 24px; cursor: pointer; } } .button-wrapper-submit { display: flex; position: relative; padding-left: 24px; z-index: 1; &::before { content: ''; display: inline-block; background-image: url('../../assets/icons/refresh-ccw.svg'); width: 20px; height: 20px; background-repeat: no-repeat; background-size: cover; background-position: center; position: absolute; left: 18px; z-index: 0; } &:hover { transition: .3s; background-color: $brand-blue; color: #fff; &::before { filter: invert(1); } } } .button-wrapper-checkout { margin: 0; background-color: $brand-blue; box-shadow: 0px 12px 24px -16px rgba(0, 0, 0, 0.32); color: #fff; .button { &:hover { transition: .3s; background-color: #fff; color: $dark-gray; border-radius: 4px; } } } } .cart-checkout-assurance { display: grid; gap: 18px; justify-self: end; width: 350px; max-width: 100%; margin-left: auto; } .cart-checkout-assurance__payments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .cart-payment-chip { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 8px; border: 1px solid $light-gray; border-radius: 4px; background: #fff; color: $dark-gray; font-size: .75rem; font-weight: 700; line-height: 1rem; text-align: center; } .cart-payment-chip--visa { color: #173b83; font-style: italic; } .cart-payment-chip--mastercard { color: #d94835; } .cart-payment-chip--paypal { color: #1f5f9d; } .cart-payment-chip--invoice { color: $mid-gray; } .cart-checkout-assurance__benefits { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid $light-gray; } .cart-checkout-assurance__benefit { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; color: $mid-gray; font-size: .875rem; font-weight: 500; line-height: 1.25rem; &::before { content: ''; display: block; width: 20px; height: 20px; background: $mid-gray; mask-position: center; mask-repeat: no-repeat; mask-size: contain; } } .cart-checkout-assurance__benefit--returns::before { mask-image: url('../../assets/icons/refresh-ccw.svg'); } .cart-checkout-assurance__benefit--protection::before { mask-image: url('../../assets/icons/check-circle.svg'); } .cart-checkout-assurance__benefit--ssl::before { mask-image: url('../../assets/icons/package.svg'); } .paypal-buttons-container { display: none; } } .cart-mobile-checkout { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid $light-gray; background: #fff; box-shadow: 0 -12px 28px -24px rgba(0, 0, 0, 0.45); transform: translateY(110%); transition: transform 0.2s ease; @include breakpoint(medium) { display: none; } &.is-visible { transform: translateY(0); } &__summary { display: flex; flex-direction: column; gap: 2px; color: $dark-gray; } &__label { color: $mid-gray; font-size: 0.75rem; font-weight: 500; line-height: 1rem; text-transform: uppercase; } &__total { font-size: 1.25rem; font-weight: 700; line-height: 1.5rem; } &__button { border-radius: 4px; background: $brand-blue; color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.25rem; padding: 16px 20px; text-decoration: none; white-space: nowrap; box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.32); } } .view-commerce-cart-form { form { @include breakpoint(extra_large) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 24px; align-items: start; } } .cart-checkout-sidebar { @include breakpoint(extra_large) { grid-column: 2; display: grid; align-self: start; gap: 20px; } @media (max-width: 1365px) { display: grid; gap: 12px; margin-top: 18px; } } .views-table { @include breakpoint(extra_large) { grid-column: 1; margin: 0; } thead { @include breakpoint(large) { margin-bottom: 8px; } tr { @include breakpoint(large) { grid-template-columns: 132px minmax(260px, 1.45fr) 132px 136px 132px 56px; border: 0; border-radius: 4px; background: $gray3; } } th { @include breakpoint(large) { padding: 10px 12px; border: 0; color: $mid-gray; font-size: 0.6875rem; letter-spacing: 0.02rem; text-align: left; } &:first-child { @include breakpoint(large) { min-width: 0; } } &:last-child { @include breakpoint(large) { min-width: 0; border: 0; } } } } tbody { tr:not(.rating-table-tr) { border: 1px solid $light-gray; border-radius: 6px; background: #fff; overflow: hidden; @include breakpoint(large) { grid-template-columns: 132px minmax(260px, 1.45fr) 132px 136px 132px 56px; min-height: 124px; margin-bottom: 10px; box-shadow: 0 10px 22px -24px rgba(0, 0, 0, 0.45); } @media (max-width: 767px) { grid-template-columns: 96px minmax(0, 1fr) 42px; grid-template-areas: "image title remove" "image price price" "image quantity quantity" "image total total"; gap: 0; margin-bottom: 10px; } } .views-field { @include breakpoint(large) { min-width: 0; padding: 14px 12px; border-left: 0; } } .views-field:first-child { @include breakpoint(large) { min-width: 0; max-width: none; align-items: center; padding: 10px; } @media (max-width: 767px) { grid-row: auto; align-items: center; padding: 10px 0 10px 10px; } img { width: 100%; max-width: 112px; max-height: 104px; object-fit: contain; @media (max-width: 767px) { max-width: 82px; max-height: 96px; } } .media-wrapper { @media (max-width: 767px) { width: 82px; max-width: 82px; } &__tags { @media (max-width: 767px) { top: 0; left: 0; max-width: 100%; gap: 4px; } div { @media (max-width: 767px) { margin-top: 0; padding: 2px 5px; font-size: 0.5625rem; line-height: 0.6875rem; letter-spacing: 0.005rem; } &:first-child { @media (max-width: 767px) { margin-left: 0; } } } } } } .views-field-field-medias { .media-wrapper { position: relative; @media (max-width: 767px) { width: 82px; max-width: 82px; } &__tags { position: absolute; top: 0; left: 0; display: flex; max-width: 100%; gap: 4px; align-items: flex-start; z-index: 1; div { margin-top: 0; margin-left: 0; padding: 3px 6px; border-radius: 2px; background-color: $dark-gray; color: #fff; font-size: 0.625rem; font-weight: 700; line-height: 0.75rem; letter-spacing: 0.005rem; text-transform: uppercase; @media (max-width: 1365px) { padding: 2px 5px; font-size: 0.5625rem; line-height: 0.6875rem; } @media (max-width: 767px) { padding: 2px 4px; font-size: 0.5rem; line-height: 0.625rem; } } } } } .views-field-gto-commerce-cart-item-title-rate-additional { flex-direction: column; align-items: flex-start; gap: 4px; @media (max-width: 767px) { padding: 12px 8px 6px 12px; } .title { font-size: 1rem; font-weight: 700; line-height: 1.25rem; @media (max-width: 767px) { display: -webkit-box; overflow: hidden; font-size: 0.9375rem; line-height: 1.1875rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } } .line, .class { color: $mid-gray; font-size: 0.75rem; line-height: 1rem; } .additional-product { margin-top: 8px; max-width: 168px; @media (max-width: 767px) { max-width: 150px; } .button { min-height: 32px; padding: 7px 10px; font-size: 0.6875rem; line-height: 0.875rem; letter-spacing: 0.01rem; } } } .views-field-gto-commerce-cart-item-price { @media (max-width: 767px) { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: start; gap: 6px; justify-content: flex-start; padding: 8px 10px 6px 12px; } &::before { @media (max-width: 767px) { content: attr(data-cart-mobile-label); color: $mid-gray; font-size: 0.6875rem; font-weight: 700; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.02rem; } } .price-box__price { flex-wrap: wrap; justify-content: flex-start; &--price, &--price-discount { font-size: 1rem; line-height: 1.25rem; } } .price-box__price-last30 { max-width: 148px; margin-top: 2px; font-size: 0.6875rem; line-height: 0.875rem; } } .views-field-edit-quantity { @media (max-width: 767px) { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 6px; justify-content: flex-start; padding: 6px 10px 8px 12px; } &::before { @media (max-width: 767px) { content: attr(data-cart-mobile-label); color: $mid-gray; font-size: 0.6875rem; font-weight: 700; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.02rem; } } .form-item { min-height: 42px; padding: 8px 12px; border-color: rgba(61, 63, 78, 0.18); background: rgba(250, 252, 255, 0.95); @media (max-width: 767px) { max-width: 112px; } .before, .after { &::before { width: 20px; height: 20px; } } .quantity-edit-input { width: 32px; font-weight: 700; } } } .views-field-total-price__number { color: $dark-gray; font-size: 1rem; font-weight: 700; line-height: 1.25rem; @media (max-width: 767px) { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; justify-content: flex-start; gap: 6px; padding: 6px 12px 12px; text-align: left; } &::before { @media (max-width: 767px) { content: attr(data-cart-mobile-label); color: $mid-gray; font-size: 0.6875rem; font-weight: 700; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.02rem; } } span { @media (max-width: 767px) { display: none; } } } .views-field-remove-button { @media (max-width: 767px) { align-items: flex-start; justify-content: flex-end; padding: 4px; } .label-trash { width: 42px; height: 42px; padding: 11px; border-radius: 50%; &:hover { background: rgba(225, 83, 69, 0.08); } &::before { width: 20px; height: 20px; } } } } } .views-form > form > div > .field--name-total-price { @include breakpoint(extra_large) { position: sticky; top: 116px; padding: 20px; border: 1px solid $light-gray; border-radius: 6px; background: #fff; box-shadow: 0 18px 36px -32px rgba(0, 0, 0, 0.45); } @media (max-width: 1365px) { padding: 16px; border: 1px solid $light-gray; border-radius: 6px; background: #fff; } &::before { @include breakpoint(large) { content: none; } } .cart-order-summary__lines { max-width: none; .order-total-line { justify-content: space-between; gap: 16px; width: 100%; padding: 6px 0; color: $mid-gray; .order-total-line-value { color: $dark-gray; font-weight: 700; text-align: right; } } .order-total-line__total { margin-top: 10px; padding-top: 14px; align-items: center; .order-total-line-label { color: $dark-gray; font-size: 1rem; font-weight: 700; } .order-total-line-value { color: $dark-gray; font-size: 1.625rem; line-height: 2rem; } } } } .form-actions { @include breakpoint(extra_large) { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: 10px; margin-top: 0; } @media (max-width: 1365px) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; } .button-wrapper { justify-content: center; width: 100%; .button { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px 18px; text-align: center; } } .button-wrapper-checkout { order: -1; padding-left: 0; justify-self: stretch; width: 100% !important; max-width: none; .button { font-weight: 700; } } &.form-actions .button-wrapper-checkout { width: 100%; } .button-wrapper-submit { padding-left: 0; &::before { left: 18px; } } } .cart-checkout-assurance { @include breakpoint(extra_large) { display: grid; gap: 18px; margin-top: 0; padding: 0 20px 20px; border: 1px solid $light-gray; border-top: 0; border-radius: 0 0 6px 6px; background: #fff; box-shadow: 0 18px 36px -32px rgba(0, 0, 0, 0.45); } @media (max-width: 1365px) { display: grid; gap: 14px; width: 100%; margin-top: 10px; padding: 14px; border: 1px solid $light-gray; border-radius: 6px; background: #fff; } } .cart-checkout-assurance__payments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; @media (max-width: 1365px) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } } .cart-payment-chip { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 7px 9px; border: 1px solid $light-gray; border-radius: 4px; background: #fff; color: $dark-gray; font-size: 0.625rem; font-weight: 700; line-height: 1rem; text-align: center; white-space: nowrap; @media (max-width: 1365px) { justify-content: flex-start; min-height: 40px; padding: 8px 10px; font-size: 0.75rem; } &::before { content: ''; display: block; flex: 0 0 18px; width: 18px; height: 18px; background-position: center; background-repeat: no-repeat; background-size: contain; @media (max-width: 1365px) { flex-basis: 20px; width: 20px; height: 20px; } } } .cart-payment-chip--visa { color: #173b83; font-style: italic; &::before { content: 'V'; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: #173b83; color: #fff; font-size: 0.6875rem; font-style: normal; font-weight: 800; letter-spacing: -0.03em; } } .cart-payment-chip--mastercard { color: #d94835; &::before { border-radius: 50%; background: radial-gradient(circle at 35% 50%, #e94835 0 42%, transparent 43%), radial-gradient(circle at 65% 50%, #f7a928 0 42%, transparent 43%); } } .cart-payment-chip--paypal { color: #1f5f9d; &::before { content: 'P'; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: #1f5f9d; color: #fff; font-size: 0.75rem; font-weight: 800; } } .cart-payment-chip--invoice { color: $mid-gray; &::before { background-color: $mid-gray; mask-image: url('../../assets/icons/file-text.svg'); mask-position: center; mask-repeat: no-repeat; mask-size: contain; } } .cart-checkout-assurance__benefits { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid $light-gray; @media (max-width: 1365px) { gap: 10px; padding-top: 14px; } } .cart-checkout-assurance__benefit { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; color: $mid-gray; font-size: 0.875rem; font-weight: 500; line-height: 1.25rem; @media (max-width: 1365px) { min-height: 34px; color: $dark-gray; font-size: 0.8125rem; font-weight: 700; } &::before { content: ''; display: block; width: 20px; height: 20px; background: $mid-gray; mask-position: center; mask-repeat: no-repeat; mask-size: contain; @media (max-width: 1365px) { background: $dark-gray; } } } .cart-checkout-assurance__benefit--returns::before { mask-image: url('../../assets/icons/refresh-ccw.svg'); } .cart-checkout-assurance__benefit--protection::before { mask-image: url('../../assets/icons/check-circle.svg'); } .cart-checkout-assurance__benefit--ssl::before { mask-image: url('../../assets/icons/package.svg'); } } }