/* Additional Theme Styles */

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #005a87;
    text-decoration: none;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* Card Styles */
.card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* WooCommerce Specific Styles */
.woocommerce-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.woocommerce-product-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #005a87;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #cce7ff;
    border: 1px solid #99d3ff;
    color: #004085;
}

/* Search Form Styles */
.search-form {
    margin: 2rem 0;
    max-width: 400px;
}

.search-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: #0073aa;
}

.search-submit {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: #0073aa;
}

.search-form.focused .search-field-wrapper {
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
    border-radius: 50px;
}

/* Post Grid Styles */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hide mobile filters FAB on desktop */
    .mobile-filters-fab {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card .entry-header,
.post-card .entry-content,
.post-card .entry-footer {
    padding: 0 1.5rem;
}

.post-card .entry-header {
    padding-top: 1.5rem;
}

.post-card .entry-footer {
    padding-bottom: 1.5rem;
}

/* Front Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Trust Indicators */
.trust-indicators {
    padding: 1rem 0;
    background-color: #f8f9fa;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.trust-icon {
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Featured Products */
.featured-products {
    padding: 2rem 0;
    background: #fff;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.featured-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.featured-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.featured-content {
    flex: 1;
    color: #fff;
}

.featured-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-content p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0.9;
}

.featured-btn {
    display: inline-block;
    background: #ff4757;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.featured-btn:hover {
    background: #ff3742;
    color: #fff;
    text-decoration: none;
}

.featured-image {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
}

.free-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4757;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Product Categories */
.product-categories {
    padding: 3rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e1e1;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 150px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    margin: 0;
    color: #333;
}

.category-link {
    display: block;
    text-align: center;
    padding: 0.5rem 1rem 1rem;
    color: #0073aa;
    text-decoration: none;
    font-size: 0.9rem;
}

.category-link:hover {
    text-decoration: underline;
}

/* Best Sellers */
.best-sellers {
    padding: 3rem 0;
    background: #fff;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.numbered-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.product-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    min-width: 30px;
}

.product-badge {
    background: #28a745;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.product-details {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.product-details h4 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.sale-price {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.1rem;
}

.add-to-cart-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: #005a87;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e1e1e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    color: #333;
}

.product-price {
    padding: 0 1rem 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.sale-price {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.2rem;
}

.product-card .btn {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
}

/* Use Cases */
.use-cases {
    padding: 3rem 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    text-align: center;
    padding: 1rem;
}

.use-case-image {
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.use-case-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.use-case-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Company Stats */
.company-stats {
    background: #333;
    color: #fff;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0073aa;
}

.stat-item p {
    color: #ccc;
    font-size: 0.9rem;
}

/* CTA Sections */
.cta-sections {
    padding: 3rem 0;
    background: #fff;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cta-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-content {
    flex: 1;
    padding: 2rem;
}

.cta-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.cta-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.btn-red {
    background: #ff4757;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-red:hover {
    background: #ff3742;
    color: #fff;
    text-decoration: none;
}

.cta-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 1rem;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header Updates */
.site-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 0;
}

.site-branding {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 0;
}

.header-search {
    max-width: 450px;
    width: 100%;
    justify-self: center;
}

.header-search .search-form {
    margin: 0;
    position: relative;
}

.header-search .search-field {
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 0.75rem 1rem;
    width: 100%;
}

.search-form .search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.header-icon svg {
    width: 28px;
    height: 28px;
}

.header-icon:hover {
    color: #0073aa;
    text-decoration: none;
}

.header-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
}

/* Cart Dropdown */
.cart-dropdown-container {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cart-dropdown-container:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.cart-dropdown-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.cart-dropdown-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-dropdown-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f5f5f5;
    gap: 0.75rem;
}

.cart-dropdown-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.cart-item-name a {
    color: #333;
    text-decoration: none;
}

.cart-item-name a:hover {
    color: #dc3545;
}

.cart-item-quantity-price {
    font-size: 0.85rem;
    color: #666;
}

.cart-item-remove {
    flex-shrink: 0;
}

.cart-item-remove .remove-item {
    width: 24px;
    height: 24px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s ease;
}

.cart-item-remove .remove-item:hover {
    background: #dc3545;
    color: white;
}

.cart-dropdown-footer {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.cart-total {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.cart-actions {
    display: flex;
    gap: 0.5rem;
}

.cart-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.cart-actions .btn-outline {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
}

.cart-actions .btn-outline:hover {
    background: #dc3545;
    color: white;
}

.cart-actions .btn-primary {
    background: #dc3545;
    border: 1px solid #dc3545;
    color: white;
}

.cart-actions .btn-primary:hover {
    background: #c82333;
    border-color: #c82333;
}

.cart-dropdown-empty {
    padding: 2rem;
    text-align: center;
}

.cart-dropdown-empty p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Hide WooCommerce cart removal notifications */
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner,
.woocommerce-notices-wrapper .woocommerce-message {
    display: none !important;
}

/* Breadcrumbs */
.breadcrumbs-container {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.breadcrumbs {
    margin: 0;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #dc3545;
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 0.5rem;
    user-select: none;
}

/* WooCommerce breadcrumbs styling */
.woocommerce-breadcrumb {
    margin: 0;
    font-size: 0.9rem;
}

.woocommerce-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: #dc3545;
    text-decoration: underline;
}

/* Responsive breadcrumbs */
@media (max-width: 768px) {
    .breadcrumbs-container {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    .breadcrumb-separator {
        margin: 0 0.25rem;
    }
}

/* Responsive Cart Dropdown */
@media (max-width: 768px) {
    .cart-dropdown {
        width: 300px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .cart-dropdown {
        width: 280px;
        right: -80px;
    }
}

/* Red Navigation Bar */
.main-navigation {
    background: #e43d4e;
    padding: 0;
    border-bottom: none;
}

.main-navigation .container {
    position: relative;
    display: flex;
    justify-content: center;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    margin: 0;
    position: relative;
}

.primary-menu a {
    display: block;
    padding: 0.75rem 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.primary-menu a:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    margin-left: 8px;
    margin-top: 4px;
    transition: transform 0.3s ease;
}

.primary-menu .quote-button a {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0.75rem 1.2rem;
    font-weight: 500;
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0;
    border: none;
}

.primary-menu .quote-button a:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: none;
    border: none;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 650px;
    max-width: 750px;
    border-top: 3px solid #e43d4e;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1.5rem;
}

.mega-menu-section {
    text-align: left;
}

.mega-menu-section h4 {
    color: #e43d4e;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.mega-menu-section li {
    margin-bottom: 0.25rem;
    display: block;
    width: 100%;
}

.mega-menu-section a {
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.375rem 0.5rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    line-height: 1.3;
}

.mega-menu-section a:hover {
    color: #e43d4e;
    background: #f8f9fa;
    padding-left: 0.75rem;
    transform: translateX(2px);
}

/* Special styling for AED Finder link in mega menu */
#mega-menu-aed-finder {
    background: linear-gradient(135deg, #e43d4e, #c82333) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-top: 0.75rem !important;
    border: 2px solid transparent !important;
}

#mega-menu-aed-finder:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
    padding-left: 1rem !important;
}

/* Responsive Mega Menu */
@media (max-width: 992px) {
    .mega-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0;
        transform: none;
        min-width: auto;
        max-width: none;
        border-top: none;
        display: none;
        z-index: 9999;
    }

    .dropdown:hover .mega-menu {
        display: none; /* Disable hover on mobile */
    }

    .mega-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .mega-menu-content {
        background: white;
        margin: 2rem;
        border-radius: 8px;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .mega-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
}

/* App-like Header Styles */
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 24px;
    height: 18px;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.site-logo {
    max-height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.header-icon svg {
    width: 24px;
    height: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    position: relative;
}

.header-icon:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .site-branding {
        grid-template-columns: 1fr auto auto;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
    }

    .header-left {
        order: 1;
    }

    .header-search {
        order: 3;
        grid-column: 1 / -1;
        margin-top: 1rem;
    }

    .header-actions {
        order: 2;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 1.5rem;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .primary-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #e1e1e1;
        border-top: none;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .primary-menu.show {
        display: flex;
    }

    .primary-menu a {
        color: #333 !important;
        background: transparent !important;
        border-bottom: 1px solid #f0f0f0;
        padding: 1rem 1.5rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .primary-menu a:hover {
        background: #f8f9fa !important;
        color: #dc3545 !important;
    }

    .primary-menu li:last-child a {
        border-bottom: none;
    }

    .primary-menu .quote-button a {
        background: #dc3545 !important;
        color: white !important;
        margin: 0.5rem 1rem 1rem;
        border-radius: 4px;
        text-align: center;
        border: none;
    }

    .primary-menu .quote-button a:hover {
        background: #c82333 !important;
        color: white !important;
    }
}

@media (max-width: 576px) {
    .header-left {
        gap: 0.75rem;
    }

    .site-logo {
        max-height: 40px;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .header-icon {
        padding: 0.375rem;
    }

    .header-icon svg {
        width: 20px;
        height: 20px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        top: -6px;
        right: -8px;
    }

    .header-search {
        margin-top: 0.75rem;
    }

    .menu-icon {
        width: 20px;
        height: 16px;
        gap: 2px;
    }
}

.featured-products-new {
    padding: 2rem 0;
}

.featured-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.featured-card-new {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
    background-color: #222; /* Fallback color */
}

.featured-card-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
    transition: background-color 0.3s ease;
}

.featured-card-new:hover::after {
    background: rgba(0, 0, 0, 0.55);
}

.featured-card-new .card-image-area,
.featured-card-new .card-image-area img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the area */
}

.featured-card-new .card-content {
    position: relative; /* Changed from absolute */
    z-index: 2;
    padding: 2rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.featured-card-new h2 {
    font-size: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.featured-card-new p {
    color: white;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.featured-card-new .card-link {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.right-card .starburst-image,
.right-card .starburst-image::before {
    display: none; /* Hide the starburst elements */
}

/* Product Categories New */
.product-categories-new {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.categories-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.category-card-new {
    background-color: white;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block; /* Make the whole card a block-level link */
}

.category-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card-new a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card-new .category-image {
    height: 180px; /* Set a fixed height for the image container */
    overflow: hidden;
}

.category-card-new .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card-new:hover .category-image img {
    transform: scale(1.05);
}

.category-card-new h3 {
    color: #333; /* Dark text for white background */
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding: 1rem;
    background-color: #fff; /* White background for the text area */
    flex-grow: 1; /* Allow the text area to fill remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* General Layout */
.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

.home .site-main {
    padding-top: 0;
    padding-bottom: 0;
}

.container {
    max-width: 1200px;
}

/* Best Sellers New */
.best-sellers-new {
    padding: 3rem 0;
}

.best-sellers-new .section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.products-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.product-card-new {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-align: left;
}

.product-card-new .product-image {
    position: relative;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-sash {
    position: absolute;
    top: 15px;
    left: -35px;
    background: #e43d4e;
    color: white;
    padding: 8px 35px;
    transform: rotate(-45deg);
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    width: 150px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-card-new .product-info {
    padding: 0 3rem 1rem 1rem;
    position: relative;
}

.product-card-new h3 {
    font-size: 1rem;
    font-weight: 500;
    min-height: 50px;
}

.product-card-new .product-price {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-card-new .product-price,
.product-card-new .product-price .price,
.product-card-new .product-price .woocommerce-Price-amount,
.product-card-new .product-price .amount {
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #333;
}

.product-card-new .product-price del,
.product-card-new .product-price del .woocommerce-Price-amount,
.product-card-new .product-price del .amount {
    color: #999 !important;
    font-size: 0.75rem !important;
    text-decoration: line-through;
}

.product-card-new .product-price ins,
.product-card-new .product-price ins .woocommerce-Price-amount,
.product-card-new .product-price ins .amount {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

.product-card-new .vat-info {
    display: block;
    font-weight: normal;
    color: #666;
    font-size: 0.7rem;
    margin-top: 0.15rem;
}

.product-card-new .vat-info {
    display: block;
    font-weight: normal;
    color: #666;
    font-size: 0.8rem;
}

.add-to-cart-btn-new {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: #28a745;
    border-radius: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn-new:hover {
    background-color: #218838;
}

/* Hide loading states and notifications for product cards */
.product-card-new .add-to-cart-btn-new.loading {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>') !important;
    opacity: 0.7;
}

.product-card-new .add-to-cart-btn-new::before,
.product-card-new .add-to-cart-btn-new::after {
    display: none !important;
}

/* Hide "adding" text and other loading indicators */
.products-grid-new .woocommerce-message,
.products-grid-new .added_to_cart,
.products-grid-new .blockUI,
.products-grid-new .blockOverlay {
    display: none !important;
}

.product-card-new .woocommerce-message,
.product-card-new .added_to_cart,
.product-card-new .blockUI,
.product-card-new .blockOverlay {
    display: none !important;
}

/* Hide any popup notifications within product cards */
.product-card-new [class*='notification'],
.product-card-new [class*='popup'],
.product-card-new [class*='toast'],
.product-card-new .fa-shopping-cart:not(.add-to-cart-btn-new) {
    display: none !important;
}

/* Hide spinner and adding text specifically */
.product-card-new .fa-spinner,
.product-card-new .fa-spin,
.product-card-new .loading-text,
.products-grid-new .fa-spinner,
.products-grid-new .fa-spin,
.products-grid-new .loading-text {
    display: none !important;
}

/* Hide "adding" text that appears on buttons */
.add-to-cart-btn-new.loading::before,
.add-to-cart-btn-new.loading::after,
.add-to-cart-btn-new .loading-text,
.add-to-cart-btn-new .fa-spinner {
    display: none !important;
}

/* Prevent text from showing on the button during loading */
.add-to-cart-btn-new.loading {
    color: transparent !important;
    text-indent: -9999px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>') !important;
}

/* Hide any text content inside the button */
.add-to-cart-btn-new * {
    display: none !important;
}

/* Use Cases New */
.use-cases-new {
    padding: 3rem 0;
}

.use-cases-new .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.use-case-slider {
    position: relative; /* For nav positioning */
}

/* A single slide item */
.use-case-slide {
    display: grid;
    grid-template-columns: 50% 50%; /* Two equal columns */
    align-items: stretch; /* Make columns equal height */
    border-radius: 12px; /* Rounded corners on the container */
    overflow: hidden; /* Clip children to the rounded corners */
    height: 100%;
}

/* The text part on the left (the "card") */
.use-case-text {
    background-color: #f8f9fa; /* Background only on the text part */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.use-case-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
}

.use-case-text p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* The image part on the right */
.use-case-image {
    /* No aspect ratio, it will stretch to the grid cell height */
    height: 100%;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure all owl items are uniform height so cards align */
.use-cases-new .owl-item {
    display: flex;
}
.use-cases-new .owl-item > .item {
    width: 100%;
}

/* Owl Carousel Nav/Dots Styling */
.use-cases-new .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.use-cases-new .owl-nav button.owl-prev,
.use-cases-new .owl-nav button.owl-next {
    pointer-events: all;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #dc3545 !important;
    font-size: 1.5rem !important;
    line-height: 1;
    transition: all 0.3s ease;
}

.use-cases-new .owl-nav button.owl-prev {
    margin-left: -22px; /* Hangs off the left edge */
}

.use-cases-new .owl-nav button.owl-next {
    margin-right: -22px; /* Hangs off the right edge */
}

.use-cases-new .owl-nav button.owl-prev:hover,
.use-cases-new .owl-nav button.owl-next:hover {
    background: #f8f9fa !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.use-cases-new .owl-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.use-cases-new .owl-dot {
    width: 12px;
    height: 12px;
    background: #d6d6d6;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s ease;
}

.use-cases-new .owl-dot.active {
    background: #dc3545;
}

/* Company Stats New */
.company-stats-new {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
}

.stat-item-new i {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
    display: block;
}

.stat-item-new h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* CTA Sections New */
.cta-sections-new {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.cta-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.cta-card-new {
    background: white;
    padding: 2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-image-new {
    width: 90px;
    height: 90px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.btn-new {
    background: #e43d4e;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    border: none;
}

/* Maintenance Parallax Section */
.maintenance-parallax {
    padding: 4rem 0;
    background-image: url('../images/parallax-bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.maintenance-content {
    background: white;
    padding: 2rem;
    border-radius: 6px;
    max-width: 50%;
}

/* About Us Summary Section */
.about-summary {
    padding: 3rem 0;
    text-align: center;
}

.about-summary h2 {
    color: #e43d4e;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-summary p {
    max-width: 800px;
    margin: 0 auto 1rem auto;
    line-height: 1.6;
}

.about-summary .more-link {
    color: #e43d4e;
    text-decoration: none;
    font-weight: bold;
}

.about-summary .more-link::before {
    content: '>';
    margin-right: 0.5rem;
}

/* New Footer */
.site-footer-new {
    color: #fff;
}

.footer-top {
    background-color: #4a4a6a;
    padding: 2rem 0;
    background-image: url('https://www.aedverkauf.de/static/version1719579737/frontend/Medisol/aedverkauf/de_DE/images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.contact-person {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-person img {
    max-width: 150px;
    border-radius: 17%;
}

.contact-person a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
}

.footer-ctas {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-footer-cta {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-footer-cta:hover {
    background: #fff;
    color: #4a4a6a;
}

.footer-main {
    background-color: #2c2c4a;
    padding: 3rem 0;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #555;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-bottom {
    background: #fff;
    padding: 1rem 0;
    color: #333;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 2.2rem;
    color: #888;
}

.copyright-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.copyright-info a {
    text-decoration: none;
    color: inherit;
    margin-left: 1rem;
}

/* Footer Bottom Menu */
.footer-bottom-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-menu a {
    color: #a9a9b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-menu a:hover {
    color: white;
}

/* Utility Classes */
#toTop,
.back-to-top,
.woocommerce-store-notice + a[href='#top'] {
    display: none !important;
}

/* Floating Action Buttons */
.fabs-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.fab-finder-btn {
    background: #0073aa;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fab-whatsapp-btn {
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fab-whatsapp-btn i {
    font-size: 2rem;
    color: white;
}

/* AED Finder Modal */
.aed-finder-modal-container {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.aed-finder-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.aed-finder-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
}

.finder-progress {
    color: #888;
    font-size: 0.9rem;
}

.finder-question h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.finder-answers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.finder-answer-btn {
    width: 100%;
    padding: 1rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
}

.finder-answer-btn:hover {
    background: #e0e0e0;
}

.finder-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.finder-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.finder-result-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

.finder-result-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.finder-product-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
    min-height: 70px;
}

.finder-product-tech {
    font-size: 0.85rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.finder-product-tech ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.finder-product-tech li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.finder-result-card .btn-new {
    width: calc(100% - 2rem);
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    text-align: center;
}

/* Product Features Styling */
.finder-product-features {
    margin: 1rem 0;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    border-left: 3px solid #28a745;
    text-align: left;
    margin-top: 0px;
}

.finder-product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: table;
    width: 100%;
}

.finder-product-features li {
    display: table-row;
    padding: 0.25rem 0;
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
}

.finder-product-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    font-size: 1rem;
    display: table-cell;
    width: 20px;
    vertical-align: top;
    padding-right: 0.5rem;
}

.finder-product-features li:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
}

/* Owl Carousel Dots Styling */

.owl-theme .owl-dots .owl-dot span {
    display: none;
}

.aed-finder-modal-content .owl-dots {
    text-align: center;
    margin-top: 1rem;
}

.aed-finder-modal-content .owl-dot {
    width: 12px;
    height: 12px;
    background: #ccc !important;
    border-radius: 50%;
    margin: 0 5px;
}

.aed-finder-modal-content .owl-dot.active {
    background: #e43d4e !important;
}

/* Page Template Styles */
.page-content-wrapper {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.page-main {
    flex: 2;
    min-width: 0;
    order: 2;
}

.page-sidebar {
    flex: 0 0 300px;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    order: 1;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.page-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.last-updated {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Content Styles */
.policy-content,
.terms-content,
.privacy-content,
.imprint-content,
.warranty-content,
.delivery-payment-content,
.quotation-content,
.contact-info {
    line-height: 1.6;
}

.policy-content h2,
.terms-content h2,
.privacy-content h2,
.imprint-content h2,
.warranty-content h2,
.delivery-payment-content h2,
.quotation-content h2 {
    color: #333;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 0.5rem;
}

.policy-content h3,
.terms-content h3,
.privacy-content h3,
.imprint-content h3,
.warranty-content h3,
.delivery-payment-content h3,
.quotation-content h3 {
    color: #555;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

.policy-content ul,
.terms-content ul,
.privacy-content ul,
.imprint-content ul,
.warranty-content ul,
.delivery-payment-content ul,
.quotation-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-content li,
.terms-content li,
.privacy-content li,
.imprint-content li,
.warranty-content li,
.delivery-payment-content li,
.quotation-content li {
    margin-bottom: 0.5rem;
}

/* Sidebar Styles */
.page-sidebar .widget {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-sidebar .widget-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 0.5rem;
}

.page-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-sidebar li {
    margin-bottom: 0.5rem;
}

.page-sidebar a {
    color: #555;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.page-sidebar a:hover,
.page-sidebar a.current {
    color: #dc3545;
    font-weight: 500;
}

.page-sidebar .btn {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
}

.page-sidebar .btn-outline {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.page-sidebar .btn-outline:hover {
    background: #dc3545;
    color: #fff;
}

.page-sidebar .btn-primary {
    background: #dc3545;
    color: #fff;
    border: 2px solid #dc3545;
}

.page-sidebar .btn-primary:hover {
    background: #c82333;
    border-color: #c82333;
    color: #fff;
}

.page-sidebar .small-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Contact Form Styles */
.contact-info {
    margin-top: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-method {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.contact-method h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method i {
    color: #dc3545;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* Quotation Form Styles */
.quotation-intro {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.quotation-intro h2 {
    color: #fff;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.quotation-intro .benefit i {
    background: #fff;
    color: #28a745;
    border-radius: 50%;
    padding: 2px;
}

.quotation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit i {
    color: #28a745;
    font-size: 1.2rem;
}

.quotation-form {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 2rem;
}

.quotation-form h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dc3545;
}

.quotation-form h3:first-of-type {
    margin-top: 0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input[type='checkbox'] {
    width: auto;
    margin: 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #e8f5e8;
    border-radius: 4px;
    color: #155724;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-note i {
    color: #28a745;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

th,
td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    width: 200px;
    border-right: 1px solid #e9ecef;
}

td {
    color: #212529;
    line-height: 1.5;
}

/* Remove border from last row */
tr:last-child th,
tr:last-child td {
    border-bottom: none;
}

/* Hover effect for rows */
tbody tr:hover {
    background: #f8f9fa;
}

/* Responsive table styling */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.75rem 0.875rem;
    }

    th {
        width: 150px;
    }
}

/* Legacy table classes for compatibility */
.warranty-table table,
.delivery-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.warranty-table th,
.delivery-table th,
.warranty-table td,
.delivery-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.warranty-table th,
.delivery-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.warranty-table tbody tr:hover,
.delivery-table tbody tr:hover {
    background: #f8f9fa;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.payment-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.payment-category h3 {
    margin-top: 0;
    color: #333;
}

.payment-category ul {
    list-style: none;
    padding: 0;
}

.payment-category li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.payment-category i {
    font-size: 1.5rem;
    color: #666;
}

/* Company Details */
.company-details {
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.detail-section h4 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.management-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.director {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.director h4 {
    color: #333;
    margin: 0 0 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-content-wrapper {
        flex-direction: column;
    }

    .page-sidebar {
        flex: none;
        order: 2;
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .page-main {
        order: 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .quotation-benefits {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .management-info {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
}

.woocommerce-info-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 4px solid #dc3545;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.woocommerce-info-box .info-box-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #dc3545;
}

.woocommerce-info-box .info-box-content .info-box-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #343a40;
}

.woocommerce-info-box .info-box-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #495057;
}

/* My Account Login/Register Page */
.woocommerce-account .woocommerce {
    max-width: 960px;
    margin: 2rem auto;
}

.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.woocommerce-account #customer_login h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    width: 100% !important;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.woocommerce-account .u-column2 {
    background-color: #f8f9fa;
}

.woocommerce-account .form-row {
    padding: 0;
    margin: 0 0 1.25rem;
}

.woocommerce-account .form-row label {
    font-weight: 500;
    color: #495057;
    display: block;
    margin-bottom: 0.5rem;
}

.woocommerce-account .form-row input.input-text {
    width: 100% !important;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.woocommerce-account .form-row input.input-text:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Target the specific login button by its unique class */
.woocommerce-form-login__submit {
    width: 100% !important;
    background-color: #dc3545 !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: background-color 0.3s ease !important;
}

.woocommerce-form-login__submit:hover {
    background-color: #c82333 !important;
    color: white !important;
}

/* Style the "Remember me" checkbox */
.woocommerce-form-login__rememberme {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.woocommerce-form-login__rememberme input {
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Center the Lost Password link */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 1.5rem;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .woocommerce-account #customer_login {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Our Brands Section */
.our-brands {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.our-brands .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-item img {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
}

/* --- Live Search Styles --- */
.header-search {
    position: relative;
}

.live-search-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.live-search-results {
    padding: 0;
}

.live-search-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.live-search-item:hover {
    background-color: #f8f9fa;
}

.live-search-item:last-child {
    border-bottom: none;
}

.search-item-image {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.search-item-info {
    flex: 1;
}

.search-item-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
}

.search-item-info h4 a {
    color: #333;
    text-decoration: none;
}

.search-item-info h4 a:hover {
    color: #dc3545;
}

.search-item-price {
    margin: 0;
    font-size: 13px;
    color: #dc3545;
    font-weight: 600;
}

.search-view-all {
    padding: 12px 16px;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.search-view-all a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.search-view-all a:hover {
    text-decoration: underline;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Product Grid Updates for Dynamic Products */
.product-card-new .product-image-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-new .product-info h3 a {
    color: inherit;
    text-decoration: none;
}

.product-card-new .product-info h3 a:hover {
    color: #dc3545;
}

/* --- Shop Page Layout --- */
.shop-container {
    padding: 2rem 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Shop Sidebar (Filters) */
.shop-sidebar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.filter-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price Filter */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-inputs input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.price-inputs span {
    color: #666;
    font-weight: 500;
}

.price-filter button {
    width: 100%;
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.price-filter button:hover {
    background: #c82333;
}

/* Search Description */
.search-description {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.search-description h2 {
    color: #dc3545;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.search-description p {
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
}

.search-description p:last-child {
    margin-bottom: 0;
    color: #28a745;
    font-weight: 500;
}

/* Brand Filter and Other Filters */
.brand-filter,
.operation-type-filter,
.seal-quality-filter,
.warranty-filter {
    max-height: 200px;
    overflow-y: auto;
}

.brand-option,
.operation-type-option,
.seal-quality-option,
.warranty-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 14px;
}

.brand-option input[type='checkbox'],
.operation-type-option input[type='checkbox'],
.seal-quality-option input[type='checkbox'],
.warranty-option input[type='checkbox'] {
    margin-right: 0.5rem;
    accent-color: #dc3545;
}

.brand-option span,
.operation-type-option span,
.seal-quality-option span,
.warranty-option span {
    color: #555;
}

.brand-option:hover span,
.operation-type-option:hover span,
.seal-quality-option:hover span,
.warranty-option:hover span {
    color: #333;
}

/* Clear Filters */
.filter-actions {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.clear-filters-btn {
    width: 100%;
    padding: 0.75rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.clear-filters-btn:hover {
    background: #5a6268;
}

/* Shop Main Content */
.shop-main {
    min-height: 500px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.shop-title {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.shop-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 20px;
}

.results-count {
    color: #666;
    font-size: 14px;
}

.shop-ordering select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    padding: 0 1rem;
    color: #dc3545;
    font-weight: 600;
    font-size: 1.1rem;
}

.woocommerce ul.products li.product .button {
    margin: 1rem;
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}

.woocommerce ul.products li.product .button:hover {
    background: #c82333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .shop-sidebar {
        position: static;
        order: 2;
    }

    .shop-main {
        order: 1;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .shop-controls {
        width: 100%;
        justify-content: space-between;
    }

    .products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

/* --- Search Results List View --- */

/* On search pages, change product container to a list */
.search-results-list-view .woocommerce ul.products {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Space between list items */
}

/* Reset default grid styles for list items on search pages */
.search-results-list-view .woocommerce ul.products li.product {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.search-results-list-view .woocommerce ul.products li.product:hover {
    transform: none;
    box-shadow: none;
}

.product-list-view-item {
    list-style: none;
}
/* New Product List Item Styles */
.product-list-view-inner {
    display: grid;
    grid-template-columns: 180px 1fr 240px;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: box-shadow 0.2s ease-in-out;
}

.product-list-view-inner:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

/* 1. Image Column */
.product-image-col {
    display: block;
}
.product-image-col .attachment-woocommerce_thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
}

/* 2. Details Column */
.product-details-col .woocommerce-loop-product__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.product-details-col .woocommerce-loop-product__title a {
    text-decoration: none;
    color: inherit;
}
.product-details-col .product-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}
.product-details-col .product-short-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
}

/* 3. Purchase Column */
.product-purchase-col {
    text-align: right;
}
.product-purchase-col .price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.75rem;
    display: block;
}
.product-purchase-col .button {
    background: #28a745 !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s ease;
}
.product-purchase-col .button:hover {
    background: #218838 !important;
}
.product-purchase-col .product-delivery-info {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}

/* Responsive adjustments for list view */
@media (max-width: 992px) {
    .product-list-view-inner {
        grid-template-columns: 150px 1fr;
        grid-template-areas:
            'image details'
            'image purchase';
        align-items: start;
    }
    .product-image-col {
        grid-area: image;
    }
    .product-details-col {
        grid-area: details;
    }
    .product-purchase-col {
        grid-area: purchase;
        text-align: left;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .product-list-view-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            'image'
            'details'
            'purchase';
        text-align: center;
    }
    .product-image-col {
        margin: 0 auto 1rem;
        max-width: 180px;
    }
}

/* Make shop and search results a list view instead of grid */
.shop-layout .woocommerce ul.products {
    display: flex;
    flex-direction: column;
}

.shop-layout .woocommerce ul.products li.product {
    width: 100%;
    display: block; /* Let inner grid handle layout */
    text-align: left;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
    padding: 1.5rem;
}

.shop-layout .woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-list-view-inner {
    display: grid;
    /* existing properties would be here */
}

/* Single Product Layout Styling */
.single-product-container {
    padding: 2rem 0;
    background: #fff;
}

.custom-product-layout .product-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-images-section {
    position: relative;
}

/* Product Gallery Container */
.product-gallery-container {
    width: 100%;
    max-width: 500px;
}

/* Main Product Image */
.main-product-image {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.main-product-image:hover img {
    transform: scale(1.05);
}

/* Thumbnails Slider */
.product-thumbnails-slider {
    width: 100%;
}

.thumbnails-owl-carousel {
    margin: 0;
    padding: 0;
}

.thumbnail-item {
    margin: 0 0.25rem;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    background: #f8f9fa;
}

.thumbnail-item:hover {
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thumbnail-item .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

.thumbnail-item .thumbnail-image.active,
.thumbnail-item:hover .thumbnail-image {
    opacity: 1;
}

.thumbnail-item .thumbnail-image:not(.active) {
    opacity: 0.7;
}

.thumbnail-item.active {
    border-color: #dc3545;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Owl Carousel Navigation for Thumbnails */
.thumbnails-owl-carousel .owl-nav {
    margin-top: 0.5rem;
    text-align: center;
}

.thumbnails-owl-carousel .owl-nav button {
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 0.25rem !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.thumbnails-owl-carousel .owl-nav button:hover {
    background: #c82333 !important;
    transform: scale(1.1) !important;
}

.thumbnails-owl-carousel .owl-nav button span {
    font-size: 16px !important;
    font-weight: bold !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-gallery-container {
        max-width: 100%;
    }

    .thumbnail-item {
        margin: 0 0.125rem;
    }

    .thumbnails-owl-carousel .owl-nav button {
        width: 28px !important;
        height: 28px !important;
    }

    /* Mobile Product Layout */
    .single-product-container {
        padding: 1rem 0;
    }

    .custom-product-layout .product-main-content {
        display: block;
        gap: 0;
        margin-bottom: 2rem;
    }

    .product-images-section {
        margin-bottom: 2rem;
    }

    .product-gallery-container {
        max-width: 100%;
    }

    .main-product-image {
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .product-summary-section .product-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-features {
        margin-bottom: 1.5rem;
    }

    .product-price {
        margin-bottom: 1.5rem;
    }

    .product-description-link {
        margin-bottom: 1.5rem;
    }

    .product-add-to-cart .quantity-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .product-add-to-cart .quantity {
        width: 100%;
        max-width: 120px;
    }

    .product-add-to-cart .single_add_to_cart_button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .product-tabs-nav {
        position: sticky;
        top: 70px; /* Position below the mobile header */
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 1rem;
        z-index: 100;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .tabs-nav-inner {
        padding: 0.5rem;
        gap: 0.5rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tabs-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        font-size: 10px;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    .product-tabs-content {
        padding: 0;
    }

    .tab-content {
        padding: 1rem;
    }

    .tab-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* Legacy WooCommerce Gallery Support */
.product-images-section .woocommerce-product-gallery {
    margin: 0;
}

.product-images-section .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.product-images-section .woocommerce-product-gallery__image {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.product-images-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-summary-section .product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #495057;
    border-bottom: 1px solid #f0f0f0;
}

.product-features-list li:last-child {
    border-bottom: none;
}

.product-features-list li i {
    color: #28a745;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.product-price {
    margin-bottom: 1.5rem;
}

.product-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
}

.product-price .price del {
    color: #6c757d;
    font-size: 1.5rem;
}

.product-description-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.product-description-link .description-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.product-description-link .description-link i {
    margin-right: 0.75rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.product-description-link .description-link:hover {
    color: #c82333;
}

.product-description-link .description-link:hover i {
    transform: translateX(4px);
}

.product-description-link .read-more-link {
    color: #6c757d;
    text-decoration: underline;
    font-size: 0.9rem;
}

.product-description-link .read-more-link:hover {
    color: #495057;
}

.product-add-to-cart {
    margin-bottom: 2rem;
}

.product-add-to-cart .quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-add-to-cart .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow: hidden;
}

.product-add-to-cart .quantity input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
}

.product-add-to-cart .single_add_to_cart_button {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background: #218838;
    color: white;
}

.product-add-to-cart .single_add_to_cart_button.disabled {
    background: #6c757d;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
}

.product-add-to-cart .single_add_to_cart_button.disabled:hover {
    background: #6c757d;
}

.product-add-to-cart .single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: wait;
}

.enquire-price .enquire-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc3545;
}

.enquire-form .enquire-note {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.product-additional-info {
    margin-top: 1rem;
}

.stock-status {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
    font-weight: 500;
}

.stock-status i {
    margin-right: 0.5rem;
    color: #28a745;
}

/* Cart Popup Styles */
.cart-popup {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    min-width: 300px;
    max-width: 400px;
    z-index: 9999;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-popup.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-popup-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #28a745;
    font-weight: 600;
}

.cart-popup-header i {
    font-size: 1.2rem;
}

.cart-popup-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-popup-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-popup-product-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #495057;
}

.cart-popup-product-info .price {
    font-weight: 600;
    color: #dc3545;
}

.cart-popup-actions {
    display: flex;
    gap: 0.5rem;
}

.cart-popup-actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cart-popup-actions .btn-outline {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
}

.cart-popup-actions .btn-outline:hover {
    background: #dc3545;
    color: white;
}

.cart-popup-actions .btn-primary {
    background: #28a745;
    border: 1px solid #28a745;
    color: white;
}

.cart-popup-actions .btn-primary:hover {
    background: #218838;
    border-color: #218838;
}

/* ... existing code ... */

/* Product Lightbox Styles */
.product-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: lightboxFadeIn 0.3s ease forwards;
}

@keyframes lightboxFadeIn {
    to {
        opacity: 1;
    }
}

.product-lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
}

.lightbox-nav button:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-nav .lightbox-prev {
    left: 20px;
}

.lightbox-nav .lightbox-next {
    right: 20px;
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* Mobile responsive lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: -35px;
        right: -35px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .lightbox-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-nav {
        padding: 0 10px;
    }

    .main-product-image {
        cursor: pointer;
    }

    .main-product-image img {
        cursor: pointer;
    }
}

/* Product Tabs Styles */
.product-tabs-container {
    margin-top: 3rem;
    width: 100%;
}

/* Tab Navigation */
.product-tabs-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
}

.product-tabs-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.tabs-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 60px;
    position: relative;
}

.tab-link:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.tab-link.active {
    color: #dc3545;
    border-bottom-color: #dc3545;
    background: white;
    font-weight: 600;
}

/* Tab Content */
.product-tabs-content {
    padding: 0;
}

.tab-content {
    display: block;
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.tab-content:last-child {
    border-bottom: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 2rem;
    text-align: center;
}

.tab-content-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.tab-content-text p {
    margin-bottom: 1.5rem;
}

.tab-content-text ul,
.tab-content-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.tab-content-text li {
    margin-bottom: 0.5rem;
}

.tab-content-text h3 {
    color: #dc3545;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.tab-content-text h4 {
    color: #495057;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

/* Spacing when tabs become sticky */
body.tabs-sticky .product-tabs-content {
    padding-top: 60px; /* Height of sticky nav */
}

/* Smooth scroll offset for anchor links */
.tab-content {
    scroll-margin-top: 80px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .tabs-nav-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tabs-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: auto;
        flex-shrink: 0;
    }

    .tab-content h2 {
        font-size: 1.5rem;
        text-align: left;
    }

    .tab-content {
        padding: 2rem 0;
    }

    .tab-content-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .tab-link {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .product-tabs-nav.sticky {
        position: fixed;
    }

    body.tabs-sticky .product-tabs-content {
        padding-top: 50px;
    }
}

/* About Us Page Styles */
.about-content {
    line-height: 1.6;
}

.about-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.about-hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.story-section,
.mission-section,
.why-choose-section,
.services-section,
.team-section,
.values-section,
.cta-section {
    margin-bottom: 4rem;
}

.about-content section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.mission-grid,
.benefits-grid,
.services-grid,
.team-grid,
.values-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.mission-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mission-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #dc3545;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-icon {
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border: 3px solid #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.member-icon i {
    font-size: 2.5rem;
    color: #dc3545;
}

.team-member h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #dc3545;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem !important;
}

.team-member p:not(.member-title) {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.values-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-item {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #dc3545;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-3px);
}

.value-item i {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
    display: block;
}

.value-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
}

.cta-section {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.cta-content h2 {
    color: white;
    border: none;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: #dc3545;
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-2px);
}

/* Quick Facts Widget */
.quick-facts {
    margin-bottom: 1.5rem;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #dc3545;
}

.fact-item i {
    color: #dc3545;
    font-size: 1.2rem;
    width: 20px;
}

.fact-item span {
    font-weight: 500;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: 2rem 1.5rem;
    }

    .about-hero h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .mission-grid,
    .benefits-grid,
    .services-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Warranty & Maintenance Page Styles */
.warranty-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.warranty-hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.warranty-hero .hero-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Importance Section */
.importance-section {
    margin-bottom: 4rem;
}

.importance-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.importance-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.importance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.importance-icon {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.importance-icon i {
    font-size: 2rem;
    color: white;
}

.importance-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 4rem;
}

.benefit span {
    color: #000;
}

.benefits-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    margin-bottom: 4rem;
}

.services-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.maintenance-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.service-header i {
    font-size: 1.5rem;
    color: #dc3545;
}

.service-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.service-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.service-item li:last-child {
    border-bottom: none;
}

.service-item li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Warranty Plans */
.warranty-info-section {
    margin-bottom: 4rem;
}

.warranty-info-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.warranty-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.warranty-plan {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warranty-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.warranty-plan.featured {
    border-color: #dc3545;
    transform: scale(1.05);
}

.warranty-plan.featured:hover {
    transform: scale(1.05) translateY(-3px);
}

.warranty-plan h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warranty-plan h3 i {
    color: #dc3545;
}

.plan-details p {
    margin-bottom: 0.75rem;
    color: #555;
}

.plan-details strong {
    color: #333;
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
    margin-bottom: 4rem;
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.maintenance-contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.maintenance-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Emergency Contact */
.emergency-contact {
    margin-bottom: 2rem;
}

.emergency-box {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.emergency-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.emergency-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.emergency-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.emergency-actions .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-danger {
    background: #ff4757;
    color: white;
    border: 2px solid #ff4757;
}

.btn-danger:hover {
    background: #ff3742;
    border-color: #ff3742;
    color: white;
    transform: translateY(-2px);
}

.emergency-box .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.emergency-box .btn-outline:hover {
    background: white;
    color: #dc3545;
    transform: translateY(-2px);
}

.emergency-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Maintenance Facts Widget */
.maintenance-facts {
    margin-bottom: 1.5rem;
}

.maintenance-facts .fact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #dc3545;
}

.maintenance-facts .fact-item i {
    color: #dc3545;
    font-size: 1.2rem;
    width: 20px;
}

.maintenance-facts .fact-item span {
    font-weight: 500;
    color: #333;
}

/* Responsive Design for Warranty Page */
@media (max-width: 768px) {
    .warranty-hero {
        padding: 2rem 1.5rem;
    }

    .warranty-hero h2 {
        font-size: 2rem;
    }

    .importance-grid,
    .benefits-grid,
    .maintenance-services,
    .warranty-plans {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .emergency-actions {
        flex-direction: column;
        align-items: center;
    }

    .emergency-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .warranty-plan.featured {
        transform: none;
    }

    .warranty-plan.featured:hover {
        transform: translateY(-3px);
    }
}

/* Footer Responsive Design */
@media (max-width: 992px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-person {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-person img {
        max-width: 120px;
    }

    .footer-ctas {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .payment-icons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 2rem;
    }

    .footer-bottom-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 1.5rem 0;
    }

    .contact-person {
        gap: 0.75rem;
    }

    .contact-person img {
        max-width: 100px;
    }

    .contact-person h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .contact-person p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .contact-person a {
        font-size: 1rem;
    }

    .btn-footer-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }

    .footer-main {
        padding: 2rem 0;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .payment-icons {
        font-size: 1.8rem;
        gap: 0.75rem;
    }

    .footer-bottom-menu {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .copyright-info p {
        font-size: 0.8rem;
    }

    /* FAB responsive adjustments */
    .fabs-container {
        bottom: 1rem;
        right: 1rem;
    }

    .fab-finder-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }

    .fab-whatsapp-btn {
        width: 50px;
        height: 50px;
    }

    .fab-whatsapp-btn i {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   BASE STYLES FOR TEMPLATE PAGES
   ========================================================================== */

/* Base Content Containers */
.about-content,
.contact-info,
.delivery-payment-content,
.privacy-content,
.imprint-content,
.terms-content,
.warranty-content,
.quotation-content,
.policy-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-details,
.contact-form-section {
    flex: 1;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-method {
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-method i {
    color: #dc3545;
    margin-right: 0.5rem;
}

/* Delivery & Payment Specific */
.delivery-payment-content {
    line-height: 1.6;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.payment-category {
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
}

.payment-category h3 {
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 0.5rem;
}

.payment-category ul {
    list-style: none;
    padding: 0;
}

.payment-category li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.payment-category i {
    margin-right: 0.5rem;
    color: #dc3545;
    width: 20px;
}

/* Quotation Form Specific */
.quotation-intro {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.quotation-intro h2 {
    color: white;
    margin-bottom: 1rem;
}

.quotation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit i {
    color: #fff;
    font-size: 1.2rem;
}

.quotation-form {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quotation-form h3 {
    color: #333;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dc3545;
}

.quotation-form h3:first-of-type {
    margin-top: 0;
}

/* Imprint Specific */
.company-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h4 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.management-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.director {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.director h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.regulatory-info,
.bank-info,
.insurance-info,
.dpo-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* General Typography for Template Pages */
.page-content h2 {
    color: #333;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.page-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.page-content h4 {
    color: #333;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.page-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.page-content ul,
.page-content ol {
    margin: 1rem 0 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.page-content a {
    color: #dc3545;
    text-decoration: none;
}

.page-content a:hover {
    color: #c82333;
    text-decoration: underline;
}

.last-updated {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-left: 4px solid #dc3545;
}

/* ==========================================================================
   RESPONSIVE STYLES FOR TEMPLATE PAGES
   ========================================================================== */

/* About Page Responsive */
@media (max-width: 992px) {
    .about-content .mission-grid,
    .about-content .benefits-grid,
    .about-content .services-grid,
    .about-content .team-grid,
    .about-content .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-content .mission-item,
    .about-content .benefit-item,
    .about-content .service-card,
    .about-content .team-member,
    .about-content .value-item {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-content .mission-grid,
    .about-content .benefits-grid,
    .about-content .services-grid,
    .about-content .team-grid,
    .about-content .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-content section {
        margin-bottom: 2rem;
    }

    .about-content section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        margin-bottom: 0.5rem;
        text-align: center;
    }
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }

    .contact-details,
    .contact-form-section {
        width: 100%;
        margin-bottom: 2rem;
    }

    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-method {
        text-align: center;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .contact-form .form-row {
        flex-direction: column;
    }

    .contact-form .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Homepage Responsive Enhancements */
@media (max-width: 992px) {
    .featured-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-card-new {
        min-height: 200px;
    }

    .categories-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .products-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cta-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .categories-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid-new {
        grid-template-columns: 1fr;
    }

    .stats-grid-new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .use-case-slide {
        padding: 1rem;
    }

    .use-case-text h3 {
        font-size: 1.2rem;
    }

    .maintenance-content {
        padding: 2rem 1rem;
        max-width: 100%;
        width: 100%;
    }

    .maintenance-content h2 {
        font-size: 1.5rem;
    }

    /* Mobile Filters FAB */
    .mobile-filters-fab {
        position: fixed;
        bottom: 2rem;
        left: 2rem;
        background: #0073aa;
        color: white;
        border-radius: 25px;
        padding: 0.75rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
        transition: all 0.3s ease;
        font-size: 0.9rem;
        font-weight: 500;
        white-space: nowrap;
        z-index: 1000;
        cursor: pointer;
        gap: 0.5rem;
    }

    .mobile-filters-fab:hover {
        background: #005a87;
        transform: translateY(-2px);
        text-decoration: none;
        color: white;
    }

    .mobile-filters-fab i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trust-item {
        padding: 0.5rem;
    }

    .categories-grid-new {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card-new .card-content {
        padding: 1rem;
    }

    .featured-card-new h2 {
        font-size: 1.2rem;
    }
}

/* Delivery Page Responsive */
@media (max-width: 768px) {
    .delivery-payment-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .delivery-payment-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .payment-methods {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .payment-category {
        width: 100%;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .payment-category ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .payment-category li {
        flex: 1 1 45%;
        min-width: 120px;
    }
}

/* Privacy Policy Responsive */
@media (max-width: 768px) {
    .privacy-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .privacy-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .privacy-content ul,
    .privacy-content ol {
        padding-left: 1.5rem;
    }

    .privacy-content li {
        margin-bottom: 0.5rem;
    }

    .contact-info {
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

/* Imprint Page Responsive */
@media (max-width: 768px) {
    .imprint-content .company-details {
        margin-bottom: 2rem;
    }

    .imprint-content .detail-section {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .imprint-content .detail-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .management-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .director {
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .regulatory-info,
    .bank-info,
    .insurance-info,
    .dpo-info {
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 1.5rem;
    }
}

/* Terms Page Responsive */
@media (max-width: 768px) {
    .terms-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .terms-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .terms-content ul,
    .terms-content ol {
        padding-left: 1.5rem;
    }

    .terms-content li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
}

/* Warranty Page Responsive */
@media (max-width: 992px) {
    .warranty-plans {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .maintenance-services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-item {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .warranty-content .importance-grid,
    .warranty-content .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .warranty-content section {
        margin-bottom: 2rem;
    }

    .warranty-content section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .maintenance-contact-form {
        padding: 1rem;
    }

    .maintenance-form .form-row {
        flex-direction: column;
    }

    .maintenance-form .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }

    .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .checkbox-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
        background: #f8f9fa;
        border-radius: 4px;
    }

    .emergency-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .emergency-actions .btn {
        width: 100%;
        text-align: center;
    }
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Quotation Page Responsive */
@media (max-width: 768px) {
    .quotation-intro {
        margin-bottom: 2rem;
    }

    .quotation-benefits {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .quotation-form h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #dc3545;
    }

    .quotation-form .form-row {
        flex-direction: column;
    }

    .quotation-form .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }

    .quotation-form .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .quotation-form .checkbox-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem;
        background: #f8f9fa;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .quotation-form .checkbox-group label:hover {
        background: #e9ecef;
    }

    .quotation-form .checkbox-group input[type='checkbox'] {
        margin: 0;
    }

    .btn-large {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .form-note {
        text-align: center;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 8px;
    }
}

/* Refund Page Responsive */
@media (max-width: 768px) {
    .policy-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .policy-content ol,
    .policy-content ul {
        padding-left: 1.5rem;
    }

    .policy-content li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    .policy-content ol li {
        padding-left: 0.5rem;
    }
}

/* General Template Responsive Fixes */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem 0;
    }

    .page-header {
        margin-bottom: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .page-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Improve readability on mobile */
    h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    h4 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    /* Better spacing for lists */
    ul,
    ol {
        margin-bottom: 1.5rem;
    }

    li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }

    /* Improve button spacing */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Better form styling */
    input,
    select,
    textarea {
        min-height: 44px; /* Touch target size */
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.75rem;
    }

    textarea {
        min-height: 120px;
    }

    /* Improve icon sizing */
    i.fas,
    i.fab {
        font-size: 1.2rem;
    }

    /* Better spacing for sections */
    section {
        margin-bottom: 2rem;
    }

    /* Improve table responsiveness */
    table {
        font-size: 0.9rem;
    }

    th,
    td {
        padding: 0.5rem;
    }
}

@media (max-width: 576px) {
    .page-container {
        padding: 0.5rem 0;
    }

    .container {
        padding: 10px 0.4rem 0px 0.4rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-content {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    /* Stack elements more aggressively */
    .form-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Better spacing */
    section {
        margin-bottom: 1.5rem;
    }

    .card,
    .service-card,
    .benefit-item,
    .mission-item {
        padding: 1rem;
    }
}

/* Landscape phone orientation fixes */
@media (max-width: 896px) and (orientation: landscape) {
    .page-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    section {
        margin-bottom: 1.5rem;
    }

    .grid,
    .benefits-grid,
    .services-grid,
    .mission-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.quotation-intro p,
.quotation-intro h2,
.quotation-intro h3,
.quotation-intro h4,
.quotation-intro h5,
.quotation-intro h6,
.cta-section-about .cta-content p,
.cta-section-about .cta-content h2,
.cta-section-about .cta-content h3,
.cta-section-about .cta-content h4,
.cta-section-about .cta-content h5,
.cta-section-about .cta-content h6,
.emergency-box p,
.emergency-box h2,
.emergency-box h3,
.emergency-box h4,
.emergency-box h5,
.emergency-box h6 {
    color: white;
}

.cta-section-about .btn,
.emergency-box .btn {
    color: white;
    background-color: #dc3545;
    border-color: #dc3545;
}

.cta-section-about .btn:hover,
.emergency-box .btn:hover {
    color: white;
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
}

.lang-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.lang-link:hover {
    color: #0073aa;
    text-decoration: none;
    background-color: rgba(0, 115, 170, 0.1);
}

.lang-link.active {
    color: #0073aa;
    font-weight: 600;
}

.lang-separator {
    color: #ccc;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .language-switcher {
        gap: 0.25rem;
        margin-right: 0.25rem;
    }

    .lang-link {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Product Quotation Modal Styles */
.quotation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.quotation-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.quotation-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quotation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e1e1e1;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.quotation-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.quotation-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.quotation-modal-close:hover {
    background-color: #e9ecef;
    color: #333;
}

.quotation-modal-body {
    padding: 1.5rem;
}

.quotation-product-info {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.quotation-product-image {
    flex-shrink: 0;
}

.quotation-product-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.quotation-product-details {
    flex: 1;
}

.quotation-product-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.quotation-product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.quotation-form-modal {
    max-width: none;
}

.quotation-form-modal h4 {
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 0.5rem;
}

.quotation-form-modal h4:first-of-type {
    margin-top: 0;
}

.quotation-form-modal .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quotation-form-modal .form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.quotation-form-modal label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.quotation-form-modal input,
.quotation-form-modal select,
.quotation-form-modal textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.quotation-form-modal input:focus,
.quotation-form-modal select:focus,
.quotation-form-modal textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.quotation-form-modal textarea {
    resize: vertical;
    min-height: 80px;
}

.quotation-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e1e1;
}

.quotation-modal-actions .btn {
    min-width: 120px;
}

.form-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-note i {
    color: #28a745;
}

/* Product Quotation Section Styles */
.product-quotation-section {
    margin-top: 1.5rem;
}

.product-quotation-section .quantity-wrapper {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.product-quotation-section .quantity {
    flex-shrink: 0;
    min-width: 80px;
}

.product-quotation-section .quantity input {
    width: 100%;
    padding: 0.75rem 0.5rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.product-quotation-section .quantity input:focus {
    outline: none;
    border-color: #005a87;
    box-shadow: 0 0 0 2px rgba(0, 90, 135, 0.1);
}

.product-quotation-section .send_quotation_button {
    flex: 1;
    background-color: #005a87;
    border-color: #005a87;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 2px solid #005a87;
}

.product-quotation-section .send_quotation_button:hover {
    background-color: #004570;
    border-color: #004570;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 90, 135, 0.2);
}

.quotation-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Body class when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive styles */
@media (max-width: 768px) {
    .quotation-modal {
        padding: 0;
        align-items: stretch;
    }
    
    .quotation-modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .quotation-modal-header {
        padding: 1rem;
        border-radius: 0;
        flex-shrink: 0;
        position: relative;
    }
    
    .quotation-modal-header h3 {
        font-size: 1.25rem;
        text-align: center;
        padding-right: 40px; /* Make room for close button */
    }
    
    .quotation-modal-close {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
    }
    
    .quotation-modal-body {
        padding: 1rem;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .quotation-form-modal .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .quotation-product-info {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .quotation-product-image {
        align-self: center;
        margin-bottom: 0.75rem;
    }
    
    .quotation-modal-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #e1e1e1;
    }
    
    .quotation-modal-actions .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .product-quotation-section .quantity-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quotation-form-modal h4 {
        font-size: 1.1rem;
        margin: 1rem 0 0.75rem 0;
    }
    
    .quotation-form-modal input,
    .quotation-form-modal select,
    .quotation-form-modal textarea {
        padding: 1rem 0.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .quotation-modal-header {
        padding: 0.75rem;
    }
    
    .quotation-modal-header h3 {
        font-size: 1.1rem;
        padding-right: 35px;
    }
    
    .quotation-modal-close {
        right: 0.75rem;
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
    }
    
    .quotation-modal-body {
        padding: 0.75rem;
    }
    
    .quotation-modal-actions {
        padding: 1rem 0.75rem 0.75rem;
        margin-top: 1rem;
    }
}/* Pro
duct Loop Quotation Button Styles */
.product-loop-quotation {
    margin-top: 0.75rem;
}

.send_quotation_button_loop {
    width: 100%;
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid #28a745;
}

.send_quotation_button_loop:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.send_quotation_button_loop:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}

.send_quotation_button_loop i {
    font-size: 0.85rem;
}

/* Price on request styling */
.enquire-price {
    margin-bottom: 0.5rem;
}

.enquire-text {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    font-style: italic;
}

/* Ensure modal appears above everything */
.quotation-modal {
    z-index: 999999;
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .send_quotation_button_loop {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}/* P
roduct Loop Quotation Button Styles */
.product-loop-quotation {
    margin-top: 0.75rem;
}

.send_quotation_button_loop {
    width: 100%;
    background-color: #005a87;
    border-color: #005a87;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid #005a87;
}

.send_quotation_button_loop:hover {
    background-color: #004570;
    border-color: #004570;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 90, 135, 0.2);
}

.send_quotation_button_loop:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 90, 135, 0.25);
}

.send_quotation_button_loop i {
    font-size: 0.85rem;
}

/* Additional responsive adjustments for loop buttons */
@media (max-width: 768px) {
    .send_quotation_button_loop {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}/* 
Additional quantity input styling */
.quantity label.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}

/* Ensure quantity inputs are consistent across the site */
.woocommerce .quantity input.qty,
.quantity input[type="number"] {
    width: 100%;
    padding: 0.75rem 0.5rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
    background-color: #fff;
    transition: border-color 0.2s ease;
    -moz-appearance: textfield; /* Firefox */
}

.woocommerce .quantity input.qty:focus,
.quantity input[type="number"]:focus {
    outline: none;
    border-color: #005a87;
    box-shadow: 0 0 0 2px rgba(0, 90, 135, 0.1);
}

/* Hide number input spinners */
.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Mobile quantity input adjustments */
@media (max-width: 768px) {
    .product-quotation-section .quantity {
        min-width: 100%;
    }
    
    .product-quotation-section .quantity input {
        padding: 1rem 0.75rem;
        font-size: 1.1rem;
    }
}