/*
====================================
Theme 4: Industrial Modern
Modern, Professional Machinery Theme
====================================
*/

/* ================== RESET & BASE ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--theme4-font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--theme4-dark);
    background: var(--theme4-white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--theme4-primary);
    text-decoration: none;
    transition: var(--theme4-transition-fast);
}

a:hover {
    color: var(--theme4-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--theme4-font-headings);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--theme4-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ================== LAYOUT ================== */
.theme4-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
}

.theme4-main-content {
    min-height: 50vh;
}

/* ================== TOPBAR ================== */
.theme4-topbar {
    background: var(--theme4-white);
    color: var(--theme4-dark);
    padding: 12px 0;
    font-size: 0.875rem;
}

.theme4-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.theme4-topbar-left,
.theme4-topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme4-topbar-link {
    color: var(--theme4-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.theme4-topbar-link:hover {
    opacity: 1;
    color: var(--theme4-primary);
}

.theme4-social-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme4-gray-lighter);
    color: var(--theme4-dark);
    transition: var(--theme4-transition-fast);
}

.theme4-social-link:hover {
    background: var(--theme4-primary);
    color: var(--theme4-white);
    transform: translateY(-2px);
}

/* ================== HEADER & NAVIGATION ================== */
.theme4-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--theme4-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--theme4-transition);
}

.theme4-header.scrolled {
    box-shadow: var(--theme4-shadow-lg);
}

.theme4-navbar {
    background: var(--theme4-header-bg);
    padding: 1rem 0;
}

.theme4-navbar-content  {
    display: flex;
    color: var(--theme4-white);
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.theme4-logo img {
    max-height: 60px;
    width: auto;
}

.theme4-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--theme4-white);
}

.theme4-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* ── Menu builder plain output styling ── */
.theme4-nav-menu > ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme4-nav-menu > ul > li {
    position: relative;
}

.theme4-nav-menu > ul > li > a {
    font-weight: 500;
    color: var(--theme4-primary);
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    transition: var(--theme4-transition-fast);
}

.theme4-nav-menu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme4-primary);
    transition: var(--theme4-transition-fast);
}

.theme4-nav-menu > ul > li > a:hover,
.theme4-nav-menu > ul > li > a.active {
    color: var(--theme4-primary);
    opacity: 0.7;
}

.theme4-nav-menu > ul > li > a:hover::after,
.theme4-nav-menu > ul > li > a.active::after {
    width: 100%;
}

/* Dropdown menu list reset */
.theme4-dropdown-menu,
.theme4-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Dropdown links */
.theme4-dropdown-menu .theme4-nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--theme4-dark);
    font-weight: 500;
    opacity: 1;
    white-space: nowrap;
}

.theme4-dropdown-menu .theme4-nav-link::after {
    display: none;
}

.theme4-dropdown-menu .theme4-nav-link:hover {
    background: var(--theme4-gray-lighter);
    color: var(--theme4-primary);
    opacity: 1;
}

/* Dropdown arrow icon */
.theme4-dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: var(--theme4-transition-fast);
}

.theme4-nav-dropdown:hover .theme4-dropdown-arrow,
.theme4-nav-dropdown.active .theme4-dropdown-arrow {
    transform: rotate(180deg);
}

.theme4-nav-link {
    font-weight: 500;
    color: var(--theme4-primary);
    padding: 0.5rem 0;
    position: relative;
    transition: var(--theme4-transition-fast);
}

.theme4-nav-link:hover,
.theme4-nav-link.active {
    color: var(--theme4-primary);
    opacity: 0.7;
}

.theme4-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme4-primary);
    transition: var(--theme4-transition-fast);
    opacity: 1;
}

.theme4-nav-link:hover::after,
.theme4-nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.theme4-nav-dropdown {
    position: relative;
    display: inline-block;
}

.theme4-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    outline: none;
    text-decoration: none;
}


.theme4-dropdown-toggle i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: var(--theme4-transition-fast);
}

.theme4-nav-dropdown:hover .theme4-dropdown-toggle i,
.theme4-nav-dropdown.active .theme4-dropdown-toggle i {
    transform: rotate(180deg);
}

.theme4-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--theme4-white);
    box-shadow: var(--theme4-shadow-lg);
    border-radius: var(--theme4-radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--theme4-transition);
    margin-top: 0.5rem;
    z-index: 1001;
}

/* Show dropdown on hover — desktop only */
@media (min-width: 769px) {
    .theme4-nav-dropdown:hover .theme4-dropdown-menu,
    .theme4-dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Show dropdown via JS active class (mobile + desktop fallback) */
.theme4-nav-dropdown.active .theme4-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme4-dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--theme4-dark);
    transition: var(--theme4-transition-fast);
}

.theme4-dropdown-item:hover {
    background: var(--theme4-gray-lighter);
    color: var(--theme4-primary);
}

/* Nav Button */
.theme4-nav-btn {
    background: var(--theme4-dark);
    color: var(--theme4-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--theme4-radius-md);
    font-weight: 600;
    transition: var(--theme4-transition-fast);
}

.theme4-nav-btn:hover {
    background: var(--theme4-primary);
    color: var(--theme4-white);
    transform: translateY(-2px);
    box-shadow: var(--theme4-shadow-md);
}

/* Mobile Toggle */
.theme4-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.theme4-mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--theme4-primary);
    transition: var(--theme4-transition-fast);
}

.theme4-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

.theme4-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* ================== BUTTONS ================== */
.theme4-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--theme4-radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--theme4-transition-fast);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

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

.theme4-btn-primary:hover {
    background: var(--theme4-secondary);
    color: var(--theme4-white);
    transform: translateY(-2px);
    box-shadow: var(--theme4-shadow-md);
}

.theme4-btn-secondary {
    background: var(--theme4-secondary);
    color: var(--theme4-white);
}

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

.theme4-btn-outline {
    background: transparent;
    border-color: var(--theme4-primary);
    color: var(--theme4-primary);
}

.theme4-btn-outline:hover {
    background: var(--theme4-primary);
    color: var(--theme4-white);
}

.theme4-btn-outline-white {
    background: transparent;
    border-color: var(--theme4-white);
    color: var(--theme4-white);
}

.theme4-btn-outline-white:hover {
    background: var(--theme4-white);
    color: var(--theme4-primary);
}

.theme4-btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* ================== HERO/PAGE HEADERS ================== */
.theme4-page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: var(--theme4-white);
}

.theme4-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.theme4-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.theme4-page-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--theme4-white);
}

.theme4-page-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* ================== BREADCRUMBS ================== */
.theme4-breadcrumb-bar {
    background: var(--theme4-gray-lighter);
    padding: 1rem 0;
}

.theme4-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    flex-wrap: wrap;
}

.theme4-breadcrumb li {
    font-size: 0.875rem;
    color: var(--theme4-gray-dark);
}

.theme4-breadcrumb a {
    color: var(--theme4-gray-dark);
}

.theme4-breadcrumb a:hover {
    color: var(--theme4-primary);
}

.theme4-breadcrumb i {
    font-size: 0.75rem;
    color: var(--theme4-gray);
}

/* Breadcrumbs inside page hero (white text on dark background) */
.theme4-page-hero .theme4-breadcrumb {
    margin-bottom: 1.5rem;
    text-align: center;
}

.theme4-page-hero .theme4-breadcrumb ol {
    margin: 0;
    padding: 0;
    justify-content: center;
}

.theme4-page-hero .theme4-breadcrumb li {
    color: rgba(255, 255, 255, 0.8);
}

.theme4-page-hero .theme4-breadcrumb a {
    color: var(--theme4-white);
    font-weight: 500;
    transition: var(--theme4-transition);
}

.theme4-page-hero .theme4-breadcrumb a:hover {
    color: var(--theme4-primary);
}

.theme4-page-hero .theme4-breadcrumb i {
    color: rgba(255, 255, 255, 0.6);
}

/* ================== SECTIONS ================== */
.theme4-listings-section,
.theme4-latest-section,
.theme4-blog-section,
.theme4-categories-section,
.theme4-about-section {
    padding: 100px 0;
}

.theme4-bg-light {
    background: var(--theme4-gray-lighter);
}

.theme4-bg-dark {
    background: var(--theme4-dark);
    color: var(--theme4-white);
}

.theme4-bg-dark h1,
.theme4-bg-dark h2,
.theme4-bg-dark h3,
.theme4-bg-dark h4 {
    color: var(--theme4-white);
}

/* Section Headers */
.theme4-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.theme4-section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.theme4-section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.theme4-section-tag {
    display: inline-block;
    color: var(--theme4-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.theme4-section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.theme4-section-subtitle {
    font-size: 1.125rem;
    color: var(--theme4-gray);
    margin-bottom: 0;
}

/* ================== LISTING CARDS ================== */
.theme4-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.theme4-listings-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.theme4-listing-card {
    background: var(--theme4-white);
    border-radius: var(--theme4-radius-lg);
    overflow: hidden;
    box-shadow: var(--theme4-shadow-sm);
    transition: var(--theme4-transition);
}

.theme4-listing-card:hover {
    box-shadow: var(--theme4-shadow-xl);
    transform: translateY(-5px);
}

.theme4-listing-card-link {
    display: block;
    text-decoration: none;
}

.theme4-listing-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--theme4-gray-lighter);
}

.theme4-listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--theme4-transition);
}

.theme4-listing-card:hover .theme4-listing-card-image img {
    transform: scale(1.1);
}

.theme4-listing-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.theme4-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--theme4-radius-sm);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme4-badge-new {
    background: var(--theme4-success);
    color: var(--theme4-white);
}

.theme4-badge-sold {
    background: var(--theme4-error);
    color: var(--theme4-white);
}

.theme4-badge-featured {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--theme4-white);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.theme4-badge-hot {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: var(--theme4-white);
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
    animation: pulse 2s infinite;
}

.theme4-badge-reduced {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: var(--theme4-white);
    box-shadow: 0 2px 8px rgba(250, 112, 154, 0.3);
}

.theme4-badge-exclusive {
    background: linear-gradient(135deg, #30cfd0, #330867);
    color: var(--theme4-white);
    box-shadow: 0 2px 8px rgba(48, 207, 208, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.theme4-listing-card-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--theme4-primary);
    color: var(--theme4-white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--theme4-radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 2;
}

.theme4-listing-card-price small {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.theme4-listing-card-content {
    padding: 1.5rem;
}

.theme4-listing-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--theme4-dark);
    line-height: 1.4;
}

.theme4-listing-card-specs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--theme4-gray-lighter);
}

.theme4-spec {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--theme4-gray-dark);
    font-size: 0.9375rem;
}

.theme4-spec i {
    color: var(--theme4-primary);
    width: 20px;
    text-align: center;
}

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

.theme4-view-details {
    color: var(--theme4-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.theme4-listing-card:hover .theme4-view-details {
    gap: 1rem;
}

.theme4-view-details i {
    transition: var(--theme4-transition-fast);
}

.theme4-listing-card:hover .theme4-view-details i {
    transform: translateX(5px);
}

/* No Listings State */
.theme4-no-listings {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.theme4-no-listings-icon {
    font-size: 4rem;
    color: var(--theme4-gray);
    margin-bottom: 1.5rem;
}

.theme4-no-listings h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.theme4-no-listings p {
    color: var(--theme4-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ================== LISTING DETAIL PAGE ================== */
.theme4-listing-detail-section {
    padding: 60px 0 100px;
}

.theme4-listing-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
    overflow: hidden;
}

/* Gallery */
.theme4-listing-gallery {
    position: sticky;
    top: 120px;
    min-width: 0;
}

.theme4-gallery-main {
    position: relative;
    margin-bottom: 1rem;
    border-radius: var(--theme4-radius-lg);
    overflow: hidden;
    background: var(--theme4-gray-lighter);
    width: 100%;
}

.theme4-gallery-main .owl-carousel {
    position: relative;
}

.theme4-gallery-main .owl-stage-outer {
    overflow: hidden;
    position: relative;
}

.theme4-gallery-main .owl-stage {
    position: relative;
    display: flex;
}

.theme4-gallery-main .owl-item {
    position: relative;
}

.theme4-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.theme4-gallery-link {
    display: block;
    height: 100%;
}

.theme4-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Listing Gallery Carousel Navigation */
.theme4-gallery-main .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.theme4-gallery-main .owl-nav button {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5) !important;
    color: var(--theme4-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--theme4-transition);
    pointer-events: all;
    border: none;
    font-size: 1.25rem;
}

.theme4-gallery-main .owl-nav button:hover {
    background: var(--theme4-primary) !important;
    transform: scale(1.1);
}

.theme4-gallery-main .owl-prev {
    left: 15px;
}

.theme4-gallery-main .owl-next {
    right: 15px;
}

.theme4-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--theme4-transition);
}

.theme4-gallery-link:hover .theme4-gallery-overlay {
    opacity: 1;
}

.theme4-gallery-overlay i {
    font-size: 2rem;
    color: var(--theme4-white);
}

.theme4-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.theme4-thumb-btn {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--theme4-radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: var(--theme4-transition-fast);
}

.theme4-thumb-btn:hover,
.theme4-thumb-btn.active {
    border-color: var(--theme4-primary);
}

.theme4-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Section */
.theme4-video-section {
    margin-top: 2rem;
}

.theme4-video-section h3 {
    margin-bottom: 1rem;
}

.theme4-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--theme4-radius-md);
}

.theme4-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Listing Info */
.theme4-listing-header {
    margin-bottom: 2rem;
}

.theme4-listing-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.theme4-listing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--theme4-primary);
    margin-bottom: 2rem;
}

.theme4-price-poa {
    color: var(--theme4-gray-dark);
}

.theme4-vat-note {
    font-size: 1rem;
    font-weight: 500;
    color: var(--theme4-gray);
}

/* Specifications */
.theme4-specifications {
    background: var(--theme4-gray-lighter);
    padding: 2rem;
    border-radius: var(--theme4-radius-lg);
    margin-bottom: 2rem;
}

.theme4-spec-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.theme4-spec-item {
    display: flex;
    flex-direction: column;
}

.theme4-spec-label {
    font-size: 0.875rem;
    color: var(--theme4-gray);
    margin-bottom: 0.25rem;
}

.theme4-spec-value {
    font-weight: 600;
    color: var(--theme4-dark);
    font-size: 1rem;
}

/* Actions */
.theme4-listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Share Buttons */
.theme4-share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--theme4-gray-lighter);
}

.theme4-share-label {
    font-weight: 600;
    color: var(--theme4-gray-dark);
}

.theme4-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.theme4-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--theme4-white);
    transition: var(--theme4-transition-fast);
}

.theme4-share-facebook { background: #1877F2; }
.theme4-share-twitter { background: #1DA1F2; }
.theme4-share-linkedin { background: #0A66C2; }
.theme4-share-email { background: var(--theme4-gray-dark); }

.theme4-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--theme4-shadow-md);
    color: var(--theme4-white);
}

/* Description */
.theme4-listing-description {
    background: var(--theme4-white);
    padding: 3rem;
    border-radius: var(--theme4-radius-lg);
    box-shadow: var(--theme4-shadow-sm);
    margin-bottom: 4rem;
}

.theme4-description-title {
    margin-bottom: 1.5rem;
}

.theme4-description-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--theme4-gray-dark);
}

.theme4-description-content ul,
.theme4-description-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.theme4-description-content li {
    margin-bottom: 0.5rem;
}

/* ================== CATEGORIES ================== */
.theme4-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.theme4-category-card {
    position: relative;
    border-radius: var(--theme4-radius-lg);
    overflow: hidden;
    height: 250px;
    transition: var(--theme4-transition);
}

.theme4-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--theme4-shadow-xl);
}

.theme4-category-image {
    position: absolute;
    inset: 0;
}

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

.theme4-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    transition: var(--theme4-transition);
}

.theme4-category-card:hover .theme4-category-overlay {
    background: linear-gradient(to top, var(--theme4-primary), rgba(0,0,0,0.3));
}

.theme4-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--theme4-white);
    z-index: 1;
}

.theme4-category-content h3 {
    color: var(--theme4-white);
    margin-bottom: 0.5rem;
}

.theme4-category-link {
    color: var(--theme4-white);
    font-weight: 600;
    font-size: 0.9375rem;
}

.theme4-category-link i {
    transition: var(--theme4-transition-fast);
}

.theme4-category-card:hover .theme4-category-link i {
    transform: translateX(5px);
}

/* Simple category cards (no image) */
.theme4-category-card:not(:has(.theme4-category-image)) {
    background: var(--theme4-white);
    border: 2px solid var(--theme4-gray-lighter);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.theme4-category-icon {
    width: 80px;
    height: 80px;
    background: var(--theme4-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--theme4-transition);
}

.theme4-category-icon i {
    font-size: 2rem;
    color: var(--theme4-white);
}

.theme4-category-card:not(:has(.theme4-category-image)):hover .theme4-category-icon {
    background: var(--theme4-secondary);
    transform: scale(1.1);
}

.theme4-category-card:not(:has(.theme4-category-image)) h3 {
    color: var(--theme4-dark);
    margin-bottom: 0.5rem;
}

.theme4-category-count {
    color: var(--theme4-primary);
    font-weight: 600;
}

/* ================== BLOG CARDS ================== */
.theme4-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.theme4-blog-card {
    background: var(--theme4-white);
    border-radius: var(--theme4-radius-lg);
    overflow: hidden;
    box-shadow: var(--theme4-shadow-sm);
    transition: var(--theme4-transition);
}

.theme4-blog-card:hover {
    box-shadow: var(--theme4-shadow-xl);
    transform: translateY(-5px);
}

.theme4-blog-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    display: block;
}

.theme4-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--theme4-transition);
}

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

.theme4-blog-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--theme4-transition);
}

.theme4-blog-card:hover .theme4-blog-card-overlay {
    opacity: 1;
}

.theme4-blog-card-overlay i {
    font-size: 2rem;
    color: var(--theme4-white);
}

.theme4-blog-card-content {
    padding: 1.5rem;
}

.theme4-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--theme4-gray);
}

.theme4-blog-category {
    background: var(--theme4-primary);
    color: var(--theme4-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--theme4-radius-sm);
    font-weight: 600;
}

.theme4-blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.theme4-blog-card-title a {
    color: var(--theme4-dark);
}

.theme4-blog-card-title a:hover {
    color: var(--theme4-primary);
}

.theme4-blog-card-excerpt {
    color: var(--theme4-gray-dark);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.theme4-blog-card-link {
    color: var(--theme4-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.theme4-blog-card-link:hover {
    gap: 1rem;
}

/* ================== ABOUT SECTION ================== */
.theme4-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.theme4-about-image {
    position: relative;
    border-radius: var(--theme4-radius-xl);
    overflow: hidden;
}

.theme4-about-image img {
    width: 100%;
    border-radius: var(--theme4-radius-xl);
}

.theme4-about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--theme4-secondary);
    color: var(--theme4-white);
    padding: 2rem;
    border-radius: var(--theme4-radius-lg);
    text-align: center;
    box-shadow: var(--theme4-shadow-xl);
}

.theme4-badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.theme4-badge-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.theme4-about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--theme4-gray-dark);
    margin-bottom: 2rem;
}

/* ================== FEATURES ================== */
.theme4-features-section {
    padding: 80px 0;
}

.theme4-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.theme4-feature-card {
    text-align: center;
}

.theme4-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--theme4-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--theme4-transition);
}

.theme4-feature-icon i {
    font-size: 2rem;
    color: var(--theme4-white);
}

.theme4-feature-card:hover .theme4-feature-icon {
    background: var(--theme4-white);
}

.theme4-feature-card:hover .theme4-feature-icon i {
    color: var(--theme4-primary);
}

.theme4-feature-card h3 {
    color: var(--theme4-white);
    margin-bottom: 0.75rem;
}

.theme4-feature-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* ================== CTA SECTION ================== */
.theme4-cta-section {
    background: linear-gradient(135deg, var(--theme4-primary), var(--theme4-secondary));
    padding: 80px 0;
}

.theme4-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.theme4-cta-text h2 {
    font-size: 2.5rem;
    color: var(--theme4-white);
    margin-bottom: 0.5rem;
}

.theme4-cta-text p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

.theme4-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================== HERO SLIDER ================== */
.theme4-hero-slider {
    position: relative;
}

.theme4-hero-slide {
    position: relative;
    height: 600px;
}

.theme4-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.theme4-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.theme4-hero-slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--theme4-white);
}

.theme4-hero-slide-title {
    font-size: 4rem;
    color: var(--theme4-white);
    margin-bottom: 1rem;
    max-width: 800px;
}

.theme4-hero-slide-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.95;
}

/* Owl Carousel Customization */
.theme4-hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    color: var(--theme4-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--theme4-transition-fast);
}

.theme4-hero-slider .owl-nav button:hover {
    background: var(--theme4-primary);
}

.theme4-hero-slider .owl-prev {
    left: 30px;
}

.theme4-hero-slider .owl-next {
    right: 30px;
}

.theme4-hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.theme4-hero-slider .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: var(--theme4-transition-fast);
}

.theme4-hero-slider .owl-dot.active,
.theme4-hero-slider .owl-dot:hover {
    background: var(--theme4-primary);
}

/* Default Hero */
.theme4-hero-default {
    position: relative;
    height: 600px;
}

.theme4-hero-default-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.theme4-hero-default-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.theme4-hero-default-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--theme4-white);
}

.theme4-hero-default-content h1 {
    font-size: 4rem;
    color: var(--theme4-white);
    margin-bottom: 1rem;
}

.theme4-hero-default-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ================== PAGINATION ================== */
.theme4-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.theme4-pagination .pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.theme4-pagination .page-link {
    padding: 0.75rem 1.125rem;
    border: 2px solid var(--theme4-gray-lighter);
    border-radius: var(--theme4-radius-md);
    color: var(--theme4-dark);
    font-weight: 600;
    transition: var(--theme4-transition-fast);
}

.theme4-pagination .page-link:hover {
    background: var(--theme4-primary);
    border-color: var(--theme4-primary);
    color: var(--theme4-white);
}

.theme4-pagination .page-item.active .page-link {
    background: var(--theme4-primary);
    border-color: var(--theme4-primary);
    color: var(--theme4-white);
}

/* ================== FOOTER ================== */
.theme4-footer {
    background: var(--theme4-dark);
    color: var(--theme4-white);
}

.theme4-footer-main {
    padding: 80px 0 40px;
}

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

.theme4-footer-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
  //  filter: brightness(0) invert(1);
}

.theme4-footer-logo-text {
    font-size: 1.75rem;
    color: var(--theme4-white);
    margin-bottom: 1.5rem;
}

.theme4-footer-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.theme4-footer-social {
    display: flex;
    gap: 0.75rem;
}

.theme4-footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--theme4-white);
    transition: var(--theme4-transition-fast);
}

.theme4-footer-social-link:hover {
    background: var(--theme4-primary);
    color: var(--theme4-white);
    transform: translateY(-3px);
}

.theme4-footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--theme4-white);
}

.theme4-footer-links,
.theme4-footer-contact {
    list-style: none;
}

.theme4-footer-links li,
.theme4-footer-contact li {
    margin-bottom: 0.75rem;
}

.theme4-footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--theme4-transition-fast);
}

.theme4-footer-links a:hover {
    color: var(--theme4-primary);
    padding-left: 5px;
}

.theme4-footer-contact li {
    display: flex;
    gap: 1rem;
    color: rgba(255,255,255,0.7);
}

.theme4-footer-contact i {
    color: var(--theme4-primary);
    width: 20px;
    flex-shrink: 0;
}

.theme4-footer-contact a {
    color: rgba(255,255,255,0.7);
}

.theme4-footer-contact a:hover {
    color: var(--theme4-primary);
}

.theme4-footer-bottom {
    background: var(--theme4-primary);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.theme4-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
}

.theme4-footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme4-footer-legal a {
    color: rgba(255,255,255,0.7);
}

.theme4-footer-legal a:hover {
    color: var(--theme4-primary);
}

/* ================== BACK TO TOP ================== */
.theme4-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--theme4-primary);
    color: var(--theme4-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--theme4-transition);
    z-index: 999;
    box-shadow: var(--theme4-shadow-lg);
}

.theme4-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme4-back-to-top:hover {
    background: var(--theme4-secondary);
    transform: translateY(-3px);
}

/* ================== PAGE CONTENT ================== */
.theme4-page-content-section {
    padding: 80px 0;
    min-height: 50vh;
}

.theme4-page-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--theme4-gray-dark);
}

.theme4-page-content h1,
.theme4-page-content h2,
.theme4-page-content h3,
.theme4-page-content h4,
.theme4-page-content h5,
.theme4-page-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--theme4-dark);
}

.theme4-page-content h1:first-child,
.theme4-page-content h2:first-child,
.theme4-page-content h3:first-child {
    margin-top: 0;
}

.theme4-page-content p {
    margin-bottom: 1.5rem;
}

.theme4-page-content ul,
.theme4-page-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

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

.theme4-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--theme4-radius-md);
    margin: 2rem 0;
}

.theme4-page-content a {
    color: var(--theme4-primary);
    text-decoration: underline;
}

.theme4-page-content a:hover {
    color: var(--theme4-secondary);
}

.theme4-page-content blockquote {
    border-left: 4px solid var(--theme4-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--theme4-gray-dark);
}

.theme4-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.theme4-page-content table th,
.theme4-page-content table td {
    padding: 0.75rem;
    border: 1px solid var(--theme4-gray-lighter);
    text-align: left;
}

.theme4-page-content table th {
    background: var(--theme4-gray-lighter);
    font-weight: 600;
}

.theme4-page-content table tr:nth-child(even) {
    background: var(--theme4-gray-lighter);
}

/* Contact/Form Wrapper */
.theme4-contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.theme4-contact-wrapper form {
    background: var(--theme4-white);
    padding: 2rem;
    border-radius: var(--theme4-radius-lg);
    box-shadow: var(--theme4-shadow-sm);
}

.theme4-contact-wrapper .form-group,
.theme4-contact-wrapper .mb-3,
.theme4-contact-wrapper .space-y-4 > * {
    margin-bottom: 1.5rem;
}

.theme4-contact-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--theme4-dark);
}

.theme4-contact-wrapper input[type="text"],
.theme4-contact-wrapper input[type="email"],
.theme4-contact-wrapper input[type="tel"],
.theme4-contact-wrapper textarea,
.theme4-contact-wrapper select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--theme4-gray-lighter);
    border-radius: var(--theme4-radius-md);
    font-size: 1rem;
    font-family: var(--theme4-font-primary);
    transition: var(--theme4-transition-fast);
}

.theme4-contact-wrapper input:focus,
.theme4-contact-wrapper textarea:focus,
.theme4-contact-wrapper select:focus {
    outline: none;
    border-color: var(--theme4-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.theme4-contact-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.theme4-contact-wrapper button[type="submit"],
.theme4-contact-wrapper .btn-primary {
    background: var(--theme4-primary);
    color: var(--theme4-white);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--theme4-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--theme4-transition-fast);
}

.theme4-contact-wrapper button[type="submit"]:hover,
.theme4-contact-wrapper .btn-primary:hover {
    background: var(--theme4-secondary);
    transform: translateY(-2px);
    box-shadow: var(--theme4-shadow-md);
}

/* Page Gallery */
.theme4-page-gallery-section {
    padding: 80px 0;
    background: var(--theme4-gray-lighter);
}

.theme4-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.theme4-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--theme4-radius-lg);
    overflow: hidden;
    display: block;
    box-shadow: var(--theme4-shadow-sm);
    transition: var(--theme4-transition);
}

.theme4-gallery-item:hover {
    box-shadow: var(--theme4-shadow-xl);
    transform: translateY(-5px);
}

.theme4-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--theme4-transition);
}

.theme4-gallery-item:hover img {
    transform: scale(1.1);
}

.theme4-gallery-item .theme4-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--theme4-transition);
}

.theme4-gallery-item:hover .theme4-gallery-overlay {
    opacity: 1;
}

.theme4-gallery-item .theme4-gallery-overlay i {
    font-size: 2rem;
    color: var(--theme4-white);
}

/* ================== UTILITIES ================== */
.theme4-text-center { text-align: center; }
.theme4-mt-lg { margin-top: 3rem; }
.theme4-mb-lg { margin-bottom: 3rem; }

/* Form Select */
.theme4-select {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--theme4-gray-lighter);
    border-radius: var(--theme4-radius-md);
    font-size: 1rem;
    background: var(--theme4-white);
    cursor: pointer;
    transition: var(--theme4-transition-fast);
}

.theme4-select:focus {
    outline: none;
    border-color: var(--theme4-primary);
}

/* ================== ANIMATIONS ================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}


.gallery-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1200px) {
    .theme4-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .theme4-hero-slide-title,
    .theme4-hero-default-content h1 {
        font-size: 3rem;
    }

    .theme4-section-title {
        font-size: 2rem;
    }

    .theme4-about-grid,
    .theme4-listing-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .theme4-listing-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu */
    .theme4-header {
        position: relative;
    }

    .theme4-mobile-toggle {
        display: flex;
    }

    .theme4-nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 300px;
        max-width: 100%;
        background: var(--theme4-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }

    /* Menu builder ul on mobile */
    .theme4-nav-menu > ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .theme4-nav-menu > ul > li {
        width: 100%;
    }

    .theme4-nav-menu > ul > li > a {
        display: block;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--theme4-gray-lighter);
        border-left: 3px solid transparent;
        opacity: 1;
    }

    .theme4-nav-menu > ul > li > a:hover,
    .theme4-nav-menu > ul > li > a.active {
        border-left-color: var(--theme4-primary);
        opacity: 0.7;
    }

    .theme4-nav-menu > ul > li > a::after {
        display: none;
    }

    /* Mobile dropdown children */
    .theme4-nav-menu > ul > li > a > ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 1rem;
        background: var(--theme4-gray-lighter);
    }
    
    a.theme4-nav-link,
    a.theme4-nav-link:active {
        color: var(--theme4-primary) !important;
    }

    .theme4-nav-menu.active {
        max-height: 600px;
        padding: 20px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }

    .theme4-nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--theme4-gray-lighter);
        border-left: 3px solid transparent;
    }

    .theme4-nav-link:hover,
    .theme4-nav-link.active {
        border-left-color: var(--theme4-primary);
    }

    .theme4-nav-link::after {
        display: none;
    }

    .theme4-nav-dropdown {
        width: 100%;
    }

    .theme4-dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        border-bottom: 1px solid var(--theme4-gray-lighter);
    }

    .theme4-dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0;
        margin-left: 1rem;
        transform: none;
        background: var(--theme4-gray-lighter);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .theme4-nav-dropdown.active .theme4-dropdown-menu {
        max-height: 600px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }

    .theme4-nav-btn {
        width: 100%;
        justify-content: center;
    }

    /* Topbar */
    .theme4-topbar {
        font-size: 0.8125rem;
    }

    .theme4-topbar-content {
        justify-content: center;
    }

    .theme4-topbar-left {
        gap: 1rem;
    }

    /* Hero */
    .theme4-hero-slide,
    .theme4-hero-default {
        height: 500px;
    }

    .theme4-hero-slide-title,
    .theme4-hero-default-content h1 {
        font-size: 2.25rem;
    }

    .theme4-hero-slide-text,
    .theme4-hero-default-content p {
        font-size: 1.125rem;
    }

    .theme4-page-hero-title {
        font-size: 2.5rem;
    }

    /* Sections */
    .theme4-listings-section,
    .theme4-latest-section,
    .theme4-blog-section,
    .theme4-categories-section,
    .theme4-about-section {
        padding: 60px 0;
    }

    /* Cards */
    .theme4-listings-grid {
        grid-template-columns: 1fr;
    }

    .theme4-spec-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .theme4-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .theme4-cta-text h2 {
        font-size: 2rem;
    }

    .theme4-cta-actions {
        justify-content: center;
        width: 100%;
    }

    .theme4-cta-actions .theme4-btn {
        flex: 1;
    }

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

    .theme4-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    /* Listing Actions */
    .theme4-listing-actions {
        flex-direction: column;
    }

    .theme4-listing-actions .theme4-btn {
        width: 100%;
        justify-content: center;
    }
    
    .theme4-dropdown-toggle {
    color: black;
}
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .theme4-container {
        padding: 0 16px;
    }

    .theme4-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .theme4-hero-slide-title,
    .theme4-hero-default-content h1 {
        font-size: 1.75rem;
    }

    .theme4-page-hero-title {
        font-size: 2rem;
    }
}

/* ================== PRINT STYLES ================== */
@media print {
    /* ── Reset & page setup ── */
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

    @page {
        size: A4 portrait;
        margin: 15mm 12mm;
    }

    body {
        font-family: 'Inter', Arial, sans-serif;
        font-size: 11pt;
        color: #1a1a1a;
        background: #fff;
    }

    /* ── Hide everything not needed ── */
    .theme4-header,
    .theme4-footer,
    .theme4-back-to-top,
    .theme4-listing-actions,
    .theme4-share-section,
    .theme4-nav-menu,
    .theme4-breadcrumb-bar,
    .theme4-gallery-thumbs,
    .theme4-video-section,
    .theme4-related-section,
    .owl-nav,
    .owl-dots {
        display: none !important;
    }

    /* ── Print header with company name ── */
    .theme4-listing-detail-section::before {
        content: '';
        display: block;
        border-bottom: 3px solid #1a1a2e;
        margin-bottom: 16pt;
        padding-bottom: 10pt;
    }

    /* ── Main layout: image left, info right ── */
    .theme4-listing-detail-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16pt !important;
        margin-bottom: 16pt;
    }

    /* ── Carousel: show only first image ── */
    .theme4-gallery-main {
        border-radius: 4pt;
        overflow: hidden;
    }

    .owl-carousel .owl-stage-outer { overflow: visible !important; }
    .owl-carousel .owl-stage { transform: none !important; white-space: normal !important; }
    .theme4-gallery-item { display: none !important; }
    .theme4-gallery-item:first-child { display: block !important; }

    .theme4-gallery-item img,
    .theme4-gallery-link img {
        width: 100% !important;
        height: auto !important;
        max-height: 220pt;
        object-fit: cover;
        border-radius: 4pt;
        display: block;
    }

    .theme4-gallery-overlay { display: none !important; }

    /* ── Listing info panel ── */
    .theme4-listing-info {
        padding: 0 !important;
    }

    .theme4-listing-header {
        margin-bottom: 10pt;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 10pt;
    }

    .theme4-listing-title {
        font-size: 16pt !important;
        font-weight: 700 !important;
        color: #1a1a2e !important;
        margin: 4pt 0 6pt !important;
        line-height: 1.3 !important;
    }

    .theme4-listing-price {
        font-size: 18pt !important;
        font-weight: 800 !important;
        color: #FF6B35 !important;
    }

    .theme4-vat-note {
        font-size: 10pt !important;
        color: #555 !important;
        font-weight: 400 !important;
    }

    .theme4-badge {
        display: inline-block;
        padding: 2pt 8pt;
        border-radius: 3pt;
        font-size: 8pt;
        font-weight: 700;
        letter-spacing: 0.5pt;
        background: #FF6B35;
        color: #fff;
        margin-bottom: 4pt;
    }

    /* ── Specifications grid ── */
    .theme4-specifications {
        margin-top: 10pt;
    }

    .theme4-spec-title {
        font-size: 11pt !important;
        font-weight: 700 !important;
        color: #1a1a2e !important;
        text-transform: uppercase;
        letter-spacing: 0.5pt;
        border-bottom: 2px solid #FF6B35;
        padding-bottom: 4pt;
        margin-bottom: 8pt !important;
    }

    .theme4-spec-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4pt 10pt !important;
    }

    .theme4-spec-item {
        display: flex;
        justify-content: space-between;
        padding: 4pt 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 10pt;
    }

    .theme4-spec-label {
        font-weight: 600;
        color: #4a5568;
    }

    .theme4-spec-value {
        color: #1a1a1a;
        text-align: right;
    }

    /* ── Description ── */
    .theme4-listing-description {
        margin-top: 16pt;
        padding-top: 12pt;
        border-top: 1px solid #e2e8f0;
        page-break-inside: avoid;
    }

    .theme4-description-title {
        font-size: 12pt !important;
        font-weight: 700 !important;
        color: #1a1a2e !important;
        text-transform: uppercase;
        letter-spacing: 0.5pt;
        border-bottom: 2px solid #FF6B35;
        padding-bottom: 4pt;
        margin-bottom: 8pt !important;
    }

    .theme4-description-content {
        font-size: 10pt;
        line-height: 1.6;
        color: #333;
    }

    .theme4-description-content ul,
    .theme4-description-content ol {
        padding-left: 16pt;
        margin: 6pt 0;
    }

    /* ── Print footer with contact info ── */
    .theme4-listing-description::after {
        content: 'For enquiries please visit us online or call us.';
        display: block;
        margin-top: 20pt;
        padding-top: 10pt;
        border-top: 2px solid #1a1a2e;
        font-size: 9pt;
        color: #555;
        text-align: center;
    }

    /* ── Container full width ── */
    .theme4-container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .theme4-listing-detail-section {
        padding: 0 !important;
    }
}

/* ================== PAGE BUILDER SECTIONS ================== */
.theme4-section-block {
    padding: 60px 0;
}

.theme4-container-full {
    width: 100%;
    padding: 0;
}

.theme4-content-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.theme4-content-inner {
    width: 100%;
}

/* Text alignment utilities */
.text-start {
    text-align: left;
}

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

.text-end {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

@media (max-width: 768px) {
    .theme4-section-block {
        padding: 40px 0;
    }
}


.theme4-logo img {
    max-height: 115px !important;
    width: auto;
}
