/* ============================================
   H8 WooCommerce - Cart & Checkout
   Design tokens: Manrope/DM Sans, #0631A5, 14px radius
   ============================================ */

/* ============================================
   Page title
   ============================================ */
.h8-page-title {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 32px !important;
    line-height: 120% !important;
    letter-spacing: 0 !important;
    color: #20201E !important;
    margin: 0 0 32px !important;
}

/* ============================================
   CART
   ============================================ */
.h8-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

/* Empty cart */
.h8-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    gap: 16px;
}

.h8-cart-empty p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: #656462;
    margin: 0;
}

.h8-btn-lg {
    height: 48px !important;
    padding: 12px 32px !important;
    font-size: 16px !important;
}

/* Cart table */
.h8-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.h8-cart-table thead th {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #656462;
    text-align: left;
    padding: 0 12px 16px;
    border-bottom: 1px solid #D9D9D7;
}

.h8-cart-table tbody tr {
    border-bottom: 1px solid #EEEEEE;
}

.h8-cart-table tbody td {
    padding: 20px 12px;
    vertical-align: middle;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #20201E;
}

/* Product cell */
.h8-cart-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.h8-cart-product-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h8-cart-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.h8-cart-product-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.h8-cart-product-name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #20201E;
    text-decoration: none;
    line-height: 1.3;
}

.h8-cart-product-name:hover {
    color: #0631A5;
}

.h8-cart-product-code {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #656462;
}

/* Price cells */
.h8-cart-td-price,
.h8-cart-td-subtotal {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #20201E;
    white-space: nowrap;
}

/* Remove button */
.h8-cart-remove-item {
    background: none;
    border: none;
    cursor: pointer;
    color: #9E9E9E;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 50%;
}

.h8-cart-remove-item:hover {
    color: #E53E3E;
}

/* Coupon */
.h8-cart-coupon {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #EEEEEE;
}

.h8-cart-coupon-form {
    display: flex;
    gap: 12px;
}

.h8-cart-coupon-input {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #20201E;
    outline: none;
    transition: border-color 0.2s;
}

.h8-cart-coupon-input::placeholder {
    color: #747474;
}

.h8-cart-coupon-input:focus {
    border-color: #0631A5;
}

.h8-cart-coupon-btn {
    white-space: nowrap;
    min-width: 100px;
}

/* Cart totals sidebar */
.h8-cart-totals {
    background: #FAFAFA;
    border-radius: 14px;
    padding: 24px;
    position: sticky;
    top: 24px;
}

.h8-cart-totals-title {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    color: #20201E !important;
    margin: 0 0 24px !important;
}

.h8-cart-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: #20201E;
    border-bottom: 1px solid #EEEEEE;
}

.h8-cart-totals-row:last-child {
    border-bottom: none;
}

.h8-cart-totals-total {
    font-weight: 700;
    font-size: 18px;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #D9D9D7;
    border-bottom: none;
}

.h8-cart-remove-coupon {
    background: none;
    border: none;
    color: #E53E3E;
    cursor: pointer;
    font-size: 12px;
    margin-left: 6px;
    padding: 0;
}

.h8-btn-checkout {
    margin-top: 24px;
    height: 48px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    border-radius: 14px !important;
    background: #0631A5 !important;
    color: #FFFFFF !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
}

.h8-btn-checkout:hover {
    background: var(--h8-primary-dark) !important;
    color: #FFFFFF !important;
}

.h8-cart-continue {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #0631A5;
    text-decoration: none;
    transition: opacity 0.2s;
}

.h8-cart-continue:hover {
    opacity: 0.7;
}

/* ============================================
   CHECKOUT
   ============================================ */
.h8-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

.h8-checkout-section {
    margin-bottom: 32px;
}

.h8-checkout-section-title {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    color: #20201E !important;
    margin: 0 0 24px !important;
}

/* Override WooCommerce form fields */
.h8-checkout-fields-grid .form-row {
    margin-bottom: 16px;
}

.h8-checkout-fields-grid .form-row label {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #20201E !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.h8-checkout-fields-grid .form-row label .required {
    color: #E53E3E;
}

.h8-checkout-fields-grid .form-row input.input-text,
.h8-checkout-fields-grid .form-row textarea,
.h8-checkout-fields-grid .form-row select,
.h8-checkout-fields .form-row input.input-text,
.h8-checkout-fields .form-row textarea,
.h8-checkout-fields .form-row select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid #E0E0E0 !important;
    border-radius: 14px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    color: #20201E !important;
    background: #FFFFFF !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
}

.h8-checkout-fields-grid .form-row textarea,
.h8-checkout-fields .form-row textarea {
    height: 120px !important;
    padding: 16px !important;
    resize: vertical !important;
}

.h8-checkout-fields-grid .form-row input.input-text:focus,
.h8-checkout-fields-grid .form-row textarea:focus,
.h8-checkout-fields-grid .form-row select:focus,
.h8-checkout-fields .form-row input.input-text:focus,
.h8-checkout-fields .form-row textarea:focus,
.h8-checkout-fields .form-row select:focus {
    border-color: #0631A5 !important;
}

.h8-checkout-fields-grid .form-row input.input-text::placeholder,
.h8-checkout-fields .form-row input.input-text::placeholder {
    color: #747474;
}

/* Select2 override */
.h8-checkout-fields-grid .select2-container--default .select2-selection--single,
.h8-checkout-fields .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1.5px solid #E0E0E0 !important;
    border-radius: 14px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
}

.h8-checkout-fields-grid .select2-container--default .select2-selection--single .select2-selection__rendered,
.h8-checkout-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    color: #20201E !important;
    line-height: 48px !important;
    padding: 0 !important;
}

/* Checkbox */
.h8-checkout-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #656462;
    cursor: pointer;
    line-height: 1.5;
}

.h8-checkout-checkbox-label a {
    color: #0631A5;
}

.h8-checkout-checkbox {
    width: 20px;
    height: 20px;
    border: 1.5px solid #E0E0E0;
    border-radius: 4px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #0631A5;
}

/* Summary sidebar */
.h8-checkout-summary-inner {
    background: #FAFAFA;
    border-radius: 14px;
    padding: 24px;
    position: sticky;
    top: 24px;
}

/* Checkout items */
.h8-checkout-items {
    margin-bottom: 20px;
}

.h8-checkout-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #EEEEEE;
}

.h8-checkout-item:last-child {
    border-bottom: none;
}

.h8-checkout-item-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
    padding: 6px;
    border-radius: 14px;
    overflow: visible;
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.h8-checkout-item-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.h8-checkout-item-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: #0631A5;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    border: 2px solid #FFFFFF;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 2;
    white-space: nowrap;
}

.h8-checkout-item-info {
    flex: 1;
    min-width: 0;
}

.h8-checkout-item-name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #20201E;
    line-height: 1.3;
    display: block;
    word-break: break-word;
}

.h8-checkout-item-price {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #20201E;
    white-space: nowrap;
}

/* Checkout totals */
.h8-checkout-totals {
    border-top: 1px solid #EEEEEE;
    padding-top: 16px;
    margin-bottom: 20px;
}

.h8-checkout-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #656462;
}

.h8-checkout-totals-total {
    font-weight: 700;
    font-size: 18px;
    color: #20201E;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid #D9D9D7;
}

/* Payment methods */
.h8-checkout-payment {
    border-top: 1px solid #EEEEEE;
    padding-top: 20px;
    margin-bottom: 20px;
}

.h8-checkout-payment-title {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #20201E !important;
    margin: 0 0 16px !important;
}

.h8-payment-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h8-payment-method {
    margin-bottom: 8px;
}

.h8-payment-method-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.h8-payment-method-label:hover {
    border-color: #0631A5;
}

.h8-payment-radio {
    accent-color: #0631A5;
    width: 18px;
    height: 18px;
}

.h8-payment-radio:checked+.h8-payment-method-name {
    color: #0631A5;
}

.h8-payment-method-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #20201E;
    flex: 1;
}

.h8-payment-method-icon img {
    height: 24px;
    width: auto;
}

.h8-payment-method-fields {
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #656462;
    line-height: 1.5;
}

/* Place order button */
.h8-btn-place-order {
    width: 100% !important;
    height: 48px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    border-radius: 14px !important;
    background: #0631A5 !important;
    color: #FFFFFF !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    margin-top: 16px;
}

.h8-btn-place-order:hover {
    background: var(--h8-primary-dark) !important;
}

/* Terms */
.h8-checkout-terms {
    margin-bottom: 16px;
}

/* Shipping methods in checkout */
.h8-checkout-shipping-methods .shipping ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h8-checkout-shipping-methods .shipping li {
    margin-bottom: 8px;
}

.h8-checkout-shipping-methods .shipping li label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: 14px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #20201E;
    transition: border-color 0.2s;
}

.h8-checkout-shipping-methods .shipping li label:hover {
    border-color: #0631A5;
}

.h8-checkout-shipping-methods .shipping li input[type="radio"] {
    accent-color: #0631A5;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */
.h8-thankyou-success {
    text-align: center;
    padding: 40px 0 32px;
}

.h8-thankyou-icon {
    margin-bottom: 24px;
}

.h8-thankyou-message {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #656462;
    margin: 8px 0 0;
}

.h8-thankyou-failed {
    text-align: center;
    padding: 40px 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.h8-thankyou-failed p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #656462;
    max-width: 480px;
}

/* Order details grid */
.h8-thankyou-details {
    max-width: 800px;
    margin: 0 auto;
}

.h8-thankyou-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    background: #FAFAFA;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 32px;
}

.h8-thankyou-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.h8-thankyou-info-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #656462;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.h8-thankyou-info-value {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #20201E;
}

/* Thank you table */
.h8-thankyou-table {
    width: 100%;
    border-collapse: collapse;
}

.h8-thankyou-table thead th {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #656462;
    text-align: left;
    padding: 0 12px 12px;
    border-bottom: 1px solid #D9D9D7;
}

.h8-thankyou-table tbody tr {
    border-bottom: 1px solid #EEEEEE;
}

.h8-thankyou-table tbody td {
    padding: 16px 12px;
    vertical-align: middle;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #20201E;
}

.h8-thankyou-td-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.h8-thankyou-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .h8-cart-layout {
        grid-template-columns: 1fr 320px;
        gap: 32px;
    }

    .h8-checkout-layout {
        grid-template-columns: 1fr 360px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .h8-page-title {
        font-size: 24px !important;
    }

    .h8-cart-layout,
    .h8-checkout-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .h8-cart-totals,
    .h8-checkout-summary-inner {
        position: static;
    }

    /* Cart table → mobile cards */
    .h8-cart-table thead {
        display: none;
    }

    .h8-cart-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 16px 0;
    }

    .h8-cart-table tbody td {
        padding: 0;
    }

    .h8-cart-td-product {
        width: 100%;
    }

    .h8-cart-td-price,
    .h8-cart-td-subtotal {
        flex: 1;
    }

    .h8-cart-td-price::before,
    .h8-cart-td-subtotal::before,
    .h8-cart-td-qty::before {
        content: attr(data-label);
        display: block;
        font-family: 'DM Sans', sans-serif;
        font-size: 11px;
        font-weight: 500;
        color: #656462;
        margin-bottom: 4px;
    }

    .h8-cart-td-remove {
        position: absolute;
        right: 0;
        top: 16px;
    }

    .h8-cart-item {
        position: relative;
    }

    /* Coupon responsive */
    .h8-cart-coupon-form {
        flex-direction: column;
    }

    .h8-cart-coupon-btn {
        min-width: unset;
    }

    /* Checkout items */
    .h8-checkout-item {
        gap: 12px;
    }

    .h8-checkout-item-thumb {
        width: 56px;
        height: 56px;
        min-width: 56px;
        padding: 5px;
    }

    .h8-checkout-item-qty-badge {
        top: -6px;
        right: -6px;
    }

    /* Thank you grid */
    .h8-thankyou-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .h8-thankyou-td-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .h8-page-title {
        font-size: 20px !important;
    }

    .h8-cart-product-thumb {
        width: 56px;
        height: 56px;
    }

    .h8-thankyou-info-grid {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }
}

/* ============================================
   Cart visual refresh - H8/Figma standard
   ============================================ */

.h8-cart-wrap {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
    padding: 72px 0 96px;
    background: #FFFFFF;
    font-family: 'DM Sans', 'Manrope', sans-serif;
    color: #20201E;
}

.h8-cart-wrap .h8-breadcrumb-detail {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #9E9E9E !important;
}

.h8-cart-wrap .h8-breadcrumb-detail a,
.h8-cart-wrap .h8-breadcrumb-detail span,
.h8-cart-wrap .h8-breadcrumb-detail strong {
    color: #9E9E9E !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.h8-cart-wrap .h8-breadcrumb-detail .h8-breadcrumb-back {
    color: #0631A5 !important;
}

.h8-cart-wrap .h8-breadcrumb-detail strong {
    color: #0631A5 !important;
    font-weight: 600 !important;
}

.h8-cart-wrap .h8-page-title {
    margin: 0 0 32px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 120% !important;
    letter-spacing: 0 !important;
    color: #20201E !important;
}

.h8-cart-wrap .h8-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
    align-items: start;
}

.h8-cart-wrap .h8-cart-items-section {
    min-width: 0;
    transition: opacity 0.2s ease;
}

.h8-cart-wrap .h8-cart-table-wrap {
    width: 100%;
    overflow: hidden;
    border: 1px solid #EFEFEF;
    border-radius: 18px;
    background: #FFFFFF;
}

.h8-cart-wrap .h8-cart-table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #FFFFFF !important;
}

.h8-cart-wrap .h8-cart-table thead {
    background: #FAFCFF;
}

.h8-cart-wrap .h8-cart-table thead tr,
.h8-cart-wrap .h8-cart-table tbody tr {
    border: 0 !important;
}

.h8-cart-wrap .h8-cart-table thead th {
    height: auto;
    padding: 16px 20px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #EFEFEF !important;
    background: #FAFCFF !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 120% !important;
    color: #656462 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    vertical-align: middle !important;
}

.h8-cart-wrap .h8-cart-table tbody td {
    padding: 22px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #EFEFEF !important;
    background: #FFFFFF !important;
    vertical-align: middle !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
    line-height: 140% !important;
    color: #20201E !important;
}

.h8-cart-wrap .h8-cart-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.h8-cart-wrap .h8-cart-th-product,
.h8-cart-wrap .h8-cart-td-product {
    width: 62%;
}

.h8-cart-wrap .h8-cart-th-qty,
.h8-cart-wrap .h8-cart-td-qty {
    width: 24%;
}

.h8-cart-wrap .h8-cart-th-remove,
.h8-cart-wrap .h8-cart-td-remove {
    width: 56px;
    text-align: right !important;
}

.h8-cart-wrap .h8-cart-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.h8-cart-wrap .h8-cart-product-thumb {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: #FBFAFA;
    border: 1px solid #EFEFEF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.h8-cart-wrap .h8-cart-product-thumb img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
}

.h8-cart-wrap .h8-cart-product-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.h8-cart-wrap .h8-cart-product-name {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 140% !important;
    letter-spacing: 0 !important;
    color: #1A1A1A !important;
    text-decoration: none !important;
}

.h8-cart-wrap .h8-cart-product-name:hover {
    color: #0631A5 !important;
}

.h8-cart-wrap .h8-cart-product-code,
.h8-cart-wrap .variation,
.h8-cart-wrap .variation dt,
.h8-cart-wrap .variation dd {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 140% !important;
    color: #656462 !important;
}

.h8-cart-wrap .variation {
    margin: 0 !important;
}

.h8-cart-wrap .variation dt,
.h8-cart-wrap .variation dd,
.h8-cart-wrap .variation dd p {
    margin: 0 !important;
}

.h8-cart-wrap .h8-cart-td-price,
.h8-cart-wrap .h8-cart-td-subtotal {
    font-weight: 500 !important;
    white-space: nowrap;
}

.h8-cart-wrap .h8-qty-selector {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.h8-cart-wrap .h8-qty-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 7px !important;
    border: 1px solid #D9D9D7 !important;
    border-radius: 8px !important;
    background: #FCFCFC !important;
    color: #0631A5 !important;
    box-shadow: none !important;
}

.h8-cart-wrap .h8-qty-btn:hover {
    border-color: #0631A5 !important;
    background: #F2F6FE !important;
    color: #0631A5 !important;
}

.h8-cart-wrap .h8-qty-btn img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}

.h8-cart-wrap .h8-qty-input {
    width: 35px !important;
    height: 30px !important;
    padding: 4px !important;
    border: 0 !important;
    background: transparent !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 140% !important;
    color: #1A1A1A !important;
    text-align: center !important;
    box-shadow: none !important;
}

.h8-cart-wrap .h8-cart-remove-item {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D9D9D7;
    border-radius: 12px;
    background: #FFFFFF;
    color: #0631A5;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.h8-cart-wrap .h8-cart-remove-item:hover {
    color: #FFFFFF;
    border-color: #0631A5;
    background: #0631A5;
}

.h8-cart-wrap .h8-cart-coupon {
    display: none !important;
}

.h8-cart-wrap .h8-cart-coupon-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 12px;
}

.h8-cart-wrap .h8-cart-coupon-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: 14px;
    background: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 110%;
    color: #20201E;
    outline: none;
    box-shadow: none;
}

.h8-cart-wrap .h8-cart-coupon-input::placeholder {
    color: #747474;
}

.h8-cart-wrap .h8-cart-coupon-input:focus {
    border-color: #0631A5;
    box-shadow: 0 0 0 3px rgba(6, 49, 165, 0.1);
}

.h8-cart-wrap .h8-cart-coupon-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 12px !important;
    border: 1px solid #0631A5 !important;
    border-radius: 14px !important;
    background: #FFFFFF !important;
    color: #0631A5 !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 22px !important;
}

.h8-cart-wrap .h8-cart-coupon-btn:hover {
    background: #0631A5 !important;
    color: #FFFFFF !important;
}

.h8-cart-wrap .h8-cart-totals {
    position: sticky;
    top: 24px;
    padding: 28px 24px;
    border: 1px solid #EFEFEF;
    border-radius: 18px;
    background: #FAFCFF;
    box-shadow: none;
}

.h8-cart-wrap .h8-cart-totals-title {
    margin: 0 0 24px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    color: #20201E !important;
}

.h8-cart-wrap .h8-cart-totals-inner {
    margin-bottom: 24px;
}

.h8-cart-wrap .h8-cart-totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #D9D9D7;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 150%;
    color: #20201E;
}

.h8-cart-wrap .h8-cart-totals-row span:last-child {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.h8-cart-wrap .h8-cart-summary-note {
    margin: 16px 0 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 150%;
    color: #656462;
}

.h8-cart-wrap .h8-cart-totals-total {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #D9D9D7;
    border-bottom: 0;
    font-weight: 700;
    color: #20201E;
}

.h8-cart-wrap .h8-cart-totals-total span {
    font-weight: 700 !important;
    font-size: 18px;
}

.h8-cart-wrap .h8-cart-remove-coupon {
    color: #0631A5;
}

.h8-cart-wrap .h8-btn-checkout {
    width: 100% !important;
    height: 48px !important;
    margin-top: 0 !important;
    padding: 12px !important;
    border: 1px solid #0631A5 !important;
    border-radius: 14px !important;
    background: #0631A5 !important;
    color: #FFFFFF !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 22px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.h8-cart-wrap .h8-btn-checkout:hover {
    background: #04257D !important;
    border-color: #04257D !important;
}

.h8-cart-wrap .h8-cart-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    color: #0631A5;
    text-decoration: none;
}

.h8-cart-wrap .h8-cart-continue:hover {
    color: #04257D;
    opacity: 1;
}

.h8-cart-wrap .h8-cart-empty {
    min-height: 420px;
    padding: 64px 24px;
    border: 1px solid #EFEFEF;
    border-radius: 18px;
    background: #FAFCFF;
}

.h8-cart-wrap .h8-cart-empty p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: #656462;
}

.h8-checkout-wrap .h8-checkout-payment {
    display: none !important;
}

@media (max-width: 1320px) {
    .h8-cart-wrap {
        max-width: calc(100% - 48px);
    }
}

@media (max-width: 1024px) {
    .h8-cart-wrap .h8-cart-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 32px;
    }

    .h8-cart-wrap .h8-cart-table thead th,
    .h8-cart-wrap .h8-cart-table tbody td {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 860px) {
    .h8-cart-wrap {
        max-width: none;
        padding: 40px 16px 64px;
    }

    .h8-cart-wrap .h8-cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .h8-cart-wrap .h8-cart-totals {
        position: static;
    }

    .h8-cart-wrap .h8-cart-table-wrap {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .h8-cart-wrap .h8-cart-table,
    .h8-cart-wrap .h8-cart-table tbody,
    .h8-cart-wrap .h8-cart-table tr,
    .h8-cart-wrap .h8-cart-table td {
        display: block;
        width: 100% !important;
    }

    .h8-cart-wrap .h8-cart-table thead {
        display: none;
    }

    .h8-cart-wrap .h8-cart-table tbody tr {
        position: relative;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 16px 12px;
        padding: 16px;
        margin-bottom: 12px;
        border: 1px solid #EFEFEF !important;
        border-radius: 18px;
        background: #FFFFFF;
    }

    .h8-cart-wrap .h8-cart-table tbody td {
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .h8-cart-wrap .h8-cart-td-product {
        grid-column: 1 / -1;
        padding-right: 48px !important;
    }

    .h8-cart-wrap .h8-cart-td-price::before,
    .h8-cart-wrap .h8-cart-td-subtotal::before,
    .h8-cart-wrap .h8-cart-td-qty::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        font-family: 'DM Sans', sans-serif;
        font-weight: 500;
        font-size: 12px;
        line-height: 120%;
        color: #656462;
    }

    .h8-cart-wrap .h8-cart-td-qty {
        grid-column: 1 / -1;
    }

    .h8-cart-wrap .h8-cart-td-remove {
        position: absolute;
        top: 16px;
        right: 16px;
        width: auto !important;
    }

    .h8-cart-wrap .h8-cart-coupon {
        margin-top: 20px;
        padding-top: 20px;
    }
}

@media (max-width: 540px) {
    .h8-cart-wrap .h8-page-title {
        font-size: 28px !important;
    }

    .h8-cart-wrap .h8-cart-product-info {
        align-items: flex-start;
    }

    .h8-cart-wrap .h8-cart-product-thumb {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .h8-cart-wrap .h8-cart-product-thumb img {
        width: 52px !important;
        height: 52px !important;
    }

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

    .h8-cart-wrap .h8-cart-totals {
        padding: 24px 20px;
    }
}

/* ============================================
   Thank you visual refresh - H8/Figma standard
   ============================================ */

.h8-wrap.h8-thankyou-wrap {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
    padding: 72px 0 96px;
    background: #FFFFFF;
    font-family: 'DM Sans', 'Manrope', sans-serif;
    color: #20201E;
}

.h8-thankyou-wrap .h8-breadcrumb-detail {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #9E9E9E !important;
}

.h8-thankyou-wrap .h8-breadcrumb-detail a,
.h8-thankyou-wrap .h8-breadcrumb-detail span,
.h8-thankyou-wrap .h8-breadcrumb-detail strong {
    color: #9E9E9E !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.h8-thankyou-wrap .h8-breadcrumb-detail .h8-breadcrumb-back {
    color: #0631A5 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.h8-thankyou-wrap .h8-breadcrumb-detail strong {
    color: #0631A5 !important;
    font-weight: 600 !important;
}

.h8-thankyou-wrap .woocommerce-order,
.h8-thankyou-wrap .woocommerce-order-details,
.h8-thankyou-wrap .woocommerce-customer-details,
.h8-thankyou-wrap .wc-bacs-bank-details {
    display: none !important;
}

.h8-thankyou-wrap .h8-page-title {
    margin: 0 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 110% !important;
    color: #20201E !important;
}

.h8-thankyou-wrap .h8-thankyou-status-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid #E7EDF7;
    border-radius: 24px;
    background: linear-gradient(180deg, #FAFCFF 0%, #FFFFFF 100%);
    box-shadow: 0 18px 44px rgba(6, 49, 165, 0.06);
}

.h8-thankyou-wrap .h8-thankyou-status-error {
    border-color: #F2D9E0;
    background: linear-gradient(180deg, #FFF8FA 0%, #FFFFFF 100%);
}

.h8-thankyou-wrap .h8-thankyou-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: #0631A5;
    color: #FFFFFF;
}

.h8-thankyou-wrap .h8-thankyou-status-icon-error {
    background: #FFFFFF;
    color: #DA1C5C;
    border: 1px solid #F2D9E0;
}

.h8-thankyou-wrap .h8-thankyou-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0631A5;
}

.h8-thankyou-wrap .h8-thankyou-lead {
    margin: 12px 0 0;
    max-width: 760px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 150%;
    color: #656462;
}

.h8-thankyou-wrap .h8-thankyou-status-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    min-width: 220px;
}

.h8-thankyou-wrap .h8-thankyou-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    transition: all 0.2s ease;
}

.h8-thankyou-wrap .h8-thankyou-btn-primary {
    background: #0631A5;
    border: 1px solid #0631A5;
    color: #FFFFFF;
}

.h8-thankyou-wrap .h8-thankyou-btn-primary:hover {
    background: #04257D;
    border-color: #04257D;
    color: #FFFFFF;
}

.h8-thankyou-wrap .h8-thankyou-btn-secondary {
    background: #FFFFFF;
    border: 1px solid #D9D9D7;
    color: #0631A5;
}

.h8-thankyou-wrap .h8-thankyou-btn-secondary:hover {
    border-color: #0631A5;
    color: #04257D;
}

.h8-thankyou-wrap .h8-thankyou-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.h8-thankyou-wrap .h8-thankyou-main,
.h8-thankyou-wrap .h8-thankyou-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.h8-thankyou-wrap .h8-thankyou-card {
    padding: 32px;
    border: 1px solid #EFEFEF;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.05);
}

.h8-thankyou-wrap .h8-thankyou-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.h8-thankyou-wrap .h8-thankyou-card-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 120%;
    color: #20201E;
}

.h8-thankyou-wrap .h8-thankyou-card-count,
.h8-thankyou-wrap .h8-thankyou-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #FAFCFF;
    border: 1px solid #DDE7FA;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 120%;
    color: #0631A5;
    white-space: nowrap;
}

.h8-thankyou-wrap .h8-thankyou-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    background: transparent;
}

.h8-thankyou-wrap .h8-thankyou-info-item {
    padding: 18px;
    border: 1px solid #EFEFEF;
    border-radius: 18px;
    background: #FAFCFF;
}

.h8-thankyou-wrap .h8-thankyou-info-label {
    display: block;
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #656462;
}

.h8-thankyou-wrap .h8-thankyou-info-value {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
    color: #20201E;
    word-break: break-word;
}

.h8-thankyou-wrap .h8-thankyou-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.h8-thankyou-wrap .h8-thankyou-item-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid #EFEFEF;
    border-radius: 18px;
    background: #FAFCFF;
}

.h8-thankyou-wrap .h8-thankyou-item-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #F0F0EF;
    overflow: hidden;
}

.h8-thankyou-wrap .h8-thankyou-item-thumb img,
.h8-thankyou-wrap .h8-thankyou-item-thumb .h8-thankyou-item-thumb-img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
}

.h8-thankyou-wrap .h8-thankyou-item-name {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    color: #20201E;
}

.h8-thankyou-wrap .h8-thankyou-item-meta {
    margin-top: 10px;
}

.h8-thankyou-wrap .h8-thankyou-item-meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.h8-thankyou-wrap .h8-thankyou-item-meta li {
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid #E5E9F2;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 130%;
    color: #656462;
}

.h8-thankyou-wrap .h8-thankyou-item-meta strong,
.h8-thankyou-wrap .h8-thankyou-item-meta .wc-item-meta-label {
    color: #20201E;
    font-weight: 600;
}

.h8-thankyou-wrap .h8-thankyou-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 110px;
}

.h8-thankyou-wrap .h8-thankyou-qty-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid #D9D9D7;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
    color: #0631A5;
}

.h8-thankyou-wrap .h8-thankyou-item-total {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    color: #20201E;
}

.h8-thankyou-wrap .h8-thankyou-note-box,
.h8-thankyou-wrap .h8-thankyou-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.h8-thankyou-wrap .h8-thankyou-note-box p,
.h8-thankyou-wrap .h8-thankyou-note-panel p {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 150%;
    color: #656462;
}

.h8-thankyou-wrap .h8-thankyou-note-panel {
    margin-top: 20px;
    padding: 18px;
    border-radius: 18px;
    background: #FAFCFF;
    border: 1px solid #E5E9F2;
}

.h8-thankyou-wrap .h8-thankyou-note-label,
.h8-thankyou-wrap .h8-thankyou-contact-label {
    display: block;
    margin-bottom: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #656462;
}

.h8-thankyou-wrap .h8-thankyou-contact-row {
    padding-bottom: 14px;
    border-bottom: 1px solid #EFEFEF;
}

.h8-thankyou-wrap .h8-thankyou-contact-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.h8-thankyou-wrap .h8-thankyou-contact-row strong {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 135%;
    color: #20201E;
    word-break: break-word;
}

@media (max-width: 1320px) {
    .h8-wrap.h8-thankyou-wrap {
        max-width: calc(100% - 48px);
    }
}

@media (max-width: 1080px) {
    .h8-thankyou-wrap .h8-thankyou-status-card {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .h8-thankyou-wrap .h8-thankyou-status-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        min-width: 0;
    }

    .h8-thankyou-wrap .h8-thankyou-overview {
        grid-template-columns: 1fr;
    }

    .h8-thankyou-wrap .h8-thankyou-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .h8-wrap.h8-thankyou-wrap {
        max-width: none;
        padding: 40px 16px 64px;
    }

    .h8-thankyou-wrap .h8-page-title {
        font-size: 32px !important;
    }

    .h8-thankyou-wrap .h8-thankyou-status-card,
    .h8-thankyou-wrap .h8-thankyou-card {
        padding: 24px;
        border-radius: 20px;
    }

    .h8-thankyou-wrap .h8-thankyou-card-title {
        font-size: 24px;
    }

    .h8-thankyou-wrap .h8-thankyou-item-row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .h8-thankyou-wrap .h8-thankyou-item-side {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .h8-thankyou-wrap .h8-breadcrumb-detail {
        flex-wrap: wrap;
    }

    .h8-thankyou-wrap .h8-page-title {
        font-size: 28px !important;
    }

    .h8-thankyou-wrap .h8-thankyou-status-card {
        grid-template-columns: 1fr;
    }

    .h8-thankyou-wrap .h8-thankyou-status-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .h8-thankyou-wrap .h8-thankyou-status-actions {
        flex-direction: column;
    }

    .h8-thankyou-wrap .h8-thankyou-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .h8-thankyou-wrap .h8-thankyou-info-grid {
        grid-template-columns: 1fr;
    }

    .h8-thankyou-wrap .h8-thankyou-item-row {
        grid-template-columns: 1fr;
    }

    .h8-thankyou-wrap .h8-thankyou-item-thumb {
        width: 72px;
        height: 72px;
    }

    .h8-thankyou-wrap .h8-thankyou-item-thumb img,
    .h8-thankyou-wrap .h8-thankyou-item-thumb .h8-thankyou-item-thumb-img {
        width: 58px !important;
        height: 58px !important;
    }

    .h8-thankyou-wrap .h8-thankyou-item-side {
        flex-direction: column;
        align-items: flex-start;
    }
}
