/**
 * ThreadKing Ops Centre — My Client Products presentation.
 * Scoped to the private endpoint only. No public-shop or access logic changes.
 */

.tkso-my-client-products-page .tkso-client-products-intro {
    margin: 0 0 28px;
}

.tkso-my-client-products-page .tkso-client-products-intro h2 {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.2;
}

.tkso-my-client-products-page .tkso-client-products-intro p {
    margin: 0;
    max-width: 760px;
    opacity: .82;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    margin: 0;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products::before,
.tkso-my-client-products-page .tkso-client-account-products ul.products::after {
    display: none;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    min-width: 0;
    text-align: center;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 0 14px;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    min-height: 3.9em;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.3;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product .price {
    margin: 0;
}

@media (min-width: 769px) {
    /*
     * Astra/WooCommerce can make the My Account wrapper a two-column flex or
     * grid layout. Reset the wrapper itself, not only its children, so the
     * navigation genuinely sits above the content instead of remaining in a
     * left-hand column.
     */
    body.tkso-my-client-products-page .woocommerce,
    body.tkso-my-client-products-page .woocommerce-account .woocommerce,
    body.tkso-my-client-products-page main .woocommerce {
        display: block !important;
        grid-template-columns: none !important;
        align-items: initial !important;
    }

    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation,
    body.tkso-my-client-products-page .woocommerce-MyAccount-content {
        float: none !important;
        clear: both !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: none !important;
        grid-column: 1 / -1 !important;
    }

    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation {
        margin-top: 0 !important;
        margin-bottom: 34px !important;
    }

    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: 16px;
        background: rgba(255, 255, 255, .035);
        list-style: none;
    }

    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul li {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        border: 0 !important;
    }

    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        border: 1px solid transparent;
        border-radius: 10px;
        text-align: center;
        white-space: normal;
        line-height: 1.25;
    }

    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul li.is-active a {
        border-color: rgba(188, 1, 2, .55);
        background: #BC0102;
        color: #fff !important;
    }

    body.tkso-my-client-products-page .tkso-client-account-products ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 34px 24px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.tkso-my-client-products-page .tkso-client-account-products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/*
 * v1.8.12 desktop polish:
 * - Keep the active endpoint label readable against ThreadKing red.
 * - Use four columns on desktop-class pointer devices without changing
 *   touch-tablet or mobile layouts.
 */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul li.is-active a,
    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul li.is-active a:visited,
    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul li.is-active a:hover,
    body.tkso-my-client-products-page .woocommerce-MyAccount-navigation ul li.is-active a:focus {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }

    body.tkso-my-client-products-page .tkso-client-account-products ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px 22px;
    }
}

/* v3.12.0 client branding and account-product actions. */
.tkso-client-branding {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
}

.tkso-client-branding-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 90px;
    object-fit: contain;
}

.tkso-client-branding-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tkso-client-branding-copy strong {
    font-size: 1.2rem;
    line-height: 1.25;
}

.tkso-client-branding-copy span {
    opacity: .78;
}

.tkso-client-account-products .tkso-client-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
}

.tkso-client-account-products .tkso-client-product-actions .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
}

.tkso-client-account-products .tkso-client-request {
    border-color: #BC0102;
    background: #BC0102;
    color: #fff;
}

.tkso-client-account-products .tkso-client-request:hover,
.tkso-client-account-products .tkso-client-request:focus {
    color: #fff;
    filter: brightness(1.08);
}

@media (max-width: 600px) {
    .tkso-client-branding {
        align-items: flex-start;
        flex-direction: column;
    }

    .tkso-client-branding-logo {
        max-width: 160px;
        max-height: 80px;
    }
}

/* Product Change Request form: keep CF7 controls aligned and readable. */
.tk-product-change-form input[name="product-name"] {
    width: 100%;
}

.tk-product-change-form input[name="product-name"][readonly] {
    cursor: default;
    opacity: 1;
}

.tk-product-change-form .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    width: 100%;
}

.tk-product-change-form .wpcf7-checkbox .wpcf7-list-item,
.tk-product-change-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.tk-product-change-form .wpcf7-checkbox .wpcf7-list-item label,
.tk-product-change-form .wpcf7-acceptance .wpcf7-list-item label {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    width: 100%;
}

.tk-product-change-form .wpcf7-checkbox input[type="checkbox"],
.tk-product-change-form .wpcf7-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
}

.tk-product-change-form .wpcf7-checkbox .wpcf7-list-item-label,
.tk-product-change-form .wpcf7-acceptance .wpcf7-list-item-label {
    line-height: 1.45;
}

@media (max-width: 700px) {
    .tk-product-change-form .wpcf7-checkbox {
        grid-template-columns: 1fr;
    }
}

/* v3.12.4: keep the two-column CF7 rows aligned regardless of theme wrappers. */
.tk-product-change-form .tk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    align-items: start;
}

.tk-product-change-form .tk-form-grid > .tk-form-field,
.tk-product-change-form .tk-form-field-full,
.tk-product-change-form .wpcf7-form-control-wrap,
.tk-product-change-form input[type="text"],
.tk-product-change-form input[type="email"],
.tk-product-change-form input[type="tel"],
.tk-product-change-form textarea,
.tk-product-change-form select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.tk-product-change-form .tk-form-field label {
    display: block;
    width: 100%;
}

.tk-product-change-form .tk-field-order,
.tk-product-change-form .tk-field-product {
    min-width: 0;
}

@media (max-width: 700px) {
    .tk-product-change-form .tk-form-grid {
        grid-template-columns: 1fr;
    }
}


/* v3.12.5: consistent CF7 field rhythm and full-width product row. */
.tk-product-change-form .tk-form-grid > .tk-form-field,
.tk-product-change-form .tk-field-product {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tk-product-change-form .tk-form-grid + .tk-field-product {
    margin-top: 22px;
}

.tk-product-change-form .tk-field-order .wpcf7-form-control-wrap,
.tk-product-change-form .tk-field-product .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.tk-product-change-form .tk-field-order input,
.tk-product-change-form .tk-field-product input {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 0;
}


/* v3.12.6: neutralise Contact Form 7/theme paragraph spacing inside grid fields. */
.tk-product-change-form .tk-form-grid > .tk-form-field {
    align-self: stretch;
    margin: 0 !important;
    padding: 0 !important;
}

.tk-product-change-form .tk-form-field > p {
    display: contents;
    margin: 0 !important;
    padding: 0 !important;
}

.tk-product-change-form .tk-form-field br {
    display: none;
}

.tk-product-change-form .tk-form-field > label,
.tk-product-change-form .tk-form-field .wpcf7-form-control-wrap {
    margin: 0 !important;
}

.tk-product-change-form .tk-field-phone,
.tk-product-change-form .tk-field-order {
    justify-content: flex-start;
}

/* v3.12.7: compact client branding and approved-product cards. */
.tkso-my-client-products-page .tkso-client-branding {
    justify-content: space-between;
    gap: 24px;
    padding: 16px 20px;
}

.tkso-my-client-products-page .tkso-client-branding-copy {
    min-width: 0;
}

.tkso-my-client-products-page .tkso-client-branding-logo {
    flex: 0 0 auto;
    margin-left: auto;
    max-width: 220px;
    max-height: 100px;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products {
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
    justify-content: start;
    gap: 22px;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product {
    display: flex;
    flex-direction: column;
    align-self: start;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px !important;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product a img {
    width: 100%;
    max-height: 250px;
    aspect-ratio: 1 / 1;
    margin: 0 0 12px !important;
    object-fit: contain;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    margin: 0 0 6px !important;
    font-size: 1rem;
    -webkit-line-clamp: 2;
}

.tkso-my-client-products-page .tkso-client-account-products ul.products li.product .price {
    margin: 0 0 12px !important;
    font-size: .96rem;
}

.tkso-my-client-products-page .tkso-client-account-products .tkso-client-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
}

.tkso-my-client-products-page .tkso-client-account-products .tkso-client-product-actions .button {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: .78rem;
}

.tkso-my-client-products-page .tkso-client-account-products .tkso-client-purchase {
    grid-column: 1 / -1;
    border-color: #BC0102;
    background: #BC0102;
    color: #fff;
}

.tkso-my-client-products-page .tkso-client-account-products .tkso-client-view,
.tkso-my-client-products-page .tkso-client-account-products .tkso-client-request {
    border: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
    color: inherit;
}

.tkso-my-client-products-page .tkso-client-account-products .tkso-client-view:hover,
.tkso-my-client-products-page .tkso-client-account-products .tkso-client-view:focus,
.tkso-my-client-products-page .tkso-client-account-products .tkso-client-request:hover,
.tkso-my-client-products-page .tkso-client-account-products .tkso-client-request:focus {
    border-color: #BC0102;
    background: rgba(188, 1, 2, .12);
    color: #fff;
}

@media (max-width: 700px) {
    .tkso-my-client-products-page .tkso-client-branding {
        align-items: flex-start;
        flex-direction: column;
    }

    .tkso-my-client-products-page .tkso-client-branding-logo {
        order: -1;
        margin: 0;
        max-width: 160px;
        max-height: 84px;
    }

    .tkso-my-client-products-page .tkso-client-account-products ul.products {
        grid-template-columns: 1fr;
    }
}


/* v3.12.8: consistent ThreadKing styling across the full WooCommerce account area. */
body.tkso-account-page .woocommerce-MyAccount-navigation,
body.tkso-account-page .woocommerce-MyAccount-content {
    box-sizing: border-box;
}

body.tkso-account-page .woocommerce-MyAccount-content {
    color: inherit;
}

body.tkso-account-page .woocommerce-MyAccount-content > p:first-child,
body.tkso-account-page .woocommerce-MyAccount-content > p:nth-child(2) {
    line-height: 1.65;
}

body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-navigation ul {
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
    list-style: none;
}

body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.11);
}

body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 16px 18px;
    color: inherit;
    text-decoration: none;
    transition: background .16s ease, color .16s ease;
}

body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-navigation li a:hover,
body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-navigation li a:focus {
    background: rgba(255,255,255,.055);
    color: #fff;
}

body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-navigation li.is-active a {
    background: #BC0102;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-content {
    min-height: 280px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
}

body.tkso-account-page .woocommerce-MyAccount-content a:not(.button) {
    color: #e32425;
}

body.tkso-account-page .woocommerce-MyAccount-content .button,
body.tkso-account-page .woocommerce-MyAccount-content button.button,
body.tkso-account-page .woocommerce-MyAccount-content input.button {
    border: 1px solid #BC0102;
    border-radius: 8px;
    background: #BC0102;
    color: #fff;
}

body.tkso-account-page .woocommerce-MyAccount-content .button:hover,
body.tkso-account-page .woocommerce-MyAccount-content .button:focus,
body.tkso-account-page .woocommerce-MyAccount-content button.button:hover,
body.tkso-account-page .woocommerce-MyAccount-content button.button:focus {
    color: #fff;
    filter: brightness(1.08);
}

/* Dashboard overview. */
.tkso-account-overview {
    margin-top: 24px;
}

.tkso-account-overview-heading {
    margin-bottom: 18px;
}

.tkso-account-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #e32425;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tkso-account-overview h2 {
    margin: 0 0 7px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.tkso-account-overview p {
    margin: 0;
    opacity: .8;
}

.tkso-account-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.tkso-account-shortcut {
    display: flex;
    flex-direction: column;
    min-height: 138px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    color: inherit !important;
    text-decoration: none !important;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.tkso-account-shortcut:hover,
.tkso-account-shortcut:focus {
    border-color: rgba(188,1,2,.75);
    background: rgba(188,1,2,.08);
    transform: translateY(-1px);
}

.tkso-account-shortcut.is-featured {
    border-color: rgba(188,1,2,.45);
}

.tkso-account-shortcut-title {
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 1.03rem;
}

.tkso-account-shortcut-summary {
    opacity: .76;
    line-height: 1.45;
}

.tkso-account-shortcut-action {
    margin-top: auto;
    padding-top: 14px;
    color: #e32425;
    font-weight: 700;
    font-size: .85rem;
}

/* Remove default white WooCommerce panels throughout My Account. */
body.tkso-account-page .woocommerce-Address,
body.tkso-account-page .woocommerce-address-fields,
body.tkso-account-page .woocommerce-EditAccountForm,
body.tkso-account-page .woocommerce-form,
body.tkso-account-page .woocommerce-order-details,
body.tkso-account-page .woocommerce-customer-details,
body.tkso-account-page .woocommerce-MyAccount-paymentMethods,
body.tkso-account-page .woocommerce-table,
body.tkso-account-page .shop_table,
body.tkso-account-page fieldset {
    box-sizing: border-box;
    border-color: rgba(255,255,255,.13) !important;
    background: rgba(255,255,255,.018) !important;
    color: inherit !important;
}

body.tkso-account-page .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

body.tkso-account-page .woocommerce-Address {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 12px;
}

body.tkso-account-page .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.035) !important;
}

body.tkso-account-page .woocommerce-Address-title h2,
body.tkso-account-page .woocommerce-Address-title h3 {
    margin: 0;
    color: inherit !important;
    font-size: 1.15rem;
}

body.tkso-account-page .woocommerce-Address-title .edit {
    float: none;
    color: #e32425 !important;
    font-weight: 700;
}

body.tkso-account-page .woocommerce-Address address {
    min-height: 88px;
    margin: 0;
    padding: 18px;
    color: inherit;
    line-height: 1.65;
}

body.tkso-account-page table.shop_table,
body.tkso-account-page table.woocommerce-table,
body.tkso-account-page .woocommerce-orders-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
}

body.tkso-account-page table.shop_table th,
body.tkso-account-page table.shop_table td,
body.tkso-account-page table.woocommerce-table th,
body.tkso-account-page table.woocommerce-table td {
    padding: 14px 15px;
    border-color: rgba(255,255,255,.10) !important;
    background: transparent !important;
    color: inherit !important;
}

body.tkso-account-page table.shop_table thead th,
body.tkso-account-page table.woocommerce-table thead th {
    background: rgba(255,255,255,.04) !important;
}

body.tkso-account-page .woocommerce-MyAccount-content input.input-text,
body.tkso-account-page .woocommerce-MyAccount-content input[type="text"],
body.tkso-account-page .woocommerce-MyAccount-content input[type="email"],
body.tkso-account-page .woocommerce-MyAccount-content input[type="password"],
body.tkso-account-page .woocommerce-MyAccount-content input[type="tel"],
body.tkso-account-page .woocommerce-MyAccount-content select,
body.tkso-account-page .woocommerce-MyAccount-content textarea,
body.tkso-account-page .select2-container--default .select2-selection--single {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 8px !important;
    background: #090909 !important;
    color: #fff !important;
}

body.tkso-account-page .woocommerce-MyAccount-content input.input-text,
body.tkso-account-page .woocommerce-MyAccount-content input[type="text"],
body.tkso-account-page .woocommerce-MyAccount-content input[type="email"],
body.tkso-account-page .woocommerce-MyAccount-content input[type="password"],
body.tkso-account-page .woocommerce-MyAccount-content input[type="tel"],
body.tkso-account-page .woocommerce-MyAccount-content textarea {
    padding: 11px 13px;
}

body.tkso-account-page .woocommerce-MyAccount-content label {
    color: inherit;
    font-weight: 600;
}

body.tkso-account-page .woocommerce-MyAccount-content fieldset {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 12px;
}

body.tkso-account-page .woocommerce-MyAccount-content legend {
    padding: 0 8px;
    color: inherit;
    font-weight: 700;
}

body.tkso-account-page .woocommerce-info,
body.tkso-account-page .woocommerce-message,
body.tkso-account-page .woocommerce-error {
    border-radius: 10px;
    background: rgba(255,255,255,.04) !important;
    color: inherit !important;
}

@media (max-width: 768px) {
    body.tkso-account-page:not(.tkso-my-client-products-page) .woocommerce-MyAccount-content {
        padding: 20px;
    }

    .tkso-account-shortcuts,
    body.tkso-account-page .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .tkso-account-shortcut {
        min-height: 122px;
    }
}

/* 3.13.0 — individual product actions and public customisation form */
.tkso-single-product-action {
    box-sizing: border-box;
    margin: 22px 0 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}

.tkso-single-product-action p {
    margin: 0 0 12px;
    color: inherit;
    line-height: 1.55;
}

.tkso-single-product-action .tkso-product-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #bc0102 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.tkso-single-product-action .tkso-product-action-button:hover,
.tkso-single-product-action .tkso-product-action-button:focus {
    background: #bc0102 !important;
    color: #fff !important;
}

body.tkso-public-customisation-page .tk-selected-product-field input[readonly] {
    cursor: not-allowed;
    opacity: .92;
}

body.tkso-public-customisation-page .tk-selected-product-field {
    margin-bottom: 20px;
}


/* 3.14.0 — portal-led first-time client account activation. */
body.tkso-client-access-entry .woocommerce h2:first-of-type {
    margin-bottom: 18px;
}

.tkso-first-access {
    box-sizing: border-box;
    margin-top: 30px;
    padding: 26px;
    border: 1px solid rgba(188,1,2,.48);
    border-radius: 15px;
    background: rgba(188,1,2,.06);
}

.tkso-first-access-copy h2 {
    margin: 0 0 8px;
    color: inherit;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.tkso-first-access-copy p {
    max-width: 720px;
    margin: 0 0 20px;
    opacity: .84;
    line-height: 1.6;
}

.tkso-first-access-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    margin: 0;
}

.tkso-first-access-form .form-row {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.tkso-first-access-form input[type="email"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 8px !important;
    background: #090909 !important;
    color: #fff !important;
}

.tkso-first-access-button {
    min-height: 46px;
    white-space: nowrap;
}

.tkso-first-access-message {
    margin-top: 24px !important;
}

@media (max-width: 700px) {
    .tkso-first-access {
        padding: 21px;
    }

    .tkso-first-access-form {
        grid-template-columns: 1fr;
    }

    .tkso-first-access-button {
        width: 100%;
    }
}
