/* =========================================================
   Hawle Theme Main CSS
   Cleaned and organized version
   Replace: assets/css/main.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ------------------------------
   01. Variables & Reset
------------------------------ */
:root {
    --primary-color: #005a9c;
    --primary-dark: #004170;
    --secondary-color: #f4f4f4;
    --page-bg: #f7f9fb;
    --dark-color: #333;
    --text-muted: #666;
    --light-color: #fff;
    --border-color: #e6e6e6;
    --font-family: 'Inter', Arial, Helvetica, sans-serif;
    --footer-bg-color: #0c2d48;
    --footer-text-color: #a2c4e0;
    --shadow-sm: 0 4px 14px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 26px rgba(0,0,0,0.08);
    --shadow-lg: 0 14px 32px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-family);
}

body {
    direction: ltr;
    text-align: left;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* ------------------------------
   02. Buttons
------------------------------ */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* ------------------------------
   03. Header & Navigation
------------------------------ */
.main-header {
    background-color: var(--light-color);
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 32px;
    padding-right: 32px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 26px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
    max-width: 120px;
    overflow: hidden;
    margin-right: 16px;
}

.logo img,
.logo .custom-logo {
    display: block;
    max-height: 24px;
    width: auto;
    object-fit: contain;
}

.logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.main-header .home-icon,
.main-header .home-icon-btn {
    order: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 90, 156, 0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background-color: #fff;
    flex-shrink: 0;
}

.main-header .home-icon:hover,
.main-header .home-icon-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.main-header .home-icon i,
.main-header .home-icon-btn i {
    font-size: 1rem;
}

.main-header .home-icon {
    position: static;
    transform: none;
    margin: 0;
}

.main-nav {
    order: 2;
    margin-right: 0;
    margin-left: 0;
}

.primary-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.primary-menu li {
    position: relative;
}

.primary-menu > li > a,
.main-nav a {
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-menu > li > a:hover,
.main-nav a:hover {
    color: var(--primary-color);
}

.primary-menu .sub-menu,
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background-color: var(--light-color);
    min-width: 260px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1000;
}

.primary-menu li:hover > .sub-menu,
.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li a,
.submenu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: var(--dark-color);
    border-bottom: 1px solid #eee;
    border-radius: 8px;
    font-weight: 400;
}

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

.primary-menu .sub-menu li a:hover,
.submenu li a:hover {
    background-color: #f2f7fb;
    color: var(--primary-color);
    transform: translateX(4px);
}

.primary-menu .sub-menu li a img,
.product-submenu li a img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background-color: #f7f7f7;
    flex-shrink: 0;
}

.product-submenu {
    min-width: 340px;
}

.header-actions {
    order: 3;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

.search-btn {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.main-header .mobile-menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #fff;
    border: 1px solid #cfd8df;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.main-header .mobile-menu-toggle i,
.main-header .mobile-menu-toggle svg {
    display: none;
}

.main-header .mobile-menu-toggle::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    display: block;
    box-shadow: 0 8px 0 var(--primary-color), 0 -8px 0 var(--primary-color);
    border-radius: 3px;
}

@media (min-width: 769px) {
    .main-header .mobile-menu-toggle {
        display: none;
    }
}

/* Header search */
.header-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search-input {
    width: 0;
    opacity: 0;
    padding: 10px 0;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.header-search-form:hover .header-search-input,
.header-search-input:focus {
    width: 190px;
    opacity: 1;
    padding: 10px 12px;
    border-color: #d8d8d8;
}

.header-search-form .search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark-color);
    font-size: 1.35rem;
    padding: 8px;
}

.header-search-form .search-btn:hover {
    color: var(--primary-color);
}

/* ------------------------------
   04. Homepage Hero Slider
------------------------------ */
.hero-slider {
    position: relative;
    height: 620px;
    max-height: 620px;
    overflow: hidden;
    background-color: #fff;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-text {
    width: 36%;
    height: 100%;
    background-color: var(--light-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
}

.hero-text {
    max-width: 430px;
    text-align: left;
}

.hero-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 2.45rem;
    line-height: 1.22;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.7rem;
    color: #555;
}

.slide-image {
    width: 64%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--dark-color);
    font-size: 1rem;
    cursor: pointer;
    z-index: 3;
}

.slider-control:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.slider-control.prev {
    left: 18px;
}

.slider-control.next {
    right: 18px;
}

.slider-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 14px 20px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 90, 156, 0.12);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
}

.slider-tab {
    padding: 8px 14px;
    color: #2f3a44;
    opacity: 0.75;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.slider-tab:hover,
.slider-tab.active {
    color: var(--primary-color);
    opacity: 1;
}

.slider-tab.active {
    border-bottom-color: var(--primary-color);
}

.slider-progress-bar {
    position: absolute;
    bottom: 48px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(0, 90, 156, 0.14);
    z-index: 3;
}

.slider-progress-bar .progress {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    transition: width 5s linear;
}

/* ------------------------------
   05. Homepage Sections
------------------------------ */
.features-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ------------------------------
   06. Shared Cards
------------------------------ */
.product-card,
.news-card,
.blog-card,
.search-result-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover,
.news-card:hover,
.blog-card:hover,
.search-result-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* ------------------------------
   07. Homepage Product Slider
------------------------------ */
.featured-products-section {
    padding: 70px 0;
    background-color: #fff;
}

.featured-products-slider-wrapper,
.news-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.featured-products-slider,
.news-slider {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 5px 5px 25px;
}

.featured-products-slider::-webkit-scrollbar,
.news-slider::-webkit-scrollbar {
    display: none;
}

.featured-product-slide,
.news-slide {
    flex: 0 0 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
}

.featured-products-section .product-card {
    width: 100%;
    height: 480px;
    min-height: 480px;
    padding: 35px 25px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-products-section .product-image-link {
    height: 170px;
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-products-section .product-card-image,
.featured-products-section .product-card img {
    max-width: 100%;
    max-height: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.featured-products-section .product-card h3 {
    height: 90px;
    margin: 0 0 12px;
    color: #222;
    font-size: 1.18rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.featured-products-section .product-capacity {
    height: 30px;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-products-section .btn-secondary {
    margin-top: auto;
    padding: 10px 24px;
    border-radius: 4px;
}

.featured-products-arrow,
.news-arrow {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.featured-products-arrow:hover,
.news-arrow:hover {
    background: var(--primary-color);
    color: #fff;
}

.more-products-card,
.more-news-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: inherit;
    padding: 40px 20px;
    text-decoration: none;
    color: var(--primary-color);
}

.more-products-icon,
.more-news-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 22px;
}

.more-products-card h3,
.more-news-card h3 {
    color: #222;
    margin: 0 0 10px;
}

.more-products-card p,
.more-news-card p {
    color: #555;
    margin: 0;
}

.no-featured-products,
.no-news-found {
    text-align: center;
    color: #777;
}

/* ------------------------------
   08. Homepage News Slider
------------------------------ */
.news-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.news-slider .news-card {
    height: 100%;
    min-height: 430px;
}

.news-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.news-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 90, 156, 0.1), rgba(0, 90, 156, 0.7));
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-card:hover .news-image-wrapper img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.news-date {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-actions {
    text-align: center;
}

/* ------------------------------
   09. Blog Archive & Single Blog
------------------------------ */
.blog-archive-section,
.single-blog-section,
.page-section,
.search-results-section,
.products-archive-section {
    padding: 90px 0;
    background-color: var(--page-bg);
}

.blog-grid,
.search-results-grid,
.products-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card-link,
.search-result-link {
    display: block;
    color: inherit;
}

.blog-card-image,
.search-result-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-content,
.search-result-content {
    padding: 22px;
}

.blog-date,
.search-result-type,
.single-blog-date {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-card-content h2,
.search-result-content h2 {
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.blog-card-content p,
.search-result-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.read-more,
.search-result-read-more {
    color: var(--primary-color);
    font-weight: 700;
}

.blog-pagination {
    margin-top: 45px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 13px;
    margin: 0 3px;
    border-radius: 5px;
    background-color: #fff;
    color: var(--primary-color);
}

.blog-pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: #fff;
}

.single-blog-post,
.page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.single-blog-header,
.page-header {
    margin-bottom: 35px;
}

.single-blog-title,
.page-title {
    font-size: 2.6rem;
    line-height: 1.25;
    color: var(--dark-color);
    margin-bottom: 0;
}

.single-blog-image {
    margin-bottom: 35px;
    border-radius: 12px;
    overflow: hidden;
}

.single-blog-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-blog-content,
.page-content {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.9;
}

.single-blog-content p,
.page-content p {
    margin-bottom: 1.3rem;
}

.single-blog-content h2,
.single-blog-content h3,
.single-blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.single-blog-content ul,
.single-blog-content ol {
    margin: 1rem 0 1.5rem 25px;
}

.single-blog-content li {
    margin-bottom: 0.6rem;
}

.single-blog-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #e6e6e6;
}

.single-blog-nav a {
    color: var(--primary-color);
    font-weight: 700;
}

/* ------------------------------
   10. Product Archive & Product Detail
------------------------------ */
.products-archive-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 35px;
}

.products-archive-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.products-count {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.products-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.product-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid rgba(0, 90, 156, 0.22);
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.25s ease;
}

.product-filter-btn:hover,
.product-filter-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.no-products-message {
    padding: 35px;
    background-color: #fff;
    border-radius: 10px;
    color: #666;
    text-align: center;
}

.product-window-card {
    border-radius: 0;
    overflow: hidden;
    background-color: #fff;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-window-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.product-window-card a {
    display: block;
    color: inherit;
}

.product-window-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.product-window-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.product-window-card:hover .product-window-image img {
    transform: scale(1.04);
}

.product-window-overlay {
    display: none;
}

.product-window-meta {
    padding: 18px 24px 24px;
    background-color: #fff;
}

.product-card-capacity {
    display: block;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-window-meta h2 {
    color: var(--primary-color);
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 700;
    margin: 0;
}

.product-window-card:hover .product-window-meta h2 {
    color: var(--primary-dark);
}

.product-detail-hero,
.single-product-section {
    padding: 90px 0;
    background-color: #f4f8fb;
}

.product-detail-layout,
.single-product-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.single-product-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.product-main-image,
.single-product-image {
    background-color: #fff;
    border-radius: 14px;
    padding: 45px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product-image {
    min-height: auto;
    padding: 25px;
}

.product-main-image img,
.single-product-image img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

.product-detail-info h1,
.single-product-content h1 {
    font-size: 2.6rem;
    line-height: 1.35;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.product-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: #666;
}

.product-breadcrumb span {
    margin: 0 8px;
}

.product-info-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.product-code-box,
.product-capacity-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
}

.product-code-box {
    background-color: var(--primary-color);
    color: #fff;
}

.product-capacity-box {
    background-color: #eaf6fb;
    color: var(--primary-color);
}

.product-subtitle,
.single-product-excerpt {
    font-size: 1.15rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 30px;
}

.product-request-btn {
    margin-bottom: 50px;
}

.product-downloads {
    margin-top: 60px;
}

.product-downloads h3 {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-download-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid var(--primary-color);
    padding: 14px 16px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-download-grid a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.product-detail-content {
    padding: 70px 0 100px;
    background-color: #eaf6fb;
}

.product-description,
.single-product-description {
    max-width: 980px;
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
}

.product-description {
    font-weight: 600;
    color: var(--primary-color);
}

.product-accordion {
    max-width: 980px;
}

.accordion-item {
    border-bottom: 1px solid var(--primary-color);
}

.accordion-title {
    width: 100%;
    border: none;
    background: transparent;
    padding: 24px 0;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-title span,
.accordion-title strong {
    font-size: 2rem;
    font-weight: 400;
}

.accordion-content {
    display: none;
    padding-bottom: 25px;
    color: var(--primary-color);
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content ul {
    padding-left: 20px;
    list-style: none;
}

.accordion-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.accordion-content li::before {
    content: "-";
    margin-right: 10px;
    color: var(--primary-color);
}

/* ------------------------------
   11. Pages, Contact Form & Search
------------------------------ */
.page-content .wpcf7 form {
    display: grid;
    gap: 18px;
}

.page-content .wpcf7 label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
}

.page-content .wpcf7 input,
.page-content .wpcf7 textarea,
.page-content .wpcf7 select {
    width: 100%;
    margin-top: 8px;
    padding: 13px 15px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background-color: #fff;
    color: var(--dark-color);
    font-size: 1rem;
}

.page-content .wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

.page-content .wpcf7 input[type="submit"] {
    width: auto;
    min-width: 150px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.page-content .wpcf7 input[type="submit"]:hover {
    background-color: var(--primary-dark);
}

.search-results-header {
    text-align: center;
    margin-bottom: 45px;
}

.search-query-text {
    color: #666;
    font-size: 1rem;
}

.search-query-text strong {
    color: var(--primary-color);
}

.search-result-image {
    background-color: #fff;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.no-search-results {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
    padding: 45px;
    border-radius: 10px;
}

/* ------------------------------
   12. Footer
------------------------------ */
.main-footer,
.minimal-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
}

.minimal-footer {
    padding: 46px 0 22px;
}

.minimal-footer-top {
    display: grid;
    grid-template-columns: 1fr auto 330px;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
}

.footer-logo-link img,
.footer-logo-link .custom-logo {
    max-height: 26px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-site-name {
    color: #fff;
}

.footer-tagline {
    margin-top: 10px;
    color: var(--footer-text-color);
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-menu ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-menu a {
    color: var(--footer-text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: var(--footer-text-color);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.newsletter-form,
.footer-newsletter .newsletter-form {
    display: flex;
    width: 100%;
    margin-bottom: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #1a3d5a;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 12px 14px;
    color: #fff;
    font-size: 0.92rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--footer-text-color);
}

.newsletter-form button {
    width: 48px;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.newsletter-message {
    padding: 9px 11px;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.newsletter-message.success {
    background-color: rgba(46, 204, 113, 0.12);
    color: #7ee0a3;
}

.newsletter-message.info {
    background-color: rgba(52, 152, 219, 0.12);
    color: #8ec9f0;
}

.newsletter-message.error {
    background-color: rgba(231, 76, 60, 0.12);
    color: #ff9f95;
}

.minimal-footer-bottom {
    border-top: 1px solid #1a3d5a;
    padding-top: 18px;
    display: flex;
    justify-content: flex-start;
    color: var(--footer-text-color);
    font-size: 0.9rem;
}

/* ------------------------------
   13. Responsive: Tablet
------------------------------ */
@media (max-width: 992px) {
    .feature-grid,
    .blog-grid,
    .search-results-grid,
    .products-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-product-slide,
    .news-slide {
        flex-basis: calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }

    .product-detail-layout,
    .single-product-layout {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        min-height: 360px;
    }

    .product-download-grid {
        grid-template-columns: 1fr;
    }

    .minimal-footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-newsletter {
        max-width: 420px;
    }
}

/* ------------------------------
   14. Responsive: Mobile
------------------------------ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 2rem;
    }

    /* Header */
    .main-header .container {
        gap: 12px;
        justify-content: space-between;
    }

    .logo {
        order: 1;
        max-width: 130px;
        margin-right: auto;
    }

    .logo img,
    .logo .custom-logo {
        max-height: 28px;
    }

    .main-header .home-icon,
    .main-header .home-icon-btn {
        order: 0;
        width: 38px;
        height: 38px;
        position: static;
        flex-shrink: 0;
    }

    .header-actions {
        order: 3;
        margin-left: 0;
        gap: 10px;
    }

    .header-actions .contact-btn,
    .header-search-form {
        display: none;
    }

    .main-header .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        order: 4;
        margin: 0;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .primary-menu,
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        gap: 0;
    }

    .primary-menu > li,
    .main-nav > ul > li {
        width: 100%;
        padding: 0 20px;
    }

    .primary-menu > li > a,
    .main-nav > ul > li > a {
        padding: 12px 0;
        justify-content: space-between;
    }

    .primary-menu .sub-menu,
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f9f9f9;
        display: none;
        border-radius: 8px;
        min-width: 100%;
        padding: 8px;
    }

    .primary-menu li.active > .sub-menu,
    .dropdown.active .submenu {
        display: block;
    }

    .primary-menu .sub-menu li a img,
    .product-submenu li a img {
        width: 46px;
        height: 46px;
    }

    /* Hero */
    .hero-slider {
        height: auto;
        max-height: none;
        overflow: hidden;
    }

    .hero-slider .slide {
        position: relative;
        inset: auto;
        display: none;
        flex-direction: column;
        width: 100%;
        height: auto;
        opacity: 1;
        visibility: visible;
    }

    .hero-slider .slide.active {
        display: flex;
    }

    .hero-slider .slide-image {
        order: 1;
        width: 100%;
        height: 250px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-slider .slide-text {
        order: 2;
        width: 100%;
        height: auto;
        padding: 24px 22px 34px;
    }

    .hero-slider .hero-text {
        max-width: 100%;
        text-align: left;
    }

    .hero-slider .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .hero-slider .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .hero-slider .slider-control {
        top: 125px;
        width: 36px;
        height: 36px;
        z-index: 10;
    }

    .hero-slider .slider-tabs,
    .hero-slider .slider-progress-bar {
        display: none;
    }

    /* Home sliders */
    .featured-products-section,
    .news-section {
        padding: 45px 0;
    }

    .featured-products-slider-wrapper,
    .news-slider-wrapper {
        display: block;
        position: relative;
        padding: 0;
    }

    .featured-products-slider,
    .news-slider {
        gap: 16px;
        padding: 5px 18px 22px;
        scroll-snap-type: x mandatory;
    }

    .featured-product-slide,
    .news-slide {
        flex: 0 0 88%;
        max-width: 88%;
        scroll-snap-align: center;
    }

    .featured-products-section .product-card {
        height: 360px;
        min-height: 360px;
        padding: 20px 16px;
    }

    .featured-products-section .product-image-link {
        height: 115px;
        margin-bottom: 14px;
    }

    .featured-products-section .product-card-image,
    .featured-products-section .product-card img {
        max-height: 115px;
    }

    .featured-products-section .product-card h3 {
        height: 75px;
        font-size: 1rem;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .featured-products-section .product-capacity {
        height: 24px;
        font-size: 0.82rem;
        margin-bottom: 8px;
    }

    .featured-products-section .btn-secondary {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .news-slider .news-card {
        min-height: 330px;
    }

    .news-image-wrapper {
        height: 155px;
    }

    .news-content {
        padding: 16px;
    }

    .news-content h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .news-content p {
        font-size: 0.85rem;
    }

    .featured-products-arrow,
    .news-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 24px;
        background: rgba(255,255,255,0.94);
        z-index: 20;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

    .featured-products-prev,
    .news-prev {
        left: 8px;
    }

    .featured-products-next,
    .news-next {
        right: 8px;
    }

    .more-products-icon,
    .more-news-icon {
        width: 44px;
        height: 44px;
        font-size: 30px;
        margin-bottom: 14px;
    }

    /* Grids */
    .feature-grid,
    .blog-grid,
    .search-results-grid,
    .products-archive-grid {
        grid-template-columns: 1fr;
    }

    .features-section,
    .blog-archive-section,
    .single-blog-section,
    .page-section,
    .search-results-section,
    .products-archive-section,
    .product-detail-hero,
    .single-product-section {
        padding: 60px 0;
    }

    .blog-card-image,
    .search-result-image {
        height: 220px;
    }

    .single-blog-post,
    .page-content-wrapper {
        padding: 25px;
    }

    .single-blog-title,
    .page-title,
    .product-detail-info h1,
    .single-product-content h1 {
        font-size: 2rem;
    }

    .single-blog-nav,
    .products-archive-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-filter-btn {
        width: 100%;
    }

    .product-window-image {
        height: 240px;
    }

    .product-detail-layout,
    .single-product-layout {
        gap: 2rem;
    }

    .product-main-image {
        min-height: 320px;
        padding: 25px;
    }

    .accordion-title span,
    .accordion-title strong {
        font-size: 1.5rem;
    }

    /* Footer */
    .minimal-footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-menu ul {
        gap: 14px;
    }

    .footer-logo-link img,
    .footer-logo-link .custom-logo {
        max-height: 24px;
    }
}
