/* Zarin Nahal UI patch 2026-10-06 */

        :root {
            --primary: #1a5c2e;
            --primary-dark: #0d3d1a;
            --primary-light: #2d8a47;
            --accent: #c8a84b;
            --accent-light: #e8c96b;
            --dark: #1a1a1a;
            --light: #f8f6f0;
            --white: #ffffff;
            --gray: #6b7280;
            --gray-light: #f3f4f6;
            --shadow: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
            --radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            background: var(--light);
            color: var(--dark);
            overflow-x: hidden;
            line-height: 1.8;
        }

        body.en {
            font-family: 'Poppins', sans-serif;
            direction: ltr;
        }

        body.en * {
            direction: ltr;
        }

        /* Scrollbar */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--gray-light); }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

        /* ===== TOP BAR ===== */
        .top-bar {
            background: var(--primary-dark);
            color: white;
            padding: 8px 0;
            font-size: 13px;
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        .top-bar-contacts {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .top-bar-contacts a {
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
        }

        .top-bar-contacts a:hover { color: var(--accent-light); }

        .top-bar-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .lang-switcher {
            display: flex;
            align-items: center;
            gap: 5px;
            background: rgba(255,255,255,0.15);
            border-radius: 20px;
            padding: 3px;
        }

        .lang-btn {
            padding: 4px 12px;
            border: none;
            background: transparent;
            color: white;
            cursor: pointer;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            transition: var(--transition);
        }

        .lang-btn.active {
            background: var(--accent);
            color: var(--dark);
        }

        /* ===== HEADER / NAVBAR ===== */
        .navbar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(7, 31, 28, 0.34);
            border-bottom: 1px solid rgba(255,255,255,0.16);
            box-shadow: none;
            z-index: 1000;
            transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
        }

        .navbar.scrolled {
            position: fixed;
            background: rgba(255,255,255,0.97);
            border-bottom-color: rgba(26,92,46,0.08);
            box-shadow: var(--shadow);
            backdrop-filter: blur(12px);
        }

        .navbar .container {
            max-width: 1380px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 70px;
            padding: 6px 18px;
            gap: 20px;
            direction: ltr;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            flex: 0 0 auto;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background: transparent;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .logo-icon img {
            width: 48px;
            height: 48px;
            object-fit: contain;
            border-radius: 0;
            position: static;
        }

        .logo-icon svg {
            width: 35px;
            height: 35px;
            fill: white;
            position: relative;
            z-index: 2;
        }

        .logo-text {
            text-align: left;
        }

        .logo-text h1 {
            font-family: Georgia, 'Times New Roman', serif;
            font-size: 22px;
            font-weight: 600;
            color: white;
            line-height: 1.05;
            letter-spacing: 0.2px;
            margin: 0;
        }

        .logo-text span {
            display: block;
            font-size: 10px;
            color: rgba(255,255,255,0.92);
            font-weight: 400;
            letter-spacing: 1.6px;
            margin-top: 4px;
        }

        .navbar.scrolled .logo-text h1 { color: var(--primary-dark); }
        .navbar.scrolled .logo-text span { color: var(--gray); }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 3px;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            padding: 0;
            direction: ltr;
        }

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

        .nav-menu > li > a {
            position: relative;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 25px 13px 22px;
            color: rgba(255,255,255,0.96);
            background: transparent;
            text-decoration: none;
            font-weight: 500;
            font-size: 12px;
            border-radius: 0;
            transition: color 0.25s ease;
            white-space: nowrap;
        }

        .nav-menu > li > a::after {
            content: '';
            position: absolute;
            left: 13px;
            right: 13px;
            bottom: 11px;
            height: 2px;
            border-radius: 2px;
            background: #d7f36b;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.25s ease;
        }

        .nav-menu > li > a:hover,
        .nav-menu > li > a.active {
            color: #d7f36b;
            background: transparent;
        }

        .nav-menu > li > a:hover::after,
        .nav-menu > li > a.active::after { transform: scaleX(1); }

        .nav-menu > li > a svg {
            width: 11px;
            height: 11px;
            stroke-width: 2;
        }

        .navbar.scrolled .nav-menu > li > a { color: var(--dark); }
        .navbar.scrolled .nav-menu > li > a:hover,
        .navbar.scrolled .nav-menu > li > a.active { color: var(--primary); }
        .navbar.scrolled .nav-menu > li > a::after { background: var(--primary); }

        .header-tools {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 14px;
            flex: 0 0 auto;
            direction: ltr;
        }

        .header-search {
            width: 34px;
            height: 34px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 0;
            background: transparent;
            color: white;
            cursor: pointer;
        }

        .header-search svg {
            width: 18px;
            height: 18px;
            stroke-width: 2;
        }

        .navbar.scrolled .header-search { color: var(--dark); }

        .header-language {
            height: 34px;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 0 12px;
            border: 1px solid rgba(255,255,255,0.36);
            border-radius: 18px;
            background: rgba(0,0,0,0.08);
            color: white;
        }

        .header-language > svg:first-child {
            width: 17px;
            height: 17px;
            stroke-width: 2;
        }

        .header-language .language-chevron {
            width: 12px;
            height: 12px;
            opacity: 0.85;
        }

        .header-lang-btn {
            border: 0;
            background: transparent;
            color: white;
            padding: 0;
            font-family: inherit;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
        }

        .header-lang-btn:hover,
        .header-lang-btn.active { color: white; }

        .navbar.scrolled .header-language {
            border-color: rgba(26,92,46,0.22);
            background: white;
            color: var(--dark);
        }

        .navbar.scrolled .header-lang-btn { color: var(--dark); }
        .navbar.scrolled .header-lang-btn.active { color: var(--primary); }

        .header-cta {
            min-height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0 16px;
            border-radius: 18px;
            background: #319b5d;
            border: 1px solid rgba(255,255,255,0.4);
            color: white;
            text-decoration: none;
            font-size: 11px;
            font-weight: 700;
            white-space: nowrap;
            transition: transform 0.25s ease, background 0.25s ease;
        }

        .header-cta:hover {
            background: #25834c;
            color: white;
            transform: translateY(-1px);
        }

        .header-cta svg {
            width: 14px;
            height: 14px;
            stroke-width: 2.2;
        }

        .navbar.scrolled .header-cta {
            background: var(--primary);
            border-color: var(--primary);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            min-width: 220px;
            box-shadow: var(--shadow-lg);
            border-radius: var(--radius);
            padding: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 999;
            border-top: 3px solid var(--primary);
        }

        body.en .dropdown-menu {
            right: auto;
            left: 0;
        }

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

        .dropdown-menu a {
            display: block;
            padding: 9px 14px;
            color: var(--dark);
            text-decoration: none;
            font-size: 13px;
            border-radius: 6px;
            transition: var(--transition);
        }

        .dropdown-menu a:hover {
            background: rgba(26, 92, 46, 0.08);
            color: var(--primary);
            padding-right: 20px;
        }

        body.en .dropdown-menu a:hover {
            padding-right: 14px;
            padding-left: 20px;
        }

        .nav-cta {
            background: var(--primary) !important;
            color: white !important;
            border-radius: 25px !important;
            padding: 10px 22px !important;
        }

        .nav-cta:hover {
            background: var(--primary-dark) !important;
            transform: translateY(-2px);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--primary);
            cursor: pointer;
        }

        /* ===== CONTAINER ===== */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            position: relative;
            min-height: 600px;
            display: flex;
            align-items: center;
            overflow: hidden;
            background: #173b27;
        }
        .hero-bg-pattern {
            position: absolute;
            inset: 0;
            opacity: 1;
            overflow: hidden;
        }

        .hero-bg-pattern img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-bg-pattern::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(13,55,31,0.68) 0%, rgba(13,55,31,0.25) 48%, rgba(13,55,31,0.06) 100%);
            pointer-events: none;
        }

        .hero .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            padding: 80px 20px;
            position: relative;
            z-index: 2;
        }

        .hero-content {
            color: white;
            position: relative;
            z-index: 3;
            text-shadow: 0 2px 14px rgba(0,0,0,0.28);
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            border-radius: 25px;
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 20px;
            animation: fadeInUp 0.6s ease;
        }

        .hero-title {
            font-size: clamp(32px, 5vw, 56px);
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 20px;
            animation: fadeInUp 0.8s ease;
        }

        .hero-title .highlight {
            color: var(--accent-light);
            display: block;
        }

        .hero-desc {
            font-size: 17px;
            opacity: 0.9;
            line-height: 1.9;
            margin-bottom: 35px;
            max-width: 500px;
            animation: fadeInUp 1s ease;
        }

        .hero-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            animation: fadeInUp 1.2s ease;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            transition: var(--transition);
            cursor: pointer;
            border: none;
            font-family: inherit;
        }

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

        .btn-primary:hover {
            background: var(--accent-light);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(200, 168, 75, 0.4);
        }

        .btn-outline {
            background: transparent;
            color: white;
            border: 2px solid rgba(255,255,255,0.5);
        }

        .btn-outline:hover {
            background: white;
            color: var(--primary);
            border-color: white;
            transform: translateY(-3px);
        }

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

        .btn-green:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(26, 92, 46, 0.4);
        }

        .hero-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeInRight 1s ease;
        }

        .hero-card {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 24px;
            padding: 40px;
            text-align: center;
            color: white;
            width: 100%;
            max-width: 420px;
        }

        .hero-logo-large {
            width: 120px;
            height: 120px;
            background: rgba(255,255,255,0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            border: 3px solid rgba(200, 168, 75, 0.5);
        }

        .hero-logo-large svg {
            width: 70px;
            height: 70px;
            fill: white;
        }

        .hero-card h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .hero-card p {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 20px;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

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

        .hero-stat .num {
            font-size: 24px;
            font-weight: 800;
            color: var(--accent-light);
            display: block;
        }

        .hero-stat .label {
            font-size: 11px;
            opacity: 0.7;
        }

        /* ===== FEATURES BAR ===== */
        .features-bar {
            background: white;
            padding: 30px 0;
            box-shadow: var(--shadow);
            position: relative;
            z-index: 3;
            margin-top: -30px;
            border-radius: 20px 20px 0 0;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            border-radius: var(--radius);
            transition: var(--transition);
        }

        .feature-item:hover {
            background: var(--gray-light);
            transform: translateY(-3px);
        }

        .feature-icon svg {
            width: 24px;
            height: 24px;
            stroke-width: 2;
            display: block;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            flex-shrink: 0;
        }

        .feature-text h4 {
            font-size: 14px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 3px;
        }

        .feature-text p {
            font-size: 12px;
            color: var(--gray);
        }

        /* ===== SECTION STYLES ===== */
        .section {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(26, 92, 46, 0.1);
            color: var(--primary);
            padding: 6px 16px;
            border-radius: 25px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .section-title {
            font-size: clamp(28px, 4vw, 42px);
            font-weight: 800;
            color: var(--primary-dark);
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .section-desc {
            font-size: 16px;
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }

        .section-line {
            width: 60px;
            height: 4px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            border-radius: 2px;
            margin: 15px auto 0;
        }

        /* ===== PRODUCT CATEGORIES ===== */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .category-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            cursor: pointer;
            position: relative;
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
        }

        .category-img {
            height: 180px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .category-img i {
            font-size: 60px;
            color: rgba(255,255,255,0.3);
        }

        .category-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
        }

        .category-body {
            padding: 20px;
        }

        .category-body h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 8px;
        }

        .category-body p {
            font-size: 13px;
            color: var(--gray);
            margin-bottom: 15px;
            line-height: 1.7;
        }

        .category-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
        }

        .category-link:hover { gap: 10px; }

        /* ===== PRODUCTS GRID ===== */
        .products-tabs {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }

        .tab-btn {
            padding: 10px 22px;
            border: 2px solid var(--gray-light);
            background: white;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            font-family: inherit;
            color: var(--gray);
        }

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

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 25px;
        }

        .product-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .product-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: var(--accent);
            color: var(--dark);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            z-index: 2;
        }

        body.en .product-badge {
            right: auto;
            left: 12px;
        }

        .product-img {
            height: 200px;
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .product-img i {
            font-size: 50px;
            color: var(--primary);
            opacity: 0.5;
        }

        .product-img-overlay {
            position: absolute;
            inset: 0;
            background: rgba(26, 92, 46, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            opacity: 0;
            transition: var(--transition);
        }

        .product-card:hover .product-img-overlay {
            opacity: 1;
        }

        .overlay-btn {
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
            transform: translateY(20px);
        }

        .product-card:hover .overlay-btn {
            transform: translateY(0);
        }

        .overlay-btn:hover {
            background: var(--accent);
            color: var(--dark);
        }

        .product-body {
            padding: 18px;
        }

        .product-category-label {
            font-size: 11px;
            color: var(--primary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }

        .product-body h3 {
            font-size: 15px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 8px;
            line-height: 1.5;
        }

        .product-body p {
            font-size: 12px;
            color: var(--gray);
            margin-bottom: 12px;
        }

        .product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid var(--gray-light);
        }

        .product-price {
            font-size: 13px;
            color: var(--primary);
            font-weight: 700;
        }

        .product-btn {
            padding: 7px 14px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-family: inherit;
        }

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

        /* ===== COURSES SECTION ===== */
        .courses-section {
            background: linear-gradient(135deg, #0d3d1a, #1a5c2e);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .courses-section::before {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0.05;
            background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
        }

        .courses-section .section-badge {
            background: rgba(200, 168, 75, 0.2);
            color: var(--accent-light);
        }

        .courses-section .section-title {
            color: white;
        }

        .courses-section .section-desc {
            color: rgba(255,255,255,0.7);
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            position: relative;
            z-index: 2;
        }

        .course-card {
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: var(--radius);
            padding: 25px;
            transition: var(--transition);
        }

        .course-card:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-5px);
            border-color: rgba(200, 168, 75, 0.4);
        }

        .course-icon {
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, var(--accent), var(--accent-light));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--dark);
            margin-bottom: 18px;
        }

        .course-card h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
            color: white;
        }

        .course-card p {
            font-size: 13px;
            opacity: 0.7;
            margin-bottom: 18px;
            line-height: 1.7;
        }

        .course-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 18px;
        }

        .course-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            opacity: 0.7;
        }

        .course-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 18px;
            background: var(--accent);
            color: var(--dark);
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
        }

        .course-btn:hover {
            background: var(--accent-light);
            transform: translateX(-3px);
        }

        body.en .course-btn:hover {
            transform: translateX(3px);
        }

        /* ===== EXPORT SECTION ===== */
        .export-section {
            background: var(--gray-light);
        }

        .export-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .export-content h2 {
            font-size: clamp(26px, 3.5vw, 38px);
            font-weight: 800;
            color: var(--primary-dark);
            margin-bottom: 20px;
            line-height: 1.3;
        }

        .export-content p {
            font-size: 15px;
            color: var(--gray);
            margin-bottom: 25px;
            line-height: 1.9;
        }

        .export-features {
            list-style: none;
            margin-bottom: 30px;
        }

        .export-features li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid rgba(0,0,0,0.06);
            font-size: 14px;
            color: var(--dark);
        }

        .export-features li i {
            color: var(--primary);
            margin-top: 3px;
            flex-shrink: 0;
        }

        .export-visual {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 20px;
            padding: 40px;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .export-visual::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(200,168,75,0.2), transparent);
            border-radius: 50%;
        }

        .export-visual h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
        }

        .export-langs {
            position: relative;
        }

        .export-lang-block {
            background: rgba(255,255,255,0.1);
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 15px;
            border-right: 3px solid var(--accent);
        }

        body.en .export-lang-block {
            border-right: none;
            border-left: 3px solid var(--accent);
        }

        .export-lang-block .lang-label {
            font-size: 11px;
            color: var(--accent-light);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .export-lang-block p {
            font-size: 13px;
            opacity: 0.9;
            line-height: 1.7;
        }

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

        .about-img-wrapper {
            position: relative;
        }

        .about-img-box {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 20px;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .about-img-box i {
            font-size: 100px;
            color: rgba(255,255,255,0.2);
        }

        .about-floating-card {
            position: absolute;
            bottom: -20px;
            left: -20px;
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: var(--shadow-lg);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        body.en .about-floating-card {
            left: auto;
            right: -20px;
        }

        .about-floating-card .afc-icon {
            width: 50px;
            height: 50px;
            background: var(--accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: var(--dark);
        }

        .about-floating-card .afc-num {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary);
        }

        .about-floating-card .afc-label {
            font-size: 12px;
            color: var(--gray);
        }

        .about-content h2 {
            font-size: clamp(26px, 3.5vw, 38px);
            font-weight: 800;
            color: var(--primary-dark);
            margin-bottom: 20px;
            line-height: 1.3;
        }

        .about-content p {
            font-size: 15px;
            color: var(--gray);
            margin-bottom: 20px;
            line-height: 1.9;
        }

        .about-list {
            list-style: none;
            margin-bottom: 30px;
        }

        .about-list li {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            font-size: 14px;
            color: var(--dark);
        }

        .about-list li i {
            color: var(--primary);
            font-size: 16px;
        }


        /* ===== FOOTER ===== */
        .footer {
            background: var(--primary-dark);
            color: white;
            padding: 60px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .footer-brand .logo-text h1 {
            color: white;
        }

        .footer-brand .logo-text span {
            color: rgba(255,255,255,0.6);
        }

        .footer-brand p {
            font-size: 14px;
            opacity: 0.7;
            margin: 15px 0 20px;
            line-height: 1.8;
        }

        .footer-social {
            display: flex;
            gap: 10px;
        }

        .footer-social a {
            width: 38px;
            height: 38px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-social a:hover {
            background: var(--accent);
            color: var(--dark);
            transform: translateY(-3px);
        }

        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--accent-light);
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 14px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .footer-col ul li a:hover {
            color: var(--accent-light);
            padding-right: 5px;
        }

        body.en .footer-col ul li a:hover {
            padding-right: 0;
            padding-left: 5px;
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 15px;
            font-size: 14px;
            opacity: 0.8;
        }

        .footer-contact-item i {
            color: var(--accent);
            margin-top: 3px;
        }

        .footer-bottom {
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            font-size: 13px;
            opacity: 0.6;
        }

        /* ===== WHATSAPP FLOAT ===== */
        .whatsapp-float {
            position: fixed;
            bottom: 25px;
            left: 25px;
            width: 58px;
            height: 58px;
            background: #25d366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            z-index: 999;
            transition: var(--transition);
            animation: pulse 2s infinite;
        }

        body.en .whatsapp-float {
            left: auto;
            right: 25px;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
        }

        @keyframes pulse {
            0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
            50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
        }

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

        body.en .back-to-top {
            right: auto;
            left: 25px;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

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

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

        @keyframes fadeInRight {
            from { opacity: 0; transform: translateX(50px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

 

        /* ===== MOBILE MENU ===== */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background: white;
            z-index: 2000;
            transition: var(--transition);
            overflow-y: auto;
            box-shadow: var(--shadow-lg);
        }

        body.en .mobile-menu {
            right: auto;
            left: -100%;
        }

        .mobile-menu.open {
            right: 0;
        }

        body.en .mobile-menu.open {
            left: 0;
            right: auto;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid var(--gray-light);
        }

        .mobile-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--gray);
        }

        .mobile-nav {
            list-style: none;
            padding: 15px;
        }

        .mobile-nav li a {
            display: block;
            padding: 12px 15px;
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            border-radius: 8px;
            transition: var(--transition);
        }

        .mobile-nav li a:hover {
            background: rgba(26, 92, 46, 0.08);
            color: var(--primary);
        }

        .mobile-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1999;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .mobile-overlay.open {
            opacity: 1;
            visibility: visible;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1180px) {
            .nav-menu { gap: 0; }
            .nav-menu > li > a { padding-left: 9px; padding-right: 9px; font-size: 11px; }
            .header-tools { gap: 8px; }
            .header-cta { padding-left: 12px; padding-right: 12px; }
        }

        @media (max-width: 1024px) {
            .hero .container { grid-template-columns: 1fr; text-align: center; }
            .hero-desc { margin: 0 auto 35px; }
            .hero-buttons { justify-content: center; }
            .hero-visual { order: -1; }
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .export-grid { grid-template-columns: 1fr; }
            .about-grid { grid-template-columns: 1fr; }
            .contact-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .navbar { background: rgba(7,31,28,0.72); }
            .navbar.scrolled { background: rgba(255,255,255,0.97); }
            .nav-menu { display: none; }
            .header-tools { display: none; }
            .mobile-toggle { display: inline-flex; }
            .mobile-toggle svg { width: 24px; height: 24px; stroke: white; }
            .navbar.scrolled .mobile-toggle svg { stroke: var(--primary); }
            .features-grid { grid-template-columns: 1fr 1fr; }
            .hero { min-height: auto; }
            .hero .container { padding: 50px 20px; }
            .section { padding: 50px 0; }
            .form-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .products-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 480px) {
            .navbar .container { min-height: 64px; padding: 5px 14px; }
            .logo-icon, .logo-icon img { width: 42px; height: 42px; }
            .logo-text h1 { font-size: 18px; }
            .logo-text span { font-size: 8px; letter-spacing: 1px; }
            .features-grid { grid-template-columns: 1fr; }
            .products-grid { grid-template-columns: 1fr; }
            .courses-grid { grid-template-columns: 1fr; }
            .categories-grid { grid-template-columns: 1fr; }
        }

        /* ===== LOADING SCREEN ===== */
        .loader {
            position: fixed;
            inset: 0;
            background: var(--primary-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loader-content {
            text-align: center;
            color: white;
        }

        .loader-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(255,255,255,0.2);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Tab content */
        .tab-content { display: none; }
        .tab-content.active { display: grid; }
    

/* ===== REFERENCE HEADER / SEARCH / LANGUAGE ===== */
.header-tools {
    gap: 12px;
    margin-right: auto;
    direction: ltr;
}

.header-search-wrap {
    position: relative;
}

.header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 42px;
    height: 38px;
    padding: 0 9px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
    transition: .25s ease;
}

.header-search:hover,
.header-search-wrap.open .header-search {
    background: rgba(255,255,255,.10);
}

.header-search svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.search-label {
    font-size: 11px;
    display: none;
}

.header-search-wrap.open .search-label {
    display: inline;
}

.search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 310px;
    padding: 10px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(20,60,45,.12);
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .2s ease;
    z-index: 1200;
}

.header-search-wrap.open .search-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 7px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1px solid #d9e1dc;
    border-radius: 10px;
    padding: 0 12px;
    outline: none;
    font-family: inherit;
    color: #17352d;
    background: #fff;
}

.search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,92,46,.08);
}

.search-form > button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
}

.search-form > button svg {
    width: 17px;
    height: 17px;
}

.search-results {
    margin-top: 7px;
    font-size: 11px;
    min-height: 0;
}

.search-success,
.search-empty {
    padding: 7px 8px;
    border-radius: 8px;
    color: #456057;
}

.search-highlight {
    outline: 3px solid rgba(126,191,67,.45);
    outline-offset: 4px;
    transition: outline .2s ease;
}

.header-language {
    position: relative;
    padding: 0;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 22px;
    background: rgba(0,0,0,.10);
}

.header-language-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 22px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
}

.header-language-trigger svg {
    width: 16px;
    height: 16px;
}

.header-language-trigger .language-chevron {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.header-language.open .language-chevron {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 125px;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
    transition: .2s ease;
    z-index: 1200;
}

.header-language.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #263a33;
    text-align: left;
    padding: 9px 11px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
}

.language-option:hover,
.language-option.active {
    background: rgba(26,92,46,.08);
    color: var(--primary);
}

body.en .language-option {
    text-align: left;
}

/* ===== THINNER LOWER FEATURES BAR ===== */
.features-bar {
    background: rgba(3, 35, 29, .94);
    padding: 10px 0;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-item {
    min-height: 54px;
    padding: 6px 24px;
    border-radius: 0;
    border-right: 1px solid rgba(255,255,255,.28);
    color: #fff;
}

.feature-item:first-child {
    border-right: 0;
}

.feature-item:hover {
    background: transparent;
    transform: none;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 0;
    color: #fff;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.8;
}

.feature-text h4,
.feature-text p {
    color: #fff;
}

.feature-text h4 {
    font-size: 12px;
}

.feature-text p {
    font-size: 10px;
    opacity: .9;
}

/* Keep header white/green after scrolling */
.navbar.scrolled .header-search {
    color: var(--primary-dark);
}

.navbar.scrolled .header-language {
    border-color: rgba(26,92,46,.22);
    background: rgba(255,255,255,.5);
}

.navbar.scrolled .header-language-trigger {
    color: var(--primary-dark);
}

.navbar.scrolled .header-search:hover,
.navbar.scrolled .header-search-wrap.open .header-search {
    background: rgba(26,92,46,.08);
}

@media (max-width: 768px) {
    .search-panel {
        position: fixed;
        top: 68px;
        left: 15px;
        right: 15px;
        width: auto;
    }

    .features-bar {
        padding: 7px 0;
    }

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

    .feature-item {
        min-height: 48px;
        padding: 4px 10px;
    }

    .feature-item:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-item {
        padding: 4px 7px;
        gap: 8px;
    }

    .feature-icon {
        width: 34px;
        height: 34px;
    }

    .feature-icon svg {
        width: 25px;
        height: 25px;
    }

    .feature-text h4 {
        font-size: 10px;
    }

    .feature-text p {
        font-size: 9px;
    }
}

/* ===== Dynamic category navigation ===== */
.category-tab-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.product-category-label a{color:inherit;text-decoration:none}
.product-category-label a:hover{text-decoration:underline}

/* Internal pages keep the header visible without covering the content. */
body:not(.page-home) .navbar {
    position: fixed;
    top: 0;
    background: rgba(255,255,255,0.97);
    border-bottom-color: rgba(26,92,46,0.08);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}
body:not(.page-home) .navbar .logo-text h1 { color: var(--primary-dark); }
body:not(.page-home) .navbar .logo-text span { color: var(--gray); }
body:not(.page-home) .navbar .nav-menu > li > a { color: var(--dark); }
body:not(.page-home) .navbar .nav-menu > li > a:hover,
body:not(.page-home) .navbar .nav-menu > li > a.active { color: var(--primary); }
body:not(.page-home) .navbar .nav-menu > li > a::after { background: var(--primary); }
body:not(.page-home) .header-search { color: var(--dark); }
body:not(.page-home) .header-language-trigger { color: var(--dark); }
body:not(.page-home) .header-cta { color: white; }
body:not(.page-home) > .section:first-of-type { padding-top: 120px; }


/* ===== GLASS EFFECT FOR LOWER BENEFITS BAR =====
   Matches the glassy header treatment without changing layout, PHP, or database. */
.benefits-bar,
.benefits-strip,
.trust-bar,
.trust-strip,
.feature-bar,
.usp-bar,
.hero-benefits,
.hero-features,
.features-bar {
    background: rgba(7, 35, 29, 0.48) !important;
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    backdrop-filter: blur(14px) saturate(135%);
    border-top: 1px solid rgba(255,255,255,0.14);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.benefits-bar::before,
.benefits-strip::before,
.trust-bar::before,
.trust-strip::before,
.feature-bar::before,
.usp-bar::before,
.hero-benefits::before,
.hero-features::before,
.features-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015), rgba(255,255,255,0.04));
    border-radius: inherit;
}


/* ===== LOWER FEATURES BAR — HEADER GLASS STYLE ===== */
.features-bar {
    position: relative !important;
    z-index: 30 !important;
    margin-top: -18px !important;
    background: rgba(8, 31, 28, 0.58) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.16) !important;
    overflow: hidden;
}
.features-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.045),
        rgba(255,255,255,0.012) 50%,
        rgba(255,255,255,0.045)
    );
}
.features-bar .feature-item {
    position: relative;
    z-index: 1;
}

/* ===================== MOBILE UPGRADE ===================== */
html, body { max-width: 100%; overflow-x: hidden; }
html.menu-open, body.menu-open { overflow: hidden; }
img, video, svg { max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }

/* hamburger button: always visible & tappable (also on inner pages with white header) */
.mobile-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; padding: 0; flex: none; }
.mobile-toggle svg { width: 26px; height: 26px; }
@media (max-width: 768px) {
    .mobile-toggle { display: inline-flex !important; background: rgba(255,255,255,.14); }
    .mobile-toggle svg { stroke: #fff; }
    .navbar.scrolled .mobile-toggle,
    body:not(.page-home) > .navbar .mobile-toggle { background: rgba(26,92,46,.08); }
    .navbar.scrolled .mobile-toggle svg,
    body:not(.page-home) > .navbar .mobile-toggle svg { stroke: var(--primary) !important; }
    .navbar .container { justify-content: space-between; }
}

/* slide-in panel */
.mobile-menu {
    right: 0; left: auto;
    width: min(86vw, 340px);
    height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overscroll-behavior: contain;
    z-index: 2000;
}
body.en .mobile-menu { left: 0; right: auto; transform: translateX(-105%); }
.mobile-menu.open, body.en .mobile-menu.open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
.mobile-overlay { backdrop-filter: blur(2px); }

.mobile-menu-header { padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px; flex: none; }
.mobile-brand { display: flex; align-items: center; gap: 10px; color: var(--primary-dark); text-decoration: none; min-width: 0; }
.mobile-brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none; }
.mobile-brand strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-close { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(26,92,46,.08); color: var(--primary); flex: none; }
.mobile-close svg { width: 22px; height: 22px; }

.mobile-nav-wrap { flex: 1 1 auto; overflow-y: auto; padding: 8px 14px 6px; -webkit-overflow-scrolling: touch; }
.mobile-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-nav li a, .mobile-nav .mobile-row > a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; font-size: 15px; font-weight: 600; border-radius: 12px; color: var(--dark); text-decoration: none; }
.mobile-nav li a svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.mobile-nav li a.active { background: rgba(26,92,46,.10); color: var(--primary); }

.mobile-row { display: flex; align-items: center; gap: 6px; }
.mobile-row > a { flex: 1; min-width: 0; }
.mobile-sub-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: rgba(26,92,46,.06); color: var(--primary); cursor: pointer; flex: none; }
.mobile-sub-toggle svg { width: 20px; height: 20px; transition: transform .25s ease; }
.has-sub.open .mobile-sub-toggle svg { transform: rotate(180deg); }
.mobile-sub { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.has-sub.open .mobile-sub { max-height: 640px; padding-top: 4px; }
.mobile-sub li a { min-height: 42px; font-size: 14px; font-weight: 500; padding-inline-start: 46px; color: #44524a; }

.mobile-account-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 6px; min-height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); color: #fff !important; font-weight: 800; text-decoration: none; box-shadow: 0 10px 22px rgba(26,92,46,.22); }
.mobile-account-btn svg { width: 20px; height: 20px; stroke: #fff; }

.mobile-language { flex: none; display: flex; gap: 6px; margin: 8px 14px; padding: 4px; border-radius: 999px; background: #f1f4ef; }
.mobile-language .header-lang-btn { flex: 1; height: 40px; border: 0; border-radius: 999px; background: transparent; color: #55655b; font: inherit; font-weight: 800; cursor: pointer; }
.mobile-language .header-lang-btn.active { background: var(--primary); color: #fff; }

.mobile-contact { flex: none; padding: 12px 14px 16px; border-top: 1px solid #eef0ec; display: grid; gap: 8px; }
.mobile-contact p { margin: 0; font-size: 12px; color: #7a867f; font-weight: 700; }
.mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 12px; border: 1px solid rgba(26,92,46,.18); color: var(--primary); font-weight: 800; text-decoration: none; }
.mobile-contact a svg { width: 18px; height: 18px; }

/* general phone polish */
@media (max-width: 768px) {
    .section { padding: 44px 0; }
    .container { padding-left: 16px; padding-right: 16px; }
    .section-title, h2.section-title { font-size: 24px; line-height: 1.5; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-buttons .btn, .btn { min-height: 48px; justify-content: center; }
    .products-grid, .categories-grid, .courses-grid { gap: 14px; }
    input, select, textarea { font-size: 16px; } /* prevent iOS zoom on focus */
    table { display: block; overflow-x: auto; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; }
    .product-card .product-info, .product-card .product-body { padding: 12px; }
}

/* ===================== GLASS MOBILE MENU (override) ===================== */
.mobile-overlay{
    background: radial-gradient(circle at 80% 10%, rgba(58,150,84,.28), transparent 55%), rgba(4,20,12,.55) !important;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mobile-menu{
    top: 10px !important; bottom: 10px; right: 10px !important; left: auto !important;
    width: min(88vw, 340px) !important;
    height: auto !important; max-height: calc(100dvh - 20px);
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255,255,255,.20), rgba(255,255,255,.07) 40%, rgba(13,61,26,.55)) !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5);
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35);
    color: #fff; overflow: hidden;
    transform: translateX(120%);
}
body.en .mobile-menu{ right: auto !important; left: 10px !important; transform: translateX(-120%); }
.mobile-menu.open, body.en .mobile-menu.open{ transform: none; }
.mobile-menu::before{ /* soft golden glow */
    content:""; position:absolute; width:220px; height:220px; top:-90px; inset-inline-end:-70px;
    background: radial-gradient(circle, rgba(232,201,107,.35), transparent 65%); pointer-events:none;
}

.mobile-menu-header{ border-bottom: 1px solid rgba(255,255,255,.16) !important; position: relative; }
.mobile-brand, .mobile-brand strong{ color:#fff !important; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.mobile-brand img{ border:1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.9); padding:2px; }
.mobile-close{ background: rgba(255,255,255,.14) !important; color:#fff !important; border:1px solid rgba(255,255,255,.25) !important; transition:.2s; }
.mobile-close:active{ transform: scale(.92) rotate(90deg); }
.mobile-close svg{ stroke:#fff; }

.mobile-nav-wrap{ position:relative; }
.mobile-nav li a, .mobile-nav .mobile-row > a{
    color:#fff !important; background: rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background .2s, transform .2s, border-color .2s;
}
.mobile-nav li a svg{ color: var(--accent-light) !important; stroke: var(--accent-light); }
.mobile-nav li a:hover, .mobile-nav li a:active{ background: rgba(255,255,255,.18) !important; color:#fff !important; transform: translateX(-3px); }
body.en .mobile-nav li a:hover, body.en .mobile-nav li a:active{ transform: translateX(3px); }
.mobile-nav li a.active{
    background: linear-gradient(135deg, rgba(232,201,107,.32), rgba(255,255,255,.12)) !important;
    border-color: rgba(232,201,107,.65); color:#fff !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3);
}
.mobile-sub-toggle{ background: rgba(255,255,255,.12) !important; color:#fff !important; border:1px solid rgba(255,255,255,.18) !important; }
.mobile-sub-toggle svg{ stroke:#fff; }
.mobile-sub li a{ background: rgba(0,0,0,.14); color: rgba(255,255,255,.92) !important; border-color: rgba(255,255,255,.08); }

.mobile-account-btn{
    background: linear-gradient(135deg, rgba(232,201,107,.95), rgba(200,168,75,.95)) !important;
    color:#10331c !important; border:1px solid rgba(255,255,255,.5);
    box-shadow: 0 10px 26px rgba(200,168,75,.35), inset 0 1px 0 rgba(255,255,255,.6) !important;
}
.mobile-account-btn svg{ stroke:#10331c !important; }

.mobile-language{ background: rgba(255,255,255,.12) !important; border:1px solid rgba(255,255,255,.2); }
.mobile-language .header-lang-btn{ color: rgba(255,255,255,.85) !important; }
.mobile-language .header-lang-btn.active{ background: rgba(255,255,255,.92) !important; color: var(--primary-dark) !important; box-shadow: 0 4px 12px rgba(0,0,0,.2); }

.mobile-contact{ border-top: 1px solid rgba(255,255,255,.16) !important; background: rgba(0,0,0,.12); }
.mobile-contact p{ color: rgba(255,255,255,.7) !important; }
.mobile-contact a{ color:#fff !important; background: rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.2) !important; }
.mobile-contact a svg{ stroke: var(--accent-light); }

/* staggered entrance */
.mobile-menu.open .mobile-nav > li, .mobile-menu.open .mobile-account-btn{ animation: znhGlassIn .45s cubic-bezier(.2,.8,.2,1) both; }
.mobile-menu.open .mobile-nav > li:nth-child(1){ animation-delay:.06s } .mobile-menu.open .mobile-nav > li:nth-child(2){ animation-delay:.11s }
.mobile-menu.open .mobile-nav > li:nth-child(3){ animation-delay:.16s } .mobile-menu.open .mobile-nav > li:nth-child(4){ animation-delay:.21s }
.mobile-menu.open .mobile-nav > li:nth-child(5){ animation-delay:.26s } .mobile-menu.open .mobile-account-btn{ animation-delay:.32s }
@keyframes znhGlassIn{ from{ opacity:0; transform: translateY(14px) scale(.98);} to{ opacity:1; transform:none;} }
body.en .mobile-menu.open .mobile-nav > li{ animation-name: znhGlassIn; }

/* glass hamburger button */
@media (max-width:768px){
    .mobile-toggle{
        background: rgba(255,255,255,.16) !important; border:1px solid rgba(255,255,255,.3);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        box-shadow: 0 6px 18px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.3);
    }
    .navbar.scrolled .mobile-toggle, body:not(.page-home) > .navbar .mobile-toggle{
        background: rgba(26,92,46,.10) !important; border-color: rgba(26,92,46,.2);
    }
}
@media (prefers-reduced-motion: reduce){ .mobile-menu.open .mobile-nav > li, .mobile-menu.open .mobile-account-btn{ animation:none } }

/* inline-SVG hamburger/close: independent from any icon library or network */
.mobile-toggle { color:#fff; }
.navbar.scrolled .mobile-toggle, body:not(.page-home) > .navbar .mobile-toggle { color: var(--primary) !important; }
.mobile-toggle .znh-ico, .mobile-close .znh-ico { display:block; stroke: currentColor !important; width:26px; height:26px; }
.mobile-close .znh-ico { width:22px; height:22px; }
@media (max-width:768px){ .mobile-toggle{ display:inline-flex !important; position:relative; z-index:5; } }

/* ===== Glass menu: guaranteed readability on every phone ===== */
.mobile-menu{
    background:
        linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 38%, rgba(0,0,0,0) 100%),
        rgba(11,48,27,.80) !important;           /* dark tint = text is always readable */
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
    .mobile-menu{ background: linear-gradient(160deg,#17562f,#0b301b) !important; }
    .mobile-overlay{ background: rgba(4,20,12,.75) !important; }
}
.mobile-menu, .mobile-menu *{ box-sizing: border-box; }
.mobile-menu a, .mobile-menu button, .mobile-menu strong, .mobile-menu p, .mobile-menu span{ font-family: inherit; }
.mobile-menu .mobile-nav li{ list-style:none; margin:0; padding:0; }
.mobile-menu ul{ list-style:none; margin:0; padding:0; }
.mobile-menu .mobile-nav li a span, .mobile-menu .mobile-contact a span{ color:inherit; }
.mobile-menu svg{ flex:none; }

/* =========================================================
   ZNH FINAL RESPONSIVE + CONTACT POLISH
   ========================================================= */
html { overflow-x: clip; }
body { min-width: 0; }
.navbar { width: 100%; }
.navbar .container { min-width: 0; }
.logo { min-width: 0; }
.logo-text { min-width: 0; }
.logo-text h1, .logo-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-desc, .section-desc { max-width: 760px; }

/* Contact page */
.contact-section { background: linear-gradient(180deg,#f8f6f0 0%,#eef5ef 100%); }
.contact-page-grid { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:24px; align-items:stretch; }
.contact-info-card, .contact-form-card { background:rgba(255,255,255,.92); border:1px solid rgba(26,92,46,.10); border-radius:26px; padding:30px; box-shadow:0 18px 55px rgba(20,60,40,.10); }
.contact-info-head, .contact-form-title { display:flex; align-items:center; gap:14px; margin-bottom:24px; }
.contact-icon { width:50px; height:50px; border-radius:16px; flex:none; display:inline-flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(135deg,var(--primary),var(--primary-light)); box-shadow:0 10px 25px rgba(26,92,46,.20); }
.contact-icon svg { width:23px; height:23px; }
.contact-info-head h3, .contact-form-title h3 { margin:0 0 4px; color:var(--dark); font-size:20px; }
.contact-info-head p, .contact-form-title p { margin:0; color:var(--gray); font-size:13px; }
.contact-detail { display:flex; align-items:center; gap:13px; min-width:0; padding:15px 0; border-bottom:1px solid rgba(26,92,46,.08); text-decoration:none; color:inherit; }
.contact-detail:last-of-type { border-bottom:0; }
.contact-detail-icon { width:42px; height:42px; border-radius:13px; display:inline-flex; align-items:center; justify-content:center; flex:none; color:var(--primary); background:rgba(26,92,46,.08); }
.contact-detail-icon svg { width:19px; height:19px; }
.contact-detail span:last-child { display:flex; flex-direction:column; min-width:0; }
.contact-detail small { color:var(--gray); font-size:11px; margin-bottom:2px; }
.contact-detail strong { color:var(--dark); font-size:14px; overflow-wrap:anywhere; }
a.contact-detail:hover strong { color:var(--primary); }
.contact-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.contact-actions .btn { min-height:48px; justify-content:center; }
.contact-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form-grid label { display:flex; flex-direction:column; gap:7px; font-size:13px; font-weight:700; color:var(--dark); }
.contact-form-grid label.full { grid-column:1/-1; }
.contact-form-grid input, .contact-form-grid textarea { width:100%; border:1px solid rgba(26,92,46,.14); background:#fbfcfa; border-radius:13px; padding:13px 14px; font:inherit; color:var(--dark); outline:none; transition:.2s ease; }
.contact-form-grid input { min-height:48px; }
.contact-form-grid textarea { min-height:145px; resize:vertical; }
.contact-form-grid input:focus, .contact-form-grid textarea:focus { border-color:var(--primary-light); box-shadow:0 0 0 4px rgba(45,138,71,.10); background:#fff; }
.contact-submit { width:100%; justify-content:center; min-height:52px; margin-top:18px; }
.contact-form-msg { min-height:24px; margin:10px 0 0; text-align:center; font-size:13px; font-weight:700; }
.contact-form-msg.error { color:#c53030; }
.contact-form-msg.success { color:var(--primary); }
.footer-email-link { color:rgba(255,255,255,.82); text-decoration:none; overflow-wrap:anywhere; }
.footer-email-link:hover { color:var(--accent-light); }

/* Robust desktop-to-tablet navbar */
@media (max-width:1100px) and (min-width:769px) {
    .navbar .container { gap:10px; padding-inline:14px; }
    .logo-text h1 { font-size:18px; }
    .logo-text span { font-size:8px; }
    .nav-menu > li > a { padding-inline:7px; font-size:11px; }
    .header-tools { gap:5px; }
    .header-language { padding-inline:8px; }
}

@media (max-width:768px) {
    .navbar .container { width:100%; max-width:none; padding:6px 14px; gap:8px; }
    .logo { flex:1 1 auto; overflow:hidden; }
    .logo-icon, .logo-icon img { width:42px; height:42px; }
    .logo-text h1 { font-size:17px; }
    .logo-text span { font-size:7px; letter-spacing:.8px; }
    .hero { min-height:calc(100svh - 10px); }
    .hero .container { grid-template-columns:1fr; gap:20px; padding:104px 16px 54px; }
    .hero-content { text-align:center; }
    .hero-title { font-size:clamp(30px,9vw,44px); line-height:1.3; }
    .hero-desc { font-size:14px; line-height:2; margin-bottom:24px; }
    .hero-buttons { width:100%; }
    .hero-buttons .btn { width:100%; }
    .section { padding:44px 0; }
    .section-header { padding-inline:4px; }
    .section-title { font-size:25px; line-height:1.5; }
    .category-card .category-cover { height:180px; }
    .category-showcase-grid { grid-template-columns:1fr; }
    .contact-page-grid { grid-template-columns:1fr; gap:16px; }
    .contact-info-card, .contact-form-card { padding:20px; border-radius:20px; }
    .contact-actions { grid-template-columns:1fr; }
    .contact-form-grid { grid-template-columns:1fr; gap:13px; }
    .contact-form-grid label.full { grid-column:auto; }
    .footer-grid { gap:26px; }
    .footer { padding-top:44px; }
    .footer-bottom { justify-content:center; text-align:center; }
    .whatsapp-float { width:50px; height:50px; bottom:16px; }
}

@media (max-width:480px) {
    .container { padding-inline:14px; }
    .navbar .container { padding-inline:12px; }
    .logo-icon, .logo-icon img { width:38px; height:38px; }
    .logo-text h1 { font-size:15px; }
    .logo-text span { display:none; }
    .mobile-toggle { width:42px; height:42px; }
    .mobile-menu { width:min(92vw,340px) !important; top:8px !important; bottom:8px !important; right:8px !important; max-height:calc(100dvh - 16px); }
    body.en .mobile-menu { left:8px !important; right:auto !important; }
    .mobile-nav-wrap { padding-inline:10px; }
    .mobile-nav li a, .mobile-nav .mobile-row > a { min-height:46px; font-size:14px; }
    .mobile-contact { padding-inline:10px; }
    .hero .container { padding-inline:14px; }
    .hero-title { font-size:31px; }
    .hero-desc { font-size:13px; }
    .features-grid { grid-template-columns:1fr 1fr !important; }
    .products-grid { grid-template-columns:1fr 1fr !important; }
    .product-card .product-info, .product-card .product-body { padding:11px !important; }
    .contact-info-card, .contact-form-card { padding:17px; }
    .contact-info-head h3, .contact-form-title h3 { font-size:17px; }
    .contact-detail strong { font-size:13px; }
}

@media (max-width:360px) {
    .features-grid, .products-grid { grid-template-columns:1fr !important; }
    .logo-text h1 { font-size:14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior:auto; }
    *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}


/* ===== COMPACT MARKETPLACE CATEGORY UI =====
   Inspired by modern Iranian marketplace category layouts: compact tiles,
   consistent image ratios, dense desktop grid and horizontal mobile browsing. */
.compact-category-grid{
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:12px !important;
    align-items:stretch;
}
.compact-category-card{
    min-width:0;
    border:1px solid #eef1ee;
    border-radius:14px !important;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.035) !important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease !important;
}
.compact-category-card:hover{
    transform:translateY(-3px) !important;
    border-color:rgba(26,92,46,.16);
    box-shadow:0 8px 22px rgba(0,0,0,.07) !important;
}
.compact-category-image{
    height:116px !important;
    border-radius:13px 13px 0 0;
}
.compact-category-image img{object-fit:cover !important;}
.compact-category-body{padding:10px 10px 11px !important;}
.compact-category-body h3{font-size:13px !important;line-height:1.45 !important;}
.compact-category-body p{font-size:10px !important;}
.compact-category-icon{width:28px !important;height:28px !important;top:7px !important;right:7px !important;border-radius:9px !important;}

.catalog-all-grid{
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:14px !important;
}
.catalog-all-block{padding:20px !important;}
.catalog-all-block .product-card{border:1px solid #edf0ed;box-shadow:0 3px 14px rgba(0,0,0,.045);border-radius:14px;}
.catalog-all-block .product-img{height:170px;}
.catalog-all-block .product-body{padding:13px;}
.catalog-count{font-size:12px;font-weight:800;color:#1a5c2e;background:#f0f7f2;padding:8px 12px;border-radius:999px;white-space:nowrap;}
@media(max-width:1200px){.compact-category-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}.catalog-all-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}
@media(max-width:900px){.compact-category-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}.catalog-all-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media(max-width:600px){
    .compact-category-grid{
        display:flex !important;
        overflow-x:auto;
        gap:10px !important;
        padding:2px 2px 8px;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
    }
    .compact-category-grid::-webkit-scrollbar{display:none;}
    .compact-category-card{flex:0 0 142px;scroll-snap-align:start;}
    .compact-category-image{height:92px !important;}
    .catalog-all-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}
    .catalog-all-block{padding:12px !important;border-radius:16px !important;}
    .catalog-all-block .product-img{height:135px;}
    .catalog-all-block .product-body{padding:10px;}
    .catalog-all-block .product-body h3{font-size:13px;}
}
@media(max-width:380px){.compact-category-card{flex-basis:132px}.catalog-all-grid{grid-template-columns:1fr 1fr !important;}}


/* =========================================================
   MOBILE PRODUCT IMAGE FIX
   Keep the whole product visible instead of cropping/zooming.
   CSS-only: no PHP / database changes.
   ========================================================= */

.product-img {
    padding: 10px;
    box-sizing: border-box;
}

.product-img > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
    padding: 6px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .products-grid .product-img,
    .catalog-all-grid .product-img {
        height: 155px;
        padding: 8px;
    }

    .products-grid .product-img > img,
    .catalog-all-grid .product-img > img {
        padding: 8px;
        object-fit: contain !important;
    }

    .products-grid .product-card,
    .catalog-all-grid .product-card {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .products-grid .product-img,
    .catalog-all-grid .product-img {
        height: 145px;
        padding: 6px;
    }

    .products-grid .product-img > img,
    .catalog-all-grid .product-img > img {
        padding: 8px;
    }

    .products-grid .product-body,
    .catalog-all-grid .product-body {
        padding: 10px !important;
    }

    .products-grid .product-body h3,
    .catalog-all-grid .product-body h3 {
        font-size: 13px;
        line-height: 1.45;
    }

    .products-grid .product-body p,
    .catalog-all-grid .product-body p {
        font-size: 11px;
        line-height: 1.6;
    }
}

@media (max-width: 360px) {
    .products-grid .product-img,
    .catalog-all-grid .product-img {
        height: 135px;
    }
}

/* ===== LUCIDE ICON SIZING (replaces the never-loaded Font Awesome) ===== */
.section-badge svg { width:16px; height:16px; }
.btn svg { width:18px; height:18px; flex:0 0 auto; }
.course-btn svg { width:16px; height:16px; }
.export-features li svg, .about-list li svg { width:18px; height:18px; flex:0 0 auto; color:var(--primary); margin-top:2px; }
.about-img-box svg { width:110px; height:110px; color:rgba(255,255,255,.22); stroke-width:1.2; }
.about-floating-card .afc-icon svg { width:26px; height:26px; }
.footer-contact-item svg { width:16px; height:16px; flex:0 0 auto; color:var(--accent); margin-top:4px; }
.footer-col ul li a svg { width:12px; height:12px; flex:0 0 auto; }
.back-to-top svg { width:20px; height:20px; }
#full-products svg { width:22px; height:22px; flex:0 0 auto; color:var(--primary); }
/* arrows/chevrons that point "forward" in RTL must flip in English (LTR) */
body.en svg.lucide-arrow-left, body.en svg.lucide-chevron-left { transform:scaleX(-1); }

/* ===== EMPTY CATEGORY ===== */
.category-empty { display:flex; flex-direction:column; align-items:center; gap:10px; padding:44px 20px; text-align:center; }
.category-empty svg { width:44px; height:44px; color:var(--primary); opacity:.7; }
.category-empty strong { color:var(--dark); font-size:17px; }
.category-empty > span { font-size:14px; }
.category-empty .category-showcase-all { margin-top:8px; }

/* ===== TRAINING: COMING SOON ===== */
.coming-soon { position:relative; z-index:2; max-width:640px; margin:0 auto; padding:40px 20px 30px; text-align:center; }
.coming-soon-icon { display:inline-flex; align-items:center; justify-content:center; width:92px; height:92px; border-radius:50%; background:rgba(200,168,75,.18); border:1px solid rgba(255,255,255,.22); color:var(--accent-light); margin-bottom:22px; }
.coming-soon-icon svg { width:42px; height:42px; stroke-width:1.6; }
.coming-soon-title { margin:0 0 12px; font-size:clamp(34px,6vw,54px); color:#fff; line-height:1.2; }
.coming-soon-text { margin:0 0 28px; font-size:17px; line-height:1.9; color:rgba(255,255,255,.85); }
.coming-soon-actions { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.compact-learning-row.compact-learning-soon { grid-template-columns:1fr; }
.compact-learning-soon .compact-training-banner { min-height:150px; }
.compact-training-btn svg { width:13px; height:13px; }

/* ===== PRODUCT CARD: no divider lines, clean footer ===== */
.product-footer { border-top:0 !important; padding-top:6px; }

/* Products page: the removed "Our Products" badge used to take ~48px above the title.
   Keep the exact same title position and keep it clear of the fixed header. */
body.page-products > #products { padding-top:128px; }
@media (max-width:768px){ body.page-products > #products { padding-top:92px; } }

/* ===== PRODUCT DETAILS DIALOG ===== */
.pd-overlay[hidden] { display:none; }
.pd-overlay { position:fixed; inset:0; z-index:3000; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(8,28,18,.62); backdrop-filter:blur(4px); }
html.pd-lock { overflow:hidden; }
.pd-dialog { position:relative; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); width:100%; max-width:860px; max-height:calc(100vh - 40px); overflow:hidden; background:#fff; border-radius:24px; box-shadow:0 30px 80px rgba(0,0,0,.35); animation:pdIn .22s ease; }
@keyframes pdIn { from { opacity:0; transform:translateY(14px) scale(.98); } to { opacity:1; transform:none; } }
.pd-close { position:absolute; top:12px; inset-inline-start:12px; z-index:3; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:0; border-radius:50%; background:rgba(255,255,255,.92); color:var(--dark); cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.18); transition:var(--transition); }
.pd-close:hover { background:var(--primary); color:#fff; }
.pd-media { position:relative; min-height:300px; background:#eaf2eb; display:flex; align-items:center; justify-content:center; }
.pd-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pd-media img[hidden], .pd-ph[hidden] { display:none; }
.pd-ph { color:var(--primary); opacity:.5; }
.pd-ph svg { width:72px; height:72px; stroke-width:1.3; }
.pd-body { display:flex; flex-direction:column; gap:12px; min-width:0; padding:30px 28px 26px; overflow-y:auto; }
.pd-cat { align-self:flex-start; padding:4px 12px; border-radius:20px; background:rgba(26,92,46,.1); color:var(--primary); font-size:12px; font-weight:700; }
.pd-title { margin:0; color:var(--dark); font-size:22px; line-height:1.5; }
.pd-price { color:var(--primary); font-size:18px; font-weight:800; }
.pd-text { color:#47524b; font-size:14px; line-height:2; white-space:pre-line; overflow-wrap:anywhere; }
.pd-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding-top:8px; }
.pd-actions .btn { flex:1 1 150px; justify-content:center; min-height:46px; }
@media (max-width:700px) {
    .pd-overlay { align-items:flex-end; padding:0; }
    .pd-dialog { grid-template-columns:1fr; max-height:92vh; border-radius:22px 22px 0 0; overflow-y:auto; }
    .pd-media { min-height:0; height:210px; }
    .pd-body { padding:20px 18px 22px; overflow:visible; }
    .pd-title { font-size:19px; }
}

/* ===== CONTACT PAGE: proper desktop layout ===== */
@media (min-width:769px) {
    .contact-page-grid { grid-template-columns:minmax(0,880px); justify-content:center; }
    .contact-info-card { display:grid; grid-template-columns:1fr 1fr; gap:16px 20px; padding:38px; }
    .contact-info-card .contact-info-head,
    .contact-info-card .contact-actions { grid-column:1 / -1; }
    .contact-info-card .contact-info-head { margin-bottom:6px; }
    .contact-info-card .contact-detail { padding:16px 18px; border:1px solid rgba(26,92,46,.10); border-radius:16px; background:#f7faf7; transition:var(--transition); }
    .contact-info-card .contact-detail:last-of-type { border-bottom:1px solid rgba(26,92,46,.10); }
    .contact-info-card a.contact-detail:hover { transform:translateY(-2px); background:#fff; box-shadow:0 10px 26px rgba(20,60,40,.10); }
    .contact-info-card .contact-actions { margin-top:10px; }
}

/* Product footer: price + "More Details" must never overflow the card */
.product-footer { flex-wrap:wrap; gap:8px; }
.product-btn { white-space:nowrap; }
@media (max-width:600px) {
    .product-footer { flex-direction:column; align-items:stretch; text-align:center; }
    .product-btn { width:100%; padding:9px 10px; }
}

/* Mobile: if best sellers is the first block on the products page, keep its header clear of the fixed navbar */
@media (max-width:768px){ body.page-products > #bestsellers { padding-top:100px; } }
