.mcc-cart-summary a, .mcc-size-grid__message a {
    color: #B99940;
}

.mcc-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #2f2f2f;
    background: #f7f2e7;
    border: 1px solid rgba(166, 126, 54, 0.25);
    border-radius: 999px;
    padding: 6px 9px;
}

.mcc-product-badge__icon {
    width: 21px!important;
    height: 21px!important;
    display: block;
    object-fit: contain;
    flex: 0 0 16px;
}

.mcc-product-badge__text {
    white-space: nowrap;
}

.mcc-size-grid {
    margin: 22px 0;
    padding: 18px 18px 50px;
    background: #f7f4ed;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mcc-size-grid__title {
    font-weight: 700;
    margin-bottom: 14px;
}

.mcc-size-grid__notice {
    font-size: 14px;
    color: #555;
}

.mcc-size-grid__items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mcc-size-grid__item {
    width: 86px;
    text-align: center;
}

.mcc-size-grid__size {
    font-weight: 600;
    margin-bottom: 6px;
}

.mcc-size-grid__qty {
    width: 52px;
    height: 38px;
    text-align: center;
    margin: 4px 0;
}

.mcc-size-grid__minus,
.mcc-size-grid__plus {
    width: 28px;
    height: 28px;
    line-height: 1;
    border: 1px solid #d4aa3a;
    background: #fff;
    color: #1f1f1f;
    cursor: pointer;
    border-radius: 50%;
}

.mcc-size-grid__minus:hover,
.mcc-size-grid__plus:hover {
    background: #d4aa3a;
    color: #fff;
}

.mcc-size-grid__summary {
    margin-top: 16px;
    font-size: 14px;
}

.mcc-size-grid__add {
    margin-top: 14px;
}

.mcc-size-grid__message {
    margin-top: 12px;
    font-size: 14px;
}

.mcc-size-grid__message.is-success {
    color: #227a2f;
}

.mcc-size-grid__message.is-error {
    color: #b00020;
}

.mcc-size-grid__item {
    width: 88px;
    text-align: center;
}

.mcc-size-grid__size {
    font-weight: 600;
    margin-bottom: 8px;
}

.mcc-size-grid__plus,
.mcc-size-grid__minus {
    width: 34px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 4px;
}

.mcc-size-grid__qty {
    width: 70px;
    height: 36px;
    margin: 6px auto;
    text-align: center;
}

.mcc-garment-pricing {
    margin: 24px 0;
    padding: 18px;
    background: #f7f4ed;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mcc-garment-pricing__heading {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.mcc-garment-pricing__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.mcc-garment-pricing__table th,
.mcc-garment-pricing__table td {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.mcc-garment-pricing__table th:first-child,
.mcc-garment-pricing__table td:first-child {
    text-align: left;
    font-weight: 700;
}

.mcc-garment-pricing__table thead th {
    background: #222;
    color: #fff;
    font-weight: 600;
}

.mcc-garment-pricing__note {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

/*cart summary*/

.mcc-cart-summary {
    margin: 0 0 28px;
    padding: 22px;
    background: #f7f4ed;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mcc-cart-summary__title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
}

.mcc-cart-summary__table-wrap {
    overflow-x: auto;
}

.mcc-cart-summary__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.mcc-cart-summary__table th,
.mcc-cart-summary__table td {
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: middle;
    text-align: left;
}

.mcc-cart-summary__table th {
    background: #222;
    color: #fff;
    font-weight: 600;
}

.mcc-cart-summary__product {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mcc-cart-summary__image {
    width: 78px;
    flex: 0 0 78px;
}

.mcc-cart-summary__image img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
    background: #fff;
}

.mcc-cart-summary__sku {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

.mcc-cart-summary__breakdown-row {
    margin-bottom: 5px;
    line-height: 1.4;
}

.mcc-cart-summary__breakdown-row:last-child {
    margin-bottom: 0;
}

.mcc-cart-summary__note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #666;
}

@media (max-width: 767px) {
    .mcc-cart-summary {
        padding: 16px;
    }

    .mcc-cart-summary__table {
        font-size: 13px;
    }

    .mcc-cart-summary__table th,
    .mcc-cart-summary__table td {
        padding: 9px;
    }

    .mcc-cart-summary__product {
        align-items: flex-start;
    }

    .mcc-cart-summary__image {
        width: 58px;
        flex-basis: 58px;
    }

    .mcc-cart-summary__image img {
        width: 58px;
        height: 58px;
    }
}

.mcc-customiser {
    margin: 24px 0;
    padding: 20px;
    background: #f7f4ed;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mcc-customiser__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
}

.mcc-customiser__section {
    margin-bottom: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(212, 170, 58, 0.35);

}

.mcc-customiser__label {
    display: block;
    margin: 13px 0 10px;
    font-weight: 700;
}

.mcc-customiser__choices,
.mcc-customiser__positions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mcc-customiser__choice,
.mcc-customiser__position {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    background: #fff;
    border: 1px solid rgba(212, 170, 58, 0.45);
    cursor: pointer;
    font-size: 14px;
}

.mcc-customiser__choice input,
.mcc-customiser__position input {
    margin: 0;
}

.mcc-customiser__choice:has(input:checked),
.mcc-customiser__position:has(input:checked) {
    border-color: #d4aa3a;
    background: rgba(212, 170, 58, 0.12);
}

.mcc-customiser__text-field input {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
}

.mcc-customiser__quote-notice {
    padding: 14px;
    background: #fff;
    border-left: 4px solid #d4aa3a;
}

.mcc-customiser__quote-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
}

.mcc-customiser__error {
    margin-top: 12px;
    color: #b00020;
    font-weight: 600;
}

:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) .quantity .qty {
    display: none !important;
}

.mcc-customiser__upload-field input[type="file"] {
    display: block;
    width: 100%;
    max-width: 420px;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(212, 170, 58, 0.45);
}

.mcc-customiser__help {
    margin: 8px 0 0;
    font-size: 13px;
    color: #666;
}

.mcc-customiser__help-top {
    margin: 10px 0;
    font-size: 13px;
    color: #666;
}

.mcc-cart-summary__customisation-row {
    margin-bottom: 5px;
    line-height: 1.4;
}

.mcc-cart-summary__customisation-row:last-child {
    margin-bottom: 0;
}

.mcc-cart-summary__muted {
    color: #777;
}

.mcc-customiser-preview {
    margin-top: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(212, 170, 58, 0.35);
}

.mcc-customiser-preview__title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
}

.mcc-customiser-preview__canvas {
    position: relative;
    width: 100%;
    max-width: 340px;
    min-height: 340px;
    margin: 0 0 14px;
    background: #f7f4ed;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mcc-customiser-preview__base {
    width: 100%;
    height: 340px;
    object-fit: contain;
    display: block;
}

.mcc-customiser-preview__placeholder {
    width: 100%;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.03) 38%, transparent 39%),
        #f7f4ed;
    color: #777;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.mcc-customiser-preview__overlay {
    position: absolute;
    width: 64px;
    min-height: 28px;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.mcc-customiser-preview__logo {
    max-width: 64px;
    max-height: 42px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.mcc-customiser-preview__text {
    display: inline-block;
    padding: 3px 6px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px dashed #d4aa3a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.mcc-preview-pos-left_chest {
    left: 57%;
    top: 36%;
}

.mcc-preview-pos-right_chest {
    left: 43%;
    top: 36%;
}

.mcc-preview-pos-centre_chest {
    left: 50%;
    top: 39%;
}

.mcc-preview-pos-large_front {
    left: 50%;
    top: 48%;
    width: 110px;
}

.mcc-preview-pos-large_front .mcc-customiser-preview__logo {
    max-width: 110px;
    max-height: 70px;
}

.mcc-preview-pos-left_sleeve {
    left: 71%;
    top: 39%;
}

.mcc-preview-pos-right_sleeve {
    left: 29%;
    top: 39%;
}

.mcc-preview-pos-hat_front {
    left: 50%;
    top: 34%;
}

.mcc-preview-pos-large_back {
    left: 50%;
    top: 48%;
    width: 120px;
}

.mcc-preview-pos-top_back {
    left: 50%;
    top: 32%;
    width: 90px;
}

.mcc-preview-pos-centre_back {
    left: 50%;
    top: 45%;
    width: 110px;
}

.mcc-preview-pos-bottom_back {
    left: 50%;
    top: 62%;
    width: 100px;
}

.mcc-preview-pos-large_back .mcc-customiser-preview__logo,
.mcc-preview-pos-centre_back .mcc-customiser-preview__logo {
    max-width: 120px;
    max-height: 75px;
}

.mcc-customiser-preview__details {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.mcc-customiser-preview__note {
    margin: 12px 0 0;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .mcc-customiser-preview__canvas {
        max-width: 100%;
        min-height: 300px;
    }

    .mcc-customiser-preview__base,
    .mcc-customiser-preview__placeholder {
        height: 300px;
    }
}



/* Standard WooCommerce cart editor accordion */
.mcc-cart-edit-accordion {
    margin: 30px 0;
    border: 1px solid #ddd7cc;
    background: #fff;
}

.mcc-cart-edit-accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    list-style: none;
    background: #f7f4ee;
    transition: background-color 0.2s ease;
}

.mcc-cart-edit-accordion__summary:hover {
    background: #f1ede5;
}

.mcc-cart-edit-accordion__summary::-webkit-details-marker {
    display: none;
}

.mcc-cart-edit-accordion__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.mcc-cart-edit-accordion__icon::before,
.mcc-cart-edit-accordion__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.mcc-cart-edit-accordion__icon::before {
    width: 14px;
    height: 2px;
}

.mcc-cart-edit-accordion__icon::after {
    width: 2px;
    height: 14px;
    transition: transform 0.2s ease;
}

.mcc-cart-edit-accordion[open]
.mcc-cart-edit-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.mcc-cart-edit-accordion__content {
    padding: 20px;
    border-top: 1px solid #ddd7cc;
}

/* Remove unnecessary spacing from the WooCommerce cart form */
.mcc-cart-edit-accordion .woocommerce-cart-form {
    margin: 0;
}

/* Keep the cart table contained on smaller screens */
.mcc-cart-edit-accordion__content {
    overflow-x: auto;
}

@media (max-width: 767px) {
    .mcc-cart-edit-accordion__summary {
        padding: 15px 16px;
        font-size: 15px;
    }

    .mcc-cart-edit-accordion__content {
        padding: 12px;
    }
}

.mcc-customiser-preview__reference-note {
    margin: 0 0 10px;
    padding: 8px 10px;
    background: #f7f4ed;
    border-left: 3px solid #d4aa3a;
    color: #666;
    font-size: 12px;
    line-height: 1.45;
}

/*
 * A side reference image represents the selected sleeve or side area.
 * Both left and right choices can use the same reference image.
 */
.mcc-preview-view-side .mcc-preview-pos-left_sleeve,
.mcc-preview-view-side .mcc-preview-pos-right_sleeve {
    left: 52%;
    top: 34%;
}

.mcc-preview-view-side .mcc-preview-pos-hat_side {
    left: 50%;
    top: 46%;
}

.mcc-preview-view-side .mcc-preview-pos-left_leg,
.mcc-preview-view-side .mcc-preview-pos-right_leg {
    left: 50%;
    top: 60%;
}

/* Size-grid actions */
.mcc-size-grid__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
}

.mcc-size-grid__actions .mcc-size-grid__add {
    width: auto;
    margin: 0;
}

.mcc-size-grid__add[data-quote-required="1"] {
    opacity: 0.65;
    cursor: not-allowed;
}

.mcc-size-grid__message {
    width: 100%;
    max-width: 720px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.mcc-size-grid__message:empty {
    display: none;
}

/* Standard validation/error */
.mcc-size-grid__message.is-error:not(.is-quote-required) {
    padding: 11px 14px;
    border: 1px solid #e8b9b9;
    border-left: 4px solid #c83b3b;
    background: #fff5f5;
    color: #a72222;
}

/* Quote-required notice */
.mcc-size-grid__message.is-quote-required {
    display: block;
}

.mcc-size-grid__quote-notice {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e5c6a3;
    border-left: 4px solid #d4a536;
    background: #fffaf0;
    color: #3d352a;
    box-sizing: border-box;
}

.mcc-size-grid__quote-heading {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.35;
    color: #2f2b25;
}

.mcc-size-grid__quote-text {
    margin: 0 0 12px;
    color: #5f574d;
}

.mcc-size-grid__quote-link.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid #d4a536;
    background: #d4a536;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
}

.mcc-size-grid__quote-link.button:hover,
.mcc-size-grid__quote-link.button:focus {
    border-color: #b98c25;
    background: #b98c25;
    color: #fff;
}

/* Success message */
.mcc-size-grid__message.is-success {
    padding: 11px 14px;
    border: 1px solid #b8d9bd;
    border-left: 4px solid #378445;
    background: #f4fbf5;
    color: #286a34;
}

@media (max-width: 767px) {
    .mcc-size-grid__actions .mcc-size-grid__add {
        width: 100%;
    }

    .mcc-size-grid__quote-link.button {
        width: 100%;
    }

    .mcc-size-grid__quote-notice {
        padding: 14px;
    }
}

.mcc-size-grid__quote-notice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mcc-size-grid__quote-link.button {
    float: none !important;
    position: static !important;
    display: inline-flex !important;
    width: auto;
    margin: 12px 0 0 !important;
}

.mcc-size-grid__add[data-quote-required="1"] {
    display: none;
}

.mcc-loop-product-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    margin: 0;
    color: #7b7b83;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
}

.mcc-loop-product-meta__colours,
.mcc-loop-product-meta__sizes {
    display: block;
}

/* =========================================================
   ELEMENTOR MINI CART
   Keep drawer and overlay above the sticky header
   ========================================================= */

.elementor-menu-cart__container {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
}

.elementor-menu-cart__main {
    z-index: 1000000 !important;
    width: min(530px, 100vw) !important;
    max-width: 100vw !important;
}

/*
 * Keep the sticky header below the open mini-cart overlay.
 * The mini-cart remains above it because its z-index is higher.
 */
.elementor-location-header .elementor-sticky--active,
.elementor-location-header .elementor-sticky--effects {
    z-index: 1000 !important;
}


/* =========================================================
   MINI-CART PRODUCT LAYOUT
   ========================================================= */

.elementor-menu-cart__product {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) 24px !important;
    grid-template-areas:
        "image name remove"
        "image price remove" !important;
    column-gap: 14px !important;
    row-gap: 8px !important;
    align-items: start !important;
    padding: 18px 0 !important;
}

.elementor-menu-cart__product-image {
    grid-area: image !important;
    width: 72px !important;
    min-width: 72px !important;
}

.elementor-menu-cart__product-image img {
    display: block;
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
}

.elementor-menu-cart__product-name {
    grid-area: name !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}

.elementor-menu-cart__product-name > a {
    display: block;
    margin: 0 0 8px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.elementor-menu-cart__product-price {
    grid-area: price !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
}

.elementor-menu-cart__product-remove {
    grid-area: remove !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 24px !important;
    min-width: 24px !important;
}


/* =========================================================
   CUSTOMISATION DETAILS
   ========================================================= */

.elementor-menu-cart__product-name dl.variation {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    column-gap: 0px !important;
    row-gap: 0px !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0;
}

.elementor-menu-cart__product-name dl.variation dt,
.elementor-menu-cart__product-name dl.variation dd {
    float: none !important;
    clear: none !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    line-height: 1.35 !important;
}

/*.elementor-menu-cart__product-name dl.variation dt:nth-child(odd) {
    background: #eeefed;
}

.elementor-menu-cart__product-name dl.variation dd:nth-child(odd) {
    background: #eeefed;
}*/

.elementor-menu-cart__product-name dl.variation dt {
    font-weight: 600 !important;
    white-space: nowrap;
}

.elementor-menu-cart__product-name dl.variation dd {
    min-width: 0 !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

.elementor-menu-cart__product-name dl.variation dd p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
}

.elementor-menu-cart__product-name dl.variation dd a {
    overflow-wrap: anywhere;
}


/* Hide the duplicate WooCommerce remove link */
/* Hide Elementor's duplicate visual remove link */
.elementor-menu-cart__product-remove
.elementor_remove_from_cart_button {
    display: none !important;
}

/* Keep the functional WooCommerce AJAX remove link */
.elementor-menu-cart__product-remove
.remove_from_cart_button {
    position: relative !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d6d6d6;
    border-radius: 50%;
    background: #fff;
    color: transparent !important;
    font-size: 0 !important;
    cursor: pointer;
    pointer-events: auto !important;
    z-index: 10;
}

/* Draw the X icon */
.elementor-menu-cart__product-remove
.remove_from_cart_button::before,
.elementor-menu-cart__product-remove
.remove_from_cart_button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: #777;
    transform-origin: center;
}

.elementor-menu-cart__product-remove
.remove_from_cart_button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.elementor-menu-cart__product-remove
.remove_from_cart_button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.elementor-menu-cart__product-remove
.remove_from_cart_button:hover {
    border-color: #c83b3b;
}

.elementor-menu-cart__product-remove
.remove_from_cart_button:hover::before,
.elementor-menu-cart__product-remove
.remove_from_cart_button:hover::after {
    background: #c83b3b;
}

 
    /* Mini-cart product customisation details */
.elementor-menu-cart__product-name dl.variation {
	display: grid !important;
	grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
	margin: 10px 0 4px;
	border: 1px solid #e3e5e8;
	border-radius: 6px;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.35;
}

/* Reset WooCommerce's default definition-list styling */
.elementor-menu-cart__product-name dl.variation dt,
.elementor-menu-cart__product-name dl.variation dd {
	display: block !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 7px 2px;
	box-sizing: border-box;
}

/* Labels */
.elementor-menu-cart__product-name dl.variation dt {
	font-weight: 600;
	color: #565b65;
}

/* Values */
.elementor-menu-cart__product-name dl.variation dd {
	color: #6f747d;
	border-left: 1px solid #e3e5e8;
	overflow-wrap: anywhere;
}

/* Alternate complete rows */
.elementor-menu-cart__product-name dl.variation dt:nth-of-type(odd),
.elementor-menu-cart__product-name dl.variation dd:nth-of-type(odd) {
	background-color: #f5f6f7;
}

.elementor-menu-cart__product-name dl.variation dt:nth-of-type(even),
.elementor-menu-cart__product-name dl.variation dd:nth-of-type(even) {
	background-color: #ffffff;
}

/* Horizontal lines between rows */
.elementor-menu-cart__product-name dl.variation dt:not(:last-of-type),
.elementor-menu-cart__product-name dl.variation dd:not(:last-of-type) {
	border-bottom: 1px solid #e3e5e8;
}

/* Remove paragraph margins inserted by WooCommerce */
.elementor-menu-cart__product-name dl.variation dd p {
	margin: 0 !important;
}

/* Make uploaded logo links clearer */
.elementor-menu-cart__product-name dl.variation dd a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.elementor-menu-cart__product-name dl.variation {
    column-gap: 0px !important;
}

/* =========================================================
   SUBTOTAL AND BUTTONS
   ========================================================= */

.elementor-menu-cart__subtotal {
    padding: 18px 0 !important;
}

.elementor-menu-cart__footer-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}


/* =========================================================
   SMALL SCREENS
   ========================================================= */

@media (max-width: 480px) {
    .elementor-menu-cart__main {
        width: 100vw !important;
    }

    .elementor-menu-cart__product {
        grid-template-columns: 60px minmax(0, 1fr) 22px !important;
        column-gap: 10px !important;
    }

    .elementor-menu-cart__product-image,
    .elementor-menu-cart__product-image img {
        width: 60px !important;
        min-width: 60px !important;
        height: 60px !important;
    }

    .elementor-menu-cart__product-name dl.variation {
        grid-template-columns: 1fr !important;
        row-gap: 2px !important;
    }
    
    /* Mini-cart product customisation details */
.elementor-menu-cart__product-name dl.variation {
	display: grid !important;
	grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
	margin: 10px 0 4px;
	border: 1px solid #e3e5e8;
	border-radius: 6px;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.35;
}

/* Reset WooCommerce's default definition-list styling */
.elementor-menu-cart__product-name dl.variation dt,
.elementor-menu-cart__product-name dl.variation dd {
	display: block !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 7px 2px;
	box-sizing: border-box;
}

/* Labels */
.elementor-menu-cart__product-name dl.variation dt {
	font-weight: 600;
	color: #565b65;
}

/* Values */
.elementor-menu-cart__product-name dl.variation dd {
	color: #6f747d;
	border-left: 1px solid #e3e5e8;
	overflow-wrap: anywhere;
}

/* Alternate complete rows */
.elementor-menu-cart__product-name dl.variation dt:nth-of-type(odd),
.elementor-menu-cart__product-name dl.variation dd:nth-of-type(odd) {
	background-color: #f5f6f7;
}

.elementor-menu-cart__product-name dl.variation dt:nth-of-type(even),
.elementor-menu-cart__product-name dl.variation dd:nth-of-type(even) {
	background-color: #ffffff;
}

/* Horizontal lines between rows */
.elementor-menu-cart__product-name dl.variation dt:not(:last-of-type),
.elementor-menu-cart__product-name dl.variation dd:not(:last-of-type) {
	border-bottom: 1px solid #e3e5e8;
}

/* Remove paragraph margins inserted by WooCommerce */
.elementor-menu-cart__product-name dl.variation dd p {
	margin: 0 !important;
}

/* Make uploaded logo links clearer */
.elementor-menu-cart__product-name dl.variation dd a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.elementor-menu-cart__product-name dl.variation {
    column-gap: 0px !important;
}

   /* .elementor-menu-cart__product-name dl.variation dd {
        margin-bottom: 5px !important;
    }*/
}

/* =========================================================
   RESPONSIVE GARMENT PRICING TABLE
   ========================================================= */

.mcc-garment-pricing {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.mcc-garment-pricing__scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.mcc-garment-pricing__table {
    width: 100%;
    min-width: 720px;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.mcc-garment-pricing__table th,
.mcc-garment-pricing__table td {
    min-width: 90px;
    padding: 13px 10px;
    text-align: center;
    white-space: nowrap;
}

.mcc-garment-pricing__table th:first-child,
.mcc-garment-pricing__table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 82px;
    text-align: left;
}

.mcc-garment-pricing__table thead th:first-child {
    z-index: 2;
}

/* Prevent surrounding Elementor containers from forcing overflow */
.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-widget-container {
    min-width: 0;
    max-width: 100%;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    .mcc-garment-pricing {
        padding: 18px;
    }

    .mcc-garment-pricing__heading {
        margin-bottom: 12px;
    }

    .mcc-garment-pricing__scroll {
        margin-right: 0;
        padding-bottom: 8px;
    }

    .mcc-garment-pricing__table {
        min-width: 680px;
    }

    .mcc-garment-pricing__table th,
    .mcc-garment-pricing__table td {
        padding: 12px 9px;
        font-size: 14px;
    }

    .mcc-garment-pricing__note {
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.5;
    }
}

.mcc-garment-pricing__mobile-hint {
    display: none;
}

@media (max-width: 1185px) {
    .mcc-garment-pricing__mobile-hint {
        display: block;
        margin: -4px 0 9px;
        color: #777;
        font-size: 12px;
    }
}

.mcc-summary-table-pricing__mobile-hint {
    display: none;
}

@media (max-width: 623px) {
    .mcc-summary-table-pricing__mobile-hint {
        display: block;
        margin: 4px 0 9px;
        color: #777;
        font-size: 12px;
    }
}
/* =========================================================
   MY ACCOUNT REORDER
   ========================================================= */

.mcc-reorder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.mcc-reorder-actions__note {
    flex: 1 1 320px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   OUT-OF-STOCK COLOUR SWATCHES
   ========================================================= */

/*
 * The free swatches plugin still renders colours with no purchasable sizes.
 * MCC marks those colours in JavaScript and keeps them visible, but clearly
 * unavailable and non-interactive.
 */
.variations_form .mcc-colour-swatch--unavailable {
    position: relative !important;
    cursor: not-allowed !important;
    opacity: 0.48 !important;
    overflow: hidden !important;
    pointer-events: auto !important;
}

.variations_form .mcc-colour-swatch--unavailable .variable-item-contents,
.variations_form .mcc-colour-swatch--unavailable .variable-item-span,
.variations_form .mcc-colour-swatch--unavailable img {
    filter: grayscale(0.8) blur(0.35px) !important;
}

.variations_form .mcc-colour-swatch__cross {
    position: absolute !important;
    inset: 2px !important;
    z-index: 20 !important;
    display: block !important;
    border-radius: inherit !important;
    pointer-events: none !important;
}

.variations_form .mcc-colour-swatch__cross::before,
.variations_form .mcc-colour-swatch__cross::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 115% !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(45, 45, 45, 0.88) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72) !important;
    transform-origin: center !important;
}

.variations_form .mcc-colour-swatch__cross::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.variations_form .mcc-colour-swatch__cross::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Preview profile: Polo / T-shirt */
.mcc-preview-profile-polo .mcc-preview-pos-left_chest {
    left: 62%;
    top: 33%;
}

.mcc-preview-profile-polo .mcc-preview-pos-right_chest {
    left: 37%;
    top: 33%;
}

.mcc-preview-profile-polo .mcc-preview-pos-centre_chest {
    left: 50%;
    top: 39%;
}

.mcc-preview-profile-polo .mcc-preview-pos-large_front {
    left: 50%;
    top: 50%;
}

.mcc-preview-profile-polo .mcc-preview-pos-left_sleeve {
   left: 52%;
    top: 34%;
}

.mcc-preview-profile-polo .mcc-preview-pos-right_sleeve {
    left: 52%;
    top: 34%;
}

.mcc-preview-profile-polo .mcc-preview-pos-large_back {
    left: 50%;
    top: 18%;
}

.mcc-preview-profile-polo .mcc-preview-pos-bottom_back {
    left: 50%;
    top: 89%;
}

/* Preview profile: Hoodie / sweatshirt */
.mcc-preview-profile-hoodie .mcc-preview-pos-left_chest {
    left: 64%;
    top: 34%;
}

.mcc-preview-profile-hoodie .mcc-preview-pos-right_chest {
    left: 35%;
    top: 34%;
}

.mcc-preview-profile-hoodie .mcc-preview-pos-centre_chest {
    left: 50%;
    top: 43%;
}

.mcc-preview-profile-hoodie .mcc-preview-pos-large_front {
    left: 50%;
    top: 52%;
}

/* Preview profile: Jacket / coat */
.mcc-preview-profile-jacket .mcc-preview-pos-left_chest {
    left: 64%;
    top: 34%;
}

.mcc-preview-profile-jacket .mcc-preview-pos-right_chest {
    left: 36%;
    top: 34%;
}

.mcc-preview-profile-jacket .mcc-preview-pos-centre_chest {
    left: 50%;
    top: 42%;
}

.mcc-preview-profile-jacket .mcc-preview-pos-large_front {
    left: 50%;
    top: 50%;
}

.mcc-preview-profile-jacket .mcc-preview-pos-right_sleeve,
.mcc-preview-profile-jacket .mcc-preview-pos-left_sleeve {
    left: 55%;
    top: 34%;
}

.postid-4134 .mcc-preview-profile-jacket .mcc-preview-pos-right_chest {
    left: 29%;
    top: 36%;
}

.postid-4134 .mcc-preview-profile-jacket .mcc-preview-pos-left_chest {
    left: 53%;
    top: 36%;
}

.postid-4134 .mcc-preview-profile-jacket .mcc-preview-pos-centre_chest {
    left: 38%;
    top: 42%;
}

/* Preview profile: Hi-vis */
.mcc-preview-profile-hi_vis .mcc-preview-pos-left_chest {
    left: 63%;
    top: 27%;
}

.mcc-preview-profile-hi_vis .mcc-preview-pos-right_chest {
    left: 38%;
    top: 27%;
}

.mcc-preview-profile-hi_vis .mcc-preview-pos-centre_chest {
    left: 50%;
    top: 41%;
}

.mcc-preview-profile-hi_vis .mcc-preview-pos-large_front {
    left: 50%;
    top: 52%;
}

.mcc-preview-profile-hi_vis .mcc-preview-pos-bottom_back {
    left: 50%;
    top: 82%;
}


/* Preview profile: Hat */
.mcc-preview-profile-hat .mcc-preview-pos-hat_front {
    left: 40%;
    top: 54%;
    transform: rotate(-33deg);
}

/* Preview profile: Hat */
.mcc-preview-profile-cap .mcc-preview-pos-hat_front {
    left: 45%;
    top: 43%;
    transform: rotate(-33deg);
}

.mcc-preview-profile-cap .mcc-preview-pos-hat_side {
    left: 12%;
    top: 56%;
    transform: rotate(-19deg);
}


.mcc-preview-profile-hat .mcc-customiser-preview__overlay {
    width: 90px;
}

.mcc-preview-profile-hat .mcc-customiser-preview__logo {
    max-width: 90px;
    max-height: 45px;
}

.mcc-preview-pos-nape_back_neck {
    left: 50%;
    top: 10%;
    width: 80px;
}

.mcc-preview-pos-hat_side {
    left: 68%;
    top: 48%;
    width: 70px;
}

.mcc-preview-pos-left_leg {
    left: 58%;
    top: 72%;
    width: 70px;
}

.mcc-preview-pos-right_leg {
    left: 42%;
    top: 72%;
    width: 70px;
}

.mcc-preview-view-side .mcc-preview-pos-left_sleeve, .mcc-preview-view-side .mcc-preview-pos-right_sleeve {
    left: 52%;
    top: 34%;
}

.mcc-preview-profile-jacket .mcc-preview-pos-right_sleeve, .mcc-preview-profile-jacket .mcc-preview-pos-left_sleeve {
    left: 55%;
    top: 34%;
}



/* =========================================================
   CATALOGUE PRICE, BRAND AND PRODUCT-SOURCING BANNER
   ========================================================= */

.mcc-loop-from-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    color: #222;
    font-weight: 700;
    line-height: 1.3;
}

.mcc-loop-from-price__label {
    font-weight: 500;
    color: #686868;
}

.mcc-loop-from-price__amount {
    color: #222;
}

.mcc-loop-from-price small {
    color: #777;
    font-size: 0.72em;
    font-weight: 500;
}

.mcc-product-brand {
    margin: 0 0 4px;
    color: #9b792c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.055em;
    text-align: center;
    text-transform: uppercase;
}

.mcc-sourcing-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    width: 100%;
    margin: 34px 0 0;
    padding: 25px 28px;
    background: #f7f4ed;
    border: 1px solid rgba(185, 153, 64, 0.34);
    border-radius: 6px;
}

.mcc-sourcing-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    color: #b99940;
    background: #fff;
    border: 1px solid rgba(185, 153, 64, 0.28);
    border-radius: 50%;
}

.mcc-sourcing-banner__icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mcc-sourcing-banner__content h3 {
    margin: 0 0 6px;
    color: #222;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.2;
}

.mcc-sourcing-banner__content p {
    max-width: 760px;
    margin: 0;
    color: #5f5f5f;
    font-size: 15px;
    line-height: 1.55;
}

.mcc-sourcing-banner__button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    padding: 12px 21px;
    color: #fff;
    background: #222;
    border: 1px solid #222;
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mcc-sourcing-banner__button.button:hover,
.mcc-sourcing-banner__button.button:focus {
    color: #fff;
    background: #b99940;
    border-color: #b99940;
}

@media (max-width: 767px) {
    .mcc-sourcing-banner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 16px;
        padding: 21px;
    }

    .mcc-sourcing-banner__icon {
        width: 54px;
        height: 54px;
    }

    .mcc-sourcing-banner__icon svg {
        width: 32px;
        height: 32px;
    }

    .mcc-sourcing-banner__action {
        grid-column: 1 / -1;
    }

    .mcc-sourcing-banner__button.button {
        width: 100%;
    }
}

/* =========================================================
   CART PRICE BREAKDOWN
   ========================================================= */

.mcc-cart-summary__pricing-breakdown {
    min-width: 190px;
    line-height: 1.45;
}

.mcc-cart-summary__pricing-breakdown > div {
    margin: 0 0 5px;
}

.mcc-cart-summary__pricing-breakdown > div:last-child {
    margin-bottom: 0;
}

.mcc-cart-summary__pricing-combined {
    margin-top: 7px !important;
    padding-top: 7px;
    border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.mcc-cart-summary__pricing-included,
.mcc-cart-summary__pricing-quantity {
    color: #777;
    font-size: 12px;
}

.mcc-cart-summary__pricing-fee {
    margin-top: 7px !important;
    padding-top: 7px;
    color: #654d16;
    border-top: 1px solid rgba(185, 153, 64, 0.28);
    font-size: 12px;
}

/* =========================================================
   CUSTOMER-FACING CUSTOMISATION PRICING TABLE
   ========================================================= */

.mcc-customisation-pricing-table__table {
    min-width: 820px;
}

.mcc-customisation-pricing-table__table th:first-child,
.mcc-customisation-pricing-table__table td:first-child {
    min-width: 210px;
    white-space: normal;
}

.mcc-customisation-pricing-table__table tbody th small {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}

.mcc-product-brand {
display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    background: #fff;
    border: 1px solid rgba(166, 126, 54, 0.25);
    padding: 4px 5px;
}

/* Fit the full pricing table inside its container */
.mcc-customisation-pricing-table {
    width: 100%;
    overflow: visible;
}

.mcc-customisation-pricing-table table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed;
    display: table;
}

/* First descriptive column */
.mcc-customisation-pricing-table th:first-child,
.mcc-customisation-pricing-table td:first-child {
    width: 28%;
}

/* Five pricing columns */
.mcc-customisation-pricing-table th:not(:first-child),
.mcc-customisation-pricing-table td:not(:first-child) {
    width: 14.4%;
    white-space: nowrap;
    text-align: center;
}

/* Reduce cell size */
.mcc-customisation-pricing-table th,
.mcc-customisation-pricing-table td {
    padding: 10px 5px;
    font-size: 13px;
}

/* Allow placement names to wrap */
.mcc-customisation-pricing-table th:first-child,
.mcc-customisation-pricing-table td:first-child {
    white-space: normal;
}

.mcc-product-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: 0 0 6px;
    text-align: center;
}

.mcc-product-brand--logo img {
    display: block;
    width: auto;
    max-width: 98px!important;
    max-height: 36px;
    object-fit: contain;
    object-position: center center;
}

.mcc-product-brand--text {
    color: #9b792c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}
/* =========================================================
   MULTIPLE BRANDING POSITIONS
   ========================================================= */
.mcc-customiser [hidden] {
    display: none !important;
}

.mcc-multi-customisation__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.mcc-multi-customisation__count {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid rgba(212, 170, 58, 0.42);
    border-radius: 999px;
    background: #fbf8f1;
    color: #765e24;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.mcc-customisation-cards {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.mcc-customisation-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid #ded8cd;
    border-left: 4px solid #d4aa3a;
    border-radius: 5px;
    background: #fff;
}

.mcc-customisation-card__body {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mcc-customisation-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #d4aa3a;
    color: #fff;
    font-weight: 700;
}

.mcc-customisation-card__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mcc-customisation-card__copy strong {
    color: #222;
    font-size: 15px;
}

.mcc-customisation-card__copy span {
    color: #555;
    font-size: 13px;
}

.mcc-customisation-card__copy small {
    overflow: hidden;
    color: #777;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mcc-customisation-card__actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.mcc-customisation-card__actions button {
    padding: 5px 8px;
    border: 0;
    background: transparent;
    color: #725a20;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.mcc-customisation-card__remove {
    color: #a52a2a !important;
}

.mcc-customisation-editor {
    padding: 18px;
    border: 1px solid rgba(212, 170, 58, 0.42);
    border-radius: 6px;
    background: #fbf8f1;
}

.mcc-customisation-editor__header {
    margin-bottom: 16px;
}

.mcc-customisation-editor__header h4 {
    margin: 0 0 4px;
    font-size: 17px;
}

.mcc-customisation-editor__header p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.mcc-customisation-editor__group,
.mcc-customisation-editor__conditional {
    margin-top: 16px;
}

.mcc-customisation-editor__conditional input[type="text"],
.mcc-customisation-editor__conditional select {
    width: 100%;
    max-width: 520px;
}

.mcc-customisation-editor__existing-file {
    margin-top: 7px;
    color: #555;
    font-size: 12px;
}

.mcc-customisation-editor__error {
    margin-top: 14px;
    padding: 10px 12px;
    border-left: 4px solid #c83b3b;
    background: #fff2f2;
    color: #9b2323;
    font-size: 13px;
    font-weight: 600;
}

.mcc-customisation-editor__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mcc-add-customisation {
    margin-top: 12px !important;
}

button.mcc-add-customisation {
    float: none!important;
}

.mcc-add-customisation span {
    margin-right: 5px;
    font-size: 18px;
    line-height: 1;
}

.mcc-customiser-preview__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.mcc-customiser-preview__heading .mcc-customiser-preview__title {
    margin: 0;
}

.mcc-customiser-preview__tabs {
    display: flex;
    gap: 5px;
}

.mcc-customiser-preview__tabs button {
    padding: 6px 10px;
    border: 1px solid #d8d1c4;
    border-radius: 4px;
    background: #fff;
    color: #444;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.mcc-customiser-preview__tabs button.is-active {
    border-color: #d4aa3a;
    background: #d4aa3a;
    color: #fff;
}

.mcc-customiser-preview__overlays {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mcc-customiser-preview__detail-row {
    margin-bottom: 4px;
}

.mcc-customiser-preview__empty,
.mcc-customiser-preview__no-overlays {
    color: #777;
    font-size: 12px;
}

.mcc-customiser-preview__no-overlays {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: max-content;
    max-width: calc(100% - 20px);
    padding: 5px 8px;
    transform: translateX(-50%);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

@media (max-width: 767px) {
    .mcc-multi-customisation__heading,
    .mcc-customiser-preview__heading,
    .mcc-customisation-card {
        align-items: stretch;
        flex-direction: column;
    }

    .mcc-multi-customisation__count {
        align-self: flex-start;
    }

    .mcc-customisation-card__actions {
        padding-left: 42px;
    }

    .mcc-customiser-preview__tabs {
        width: 100%;
    }

    .mcc-customiser-preview__tabs button {
        flex: 1 1 0;
    }
}

@media (max-width: 540px) {
    /* =========================================================
   FIX: CUSTOMISATION PRICING TABLE RESPONSIVE
   ========================================================= */

.mcc-customisation-pricing-table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.mcc-customisation-pricing-table .mcc-garment-pricing__scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

/* Do NOT squash all pricing columns into the mobile width */
.mcc-customisation-pricing-table
.mcc-customisation-pricing-table__table {
    width: 100% !important;
    min-width: 680px !important;
    max-width: none !important;
    table-layout: auto !important;
    display: table !important;
}

/* Placement description */
.mcc-customisation-pricing-table
.mcc-customisation-pricing-table__table th:first-child,
.mcc-customisation-pricing-table
.mcc-customisation-pricing-table__table td:first-child {
    width: 160px !important;
    min-width: 160px !important;
    white-space: normal !important;
    text-align: left;
}

/* Quantity bands */
.mcc-customisation-pricing-table
.mcc-customisation-pricing-table__table th:not(:first-child),
.mcc-customisation-pricing-table
.mcc-customisation-pricing-table__table td:not(:first-child) {
    width: auto !important;
    min-width: 82px !important;
    white-space: nowrap !important;
    text-align: center;
}

/* Keep placement name visible while swiping */
.mcc-customisation-pricing-table
.mcc-customisation-pricing-table__table tbody th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
}

.mcc-customisation-pricing-table
.mcc-customisation-pricing-table__table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #222;
}
}

/* Mobile */
@media (max-width: 767px) {

    .mcc-customisation-pricing-table {
        padding: 16px;
    }

    .mcc-customisation-pricing-table
    .mcc-customisation-pricing-table__table {
        min-width: 660px !important;
    }

    .mcc-customisation-pricing-table
    .mcc-customisation-pricing-table__table th,
    .mcc-customisation-pricing-table
    .mcc-customisation-pricing-table__table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .mcc-customisation-pricing-table
    .mcc-customisation-pricing-table__table th:first-child,
    .mcc-customisation-pricing-table
    .mcc-customisation-pricing-table__table td:first-child {
        width: 145px !important;
        min-width: 145px !important;
    }
}

