/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1; /* Beautiful Royal Indigo */
    --primary-dark: #4f46e5; /* Deep Indigo Accent */
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary-color: #475569; /* Sleek Slate Gray */
    --success-color: #10b981; /* Emerald Green */
    --danger-color: #f43f5e; /* Rose Pink-Red */
    --warning-color: #f59e0b; /* Golden Amber */
    --text-color: #0f172a; /* Sophisticated Deep Slate */
    --text-light: #64748b; /* Soft Muted Gray */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --border-light: rgba(226, 232, 240, 0.8);
    --shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 8px -1px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 8px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 50px -8px rgba(15, 23, 42, 0.12), 0 10px 20px -4px rgba(15, 23, 42, 0.06);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.top-bar {
    background: #f5f5f5;
    font-size: 0.8rem;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0;
}

.top-bar-social,
.top-bar-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-social a,
.top-bar-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.top-bar-social a:hover,
.top-bar-links a:hover {
    color: var(--primary-color);
}

.top-bar-social a {
    padding: 0 0.35rem;
    border-right: 1px solid #d4d4d4;
}

.top-bar-social a:last-child {
    border-right: none;
}

.top-bar-links a {
    padding: 0 0.5rem;
    border-right: 1px solid #d4d4d4;
}

.top-bar-links a:last-child {
    border-right: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo a {
    text-decoration: none;
}

.logo-image {
    height: 42px;
    width: auto;
    display: block;
}

.footer-section .logo-image {
    height: 25px;
}

.logo-tagline {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 0.15rem;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active {
    font-weight: 700;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.25rem 0;
    min-width: 260px;
    max-width: 320px;
    display: none;
    list-style: none;
    margin-top: 0.5rem;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.header-profile {
    position: relative;
}

.header-profile-menu {
    right: 0;
    left: auto;
    min-width: 220px;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.user-profile-btn .user-name {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    padding: 0.5rem 1.375rem; /* adjusted for border weight */
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
                linear-gradient(135deg, #0b0f19 0%, #111827 100%);
    color: white;
    padding: 7.5rem 0 8.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 70%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#animated-text {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

#animated-text-2 {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #94a3b8;
    max-width: 620px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-search {
    max-width: 580px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.4rem;
    border-radius: 999px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-search:focus-within {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.hero-search form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    color: white;
    outline: none;
}

.search-input::placeholder {
    color: #64748b;
}

.hero-search .btn {
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    border-radius: 32px;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.18) 0%, transparent 65%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-3d-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 35px rgba(99, 102, 241, 0.35));
    border-radius: 24px;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-3d-image {
    transform: scale(1.04) rotate(1deg);
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1.5deg);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content h1 {
        font-size: 2.75rem;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-search {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image-wrapper {
        max-width: 300px;
    }
}

.search-input-large {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--bg-light);
    overflow: hidden;
}

.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-thumbnail img {
    transform: scale(1.06);
}

.no-thumbnail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--text-light);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-thumbnail .badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.badge-free {
    background: var(--success-color);
    color: white;
}

.badge-paid {
    background: var(--warning-color);
    color: white;
}

.badge-pending {
    background: var(--warning-color);
    color: white;
}

.badge-approved {
    background: var(--success-color);
    color: white;
}

.badge-rejected {
    background: var(--danger-color);
    color: white;
}

.badge-draft {
    background: var(--secondary-color);
    color: white;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .category-icon {
        font-size: 2.25rem !important;
        margin-bottom: 0.5rem !important;
    }
    .category-card h3 {
        font-size: 0.85rem !important;
    }
}
@media (max-width: 400px) {
    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

.category-card {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px -5px rgba(99, 102, 241, 0.15), 0 8px 20px -6px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
}

.category-icon {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-icon {
    transform: scale(1.12);
}

.category-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Info Section */
.info-section {
    margin: 4rem 0;
}

.software-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 999px;
    padding: 1.75rem 3.5rem;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
    margin: 1.5rem 0 5rem;
    flex-wrap: wrap;
}

.software-strip img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.65);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.software-strip img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

/* Software & Format Compatibility Section */
.software-section {
    background: linear-gradient(180deg, transparent, var(--bg-light));
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin: 4rem 0;
}

.software-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.software-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.software-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.software-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.software-item:hover {
    transform: translateY(-5px);
}

.software-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    padding: 1rem;
    transition: all 0.3s ease;
}

.software-item:hover .software-icon-wrapper {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md), 0 0 15px rgba(99, 102, 241, 0.1);
}

.software-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.software-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.software-item:hover span {
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px -5px rgba(99, 102, 241, 0.12), 0 8px 20px -6px rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover .info-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

.info-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Ad slots (for AdSense) */
.ad-slot {
    margin: 2rem 0;
    padding: 1rem;
    background: transparent;
    text-align: center;
}

/* Newsletter Section */
.newsletter-section {
    max-width: 520px;
    margin: 1.5rem auto 2rem;
    text-align: center;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: center;
}

.newsletter-form .form-group {
    flex: 1 1 260px;
    margin-bottom: 0;
}

/* Footer newsletter column */
.footer-newsletter {
    text-align: left;
}

.footer-newsletter .newsletter-form {
    justify-content: flex-start;
}

.footer-newsletter .newsletter-form .form-group {
    width: 100%;
}

.footer-newsletter .btn-block {
    max-width: 180px;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Upload Page Layout */
.upload-page {
    max-width: 1000px;
    margin: 2rem auto 3rem;
}

.upload-tabs {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.upload-tabs-nav {
    display: flex;
    gap: 1rem;
}

.upload-tab {
    padding: 0.75rem 1.25rem;
    border-radius: 999px 999px 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    font-size: 0.9rem;
    cursor: pointer;
    background: transparent;
    color: var(--text-light);
}

.upload-tab.active {
    background: var(--bg-color);
    color: var(--text-color);
    border-color: var(--border-color);
    border-bottom-color: var(--bg-color);
}

.upload-help-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    position: absolute;
    right: 0;
}

.upload-main-card {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.upload-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.upload-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-light);
}

.upload-dropzone-icon {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.upload-dropzone-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.upload-dropzone-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.upload-guidelines-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.upload-guidelines-list {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 1rem;
}

.upload-guidelines-list li {
    margin-bottom: 0.35rem;
}

.upload-section {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.upload-section-header {
    margin-bottom: 1rem;
}

.upload-section-header h2 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.upload-section-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.upload-inline-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.upload-footnote {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Profile Layout */
.profile-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-card {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    text-align: center;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-placeholder {
    font-size: 2.5rem;
    color: var(--text-light);
}

.profile-card-body {
    margin-bottom: 1.5rem;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-username {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.profile-email {
    color: var(--text-light);
    font-size: 0.9rem;
}

.profile-meta {
    border-top: 1px solid var(--border-color);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.profile-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.profile-meta-row .label {
    color: var(--text-light);
}

.profile-meta-row .value {
    font-weight: 500;
}

.profile-form {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

/* Public Designer Profile Page */
.designer-page {
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.designer-banner {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
}

.designer-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 20px;
}

.designer-banner-info h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.designer-banner-info p {
    opacity: 0.9;
}

.designer-layout {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.designer-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.designer-avatar-card {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-align: center;
}

.designer-avatar-large {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.designer-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.designer-avatar-placeholder {
    font-size: 2rem;
    color: var(--text-light);
}

.designer-basic h2 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.designer-store {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.designer-email {
    font-size: 0.85rem;
    color: var(--text-light);
}

.designer-meta {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
}

.designer-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.designer-meta-row .label {
    color: var(--text-light);
}

.designer-meta-row .value {
    font-weight: 500;
}

.designer-metrics-card {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
}

.designer-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.designer-metric-row .icon {
    color: var(--text-light);
    margin-right: 0.5rem;
}

.designer-metric-row .label {
    flex: 1;
    color: var(--text-light);
}

.designer-metric-row .value {
    font-weight: 500;
}

.designer-skill-card {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
}

.designer-skill-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.designer-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.designer-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--bg-light);
    font-size: 0.8rem;
}

.designer-main {
    min-width: 0;
}

.designer-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.designer-tab {
    border: none;
    background: transparent;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: default;
    color: var(--text-light);
}

.designer-tab.active {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.designer-tab-count {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: var(--bg-light);
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .designer-layout {
        grid-template-columns: 1fr;
    }
}

/* Press Page */
.press-section {
    margin-bottom: 2.5rem;
}

.press-section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.press-card {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
}

.press-date {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.press-title {
    font-size: 1.05rem;
    margin: 0.35rem 0 0.5rem;
}

.press-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.press-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.press-link:hover {
    text-decoration: underline;
}

.press-media-kit {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.press-assets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.press-asset-card {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
}

.press-contact {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

/* Careers */
.careers-intro {
    margin-bottom: 1.5rem;
    max-width: 800px;
    color: var(--text-light);
}

.careers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.job-card {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.job-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.job-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.job-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.job-tag {
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background: #ecfeff;
    color: #0e7490;
    font-size: 0.75rem;
}

.careers-footer-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
    }

    .job-card-actions {
        align-items: flex-start;
    }
}

/* Help Center */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.help-card {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.help-card h2 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.help-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.help-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-info-card {
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
}

.contact-info-card h2 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 65%);
}

.auth-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(99, 102, 241, 0.03);
    width: 100%;
    max-width: 460px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 20px rgba(99, 102, 241, 0.06);
}

.auth-box h2 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text-color) 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.form-group small {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-light);
    font-size: 0.825rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-link {
    text-align: center;
    margin-top: 1.25rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

.modal-content .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.modal-content .close:hover {
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--text-color);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: normal;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* Page Header */
.page-header {
    margin: 2rem 0;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.static-page {
    background: var(--bg-color);
    padding: 1.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 0.95rem;
    color: var(--text-light);
}

.static-page p + p {
    margin-top: 1rem;
}

/* Modern Product Page Styles */
.product-page-wrapper {
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
}

/* Product Layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Product Gallery */
.product-gallery-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image-wrapper {
    margin-bottom: 1.5rem;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* 1000x1000 aspect ratio */
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.main-image-container.zoomed {
    cursor: zoom-out;
    z-index: 1000;
    position: fixed;
    margin-top: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75vw;
    height: 75vh;
    max-width: 1200px;
    max-height: 900px; /* Adjusted for 4:3 ratio */
    background: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    aspect-ratio: 4/3; /* Maintain 800x600 ratio in zoom */
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 1/1; /* Enforce 1000x1000 aspect ratio */
}

.zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.05);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    margin-top: 1rem;
}

.thumbnail-container {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Information */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Product Header */
.product-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-free {
    background: var(--success-color);
    color: white;
}

.badge-premium {
    background: var(--warning-color);
    color: white;
}

.badge-reviews {
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars-display {
    color: var(--warning-color);
    display: flex;
    gap: 0.1rem;
}

.rating-text {
    color: var(--text-light);
    font-size: 0.875rem;
}

.no-reviews {
    color: var(--text-light);
    font-style: italic;
}

/* Product Purchase */
.product-purchase {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.price-section {
    margin-bottom: 1.5rem;
}

.price-free {
    text-align: center;
}

.price-label {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.25rem;
}

.price-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
}

.price-paid {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wishlist-btn {
    transition: all 0.2s ease;
}

.wishlist-btn:hover {
    transform: translateY(-1px);
}

/* Product Meta Grid */
.product-meta-grid {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.meta-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.meta-value {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.875rem;
}

.meta-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.meta-value a:hover {
    text-decoration: underline;
}

/* Product Description */
.product-description {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.description-content {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Product Tags */
.product-tags {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Reviews Section */
.reviews-section {
    margin: 3rem 0;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.reviews-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.reviews-summary {
    text-align: right;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.rating-stars-large {
    color: var(--warning-color);
    display: flex;
    gap: 0.1rem;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Review Form */
.review-form-container {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.review-form-container h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.rating-input-group {
    margin-bottom: 1rem;
}

.rating-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.rating-stars-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.15rem;
}

.rating-stars-input input[type="radio"] {
    display: none;
}

.rating-stars-input label {
    cursor: pointer;
    color: #d1d5db;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.rating-stars-input input[type="radio"]:checked ~ label i,
.rating-stars-input label:hover i,
.rating-stars-input label:hover ~ label i {
    color: var(--warning-color);
}

.review-form .form-group {
    margin-bottom: 1rem;
}

.review-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.review-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.review-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.login-prompt {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin-bottom: 2rem;
}

.login-prompt a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-prompt a:hover {
    text-decoration: underline;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.review-card:hover {
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-avatar i {
    color: var(--text-light);
    font-size: 1.2rem;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-color);
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-rating {
    color: var(--warning-color);
    display: flex;
    gap: 0.1rem;
}

.review-comment {
    color: var(--text-color);
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* Related Products */
.related-products {
    margin: 3rem 0;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.related-products .section-title {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Enhanced Related Products Grid */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Enhanced Product Card Design */
.product-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.8s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio (800x600px) */
    background: var(--bg-light);
    overflow: hidden;
}

.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 4/3; /* Force 800x600 aspect ratio */
}

.product-card:hover .product-thumbnail img {
    transform: scale(1.05);
}

/* Product Badge Overlay */
.product-badge-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

.product-badge-overlay .badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.badge-free {
    background: var(--success-color);
}

.badge.badge-featured {
    background: var(--warning-color);
}

/* Product Info Section */
.product-info {
    padding: 1.25rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price.free {
    color: var(--success-color);
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.product-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-stat i {
    font-size: 0.75rem;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.rating-stars {
    display: flex;
    gap: 0.1rem;
}

.rating-stars i {
    color: #fbbf24;
    font-size: 0.8rem;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Vendor Info */
.product-vendor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.vendor-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.vendor-name {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-layout {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .product-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .meta-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .reviews-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .reviews-summary {
        text-align: center;
    }
    
    .average-rating {
        justify-content: center;
    }
    
    /* Enhanced mobile gallery */
    .product-gallery-section {
        margin-bottom: 1.5rem;
    }
    
    .main-image-container {
        border-radius: 8px;
        overflow: hidden;
    }
    
    .thumbnail-gallery {
        margin-top: 1rem;
    }
    
    .thumbnail-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 0.5rem;
    }
    
    .thumbnail-item {
        border-radius: 6px;
        overflow: hidden;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .thumbnail-item.active {
        border-color: var(--primary-color);
        transform: scale(1.05);
    }
    
    /* Mobile product info */
    .product-info-section {
        padding: 0;
    }
    
    .product-header {
        margin-bottom: 1.5rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Mobile tabs */
    .product-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-btn {
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        text-align: left;
        padding: 1rem;
    }
    
    .tab-btn.active {
        border-bottom-color: var(--primary-color);
        background: rgba(37, 99, 235, 0.05);
    }
    
    /* Mobile reviews */
    .review-form {
        padding: 1rem;
        background: var(--bg-light);
        border-radius: 8px;
    }
    
    .review-item {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Mobile related products */
    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .product-card {
        border-radius: 8px;
    }
    
    .product-card:hover {
        transform: translateY(-4px);
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .product-badge-overlay .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Additional responsive breakpoints */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .product-layout {
        padding: 0.75rem;
        gap: 1rem;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .thumbnail-container {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.25rem;
    }
    
    .btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .product-badges {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .product-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .meta-item {
        font-size: 0.85rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }
    
    .product-card:hover {
        transform: translateY(-2px);
    }
    
    .product-info {
        padding: 0.875rem;
    }
    
    .product-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
    
    .product-price {
        font-size: 0.95rem;
    }
    
    .product-stats {
        gap: 0.75rem;
    }
    
    .product-vendor {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

@media (max-width: 360px) {
    .product-title {
        font-size: 1.1rem;
    }
    
    .thumbnail-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.2rem;
    }
    
    .btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    /* Ultra-small mobile grid */
    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.5rem;
    }
    
    .product-card {
        border-radius: 6px;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .product-badge-overlay .badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    .product-stats {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
}

/* Footer Styles */
.main-footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Blog Page */
.blog-tabs {
    display: inline-flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.blog-tab {
    border: none;
    background: transparent;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: default;
    color: var(--text-light);
}

.blog-tab-active {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 2rem;
}

.blog-feature-card {
    background: var(--bg-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-feature-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-date {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.blog-tag {
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
}

.blog-feature-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.blog-feature-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-feature-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.blog-read-time {
    color: var(--text-light);
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.blog-read-more:hover {
    text-decoration: underline;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-card {
    background: var(--bg-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
}

.blog-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* Products Page */
.products-page {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.products-sidebar {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.products-main {
    min-width: 0;
}

.products-header {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Product Page */
.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-details h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-meta-info {
    margin: 1.5rem 0;
}

.meta-item {
    display: flex;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.meta-item .label {
    font-weight: 600;
    min-width: 100px;
    color: var(--text-light);
}

.meta-item .value {
    color: var(--text-color);
}

.product-price {
    margin: 1.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.price-free {
    color: var(--success-color);
}

.price {
    color: var(--primary-color);
}

.product-actions {
    margin: 2rem 0;
}

.product-description,
.product-tags {
    margin: 2rem 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.875rem;
}

.product-reviews {
    margin: 3rem 0;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.review-rating {
    color: var(--warning-color);
}

.review-rating .fa-star.active {
    color: var(--warning-color);
}

.rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.15rem;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    color: #d1d5db;
    font-size: 1.25rem;
}

.rating-stars input[type="radio"]:checked ~ label i,
.rating-stars label:hover i,
.rating-stars label:hover ~ label i {
    color: var(--warning-color);
}

.review-date {
    margin-left: auto;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Tables */
.table-responsive {
    overflow-x: visible;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table thead {
    background: var(--bg-light);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.data-table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.vendor-products-table th,
.vendor-products-table td {
    font-size: 0.85rem;
    vertical-align: middle;
}

.vendor-products-table th:first-child,
.vendor-products-table td:first-child {
    width: 32px;
}

.vendor-products-table th:nth-child(2),
.vendor-products-table td:nth-child(2) {
    width: 70px;
}

.text-right {
    text-align: right;
}

.verification-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 0.75rem;
}

.verification-badge.verification-na {
    color: var(--text-light);
}

.price-free-label {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #e0f7ec;
    color: #047857;
    font-size: 0.75rem;
}

.promotion-badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #4b5563;
    font-size: 0.75rem;
}

.table-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.table-thumbnail-placeholder {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.25);
}

.stat-card-link {
    text-decoration: none;
    color: inherit;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.stat-card:hover .stat-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.08) rotate(5deg);
}

.stat-info h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.stat-info p {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Dashboard */
.dashboard-section {
    background: var(--bg-color);
    padding: 2.25rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    margin: 2.5rem 0;
}

.dashboard-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.dashboard-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.dashboard-link-card {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.6);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
}

.dashboard-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.25);
}

.dashboard-link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.dashboard-link-card:hover i {
    transform: scale(1.12) translateY(-2px);
}

.dashboard-link-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Admin Grid */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin: 2rem 0;
}

.admin-form-section,
.admin-list-section {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Footer */
.main-footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.2fr 1.1fr 1.1fr 1.1fr 1.1fr 1.4fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bottom-links a:last-child {
    border-right: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links a.dmca-badge {
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    padding-right: 0.75rem;
    margin-right: 0.25rem;
}

.footer-bottom-links a.dmca-badge img {
    display: block;
    max-height: 20px;
    width: auto;
}

/* Section */
.section {
    margin: 4rem 0;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.search-results-info {
    margin: 1rem 0;
    color: var(--text-light);
}

.current-thumbnail {
    margin-bottom: 1rem;
}

.current-thumbnail img {
    max-width: 200px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
    .main-nav.active {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0.25rem;
        padding-left: 1rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .header-actions .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .user-profile-btn .user-name {
        max-width: 120px;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }

    .products-page {
        grid-template-columns: 1fr;
    }

    .upload-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

    .product-page {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

/* Newsletter Popup Styles */
.newsletter-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.newsletter-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

.newsletter-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.newsletter-popup-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.newsletter-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.newsletter-popup-close:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

.newsletter-popup-content {
    padding: 1.5rem;
}

.newsletter-popup-content p {
    margin: 0 0 1.5rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.newsletter-popup .form-group {
    margin-bottom: 1rem;
}

.newsletter-popup input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-popup input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Responsive styles for newsletter popup */
@media (max-width: 768px) {
    .newsletter-popup {
        width: 95%;
        max-width: 400px;
    }
    
    .newsletter-popup-header,
    .newsletter-popup-content {
        padding: 1rem;
    }
    
    .newsletter-popup-header h3 {
        font-size: 1.25rem;
    }
}

/* Product Owner Actions */
.product-owner-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-owner-actions {
    opacity: 1;
}

.product-owner-actions .btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-owner-actions .btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-card {
    position: relative;
}

/* AdSense Styles */
.ads-header {
    text-align: center;
    margin: 1rem 0;
    max-width: 728px;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
}

.ads-sidebar {
    margin: 1rem 0;
    max-width: 300px;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
}

.ads-in-content {
    margin: 2rem 0;
    text-align: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
}

.ads-footer {
    text-align: center;
    margin: 2rem 0 1rem 0;
    max-width: 728px;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
}

/* Responsive ads */
@media (max-width: 768px) {
    .ads-header, .ads-footer {
        max-width: 320px;
    }
    
    .ads-sidebar {
        max-width: 100%;
    }
    
    .ads-in-content {
        padding: 0.5rem;
    }
}

/* Animated text transition for hero section */
#animated-text, #animated-text-2 {
    transition: opacity 0.3s ease-in-out;
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
}

#animated-text::after, #animated-text-2::after {
    content: '|';
    position: absolute;
    right: -8px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
}

.close {
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-color);
}

.modal-content form {
    padding: 20px;
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content .form-group:last-child {
    margin-bottom: 0;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.modal-content .btn {
    margin-right: 10px;
}

.modal-content .btn:last-child {
    margin-right: 0;
}

.text-danger {
    color: var(--danger-color);
}

/* Header Notifications - Right Side Position */
.header-cart {
    position: relative;
    margin-left: 1rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--text-color);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-btn:hover {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-color);
    min-width: 18px;
}

.header-notifications {
    position: relative;
    margin-left: 1rem;
}

.notification-bell-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1.25rem;
    transition: color 0.2s;
}

.notification-bell-btn:hover {
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-color);
    min-width: 18px;
}

.notification-dropdown {
    width: 320px;
    max-height: 400px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.notification-dropdown-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.mark-all-read-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.mark-all-read-btn:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.notification-dropdown-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: var(--bg-light);
}

.notification-item.unread {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary-color);
}

.notification-item.read {
    opacity: 0.8;
}

.notification-icon {
    font-size: 1rem;
    margin-right: 0.75rem;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-content.clickable {
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 0.25rem;
    margin: -0.25rem;
    border-radius: 4px;
}

.notification-content.clickable:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.notification-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.notification-message {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.notification-time {
    font-size: 0.625rem;
    color: var(--text-light);
}

.notification-action {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.notification-action:hover {
    text-decoration: underline;
}

.mark-read-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 10px;
    color: var(--success-color);
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.mark-read-btn:hover {
    background-color: var(--success-color);
    color: white;
}

.notification-dropdown-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.view-all-notifications {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.view-all-notifications:hover {
    text-decoration: underline;
}

.no-notifications {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
}

@media (max-width: 768px) {
    .notification-dropdown {
        width: 280px;
        right: -10px;
    }
    
    .header-notifications {
        margin-right: 0.5rem;
    }
}

/* Ambient Glowing Background Orbs */
.bg-glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.orb-1 {
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: floatOrb1 25s ease-in-out infinite alternate;
}

.orb-2 {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: floatOrb2 30s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(120px, 80px) scale(1.1);
    }
    100% {
        transform: translate(-50px, 150px) scale(0.95);
    }
}

@keyframes floatOrb2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }
    50% {
        transform: translate(-100px, -120px) scale(0.9);
    }
    100% {
        transform: translate(80px, 50px) scale(1.05);
    }
}

/* Dynamic Hero Image & Badge Styles */
.hero-image-link {
    text-decoration: none;
    display: block;
    width: 100%;
    outline: none;
}

.hero-image-badge {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(99, 102, 241, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-image-badge {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.45);
}

