/* Specific targeting of the footer logo with !important to ensure override */
.footer-logo {
    max-width: 150px !important; /* Adjusts the maximum width of the logo */
    height: auto !important;     /* Maintains the aspect ratio of the logo */
}

@media only screen and (max-width: 768px) {
    .footer-logo {
        max-width: 100px !important; /* Smaller logo for mobile devices */
    }
}
/* Hides the specified div with the ID 'copyright' */
#copyright {
    display: none !important;
}
.herorow {
    height: 375px; /* Height for larger screens */
    width: 100%; /* Ensure it spans the full width of the page */
    overflow: hidden; /* Hide any overflow this change causes */
}

/* Increase height on mobile devices */
@media (max-width: 768px) {
    .herorow {
        height: 350px !important; /* Increased height for mobile devices */
    }
}

/* Additional media query for smaller mobile devices if needed */
@media (max-width: 480px) {
    .herorow {
        height: 450px; /* Adjust the height for very small devices */
    }
}

.herorow .your-background-element-class {
    background-size: cover; /* Cover the entire area of the container */
    background-position: center center; /* Center the background */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .herorow {
        height: 200px ;
	}
}
.herocontent {
    position: relative; /* or absolute, depending on the layout context */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the content */
    width: 100%; /* Optional, adjust as needed */
}

/* Optional: Adjust inner content width */
.herocontent > * { /* Targets all direct children of herocontent */
    max-width: 80%; /* Adjust this as needed */
    margin: auto; /* Centers the content block */
}
div.product_meta > span:last-child {
    display: none !important;
}
/* CNC Quote Form Styling */
.cnc-quote-form {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* File Upload - Dashed Border Frame */
.wpcf7-form-control-wrap.upload-files {
    display: block;
}

.cnc-quote-form input[type="file"] {
    border: 3px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 60px 20px !important;
    background: #f8fafc !important;
    width: 100% !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cnc-quote-form input[type="file"]:hover {
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    color: #1e293b;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.form-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

.form-section {
    margin-bottom: 25px;
}

.form-section label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-col label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.wpcf7-form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Drag and Drop File Upload Styling */
.mfile-dnd-wrap {
    border: 3px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 60px 20px !important;
    background: #f8fafc !important;
    text-align: center;
    transition: all 0.3s ease;
}

.mfile-dnd-wrap:hover {
    border-color: #94a3b8 !important;
}

.mfile-dnd-wrap.drag-over {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
}

.mfile-dnd-wrap .button {
    background: #dc2626 !important;
    color: white !important;
    border: none !important;
    padding: 12px 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px !important;
}

.mfile-dnd-wrap .button:hover {
    background: #b91c1c !important;
}

.mfile-dnd-wrap::before {
    content: "Drop up to 10 files here to get started";
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.mfile-dnd-wrap::after {
    content: "or";
    display: block;
    color: #94a3b8;
    margin: 10px 0;
    font-size: 14px;
}

/* File list styling */
.mfile-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    margin-top: 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mfile-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mfile-remove {
    background: #ef4444 !important;
    color: white !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    cursor: pointer;
    font-size: 12px;
}

.mfile-remove:hover {
    background: #dc2626 !important;
}

/* Security Note */
.security-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.lock-icon {
    font-size: 24px;
}

.security-note p {
    margin: 0;
    color: #1e40af;
    font-size: 14px;
}

.security-note strong {
    font-weight: 700;
}

/* Submit Button */
.submit-button,
.wpcf7-submit {
    width: 100%;
    color: white !important;
    border: none !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover,
.wpcf7-submit:hover {
}

/* Response Messages */
.wpcf7-response-output {
    border-radius: 6px !important;
    padding: 15px !important;
    margin-top: 20px !important;
}

.wpcf7-mail-sent-ok {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

.wpcf7-validation-errors {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
}

/* Format info text */
.mfile-format-info {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 10px !important;
    text-align: center;
}
/* File Upload Area with Icons */
.upload-area-wrapper {
    border: 3px dashed #cbd5e1;
    border-radius: 8px;
    padding: 40px 20px;
    background: #f8fafc;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area-wrapper:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.file-type-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.file-icon {
    position: relative;
}

.file-icon-visual {
    position: relative;
    width: 40px;
    height: 50px;
}

.file-icon-visual svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.file-ext {
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    font-size: 9px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* Add "Drop" text */
.upload-area-wrapper::before {
    content: "Drop up to 10 files here to get started";
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Remove the "or" text */
.upload-area-wrapper::after {
    content: "";
    display: none;
}

/* Style the actual file input - Center and make it #333333 */
.upload-area-wrapper input[type="file"] {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: transparent;
    color: transparent;
    text-align: center;
}

.upload-area-wrapper input[type="file"]::-webkit-file-upload-button {
    background: #333333;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 0 auto;
}

.upload-area-wrapper input[type="file"]::-webkit-file-upload-button:hover {
    background: #1a1a1a;
}

.upload-area-wrapper input[type="file"]::file-selector-button {
    background: #333333;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 0 auto;
}

.upload-area-wrapper input[type="file"]::file-selector-button:hover {
    background: #1a1a1a;
}

/* Firefox */
.upload-area-wrapper input[type="file"]::-ms-browse {
    background: #333333;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.nectar-wpcf7-inline-field select{
	margin-bottom: 0 !important;
	padding-top: 4px;
	padding-bottom: 4px;
	line-height: 1;
}