@charset "utf-8";

/* Mascot Collectibles | Forms */

/* ==========================================================================
   Form Layout
   ========================================================================== */

.form-container {
    width: 100%;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: 52px;
    align-items: start;
}

.form-side,
.form-main {
    width: 100%;
    min-width: 0;
}

.checkout-summary {
    grid-column: 2;
    grid-row: 1;
}

.checkout-main {
    grid-column: 1;
    grid-row: 1;
}

.form {
    width: 100%;
    counter-reset: form-sections;
}

/* ==========================================================================
   Form Cards
   ========================================================================== */

.form-main {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.checkout-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #ded9cf;
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(33, 29, 20, 0.05);
}

.form h3,
.checkout-card h3 {
    margin: 0 0 10px;
    color: #191815;
    font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-transform: uppercase;
}

.form-desc {
    margin: 0 0 34px;
    color: #6c685f;
    font-size: 0.95rem;
}

/* ==========================================================================
   Labels
   ========================================================================== */

.form label {
    display: block;
    margin: 0 0 6px;
    color: #24221e;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

/* ==========================================================================
   Inputs / Selects / Textareas
   ========================================================================== */

.form input:not([type="hidden"]) {
    width: 100%;
    min-height: 44px;
    margin: 0 0 18px;
    padding: 10px 12px;
    color: #191815;
    background: #ffffff;
    border: 1px solid #cec9bf;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.925rem;
    line-height: 1.4;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form input:not([type="hidden"]):hover {
    border-color: #aaa398;
}

.form input:not([type="hidden"]):focus {
    border-color: #b77900;
    box-shadow: 0 0 0 3px rgba(231, 167, 0, 0.16);
}

.form input::placeholder {
    color: #918c83;
    opacity: 1;
}

/* ==========================================================================
   Field Groups
   ========================================================================== */

.form-section {
    width: 100%;
    margin: 0 0 30px;
    padding: 0 0 28px;
    border-bottom: 1px solid #ded9cf;
    counter-increment: form-sections;
}

.form-section:last-of-type {
    margin-bottom: 24px;
}

.form-section-title {
    position: relative;
    margin: 0 0 20px;
    padding-left: 38px;
    color: #191815;
    font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 30px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.form-section-title::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #ffffff;
    background: #d99700;
    border-radius: 50%;
    content: counter(form-sections);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-row > div {
    min-width: 0;
}

.form-section > small {
    display: block;
    margin: -10px 0 18px;
    color: #6c685f;
    font-size: 0.75rem;
    line-height: 1.45;
}

/* ==========================================================================
   Order Summary
   ========================================================================== */

.checkout-meta {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 6px;
    color: #625e56;
    font-size: 0.82rem;
}

.checkout-meta strong {
    color: #191815;
}

.checkout-card hr {
    margin: 22px 0;
    background: #e2ddd4;
}

.checkout-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px 0;
    align-items: center;
    border-bottom: 1px solid #ebe7df;
    font-size: 0.875rem;
}

.checkout-item:last-of-type {
    border-bottom: 0;
}

.checkout-item strong,
.checkout-item small {
    display: block;
}

.checkout-item small {
    margin-top: 3px;
    color: #6c685f;
    font-size: 0.75rem;
}

.checkout-item > span {
    color: #191815;
    font-weight: 700;
}

.checkout-total-row {
    display: flex;
    margin-bottom: 8px;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    color: #4f4b44;
    font-size: 0.875rem;
}

.checkout-total-row strong {
    color: #191815;
}

.checkout-grand-total {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #d8d3ca;
    color: #191815;
    font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-grand-total strong {
    color: #b77900;
    font-size: 1.5rem;
}

/* ==========================================================================
   Square Payment Fields
   ========================================================================== */

.square-card-container {
    width: 100%;
    min-height: 48px;
    margin: 0 0 18px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #cec9bf;
    border-radius: 4px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.square-card-container:hover {
    border-color: #aaa398;
}

.square-card-container:focus-within {
    border-color: #b77900;
    box-shadow: 0 0 0 3px rgba(231, 167, 0, 0.16);
}

/* ==========================================================================
   Validation / Errors
   ========================================================================== */

.form .mc-msg {
    margin-bottom: 24px;
}

/* ==========================================================================
   Form Actions
   ========================================================================== */

.form > .btn {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    color: #11110f;
    background: #e7a700;
    border-color: #e7a700;
}

.form > .btn:hover {
    color: #11110f;
    background: #f0b91f;
    border-color: #f0b91f;
}

/* ==========================================================================
   Fine Print
   ========================================================================== */

.form .tiny-text {
    margin-top: 10px;
    color: #6c685f;
}

.form .tiny-text small {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* ==========================================================================
   Loading / Disabled States
   ========================================================================== */

.form > .btn:disabled {
    color: #625e56;
    background: #d9d4c9;
    border-color: #d9d4c9;
}

.form > .btn.loading {
    cursor: wait;
}
