/* Import Roboto font to match Velaria Systems */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;600;700&display=swap');

/* Velaria Systems Header Navigation */
.velaria-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.velaria-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.velaria-logo a {
    display: flex;
    align-items: center;
}

.velaria-logo-img {
    height: 35px;
    width: auto;
}

.velaria-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.velaria-nav-list li {
    position: relative;
}

.velaria-nav-list a {
    color: #333333;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.velaria-nav-list a:hover {
    color: #666666;
}

.velaria-nav-list a.samples-active {
    color: #515151;
    font-weight: 500;
    border-bottom: 2px solid #515151;
    padding-bottom: 0.3rem;
}

.has-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    font-size: 10px;
    color: #666666;
}

/* Mobile Navigation */
@media (max-width: 960px) {
    .velaria-nav-list {
        display: none;
    }
    
    .velaria-nav::after {
        content: "☰";
        font-size: 24px;
        color: #333333;
        cursor: pointer;
    }
}

/* Adjust body to account for fixed header */
body {
    padding-top: 70px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Section */
.hero {
    background: #f5f5f5;
    color: #333333;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #515151;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.7;
    color: #666666;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: white;
}

.products-section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #2d3748;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 95px;
}

.product-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e5e5;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #718096;
    border-bottom: 1px solid #e2e8f0;
}

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
    line-height: 1.3;
}

.product-description {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #f8f8f8;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #515151;
}

.contact-section > .container > p {
    text-align: center;
    color: #666666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Products section styling */
.products-section {
    padding: 6rem 0 4rem 0;
    background: #ffffff;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: #ffffff;
    z-index: 999;
    padding: 1.5rem 2rem 2rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.products-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    height: 1px;
    background: #e5e5e5;
}

.products-header h2 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #333333;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.brand-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-filter label {
    font-weight: 500;
    color: #333333;
    white-space: nowrap;
}

.brand-filter select {
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: #145ba1;
    color: white;
    font-size: 14px;
    min-width: 160px;
    padding-right: 20px;
    box-sizing: border-box;
    background-position: calc(100% - 10px) center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8"%3E%3Cpath fill="white" d="M0 0l6 8 6-8z"/%3E%3C/svg%3E');
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.brand-filter select:focus {
    outline: 2px solid #0b5090;
    outline-offset: 2px;
}

.category-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-filter label {
    font-weight: 500;
    color: #333333;
    white-space: nowrap;
}

.category-filter select {
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: #145ba1;
    color: white;
    font-size: 14px;
    min-width: 160px;
    padding-right: 20px;
    box-sizing: border-box;
    background-position: calc(100% - 10px) center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8"%3E%3Cpath fill="white" d="M0 0l6 8 6-8z"/%3E%3C/svg%3E');
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.category-filter select:focus {
    outline: 2px solid #0b5090;
    outline-offset: 2px;
}

.cart-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: #333333;
}

.cart-btn {
    background: #145ba1;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-out;
    min-width: 100px;
}

.cart-btn:hover:not(:disabled) {
    background: #145ba1;
    opacity: 1.0;
}

.cart-btn-disabled {
    background: #cedbe8;
    cursor: not-allowed;
    opacity: 1;
}

.cart-btn-disabled:hover {
    background: #cedbe8;
}

#cart-count {
    background: #0b5090;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    display: none;
}

.cart-display:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.cart-display #cart-items-count {
    font-size: 1.1rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #515151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #666666;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Product Selection Section - New tiled display */
.products-selection-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #515151;
    margin: 0;
}

.total-items-display {
    background: #f5f5f5;
    color: #515151;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #e5e5e5;
}

.total-items-display #total-items-count {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Updated Products Grid - Velaria Systems aesthetic */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #d0d0d0;
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666666;
    position: relative;
    overflow: hidden;
}

.product-image.pattern-bg {
    background: #f5f5f5;
    color: #515151;
    border: 1px solid #e5e5e5;
}

.product-image.template-bg {
    background: #fafafa;
    color: #545454;
    border: 1px solid #e5e5e5;
}

.product-image.panel-bg {
    background: #fafafa;
    color: #545454;
    border: 1px solid #e5e5e5;
}

.product-image.specialty-bg {
    background: #f5f5f5;
    color: #515151;
    border: 1px solid #e5e5e5;
}

/* Brand-based background classes */
.product-image.dps-bg {
    background: #fafafa;
    color: #515151;
    border: 1px solid #e5e5e5;
}

.product-image.statera-bg {
    background: #f5f5f5;
    color: #545454;
}

.product-image.astyl-bg {
    background: #f8f8f8;
    color: #515151;
    border: 1px solid #e5e5e5;
}

.product-image.cambio-bg {
    background: #fafafa;
    color: #545454;
    border: 1px solid #e5e5e5;
}

.product-image.pongs-bg {
    background: #f5f5f5;
    color: #515151;
    border: 1px solid #e5e5e5;
}

.product-image.default-bg {
    background: #f8f8f8;
    color: #515151;
    border: 1px solid #e5e5e5;
}

/* Shopping Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.cart-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333333;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart-btn:hover {
    color: #333333;
}

.cart-body {
    padding: 1.5rem 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.25rem;
}

.cart-item-brand {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.25rem;
}

.cart-item-part {
    font-size: 0.8rem;
    color: #999999;
    font-family: monospace;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-quantity-btn {
    background: #6c757d;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity-btn:hover {
    background: #5a6268;
}

.cart-quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: #333333;
}

.remove-item-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.remove-item-btn:hover {
    background: #5a6268;
}

.cart-empty {
    text-align: center;
    padding: 2rem;
    color: #666666;
}

.cart-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.cart-total {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-cart-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.empty-cart-btn:hover {
    background: #5a6268;
}

.continue-shopping-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.continue-shopping-btn:hover {
    background: #5a6268;
}

.checkout-btn {
    background: #145ba1;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease-out;
}

.checkout-btn:hover {
    background: #145ba1;
    opacity: 1.0;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.back-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.back-btn:hover {
    background: #5a6268;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-info {
    padding: 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: #999999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-description {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-selection-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
    margin-top: auto;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #6c757d;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

.quantity-btn:hover {
    background: #5a6268;
}

.quantity-btn:disabled {
    background: #cedbe8;
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    padding: 4px 8px;
    text-align: center;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-weight: 400;
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.quantity-input:focus {
    outline: none;
    border-color: #6c757d;
    box-shadow: 0 0 0 1px rgba(108, 117, 125, 0.1);
}

.add-to-cart-btn {
    background: #145ba1;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease-out;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: #145ba1;
    opacity: 1.0;
}

.add-to-cart-btn:disabled {
    background: #cedbe8;
    cursor: not-allowed;
}

.product-card.selected::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: #145ba1;
    border-radius: 50%;
    z-index: 10;
}

.product-card.selected::after {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    z-index: 11;
}

/* Product Selection - Legacy styles for form compatibility */
.product-selection {
    display: none; /* Hide the old inline form selection */
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.product-item:last-child {
    border-bottom: none;
}

.product-item-name {
    font-weight: 500;
    color: #2d3748;
}

.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    text-align: center;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: #145ba1;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    font-family: 'Roboto', sans-serif;
}

.submit-btn:hover {
    background: #145ba1;
    opacity: 1.0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 91, 161, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Submit Section */
.submit-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

/* Velaria Systems Footer */
.velaria-footer-section {
    padding: 0 20px;
    background: #ffffff;
    margin-top: 4rem;
}

.velaria-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0 2rem 0;
}

.velaria-footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: start;
}

.footer-col-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-col-address {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

.footer-col-address p {
    margin: 0;
}

.footer-col-material-bank {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
}

.material-bank-section {
    text-align: right;
}

.material-bank-logo {
    width: 100%;
    max-width: 175px;
    height: auto;
    margin-bottom: 0.5rem;
}

.material-bank-link {
    color: #333333;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #333333;
}

.material-bank-link:hover {
    color: #666666;
    border-bottom-color: #666666;
}

.newsletter-section {
    text-align: right;
}

.newsletter-section label {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333333;
    margin-bottom: 1rem;
    display: block;
}

.button-signup {
    background: #333333;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.button-signup:hover {
    background: #555555;
}

/* Copyright Section */
.velaria-copyright {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 1rem 20px;
}

.copyright-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.copyright-content p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #666666;
}

/* Mobile Footer Responsiveness */
@media (max-width: 768px) {
    .velaria-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col-material-bank {
        align-items: center;
    }
    
    .material-bank-section,
    .newsletter-section {
        text-align: center;
    }
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    margin: 0 20px;
}

.success-content h3 {
    color: #145ba1;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    margin-bottom: 1.5rem;
    color: #515151;
}

.success-content button {
    background: #145ba1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease-out;
}

.success-content button:hover {
    background: #145ba1;
    opacity: 1.0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        justify-content: center;
    }

    .header-title {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .header-title h1 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-top: 160px;
    }

    .products-header {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 1rem 1.5rem 1rem;
        justify-content: center;
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .products-header::after {
        width: calc(100% - 2rem);
    }

    .products-header h3 {
        font-size: 1.5rem;
        align-self: stretch;
        text-align: center;
    }

    .brand-filter {
        align-self: stretch;
        justify-content: center;
    }

    .brand-filter select {
        min-width: 140px;
    }

    .category-filter {
        align-self: stretch;
        justify-content: center;
    }

    .category-filter select {
        min-width: 140px;
    }

    .total-items-display {
        align-self: stretch;
        text-align: center;
    }

    .product-card {
        margin: 0;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-selection-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .quantity-control {
        justify-content: space-between;
    }

    .contact-form {
        margin: 0 20px;
        padding: 1.5rem;
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .quantity-input {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-title h1 {
        font-size: 1.25rem;
    }

    .contact-section {
        padding: 2rem 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .products-selection-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}
