.lf-form-container {        
margin-top: 10px;
}
.lf-form {
max-width: 100%;
margin: 0 auto;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.6;
color: #333;
} .lf-field {
margin-bottom: 5px;
margin-top: 7px;
position: relative;
}
.lf-field label {
display: block;
font-weight: 600;
color: #344054;
font-size: 16px;
margin-bottom: 0.5rem;
} .lf-attribute-label {
font-weight: 600;
color: #344054;
font-size: 16px;
} .lf-product-name {
font-weight: 600;
font-size: 21px;
} .lf-form-message {
padding: 12px 16px;
margin-bottom: 20px;
border-radius: 4px;
font-weight: 500;
border-left: 4px solid;
}
.lf-form-message-success {
background-color: #d4edda;
color: #155724;
border-left-color: #28a745;
}
.lf-form-message-error {
background-color: #f8d7da;
color: #721c24;
border-left-color: #dc3545;
} .lf-data-field.lf-inline-label .lf-data-field-content {
display: flex;
align-items: baseline;
gap: 0.5rem;
}
.lf-data-field.lf-inline-label .lf-inline-label-text {
margin-bottom: 0;
display: inline;
font-weight: 600;
color: #344054;
font-size: 16px;
}
.lf-data-field.lf-inline-label .lf-inline-value {
display: inline;
color: #333;
font-size: 16px;
} .lf-layout-2cols-asymmetric {
display: flex;
gap: 15px;
}
.lf-layout-2cols-asymmetric.lf-layout-2-1 .lf-column:first-child {
flex: 2;
}
.lf-layout-2cols-asymmetric.lf-layout-2-1 .lf-column:last-child {
flex: 1;
}
.lf-layout-2cols-asymmetric.lf-layout-1-2 .lf-column:first-child {
flex: 1;
}
.lf-layout-2cols-asymmetric.lf-layout-1-2 .lf-column:last-child {
flex: 2;
}
.lf-field input[type="text"],
.lf-field input[type="email"],
.lf-field input[type="url"],
.lf-field input[type="tel"],
.lf-field input[type="number"],
.lf-field input[type="password"],
.lf-field textarea,
.lf-field select {
width: 100%;
padding: 5px;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
box-sizing: border-box;
color: #666;
border: 1px solid #ccc;
border-radius: 8px;
padding: 3px;
font-size: 17px;
min-height: 35px;
background: #fff;
text-align: left;
}
.lf-field input[type="text"]:focus,
.lf-field input[type="email"]:focus,
.lf-field input[type="url"]:focus,
.lf-field input[type="tel"]:focus,
.lf-field input[type="number"]:focus,
.lf-field input[type="password"]:focus,
.lf-field textarea:focus,
.lf-field select:focus {
border-radius: 8px;
padding: 3px;
box-shadow: 0 0 0 3px var(--lf-primary-color-light);
}
.lf-field input[type="text"]:invalid,
.lf-field input[type="email"]:invalid,
.lf-field input[type="url"]:invalid,
.lf-field input[type="tel"]:invalid,
.lf-field input[type="number"]:invalid,
.lf-field input[type="password"]:invalid,
.lf-field textarea:invalid,
.lf-field select:invalid {
} .lf-required {
color: #dc3232;
} .lf-field-textarea textarea {
resize: vertical;
min-height: 100px;
} .lf-field-select select {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.7em center;
background-size: 0.65em auto;
padding-right: 2.5rem;
appearance: none;
background-color: #fff;
} .lf-field-radio fieldset {
border: none;
padding: 0;
margin: 0;
}
.lf-field-radio legend {
font-weight: 600;
color: #333;
margin-bottom: 0.5rem;
padding: 0;
}
.lf-radio-option {
margin-bottom: 0.5rem;
display: flex;
align-items: center;
}
.lf-radio-option input[type="radio"] {
width: auto;
margin-right: 0.5rem;
margin-bottom: 0;
}
.lf-radio-option label {
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
} .lf-field-checkbox fieldset {
border: none;
padding: 0;
margin: 0;
}
.lf-field-checkbox legend {
font-weight: 600;
color: #333;
margin-bottom: 0.5rem;
padding: 0;
}
.lf-checkbox-option {
margin-bottom: 0.5rem;
display: flex;
align-items: center;
}
.lf-checkbox-option input[type="checkbox"] {
width: auto;
margin-right: 0.5rem;
margin-bottom: 0;
}
.lf-checkbox-option label {
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
} .lf-field-consent {
background: #f9f9f9;
padding: 1rem;
border-radius: 4px;
}
.lf-consent-option {
display: flex;
align-items: flex-start;
}
.lf-consent-option input[type="checkbox"] {
width: auto;
margin-right: 0.5rem;
margin-top: 0.2rem;
margin-bottom: 0;
}
.lf-consent-option label {
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
line-height: 1.4;
} .lf-field-file input[type="file"] {
padding: 0.5rem;
border: 2px dashed #ddd;
border-radius: 4px;
background: #fafafa;
cursor: pointer;
width: -webkit-fill-available;
}
.lf-field-file input[type="file"]:hover {
border-color: #0073aa;
background: #f0f8ff;
} .lf-datepicker-wrapper,
.lf-datetimepicker-wrapper {
position: relative;
display: flex;
align-items: center;
}
.lf-datepicker-wrapper input,
.lf-datetimepicker-wrapper input {
padding-right: 3rem;
}
.lf-datepicker-icon,
.lf-datetimepicker-icon {
position: absolute;
right: 0.75rem;
color: #666;
pointer-events: none;
font-size: 1.2rem;
}
.lf-field-datepicker-expanded .lf-datepicker-wrapper,
.lf-field-datetimepicker-expanded .lf-datetimepicker-wrapper {
flex-direction: column;
align-items: stretch;
}
.lf-field-datepicker-expanded .lf-datepicker-icon,
.lf-field-datetimepicker-expanded .lf-datetimepicker-icon {
position: static;
text-align: center;
margin-top: 0.5rem;
padding: 0.5rem;
background: #f0f0f0;
border-radius: 4px;
} .lf-layout {
display: flex;
gap: 1rem;
}
.lf-layout.lf-layout-1cols,.lf-layout.lf-layout-2cols,lf-layout.lf-layout-3cols,lf-layout.lf-layout-4cols     {
margin-bottom: 24px;
} .lf-layout-1cols .lf-column {
flex: 1;
}
.lf-layout-2cols .lf-column {
flex: 1;
}
.lf-layout-3cols .lf-column {
flex: 1;
}
.lf-layout-4cols .lf-column {
flex: 1;
} @media (max-width: 768px) {
.lf-layout {
flex-direction: column;
gap: 0;
}
.lf-layout .lf-column {
margin-bottom: 1.5rem;
}
.lf-layout .lf-column:last-child {
margin-bottom: 0;
}
} .lf-section {
margin: 2rem 0;
padding: 1.5rem;
background: #f8f9fa;
border-radius: 6px;
border-left: 4px solid #0073aa;
}
.lf-section-title {
margin: 0 0 0.5rem 0;
font-size: 1.25rem;
font-weight: 600;
color: #333;
}
.lf-section-description {
margin: 0;
color: #666;
line-height: 1.5;
} .lf-field-submit {
text-align: center;
margin-top: 2rem;
}
.lf-submit-button {
background: var(--lf-primary-color, #0073aa);
color: #fff;
border: 2px solid var(--lf-primary-color, #0073aa);
padding: 10px;
font-size: 17px;
font-weight: 600;
border-radius: var(--lf-radius, 4px);
cursor: pointer;
transition: all 0.2s ease;
min-width: 150px;
}
.lf-submit-button:hover {
background: var(--lf-primary-hover-color, #7a0a24);
border-color: var(--lf-primary-hover-color, #7a0a24);
}
.lf-submit-button:active {
transform: translateY(0);
}
.lf-submit-button:focus {
outline: none;
box-shadow: 0 0 0 3px var(--lf-primary-color-light, rgba(0, 115, 170, 0.3));
} .lf-phone-input-container {
display: flex;
gap: 0.5rem;
align-items: stretch;
}
.lf-phone-prefix {
flex: 0 0 auto;
min-width: 120px;
}
.lf-phone-prefix-select {
width: 100%;
padding: 0.75rem;
border: 2px solid var(--lf-border, #ddd);
border-radius: var(--lf-radius, 4px);
background: #fff;
font-size: 0.9rem;
color: var(--lf-text-color, #333);
transition: border-color 0.2s ease;
}
.lf-phone-prefix-select:focus {
outline: none;
border-color: var(--lf-primary-color, #0073aa);
box-shadow: 0 0 0 3px var(--lf-primary-color-light, rgba(0, 115, 170, 0.1));
}
.lf-phone-number {
flex: 1;
}
.lf-phone-number-input {
width: 100%;
padding: 0.75rem;
border: 2px solid var(--lf-border, #ddd);
border-radius: var(--lf-radius, 4px);
background: #fff;
font-size: 1rem;
color: var(--lf-text-color, #333);
transition: border-color 0.2s ease;
}
.lf-phone-number-input:focus {
outline: none;
border-color: var(--lf-primary-color, #0073aa);
box-shadow: 0 0 0 3px var(--lf-primary-color-light, rgba(0, 115, 170, 0.1));
} .lf-field-custom-html {
margin: 0 0;
}
.lf-field-custom-html h1,
.lf-field-custom-html h2,
.lf-field-custom-html h3,
.lf-field-custom-html h4,
.lf-field-custom-html h5,
.lf-field-custom-html h6 {
margin-top: 0;
margin-bottom: 1rem;
}
.lf-field-custom-html p {
margin-bottom: 1rem;
}
.lf-field-custom-html ul,
.lf-field-custom-html ol {
margin-bottom: 1rem;
padding-left: 2rem;
}
.lf-field-custom-html a {
color: #0073aa;
text-decoration: none;
}
.lf-field-custom-html a:hover {
text-decoration: underline;
} .lf-field input[type="hidden"] {
display: none;
} .lf-field-error input,
.lf-field-error textarea,
.lf-field-error select {
border-color: #dc3232;
box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.1);
}
.lf-field-error-message {
color: #dc3232;
font-size: 0.875rem;
margin-top: 0.25rem;
display: block;
} .lf-field-success input,
.lf-field-success textarea,
.lf-field-success select {
border-color: #46b450;
box-shadow: 0 0 0 3px rgba(70, 180, 80, 0.1);
} .lf-form-message {
padding: 1rem;
margin-bottom: 1.5rem;
border-radius: 4px;
font-weight: 500;
}
.lf-form-message-success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.lf-form-message-error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.lf-form-message-info {
background: #d1ecf1;
color: #0c5460;
border: 1px solid #bee5eb;
} .lf-form-loading {
opacity: 0.6;
pointer-events: none;
}
.lf-form-loading .lf-submit-button {
position: relative;
color: transparent;
}
.lf-form-loading .lf-submit-button::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 20px;
margin: -10px 0 0 -10px;
border: 2px solid #ffffff;
border-top-color: transparent;
border-radius: 50%;
animation: lf-spin 1s linear infinite;
}
@keyframes lf-spin {
to {
transform: rotate(360deg);
}
} .lf-preview .lf-field input,
.lf-preview .lf-field textarea,
.lf-preview .lf-field select {
pointer-events: none;
background: #f9f9f9;
}
.lf-preview .lf-submit-button {
background: var(--lf-muted-color, #666);
border-color: var(--lf-muted-color, #666);
cursor: not-allowed;
}
.lf-preview .lf-submit-button:hover {
background: var(--lf-muted-color, #666);
border-color: var(--lf-muted-color, #666);
transform: none;
} .lf-field input:focus,
.lf-field textarea:focus,
.lf-field select:focus,
.lf-field button:focus {
} .lf-consent-lightbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999999; } body.lf-lightbox-open {
overflow: hidden;
}
.lf-consent-lightbox-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: pointer;
}
.lf-consent-lightbox-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
border-radius: 8px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow: hidden;
display: flex;
flex-direction: column;
z-index: 1000000; }
.lf-consent-lightbox-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid #e1e1e1;
background: #f9f9f9;
}
.lf-consent-lightbox-header h3 {
margin: 0;
font-size: 18px;
color: #333;
}
.lf-consent-lightbox-close {
background: none;
border: none;
font-size: 24px;
color: #666;
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background-color 0.2s ease;
}
.lf-consent-lightbox-close:hover {
background: #e1e1e1;
color: #333;
}
.lf-consent-lightbox-body {
padding: 20px;
overflow-y: auto;
flex: 1;
line-height: 1.6;
}
.lf-consent-lightbox-body p {
margin-bottom: 15px;
}
.lf-consent-lightbox-body p:last-child {
margin-bottom: 0;
}
.lf-consent-lightbox-footer {
padding: 20px;
border-top: 1px solid #e1e1e1;
background: #f9f9f9;
text-align: right;
}
.lf-consent-lightbox-accept {
background: var(--lf-primary-color);
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: background-color 0.2s ease;
}
.lf-consent-lightbox-accept:hover {
background: var(--lf-primary-hover-color, #7a0a24);
} .lf-consent-link {
color: var(--lf-primary-color);
text-decoration: underline;
}
.lf-consent-link:hover {
color: var(--lf-primary-hover-color, #7a0a24);
}
.lf-consent-lightbox-trigger {
color: var(--lf-primary-color);
text-decoration: underline;
cursor: pointer;
}
.lf-consent-lightbox-trigger:hover {
color: var(--lf-primary-hover-color, #7a0a24);
} @media (max-width: 768px) {
.lf-consent-lightbox-content {
width: 95%;
max-height: 90vh;
}
.lf-consent-lightbox-header,
.lf-consent-lightbox-body,
.lf-consent-lightbox-footer {
padding: 15px;
}
}  .lf-consent-lightbox,
.lf-consent-lightbox * {
box-sizing: border-box;
} .lf-consent-lightbox {
pointer-events: auto;
}
.lf-consent-lightbox-overlay {
pointer-events: auto;
}
.lf-consent-lightbox-content {
pointer-events: auto;
}
@media (prefers-contrast: high) {
.lf-field input,
.lf-field textarea,
.lf-field select {
border-width: 3px;
}
.lf-submit-button {
border: 2px solid var(--lf-text-color, #000);
}
} @media (prefers-reduced-motion: reduce) {
.lf-field input,
.lf-field textarea,
.lf-field select,
.lf-submit-button {
transition: none;
}
.lf-submit-button:hover {
transform: none;
}
@keyframes lf-spin {
to {
transform: none;
}
}
} .lf-field-section {
margin: 20px 0;
}
.lf-section-label {
font-size: 14px;
font-weight: 600;
color: var(--lf-text, #333);
margin-bottom: 8px;
text-align: center;
}
.lf-section-line {
border: solid 1px #e5e5e5;
margin: 0;
width: 100%;
} .lf-product-selector-field {
margin-bottom: 20px;
}
.lf-product-selector {
}
.lf-selector-group {
margin-bottom: 15px;
}
.lf-selector-group:last-child {
margin-bottom: 0;
}
.lf-selector-group label {
display: block;
font-weight: 600;
margin-bottom: 5px;
color: #333;
}
.lf-product-dropdown,
.lf-variation-dropdown,
.lf-quantity-input {
width: 100%;
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
background-color: #fff;
}
.lf-product-dropdown:focus,
.lf-variation-dropdown:focus,
.lf-quantity-input:focus {
outline: none;
border-color: #007cba;
box-shadow: 0 0 0 1px #007cba;
}
.lf-quantity-input {
max-width: 60px;
}
.lf-price-display {
background-color: #e8f5e8;
border: 1px solid #c3e6c3;
border-radius: 4px;
padding: 10px;
}
.lf-price-breakdown {
font-size: 14px;
}
.lf-unit-price {
font-weight: 600;
color: #2d5a2d;
margin-bottom: 5px;
}
.lf-total-price {
font-weight: 700;
color: #1a4d1a;
font-size: 16px;
}
.lf-price-unavailable {
color: #666;
font-style: italic;
}
.lf-product-selector .lf-selector-group:not(:last-child) {
border-bottom: 1px solid #e0e0e0;
padding-bottom: 15px;
} .lf-product-dropdown:disabled,
.lf-variation-dropdown:disabled {
background-color: #f5f5f5;
color: #999;
} @media (max-width: 768px) {
.lf-product-selector {
padding: 10px;
}
.lf-quantity-input {
max-width: 80px;
}
} .lf-product-selector-thumbnails {
border-radius: 4px;
padding: 15px;
display: flex;
gap: 20px;
min-height: 500px;
}
.lf-selection-column {
flex: 2;
min-width: 0;
height: 680px;
display: flex;
flex-direction: column;
}
.lf-variations-section {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.lf-products-section {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.lf-variations-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.lf-variations-header h4 {
margin: 0;
color: #333;
font-size: 16px;
}
.lf-back-to-products:hover {
background: #e0e0e0 !important;
}
.lf-variations-list {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
overflow-y: auto;
padding-right: 5px;
}
.lf-variations-list::-webkit-scrollbar {
width: 6px;
}
.lf-variations-list::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}
.lf-variations-list::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 3px;
}
.lf-variations-list::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
.lf-variation-item {
border: 1px solid #e0e0e0;
border-radius: 6px;
padding: 12px;
transition: all 0.3s ease;
background-color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
}
.lf-variation-item:hover {
border-color: #007cba;
background-color: #f8f9fa;
}
.lf-variation-item-info {
flex: 1;
min-width: 0;
}
.lf-variation-item-controls {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
justify-content: flex-end;
}
.lf-variation-quantity {
display: flex;
align-items: center;
gap: 4px;
white-space: nowrap;
}
.lf-variation-quantity label {
font-size: 12px;
color: #666;
margin: 0;
}
.lf-variation-quantity input {
width: 40px;
padding: 3px 4px;
border: 1px solid #ddd;
border-radius: 3px;
text-align: center;
font-size: 12px;
}
.lf-variation-price {
font-size: 13px;
font-weight: 600;
color: #007cba;
min-width: 80px;
text-align: right;
white-space: nowrap;
}
.lf-variation-price.no-price {
color: #999;
font-style: italic;
}
.lf-variation-add-btn {
background: #007cba;
color: white;
border: none;
border-radius: 4px;
padding: 6px 12px;
font-size: 12px;
cursor: pointer;
transition: background 0.3s ease;
white-space: nowrap;
}
.lf-variation-add-btn:hover {
background: #005a87;
}
.lf-variation-add-btn:disabled {
background: #ccc;
cursor: not-allowed;
}
.lf-variation-item-name {
font-weight: 600;
font-size: 14px;
color: #333;
margin-bottom: 6px;
}
.lf-variation-item-attributes {
font-size: 12px;
color: #666;
margin-bottom: 6px;
line-height: 1.4;
}
.lf-variation-item-price {
font-size: 13px;
font-weight: 600;
color: #007cba;
}
.lf-cart-column {
flex: 1;
min-width: 0;
height: 710px;
border-left: 1px solid #ddd;
padding-left: 15px;
display: flex;
flex-direction: column;
}
.lf-cart-column h4 {
margin-top: 0;
margin-bottom: 15px;
color: #333;
font-size: 16px;
}
.lf-cart-items {
flex: 1;
overflow-y: auto;
margin-bottom: 15px;
}
.lf-cart-empty {
text-align: center;
color: #666;
font-style: italic;
padding: 20px;
}
.lf-cart-item {
border: 1px solid #e0e0e0;
border-radius: 6px;
padding: 10px;
margin-bottom: 10px;
background-color: #fff;
position: relative;
display: flex;
gap: 10px;
align-items: flex-start;
}
.lf-cart-item-thumbnail {
flex-shrink: 0;
width: 50px;
height: 50px;
}
.lf-cart-item-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
border: 1px solid #e0e0e0;
}
.lf-cart-item-content {
flex: 1;
min-width: 0;
}
.lf-cart-item-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 8px;
}
.lf-cart-item-name {
font-weight: 600;
font-size: 13px;
color: #333;
margin-bottom: 4px;
line-height: 1.3;
}
.lf-cart-item-attributes {
font-size: 11px;
color: #666;
margin-bottom: 6px;
line-height: 1.4;
}
.lf-cart-item-price {
font-size: 12px;
font-weight: 600;
color: #007cba;
}
.lf-cart-item-price.no-price {
color: #999;
font-style: italic;
}
.lf-cart-item-remove {
background: #dc3545;
color: white;
border: none;
border-radius: 3px;
width: 20px;
height: 20px;
font-size: 12px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.lf-cart-item-remove:hover {
background: #c82333;
}
.lf-cart-item-controls {
display: flex;
align-items: center;
gap: 8px;
}
.lf-cart-item-quantity {
display: flex;
align-items: center;
gap: 5px;
}
.lf-cart-item-quantity input {
width: 50px;
padding: 4px;
border: 1px solid #ddd;
border-radius: 3px;
text-align: center;
font-size: 12px;
}
.lf-cart-item-total {
font-size: 12px;
font-weight: 600;
color: #333;
}
.lf-cart-item-total.no-price {
color: #999;
font-style: italic;
}
.lf-cart-total {
border-top: 1px solid #ddd;
padding-top: 10px;
font-size: 14px;
margin-top: auto;
flex-shrink: 0;
}
.lf-cart-total .total-amount {
color: #007cba;
} .price-label {
font-size: 0.8em;
color: #888;
font-weight: normal;
font-style: italic;
} .lf-stock-toggle-wrapper {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 15px;
padding: 8px 12px;
border-radius: 4px;
border: 1px solid #e9ecef;
}
.lf-toggle {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
cursor: pointer;
}
.lf-toggle input {
opacity: 0;
width: 0;
height: 0;
}
.lf-track {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: 0.3s;
border-radius: 20px;
}
.lf-track:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 2px;
bottom: 2px;
background-color: white;
transition: 0.3s;
border-radius: 50%;
}
.lf-toggle input:checked + .lf-track {
background-color: #007cba;
}
.lf-toggle input:checked + .lf-track:before {
transform: translateX(20px);
}
.lf-toggle-label {
font-size: 12px;
color: #666;
cursor: pointer;
margin: 0;
user-select: none;
} .no-variations-filtered {
text-align: center;
padding: 20px;
color: #666;
font-style: italic;
background-color: #f8f9fa;
border: 1px solid #e9ecef;
border-radius: 4px;
margin: 10px 0;
} .lf-preloader {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 200px;
color: #666;
}
.lf-preloader-spinner {
width: 40px;
height: 40px;
border: 4px solid #f3f3f3;
border-top: 4px solid #007cba;
border-radius: 50%;
animation: lf-spin 1s linear infinite;
margin-bottom: 15px;
}
.lf-preloader-text {
font-size: 14px;
color: #666;
}
@keyframes lf-spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.lf-products-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
flex: 1;
overflow-y: auto;
padding-right: 5px;
margin-bottom: 20px;
}
.lf-products-grid::-webkit-scrollbar {
width: 6px;
}
.lf-products-grid::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}
.lf-products-grid::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 3px;
}
.lf-products-grid::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
.lf-product-thumbnail {
border: 2px solid #e0e0e0;
border-radius: 8px;
padding: 10px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
background-color: #fff;
position: relative;
}
.lf-product-thumbnail:hover {
border-color: #007cba;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.lf-product-thumbnail.selected {
border-color: #007cba;
background-color: #e8f4f8;
}
.lf-product-thumbnail img {
width: 100%;
height: 80px;
object-fit: cover;
border-radius: 4px;
margin-bottom: 8px;
}
.lf-product-thumbnail .product-name {
font-size: 12px;
font-weight: 600;
color: #333;
margin-bottom: 4px;
line-height: 1.2;
}
.lf-product-thumbnail .product-price {
font-size: 11px;
color: #007cba;
font-weight: 600;
}
.lf-product-thumbnail .product-price-range {
font-size: 11px;
color: #007cba;
font-weight: 600;
}
.lf-pagination {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 20px;
}
.lf-pagination button {
padding: 8px 12px;
border: 1px solid #ddd;
background-color: #fff;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.lf-pagination button:hover:not(:disabled) {
background-color: #f5f5f5;
}
.lf-pagination button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.lf-pagination .current-page {
background-color: #007cba;
color: white;
border-color: #007cba;
} .lf-variation-modal {
display: none;
position: fixed;
z-index: 10000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.lf-variation-modal-content {
background-color: #fefefe;
margin: 5% auto;
padding: 20px;
border: 1px solid #888;
border-radius: 8px;
width: 80%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
}
.lf-variation-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
}
.lf-variation-modal-close {
color: #aaa;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.lf-variation-modal-close:hover {
color: #000;
}
.lf-variations-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.lf-variation-item {
border: 1px solid #e0e0e0;
border-radius: 6px;
padding: 12px;
cursor: pointer;
transition: all 0.3s ease;
background-color: #fff;
}
.lf-variation-item:hover {
border-color: #007cba;
background-color: #f8f9fa;
}
.lf-variation-item.selected {
border-color: #007cba;
background-color: #e8f4f8;
}
.lf-variation-item-name {
font-weight: 600;
font-size: 14px;
color: #333;
margin-bottom: 6px;
}
.lf-variation-item-attributes {
font-size: 12px;
color: #666;
margin-bottom: 6px;
line-height: 1.4;
}
.lf-variation-item-price {
font-size: 13px;
font-weight: 600;
color: #007cba;
} @media (max-width: 768px) {
.lf-product-selector-thumbnails {
flex-direction: column;
gap: 15px;
}
.lf-cart-column {
border-left: none;
border-top: 1px solid #ddd;
padding-left: 0;
padding-top: 15px;
}
.lf-products-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.lf-variation-modal-content {
width: 95%;
margin: 10% auto;
}
}
@media (max-width: 480px) {
.lf-products-grid {
grid-template-columns: 1fr;
}
.lf-product-thumbnail img {
height: 60px;
}
} .lf-dynamic-product-quotation-layout {
background-color: #cbf7fb;
border: 1px solid #28bfcc;
border-radius: 8px;
padding: 15px;
} .lf-section-label {
position: absolute;
top: -12px;
left: 20px;
background-color: #f0f0f0;
color: #333;
padding: 4px 12px;
border-radius: 12px;
font-size: 11px;
font-weight: bold;
letter-spacing: 0.5px;
white-space: nowrap;
z-index: 10;
} .lf-layout {
position: relative;
} .lf-required-asterisk,
.lf-required,
.lf-required-mark {
color: red !important;
font-weight: bold;
} .lf-field-error {
border-color: red !important;
}
.lf-field-error:focus {
border-color: red !important;
box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2) !important;
}
.lf-field-error-message {
color: red;
font-size: 12px;
margin-top: 5px;
display: block;
} .lf-group-error-message {
color: #d63384;
font-size: 12px;
margin-top: 8px;
font-weight: 500;
display: block;
padding: 8px 12px; border-radius: 4px;
margin-bottom: 10px;
} .lf-contact-field .lf-field-label {
font-weight: 500;
margin-bottom: 5px;
display: block;
}
.lf-contact-field .lf-field-input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
transition: border-color 0.3s ease;
}
.lf-contact-field .lf-field-input:focus {
outline: none;
border-color: #0073aa;
box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
} .lf-form-loading .lf-submit-button {
opacity: 0.6;
cursor: not-allowed;
}
.lf-submit-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}