:root {
    --primary-color: #0056B3;
    /* Tech Blue Point Color */
    --accent-color: #00A3E0;
    /* Cyan Blue Accent */
    --text-color: #333333;
    /* Standard Dark Text */
    --bg-color: #FFFFFF;
    /* Pure White Main Background */
    --light-gray: #F5F7FA;
    /* Very Light Cool Gray */
    --border-color: #e0e0e0;
    --footer-bg: #002244;
    /* Dark Navy Footer (Unchanged/Compatible) */
    --footer-text: #cccccc;
    --section-spacing: 120px;
}

/* Responsive Description Utilities */
.desc-mobile {
    display: none;
}

.desc-desktop {
    display: block;
}

@media (max-width: 991px) {
    .desc-desktop {
        display: none !important;
    }

    .desc-mobile {
        display: block !important;
    }

    .mobile-br {
        display: inline !important;
    }
}

.mobile-br {
    display: none;
}

#mobile-sidebar-close {
    display: none;
}

/* Common Section */
.section {
    padding-bottom: 0;
    /* Remove padding as spacer handles it */
}

/* Admin Spacer (Injected via JS) */
.admin-spacer {
    /* Height set inline by JS */
    min-height: 20px;
    background: repeating-linear-gradient(45deg,
            #f8f9fa,
            #f8f9fa 10px,
            #e9ecef 10px,
            #e9ecef 20px);
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    position: relative;
    cursor: ns-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    user-select: none;
    z-index: 900;
    /* Ensure on top */
}

.admin-spacer:hover,
.admin-spacer.dragging {
    background: rgba(74, 144, 226, 0.1);
    /* Light Blue tint */
    border-color: #4a90e2;
}

/* Spacer Input Box */
.spacer-input {
    position: absolute;
    background: white;
    border: 1px solid #4a90e2;
    color: #4a90e2;
    font-size: 13px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    width: 60px;
    text-align: center;
    display: none;
    /* Hidden by default or show on hover? User wants specific input. Let's show on hover/drag */
}

.admin-spacer:hover .spacer-input,
.admin-spacer.dragging .spacer-input,
.spacer-input:focus {
    display: block;
}

/* Remove old pseudo-element text */
.admin-spacer::after {
    display: none;
}

/* Drag Handle Icon */
.drag-handle-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    opacity: 0;
}

.admin-spacer:hover .drag-handle-icon {
    opacity: 1;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Noto Sans KR', 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

/* Breadcumb Reset */
.breadcrumbs * {
    margin: 0 !important;
    padding: 0 !important;
}

/* Header & Nav Refined */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    /* For dropdown positioning */
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    padding: 0;
    transition: all 0.3s ease;
}

/* Wrapper for Logo + Nav (Affects Layout) */
.header-content {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* Fixed Actions (Search, Login, Lang) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
    /* Spacing from main content */
    flex-shrink: 0;
    /* Prevent shrinking */
}

.header-actions a {
    font-size: 18px;
    color: var(--text-color);
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--primary-color);
}

/* Header Positioning Variants - Applied to header-content */
.header-pos-left {
    flex-direction: row;
    justify-content: space-between;
}

.header-pos-right {
    flex-direction: row-reverse;
    justify-content: space-between;
}

.header-pos-top {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.header-pos-bottom {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
}

/* Logo Styling */
.logo a,
.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
}

/* Image Logo Logic */
.logo-img {
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Side Layouts: Constrain height */
.header-pos-left .logo-img,
.header-pos-right .logo-img {
    max-height: 80px;
}

/* Vertical Layouts: Support large logos */
.header-pos-top .logo-img,
.header-pos-bottom .logo-img {
    max-width: 300px;
    /* Reduced from 600px */
    max-height: 500px;
    margin: 10px 0;
}

.main-nav ul {
    display: flex;
    gap: 0;
    height: 100%;
    justify-content: center;
    /* Center items in flex container if needed */
}

/* Adjust Nav for Vertical Layouts */
.header-pos-top .main-nav,
.header-pos-bottom .main-nav {
    margin: 15px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-pos-top .main-nav ul,
.header-pos-bottom .main-nav ul {
    height: auto;
}

.nav-item {
    height: 100px;
    /* Matched to new header height */
    display: flex;
    align-items: center;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    position: static;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-item:hover .nav-link {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Standard Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    /* Align to bottom of nav item */
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0 !important;
    /* Very tight vertical padding */
    margin: 0;
    list-style: none;
    display: none;
    z-index: 2000;
    border-radius: 0 0 4px 4px;
    height: auto !important;
    min-height: 0 !important;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #444;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 71px;
    /* Just below header */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: none;
    flex-direction: column;
    z-index: 2000;
}

.nav-item:hover .mega-menu {
    display: flex;
}

.mega-menu-inner {
    display: flex;
    padding: 15px 20px;
    /* Aggressively reduced padding */
    min-height: auto;
    align-items: flex-start;
    /* Prevent stretching */
}

/* Menu Intro Column */
.menu-intro {
    width: 20%;
    padding-right: 30px;
    border-right: 1px solid var(--border-color);
    box-sizing: border-box;
    /* Ensure padding includes in width */
}

.menu-intro h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.menu-intro p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.menu-image-placeholder {
    width: 100%;
    height: 100px;
    /* Reduced from 150px to prevent excess whitespace on short menus */
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    /* Reduced icon size */
    color: #ccc;
    border-radius: 4px;
}

/* Categories Column */
.menu-categories {
    width: 20%;
    padding: 0 20px;
    background-color: #fff;
}

.menu-categories ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-categories li {
    padding: 12px 15px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-categories li:hover,
.menu-categories li.active {
    color: var(--primary-color);
    background-color: #f9f9f9;
    font-weight: bold;
}

/* Subitems Column */
.menu-subitems {
    flex: 1;
    padding-left: 40px;
    display: flex;
    gap: 60px;
}

.subitem-group h4 {
    font-size: 15px;
    color: #222;
    margin-bottom: 15px;
    border-bottom: 2px solid #222;
    padding-bottom: 8px;
    display: inline-block;
}

.subitem-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subitem-group a {
    font-size: 14px;
    color: #666;
}

.subitem-group a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Mega Footer */
.mega-footer {
    background-color: #f7f8f9;
    border-top: 1px solid #eee;
    padding: 15px 0;
}

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

.promo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
}

.promo-tag {
    font-weight: bold;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
}

.promo-tag.new {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.promo-tag.hot {
    color: #d32f2f;
    border: 1px solid #d32f2f;
}

.promo-desc {
    color: #555;
}

.menu-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    background: #eee;
    padding: 8px 20px;
    border-radius: 4px;
}

.menu-contact strong {
    color: var(--primary-color);
    font-size: 16px;
}

@media (min-width: 992px) {

    /* Swap Top Row (CS <-> Logo) */
    .main-footer.footer-reversed .footer-row-top {
        flex-direction: row-reverse;
    }

    /* Align Content Right */
    /* Standardized "Right Column" blocks */
    /* 
       To achieve the "Red Line" alignment (Left Aligned Text in a Right Positioned Block),
       we give all right-side elements a fixed width (or max-width) and align them to the right.
       This ensures their left edges all start at the same pixel vertical axis.
    */
    .main-footer.footer-reversed .footer-cs-branding,
    .main-footer.footer-reversed .footer-links,
    .main-footer.footer-reversed .footer-biz-section,
    .main-footer.footer-reversed .footer-copyright,
    .main-footer.footer-reversed #footer-copyright {
        /* Added ID selector for Specificity */
        width: 100%;
        max-width: 420px;
        /* Optimized to 420px to push content fully right */
        margin-left: auto !important;
        /* Force override inline margin */
        margin-right: 0 !important;
        text-align: left !important;
        /* Force Left Align inside the block */
        align-items: flex-start !important;
        /* For Flex Columns */
        justify-content: flex-start !important;
        /* For Flex Rows (Footer Links) */
        display: block !important;
        /* Ensure Block behavior for margin auto */
    }

    /* Footer Links - Override display to flex */
    .main-footer.footer-reversed .footer-links {
        display: flex !important;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Footer Links - Ensure it behaves as a row starting from the left of the block */
    .main-footer.footer-reversed .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Ensure inner text is left aligned */
    .main-footer.footer-reversed .footer-biz-section>*,
    .main-footer.footer-reversed .footer-copyright>* {
        text-align: left;
    }

    /* Biz Row Alignment */
    .main-footer.footer-reversed .biz-row {
        justify-content: flex-start;
    }
}

/* Hero Section / Smart Banner Slider */
.hero-section {
    position: relative;
    background-color: white;
    /* Light Grey Background */
    overflow: hidden;
    padding: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-banner-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-track {
    width: 100%;
    height: 500px;
    /* Fixed height for stability */
    position: relative;
}

/* Slide Item Logic */
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    padding: 0 20px;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* 2-Column Layout */
.banner-content-left {
    flex: 1.5;
    /* Increased from 1 to give more space for text (60%) */
    padding-right: 20px;
    /* Reduced paging */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.banner-content-right {
    flex: 1;
    /* 40% */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
}

.banner-content-right img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Typography & Badges */
/* Typography & Badges */
.banner-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    /* More squared/tech look, or use 30px for pill */
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Glassy/Gradient effect */
.banner-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.5;
}

.badge-new {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    /* Fresh Green Gradient */
    box-shadow: 0 4px 12px rgba(0, 176, 155, 0.4);
    border: none;
}

.badge-hit {
    background: linear-gradient(135deg, #f09819 0%, #ff512f 100%);
    /* Vivid Orange-Red */
    box-shadow: 0 4px 12px rgba(240, 152, 25, 0.4);
    border: none;
}

.badge-event {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    /* Electric Blue */
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
    border: none;
}

.badge-none {
    display: none;
}

.badge-hot {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.4);
    border: none;
}

.badge-signature {
    background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
    box-shadow: 0 4px 12px rgba(74, 0, 224, 0.4);
    border: none;
}

.badge-premium {
    background: linear-gradient(135deg, #FDC830 0%, #F37335 100%);
    box-shadow: 0 4px 12px rgba(243, 115, 53, 0.4);
    border: none;
}

.badge-best {
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.4);
    border: none;
}

.banner-title {
    font-size: 46px;
    /* Reverted to 46px */
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 20px;
    word-break: keep-all;
    letter-spacing: -0.5px;
    /* Tighter letter spacing */
}

.banner-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
    background: transparent;
    /* Changed from white */
    padding: 10px 0;
    /* Reduced padding since box is gone */
    border: none;
    box-shadow: none;
    max-width: 90%;
    /* Increased max-width */
}

/* Controls */
.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    /* Changed */
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.banner-indicators {
    display: flex;
    gap: 8px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.indicator-dot.active {
    width: 25px;
    background-color: #333;
    border-radius: 12px;
}

.btn-banner-ctrl {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.btn-banner-ctrl:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 900px) {
    .banner-slide.active {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        /* Space for text at top */
    }

    /* Text Content: Top Left */
    .banner-content-left {
        flex: 0 0 auto;
        padding-right: 0;
        align-items: flex-start;
        /* Left Align */
        text-align: left;
        /* Left Align */
        margin-top: 0;
        width: 100%;
        margin-bottom: 20px;
        padding-left: 20px;
        /* Ensure alignment with left edge */
    }

    /* Image Content: Center */
    .banner-content-right {
        flex: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        /* Center Horizontally */
        align-items: center;
        margin-bottom: 60px;
        /* Space for controls at bottom */
    }

    .banner-content-right img {
        max-height: 250px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
        /* Ensure block level for margin auto */
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-desc {
        max-width: 100%;
        font-size: 14px;
    }

    /* Controls: Bottom Center */
    .banner-controls {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        width: 100%;
        justify-content: center;
    }

    .desc-desktop {
        display: none;
    }

    .desc-mobile {
        display: block;
    }

    /* Industry Tabs Mobile Centering */
    .industry-tabs {
        gap: 0 !important;
        scroll-snap-type: x mandatory;
        padding: 0 !important;
        overflow-x: auto;
    }

    .industry-tabs .tab {
        flex: 0 0 100%;
        text-align: center;
        scroll-snap-align: center;
        padding: 15px 0;
    }
}


.notice-bar .container {
    display: flex;
    align-items: center;
    font-size: 14px;
    background-color: white;
}

.notice-label {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 20px;
}

.notice-text {
    flex: 1;
    color: #444;
}

.notice-more {
    font-size: 12px;
    color: #888;
}

/* Common Section */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--primary-color);
}

.arrow-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
}

.arrow-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}



.product-line {
    background-color: white;
}

/* Product Tab Interface */
.product-tabs-wrapper {
    width: 100%;
    margin-top: 30px;
}

/* Tabs Scroll Area */
.product-nav-scroll {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    position: relative;
}

.product-tabs {
    flex-grow: 1;
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 0 10px;
    scrollbar-width: none;
    /* Firefox */
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

/* Chrome/Safari */

.tab-btn {
    background: none;
    border: none;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    color: #222;
    font-weight: 700;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.nav-arrow {
    background: white;
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    flex-shrink: 0;
    margin: 0 5px;
    transition: all 0.2s;
}

.nav-arrow:hover {
    background: #f8f8f8;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Main Display Area (Split Layout) */
.product-display-full-bg {
    width: 100%;
    background-color: white;
    padding: 0;
    /* Or padding if needed */
}

.product-display {
    display: flex;
    gap: 0;
    /* Seamless look or gap? Image suggests slight gap or border */
    border: none;
    /* Removed border to blend in */
    border-radius: 4px;
    overflow: hidden;
    min-height: 400px;
    /* Background handled by wrapper now, but individual parts still have it. 
       Let's keep them matching or transparent. */
}

.prod-display-img {
    flex: 1;
    background: white;
    /* Changed from #fafafa to match banner */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-right: none;
    /* Removed border */
}

.prod-display-img img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.3s;
}

.prod-display-img img.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.prod-display-img i {
    font-size: 100px;
    color: #ddd;
}

.prod-display-info {
    flex: 1;
    padding: 50px;
    background: white;
    /* Changed from white to match banner */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.prod-display-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.prod-display-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    white-space: pre-wrap;
}

.btn-view-product {
    padding: 12px 24px;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-view-product:hover {
    background-color: var(--primary-color);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background: #fff;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
}

.prod-img {
    height: 150px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 40px;
    color: #ccc;
}

.product-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.model-name {
    font-size: 13px;
    color: var(--primary-color);
}

/* Industries */
.industries {
    background: white;
}

.industry-nav-scroll {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    position: relative;
}

.industry-tabs {
    flex-grow: 1;
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 0 10px;
    scrollbar-width: none;
    /* Firefox */
}

.industry-tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    background: none;
    border: none;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s;
    border-bottom: none;
}

.tab.active {
    color: #222;
    font-weight: 700;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.industry-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.ind-text {
    flex: 1;
}

.ind-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.desc-mobile {
    display: none;
}

.ind-text p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.ind-image {
    flex: 1;
}

.img-box {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    border-radius: 8px;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 40px;
}

.footer-top {
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.service-banner h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin-right: 20px;
    font-size: 13px;
    color: #fff;
}

address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.copyright {
    font-size: 13px;
    /* Updated to 13px */
    color: #666;
    padding-bottom: 40px;
}

.footer-copyright {
    font-size: 13px !important;
}

/* Revised Dropdown for Dynamic Menu */
.nav-item {
    position: relative;
    /* Ensure relative positioning for dropdown anchor */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    /* changed width to min-width */
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    display: none !important;
    /* Force hide by default */
    z-index: 2000;
}

/* Show only the direct child dropdown on hover (Desktop Only) */
@media (min-width: 992px) {

    .nav-item.has-dropdown:hover>.dropdown-menu,
    .has-dropdown:hover>.dropdown-menu {
        display: block !important;
        /* Force show on hover */
    }
}

.dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    /* Ensure nested LIs can anchor their children */
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
    background-color: #fff;
    border-bottom: none;
    white-space: nowrap;
    /* Prevent wrapping */
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

/* Recursive Dropdown Styling */
.has-dropdown {
    position: relative;
}

/* Nested Dropdowns position to the right */
.dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* Better shadow for nested */
}

/* Admin Highlight Style */
.admin-highlight {
    outline: 4px solid #007bff !important;
    outline-offset: -4px;
    position: relative;
    z-index: 2000;
    cursor: default;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

/* Resource Badges (Shared) */
.res-type-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 500;
    background: #eee;
    color: #555;
    min-width: 60px;
    text-align: center;
}

.res-type-CATALOG {
    background: #e3f2fd;
    color: #1565c0;
}

.res-type-MANUAL {
    background: #e8f5e9;
    color: #2e7d32;
}

.res-type-DRAWING {
    background: #fff3e0;
    color: #ef6c00;
}

.res-type-CERT {
    background: #e0f2f1;
    color: #00695c;
}

/* =========================================
   NEW FOOTER STYLES
   ========================================= */
.main-footer {
    background-color: #f8f9fa;
    padding: 60px 0 40px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

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

.footer-logo-section {
    margin-bottom: 20px;
}

/* Reusing .logo-img logic but for footer context if needed */
.footer-logo-section img {
    max-height: 40px;
    /* Smaller than header */
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

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

/* New Layout Classes (Optional override) */
.footer-group-left {
    padding-right: 40px;
}

.footer-group-right {
    min-width: 250px;
}

.footer-section-group {
    flex: 1;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.footer-text-group {
    line-height: 1.8;
}

.biz-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Space between items in a row */
}

.biz-item {
    display: inline-flex;
    gap: 5px;
}

.biz-label {
    font-weight: 600;
    color: #444;
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: left;
    color: #999;
    font-size: 12px;
}

@media (max-width: 991px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-group-left,
    .footer-group-right {
        width: 100%;
        padding-right: 0;
    }
}

.footer-col-right {
    flex-direction: column;
    gap: 30px;
}

/* Breadcrumbs (Standardized) */
.breadcrumbs {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #333;
    text-decoration: underline;
}

.breadcrumbs i {
    font-size: 14px;
    color: #bbb;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

/* Hide Mobile Sidebar Close Button by Default (Desktop) */
#mobile-sidebar-close-wrap {
    display: none !important;
}

@media (max-width: 991px) {

    .header-container {
        min-height: auto;
        padding: 0;
        width: 100% !important;
    }

    .header-content {
        display: flex !important;
        /* Default to allow side-by-side if needed, but pos-* will override */
        width: 100% !important;
        gap: 0;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Use flex column and order to ensure submenu always expands downward */
    .header-pos-top,
    .header-pos-bottom {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Top: Logo(1) -> Nav(2) -> Submenu(3) */
    .header-pos-top .logo {
        order: 1;
    }

    .header-pos-top .main-nav {
        order: 2;
    }

    .header-pos-top #mobile-submenu-container {
        order: 3;
    }

    /* Bottom: Nav(1) -> Submenu(Absolute) -> Logo(3) */
    .header-pos-bottom .main-nav {
        order: 1;
    }

    .header-pos-bottom .logo {
        order: 2;
    }

    .header-pos-bottom #mobile-submenu-container {
        position: absolute;
        top: 55px;
        left: 0;
        width: 100%;
        z-index: 1001;
        background: rgba(248, 249, 250, 0.98);
        border-bottom: 2px solid var(--primary-color);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .header-pos-left {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .header-pos-right {
        flex-direction: row-reverse !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Logo Container Adjustments */
    .logo {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .header-pos-top .logo {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .header-pos-bottom .logo {
        width: 100% !important;
        margin-top: 5px;
    }

    .header-pos-left .logo {
        width: auto !important;
        margin-bottom: 0;
        padding-left: 15px;
    }

    .header-pos-right .logo {
        width: auto !important;
        margin-bottom: 0;
        padding-right: 15px;
    }

    /* Show Hamburger for Left/Right, Hide for Top/Bottom */
    .header-pos-left .mobile-menu-btn,
    .header-pos-right .mobile-menu-btn {
        display: block !important;
        padding: 10px 15px;
    }

    .header-pos-top .mobile-menu-btn,
    .header-pos-bottom .mobile-menu-btn {
        display: none !important;
    }

    /* Conditional Nav Styles */
    .main-nav {
        display: none;
    }

    .header-pos-top .main-nav,
    .header-pos-bottom .main-nav {
        position: static !important;
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    /* Header Position Right: Reverse Layout */
    .header-pos-right .header-content {
        flex-direction: row-reverse !important;
    }

    /* Sidebar Mode for Left/Right: SLIDE FROM EITHER SIDE */
    .header-pos-left .main-nav,
    .header-pos-right .main-nav {
        position: fixed !important;
        top: 0 !important;
        width: 300px !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 2000 !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1) !important;
        padding-top: 30px !important;
        overflow-y: hidden !important;
    }

    .header-pos-left .main-nav {
        left: -100% !important;
        right: auto !important;
        transition: left 0.3s ease !important;
    }

    .header-pos-right .main-nav {
        right: -100% !important;
        left: auto !important;
        transition: right 0.3s ease !important;
    }

    .header-pos-left .main-nav.active {
        left: 0 !important;
    }

    .header-pos-right .main-nav.active {
        right: 0 !important;
    }

    /* Adjust UL for Sidebar Mode: INTERNAL HORIZONTAL ROW */
    .header-pos-left .main-nav>ul,
    .header-pos-right .main-nav>ul {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 5px 15px !important;
        border-bottom: 1px solid #eee !important;
        background: var(--mobile-sidebar-nav-bg, #fff) !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        gap: 15px !important;
        scrollbar-width: none;
    }

    .header-pos-left .main-nav>ul::-webkit-scrollbar,
    .header-pos-right .main-nav>ul::-webkit-scrollbar {
        display: none;
    }

    .header-pos-left .nav-item,
    .header-pos-right .nav-item {
        width: auto !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    /* Sidebar Close Button Style (Outer Wrapper Above UL) */
    #mobile-sidebar-close-wrap {
        display: none !important;
        padding: 5px 15px !important;
        background: transparent !important;
        border-bottom: 1px solid #eee !important;
    }

    .header-pos-left #mobile-sidebar-close-wrap,
    .header-pos-right #mobile-sidebar-close-wrap {
        display: block !important;
    }

    .sidebar-close-link {
        color: var(--primary-color) !important;
        font-weight: bold !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        background: transparent !important;
        border: none !important;
    }

    /* Arrow icon visibility based on layout */
    .header-pos-left .arrow-icon-r,
    .header-pos-right .arrow-icon-l {
        display: none !important;
    }

    .header-pos-left .arrow-icon-l,
    .header-pos-right .arrow-icon-r {
        display: inline-block !important;
    }

    /* Hide original dropdowns in sidebar to use the push-down container */
    .header-pos-left .main-nav .dropdown-menu,
    .header-pos-right .main-nav .dropdown-menu {
        display: none !important;
    }

    /* Submenu Container inside Sidebar */
    .header-pos-left #mobile-submenu-container,
    .header-pos-right #mobile-submenu-container {
        position: static !important;
        /* Back to flow */
        width: 100% !important;
        height: auto !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8f9fa !important;
        padding: 0 !important;
        overflow-y: auto !important;
        display: none;
        order: 5;
        /* Below top-level nav */
    }

    .header-pos-left #mobile-submenu-container:not(:empty),
    .header-pos-right #mobile-submenu-container:not(:empty) {
        display: block !important;
        padding: 10px 15px !important;
    }


    /* Only top-level UL is horizontal row */
    /* Only top-level UL is horizontal row with scroll */
    .main-nav>ul {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        /* Start from left to allow scroll */
        flex-wrap: nowrap !important;
        /* Prevent wrapping */
        gap: 15px !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 15px !important;
        /* Add side padding */
        margin: 0 !important;
        overflow-x: auto !important;
        /* Enable horizontal scroll */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    /* Hide Scrollbar for Webkit */
    .main-nav>ul::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        height: auto !important;
        width: auto !important;
        flex-shrink: 0 !important;
        /* Prevent squishing */
        padding: 0 !important;
        display: flex !important;
        border-bottom: none !important;
        margin: 0 !important;
        position: relative !important;
        /* For dropdown positioning */
    }


    .nav-link {
        padding: 8px 12px !important;
        font-size: 15px !important;
        justify-content: center !important;
        border-bottom: 2px solid transparent !important;
        width: auto !important;
    }



    /* Mobile Dropdown: Center align if shown */
    /* Mobile Dropdown: Fixed Full-Width Bar below header */
    /* Hide Original Dropdown completely on mobile (We use cloned container) */
    .dropdown-menu {
        display: none !important;
    }

    .nav-item.active-mobile .dropdown-menu {
        display: none !important;
        /* Ensure it stays hidden */
    }

    /* New Push-Down Container Styling */
    #mobile-submenu-container {
        width: 100%;
        background: #f8f9fa;
        border-bottom: 1px solid #ddd;
        padding: 0;
        text-align: left;
        display: none;
        box-shadow: inset 0 5px 10px -5px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease-out;
        position: relative;
        z-index: 990;
        order: 10;
    }

    #mobile-submenu-container:not(:empty) {
        padding: 15px 20px;
    }

    /* 2nd Level Items (Root of submenu) */
    #mobile-submenu-container li a {
        display: block;
        /* Full width line */
        padding: 10px 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid #eee;
        /* Divider */
        border-radius: 0;
        font-size: 15px;
        font-weight: 500;
        margin: 0;
        text-decoration: none;
        color: #333;
    }

    /* 3rd Level Items (Nested) */
    #mobile-submenu-container .dropdown-menu {
        display: block !important;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 5px 0 5px 20px !important;
        /* Indent */
        width: 100% !important;
        transform: none !important;
        margin-top: -5px;
        /* Pull up slightly */
    }

    #mobile-submenu-container .dropdown-menu li a {
        display: block;
        padding: 8px 0;
        background: transparent;
        border: none;
        border-radius: 0;
        font-size: 14px;
        color: #666;
        margin: 0;
        position: relative;
    }

    /* Add Tree branch indicator */
    #mobile-submenu-container .dropdown-menu li a::before {
        content: "└";
        display: inline-block;
        margin-right: 8px;
        color: #ccc;
    }


}

/* Overlay no longer needed */
.mobile-overlay {
    display: none !important;
}


/* Hero Section / Smart Banner Mobile */
@media (max-width: 991px) {
    .banner-track {
        height: auto;
        min-height: 450px;
    }

    .banner-slide {
        flex-direction: column;
        /* Text above image on narrow screens */
        padding: 40px 20px;
        text-align: left;
        height: auto;
        position: relative;
        opacity: 0;
        display: none;
    }

    .banner-slide.active {
        display: flex;
        opacity: 1;
    }

    .banner-content-left {
        width: 100%;
        padding-right: 0;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .banner-content-right {
        width: 100%;
        height: 200px;
        justify-content: center;
        /* Image centered */
        margin-top: 20px;
    }

    .banner-content-right img {
        max-height: 180px;
    }

    .banner-title {
        font-size: 18px;
        /* Reduced another 10% from 20px */
        margin-bottom: 20px;
    }

    .banner-badge {
        font-size: 8px;
        /* Reduced another 10% from 9px */
        padding: 3px 8px;
        /* Reduced another 10% from 4px 10px */
        margin-bottom: 12px;
    }

    .banner-desc {
        display: none;
    }

    .banner-controls {
        position: relative;
        bottom: 0;
        left: 0;
        justify-content: center;
        padding-bottom: 20px;
        width: 100%;
    }

    /* Product Section */
    .prod-display {
        flex-direction: column;
    }

    .prod-display-img {
        padding: 30px;
    }

    .prod-display-info {
        padding: 30px;
        text-align: center;
        align-items: center;
    }

    .prod-display-info h3 {
        font-size: 22px;
    }

    /* Industry Section */
    .industry-content {
        flex-direction: column;
        gap: 30px;
    }

    .ind-image {
        width: 100%;
    }

    .ind-text {
        text-align: left !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ind-text h3,
    .ind-text p {
        text-align: left !important;
        width: 100%;
    }

    .ind-text h3 {
        font-size: 22px;
        /* Reduced by ~10% (24px -> 22px) */
    }

    /* Button Visibility Control */
    .btn-pc {
        display: none !important;
    }

    .mobile-btn-container {
        display: flex !important;
    }

    /* Footer Columnization */
    .footer-row-top {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-biz-section {
        text-align: center;
    }

    .biz-row {
        justify-content: center;
        flex-wrap: wrap;
        /* Ensure business info wraps on narrow screens */
        gap: 10px 20px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
}

/* Smooth Fade In Animation */
.fade-in {
    animation: fadeInEffect 0.8s ease-in-out;
}

@keyframes fadeInEffect {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FINAL MOBILE BANNER FIXES - FORCED */
@media screen and (max-width: 991px) {
    .hero-section .banner-slide {
        flex-direction: column !important;
        /* Text TOP */
        text-align: left !important;
        height: auto !important;
        position: relative !important;
        padding: 40px 20px 60px 20px !important;
        /* Added bottom padding for controls */
        display: none;
    }

    .hero-section .banner-slide.active {
        display: flex !important;
    }

    .hero-section .banner-content-left {
        width: 100% !important;
        padding-right: 0 !important;
        align-items: flex-start !important;
        margin-bottom: 20px !important;
        order: 1 !important;
        /* Force text first */
    }

    .hero-section .banner-content-right {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        /* Image Center */
        margin-top: 10px !important;
        order: 2 !important;
        /* Force image second */
    }

    .hero-section .banner-content-right img {
        max-height: 180px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .hero-section .banner-title {
        font-size: 20px !important;
        text-align: left !important;
        margin-bottom: 15px !important;
    }

    .hero-section .banner-badge {
        font-size: 9px !important;
        padding: 3.5px 9px !important;
        margin-bottom: 10px !important;
        display: inline-block !important;
    }

    .hero-section .banner-desc {
        display: none !important;
        /* Hide desc */
    }

    /* Controls at bottom independent of slide content flow */
    .hero-section .banner-controls {
        position: absolute !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        justify-content: center !important;
        z-index: 50 !important;
    }

    /* Product Tabs - Center tabs on mobile */
    .product-tabs {
        justify-content: flex-start !important;
        /* Reset to allow scroll */
        padding: 0 40% !important;
        /* Allow first/last item to be centered */
        scroll-snap-type: x mandatory;
    }

    /* Force Vertical Stack for Product Display */
    /* Force Vertical Stack for Product Display */
    .product-display {
        flex-direction: column !important;
        display: flex !important;
        width: 100% !important;
    }

    .prod-display-img {
        width: 100% !important;
        flex: 0 0 auto !important;
        padding: 20px !important;
        justify-content: center !important;
        display: flex !important;
    }

    .prod-display-img img {
        max-width: 64% !important;
        height: auto !important;
    }

    .tab-btn {
        scroll-snap-align: center;
        flex-shrink: 0;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Center Section Header on Mobile */
    .section-header {
        justify-content: center !important;
        text-align: center !important;
    }

    .section-header h2 {
        text-align: center !important;
        margin: 0 auto !important;
    }

    /* Product Display Info - Center everything on mobile */
    .prod-display-info {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .prod-display-info h3 {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin-bottom: 20px !important;
        align-self: center !important;
        font-size: 20px !important;
    }

    .prod-display-info p {
        text-align: left !important;
        width: 100% !important;
        align-self: flex-start !important;
    }

    .prod-display-info .btn {
        display: none !important;
    }

    .mobile-btn-container {
        display: flex !important;
    }
}

/* Mobile Hero Image Adjustment */
.mobile-hero-img {
    display: none;
    /* Hidden by default on desktop */
}

@media (max-width: 991px) {

    /* Hide the original right-column image container */
    .hero-image {
        display: none !important;
    }

    /* Show and style the mobile injected image */
    .mobile-hero-img {
        display: block !important;
        max-width: 100%;
        width: auto;
        /* Let height dictate width */
        max-height: 200px;
        /* Match Admin Preview Size */
        margin: 80px auto 40px auto;
        /* Adjusted margins: Top 80px, Bottom 40px */
        border-radius: 4px;
        /* Match Admin Preview */
        /* border: 1px solid #eee; Removed as per request */
        object-fit: contain;
    }

    .footer-copyright,
    .copyright {
        text-align: center !important;
        font-size: 13px !important;
    }
}

/* --- Custom Modal --- */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-window {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    white-space: pre-wrap;
    /* Preserve line breaks */
}