/* =========================
   GLOBAL RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --navy: #0d3b66;
    --blue-dark: #004f9f;
    --text: #1f2937;
    --muted: #6b7280;
    --light-bg: #f8fbff;
    --card-bg: #ffffff;
    --border: #e5edf7;
    --soft-blue: #eef5ff;
    --success-bg: #dcfce7;
    --success-text: #166534;
    --warning-bg: #fef3c7;
    --warning-text: #92400e;
    --danger-bg: #fee2e2;
    --danger-text: #991b1b;
    --shadow: 0 10px 25px rgba(13, 59, 102, 0.06);
    --shadow-lg: 0 16px 45px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* =========================
   NAVBAR
========================= */

<style>
.navbar {
    width: 100% !important;
    background: #ffffff !important;
    padding: 14px 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

.logo-box {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
}

.logo-link,
.logo-link:link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active,
.logo-link:focus {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    color: inherit !important;
    outline: none !important;
    min-width: 0 !important;
}

.logo-link * {
    text-decoration: none !important;
    border-bottom: none !important;
}

.logo-image {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.logo-text {
    min-width: 0 !important;
}

.logo-text h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 29px !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    color: #004f9f !important;
    letter-spacing: -0.6px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    white-space: nowrap !important;
}

.logo-text p {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    white-space: nowrap !important;
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

.nav-links a {
    margin: 0 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    transition: 0.2s ease !important;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: #0d6efd !important;
}

.user-badge {
    margin: 0 !important;
    background: #eef6ff !important;
    color: #004f9f !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

.hamburger {
    display: none !important;
    width: 46px !important;
    height: 46px !important;
    border: none !important;
    background: #0d6efd !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
}

.hamburger span {
    display: block !important;
    width: 23px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    transition: 0.3s ease !important;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}

.hamburger.active span:nth-child(2) {
    opacity: 0 !important;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

/* MOBILE / TABLET */
@media (max-width: 1250px) {
    .navbar {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 10px !important;
        position: sticky !important;
    }

    .logo-box {
        width: 100% !important;
        min-width: 0 !important;
    }

    .logo-link {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .logo-image {
        width: 48px !important;
        height: 48px !important;
    }

    .logo-text {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .logo-text h2 {
        font-size: 18px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .logo-text p {
        font-size: 10.5px !important;
        margin-top: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hamburger {
        display: flex !important;
        width: 44px !important;
        height: 44px !important;
        justify-self: end !important;
    }

    .nav-links {
        display: none !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        background: #ffffff !important;
        padding: 14px !important;
        margin-top: 8px !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16) !important;
        border: 1px solid #e5e7eb !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a,
    .nav-links .user-badge {
        width: 100% !important;
        display: block !important;
        padding: 13px 14px !important;
        border-radius: 10px !important;
        text-align: left !important;
        background: #f8fafc !important;
    }
}

@media (max-width: 390px) {
    .logo-link {
        grid-template-columns: 42px minmax(0, 1fr) !important;
    }

    .logo-image {
        width: 42px !important;
        height: 42px !important;
    }

    .logo-text h2 {
        font-size: 15px !important;
    }

    .logo-text p {
        font-size: 9.5px !important;
    }

    .hamburger {
        width: 40px !important;
        height: 40px !important;
    }
}
</style>
/* Hamburger button */
.hamburger {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: var(--primary);
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: #ffffff;
    border-radius: 10px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 88vh;
    background:
        linear-gradient(rgba(9, 30, 54, 0.58), rgba(9, 30, 54, 0.68)),
        url("hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
    padding: 100px 56px;
}

.hero-content {
    max-width: 760px;
    color: white;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.18);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 22px;
    letter-spacing: 0.4px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 18px;
    max-width: 680px;
    margin-bottom: 32px;
    color: #f3f7fb;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    transition: 0.25s ease;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

.secondary-blue-btn {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.secondary-blue-btn:hover {
    background-color: #eef5ff;
}

/* =========================
   ABOUT
========================= */

.about {
    padding: 90px 56px;
    background-color: #ffffff;
}

.about-container {
    max-width: 1150px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 40px;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 17px;
    color: #4b5563;
    margin-bottom: 18px;
}

.about-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image {
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* =========================
   SERVICES
========================= */

.services {
    padding: 90px 56px;
    background-color: var(--light-bg);
}

.services-header {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.services-header h2 {
    font-size: 40px;
    color: var(--navy);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.services-header p {
    font-size: 17px;
    color: var(--muted);
}

.services-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(13, 59, 102, 0.1);
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 15px;
    color: #4b5563;
}

/* =========================
   CTA
========================= */

.cta {
    padding: 80px 56px;
    background-color: #ffffff;
}

.cta-box {
    max-width: 1100px;
    margin: auto;
    background: linear-gradient(135deg, #0d5cab 0%, #0d6efd 100%);
    color: white;
    padding: 54px;
    border-radius: 26px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.2);
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 14px;
}

.cta-box p {
    font-size: 17px;
    margin-bottom: 24px;
    color: #eaf2ff;
}

/* =========================
   PRODUCTS PAGE
========================= */

.products-hero {
    background:
        linear-gradient(rgba(9, 30, 54, 0.58), rgba(9, 30, 54, 0.66)),
        url("hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 56px 82px;
    color: white;
}

.products-hero-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.products-hero-content h1 {
    font-size: 52px;
    margin-bottom: 18px;
    letter-spacing: -0.8px;
}

.products-hero-content p {
    font-size: 18px;
    color: #f3f7fb;
}

.products-page,
.marketplace-section {
    padding: 90px 56px;
    background-color: #ffffff;
}

.products-page-header,
.marketplace-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.products-page-header h2,
.marketplace-header h2 {
    font-size: 40px;
    color: var(--navy);
    margin-bottom: 14px;
}

.products-page-header p,
.marketplace-header p {
    font-size: 17px;
    color: var(--muted);
}

.product-filter-form {
    max-width: 1150px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 2fr 1fr auto auto;
    gap: 14px;
}

.product-filter-form input,
.product-filter-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6e2f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: white;
}

.product-filter-form input:focus,
.product-filter-form select:focus {
    border-color: var(--primary);
}

.product-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(13, 59, 102, 0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eef4fb;
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-card-body p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.65;
}

.product-status {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.in-stock {
    background-color: var(--success-bg);
    color: var(--success-text);
}

.low-stock {
    background-color: var(--warning-bg);
    color: var(--warning-text);
}

.out-stock {
    background-color: var(--danger-bg);
    color: var(--danger-text);
}

.product-image-placeholder {
    width: 100%;
    height: 220px;
    background: #eef4fb;
    border-bottom: 1px solid #dbe4f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    padding: 90px 56px;
    background-color: #ffffff;
}

.contact-container {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background-color: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
}

.contact-info h2,
.contact-form-box h2 {
    font-size: 34px;
    color: var(--navy);
    margin-bottom: 16px;
}

.contact-info > p {
    color: #4b5563;
    margin-bottom: 24px;
    font-size: 16px;
}

.contact-item {
    margin-bottom: 22px;
}

.contact-item h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 6px;
}

.contact-item p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

.contact-form-box {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    box-sizing: border-box;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #d6e2f0;
    border-radius: 10px;
    font-size: 15px;
    width: 100%;
    outline: none;
    background: white;
}

.contact-form-box textarea,
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}

.contact-form button {
    border: none;
    cursor: pointer;
}

/* =========================
   LOGIN / REGISTER
========================= */

.login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background:
        linear-gradient(rgba(9, 30, 54, 0.68), rgba(9, 30, 54, 0.78)),
        url("hero-bg.jpg");
    background-size: cover;
    background-position: center;
}

.login-container {
    width: 100%;
    max-width: 430px;
}

.register-container {
    width: 100%;
    max-width: 520px;
}

.login-box {
    background-color: white;
    padding: 42px 32px;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-box h2 {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 25px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form input,
.login-form select {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #d6e2f0;
    font-size: 15px;
    width: 100%;
    outline: none;
    background: white;
}

.login-form input:focus,
.login-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}

.login-form button {
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.login-footer {
    margin-top: 20px;
    font-size: 14px;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.login-footer a:hover {
    text-decoration: underline;
}

.register-message {
    margin: 16px 0;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eef5ff;
    color: var(--navy);
}

.register-message.success {
    background: var(--success-bg);
    color: var(--success-text);
}

.register-message.error {
    background: var(--danger-bg);
    color: var(--danger-text);
}

/* =========================
   DASHBOARDS
========================= */

.dashboard-section {
    padding: 90px 56px;
    background-color: var(--light-bg);
    min-height: 80vh;
}

.dashboard-header {
    max-width: 1100px;
    margin: 0 auto 35px;
}

.dashboard-header h1 {
    font-size: 42px;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.dashboard-header p {
    font-size: 17px;
    color: var(--muted);
}

.dashboard-stats {
    max-width: 1100px;
    margin: 0 auto 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dashboard-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
}

.dashboard-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.dashboard-card p {
    font-size: 30px;
    font-weight: 800;
    color: var(--navy);
}

.dashboard-panels {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

.dashboard-panel {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.dashboard-panel h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 20px;
}

.dashboard-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-form input,
.dashboard-form textarea,
.dashboard-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6e2f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: white;
}

.dashboard-form textarea {
    resize: vertical;
}

.dashboard-form input:focus,
.dashboard-form textarea:focus,
.dashboard-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}

.dashboard-form button {
    border: none;
    cursor: pointer;
}

.dashboard-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-links a {
    display: block;
    padding: 14px 16px;
    background-color: var(--soft-blue);
    color: var(--navy);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}

.dashboard-links a:hover {
    background-color: #dcecff;
}

.request-item {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    background-color: var(--light-bg);
}

.request-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.request-item p {
    font-size: 14px;
    color: #4b5563;
}

.empty-state {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    color: #4b5563;
}

/* =========================
   ADMIN TABLES
========================= */

.dashboard-approval-section {
    max-width: 1100px;
    margin: 30px auto 0;
}

.full-width-panel {
    width: 100%;
}

.approval-table {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.approval-row {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 0.8fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: var(--light-bg);
    font-size: 14px;
    color: #374151;
}

.approval-header {
    background-color: #eaf2ff;
    font-weight: 800;
    color: var(--navy);
}

.approval-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.approve-btn,
.reject-btn {
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.approve-btn {
    background-color: var(--primary);
    color: white;
}

.reject-btn {
    background-color: #ef4444;
    color: white;
}

.table-product-image {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid #dbe4f0;
}

/* =========================
   CSV / UPLOAD BOX
========================= */

.excel-box {
    background-color: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.excel-box p {
    color: #4b5563;
    margin-bottom: 16px;
}

.excel-list {
    margin-left: 18px;
    margin-bottom: 18px;
    color: #4b5563;
    line-height: 1.7;
}

.excel-upload {
    width: 100%;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #d6e2f0;
    border-radius: 10px;
    background-color: white;
}

.excel-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.upload-label {
    font-weight: 700;
    color: var(--navy);
    margin-top: 8px;
}

.current-product-image {
    margin: 10px 0;
    padding: 12px;
    background: var(--light-bg);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.current-product-image p {
    margin: 0 0 8px;
    font-weight: 700;
    color: #334155;
}

.current-product-image img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dbe4f0;
}

/* =========================
   CATEGORY ROW
========================= */

.category-row {
    max-width: 1150px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-box {
    background-color: var(--soft-blue);
    color: var(--navy);
    padding: 18px;
    text-align: center;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid #dbe8f8;
}

/* =========================
   FOOTER
========================= */

.footer {
    background-color: var(--navy);
    color: white;
    text-align: center;
    padding: 22px;
    font-size: 14px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1200px) {
    .navbar {
        padding: 14px 20px;
        flex-wrap: wrap;
    }

    .logo-box {
        max-width: calc(100% - 65px);
    }

    .logo-image {
        width: 62px;
        height: 62px;
    }

    .logo-text h2 {
        font-size: 23px;
    }

    .logo-text p {
        font-size: 13px;
        margin-top: 4px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: #ffffff;
        padding: 14px;
        margin-top: 14px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
        border: 1px solid #e5e7eb;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a,
    .nav-links .user-badge {
        width: 100%;
        display: block;
        padding: 13px 14px;
        border-radius: 10px;
        text-align: left;
        background: #f8fafc;
    }

    .nav-links a:hover {
        background: #eaf4ff;
    }

    .user-badge {
        background: #e7f7f3;
        color: #0a7c66;
    }

    .services-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        flex-direction: column;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-panels {
        grid-template-columns: 1fr;
    }

    .category-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-filter-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero-overlay,
    .about,
    .services,
    .cta,
    .products-hero,
    .products-page,
    .marketplace-section,
    .contact-section,
    .dashboard-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-overlay {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero {
        min-height: 78vh;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-description,
    .about-text p,
    .services-header p,
    .cta-box p,
    .products-hero-content p,
    .products-page-header p,
    .marketplace-header p,
    .product-card-body p {
        font-size: 16px;
    }

    .about-text h2,
    .services-header h2,
    .cta-box h2,
    .products-page-header h2,
    .marketplace-header h2,
    .contact-info h2,
    .contact-form-box h2,
    .dashboard-header h1 {
        font-size: 30px;
    }

    .products-hero-content h1 {
        font-size: 36px;
    }

    .services-grid,
    .product-grid,
    .dashboard-stats,
    .category-row {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 34px 22px;
    }

    .approval-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .approval-header {
        display: none;
    }
}

@media (max-width: 520px) {
    .navbar {
        padding: 12px;
    }

    .logo-link {
        gap: 10px;
    }

    .logo-image {
        width: 48px;
        height: 48px;
    }

    .logo-text h2 {
        font-size: 17px;
        letter-spacing: -0.2px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .hamburger {
        width: 42px;
        height: 42px;
    }

    .login-box {
        padding: 34px 22px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .logo-text p {
        display: none;
    }

    .logo-text h2 {
        font-size: 15px;
    }

    .logo-image {
        width: 42px;
        height: 42px;
    }
}
/* =========================
   HOMEPAGE RANDOM PRODUCTS
========================= */

.home-products-section {
    padding: 90px 56px;
    background: #ffffff;
}

.home-products-header {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.home-products-header span {
    display: inline-block;
    background: #eef5ff;
    color: #0d6efd;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
}

.home-products-header h2 {
    font-size: 40px;
    color: #0d3b66;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.home-products-header p {
    font-size: 17px;
    color: #6b7280;
}

.home-products-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-product-card {
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(13, 59, 102, 0.06);
    transition: 0.25s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(13, 59, 102, 0.1);
}

.home-product-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    background: #eef4fb;
}

.home-product-body {
    padding: 22px;
}

.home-product-body h3 {
    font-size: 19px;
    color: #0d3b66;
    margin-bottom: 8px;
    line-height: 1.3;
}

.home-product-meta {
    font-size: 14px;
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-product-description {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 18px;
    line-height: 1.65;
}

.home-product-actions .btn {
    width: 100%;
    text-align: center;
}

.home-products-footer {
    text-align: center;
    margin-top: 34px;
}

@media (max-width: 1200px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .home-products-section {
        padding: 70px 20px;
    }

    .home-products-header h2 {
        font-size: 30px;
    }

    .home-products-header p {
        font-size: 16px;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   FIX PRODUCT IMAGE SIZE IN ADMIN/STORE TABLE
========================= */

.approval-row img,
.table-product-image {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #dbe4f0 !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

.approval-row div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: hidden !important;
}

.approval-row div:first-child img {
    flex-shrink: 0 !important;
}
.dashboard-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6e2f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: white;
}

.dashboard-form select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}
/* =========================
   STRONG SUCCESS / ERROR MESSAGES
========================= */

.register-message.success {
    background: #d1fae5 !important;
    color: #065f46 !important;
    border: 2px solid #10b981 !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.18) !important;
}

.register-message.error {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border: 2px solid #ef4444 !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.18) !important;
}