.ccr-shop {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    color: var(--ccr-dark);
    font-family: var(--ccr-sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.ccr-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 0 48px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.ccr-steps__item {
    display: flex;
    align-items: center;
    margin: 0;
    color: var(--ccr-subtle);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

.ccr-steps__item + .ccr-steps__item::before {
    content: "";
    width: clamp(28px, 6vw, 80px);
    height: 1px;
    margin: 0 16px;
    background: var(--ccr-line);
}

.ccr-steps__item.is-done + .ccr-steps__item::before {
    background: var(--ccr-dark);
}

.ccr-steps__item a {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.ccr-steps__dot {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border: 1px solid var(--ccr-line);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.ccr-steps__dot .ccr-icon {
    width: 16px;
    height: 16px;
}

.ccr-steps__item.is-current,
.ccr-steps__item.is-done {
    color: var(--ccr-dark);
}

.ccr-steps__item.is-current .ccr-steps__dot,
.ccr-steps__item.is-done .ccr-steps__dot {
    border-color: var(--ccr-dark);
    background: var(--ccr-dark);
    color: var(--ccr-cream);
}

.ccr-shop .woocommerce h2,
.ccr-shop .woocommerce h3 {
    margin: 0 0 20px;
    color: var(--ccr-ink);
    font-family: var(--ccr-serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .5px;
}

.ccr-shop .woocommerce a {
    color: var(--ccr-dark);
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-decoration-color: var(--ccr-line);
    text-underline-offset: 3px;
}

.ccr-shop .woocommerce table,
.ccr-shop .woocommerce table th,
.ccr-shop .woocommerce table td {
    border: 0;
    background: transparent;
}

.ccr-shop .woocommerce table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
}

.ccr-shop .woocommerce table.shop_table th,
.ccr-shop .woocommerce table.shop_table td {
    padding: 12px 0;
    border-top: 1px solid var(--ccr-line);
    color: var(--ccr-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    vertical-align: middle;
}

.ccr-shop .woocommerce table.shop_table th {
    color: var(--ccr-muted);
    font-weight: 600;
    text-align: left;
}

.ccr-shop .woocommerce table.shop_table td {
    text-align: right;
}

.ccr-shop .woocommerce .woocommerce-error,
.ccr-shop .woocommerce .woocommerce-info,
.ccr-shop .woocommerce .woocommerce-message {
    margin: 0 0 20px;
    padding: 16px 20px 16px 52px;
    border: 0;
    border-left: 3px solid var(--ccr-accent);
    border-radius: 0 var(--ccr-radius-sm) var(--ccr-radius-sm) 0;
    background: var(--ccr-white);
    box-shadow: none;
    color: var(--ccr-dark);
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

.ccr-shop .woocommerce .woocommerce-error {
    border-left-color: var(--ccr-brown);
}

.ccr-shop .woocommerce .woocommerce-info:has(.button),
.ccr-shop .woocommerce .woocommerce-message:has(.button) {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
}

.ccr-shop .woocommerce .woocommerce-info:has(.button)::after,
.ccr-shop .woocommerce .woocommerce-message:has(.button)::after {
    display: none;
}

.ccr-shop .woocommerce .woocommerce-info:has(.button)::before,
.ccr-shop .woocommerce .woocommerce-message:has(.button)::before {
    top: 50%;
    transform: translateY(-50%);
}

.ccr-shop .woocommerce table.woocommerce-table--order-details td.product-name {
    padding-right: 16px;
    text-align: left;
}

@media (min-width: 768px) {
    .ccr-shop .woocommerce table.woocommerce-table--order-details .product-name {
        width: 60%;
    }
}

.ccr-shop .woocommerce table.woocommerce-table--order-details thead th.product-total,
.ccr-shop .woocommerce table.woocommerce-table--order-details td.product-total,
.ccr-shop .woocommerce table.woocommerce-table--order-details tfoot td {
    text-align: right;
    overflow-wrap: anywhere;
}

.ccr-shop .woocommerce table.woocommerce-table--order-details td.product-total,
.ccr-shop .woocommerce table.woocommerce-table--order-details .woocommerce-Price-amount {
    white-space: nowrap;
}

.ccr-shop .woocommerce table.woocommerce-table--order-details tfoot tr:has(> td .woocommerce-Price-amount):not(:has(~ tr .woocommerce-Price-amount)) > * {
    color: var(--ccr-dark);
    font-size: 17px;
    font-weight: 700;
}

.ccr-shop .woocommerce .woocommerce-info .button,
.ccr-shop .woocommerce .woocommerce-message .button {
    flex-shrink: 0;
    float: none;
    order: 2;
}

.ccr-shop .woocommerce .woocommerce-error::before,
.ccr-shop .woocommerce .woocommerce-info::before,
.ccr-shop .woocommerce .woocommerce-message::before {
    top: 16px;
    left: 20px;
    color: var(--ccr-brown);
}

.ccr-shop .woocommerce .woocommerce-error li {
    margin: 0;
}

.ccr-shop .woocommerce .button,
.ccr-shop .woocommerce button.button,
.ccr-shop .woocommerce a.button,
.ccr-shop .woocommerce input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    margin: 0;
    padding: 0 24px;
    border: 1px solid var(--ccr-dark);
    border-radius: var(--ccr-radius-sm);
    background: transparent;
    box-shadow: none;
    color: var(--ccr-dark);
    font-family: var(--ccr-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .5px;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.ccr-shop .woocommerce .button:hover,
.ccr-shop .woocommerce button.button:hover,
.ccr-shop .woocommerce a.button:hover {
    border-color: var(--ccr-dark);
    background: var(--ccr-dark);
    color: var(--ccr-cream);
}

.ccr-shop .woocommerce .button.alt,
.ccr-shop .woocommerce a.button.alt,
.ccr-shop .woocommerce button.button.alt,
.ccr-shop .woocommerce a.checkout-button,
.ccr-shop .woocommerce #place_order {
    width: 100%;
    height: 56px;
    border-color: var(--ccr-dark);
    background: var(--ccr-dark);
    color: var(--ccr-cream);
    font-size: 16px;
}

.ccr-shop .woocommerce .button.alt:hover,
.ccr-shop .woocommerce a.button.alt:hover,
.ccr-shop .woocommerce button.button.alt:hover,
.ccr-shop .woocommerce a.checkout-button:hover,
.ccr-shop .woocommerce #place_order:hover {
    border-color: var(--ccr-dark-hover);
    background: var(--ccr-dark-hover);
    color: var(--ccr-cream);
}

.ccr-shop .woocommerce .button:disabled,
.ccr-shop .woocommerce .button:disabled[disabled] {
    padding: 0 24px;
    opacity: .4;
}

.ccr-shop .woocommerce .button:focus-visible,
.ccr-shop .woocommerce #place_order:focus-visible {
    outline: 2px solid var(--ccr-accent);
    outline-offset: 3px;
    box-shadow: none;
}

.ccr-shop .woocommerce form .form-row {
    margin: 0;
    padding: 0;
}

.ccr-shop .woocommerce form .form-row label,
.ccr-shop .woocommerce .woocommerce-shipping-calculator label {
    display: block;
    margin: 0 0 6px;
    color: var(--ccr-muted);
    font-family: var(--ccr-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .3px;
}

.ccr-shop .woocommerce form .form-row .required {
    color: var(--ccr-brown);
    text-decoration: none;
}

html .ccr-shop .woocommerce form .form-row .input-text,
html .ccr-shop .woocommerce form .form-row select,
html .ccr-shop .woocommerce form .form-row textarea,
html .ccr-shop .woocommerce .coupon input.input-text,
html .ccr-shop .woocommerce input#coupon_code {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--ccr-line);
    border-radius: var(--ccr-radius-sm);
    background-color: var(--ccr-white);
    box-shadow: none;
    color: var(--ccr-dark);
    font-family: var(--ccr-sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    transition: border-color .2s ease, box-shadow .2s ease;
}

html .ccr-shop .woocommerce form .form-row select {
    padding-right: 40px;
}

html .ccr-shop .woocommerce form .form-row textarea {
    height: 110px;
    padding: 14px 16px;
    line-height: 1.5;
    resize: vertical;
}

html .ccr-shop .woocommerce form .form-row .input-text:focus,
html .ccr-shop .woocommerce form .form-row select:focus,
html .ccr-shop .woocommerce form .form-row textarea:focus,
html .ccr-shop .woocommerce .coupon input.input-text:focus,
html .ccr-shop .woocommerce input#coupon_code:focus {
    border-color: var(--ccr-dark);
    outline: 0;
    box-shadow: 0 0 0 1px var(--ccr-dark);
}

html .ccr-shop .woocommerce form .form-row.woocommerce-invalid .input-text,
html .ccr-shop .woocommerce form .form-row.woocommerce-invalid select {
    border-color: var(--ccr-brown);
    box-shadow: 0 0 0 1px var(--ccr-brown);
}

.ccr-shop .select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid var(--ccr-line);
    border-radius: var(--ccr-radius-sm);
    background: var(--ccr-white);
}

.ccr-shop .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 16px;
    color: var(--ccr-dark);
    font-size: 15px;
    line-height: 46px;
}

.ccr-shop .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 11px;
    right: 10px;
}

.ccr-shop .select2-container--focus .select2-selection--single,
.ccr-shop .select2-container--open .select2-selection--single {
    border-color: var(--ccr-dark);
}

body.ccr-shop-page .select2-dropdown {
    overflow: hidden;
    border: 1px solid var(--ccr-line);
    border-radius: var(--ccr-radius-sm);
    box-shadow: var(--ccr-shadow-pop);
    font-family: var(--ccr-sans);
}

body.ccr-shop-page .select2-container--default .select2-results__option--highlighted[aria-selected],
body.ccr-shop-page .select2-container--default .select2-results__option--highlighted[data-selected] {
    background: var(--ccr-dark);
    color: var(--ccr-cream);
}

.ccr-shop .woocommerce input[type="radio"],
.ccr-shop .woocommerce input[type="checkbox"] {
    accent-color: var(--ccr-dark);
}

.ccr-shop .quantity {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 3px;
    border: 1px solid var(--ccr-line);
    border-radius: var(--ccr-radius-sm);
    background: var(--ccr-white);
}

html .ccr-shop .quantity input.qty {
    width: 40px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ccr-dark);
    font-family: var(--ccr-sans);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

html .ccr-shop .quantity input.qty:focus {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.ccr-shop .quantity input.qty::-webkit-inner-spin-button,
.ccr-shop .quantity input.qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

html .ccr-shop .quantity button.ccr-qbtn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--ccr-dark);
    cursor: pointer;
}

html .ccr-shop .quantity button.ccr-qbtn:hover {
    background: var(--ccr-wash);
    color: var(--ccr-dark);
}

.ccr-qbtn .ccr-icon {
    width: 16px;
    height: 16px;
}

.ccr-shop--cart .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: start;
    gap: 24px 40px;
}

.ccr-shop--cart .woocommerce > * {
    grid-column: 1;
    min-width: 0;
}

.ccr-shop--cart .woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

.ccr-shop--cart .woocommerce > .cart-collaterals {
    position: sticky;
    top: calc(var(--ccr-header-h, 100px) + 24px);
    grid-column: 2;
    grid-row: 2 / span 3;
    width: auto;
}

.ccr-shop--cart .woocommerce > .cart-empty,
.ccr-shop--cart .woocommerce > .return-to-shop,
.ccr-shop--cart .woocommerce > .wc-empty-cart-message {
    grid-column: 1 / -1;
    text-align: center;
}

.ccr-shop--cart .woocommerce > .wc-empty-cart-message .cart-empty {
    padding: 60px 20px 20px;
    background: transparent;
    box-shadow: none;
    font-family: var(--ccr-serif);
    font-size: 28px;
    font-weight: 300;
}

.ccr-shop--cart .woocommerce > .wc-empty-cart-message .cart-empty::before {
    display: none;
}

.ccr-shop--cart .return-to-shop .button {
    width: auto;
}

.ccr-shop table.cart,
.ccr-shop table.cart tbody {
    display: block;
}

.ccr-shop table.cart thead {
    display: none;
}

.ccr-shop .woocommerce table.cart tr.cart_item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto minmax(90px, auto) 40px;
    grid-template-areas:
        "thumb name qty sub remove"
        "thumb price qty sub remove";
    align-items: center;
    column-gap: 20px;
    margin-bottom: 12px;
    padding: 16px 20px 16px 16px;
    border-radius: var(--ccr-radius-md);
    background: var(--ccr-white);
    box-shadow: var(--ccr-shadow-soft);
}

.ccr-shop .woocommerce table.cart tr.cart_item td {
    display: block;
    padding: 0;
    border: 0;
    text-align: left !important;
}

.ccr-shop .woocommerce table.shop_table_responsive tr td::before,
.ccr-shop .woocommerce-page table.shop_table_responsive tr td::before {
    content: none;
    display: none;
}

.ccr-shop table.cart td.product-thumbnail {
    grid-area: thumb;
    position: relative;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    border-radius: 14px;
    background: var(--ccr-media-bg);
}

.ccr-shop .woocommerce table.cart td.product-thumbnail img {
    position: absolute;
    inset: 8% 0 0;
    width: 100%;
    max-width: none;
    height: 108%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    object-position: center top;
    filter: url("#ccr-soft-shadow");
}

.ccr-shop table.cart td.product-name {
    grid-area: name;
    align-self: end;
    color: var(--ccr-ink);
    font-family: var(--ccr-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}

.ccr-shop table.cart td.product-name dl.variation {
    display: flex;
    gap: 6px;
    margin: 4px 0 0;
    color: var(--ccr-subtle);
    font-family: var(--ccr-sans);
    font-size: 13px;
    font-weight: 600;
}

.ccr-shop table.cart td.product-name dl.variation dt,
.ccr-shop table.cart td.product-name dl.variation dd,
.ccr-shop table.cart td.product-name dl.variation p {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: 600;
}

.ccr-shop table.cart td.product-price {
    grid-area: price;
    align-self: start;
    margin-top: 4px;
    color: var(--ccr-subtle);
    font-size: 13px;
    font-weight: 600;
}

.ccr-shop table.cart td.product-quantity {
    grid-area: qty;
}

.ccr-shop table.cart td.product-subtotal {
    grid-area: sub;
    color: var(--ccr-dark);
    font-size: 17px;
    font-weight: 700;
    text-align: right !important;
    white-space: nowrap;
}

.ccr-shop table.cart td.product-remove {
    grid-area: remove;
    justify-self: end;
}

.ccr-shop .woocommerce table.cart a.remove {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--ccr-subtle) !important;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.ccr-shop .woocommerce table.cart a.remove:hover {
    background: var(--ccr-wash);
    color: var(--ccr-dark) !important;
}

.ccr-shop .woocommerce table.cart tr:not(.cart_item) {
    display: block;
}

.ccr-shop .woocommerce table.cart td.actions {
    display: block;
    padding: 12px 0 0;
    border: 0;
    text-align: left !important;
}

.ccr-shop .woocommerce table.cart td.actions .coupon {
    display: flex;
    gap: 10px;
    max-width: 460px;
    float: none !important;
}

.ccr-shop .woocommerce table.cart td.actions .coupon .input-text {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}

.ccr-shop .woocommerce table.cart td.actions .coupon .input-text {
    flex: 1 1 auto;
}

.ccr-shop .woocommerce table.cart td.actions .coupon .button {
    width: auto;
}

.ccr-shop .woocommerce table.cart tr.cart_item td.product-thumbnail {
    display: block !important;
}

.ccr-shop .woocommerce table.cart tr.cart_item td.product-subtotal {
    text-align: right !important;
}

.ccr-shop .woocommerce table.cart td.actions > button[name="update_cart"] {
    position: absolute;
    width: 1px !important;
    max-width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
}

.ccr-shop .cart-collaterals .cart_totals,
.ccr-shop .cart-collaterals .cross-sells {
    float: none;
    width: 100%;
}

.ccr-shop .cart_totals {
    padding: 28px;
    border-radius: var(--ccr-radius-lg);
    background: var(--ccr-white);
    box-shadow: var(--ccr-shadow-soft);
}

.ccr-shop .cart_totals .ccr-freeship {
    margin: 0 0 20px;
    padding: 0 0 20px;
}

.ccr-shop .woocommerce .cart_totals table.shop_table tr:first-child th,
.ccr-shop .woocommerce .cart_totals table.shop_table tr:first-child td {
    border-top: 0;
}

.ccr-shop .woocommerce table.shop_table tr.order-total th,
.ccr-shop .woocommerce table.shop_table tr.order-total td {
    padding-top: 18px;
    color: var(--ccr-dark);
    font-size: 18px;
    font-weight: 700;
}

.ccr-shop .woocommerce table.shop_table tr.order-total td strong {
    font-size: 24px;
}

.ccr-shop .woocommerce .wc-proceed-to-checkout {
    padding: 20px 0 0;
}

.ccr-shop .woocommerce ul#shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.ccr-shop .woocommerce ul#shipping_method li,
.ccr-shop .woocommerce ul.wc_payment_methods li.wc_payment_method {
    position: relative;
    margin: 0 0 8px;
    padding: 14px 16px;
    border: 1px solid var(--ccr-line);
    border-radius: var(--ccr-radius-sm);
    background: var(--ccr-white);
    line-height: 1.4;
    text-indent: 0;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.ccr-shop .woocommerce ul#shipping_method li:has(input:checked),
.ccr-shop .woocommerce ul.wc_payment_methods li.wc_payment_method:has(> input:checked) {
    border-color: var(--ccr-dark);
    box-shadow: 0 0 0 1px var(--ccr-dark);
}

.ccr-shop .woocommerce ul#shipping_method li input,
.ccr-shop .woocommerce ul.wc_payment_methods li > input {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    vertical-align: -3px;
}

.ccr-shop .woocommerce ul#shipping_method li label,
.ccr-shop .woocommerce ul.wc_payment_methods li > label {
    display: inline;
    margin: 0;
    color: var(--ccr-dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.ccr-shop .woocommerce-shipping-destination,
.ccr-shop .woocommerce-shipping-calculator {
    margin: 10px 0 0;
    color: var(--ccr-subtle);
    font-size: 13px;
    text-align: left;
}

.ccr-shop .woocommerce-shipping-calculator .shipping-calculator-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.ccr-shop--checkout .woocommerce > .woocommerce-form-coupon-toggle,
.ccr-shop--checkout .woocommerce > .checkout_coupon,
.ccr-shop--checkout .woocommerce > .woocommerce-form-login-toggle,
.ccr-shop--checkout .woocommerce > .woocommerce-form-login {
    max-width: calc(100% - 480px);
}

.ccr-shop .woocommerce form.checkout_coupon,
.ccr-shop .woocommerce form.woocommerce-form-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin: 0 0 24px;
    padding: 20px;
    border: 0;
    border-radius: var(--ccr-radius-md);
    background: var(--ccr-white);
}

.ccr-shop .woocommerce form.checkout_coupon > p:first-child,
.ccr-shop .woocommerce form.checkout_coupon .clear {
    display: none;
}

.ccr-shop .woocommerce form.checkout_coupon .form-row {
    float: none;
    width: auto;
}

.ccr-shop .woocommerce form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    align-items: start;
    gap: 24px 48px;
}

.ccr-shop .woocommerce form.checkout > * {
    grid-column: 1;
    min-width: 0;
}

.ccr-shop .woocommerce form.checkout #customer_details {
    grid-row: 1 / span 3;
}

.ccr-shop .woocommerce form.checkout #order_review_heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.ccr-shop .woocommerce form.checkout #order_review {
    position: sticky;
    top: calc(var(--ccr-header-h, 100px) + 24px);
    grid-column: 2;
    grid-row: 1 / span 3;
    padding: 28px;
    border-radius: var(--ccr-radius-lg);
    background: var(--ccr-white);
    box-shadow: var(--ccr-shadow-soft);
}

.ccr-shop .woocommerce form.checkout #order_review::before {
    content: "Vaša objednávka";
    display: block;
    margin-bottom: 16px;
    color: var(--ccr-ink);
    font-family: var(--ccr-serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}

.ccr-shop .woocommerce .col2-set {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.ccr-shop .woocommerce .col2-set::before,
.ccr-shop .woocommerce .col2-set::after {
    display: none;
}

.ccr-shop .woocommerce .col2-set .col-1,
.ccr-shop .woocommerce .col2-set .col-2 {
    float: none;
    width: 100%;
    max-width: none;
}

.ccr-shop .woocommerce-billing-fields,
.ccr-shop .woocommerce-shipping-fields,
.ccr-shop .woocommerce-additional-fields,
.ccr-shop .woocommerce-account-fields {
    padding: 28px;
    border-radius: var(--ccr-radius-lg);
    background: var(--ccr-white);
    box-shadow: var(--ccr-shadow-soft);
}

.ccr-shop .woocommerce-shipping-fields:not(:has(*)) {
    display: none;
}

.ccr-shop .woocommerce-shipping-fields:has(*) + .woocommerce-additional-fields {
    margin-top: 24px;
}

.ccr-shop .woocommerce-billing-fields__field-wrapper,
.ccr-shop .woocommerce-shipping-fields__field-wrapper,
.ccr-shop .woocommerce-additional-fields__field-wrapper,
.ccr-shop .shipping_address {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ccr-shop .shipping_address {
    margin-top: 20px;
}

.ccr-shop .woocommerce-billing-fields__field-wrapper::before,
.ccr-shop .woocommerce-billing-fields__field-wrapper::after,
.ccr-shop .woocommerce-shipping-fields__field-wrapper::before,
.ccr-shop .woocommerce-shipping-fields__field-wrapper::after {
    display: none;
}

.ccr-shop .woocommerce form .form-row-wide,
.ccr-shop .woocommerce form .form-row.notes,
.ccr-shop .woocommerce form .form-row.address-field,
.ccr-shop .shipping_address > .woocommerce-shipping-fields__field-wrapper {
    grid-column: 1 / -1;
}

.ccr-shop .woocommerce form .form-row-first,
.ccr-shop .woocommerce form .form-row-last {
    float: none;
    width: auto;
}

.ccr-shop .woocommerce form .form-row-first:not(.address-field),
.ccr-shop .woocommerce form .form-row-last:not(.address-field) {
    grid-column: auto;
}

.ccr-shop #ship-to-different-address {
    margin: 0;
    font-family: var(--ccr-sans);
    font-size: 16px;
    font-weight: 600;
}

.ccr-shop #ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--ccr-dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.ccr-shop #ship-to-different-address input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.ccr-shop .woocommerce-checkout-review-order-table thead {
    display: none;
}

.ccr-shop .woocommerce table.woocommerce-checkout-review-order-table tr.cart_item td {
    padding: 12px 0;
}

.ccr-shop .woocommerce table.woocommerce-checkout-review-order-table tbody tr:first-child td {
    border-top: 0;
}

.ccr-shop .woocommerce table.woocommerce-checkout-review-order-table td.product-name {
    text-align: left;
}

.ccr-shop .woocommerce-checkout-review-order-table td.product-total {
    font-weight: 700;
    white-space: nowrap;
}

.ccr-ritem {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100% - 6px);
    vertical-align: middle;
}

.ccr-ritem__media {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 60px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--ccr-media-bg);
}

.ccr-shop .ccr-ritem__media img {
    position: absolute;
    inset: 8% 0 0;
    width: 100%;
    max-width: none;
    height: 108%;
    margin: 0;
    object-fit: contain;
    object-position: center top;
    filter: url("#ccr-soft-shadow");
}

.ccr-ritem__name {
    color: var(--ccr-ink);
    font-family: var(--ccr-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.ccr-ritem__name .product-quantity {
    color: var(--ccr-muted);
    font-family: var(--ccr-sans);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.ccr-shop .woocommerce-checkout-review-order-table .product-quantity {
    color: var(--ccr-subtle);
    font-weight: 600;
}

.ccr-shop .woocommerce-checkout-review-order-table dl.variation {
    margin: 4px 0 0 70px;
    color: var(--ccr-subtle);
    font-size: 13px;
}

.ccr-shop .woocommerce-checkout-review-order-table dl.variation dt,
.ccr-shop .woocommerce-checkout-review-order-table dl.variation dd,
.ccr-shop .woocommerce-checkout-review-order-table dl.variation p {
    display: inline;
    margin: 0;
}

.ccr-shop .woocommerce-checkout-review-order-table tr.shipping th,
.ccr-shop .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
    vertical-align: top;
}

.ccr-shop .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    padding-left: 16px;
}

.ccr-shop .woocommerce #payment {
    margin-top: 24px;
    border-radius: 0;
    background: transparent;
}

.ccr-shop .woocommerce #payment ul.payment_methods {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.ccr-shop .woocommerce #payment ul.payment_methods::before,
.ccr-shop .woocommerce #payment ul.payment_methods::after {
    display: none;
}

.ccr-shop .woocommerce #payment ul.payment_methods li img {
    max-height: 24px;
    margin: 0 0 0 8px;
    vertical-align: middle;
}

.ccr-shop .woocommerce #payment div.payment_box {
    margin: 12px 0 0;
    padding: 14px 16px;
    border-radius: var(--ccr-radius-sm);
    background: var(--ccr-cream);
    color: var(--ccr-muted);
    font-size: 14px;
}

.ccr-shop .woocommerce #payment div.payment_box::before {
    display: none;
}

.ccr-shop .woocommerce #payment div.payment_box p:last-child {
    margin-bottom: 0;
}

.ccr-shop .woocommerce #payment div.form-row.place-order {
    margin: 16px 0 0;
    padding: 0;
}

.ccr-shop .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
    color: var(--ccr-muted);
    font-size: 13px;
}

.ccr-shop .woocommerce-privacy-policy-text p {
    margin: 0 0 12px;
}

.ccr-shop .woocommerce form .form-row.validate-required .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ccr-dark);
    font-size: 14px;
    font-weight: 500;
}

.ccr-shop .woocommerce-order {
    max-width: 880px;
    margin: 0 auto;
}

.ccr-shop .woocommerce-order .woocommerce-thankyou-order-received {
    margin: 0 0 32px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ccr-ink);
    font-family: var(--ccr-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.15;
    text-align: center;
}

.ccr-shop .woocommerce ul.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.ccr-shop .woocommerce ul.woocommerce-order-overview::before,
.ccr-shop .woocommerce ul.woocommerce-order-overview::after {
    display: none;
}

.ccr-shop .woocommerce ul.woocommerce-order-overview li {
    float: none;
    margin: 0;
    padding: 16px 18px;
    border: 0;
    border-radius: var(--ccr-radius-md);
    background: var(--ccr-white);
    color: var(--ccr-subtle);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.ccr-shop .woocommerce ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 6px;
    color: var(--ccr-dark);
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
}

.ccr-shop .woocommerce-order-details,
.ccr-shop .woocommerce-customer-details,
.ccr-shop .woocommerce-bacs-bank-details {
    margin-bottom: 24px;
    padding: 28px;
    border-radius: var(--ccr-radius-lg);
    background: var(--ccr-white);
    box-shadow: var(--ccr-shadow-soft);
}

.ccr-shop .woocommerce-customer-details address {
    padding: 0;
    border: 0;
    font-style: normal;
}

.ccr-shop .woocommerce table.shop_table_responsive tr:nth-child(2n) td {
    background-color: transparent;
}

.ccr-shophead {
    position: relative;
    margin-top: calc(var(--ccr-header-h, 104px) * -1);
    padding: calc(var(--ccr-header-h, 104px) + 22px) var(--ccr-gutter, 24px) 22px;
    background: var(--ccr-dark);
    color: var(--ccr-white);
}

.ccr-shophead__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 32px;
    max-width: 1420px;
    margin: 0 auto;
}

.ccr-layout h1.ccr-shophead__title {
    margin: 0;
    color: var(--ccr-white);
    font-family: var(--ccr-serif);
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0;
}

.ccr-shophead .ccr-steps {
    margin: 0;
}

.ccr-shophead .ccr-steps__item {
    color: var(--ccr-on-dark-muted);
}

.ccr-shophead .ccr-steps__item + .ccr-steps__item::before {
    background: var(--ccr-on-dark-line);
}

.ccr-shophead .ccr-steps__item.is-done + .ccr-steps__item::before {
    background: var(--ccr-cream);
}

.ccr-shophead .ccr-steps__dot {
    border-color: var(--ccr-on-dark-line);
}

.ccr-shophead .ccr-steps__item.is-current,
.ccr-shophead .ccr-steps__item.is-done {
    color: var(--ccr-white);
}

.ccr-shophead .ccr-steps__item.is-current .ccr-steps__dot,
.ccr-shophead .ccr-steps__item.is-done .ccr-steps__dot {
    border-color: var(--ccr-cream);
    background: var(--ccr-cream);
    color: var(--ccr-dark);
}

.ccr-shophead .ccr-steps__item a:hover {
    color: var(--ccr-white);
}

@media (max-width: 768px) {
    .ccr-shop .woocommerce .cart_totals table.shop_table_responsive tr {
        display: table-row;
    }

    .ccr-shop .woocommerce .cart_totals table.shop_table_responsive tbody th,
    .ccr-shop .woocommerce .cart_totals table.shop_table_responsive tr td {
        display: table-cell;
    }
}

@media (max-width: 1024px) {
    .ccr-shop--cart .woocommerce,
    .ccr-shop .woocommerce form.checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ccr-shop--cart .woocommerce > .cart-collaterals,
    .ccr-shop .woocommerce form.checkout #order_review {
        position: static;
        grid-column: 1;
        grid-row: auto;
    }

    .ccr-shop .woocommerce form.checkout #customer_details {
        grid-row: auto;
    }

    .ccr-shop--checkout .woocommerce > .woocommerce-form-coupon-toggle,
    .ccr-shop--checkout .woocommerce > .checkout_coupon,
    .ccr-shop--checkout .woocommerce > .woocommerce-form-login-toggle,
    .ccr-shop--checkout .woocommerce > .woocommerce-form-login {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .ccr-steps {
        margin-bottom: 32px;
    }

    .ccr-shophead {
        padding-top: calc(var(--ccr-header-h, 84px) + 16px);
        padding-bottom: 18px;
    }

    .ccr-shophead__inner {
        gap: 12px 20px;
    }

    .ccr-shophead .ccr-steps {
        margin: 0;
    }

    .ccr-steps__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .ccr-steps__item.is-current .ccr-steps__label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        display: inline;
    }

    .ccr-shop .woocommerce table.cart tr.cart_item {
        grid-template-columns: 80px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name remove"
            "thumb price price"
            "thumb qty sub";
        row-gap: 8px;
        column-gap: 14px;
        padding: 14px;
    }

    .ccr-shop table.cart td.product-name {
        font-size: 18px;
    }

    .ccr-shop .woocommerce table.cart td.actions .coupon {
        max-width: none;
    }

    .ccr-shop .woocommerce table.cart tr.cart_item td.product-subtotal {
        justify-self: end;
    }

    .ccr-shop .woocommerce .woocommerce-info:has(.button),
    .ccr-shop .woocommerce .woocommerce-message:has(.button) {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .ccr-shop .woocommerce .woocommerce-info:has(.button)::before,
    .ccr-shop .woocommerce .woocommerce-message:has(.button)::before {
        top: 16px;
        transform: none;
    }

    .ccr-shop .woocommerce-billing-fields,
    .ccr-shop .woocommerce-shipping-fields,
    .ccr-shop .woocommerce-additional-fields,
    .ccr-shop .woocommerce form.checkout #order_review,
    .ccr-shop .cart_totals {
        padding: 20px;
        border-radius: var(--ccr-radius-md);
    }

    .ccr-shop .woocommerce-billing-fields__field-wrapper,
    .ccr-shop .woocommerce-shipping-fields__field-wrapper,
    .ccr-shop .woocommerce-additional-fields__field-wrapper,
    .ccr-shop .shipping_address {
        grid-template-columns: minmax(0, 1fr);
    }

    .ccr-shop .woocommerce form.checkout_coupon {
        grid-template-columns: minmax(0, 1fr);
    }
}
