/* Budweg.com Clone CSS Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
    --primary-color: #008b47;       /* Budweg Green */
    --primary-hover: #006f36;
    --dark-bg: #1a1a1a;             /* Deep Charcoal */
    --light-bg: #f5f6f5;            /* Off-white */
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --danger-color: #d9534f;
    --success-color: #5cb85c;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

/* Header & Navigation */
header {
    width: 100%;
    position: relative;
    z-index: 100;
}

.top-bar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 300;
}

.top-bar-links a {
    margin-right: 20px;
    opacity: 0.85;
}

.top-bar-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-selector select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    font-size: 0.8rem;
}

.lang-selector select option {
    background-color: var(--dark-bg);
    color: var(--white);
}

.navbar {
    background-color: var(--white);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark-bg);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a {
    transition: color 0.25s ease;
}
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 550px;
    background-color: var(--light-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    padding: 40px 5%;
    gap: 40px;
    position: relative;
}

/* Overlay for readability when hero has a background image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    z-index: 0;
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: none;
}

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

.btn {
    transition: all 0.25s ease;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 139, 71, 0.25);
    transform: scale(1.03);
}

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

.btn-secondary:hover {
    background-color: var(--dark-bg);
    color: var(--white);
    transform: scale(1.03);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Intro Section */
.intro-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--white);
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.intro-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Statistics Grid */
.stats-section {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

/* Stat item entrance animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes countPulse {
    0%   { transform: scale(0.85); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

/* Reveal animation shared */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal delays */
.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal:nth-child(4) { transition-delay: 0.35s; }
.reveal:nth-child(5) { transition-delay: 0.45s; }
.reveal:nth-child(6) { transition-delay: 0.55s; }

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s ease,
                color 0.3s ease;
    transform: scale(0.85);
    opacity: 0;
}
.stat-item.visible h3 {
    transform: scale(1);
    opacity: 1;
}
.stat-item:nth-child(1) h3 { transition-delay: 0.1s; }
.stat-item:nth-child(2) h3 { transition-delay: 0.25s; }
.stat-item:nth-child(3) h3 { transition-delay: 0.4s; }

.stat-item {
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: scale(1.04);
}
.stat-item:hover h3 {
    color: #00cc66;
    transition: color 0.3s ease;
}
.stat-item h3 {
    transition: color 0.3s ease;
}
.stat-item p {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Products Selection Grid */
.categories-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #f5f6f5 0%, #eaf0eb 40%, #f0f4f1 100%);
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.category-card:not(:hover) {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.category-icon {
    height: 250px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    overflow: hidden;
    position: relative;
}

.category-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.category-icon img {
    transition: transform 0.4s ease;
}
.category-card:hover .category-icon img {
    transform: scale(1.05);
}

.category-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-info h4 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.category-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.category-info .btn-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.category-info .btn-text {
    transition: color 0.25s ease, gap 0.25s ease;
}
.category-info .btn-text:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* Products Catalogue Page */
.page-header {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.catalogue-container {
    padding: 60px 5%;
    background-color: var(--light-bg);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.sidebar {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    align-self: start;
}

.sidebar-title {
    font-size: 1.2rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    text-transform: uppercase;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-link {
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    display: block;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.filter-link {
    transition: background-color 0.25s ease, color 0.25s ease;
}
.filter-link:hover, .filter-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
}
.page-link:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.page-link.active {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    pointer-events: none;
}
.page-prev,
.page-next {
    font-weight: 600;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.product-card:not(:hover) {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-image img {
    transition: transform 0.4s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-image {
    height: 200px;
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-sku {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.15rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-cat-tag {
    font-size: 0.75rem;
    background-color: var(--light-bg);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    align-self: start;
}

/* Support & Contact Page */
.support-container {
    padding: 60px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 139, 71, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-form-panel {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-bg);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary-color);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background-color: rgba(92, 184, 92, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(92, 184, 92, 0.3);
}

.alert-danger {
    background-color: rgba(217, 83, 79, 0.15);
    color: var(--danger-color);
    border: 1px solid rgba(217, 83, 79, 0.3);
}
/* ===== Custom Confirm Modal ===== */
.custom-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.custom-modal-overlay.active { display: flex; }

.custom-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px 36px 24px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align: center;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.custom-modal-icon { font-size: 3rem; margin-bottom: 12px; }
.custom-modal-title {
    font-size: 1.2rem; font-weight: 700; color: var(--dark-bg); margin-bottom: 8px;
}
.custom-modal-body {
    font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5;
}
.custom-modal-buttons { display: flex; gap: 12px; justify-content: center; }
.custom-modal-btn {
    padding: 10px 28px; border-radius: 6px; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; border: none; transition: all 0.2s ease; font-family: inherit;
}
.custom-modal-btn.cancel { background: #f0f0f0; color: #555; }
.custom-modal-btn.cancel:hover { background: #e0e0e0; }
.custom-modal-btn.confirm { background: var(--primary-color); color: #fff; }
.custom-modal-btn.confirm:hover { background: var(--primary-hover); }

/* Footer Section */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 80px 5% 30px;
    border-top: 5px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
}

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

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-list li {
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

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

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

/* Admin Dashboard CSS (Subtle overlay matching UI) */
.admin-login-body {
    background-color: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.admin-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
}

.admin-card h2 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
    text-align: center;
}

.admin-card p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* Dashboard Layout */
.admin-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 30px 20px;
}

.admin-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.admin-logo span {
    color: var(--primary-color);
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.admin-nav-link:hover, .admin-nav-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.admin-main {
    background-color: var(--light-bg);
    padding: 40px;
}

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

.admin-header h2 {
    font-size: 2rem;
    color: var(--dark-bg);
}

.admin-user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.admin-user-menu a {
    color: var(--danger-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Stats Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 139, 71, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.admin-stat-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.admin-stat-info p {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-bg);
}

/* Data Tables */
.admin-table-container {
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    padding: 30px;
    overflow-x: auto;
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-table-header h3 {
    font-size: 1.3rem;
    color: var(--dark-bg);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-bottom: 20px;
}

.admin-table th, .admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--light-bg);
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.admin-table td {
    font-size: 0.95rem;
}

.admin-table tr:hover td {
    background-color: #fafafa;
}

.badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background-color: rgba(92, 184, 92, 0.15);
    color: var(--success-color);
}

.badge-secondary {
    background-color: rgba(102, 102, 102, 0.15);
    color: var(--text-muted);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

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

.btn-danger:hover {
    background-color: #c9302c;
}

/* Modal and Translation Forms */
.lang-tab-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.lang-tab {
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
}

.lang-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Responsive Breakpoints */
/* Admin mobile menu button */
.admin-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    top: 12px;
    right: -48px;
    z-index: 1001;
}
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
body.sidebar-open .admin-sidebar-overlay { display: block; }

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 5%;
    }
    .hero-content { margin: 0 auto; }
    .hero h1 { font-size: 2.8rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { order: -1; }
    .hero-image img { max-height: 250px; }
    
    .catalogue-container { grid-template-columns: 1fr; }
    .support-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .product-image { height: 150px; }
    
    /* Admin mobile */
    .admin-container { grid-template-columns: 1fr; }
    .admin-menu-toggle { display: block; position: fixed; top: 14px; left: 14px; z-index: 1001; background: var(--primary-color); border-radius: 4px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
    
    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 260px;
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    body.sidebar-open .admin-sidebar { left: 0; }
    
    .admin-main { padding: 20px 15px; }
    .admin-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .admin-header h2 { font-size: 1.3rem; }
    .admin-user-menu { flex-wrap: wrap; gap: 8px; font-size: 0.85rem; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    
    /* Table scroll */
    .admin-table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .admin-table { min-width: 600px; }
    
    /* Split layout stacks */
    .split-layout { grid-template-columns: 1fr !important; }
    .form-card { position: static !important; top: auto !important; }
    
    /* Pagination */
    .admin-table-container .pagination-wrapper { flex-direction: column; align-items: flex-start; }
    
    /* Import page */
    .import-section form > div { flex-direction: column; }
}

@media (max-width: 576px) {
    .top-bar { flex-direction: column; gap: 8px; text-align: center; }
    .top-bar-contact { font-size: 0.8rem; }
    .navbar { flex-direction: column; gap: 15px; }
    .nav-links { flex-direction: column; align-items: center; gap: 15px; }
    
    .hero { min-height: auto; padding: 40px 5%; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    
    .intro-section { padding: 50px 5%; }
    .section-title { font-size: 1.6rem; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 25px; }
    .stat-item h3 { font-size: 2.5rem; }
    
    .categories-grid { grid-template-columns: 1fr; }
    .categories-section { padding: 50px 5%; }
    
    .products-grid { grid-template-columns: 1fr; }
    .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
    .filter-link { font-size: 0.8rem; padding: 6px 12px; }
    
    .support-container { padding: 20px 0; }
    .contact-form-card { padding: 20px; }
    
    .admin-stats { grid-template-columns: 1fr; }
    .admin-header h2 { font-size: 1.1rem; }
    .admin-sidebar { width: 240px; left: -240px; }
    body.sidebar-open .admin-sidebar { left: 0; }
    
    .footer-grid { gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
