/*
 * Lincs Lootcave OS
 * Customer Forms v1.0
 *
 * Native WooCommerce account-form presentation.
 *
 * Scope:
 * - Login
 * - Registration
 * - Lost password
 * - Password reset
 * - Edit account
 * - Edit billing / shipping address
 *
 * This file deliberately avoids cart, checkout and product forms.
 */


/* ==========================================================
   TOKENS
========================================================== */

body.ll-customer-forms {
    --llcf-bg: #080c13;
    --llcf-surface: #101621;
    --llcf-surface-soft: #151c29;

    --llcf-text: #f6f7fb;
    --llcf-muted: #aab1c0;

    --llcf-gold: #d4af37;
    --llcf-gold-soft: #f0d879;

    --llcf-purple: #7650a7;
    --llcf-green: #8aff00;

    --llcf-border: rgba(212, 175, 55, .22);
    --llcf-border-soft: rgba(255, 255, 255, .08);

    --llcf-danger: #ff7b82;
    --llcf-success: #9df7b4;

    --llcf-radius: 18px;
    --llcf-radius-field: 14px;
}


/* ==========================================================
   FORM SURFACES
========================================================== */

body.ll-customer-forms
.woocommerce
form.woocommerce-form-login,

body.ll-customer-forms
.woocommerce
form.woocommerce-form-register,

body.ll-customer-forms
.woocommerce
form.lost_reset_password,

body.ll-customer-forms
.woocommerce
form.woocommerce-ResetPassword,

body.ll-customer-forms
.woocommerce
form.woocommerce-EditAccountForm,

body.ll-customer-forms.ll-account-endpoint-edit-address
.woocommerce-MyAccount-content
form {
    position: relative;

    margin: 0;
    padding:
        clamp(20px, 3vw, 30px);

    border:
        1px solid
        var(--llcf-border);

    border-radius:
        22px;

    background:
        radial-gradient(
            circle at top right,
            rgba(118, 80, 167, .10),
            transparent 34%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(138, 255, 0, .035),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            rgba(21, 28, 41, .98),
            rgba(8, 12, 19, .985)
        );

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .30),
        inset 0 1px 0 rgba(255, 255, 255, .035);

    color:
        var(--llcf-text);
}


/* subtle top crystal line */

body.ll-customer-forms
.woocommerce
form.woocommerce-form-login::before,

body.ll-customer-forms
.woocommerce
form.woocommerce-form-register::before,

body.ll-customer-forms
.woocommerce
form.lost_reset_password::before,

body.ll-customer-forms
.woocommerce
form.woocommerce-ResetPassword::before,

body.ll-customer-forms
.woocommerce
form.woocommerce-EditAccountForm::before,

body.ll-customer-forms.ll-account-endpoint-edit-address
.woocommerce-MyAccount-content
form::before {
    content: "";

    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(118, 80, 167, .52),
            rgba(212, 175, 55, .72),
            rgba(138, 255, 0, .30),
            transparent
        );

    pointer-events: none;
}


/* ==========================================================
   LOGIN / REGISTER LAYOUT
========================================================== */

body.ll-customer-forms
#customer_login {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        clamp(18px, 3vw, 32px);

    align-items: start;
}


body.ll-customer-forms
#customer_login > .col-1,

body.ll-customer-forms
#customer_login > .col-2 {
    float: none;
    width: auto;
}


body.ll-customer-forms
#customer_login h2 {
    margin:
        0 0 14px;

    color:
        var(--llcf-text);

    font-size:
        clamp(1.4rem, 2vw, 1.8rem);

    line-height:
        1.15;
}


/* ==========================================================
   GENERAL COPY
========================================================== */

body.ll-customer-forms
.woocommerce
form p,

body.ll-customer-forms
.woocommerce
form .woocommerce-form-row {
    color:
        var(--llcf-muted);
}


body.ll-customer-forms
.woocommerce
form > p:first-child {
    margin-top: 0;
}


body.ll-customer-forms
.woocommerce
form a {
    color:
        var(--llcf-gold-soft);

    font-weight:
        750;

    text-decoration-color:
        rgba(212, 175, 55, .38);

    text-underline-offset:
        3px;
}


body.ll-customer-forms
.woocommerce
form a:hover {
    color:
        #fff0a7;
}


/* ==========================================================
   FIELD ROWS
========================================================== */

body.ll-customer-forms
.woocommerce
.form-row {
    margin:
        0 0 18px;

    padding: 0;
}


body.ll-customer-forms
.woocommerce
.form-row-first,

body.ll-customer-forms
.woocommerce
.form-row-last {
    width:
        calc(50% - 7px);
}


body.ll-customer-forms
.woocommerce
.form-row-first {
    float: left;
}


body.ll-customer-forms
.woocommerce
.form-row-last {
    float: right;
}


/* ==========================================================
   LABELS
========================================================== */

body.ll-customer-forms
.woocommerce
.form-row label,

body.ll-customer-forms
.woocommerce
fieldset legend {
    display: block;

    margin:
        0 0 8px;

    color:
        var(--llcf-gold-soft);

    font-size:
        12px;

    font-weight:
        900;

    line-height:
        1.35;

    letter-spacing:
        .075em;

    text-transform:
        uppercase;
}


body.ll-customer-forms
.woocommerce
.form-row
.required {
    color:
        #ff9ca3;

    text-decoration: none;
}


/* ==========================================================
   TEXT INPUTS / SELECTS / TEXTAREAS
========================================================== */

body.ll-customer-forms
.woocommerce
input.input-text,

body.ll-customer-forms
.woocommerce
input[type="text"],

body.ll-customer-forms
.woocommerce
input[type="email"],

body.ll-customer-forms
.woocommerce
input[type="password"],

body.ll-customer-forms
.woocommerce
input[type="tel"],

body.ll-customer-forms
.woocommerce
select,

body.ll-customer-forms
.woocommerce
textarea {
    width: 100%;

    min-height:
        50px;

    box-sizing:
        border-box;

    margin: 0;

    padding:
        12px 14px;

    border:
        1px solid
        rgba(212, 175, 55, .24);

    border-radius:
        var(--llcf-radius-field);

    outline: none;

    background:
        linear-gradient(
            180deg,
            rgba(6, 10, 16, .98),
            rgba(11, 16, 25, .98)
        );

    color:
        var(--llcf-text);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        inset 0 8px 18px rgba(0, 0, 0, .12);

    font: inherit;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


body.ll-customer-forms
.woocommerce
textarea {
    min-height:
        130px;

    resize:
        vertical;
}


body.ll-customer-forms
.woocommerce
input::placeholder,

body.ll-customer-forms
.woocommerce
textarea::placeholder {
    color:
        #747d8f;

    opacity: 1;
}


/* Hover */

body.ll-customer-forms
.woocommerce
input.input-text:hover,

body.ll-customer-forms
.woocommerce
input[type="text"]:hover,

body.ll-customer-forms
.woocommerce
input[type="email"]:hover,

body.ll-customer-forms
.woocommerce
input[type="password"]:hover,

body.ll-customer-forms
.woocommerce
input[type="tel"]:hover,

body.ll-customer-forms
.woocommerce
select:hover,

body.ll-customer-forms
.woocommerce
textarea:hover {
    border-color:
        rgba(212, 175, 55, .42);
}


/* Focus */

body.ll-customer-forms
.woocommerce
input.input-text:focus,

body.ll-customer-forms
.woocommerce
input[type="text"]:focus,

body.ll-customer-forms
.woocommerce
input[type="email"]:focus,

body.ll-customer-forms
.woocommerce
input[type="password"]:focus,

body.ll-customer-forms
.woocommerce
input[type="tel"]:focus,

body.ll-customer-forms
.woocommerce
select:focus,

body.ll-customer-forms
.woocommerce
textarea:focus {
    border-color:
        var(--llcf-gold);

    background:
        #090e16;

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, .11),
        0 0 22px rgba(118, 80, 167, .08),
        inset 0 1px 0 rgba(255, 255, 255, .03);
}


/* ==========================================================
   VALID / INVALID FIELDS
========================================================== */

body.ll-customer-forms
.woocommerce
.form-row.woocommerce-invalid
input.input-text,

body.ll-customer-forms
.woocommerce
.form-row.woocommerce-invalid
select {
    border-color:
        rgba(255, 123, 130, .70);

    box-shadow:
        0 0 0 3px rgba(255, 123, 130, .09);
}


body.ll-customer-forms
.woocommerce
.form-row.woocommerce-validated
input.input-text,

body.ll-customer-forms
.woocommerce
.form-row.woocommerce-validated
select {
    border-color:
        rgba(157, 247, 180, .42);
}


/* ==========================================================
   PASSWORD FIELD
========================================================== */

body.ll-customer-forms
.woocommerce
.password-input {
    display: block;
    position: relative;
}


body.ll-customer-forms
.woocommerce
.password-input
input {
    padding-right:
        46px;
}


body.ll-customer-forms
.woocommerce
.show-password-input {
    position: absolute;

    top: 50%;
    right: 14px;

    transform:
        translateY(-50%);

    color:
        var(--llcf-gold-soft);

    opacity:
        .78;

    cursor: pointer;
}


body.ll-customer-forms
.woocommerce
.show-password-input:hover {
    opacity: 1;
}


/* ==========================================================
   SELECT2 — COUNTRY / REGION
========================================================== */

body.ll-customer-forms
.woocommerce
.select2-container {
    width:
        100% !important;
}


body.ll-customer-forms
.woocommerce
.select2-container
.select2-selection--single {
    height:
        50px;

    border:
        1px solid
        rgba(212, 175, 55, .24);

    border-radius:
        var(--llcf-radius-field);

    background:
        linear-gradient(
            180deg,
            rgba(6, 10, 16, .98),
            rgba(11, 16, 25, .98)
        );

    color:
        var(--llcf-text);
}


body.ll-customer-forms
.woocommerce
.select2-container
.select2-selection--single
.select2-selection__rendered {
    padding:
        10px 42px 10px 14px;

    color:
        var(--llcf-text);

    line-height:
        28px;
}


body.ll-customer-forms
.woocommerce
.select2-container
.select2-selection--single
.select2-selection__arrow {
    top:
        12px;

    right:
        10px;
}


/* ==========================================================
   FIELDSETS — PASSWORD CHANGE ETC
========================================================== */

body.ll-customer-forms
.woocommerce
fieldset {
    margin:
        26px 0 20px;

    padding:
        20px;

    border:
        1px solid
        var(--llcf-border-soft);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, .022);
}


body.ll-customer-forms
.woocommerce
fieldset legend {
    width: auto;

    padding:
        0 8px;

    color:
        var(--llcf-gold-soft);
}


/* ==========================================================
   CHECKBOXES
========================================================== */

body.ll-customer-forms
.woocommerce
input[type="checkbox"] {
    width:
        18px;

    height:
        18px;

    margin:
        0 7px 0 0;

    accent-color:
        var(--llcf-gold);

    vertical-align:
        -3px;
}


body.ll-customer-forms
.woocommerce
.woocommerce-form-login__rememberme {
    display:
        inline-flex;

    align-items:
        center;

    color:
        var(--llcf-muted);

    font-weight:
        700;
}


/* ==========================================================
   BUTTONS
========================================================== */

body.ll-customer-forms
.woocommerce
button.button,

body.ll-customer-forms
.woocommerce
input.button,

body.ll-customer-forms
.woocommerce
.woocommerce-Button {
    min-height:
        48px;

    padding:
        11px 21px !important;

    border:
        1px solid
        rgba(255, 255, 255, .16) !important;

    border-radius:
        14px !important;

    background:
        linear-gradient(
            135deg,
            #f0d879,
            #d4af37 56%,
            #b88920
        ) !important;

    color:
        #090b0f !important;

    box-shadow:
        0 13px 28px rgba(212, 175, 55, .16),
        inset 0 1px 0 rgba(255, 255, 255, .32);

    font-size:
        14px !important;

    font-weight:
        950 !important;

    line-height:
        1.2 !important;

    letter-spacing:
        .015em;

    text-shadow:
        none;

    cursor:
        pointer;

    transition:
        transform .16s ease,
        filter .16s ease,
        box-shadow .16s ease;
}


body.ll-customer-forms
.woocommerce
button.button:hover,

body.ll-customer-forms
.woocommerce
input.button:hover,

body.ll-customer-forms
.woocommerce
.woocommerce-Button:hover {
    transform:
        translateY(-1px);

    filter:
        brightness(1.045);

    box-shadow:
        0 17px 34px rgba(212, 175, 55, .21),
        0 0 20px rgba(118, 80, 167, .09);
}


body.ll-customer-forms
.woocommerce
button.button:focus-visible,

body.ll-customer-forms
.woocommerce
input.button:focus-visible {
    outline:
        2px solid
        var(--llcf-gold-soft);

    outline-offset:
        3px;
}


/* ==========================================================
   LOGIN ACTION ROW
========================================================== */

body.ll-customer-forms
.woocommerce
.woocommerce-form-login
.woocommerce-form-login__submit {
    margin:
        0 12px 0 0;
}


body.ll-customer-forms
.woocommerce
.woocommerce-LostPassword {
    margin:
        17px 0 0;
}


/* ==========================================================
   ACCOUNT FORM HELP TEXT
========================================================== */

body.ll-customer-forms
.woocommerce
em,

body.ll-customer-forms
.woocommerce
.form-row span.description {
    color:
        var(--llcf-muted);

    font-size:
        12px;

    line-height:
        1.5;
}


/* ==========================================================
   WOOCOMMERCE NOTICES — ACCOUNT SCOPE ONLY
========================================================== */

body.ll-customer-forms
.woocommerce-message,

body.ll-customer-forms
.woocommerce-info,

body.ll-customer-forms
.woocommerce-error {
    margin:
        0 0 20px !important;

    padding:
        15px 18px 15px 48px !important;

    border:
        1px solid
        var(--llcf-border) !important;

    border-top:
        1px solid
        var(--llcf-border) !important;

    border-radius:
        16px !important;

    background:
        linear-gradient(
            145deg,
            rgba(21, 28, 41, .98),
            rgba(8, 12, 19, .98)
        ) !important;

    color:
        var(--llcf-text) !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .20);
}


body.ll-customer-forms
.woocommerce-message::before,

body.ll-customer-forms
.woocommerce-info::before {
    color:
        var(--llcf-gold-soft) !important;
}


body.ll-customer-forms
.woocommerce-error {
    border-color:
        rgba(255, 123, 130, .36) !important;
}


body.ll-customer-forms
.woocommerce-error::before {
    color:
        var(--llcf-danger) !important;
}


body.ll-customer-forms
.woocommerce-message a,

body.ll-customer-forms
.woocommerce-info a,

body.ll-customer-forms
.woocommerce-error a {
    color:
        var(--llcf-gold-soft) !important;
}


/* ==========================================================
   ADDRESS FORM HEADINGS
========================================================== */

body.ll-customer-forms
.woocommerce-address-fields
h2,

body.ll-customer-forms
.woocommerce-EditAccountForm
h2,

body.ll-customer-forms
.woocommerce-ResetPassword
h2 {
    color:
        var(--llcf-text);
}


/* ==========================================================
   CLEARFIX
========================================================== */

body.ll-customer-forms
.woocommerce
.form-row-wide {
    clear: both;
}


body.ll-customer-forms
.woocommerce
form::after {
    content: "";
    display: table;
    clear: both;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 782px) {

    body.ll-customer-forms
    #customer_login {
        grid-template-columns:
            1fr;

        gap:
            18px;
    }


    body.ll-customer-forms
    .woocommerce
    .form-row-first,

    body.ll-customer-forms
    .woocommerce
    .form-row-last {
        float: none;

        width:
            100%;
    }


    body.ll-customer-forms
    .woocommerce
    form.woocommerce-form-login,

    body.ll-customer-forms
    .woocommerce
    form.woocommerce-form-register,

    body.ll-customer-forms
    .woocommerce
    form.lost_reset_password,

    body.ll-customer-forms
    .woocommerce
    form.woocommerce-ResetPassword,

    body.ll-customer-forms
    .woocommerce
    form.woocommerce-EditAccountForm,

    body.ll-customer-forms.ll-account-endpoint-edit-address
    .woocommerce-MyAccount-content
    form {
        padding:
            18px 15px;

        border-radius:
            18px;
    }


    body.ll-customer-forms
    .woocommerce
    input.input-text,

    body.ll-customer-forms
    .woocommerce
    input[type="text"],

    body.ll-customer-forms
    .woocommerce
    input[type="email"],

    body.ll-customer-forms
    .woocommerce
    input[type="password"],

    body.ll-customer-forms
    .woocommerce
    input[type="tel"],

    body.ll-customer-forms
    .woocommerce
    select,

    body.ll-customer-forms
    .woocommerce
    textarea {
        font-size:
            16px;
    }


    body.ll-customer-forms
    .woocommerce
    fieldset {
        padding:
            16px 13px;
    }


    body.ll-customer-forms
    .woocommerce
    button.button,

    body.ll-customer-forms
    .woocommerce
    input.button,

    body.ll-customer-forms
    .woocommerce
    .woocommerce-Button {
        width:
            100%;

        justify-content:
            center;

        text-align:
            center;
    }


    body.ll-customer-forms
    .woocommerce
    .woocommerce-form-login__rememberme {
        margin:
            0 0 14px;
    }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    body.ll-customer-forms
    .woocommerce
    input,

    body.ll-customer-forms
    .woocommerce
    select,

    body.ll-customer-forms
    .woocommerce
    textarea,

    body.ll-customer-forms
    .woocommerce
    button {
        transition:
            none !important;
    }
}


/* ==========================================================
   Customer Forms v1.1 — Account polish
   ========================================================== */


/* ----------------------------------------------------------
   Logged-out Login / Register layout
   WooCommerce's native col-1 / col-2 floats must not survive
   inside our grid.
   ---------------------------------------------------------- */

body.ll-customer-forms
#customer_login {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;
    gap:
        clamp(22px, 3vw, 34px) !important;
    align-items: start !important;
}


body.ll-customer-forms
#customer_login > .u-column1,

body.ll-customer-forms
#customer_login > .u-column2,

body.ll-customer-forms
#customer_login > .col-1,

body.ll-customer-forms
#customer_login > .col-2 {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}


body.ll-customer-forms
#customer_login > .u-column1,

body.ll-customer-forms
#customer_login > .col-1 {
    grid-column: 1 !important;
}


body.ll-customer-forms
#customer_login > .u-column2,

body.ll-customer-forms
#customer_login > .col-2 {
    grid-column: 2 !important;
}


body.ll-customer-forms
#customer_login h2 {
    margin:
        0 0 12px !important;

    color:
        var(--llcf-text) !important;
}


/* ----------------------------------------------------------
   Edit Address heading
   ---------------------------------------------------------- */

body.ll-customer-forms
.woocommerce-MyAccount-content
> form
> h2,

body.ll-customer-forms
.woocommerce-MyAccount-content
.woocommerce-address-fields
h2 {
    margin:
        0 0 22px !important;

    color:
        var(--llcf-text) !important;

    font-size:
        clamp(1.75rem, 3vw, 2.35rem) !important;

    line-height:
        1.1 !important;
}


/* ----------------------------------------------------------
   Address overview
   ---------------------------------------------------------- */

body.ll-customer-forms
.woocommerce-Addresses {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap:
        18px !important;

    margin-top:
        18px !important;
}


body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address {
    float: none !important;
    width: auto !important;

    position: relative;

    padding:
        22px !important;

    border:
        1px solid
        var(--llcf-border) !important;

    border-radius:
        20px !important;

    background:
        radial-gradient(
            circle at top right,
            rgba(118, 80, 167, .08),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(18, 24, 35, .98),
            rgba(7, 11, 17, .98)
        ) !important;

    box-shadow:
        0 16px 40px rgba(0, 0, 0, .22) !important;
}


body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address-title {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap:
        14px !important;

    margin-bottom:
        16px !important;
}


body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address-title
h2 {
    float: none !important;

    margin:
        0 !important;

    color:
        var(--llcf-text) !important;

    font-size:
        clamp(1.25rem, 2vw, 1.55rem) !important;

    line-height:
        1.2 !important;
}


body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address-title
.edit {
    float: none !important;

    flex:
        0 0 auto;

    padding:
        8px 12px;

    border:
        1px solid
        rgba(212, 175, 55, .30);

    border-radius:
        999px;

    background:
        rgba(212, 175, 55, .06);

    color:
        var(--llcf-gold-soft) !important;

    font-size:
        12px;

    font-weight:
        900;

    text-decoration:
        none !important;
}


body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address-title
.edit:hover {
    background:
        rgba(212, 175, 55, .12);
}


body.ll-customer-forms
.woocommerce-Addresses
address {
    margin:
        0 !important;

    color:
        var(--llcf-muted) !important;

    font-style:
        normal !important;

    font-size:
        14px;

    line-height:
        1.7;
}


/* ----------------------------------------------------------
   Chrome / Safari autofill
   Prevent bright white browser autofill fields.
   ---------------------------------------------------------- */

body.ll-customer-forms
.woocommerce
input:-webkit-autofill,

body.ll-customer-forms
.woocommerce
input:-webkit-autofill:hover,

body.ll-customer-forms
.woocommerce
input:-webkit-autofill:focus,

body.ll-customer-forms
.woocommerce
textarea:-webkit-autofill,

body.ll-customer-forms
.woocommerce
select:-webkit-autofill {
    -webkit-text-fill-color:
        var(--llcf-text) !important;

    caret-color:
        var(--llcf-text) !important;

    -webkit-box-shadow:
        0 0 0 1000px #111722 inset !important;

    box-shadow:
        0 0 0 1000px #111722 inset !important;

    border-color:
        rgba(212, 175, 55, .38) !important;

    transition:
        background-color 9999s ease-out 0s;
}


/* ----------------------------------------------------------
   Stronger invalid-field treatment
   ---------------------------------------------------------- */

body.ll-customer-forms
.woocommerce
.form-row.woocommerce-invalid
input.input-text,

body.ll-customer-forms
.woocommerce
.form-row.woocommerce-invalid
select,

body.ll-customer-forms
.woocommerce
.form-row.woocommerce-invalid
textarea {
    border-color:
        rgba(255, 123, 130, .78) !important;

    box-shadow:
        0 0 0 3px rgba(255, 123, 130, .10) !important;
}


body.ll-customer-forms
.woocommerce-error {
    border-color:
        rgba(255, 85, 92, .45) !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .20),
        inset 3px 0 0 rgba(255, 85, 92, .72) !important;
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 782px) {

    body.ll-customer-forms
    #customer_login {
        grid-template-columns:
            1fr !important;
    }


    body.ll-customer-forms
    #customer_login > .u-column1,

    body.ll-customer-forms
    #customer_login > .u-column2,

    body.ll-customer-forms
    #customer_login > .col-1,

    body.ll-customer-forms
    #customer_login > .col-2 {
        grid-column:
            1 !important;
    }


    body.ll-customer-forms
    .woocommerce-Addresses {
        grid-template-columns:
            1fr !important;
    }


    body.ll-customer-forms
    .woocommerce-Addresses
    .woocommerce-Address-title {
        align-items:
            flex-start !important;
    }
}
/* ==========================================================
   Customer Forms v1.2 — Address alignment
   Force WooCommerce address columns to behave as true grid items.
   ========================================================== */

body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address,

body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address.col-1,

body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address.col-2,

body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address.u-column1,

body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address.u-column2 {
    float: none !important;
    clear: none !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;

    grid-column: auto !important;
    grid-row: auto !important;
}


/* Explicitly place Billing first, Shipping second */

body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address:first-child {
    grid-column: 1 !important;
}


body.ll-customer-forms
.woocommerce-Addresses
.woocommerce-Address:nth-child(2) {
    grid-column: 2 !important;
}


/* Mobile returns to normal single-column flow */

@media (max-width: 782px) {

    body.ll-customer-forms
    .woocommerce-Addresses
    .woocommerce-Address:first-child,

    body.ll-customer-forms
    .woocommerce-Addresses
    .woocommerce-Address:nth-child(2) {
        grid-column: 1 !important;
    }
}
/* ==========================================================
   Customer Forms v1.3 — Order received headings
   ========================================================== */

/*
 * WooCommerce thank-you / order received page headings.
 *
 * The surrounding page already uses the Lootcave dark surface,
 * but WooCommerce/theme defaults can leave these headings almost
 * black and therefore unreadable.
 */

body.woocommerce-order-received
.woocommerce-order
> h1,

body.woocommerce-order-received
.woocommerce-order
> h2,

body.woocommerce-order-received
.woocommerce-order
.woocommerce-order-details__title,

body.woocommerce-order-received
.woocommerce-order
.woocommerce-column__title,

body.woocommerce-order-received
.woocommerce-order
.woocommerce-customer-details
h2,

body.woocommerce-order-received
.woocommerce-order
.woocommerce-order-details
h2 {
    color:
        var(--llcf-gold-soft, #f0d879) !important;

    text-shadow:
        0 1px 0 rgba(0, 0, 0, .45);

    opacity:
        1 !important;
}


/* Primary page title */

body.woocommerce-order-received
.woocommerce-order
> h1 {
    margin:
        0 0 22px !important;

    font-size:
        clamp(2rem, 4vw, 3.2rem) !important;

    line-height:
        1.05 !important;
}


/* Section headings */

body.woocommerce-order-received
.woocommerce-order
.woocommerce-order-details__title,

body.woocommerce-order-received
.woocommerce-order
.woocommerce-column__title,

body.woocommerce-order-received
.woocommerce-order
.woocommerce-customer-details
h2,

body.woocommerce-order-received
.woocommerce-order
.woocommerce-order-details
h2 {
    margin:
        22px 0 14px !important;

    font-size:
        clamp(1.35rem, 2.2vw, 1.75rem) !important;

    line-height:
        1.2 !important;
}


/* Keep address headings aligned with their cards */

body.woocommerce-order-received
.woocommerce-customer-details
.woocommerce-column__title {
    margin-bottom:
        12px !important;
}
/* ==========================================================
   Customer Forms v1.4 — WooCommerce order heading ownership

   Covers both:
   - Block-based Order Received / Thank You page
   - Classic My Account > View Order page
   ========================================================== */


/* ----------------------------------------------------------
   ORDER RECEIVED — WooCommerce Blocks
   ---------------------------------------------------------- */

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-status
> h1,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-status
> .wp-block-heading,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals-wrapper
h2,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals-wrapper
.wp-block-heading,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-shipping-wrapper
h2,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-shipping-wrapper
.wp-block-heading,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-billing-wrapper
h2,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-billing-wrapper
.wp-block-heading {
    color:
        var(--llcf-gold-soft, #f0d879) !important;

    opacity:
        1 !important;

    text-shadow:
        0 1px 0 rgba(0, 0, 0, .45) !important;
}


/* Main "Order received" heading */

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-status
> h1,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-status
> .wp-block-heading {
    margin:
        0 0 22px !important;

    font-size:
        clamp(2rem, 4vw, 3rem) !important;

    line-height:
        1.08 !important;
}


/* Order details / Shipping / Billing headings */

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-totals-wrapper
.wp-block-heading,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-shipping-wrapper
.wp-block-heading,

body.ll-customer-forms.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-billing-wrapper
.wp-block-heading {
    margin:
        22px 0 14px !important;

    font-size:
        clamp(1.35rem, 2.2vw, 1.75rem) !important;

    line-height:
        1.2 !important;
}


/* ----------------------------------------------------------
   MY ACCOUNT > VIEW ORDER — classic WooCommerce markup
   ---------------------------------------------------------- */

body.ll-customer-forms
.woocommerce-MyAccount-content
.woocommerce-order-details__title,

body.ll-customer-forms
.woocommerce-MyAccount-content
.woocommerce-column__title {
    color:
        var(--llcf-gold-soft, #f0d879) !important;

    opacity:
        1 !important;

    text-shadow:
        0 1px 0 rgba(0, 0, 0, .45) !important;

    font-size:
        clamp(1.35rem, 2.2vw, 1.75rem) !important;

    line-height:
        1.2 !important;
}


body.ll-customer-forms
.woocommerce-MyAccount-content
.woocommerce-order-details__title {
    margin:
        22px 0 14px !important;
}


body.ll-customer-forms
.woocommerce-MyAccount-content
.woocommerce-column__title {
    margin:
        20px 0 12px !important;
}
