/* =============================================
   CHECKOUT FLOW CSS
   Cart → Details → Confirmation
   ============================================= */

.cart-footer .btn-share-cart,
.cart-footer .btn--grey.btn-custom-quote {
    display: none;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus,
.btn.focus,
.btn:focus,
.btn:hover {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

#ppc-button-ppcp-gateway {
    margin-top: 40px;
}

/* ── WooCommerce Native Notices ── */
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
    list-style: none;
    padding: 10px 16px;
    margin: 30px 0;
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 14px;
    line-height: 20px;
    border-radius: 4px;
}

.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-error {
    color: #d63031;
    border: 1px solid #d63031;
    background: #fff5f5;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message {
    color: #00b894;
    border: 1px solid #00b894;
    background: #f0fff4;
}

.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
    color: #0984e3;
    border: 1px solid #0984e3;
    background: #f0f8ff;
}

.woocommerce-cart .woocommerce-error li,
.woocommerce-cart .woocommerce-message li,
.woocommerce-cart .woocommerce-info li,
.woocommerce-checkout .woocommerce-error li,
.woocommerce-checkout .woocommerce-message li,
.woocommerce-checkout .woocommerce-info li {
    list-style: none;
}

.woocommerce-NoticeGroup .woocommerce-error li:not(:last-child) {
    margin-bottom: 5px;
}

.woocommerce-cart .woocommerce-error::before,
.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-info::before {
    display: none;
}

/* Hide "View cart" link inside notices when already on the cart page */
.woocommerce-cart .woocommerce-message .button.wc-forward {
    display: none;
}

.page-template-page-cart .site-content .container {
    max-width: 1410px;
    width: 100%;
}

/* -- Page-Level Overrides -- */
.cart-page {
    padding: 0 0 135px;
}

.confirmation-page,
.checkout-page {
    padding-bottom: 100px;
}

.confirmation-page {
    padding-top: 0;
}

/* Hide WooCommerce default page title on cart/checkout */
.woocommerce-cart .entry-header,
.woocommerce-cart .entry-title,
.woocommerce-cart .page-header,
.woocommerce-checkout .entry-header,
.woocommerce-checkout .entry-title,
.woocommerce-checkout .page-header {
    display: none !important;
}


/* -- Free Freight Notice -- */
.cart-notice {
    padding: 17px 20px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 100%;
    font-weight: 400;
    text-align: center;
}

.checkout-login-prompt {
    background: #F1F1F2;
    padding: 10px 23px;
    padding-top: 16px;
    margin-bottom: 38px;
    font-family: 'TeX Gyre Adventor';
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    color: #333333;
}

.checkout-login-prompt .checkout-login-prompt__link {
    color: #0000FF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-notice--blue {
    background-color: #1410E3;
    font-weight: 400;
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
}

.cart_notification_shipping {
    background-color: #1410E3;
    font-weight: 400;
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
}

/* -- Tabs (Delivery / Click & Collect) -- */
.cart-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
    margin-top: 38px;
    border-bottom: 1px solid #1410E3;
    gap: 10px;
}

.cart-tabs__btn {
    padding: 0 30px;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Agrandir', sans-serif;
    line-height: 38px;
    text-transform: uppercase;
    color: #0A0F24;
    cursor: pointer;
    background: #F1F1F2;
    border: none;
    border-bottom: 1px solid transparent;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    text-align: center;
    min-width: 180px;
    min-height: 38px;
    white-space: nowrap;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.cart-tabs__btn:hover {
    color: #fff;
    background: #1410E3;
}

.cart-tabs__btn--active {
    color: #fff;
    background: #1410E3;
    border-bottom-color: #1410E3;
}

.qty-selector input[type="number"] {
    border: 0;
}

/* -- Freight Estimate -- */
.freight-estimate {
    padding: 10px 0;
    margin-bottom: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 37px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.freight-estimate__label {
    display: block;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    font-family: 'TeX Gyre Adventor', sans-serif;
    cursor: pointer;
}

.freight-estimate__control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 19px;
    max-width: 475px;
    width: 100%;
}

.cart-table__label {
    padding: 0;
    padding-bottom: 9px;
    font-family: 'Agrandir', sans-serif;
    letter-spacing: 0;
}

.cart-table__label:not(.product-name) {
    text-align: right;
    padding-right: 5px;
}

.cart-table__label.product-quantity {
    text-align: left;
}

.cart-table__label span {
    white-space: nowrap;
}

.cart-table__head .product-price {
    padding-left: 0;
}

.freight-estimate__control .freight-estimate__input {
    max-width: 292px;
    width: 100%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.freight-estimate__input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 10px 20px;
    border: 1px solid #1410E3;
    font-size: 14px;
    border-radius: 5px;
    color: #333;
    background: #fff;
    -webkit-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.freight-estimate__input:focus {
    outline: none;
    border-color: #333;
}

.btn--primary.freight-estimate__btn {
    min-width: 161px;
}



/* -- Freight Result (yellow box) -- */
.freight-result {
    display: none;
    margin-top: 0;
    position: relative;
    max-width: 677px;
    width: 100%;
}

.freight-result.is-visible {
    display: block;
}

.freight-result__pointer {
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 22px solid #F8F956;
    position: absolute;
    top: -12px;
    left: 40px;
    pointer-events: none;
}

.freight-result__content {
    background: #F8F956;
    padding: 20px 20px 18px 25px;
    margin-bottom: 28px;
}

.freight-result__header {
    font-family: 'Agrandir';
    font-weight: 800;
    font-size: 16px;
    line-height: 24px;
    color: #1410E3;
    margin-bottom: 16px;
}

.freight-result__sep {
    margin: 0 6px;
}

.freight-result__highlight {
    font-family: 'Agrandir';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1410E3;
    margin: 0;
}

.freight-result__highlight p {
    margin: 0;
}


/* -- Click & Collect / Pickup -- */
.cart-table__label {
    font-weight: 800;
    font-size: 12px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000000;
}

.woocommerce .table__cart-items a.remove {
    width: 30px;
    height: 30px;
    padding: 0;
}

.cart-pickup {
    display: none;
    padding-top: 20px;
    margin-bottom: 25px;
}

.cart-pickup.is-visible {
    display: block;
}

.cart-pickup__instruction {
    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 24px;
}

.cart-pickup__grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 116px 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 116px;
    -moz-column-gap: 116px;
    column-gap: 116px;
    row-gap: 20px;
    max-width: 1048px;
    width: 100%;
}

.cart-pickup__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px;
    cursor: pointer;
    margin: 0;
}

.cart-pickup__item input[type="checkbox"],
.cart-pickup__item input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #FFFFFF;
    border: 1px solid #1410E3;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-top: 3px;
}

.cart-pickup__item input[type="checkbox"]:checked,
.cart-pickup__item input[type="radio"]:checked {
    background: #1410E3;
    border-color: #1410E3;
}

.cart-pickup__item input[type="checkbox"]:checked::after,
.cart-pickup__item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/icon-checkbox-checked.svg') no-repeat center center;
    background-size: contain;
}

.cart-pickup__item input[type=checkbox]:focus,
.cart-pickup__item input[type=radio]:focus {
    outline: none;
}

.cart-pickup__info strong {
    font-family: 'TeX Gyre Adventor';
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
    display: block;
    padding-bottom: 1px;
}

.cart-pickup__info address {
    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
}

/* -- Cart Table -- */
.cart-table {
    margin-bottom: 30px;
}

.cart-table__head {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 141px 20px 173px 20px 225px;
    grid-template-columns: 1fr 141px 173px 225px;
    gap: 20px;
    border-bottom: 1px solid #CCCCCC;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
    font-family: 'Agrandir', sans-serif;
}

/* -- Cart Item -- */
.table__cart-items {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-top: 55px;
}

.cart-item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 141px 20px 173px 20px 225px;
    grid-template-columns: 1fr 141px 173px 225px;
    gap: 20px;
    padding: 9.5px 0;
    border-bottom: 1px solid #ccc;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cart-item__product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
}

.cart-item__product .cart-item__name a {
    font-family: 'TeX Gyre Adventor';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    display: block;
    margin-bottom: 4px;
}

.cart-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    line-height: 0;
}

.cart-item__remove .remove {
    text-decoration: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.remove__icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('../images/icon-trash.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cart-item__img,
.cart-item__img img {
    width: 97px;
    height: 97px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: block;
}

.cart-item__info {
    max-width: 441px;
}

.cart-item__details {
    min-width: 0;
}

.cart-item__title {
    font-family: 'TeX Gyre Adventor';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #000000;
}

.cart-item__sku,
.cart-item__meta {
    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-transform: capitalize;
    color: #000000;
    margin: 0;
}

.cart-item__price,
.cart-item__total {

    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 16px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000000;
    text-align: right;
}

/* -- Qty Selector -- */
.cart-item .product-quantity .cart-item__qty {
    /* padding-right: 7px; */
}

.qty-selector {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #1410E3;
    border-radius: 5px;
    overflow: hidden;
    width: 118px;
}

.qty-selector__btn {
    width: 36px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: transparent no-repeat center center;
    border: none;
    cursor: pointer;
}

.qty-selector__btn:hover {
    background-color: #e5e5e5;
}

.qty-selector__btn--minus {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='1' viewBox='0 0 8 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1.00784H0V-0.000160217H8V1.00784Z' fill='%23333333'/%3E%3C/svg%3E");
}

.qty-selector__btn--plus {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.67994 4.43184H4.43194V7.67984H3.24794V4.43184H-5.66244e-05V3.24784H3.24794V-0.000156403H4.43194V3.24784H7.67994V4.43184Z' fill='%23333333'/%3E%3C/svg%3E");
}


.qty-selector__input {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #1410E3;
    border-right: 1px solid #1410E3;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
    color: #333;
}

.qty-selector__input::-webkit-outer-spin-button,
.qty-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-selector__input:focus {
    outline: none;
}

/* -- Cart Footer -- */
.cart-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 30px;
}

.cart-footer__left {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.cart-footer__right {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 330px;
    flex: 0 0 330px;
}

/* -- Promo Code -- */
.promo-code {
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 38px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 5px;
}

.promo-code__label {
    display: block;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
}

.promo-code__control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.freight-estimate__control .freight-estimate__input,
.promo-code__control input[type="text"] {
    padding: 15px 19px 15px 19px;
}

.promo-code__input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 241px;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #1410E3;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
}

.promo-code__input:focus {
    outline: none;
    border-color: #333;
}



/* -- Cart Totals -- */
.cart-totals {
    margin-bottom: 20px;
}

.cart-totals__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 14px;
    gap: 20px;
    color: #555;
    border-bottom: 1px solid #ccc;
}

.cart-totals__row--coupon {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cart-totals__row--coupon .woocommerce-remove-coupon {
    font-size: 0;
    text-transform: initial;
    margin-left: 5px;
    color: #333;
    text-decoration: none;
}

.cart-totals__row--coupon .woocommerce-remove-coupon::after {
    content: '[×]';
    font-size: 16px;
    line-height: 13px;
}

.cart-totals__row.cart-totals__row--subtotal {
    padding-bottom: 20px;
}

.cart-totals__row.cart-totals__row--tax {
    padding-bottom: 18px;
}

.cart-totals__row.cart-totals__row--subtotal {
    border: 0;
}

.cart-totals__row .cart-totals__label,
.cart-totals__row .cart-totals__label {
    font-family: 'TeX Gyre Adventor';
    font-weight: 700;
    font-size: 16px;
    line-height: 13px;
    color: #000000;
}

.cart-totals__row .cart-totals__value {
    font-family: 'TeX Gyre Adventor';
    font-weight: 700;
    font-size: 16px;
    line-height: 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: right;
    text-transform: uppercase;
    color: #000000;
}

.cart-totals__row--grand {
    padding: 18px 0;
    font-size: 16px;
    color: #333;
    font-family: 'TeX Gyre Adventor';
}

.cart-totals__row--grand .cart-totals__value {
    font-family: 'TeX Gyre Adventor';
    font-weight: 700;
    font-size: 24px;
    line-height: 13px;
    text-align: right;
    text-transform: uppercase;
    color: #000000;
}

/* -- Buttons -- */
.cart-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 13.5px 24px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    border: none;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: 'Agrandir', sans-serif;
    line-height: 13px;
    border-radius: 0;
    outline: 0;
}

.btn--primary {
    background: -o-linear-gradient(left, #FEF958 0%, #B1F742 100%);
    background: -webkit-gradient(linear, left top, right top, from(#FEF958), to(#B1F742));
    background: linear-gradient(90deg, #FEF958 0%, #B1F742 100%);
    color: #000;
    font-family: 'Agrandir', sans-serif;
}

.btn--primary:hover {
    background: -webkit-gradient(linear, left top, right top, from(#B1F742), to(#FEF958));
    background: -o-linear-gradient(left, #B1F742 0%, #FEF958 100%);
    background: linear-gradient(90deg, #B1F742 0%, #FEF958 100%);
}

.btn--grey {
    background: #F1F1F2;
    color: #000;
}

/* =============================================
   CHECKOUT PAGE (Step 2: Details)
   ============================================= */

.checkout-layout {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 40px 563px;
    grid-template-columns: 1fr 563px;
    gap: 40px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.confirmation-page .checkout-layout {
    padding-top: 20px;
}

/* Form column */
.checkout-main {
    width: 100%;
}

.woocommerce .checkout-layout .form-row-first,
.woocommerce .checkout-layout .form-row-last,
.woocommerce-page .checkout-layout .form-row-first,
.woocommerce-page .checkout-layout .form-row-last {
    width: 100%;
}

/* -- Checkout Section -- */
.woocommerce form .form-row::after,
.woocommerce form .form-row::before,
.woocommerce-page form .form-row::after,
.woocommerce-page form .form-row::before {
    display: none;
}

.checkout-section {
    margin-bottom: 40px;
}

.checkout-section.woocommerce-shipping-fields {
    margin-bottom: 30px;
}

.checkout-section:last-child {
    margin-bottom: 0;
}

.checkout-section__title {
    font-size: 16px;
    line-height: 13.2px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000000;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    font-family: 'Agrandir', sans-serif;
}

.woocommerce-shipping-fields .checkout-section__title {
    margin-bottom: 21px;
}

/* -- Form Grid -- */
.form-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 16px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.woocommerce form .form-row .optional {
    display: none;
}

.checkout-layout #customer_details {
    max-width: 678px;
    width: 100%;
}

.woocommerce-checkout .checkout .shipping_address {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
}

.form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #333333;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #1410E3;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
    -webkit-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* -- Form Row (checkbox inline) -- */
.form-row--checkbox,
.checkout-section .form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.checkout-layout .woocommerce-account-fields {
    margin-bottom: 22px;
}

.checkout-section .form-row input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #FFFFFF;
    border: 1px solid #1410E3;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    top: -2px;
}

/* -- Shipping Fields (expandable) -- */
.checkout-shipping-fields {
    display: none;
    margin-top: 16px;
}

.checkout-shipping-fields.is-visible {
    display: block;
}

/* -- Sidebar -- */
.checkout-sidebar {
    position: sticky;
    top: 20px;
}

/* -- Order Summary -- */
.order-summary {
    background-color: #F1F1F2;
    padding: 22px 21px 15px 21px;
    margin-bottom: 24px;
}

.order-summary .checkout__order--summary-title {
    margin-bottom: 23px;
    color: #000;
}

.order-summary .order-summary h3 {
    font-weight: 800;
    font-size: 16px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 20px 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* -- Payment Methods -- */
.payment-methods {
    border: 1px solid #e5e5e5;
    padding: 20px;
}

.payment-option {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

/* -- Payment Card Fields -- */
.payment-card-fields {
    display: none;
    padding: 16px 0 4px;
}

.payment-option--active .payment-card-fields {
    display: block;
}

.payment-card-fields .form-group {
    margin-bottom: 12px;
}

.payment-card-fields .form-group label {
    font-size: 12px;
}

.payment-card-fields .form-group input {
    padding: 9px 12px;
    font-size: 13px;
}

.payment-card-fields .form-grid {
    gap: 12px;
}

/* -- Process Payment Button -- */
.btn-process {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: -o-linear-gradient(left, #FEF958 0%, #B1F742 100%);
    background: -webkit-gradient(linear, left top, right top, from(#FEF958), to(#B1F742));
    background: linear-gradient(90deg, #FEF958 0%, #B1F742 100%);
    color: #000;
    border: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    -webkit-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
    font-family: 'Agrandir', sans-serif;
}

.btn-process:hover {
    opacity: 0.9;
}

/* =============================================
   CONFIRMATION PAGE (Step 3)
   ============================================= */

/* Confirmation message text */
.confirmation-main__message {
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #333;
    margin-bottom: 30px;
}

/* confirmation-main uses .order-meta from custom-auth.css now */
.confirmation-main .order-meta {
    padding-top: 5px;
}

/* Hide native woocommerce_thankyou output (order details table) if it leaks through */
.confirmation-page .woocommerce-order-details,
.confirmation-page .woocommerce-customer-details,
.confirmation-page .woocommerce-order-overview {
    display: none !important;
}

/* =============================================
   WOOCOMMERCE OVERRIDES for Checkout Flow
   ============================================= */

/* Hide page title on checkout */
.woocommerce-checkout .entry-header,
.woocommerce-checkout .entry-title {
    display: none !important;
}

/* -- Checkout Section Titles (Billing Details / Shipping Details) -- */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-weight: 800;
    font-size: 16px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 20px;
    font-family: 'Agrandir', sans-serif;
}

/* -- Field Wrapper Grid -- */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
    row-gap: 23px;
    margin-top: 31px;
}

/* Full-width fields */
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

/* Side-by-side fields (first/last) */
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-first {
    -ms-grid-column: 1;
    grid-column: 1;
}

.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-last {
    -ms-grid-column: 2;
    grid-column: 2;
}

/* Each form-row: stack label above input */
.woocommerce-checkout .checkout-main .form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

/* Labels */
.woocommerce-checkout .checkout-page form .form-row label {
    display: block;
    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 2px;
    text-align: left;
}

/* Hide the required asterisk abbr or style it */
.woocommerce-checkout .form-row label .required {
    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    text-decoration: none;
    border: none;
}

/* Input wrapper takes full width */
.woocommerce-checkout .woocommerce-input-wrapper {
    width: 100%;
    display: block;
}

/* All inputs, selects, textareas */
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea,
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #1410E3;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
    -webkit-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Focus */
.woocommerce-checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-input-wrapper select:focus,
.woocommerce-checkout .woocommerce-input-wrapper textarea:focus {
    outline: none;
    border-color: #333;
}

/* Select dropdown arrow */
.woocommerce-checkout .woocommerce-input-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Textarea (order notes) */
.woocommerce-checkout .form-row textarea {
    min-height: 100px;
    resize: none;
}

/* Additional fields (order notes) */
.woocommerce-additional-fields__field-wrapper .form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Select2 override (WC uses select2 for country/state) */
.woocommerce-checkout .select2-container {
    width: 100% !important;
}

.woocommerce-checkout .select2-container .select2-selection--single {
    border: 1px solid #1410E3;
    border-radius: 5px;
    height: auto;
    padding: 10px 20px;
    background: #fff;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
    line-height: normal;
    color: #333;
    font-size: 14px;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 12px;
}

.woocommerce-checkout .select2-container--focus .select2-selection--single {
    border-color: #333;
    outline: none;
}

/* Explicitly enforce flex row on all WooCommerce checkout checkboxes */
.woocommerce-checkout .checkout-page .checkbox,
.woocommerce-checkout .checkout-page .create-account label,
.woocommerce-checkout .checkout-page #ship-to-different-address label,
.woocommerce-checkout .checkout-page .checkout-section__checkbox-wrap label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    cursor: pointer;
}

.woocommerce-checkout .woocommerce form .form-row label.checkbox,
.woocommerce-checkout .woocommerce-page form .form-row label.checkbox {
    margin: 0 !important;
    padding: 0 !important;
}


.woocommerce-checkout .checkout-page .checkout-section__checkbox-wrap:before {
    display: none;
}

.woocommerce-checkout .woocommerce form .form-row {
    padding: 0;
    margin: 0;
    gap: 0;
}

.woocommerce-checkout .woocommerce .checkout-section__checkbox-wrap,
.woocommerce-checkout .woocommerce .checkout-page .checkout-section__checkbox-wrap {
    padding: 0;
    gap: 18px;
}

.woocommerce-checkout .woocommerce .checkout-section__checkbox-wrap {
    margin-top: 22px;
    margin-bottom: 0;
}

/* Ship to different address and Create Account checkboxes */
#ship-to-different-address,
.checkout-section__checkbox-wrap,
.woocommerce-SavedPaymentMethods-saveNew {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 800;
    font-size: 16px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000;
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 10px;
    font-family: 'TeX Gyre Adventor', sans-serif;
}


#ship-to-different-address label,
.checkout-section__checkbox-wrap label,
.woocommerce-SavedPaymentMethods-saveNew label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    text-transform: none;
    margin: 0;
}

#ship-to-different-address input[type="checkbox"],
.checkout-section__checkbox-wrap input[type="checkbox"],
.woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"],
.woocommerce-checkout-payment .payment_methods li input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #FFFFFF;
    border: 1px solid #1410E3;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    top: -2px;
}

#ppcp-recaptcha-v2-container:empty {
    display: none;
}

.woocommerce-checkout-payment .payment_methods li input[type="radio"] {
    top: 0;
}

#ship-to-different-address input[type="checkbox"]:focus,
.checkout-section__checkbox-wrap input[type="checkbox"]:focus,
.woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"]:focus,
.woocommerce-checkout-payment .payment_methods li input[type="radio"]:focus {
    outline: none;
}

#ship-to-different-address input[type="checkbox"]:checked,
.checkout-section__checkbox-wrap input[type="checkbox"]:checked,
.woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"]:checked,
.woocommerce-checkout-payment .payment_methods li input[type="radio"]:checked {
    background: transparent;
    border-color: #1410E3;
    border-width: 0;
}

#add_payment_method #payment ul.payment_methods li input,
.woocommerce-cart #payment ul.payment_methods li input,
.woocommerce-checkout #payment ul.payment_methods li input {
    margin-right: 0;
}

#ship-to-different-address input[type="checkbox"]:checked::after,
.checkout-section__checkbox-wrap input[type="checkbox"]:checked::after,
.woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"]:checked::after,
.woocommerce-checkout-payment .payment_methods li input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/icon-checkbox-checked.svg') no-repeat center center;
    background-size: contain;
}

/* WC checkout order review (div layout) */
.woocommerce-checkout-review-order-table {
    width: 100%;
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.review-order__header {
    display: -ms-grid;
    display: grid;
    gap: 10px;
    -ms-grid-columns: 1fr 10px 60px 10px 85px;
    grid-template-columns: 1fr 60px 85px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 0 12px 0;
    border-bottom: 1px solid #CCCCCC;
    font-weight: 800;
    font-size: 12px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000000;
    font-family: 'Agrandir', sans-serif;
}

.review-order__row {
    display: -ms-grid;
    display: grid;
    gap: 10px;
    -ms-grid-columns: 1fr 10px 60px 10px 85px;
    grid-template-columns: 1fr 60px 85px;
    padding-top: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid #CCCCCC;
}

.review-order__footer {
    margin-top: 11px;
}

.review-order__footer .review-order__row {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    padding: 12px 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.review-order__row.review-order__row--freight {
    padding-top: 18px;
    align-items: flex-start;
    border-bottom: 0;
}

.review-order__footer .review-order__row:first-child {
    border: 0;
}

.review-order__footer .review-order__row .review-order__label__small {
    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    margin-top: 6px;
}

/* Base columns */
.review-order__col--qty,
.review-order__col--total {
    text-align: right;
}

/* Item Row */
.review-order__row--item {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    font-family: 'TeX Gyre Adventor', sans-serif;
}

.review-order__row--item .review-order__row--item .review-order__col--product {
    max-width: 319px;
    width: 100%;
}

.review-order__row--item .review-order__col--total {
    white-space: nowrap;
}

/* Footer Rows */
.review-order__label {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-weight: 700;
    font-size: 14px;
    line-height: 13px;
    color: #000000;
    font-family: 'Agrandir', sans-serif;
    text-align: left;
}

.review-order__value {
    font-weight: 700;
    font-size: 14px;
    line-height: 13px;
    color: #000000;
    font-family: 'Agrandir', sans-serif;
    text-align: right;
    white-space: nowrap;
}

/* Total Row */
.review-order__footer .review-order__row--total {
    border-bottom: none;
    padding-top: 20px;
    padding-bottom: 11px;
}

.review-order__row--total .review-order__label {
    color: #333;
}

.review-order__row--total .review-order__value,
.review-order__row--total .woocommerce-Price-amount {
    font-weight: 700;
    font-size: 24px;
    line-height: 13px;
    text-transform: uppercase;
    color: #000000;
}

.review-order__value small {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    font-family: 'TeX Gyre Adventor', sans-serif;
    display: block;
    margin-top: 4px;
}

h3.checkout-payment-heading {
    font-size: 16px;
    font-weight: 800;
    font-family: 'Agrandir', sans-serif;
    text-transform: uppercase;
    color: #000;
    margin-top: 38px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 11px;
}

/* WC checkout payment */

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

#wc-stripe-express-checkout-element,
#wc-stripe-express-checkout-button-separator {
    display: none !important;
}

.woocommerce-checkout #payment,
.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    border: 0;
    background: transparent;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    background-color: #F1F1F2;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #F1F1F2;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}

.woocommerce-checkout-payment {
    margin-top: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
}

.woocommerce-checkout-payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout-payment .payment_methods li {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
}

.woocommerce-checkout-payment .payment_methods li label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 28px;
    font-family: 'TeX Gyre Adventor';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    cursor: pointer;
    margin: 0;
    position: relative;
    top: 3px;
}

.woocommerce-checkout #payment div.form-row {
    padding: 0;
}

.woocommerce-checkout-payment .payment_methods li label img {
    max-height: 24px;
    width: auto;
    -o-object-fit: contain;
    object-fit: contain;
}

.woocommerce-checkout #payment ul.payment_methods li:not(.woocommerce-notice)::before {
    display: none;
}


.woocommerce-checkout-payment .payment_methods li .custom-stripe-icons {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
}

.woocommerce-checkout-payment .payment_methods li .custom-paypal-icon {
    max-width: 84px;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.woocommerce-checkout-payment .payment_box {
    display: none;
    padding: 16px 0 4px;
    width: 100%;
}

.woocommerce-checkout-payment #place_order {
    display: block;
    width: 100%;
    padding: 14px 20px 13px 20px;
    background: -o-linear-gradient(left, #FEF958 0%, #B1F742 100%);
    background: -webkit-gradient(linear, left top, right top, from(#FEF958), to(#B1F742));
    background: linear-gradient(90deg, #FEF958 0%, #B1F742 100%);
    color: #000;
    border: none;
    font-family: 'Agrandir';
    font-weight: 800;
    font-size: 12px;
    line-height: 13px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Agrandir', sans-serif;
    margin: 0;
    margin-top: 30px;
    text-align: center;
    letter-spacing: 0;
}

.woocommerce-checkout-payment #place_order:hover {
    background: -webkit-gradient(linear, left top, right top, from(#B1F742), to(#FEF958));
    background: -o-linear-gradient(left, #B1F742 0%, #FEF958 100%);
    background: linear-gradient(90deg, #B1F742 0%, #FEF958 100%);
}

.woocommerce-checkout .checkout-page form .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .checkout-page form .form-row.woocommerce-invalid select,
.woocommerce-checkout .checkout-page .woocommerce-input-wrapper input,
.woocommerce-checkout .checkout-page .woocommerce-input-wrapper select,
.woocommerce-checkout .checkout-page .woocommerce-input-wrapper textarea,
.woocommerce-checkout .checkout-page .form-row input[type="text"],
.woocommerce-checkout .checkout-page .form-row input[type="email"],
.woocommerce-checkout .checkout-page .form-row input[type="tel"],
.woocommerce-checkout .checkout-page .form-row input[type="password"],
.woocommerce-checkout .checkout-page .form-row select,
.woocommerce-checkout .checkout-page .form-row textarea {
    border: 1px solid #1410E3;
    height: 40px;
    padding: 19px;
    color: #757575;
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    width: 100%;
    border-radius: 5px;
}

.woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection,
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
    border-color: #1410E3;
}

.woocommerce form .form-row.woocommerce-validated select {
    padding-top: 0;
    padding-bottom: 0;
}

.woocommerce-checkout .checkout-page .woocommerce-input-wrapper textarea {
    height: 108px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1170px) {

    .cart-table__head,
    .cart-item {
        -ms-grid-columns: 1fr 120px 150px 150px;
        grid-template-columns: 1fr 120px 150px 150px;
    }

    .cart-table__label {
        font-size: 10px;
        line-height: 16px;
    }
}

@media (max-width: 991px) {
    .checkout-layout {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .cart-notice--blue {
        line-height: 22px;
    }

    .checkout-sidebar {
        position: static;
    }

    .cart-footer {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .cart-item__product {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 15px;
    }

    .cart-tabs__btn,
    .cart-item__product .cart-item__name a {
        font-size: 15px;
        line-height: 21px;
    }

    .cart-item__remove {
        padding: 0;
        margin-top: 25px;
    }

    .cart-footer__right {
        width: 100%;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
}

@media (max-width: 767px) {

    .cart-tabs,
    .cart-progress__list {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cart-tabs::-webkit-scrollbar,
    .cart-progress__list::-webkit-scrollbar {
        display: none;
    }

    .cart-table__head {
        display: none;
    }

    .table__cart-items {
        margin-top: 20px;
    }

    .cart-item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
        border-bottom: 1px solid #ccc;
    }

    .product-name {
        width: 100%;
        margin-bottom: 10px;
    }

    .cart-item__product {
        display: -ms-grid;
        display: grid;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 15px;
        -ms-grid-columns: 40px 15px 100px 15px 1fr;
        grid-template-columns: 40px 100px 1fr;
    }

    .cart-item__product .cart-item__name a {
        font-size: 15px;
        line-height: 20px;
    }

    .cart-item__remove {
        padding: 0;
        margin-top: 25px;
        margin-right: auto;
    }

    .cart-item .product-price,
    .cart-item .product-quantity,
    .cart-item .product-subtotal {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
    }

    .cart-item .product-price::before,
    .cart-item .product-quantity::before,
    .cart-item .product-subtotal::before {
        content: attr(data-title);
        color: #888;
        font-weight: 500;
        font-size: 14px;
        text-transform: capitalize;
    }

    .cart-item .product-quantity .cart-item__qty {
        margin-left: auto;
    }

    .cart-footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .cart-footer__right {
        -webkit-box-flex: 1;
        -ms-flex: auto;
        flex: auto;
    }

    .form-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .woocommerce-billing-fields__field-wrapper .form-row-first,
    .woocommerce-shipping-fields__field-wrapper .form-row-first,
    .woocommerce-billing-fields__field-wrapper .form-row-last,
    .woocommerce-shipping-fields__field-wrapper .form-row-last {
        grid-column: 1 / -1;
    }

    .review-order__header,
    .review-order__row {
        -ms-grid-columns: 1fr 50px 75px;
        grid-template-columns: 1fr 50px 75px;
    }

    .freight-estimate {
        gap: 20px;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .cart-pickup__grid {
        -webkit-column-gap: 40px;
        -moz-column-gap: 40px;
        column-gap: 40px;
    }

    .promo-code {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .promo-code__control,
    .freight-estimate__control {
        display: inline-block;
        vertical-align: top;
    }

    .promo-code__control .promo-code__btn,
    .btn--primary.freight-estimate__btn {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {

    .review-order__header,
    .review-order__row {
        -ms-grid-columns: 1fr 8px 40px 8px 65px;
        grid-template-columns: 1fr 40px 65px;
        gap: 8px;
    }

    .cart-pickup__grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .review-order__row--item .review-order__col--product img {
        width: 65px;
        height: 65px;
        margin-right: 15px;
    }

    .checkout-login-prompt {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        font-size: 15px;
    }

    .btn--primary {
        width: 100%;
    }
}

/* =============================================
   EMPTY CART PAGE
   ============================================= */

.empty-cart-container .woocommerce-info {
    background: transparent;
    border: none;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Agrandir', sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 0;
}

.empty-cart-container .woocommerce-info::before {
    display: none;
}

.empty-cart-container .return-to-shop .btn {
    border-radius: 5px;
    min-width: 250px;
}

/* -- MachShip Residential Radio Buttons -- */
.checkout-is-residential {
    margin-bottom: 24px;
    width: 100%;
}

.checkout-is-residential .woocommerce-input-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 24px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.checkout-is-residential input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #FFFFFF;
    border: 1px solid #1410E3;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    vertical-align: middle;
}

.checkout-is-residential input[type="radio"]:focus {
    outline: none;
}

.checkout-is-residential input[type="radio"]:checked {
    background: transparent;
    border-color: #1410E3;
    border-width: 0;
}

.checkout-is-residential input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/icon-checkbox-checked.svg') no-repeat center center;
    background-size: contain;
}

.checkout-is-residential label.radio {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #333333;
    margin: 0;
    cursor: pointer;
}

/* Shipping methods list (cart-shipping.php) */
.shipping-methods-list {
    list-style: none;
    margin: 10px 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shipping-methods-list__item {
    padding: 8px 10px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    transition: border-color .2s, background .2s;
}

.shipping-methods-list__item.is-chosen,
.shipping-methods-list__item:has(input:checked) {
    border-color: #000;
    background: #f9f9f9;
}

.woocommerce ul#shipping_method li label.shipping-methods-list__label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin: 0;
    width: 100%;
}

.shipping-methods-list__label input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1.5px solid #CCCCCC;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: border-color .2s;
}

.shipping-methods-list__label input[type="radio"]:checked {
    border-color: #000;
}

.shipping-methods-list__label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #000;
}

.shipping-methods-list__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.shipping-methods-list__name {
    font-family: 'Agrandir', sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding-top: 5px;
}

.shipping-methods-list__carrier,
.shipping-methods-list__desc {
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 11px;
    line-height: 15px;
    color: #666;
}

.shipping-methods-list__eta {
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 11px;
    line-height: 15px;
    color: #888;
    font-style: italic;
}

.shipping-methods-list__price {
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.shipping-methods-list__none,
.shipping-methods-list__enter {
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 11px;
    color: #888;
    margin: 6px 0 0;
    font-style: italic;
}

.shipping-methods-list__pickup-loc {
    display: block;
    margin-top: 5px;
    font-weight: 400;
    color: #333;
    font-size: 11px;
    line-height: 17px;
    font-family: 'TeX Gyre Adventor', sans-serif;
}

.shipping-methods-list__pickup-addr {
    display: block;
    color: #757575;
    font-size: 11px;
    line-height: 17px;
    font-weight: 400;
    font-family: 'TeX Gyre Adventor', sans-serif;
}

/* Hide MachShip dynamic additional elements */
/* Ensure MachShip dynamic additional elements are visible and styled */
#sqf-suburb-list {
    background: #fff;
    border: 1px solid #1410E3;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
    z-index: 100;
}

.woo-machship-suburb-item {
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 14px;
}

.woo-machship-suburb-item:hover {
    background: #f1f1f2;
}

/* Style the native MachShip residential field to match our theme */
#is_residential_field {
    margin-bottom: 24px;
    width: 100%;
}

#is_residential_field .woocommerce-input-wrapper {
    display: flex;
    gap: 24px;
    align-items: center;
}

#is_residential_field input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #FFFFFF;
    border: 1px solid #1410E3;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

#is_residential_field input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/icon-checkbox-checked.svg') no-repeat center center;
    background-size: contain;
}

#is_residential_field label.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #333333;
    margin: 0;
    cursor: pointer;
}

.checkout-layout #billing_country_field,
.checkout-layout #shipping_country_field {
    display: none !important;
}

.woocommerce-checkout .checkout-page .form-row #sqf-suburb-list {
    padding: 10px;
    font-size: 12px;
    line-height: 1;
    margin-top: 10px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.woocommerce-checkout .checkout-page .form-row #sqf-suburb-list:empty {
    display: none;
}

.woocommerce-checkout .checkout-page .form-row #sqf-suburb-list label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1;
}

.woocommerce-checkout .checkout-page .form-row #sqf-suburb-list label * {
    font-size: 12px;
    line-height: 1;
    margin: 0;
}

.woocommerce-checkout .checkout-page .form-row #sqf-suburb-list label input {
    position: relative;
    top: -2px;
}

.woocommerce-checkout .checkout-page .form-row .small-text {
    font-size: 12px;
    line-height: 18px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Hide MachShip UI on Cart page */
.woocommerce-cart .additional-elements {
    display: none !important;
}