.fjv-order {
    --fjv-black: #1a1a1a;
    --fjv-gold: #f5b800;
    --fjv-muted: #4b5563;
    --fjv-soft: #f5f2ed;
    --fjv-border: #e5e7eb;
    --fjv-light-text: #9ca3af;
    color: var(--fjv-black);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fjv-order *,
.fjv-order *::before,
.fjv-order *::after {
    box-sizing: border-box;
}

.fjv-order-form {
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 800px) minmax(300px, 384px);
    margin: 0 auto;
    max-width: 1216px;
}

.fjv-order-main,
.fjv-order-products,
.fjv-regular-products {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fjv-regular-products {
    gap: 16px;
}

.fjv-product,
.fjv-customer-card,
.fjv-summary {
    background: #fff;
    border: 1px solid var(--fjv-border);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.fjv-product {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
}

.fjv-product-featured {
    padding: 24px;
}

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

.fjv-product-featured .fjv-product-info {
    align-items: flex-start;
}

.fjv-product-icon {
    align-items: center;
    background: var(--fjv-soft);
    border: 1px solid var(--fjv-border);
    border-radius: 12px;
    display: flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    overflow: hidden;
    width: 48px;
}

.fjv-product-featured .fjv-product-icon {
    background: var(--fjv-black);
    border-radius: 999px;
    flex-basis: 32px;
    height: 32px;
    width: 32px;
}

.fjv-product-icon img {
    display: block;
    object-fit: contain;
}

.fjv-static-product-icon {
    max-height: 18px;
    max-width: 30px;
    object-fit: contain;
    width: auto;
}

.fjv-product-icon .fjv-static-product-icon {
    height: auto;
    width: auto;
}

.fjv-product-icon span {
    background: var(--fjv-black);
    clip-path: polygon(0 100%, 100% 100%, 0 35%);
    display: block;
    height: 18px;
    width: 26px;
}

.fjv-product-featured .fjv-product-icon span {
    background: var(--fjv-gold);
    clip-path: none;
    height: 14px;
    position: relative;
    width: 14px;
}

.fjv-product-featured .fjv-product-icon span::before,
.fjv-product-featured .fjv-product-icon span::after {
    background: var(--fjv-black);
    content: "";
    height: 1px;
    left: 2px;
    position: absolute;
    right: 2px;
}

.fjv-product-featured .fjv-product-icon span::before {
    top: 5px;
}

.fjv-product-featured .fjv-product-icon span::after {
    top: 9px;
}

.fjv-product h3,
.fjv-summary h2,
.fjv-card-header h2 {
    margin: 0;
}

.fjv-product h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.fjv-product-featured h3 {
    font-size: 20px;
    line-height: 28px;
}

.fjv-product p {
    color: var(--fjv-muted);
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

.fjv-product-featured p {
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
}

.fjv-product-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fjv-badge,
.fjv-summary-header span {
    background: var(--fjv-gold);
    border-radius: 999px;
    color: var(--fjv-black);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
    padding: 2px 8px;
}

.fjv-price {
    align-items: baseline;
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.fjv-price strong {
    font-size: 24px;
    line-height: 32px;
}

.fjv-price span {
    color: var(--fjv-light-text);
    font-size: 14px;
}

.fjv-quantity {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

.fjv-quantity button {
    align-items: center;
    border: 1px solid var(--fjv-border);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 48px;
}

.fjv-quantity button:first-child {
    background: var(--fjv-soft);
    color: var(--fjv-black);
}

.fjv-quantity button:last-child {
    background: var(--fjv-black);
    border-color: var(--fjv-black);
    color: var(--fjv-gold);
}

.fjv-quantity input {
    appearance: textfield;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--fjv-border);
    border-radius: 0;
    color: var(--fjv-black);
    font-size: 18px;
    font-weight: 700;
    height: 48px;
    padding: 0;
    text-align: center;
    width: 80px;
}

.fjv-quantity input::-webkit-inner-spin-button,
.fjv-quantity input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.fjv-divider {
    align-items: center;
    color: var(--fjv-light-text);
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 16px;
    letter-spacing: 1.4px;
    line-height: 20px;
    text-transform: uppercase;
}

.fjv-divider::before,
.fjv-divider::after {
    background: var(--fjv-border);
    content: "";
    flex: 1;
    height: 1px;
}

.fjv-customer-card {
    overflow: hidden;
}

.fjv-card-header,
.fjv-summary-header {
    background: var(--fjv-black);
    color: #fff;
    padding: 24px;
}

.fjv-card-header h2,
.fjv-summary-header h2 {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 20px;
    font-weight: 700;
    gap: 8px;
    line-height: 28px;
}

.fjv-heading-icon {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.fjv-heading-icon-customer {
    height: 18px;
    width: 23px;
}

.fjv-heading-icon-summary {
    height: 18px;
    width: 14px;
}

.fjv-card-header p {
    color: var(--fjv-light-text);
    font-size: 14px;
    line-height: 20px;
    margin: 4px 0 0;
}

.fjv-customer-fields {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
}

.fjv-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fjv-wide {
    grid-column: 1 / -1;
}

.fjv-field span {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.fjv-field input,
.fjv-field textarea {
    background: var(--fjv-soft);
    border: 1px solid var(--fjv-border);
    border-radius: 12px;
    color: var(--fjv-black);
    font: inherit;
    font-size: 16px;
    line-height: 20px;
    min-height: 48px;
    padding: 13px 16px;
    width: 100%;
}

.fjv-field textarea {
    min-height: 96px;
    resize: vertical;
}

.fjv-field input::placeholder,
.fjv-field textarea::placeholder {
    color: #a2adbd;
}

.fjv-honeypot {
    height: 0;
    left: -9999px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 0;
}

.fjv-terms {
    align-items: flex-start;
    color: var(--fjv-muted);
    display: flex;
    font-size: 14px;
    gap: 12px;
    line-height: 20px;
    padding: 0 24px 24px;
}

.fjv-terms input {
    flex: 0 0 20px;
    height: 20px;
    margin: 0;
    width: 20px;
}

.fjv-terms a,
.fjv-terms-text {
    color: var(--fjv-black);
    font-weight: 500;
    text-decoration: underline;
}

.fjv-summary {
    overflow: hidden;
    position: sticky;
    top: 24px;
}

.fjv-summary-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.fjv-summary-header h2 {
    font-size: 18px;
}

.fjv-summary-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.fjv-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fjv-summary-line {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.fjv-summary-line strong,
.fjv-summary-line > span {
    color: var(--fjv-black);
    font-size: 14px;
    line-height: 20px;
}

.fjv-summary-line strong {
    display: block;
}

.fjv-summary-line span {
    color: var(--fjv-light-text);
    display: block;
    font-size: 12px;
    line-height: 16px;
}

.fjv-summary-totals {
    border-top: 1px solid var(--fjv-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
}

.fjv-summary-totals div {
    align-items: center;
    color: var(--fjv-muted);
    display: flex;
    font-size: 16px;
    justify-content: space-between;
    line-height: 24px;
}

.fjv-summary-totals div:nth-child(2) {
    color: var(--fjv-light-text);
    font-size: 14px;
    line-height: 20px;
}

.fjv-summary-totals .fjv-total {
    color: var(--fjv-black);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    padding-top: 12px;
}

.fjv-submit {
    align-items: center;
    background: var(--fjv-black);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    line-height: 24px;
    padding: 16px;
    width: 100%;
}

.fjv-submit-icon {
    display: block;
    flex: 0 0 auto;
    height: 17px;
    object-fit: contain;
    width: 17px;
}

.fjv-summary-note {
    color: var(--fjv-light-text);
    font-size: 12px;
    line-height: 16px;
    margin: 0 auto;
    max-width: 286px;
    text-align: center;
}

.fjv-message {
    border-radius: 12px;
    font-size: 15px;
    margin: 0 auto 24px;
    max-width: 1216px;
    padding: 14px 16px;
}

.fjv-message-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.fjv-message-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media (max-width: 980px) {
    .fjv-order-form {
        grid-template-columns: 1fr;
    }

    .fjv-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .fjv-product {
        align-items: stretch;
        flex-direction: column;
    }

    .fjv-quantity {
        justify-content: space-between;
        width: 100%;
    }

    .fjv-quantity input {
        flex: 1;
    }

    .fjv-customer-fields {
        grid-template-columns: 1fr;
    }

    .fjv-card-header,
    .fjv-summary-header,
    .fjv-summary-body,
    .fjv-customer-fields {
        padding: 20px;
    }

    .fjv-terms {
        padding: 0 20px 20px;
    }
}
