:root {
            --primary: hsl(96, 65%, 42%);
            --primary-dark: hsl(96, 75%, 32%);
            --primary-light: hsl(96, 60%, 96%);
            --primary-accent: hsl(96, 85%, 52%);
            --btn-top: hsl(242, 85%, 52%);
            --btn-bot: hsl(242, 85%, 42%);
            --btn-h-top: hsl(242, 85%, 58%);
            --btn-h-bot: hsl(242, 85%, 48%);
            --btn-b-top: hsl(242, 85%, 65%);
            --btn-b-bot: hsl(242, 90%, 28%);
            --btn-txt: #111111;
            --font-main: Arial, sans-serif;
            --radius: 9px;
            --card-radius: 10px;
            --dark: #0f172a;
            --gray: #475569;
            --border: #cbd5e1;
            --red: #ef4444;
            --container: 1085px;
            --bg-page: #f1f5f9;
            --header-pad: 10px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: var(--font-main);
            background-color: var(--bg-page);
            color: var(--dark);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 16px;
        }

        .utility-bar {
            background: #0f172a;
            color: #94a3b8;
            font-size: 12px;
            padding: 6px 0;
            border-bottom: 1px solid #1e293b;
        }
        .utility-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }
        .utility-left, .utility-right {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
        }
        .utility-bar a {
            color: #cbd5e1;
            text-decoration: none;
            font-weight: 600;
        }
        .u-phone-toll small {
            background: #22c55e;
            color: #fff;
            padding: 1px 5px;
            border-radius: 3px;
            font-size: 10px;
            margin-left: 4px;
        }

        .top-notice {
            background: var(--primary-light);
            color: var(--primary-dark);
            text-align: center;
            padding: 8px 12px;
            font-size: 13px;
            font-weight: 600;
            border-bottom: 1px solid var(--border);
        }

        .pharmacy-header {
            background: #fff;
            border-bottom: 1px solid var(--border);
            padding: var(--header-pad) 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 4px rgba(0,0,0,0.03);
        }
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        .logo-icon {
            width: 42px;
            height: 42px;
            border-radius: var(--radius);
            background: var(--primary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        }
        .logo-text {
            display: flex;
            flex-direction: column;
        }
        .logo-title {
            font-size: 20px;
            font-weight: 900;
            color: var(--primary);
            letter-spacing: -0.5px;
            line-height: 1.1;
        }
        .logo-sub {
            font-size: 11px;
            font-weight: 600;
            color: var(--gray);
        }

        .header-search {
            flex: 1;
            max-width: 420px;
        }
        .search-form {
            display: flex;
            align-items: center;
            background: #f8fafc;
            border: 1.5px solid var(--border);
            border-radius: 30px;
            padding: 4px 6px 4px 16px;
            transition: border-color 0.2s;
        }
        .search-form:focus-within {
            border-color: var(--primary);
            background: #fff;
        }
        .search-input {
            border: none;
            background: transparent;
            width: 100%;
            font-size: 13px;
            outline: none;
            color: var(--dark);
        }
        .search-btn {
            border: none;
            background: var(--primary);
            color: #fff;
            padding: 7px 14px;
            border-radius: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 700;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .pharmacist-status {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--primary-light);
            border: 1px solid var(--border);
            padding: 6px 12px;
            border-radius: 30px;
            cursor: pointer;
        }
        .ph-avatar {
            position: relative;
            font-size: 20px;
        }
        .ph-badge-dot {
            position: absolute;
            bottom: 0;
            right: -2px;
            width: 9px;
            height: 9px;
            background: #22c55e;
            border: 2px solid #fff;
            border-radius: 50%;
        }
        .ph-meta {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        .ph-live {
            font-size: 10px;
            font-weight: 800;
            color: #16a34a;
            text-transform: uppercase;
        }
        .ph-name {
            font-size: 12px;
            font-weight: 700;
            color: var(--dark);
        }
        .header-cart {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: var(--radius);
        }
        .cart-icon-wrap {
            position: relative;
            font-size: 20px;
        }
        .cart-count {
            position: absolute;
            top: -6px;
            right: -8px;
            background: var(--red);
            color: #fff;
            font-size: 10px;
            font-weight: 800;
            width: 17px;
            height: 17px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cart-info {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        .cart-txt {
            font-size: 11px;
            color: var(--gray);
            font-weight: 600;
        }
        .cart-price {
            font-size: 13px;
            font-weight: 800;
            color: var(--red);
        }

        .trust-bar {
            background: #fff;
            border-bottom: 1px solid var(--border);
            padding: 10px 0;
        }
        .trust-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .trust-item {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            min-width: 180px;
        }
        .t-icon { font-size: 20px; }
        .t-text strong {
            display: block;
            font-size: 12px;
            color: var(--dark);
            line-height: 1.2;
        }
        .t-text small {
            font-size: 11px;
            color: var(--gray);
        }

        main { padding: 24px 0 40px; }
        .breadcrumbs {
            font-size: 13px;
            color: var(--gray);
            margin-bottom: 16px;
        }
        .breadcrumbs a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }

        .btn-order {
            display: inline-block;
            background: linear-gradient(to bottom, var(--btn-top) 0%, var(--btn-bot) 100%);
            border-top: 1px solid var(--btn-b-top);
            border-bottom: 2px solid var(--btn-b-bot);
            color: var(--btn-txt) !important;
            font-size: 15px;
            font-weight: 800;
            padding: 10px 24px;
            border-radius: var(--radius);
            text-decoration: none;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.12);
            text-shadow: 0 1px 1px rgba(0,0,0,0.2);
            transition: all 0.15s ease;
            cursor: pointer;
            border-left: none;
            border-right: none;
            text-align: center;
        }
        .btn-order:hover {
            background: linear-gradient(to bottom, var(--btn-h-top) 0%, var(--btn-h-bot) 100%);
            transform: translateY(-1px);
        }

        .old-price {
            font-size: 15px;
            color: var(--gray);
            text-decoration: line-through;
        }
        .new-price {
            font-size: 24px;
            font-weight: 900;
            color: var(--red);
        }

                .hero-legend-wrap {
            background: #fff;
            border-radius: var(--card-radius);
            border: 1px solid var(--border);
            padding: 28px;
            margin-bottom: 24px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
            position: relative;
            overflow: hidden;
        }
        .hero-legend-wrap::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-accent));
        }
        .legend-tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 12px;
            font-weight: 800;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .hero-h1 {
            font-size: 26px;
            font-weight: 900;
            line-height: 1.3;
            margin-bottom: 10px;
            color: var(--dark);
        }
        .hero-sub {
            font-size: 15px;
            color: var(--gray);
            max-width: 820px;
            line-height: 1.6;
        }

        .flagship-box {
            background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
            border: 2px solid var(--primary);
            border-radius: var(--card-radius);
            padding: 24px;
            margin-bottom: 28px;
            display: flex;
            gap: 24px;
            align-items: center;
            box-shadow: 0 8px 20px -4px rgba(0,0,0,0.06);
            flex-wrap: wrap;
        }
        .flagship-img-col {
            flex: 0 0 160px;
            text-align: center;
        }
        .flagship-img {
            max-height: 160px;
            width: auto;
            max-width: 100%;
            object-fit: contain;
        }
        .flagship-content-col {
            flex: 1;
            min-width: 280px;
        }
        .flagship-badge {
            background: #e11d48;
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            padding: 3px 10px;
            border-radius: 20px;
            display: inline-block;
            margin-bottom: 8px;
            text-transform: uppercase;
        }
        .flagship-title {
            font-size: 22px;
            font-weight: 900;
            color: var(--dark);
            margin-bottom: 6px;
        }
        .flagship-desc {
            font-size: 14px;
            color: var(--gray);
            margin-bottom: 14px;
            line-height: 1.5;
        }
        .flagship-footer-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        .flagship-prices {
            display: flex;
            align-items: baseline;
            gap: 10px;
        }

        .card-grid {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--card-radius);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .card-grid:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08);
        }
        .card-img-wrap {
            padding: 20px;
            text-align: center;
            background: #fff;
            border-bottom: 1px solid var(--border);
            position: relative;
        }
        .card-img {
            max-height: 170px;
            width: auto;
            max-width: 100%;
            object-fit: contain;
        }
        .card-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--red);
            color: #fff;
            font-size: 10px;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 4px;
        }
        .card-body {
            padding: 16px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card-title {
            font-size: 16px;
            font-weight: 800;
            margin-bottom: 8px;
            color: var(--dark);
            text-decoration: none;
        }
        .card-desc {
            font-size: 13px;
            color: var(--gray);
            margin-bottom: 14px;
            flex-grow: 1;
            line-height: 1.5;
        }
        .card-prices {
            margin: auto 0 12px;
            display: flex;
            align-items: baseline;
            gap: 8px;
        }

                .vitrina-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        
        .home-articles-wrap {
            margin-top: 30px;
        }
        .directory-box {
            background: #fff;
            border-radius: var(--card-radius);
            border: 1px solid var(--border);
            padding: 24px;
        }
        .directory-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            flex-wrap: wrap;
            gap: 10px;
        }
        .directory-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 20px;
        }
        .directory-col-title {
            font-size: 14px;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 2px solid var(--border);
            padding-bottom: 6px;
        }
        .directory-list {
            list-style: none;
        }
        .directory-list li {
            margin-bottom: 8px;
        }
        .directory-list a {
            font-size: 13px;
            color: var(--gray);
            text-decoration: none;
            display: block;
            transition: color 0.15s;
        }
        .directory-list a:hover {
            color: var(--primary);
        }

        .legend-about-section {
            background: #fff;
            border-radius: var(--card-radius);
            border: 1px solid var(--border);
            padding: 24px;
            margin-top: 30px;
        }
        .legend-about-title {
            font-size: 18px;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 10px;
        }
        .legend-about-text {
            font-size: 14px;
            color: var(--gray);
            line-height: 1.7;
        }

        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(3px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 16px;
        }
        .modal-overlay.active { display: flex; }
        .modal-card {
            background: #fff;
            width: 100%;
            max-width: 440px;
            border-radius: var(--card-radius);
            padding: 26px;
            position: relative;
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
            animation: modalFadeIn 0.2s ease-out;
        }
        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }
        .modal-close {
            position: absolute;
            top: 14px;
            right: 14px;
            background: #f1f5f9;
            border: none;
            font-size: 20px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
        }
        .modal-timer-badge {
            background: #fef2f2;
            color: #b91c1c;
            border: 1px solid #fecaca;
            border-radius: 6px;
            padding: 8px 12px;
            text-align: center;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 18px;
        }
        .modal-prod-row {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 18px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }
        .modal-prod-img {
            width: 70px;
            height: 70px;
            object-fit: contain;
        }
        .form-group { margin-bottom: 14px; }
        .form-label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--dark);
        }
        .form-input {
            width: 100%;
            padding: 12px 14px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-size: 15px;
            outline: none;
            transition: border-color 0.2s;
        }
        .form-input:focus { border-color: var(--primary); }
        .modal-success-box {
            display: none;
            text-align: center;
            padding: 20px 0;
        }
        .success-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }

        .pharma-warning-banner {
            background: #fef3c7;
            border-top: 1px solid #fde68a;
            border-bottom: 1px solid #fde68a;
            padding: 14px 0;
            margin-top: 40px;
        }
        .warning-title {
            font-size: 13px;
            font-weight: 800;
            color: #92400e;
            margin-bottom: 4px;
        }
        .warning-text {
            font-size: 12px;
            color: #b45309;
            line-height: 1.5;
        }

        .pharmacy-footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 40px 0 20px;
            font-size: 13px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 15px;
            font-weight: 800;
            margin-bottom: 14px;
        }
        .footer-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 12px;
        }
        .footer-contacts-list, .footer-links { list-style: none; }
        .footer-contacts-list li, .footer-links li { margin-bottom: 8px; }
        .footer-contacts-list a, .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
        }
        .payment-methods {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-top: 14px;
        }
        .pay-badge {
            background: #1e293b;
            color: #e2e8f0;
            font-size: 11px;
            padding: 4px 8px;
            border-radius: 4px;
        }
        .footer-disclaimer {
            border-top: 1px solid #1e293b;
            padding-top: 20px;
            font-size: 11px;
            color: #64748b;
            line-height: 1.6;
        }
        .footer-bottom {
            margin-top: 16px;
            text-align: center;
            font-size: 12px;
            color: #64748b;
        }

        @media (max-width: 768px) {
            .header-inner { flex-wrap: wrap; }
            .header-search { order: 3; max-width: 100%; width: 100%; }
            .hidden-sm { display: none !important; }
            .sidebar-layout-wrap { flex-direction: column; }
            .sidebar-aside { flex: 1; }
            .card-list-row { flex-direction: column; text-align: center; }
            .list-action-box { border-left: none; padding-left: 0; align-items: center; width: 100%; }
            .flagship-box { flex-direction: column; text-align: center; }
            .flagship-footer-row { justify-content: center; }
        }
        @media (max-width: 480px) {
            .hidden-xs { display: none !important; }
        }
    
        /* === CATEGORY HUB & DIRECTORY STYLES === */
        .category-hub-directory {
            margin-bottom: 36px;
        }
        .category-hub-intro {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--card-radius);
            padding: 24px;
            margin-bottom: 24px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
        }
        .cat-hub-h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--dark);
            margin: 8px 0;
        }
        .cat-hub-sub {
            font-size: 15px;
            color: var(--gray);
            line-height: 1.55;
            max-width: 820px;
        }
        .category-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
        }
        .cat-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--card-radius);
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
            position: relative;
        }
        .cat-card:hover {
            border-color: var(--primary);
            box-shadow: 0 10px 20px -5px rgba(0,0,0,0.08);
            transform: translateY(-2px);
        }
        .cat-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }
        .cat-card-icon {
            font-size: 32px;
            line-height: 1;
        }
        .cat-card-badge {
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 11.5px;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 12px;
        }
        .cat-card-title {
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 10px;
            line-height: 1.35;
        }
        .cat-card-title a {
            color: var(--dark);
            text-decoration: none;
        }
        .cat-card-title a:hover {
            color: var(--primary);
        }
        .cat-card-desc {
            font-size: 13.5px;
            color: var(--gray);
            line-height: 1.55;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        .cat-card-footer {
            margin-top: auto;
        }
        .btn-cat-link {
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 14px;
            font-weight: 700;
            padding: 10px 16px;
            border-radius: var(--border-radius);
            text-decoration: none;
            transition: all 0.15s ease;
            box-sizing: border-box;
        }
        .btn-cat-link:hover {
            background: var(--primary);
            color: #fff;
        }

        /* === CATEGORY HUB PAGE === */
        .category-page-wrap {
            margin-bottom: 36px;
        }
        .category-header-banner {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--card-radius);
            padding: 28px;
            margin-bottom: 28px;
            display: flex;
            gap: 22px;
            align-items: flex-start;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
            position: relative;
            overflow: hidden;
        }
        .category-header-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-accent));
        }
        .cat-header-icon {
            font-size: 48px;
            line-height: 1;
            flex-shrink: 0;
        }
        .cat-header-body {
            flex-grow: 1;
        }
        .cat-h1 {
            font-size: 24px;
            font-weight: 900;
            color: var(--dark);
            margin-bottom: 8px;
            line-height: 1.3;
        }
        .cat-desc-text {
            font-size: 15px;
            color: var(--gray);
            line-height: 1.6;
            margin-bottom: 12px;
        }
        .cat-meta-badges {
            font-size: 13px;
            color: var(--gray);
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .cat-sec-title {
            font-size: 19px;
            font-weight: 800;
            color: var(--dark);
            margin: 24px 0 16px;
        }
        .cat-articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 18px;
        }
        .cat-article-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--card-radius);
            padding: 18px 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.2s ease;
        }
        .cat-article-item:hover {
            border-color: var(--primary);
            box-shadow: 0 6px 12px -2px rgba(0,0,0,0.05);
            transform: translateY(-2px);
        }
        .cat-item-top {
            margin-bottom: 8px;
        }
        .cat-item-badge {
            font-size: 11.5px;
            font-weight: 700;
            color: var(--primary-dark);
            background: var(--primary-light);
            padding: 2px 8px;
            border-radius: 6px;
        }
        .cat-item-title {
            font-size: 15.5px;
            font-weight: 700;
            margin-bottom: 14px;
            line-height: 1.4;
            flex-grow: 1;
        }
        .cat-item-title a {
            color: var(--dark);
            text-decoration: none;
        }
        .cat-item-title a:hover {
            color: var(--primary);
        }
        .cat-item-link {
            font-size: 13.5px;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }
        .cat-item-link:hover {
            text-decoration: underline;
        }
        .pagination-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            margin-top: 32px;
            padding: 16px 0;
        }
        .pag-btn {
            background: #fff;
            border: 1px solid var(--border);
            color: var(--dark);
            padding: 8px 18px;
            border-radius: var(--border-radius);
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            transition: all 0.15s ease;
        }
        .pag-btn:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
        .pag-info {
            font-size: 14px;
            color: var(--gray);
            font-weight: 600;
        }
        .btn-back-cat {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 14px;
            padding: 10px 20px;
            border-radius: var(--border-radius);
            text-decoration: none;
            transition: all 0.15s ease;
        }
        .btn-back-cat:hover {
            background: var(--primary);
            color: #fff;
        }
        @media (max-width: 640px) {
            .category-cards-grid, .cat-articles-grid {
                grid-template-columns: 1fr;
            }
            .category-header-banner {
                flex-direction: column;
                gap: 12px;
            }
        }

/* === RELATED ARTICLES SECTION === */
.related-wrap {
    background: #fff;
    border-radius: var(--card-radius, 12px);
    border: 1px solid var(--border, #e2e8f0);
    padding: 22px 24px;
    margin-top: 24px;
}
.related-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark, #0f172a);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius, 8px);
    background: #f8fafc;
    text-decoration: none;
    color: var(--dark, #0f172a);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.15s ease;
}
.related-item:hover {
    border-color: var(--primary, #2563eb);
    background: #fff;
    color: var(--primary, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* === TABLE OF CONTENTS & FAQ === */
.toc-box {
    background: #f8fafc;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius, 8px);
    padding: 16px 20px;
    margin: 18px 0 26px;
}
.faq-wrap {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--card-radius, 12px);
    padding: 22px;
}
.faq-item {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}
.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.faq-q {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark, #0f172a);
    margin-bottom: 6px;
}
.faq-a {
    font-size: 13.5px;
    color: var(--gray, #64748b);
    line-height: 1.55;
}

/* === OFFER BOX IN ARTICLE === */
.offer-box {
    background: var(--primary-light, #eff6ff);
    border: 2px dashed var(--primary, #2563eb);
    border-radius: var(--card-radius, 12px);
    padding: 20px;
    margin: 28px 0;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.offer-box img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius, 8px);
    padding: 8px;
}
.offer-info {
    flex: 1;
    min-width: 240px;
}
.offer-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark, #0f172a);
    margin-bottom: 4px;
}
.offer-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

/* === FOOTER COMPATIBILITY STYLES === */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0 20px;
    font-size: 13px;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4, .footer-title {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 14px;
}
.footer-brand, .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-menu, .footer-links, .footer-contacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li, .footer-links li, .footer-contacts-list li {
    margin-bottom: 8px;
}
.footer-menu a, .footer-links a, .footer-contacts-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-menu a:hover, .footer-links a:hover, .footer-contacts-list a:hover {
    color: #fff;
}
.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.footer-legal {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-legal a {
    color: #64748b;
    text-decoration: none;
    font-size: 12px;
}
.footer-legal a:hover {
    color: #94a3b8;
}


/* === HOMEPAGE PRODUCTS SHOWCASE GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
    margin-top: 20px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--card-radius, 12px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.product-card:hover {
    border-color: var(--primary, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}
.product-img-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #f8fafc;
    border-radius: var(--radius, 8px);
    padding: 10px;
}
.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-category {
    font-size: 12px;
    color: var(--primary, #2563eb);
    font-weight: 700;
    margin-bottom: 6px;
}
.product-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark, #0f172a);
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-desc {
    font-size: 13px;
    color: var(--gray, #64748b);
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.product-rating {
    font-size: 12px;
    font-weight: 700;
    color: #d97706;
}
.product-price {
    text-align: right;
}
.product-price .old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 6px;
}
.product-price .new-price {
    font-size: 18px;
    font-weight: 800;
    color: #16a34a;
}

/* === CATEGORY NAVIGATION BAR === */
.cat-nav-scroll {
    background: #ffffff;
    border-bottom: 1px solid var(--border, #e2e8f0);
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}
.cat-nav-scroll::-webkit-scrollbar {
    height: 4px;
}
.cat-nav-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.cat-nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 0 16px;
}
@media (min-width: 992px) {
    .cat-nav-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
}
.cat-nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cat-nav-btn:hover {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
}
