@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Google Sans Flex", sans-serif;
}


:root {
    --primary-color: #ff8432;
    --border-radius: 8px;
    --border: 1.5px solid #e5e7eb;
    --border-color: #e5e7eb;
    --box-shadow: 0 4px 15px rgba(117, 128, 222, .2);
    --box-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.1);
    --sidebar-width: 270px;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f2f5;
    --bg-hero: #f5f5f5;
    --bg-section: #fafafa;
    --bg-dark: #0f1f3d;
    --text-primary: #0a0a0a;
    --text-secondary: #626380cf;
    --heading-color: #231645;
    --text-muted: #5b5768;
    --text-on-dark: #ffffff;
}

[data-theme="dark"] {
    --bg-primary: #111822;
    --bg-secondary: #1a1f2e;
    --bg-hero: #151b28;
    --bg-section: #1a1f2e;
    --bg-dark: #0d1321;
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --heading-color: #e4e6eb;
    --text-muted: #b0b3b8;
    --border-color: #3e4042;
    --border: 1.5px solid var(--border-color);
    --box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
    --box-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    background-color: var(--bg-secondary);
}

.header {
    width: 100%;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 1000;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    width: 130px;
}

/* Light/dark logo switching */
.logo-light {
    display: inline-block;
}
.logo-dark {
    display: none;
}
[data-theme="dark"] .logo-light {
    display: none;
}
[data-theme="dark"] .logo-dark {
    display: inline-block;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.header-link a {
    font-size: 15px;
    font-weight: 500;
    color: var(--heading-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Header cart */
.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 1000px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-cart:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.header-cart i {
    font-size: 20px;
}

.header-cart .count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--primary-color);
    font-size: 24px;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    max-height: 0;
    width: 100%;
    padding: 0;
    background-color: var(--bg-primary);
    border-top: 1px solid transparent;
    box-shadow: var(--box-shadow-card);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
    z-index: 999;
}

.mobile-menu-list {
    padding: 0 5%;
}

.mobile-menu.active {
    max-height: 500px;
    padding: 20px 0;
    opacity: 1;
    transform: translateY(0);
    border-top-color: var(--border-color);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-item:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-menu-item:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-menu-item:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-menu-item:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-item a:hover {
    color: var(--primary-color);
}

.mobile-menu-item a i {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-menu-toggle {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.btn {
    height: 48px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.btn i {
    font-size: 18px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    box-shadow: var(--box-shadow);
}

.hero {
    background-color: var(--bg-hero);
    background-image: url('https://cdn.prod.website-files.com/68a629b0662a6fa63789bcfe/68a63695faa8385a0e6d03f4_Background%20Pattern.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    z-index: 2;
}

.hero-tags {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    gap: 12px;
    margin-bottom: 24px;
    background-color: var(--bg-primary);
    box-shadow: var(--box-shadow);
    border-radius: 20px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.hero-tag:hover {
    transform: translateY(-2px);
}

.hero-tag-new {
    background-color: #2563eb;
    color: var(--text-on-dark);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-secondary {
    background-color: var(--bg-primary);
    color: var(--heading-color);
    border: 2px solid var(--border-color);
}

.btn-hero-secondary:hover {
    border-color: var(--heading-color);
    background-color: var(--bg-section);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary i,
.btn-hero-secondary i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i,
.btn-hero-secondary:hover i {
    transform: translateX(4px);
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 50px auto 0;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: var(--box-shadow);
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.h-full {
    height: 100%;
}

.stats {
    padding: 50px 0;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.stats-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.stats-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.stats-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats-text h3 {
    color: var(--heading-color);
    font-size: 20px;
}

.stats-text p {
    white-space: nowrap;
    font-size: 14px;
    color: var(--heading-color);
}

.about-section {
    width: 100%;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.section-header .subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 100px;
    padding: 4px 12px 4px 10px;
    border: 2px solid var(--border-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-header .title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-header .desc {
    color: var(--text-muted);
    font-size: 15px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-item {
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.about-item.active {
    opacity: 1;
}

.about-item.active .about-title {
    color: var(--primary-color);
}

.about-item:hover {
    opacity: 1;
}

.about-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.about-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.about-item.active .about-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.about-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 0;
}

.about-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-image: linear-gradient(#f5f4ff, var(--bg-dark));
    padding: 40px;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.about-image.fade-out {
    opacity: 0;
}

.about-image.fade-in {
    opacity: 1;
}

.features {
    padding: 100px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.features-card {
    padding: 20px;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.features-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(74, 58, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: #f5f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.feature-text h3 {
    color: var(--heading-color);
    font-size: 20px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.automation-section {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-section);
}

.automation-cards-container {
    position: relative;
    height: 2000px;
}

.automation-card {
    position: sticky;
    top: 100px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    padding: 30px;
    border-radius: 32px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.automation-card:nth-child(1) {
    background-image: linear-gradient(#e0f2fe, #0ea5e9);
}

.automation-card:nth-child(2) {
    background-image: linear-gradient(#fff5f0, #ffd4b3);
}

.automation-card:nth-child(3) {
    background-image: linear-gradient(#f0f9ff, #b3e5fc);
}

.automation-card:nth-child(4) {
    background-image: linear-gradient(#f3e8ff, #d4b3ff);
}

[data-theme="dark"] .automation-card:nth-child(1) {
    background-image: linear-gradient(#0f172a, #1e293b);
}

[data-theme="dark"] .automation-card:nth-child(2) {
    background-image: linear-gradient(#451a03, #7c2d12);
}

[data-theme="dark"] .automation-card:nth-child(3) {
    background-image: linear-gradient(#0f172a, #1d4ed8);
}

[data-theme="dark"] .automation-card:nth-child(4) {
    background-image: linear-gradient(#1e1b4b, #4c1d95);
}

.automation-card:last-child {
    margin-bottom: 0;
}

.automation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(74, 58, 255, 0.15);
}

.automation-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.automation-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.2;
    margin: 0;
}

.automation-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.automation-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.automation-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--heading-color);
}

[data-theme="dark"] .automation-title,
[data-theme="dark"] .automation-desc,
[data-theme="dark"] .automation-feature-item {
    color: #ffffff;
}

.automation-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(74, 58, 255, 0.1);
}

.automation-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.integration-section {
    width: 100%;
    padding: 100px 0;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.integration-card {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
}

.integration-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.integration-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.integration-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.integration-text p {
    font-size: 14px;
    color: var(--heading-color);
}

.toggle-switch {
    position: relative;
    display: inline-block;
}

.toggle-switch input {
    display: none;
}

.toggle-label {
    display: block;
    position: relative;
    width: 70px;
    height: 35px;
    border-radius: 35px;
    background-color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-label::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.toggle-text {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 14px;
    font-weight: 500;
    user-select: none;
    transition: opacity 0.3s ease;
}

.toggle-switch input:not(:checked) + .toggle-label {
    background-color: #6b7280;
}

.toggle-switch input:not(:checked) + .toggle-label::after  {
    transform: translateX(-35px);
}

.toggle-switch input:not(:checked) + .toggle-label .toggle-text {
    opacity: 0;
}

.toggle-switch input:not(:checked) + .toggle-label::before  {
    content: 'Off';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 14px;
    font-weight: 500;
    user-select: none;
    transition: opacity 0.3s ease;
}

.reviews-section {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-section);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(15, 31, 61, 0.15);
    transform: translateY(-4px);
}

.review-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.review-rating i {
    font-size: 18px;
    color: #f59e0b;
}

.review-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar i {
    font-size: 24px;
    color: var(--text-on-dark);
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
}

.review-role {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 24px;
    }
}

.steps {
    background-color: var(--bg-dark);
    padding: 100px 0;
    color: var(--text-on-dark);
}

.steps .subtitle {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.steps .desc {
    color: var(--text-on-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.steps-card {
    padding: 20px 24px 24px;
    background-color: var(--bg-primary);
    border-radius: 14px;
}

.steps-card h3 {
    color: var(--heading-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.steps-card p {
    font-size: 14px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.step-image img {
    width: 100%;
}

.faq {
    padding: 100px 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 20px;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding-top: 0;
}

.faq-answer.active {
    max-height: 500px;
    opacity: 1;
    padding-top: 16px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.cta {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

.cta .subtitle {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.cta .desc {
    color: var(--text-on-dark);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-white {
    background-color: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--bg-primary);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-on-dark);
    border: 2px solid var(--text-on-dark);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark);
}

.footer {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-top: 2px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo {
    width: 130px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--heading-color);
}

.footer-tagline {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-list li a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-list li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.website-link {
    color: #4a3aff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.website-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.social-icon i {
    font-size: 20px;
}

/* Scroll Animation Styles - Pure CSS */
section:not(.hero) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section:not(.hero).animate {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.stats-card,
.features-card,
.integration-card,
.steps-card,
.faq-item,
.automation-card,
.review-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats-card.animate,
.features-card.animate,
.integration-card.animate,
.steps-card.animate,
.faq-item.animate,
.automation-card.animate,
.review-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for cards */
.stats-card:nth-child(1) { transition-delay: 0.1s; }
.stats-card:nth-child(2) { transition-delay: 0.2s; }
.stats-card:nth-child(3) { transition-delay: 0.3s; }
.stats-card:nth-child(4) { transition-delay: 0.4s; }

.features-card:nth-child(1) { transition-delay: 0.1s; }
.features-card:nth-child(2) { transition-delay: 0.2s; }
.features-card:nth-child(3) { transition-delay: 0.3s; }
.features-card:nth-child(4) { transition-delay: 0.4s; }
.features-card:nth-child(5) { transition-delay: 0.5s; }
.features-card:nth-child(6) { transition-delay: 0.6s; }

.integration-card:nth-child(1) { transition-delay: 0.1s; }
.integration-card:nth-child(2) { transition-delay: 0.2s; }
.integration-card:nth-child(3) { transition-delay: 0.3s; }
.integration-card:nth-child(4) { transition-delay: 0.4s; }
.integration-card:nth-child(5) { transition-delay: 0.5s; }
.integration-card:nth-child(6) { transition-delay: 0.6s; }

.steps-card:nth-child(1) { transition-delay: 0.1s; }
.steps-card:nth-child(2) { transition-delay: 0.2s; }
.steps-card:nth-child(3) { transition-delay: 0.3s; }

.review-card:nth-child(1) { transition-delay: 0.1s; }
.review-card:nth-child(2) { transition-delay: 0.2s; }
.review-card:nth-child(3) { transition-delay: 0.3s; }
.review-card:nth-child(4) { transition-delay: 0.4s; }
.review-card:nth-child(5) { transition-delay: 0.5s; }
.review-card:nth-child(6) { transition-delay: 0.6s; }

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }

.automation-card:nth-child(1) { transition-delay: 0.1s; }
.automation-card:nth-child(2) { transition-delay: 0.2s; }
.automation-card:nth-child(3) { transition-delay: 0.3s; }
.automation-card:nth-child(4) { transition-delay: 0.4s; }

.cta,
.footer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta.animate,
.footer.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero content animations */
.hero-tags {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    color: var(--text-primary);
}

.hero-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
    color: var(--text-primary);
}

.hero-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.hero-tags.animate,
.hero-title.animate,
.hero-description.animate,
.hero-buttons.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Legal, Privacy, Support content pages - theme-aware */
.content-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 20px;
}

.legal-page .page-title,
.support-page .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.legal-page .page-date,
.support-page .page-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-page .page-body,
.support-page .page-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.legal-page .page-body section,
.support-page .page-body section {
    margin-bottom: 2.5rem;
}

.legal-page .page-body h2,
.support-page .page-body h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.legal-page .page-body h3,
.support-page .page-body h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.legal-page .page-body ul,
.legal-page .page-body ol,
.support-page .page-body ul,
.support-page .page-body ol {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.legal-page .page-body p,
.support-page .page-body p {
    margin: 0 0 0.5em;
}

.legal-page .page-body p.page-contact-detail,
.support-page .page-body p.page-contact-detail {
    margin-top: 0.5rem;
}

.legal-page .page-body a,
.support-page .page-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-page .page-body a:hover,
.support-page .page-body a:hover {
    text-decoration: underline;
}

.support-page .contact-box {
    background-color: var(--bg-section);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

.support-page .contact-box p {
    margin-bottom: 0.5rem;
}

.support-page .contact-box p:last-child {
    margin-bottom: 0;
}

/* ========== Marketplace (public pages â€” app layout) ========== */
.card {
    background-color: var(--bg-primary);
    border: var(--border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.card .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.form-group {
    min-width: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.required {
    color: red;
}

.tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tooltip-wrapper .la-info-circle {
    font-size: 16px;
    cursor: help;
    position: relative;
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: var(--box-shadow);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    min-width: 200px;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

.form-control {
    width: 100%;
    height: 45px;
    border: 1px solid var(--border-color);
    outline: none;
    padding: 0 20px;
    font-size: 14.5px;
    border-radius: 12px;
    transition: border-color 0.3s ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--primary-color);
}

.select {
    width: 100%;
    position: relative;
}

.select-preview {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: var(--border);
    background-color: var(--bg-primary);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    color: var(--text-secondary);
}

.select-preview>span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-icon {
    font-size: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: var(--bg-primary);
    margin-top: 10px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
    border-radius: 12px;
}

.select-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.select.active .select-icon {
    transform: rotate(180deg);
}

.select-search input {
    font-size: 13px;
}

.select-search input::placeholder {
    font-size: 13px;
}

.select-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 280px;
    overflow-y: auto;
    min-height: 0;
}

.select-item {
    width: 100%;
    min-height: 50px;
    flex-shrink: 0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
    border-radius: var(--border-radius);
}

.select-item.hidden {
    display: none;
}

.select-item:hover {
    color: #fff;
    background-color: var(--primary-color);
}

.select-price .select-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.select-price .select-item-name {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.select-price .price {
    flex-shrink: 0;
    font-weight: 600;
}

/* ========== Product detail (Social log Ã¢â‚¬â€œ Buy now page) ========== */
.product-detail-page {
    padding: 0;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.product-detail-back:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    gap: 10px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start;
}

.product-detail-info {
    min-width: 0;
}

.product-detail-media {
    display: block;
}

.product-detail-image-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    margin-bottom: 20px;
}

.product-detail-image-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.product-detail-image-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 56px;
    background:
        radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--primary-color) 10%, transparent), transparent 60%),
        var(--bg-secondary);
}

.product-detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-detail-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 14px 0;
    line-height: 1.25;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    font-size: 14px;
}

.product-detail-price {
    font-weight: 800;
    font-size: 24px;
    color: var(--text-primary);
}

.product-detail-price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.product-detail-stock.in {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.product-detail-stock.out {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.product-detail-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.product-detail-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.product-detail-section-title i {
    color: var(--primary-color);
}

.product-detail-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.product-detail-buy-wrap {
    position: sticky;
    top: 90px;
    min-width: 0;
}

.product-detail-buy-card {
    background: var(--bg-primary);
    border: var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}

.product-detail-buy-card .card-body {
    padding: 24px;
}

.product-detail-buy-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.product-detail-buy-title i {
    color: var(--primary-color);
}

.product-detail-buy-form .form-group {
    margin-bottom: 18px;
}

.product-detail-buy-form .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.qty-stepper {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.qty-stepper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.qty-btn {
    width: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.product-detail-buy-form .qty-stepper .form-control {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.product-detail-buy-form .qty-stepper .form-control:focus {
    outline: none;
    box-shadow: none;
}

.product-detail-buy-form .text-muted {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.product-detail-summary {
    list-style: none;
    margin: 0 0 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.product-detail-summary li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.product-detail-summary li.total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.product-detail-total-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
}

.product-detail-purchase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-detail-purchase-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

.product-detail-purchase-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.w-100 {
    width: 100%;
}

.product-detail-view-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.product-detail-view-cart:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 6%, var(--bg-primary));
}

.product-detail-trust {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.product-detail-trust i {
    color: var(--primary-color);
    font-size: 16px;
}

.product-detail-out-of-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(234, 179, 8, 0.12);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
}

/* Marketplace Ã¢â‚¬â€ store, cart, seller hub (frontend public + user dashboard) */

.mp-store-page {
    padding: 24px;
}

.mp-store-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.mp-store-header-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
    font-size: 26px;
}

.mp-store-header-text {
    flex: 1;
    min-width: 0;
}

@media (min-width: 769px) {
    .mp-store-header-text {
        min-width: 200px;
    }
}

.mp-store-header .title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.mp-store-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.mp-store-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

@media (max-width: 768px) {
    .mp-store-header {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 16px;
        row-gap: 12px;
    }

    .mp-store-header-icon {
        grid-column: 1;
        grid-row: 1;
    }

    .mp-store-header-text {
        grid-column: 2;
        grid-row: 1;
    }

    .mp-store-header-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }
}

.mp-store-count {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.mp-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-store-btn.primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.mp-store-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.mp-store-btn.ghost {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.mp-store-search {
    margin-bottom: 28px;
}

.mp-search-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
}

.mp-search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 15%, transparent);
}

.mp-search-bar input[type="text"],
.mp-search-bar select {
    flex: 1;
    min-width: 120px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    padding: 0 12px;
}

.mp-search-bar select {
    max-width: 180px;
    cursor: pointer;
}

.mp-search-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.mp-search-clear {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    display: inline-flex;
    gap: 4px;
}

.mp-filter-selects {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 8px;
}

.mp-filter-selects .form-group {
    margin-bottom: 0;
}

.mp-filter-selects .select-preview {
    height: 44px;
    padding: 0 14px;
}

.mp-seller-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

/* Seller order card: allow the status dropdown to escape the card edge */
.mp-store-page .mp-store-card--order {
    overflow: visible;
}

.mp-order-card-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.mp-seller-fulfill-form {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 1fr auto;
    gap: 12px;
    align-items: end;
    margin-top: 12px;
}

.mp-seller-fulfill-form .form-group {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .mp-filter-selects,
    .mp-seller-fulfill-form {
        grid-template-columns: 1fr;
    }
}

/* User dashboard marketplace data tables */
.mp-store-page .table-responsive {
    margin-top: 8px;
}

.mp-store-page .table th:last-child,
.mp-store-page .table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.dash-table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.dash-table-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dash-table-btn.edit {
    border-color: color-mix(in srgb, var(--primary-color) 40%, var(--border-color));
    background: color-mix(in srgb, var(--primary-color) 14%, var(--bg-primary));
    color: var(--primary-color);
}

.dash-table-btn.edit:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.dash-table-btn.danger {
    border-color: color-mix(in srgb, #dc3545 40%, var(--border-color));
    background: color-mix(in srgb, #dc3545 12%, var(--bg-primary));
    color: #dc3545;
}

.dash-table-btn.danger:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.35);
}

.dash-table-btn.view {
    border-color: color-mix(in srgb, #0ea5e9 40%, var(--border-color));
    background: color-mix(in srgb, #0ea5e9 12%, var(--bg-primary));
    color: #0284c7;
}

.dash-table-btn.view:hover {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.35);
}

.dash-table-btn i {
    font-size: 18px;
    line-height: 1;
}

.mp-image-input-hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.mp-image-upload-box {
    padding: 16px;
    border-radius: 14px;
    border: 1px dashed color-mix(in srgb, var(--primary-color) 45%, var(--border-color));
    background: var(--bg-primary);
}

.mp-image-upload-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.mp-image-tile {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    border: none;
    padding: 0;
    background: var(--bg-secondary);
}

.mp-image-tile.is-hidden {
    display: none !important;
}

.mp-image-tile-preview img,
.mp-image-uploading-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-image-tile-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s ease;
}

.mp-image-tile-remove:hover {
    background: #dc3545;
}

.mp-image-tile-uploading .mp-image-uploading-blur {
    filter: blur(6px);
    transform: scale(1.08);
}

.mp-image-uploading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.mp-image-progress {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
}

.mp-image-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: #22c55e;
    transition: width 0.12s ease;
}

.mp-image-tile-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px dashed color-mix(in srgb, var(--primary-color) 40%, var(--border-color));
    background: var(--bg-primary);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mp-image-tile-add:hover {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 6%, var(--bg-primary));
}

.mp-image-add-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--text-secondary) 18%, var(--bg-secondary));
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.mp-image-tile-add:hover .mp-image-add-icon {
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 12%, var(--bg-secondary));
}

.mp-product-field-hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.mp-product-type-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, #0ea5e9 35%, var(--border-color));
    background: color-mix(in srgb, #0ea5e9 8%, var(--bg-primary));
    font-size: 14px;
    color: var(--text-secondary);
}

.mp-product-type-note i {
    font-size: 20px;
    color: #0284c7;
    flex-shrink: 0;
    margin-top: 1px;
}

.mp-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.mp-store-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.mp-store-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.12);
}

.mp-store-card-media {
    position: relative;
    height: 170px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.mp-store-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mp-store-card:hover .mp-store-card-media img {
    transform: scale(1.05);
}

.mp-store-card-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--text-secondary);
    background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--primary-color) 10%, transparent), transparent 60%), var(--bg-secondary);
}

.mp-store-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.mp-store-badge.in { background: rgba(22, 163, 74, 0.92); }
.mp-store-badge.out { background: rgba(220, 53, 69, 0.92); }

.mp-store-type {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.mp-store-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
}

.mp-store-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.mp-store-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.mp-store-card-seller {
    font-size: 12px;
    color: var(--text-secondary);
}

.mp-store-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.mp-store-card-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
}

.mp-store-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
}

.mp-store-card:hover .mp-store-card-cta {
    background: var(--primary-color);
    color: #fff;
}

.mp-store-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 24px;
}

.mp-store-empty i {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.7;
    display: block;
    margin-bottom: 12px;
}

.mp-store-pagination {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.mp-store-search {
    margin-bottom: 28px;
}

.mp-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    margin-bottom: 18px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    cursor: text;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mp-search-bar-icon {
    color: var(--text-secondary);
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}

.mp-search-bar-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    -webkit-appearance: none;
    appearance: none;
}

.mp-search-bar-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 1;
}

.mp-search-bar-input::-webkit-search-decoration,
.mp-search-bar-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.mp-search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 14%, transparent);
}

.mp-search-bar:focus-within .mp-search-bar-icon {
    color: var(--primary-color);
}

.mp-search-clear {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    display: inline-flex;
    gap: 4px;
    text-decoration: none;
}

.mp-filter-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 16px;
    align-items: end;
}

.mp-filter-selects .form-group {
    margin-bottom: 0;
}

.mp-filter-selects .select-preview {
    height: 44px;
    padding: 0 14px;
}

.mp-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-filter-reset {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
}

.mp-products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.mp-products-head-text h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mp-products-head-text h2 i {
    color: var(--primary-color);
    font-size: 20px;
}

.mp-products-head-text p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========== Shared products grid/card ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.products-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.products-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.12);
}

.products-card-media {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.products-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.products-card:hover .products-card-media img {
    transform: scale(1.05);
}

.products-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 44px;
    background:
        radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--primary-color) 10%, transparent), transparent 60%),
        var(--bg-secondary);
}

.products-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.products-badge.in {
    background: rgba(22, 163, 74, 0.9);
    color: #fff;
}

.products-badge.out {
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
}

.products-type {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.products-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.products-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.products-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-card-seller {
    font-size: 12px;
    color: var(--text-secondary);
}

.products-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.products-card-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
}

.products-card-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.products-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.products-card:hover .products-card-cta {
    background: var(--primary-color);
    color: #fff;
    gap: 10px;
}

.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 24px;
    color: var(--text-secondary);
}

.products-empty i {
    font-size: 48px;
    margin-bottom: 12px;
    color: var(--primary-color);
    opacity: 0.7;
    display: block;
}

.products-empty p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.products-empty span {
    font-size: 14px;
}

.products-pagination {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.mp-public-hero {
    padding: 48px 0 36px;
    background: color-mix(in srgb, var(--primary-color) 4%, var(--bg-primary));
    border-bottom: 1px solid var(--border-color);
}

.mp-public-hero .container {
    display: block;
}

.mp-public-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.mp-public-hero-brand {
    margin-bottom: 12px;
}

.mp-public-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.15;
}

.mp-public-hero p {
    margin: 0 0 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
    max-width: 560px;
}

.mp-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mp-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 8%, var(--bg-primary));
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.mp-trust-badge i {
    font-size: 15px;
    color: var(--primary-color);
}

.mp-trust-badge:nth-child(1) i { color: #3b82f6; }
.mp-trust-badge:nth-child(2) i { color: #16a34a; }
.mp-trust-badge:nth-child(3) i { color: #f59e0b; }

/* Marketplace catalog card refinements */
.mp-catalog .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.mp-catalog .products-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #166534;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

.mp-catalog .products-badge.in {
    background: rgba(255, 255, 255, 0.95);
    color: #166534;
}

.mp-catalog .products-badge.out {
    background: rgba(255, 255, 255, 0.95);
    color: #b91c1c;
}

.mp-catalog .products-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.mp-catalog .products-type {
    background: color-mix(in srgb, var(--primary-color) 12%, #fff);
    color: var(--primary-color);
    text-transform: capitalize;
}

.mp-catalog .products-card-body {
    gap: 8px;
}

.mp-catalog .products-card-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.mp-catalog .products-card-seller {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.mp-catalog .products-card-seller i {
    font-size: 14px;
}

.mp-catalog .products-card-price {
    display: block;
    margin: 4px 0 2px;
}

.mp-catalog .products-card-stock.in {
    color: #16a34a;
}

.mp-catalog .products-card-stock.out {
    color: #dc2626;
}

.mp-catalog .products-card-cta {
    background: transparent;
    padding: 0;
    font-size: 13px;
}

.mp-catalog .products-card:hover .products-card-cta {
    background: transparent;
    color: var(--primary-color);
}

/* Empty cart state */
.mp-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 24px 56px;
    max-width: 520px;
    margin: 0 auto;
}

.mp-cart-empty-visual {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.mp-cart-empty-glow {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--primary-color) 28%, transparent) 0%,
        color-mix(in srgb, var(--primary-color) 10%, transparent) 45%,
        transparent 70%
    );
    filter: blur(2px);
}

.mp-cart-empty-cart {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    font-size: 96px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-cart-empty-cart > i {
    display: block;
}

.mp-cart-empty-face {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -40%);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 1.5px solid color-mix(in srgb, var(--primary-color) 25%, var(--border-color));
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-color) 18%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mp-cart-empty-spark {
    position: absolute;
    z-index: 2;
    width: 10px;
    height: 10px;
    color: var(--primary-color);
    opacity: 0.55;
}

.mp-cart-empty-spark::before,
.mp-cart-empty-spark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

.mp-cart-empty-spark::before {
    width: 10px;
    height: 2px;
}

.mp-cart-empty-spark::after {
    width: 2px;
    height: 10px;
}

.mp-cart-empty-spark-1 { top: 22px; left: 28px; }
.mp-cart-empty-spark-2 { top: 34px; right: 30px; }
.mp-cart-empty-spark-3 { bottom: 36px; left: 36px; }
.mp-cart-empty-spark-4 { bottom: 28px; right: 24px; transform: scale(0.75); }

.mp-cart-empty-title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.mp-cart-empty-desc {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 380px;
}

.mp-cart-empty-cta {
    min-width: 260px;
    height: 48px;
    border-radius: 999px;
    padding: 0 22px;
    justify-content: space-between;
    gap: 12px;
}

.mp-cart-empty-cta span {
    flex: 1;
    text-align: center;
}

.mp-cart-page {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.mp-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.mp-cart-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mp-cart-head-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
    font-size: 24px;
}

.mp-cart-title {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.mp-cart-desc {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.mp-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.mp-cart-main {
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-primary);
}

.mp-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.mp-cart-table th,
.mp-cart-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    vertical-align: middle;
}

.mp-cart-table tbody tr:last-child td {
    border-bottom: none;
}

.mp-cart-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    font-weight: 700;
    background: var(--bg-secondary);
}

.mp-cart-col-action {
    width: 48px;
    text-align: center;
}

.mp-cart-product {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mp-cart-product img,
.mp-cart-product-fallback {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.mp-cart-product-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 22px;
}

.mp-cart-product-name {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.mp-cart-product-name:hover {
    color: var(--primary-color);
}

.mp-cart-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-primary);
}

.mp-cart-step {
    width: 34px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.mp-cart-step:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.mp-cart-qty {
    width: 42px;
    height: 36px;
    padding: 0;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.mp-cart-qty::-webkit-outer-spin-button,
.mp-cart-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mp-cart-remove {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #ef4444;
    font-size: 18px;
    cursor: pointer;
}

.mp-cart-remove:hover {
    background: rgba(239, 68, 68, 0.1);
}

.mp-cart-summary {
    border-radius: 14px;
    padding: 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.mp-cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-secondary);
}

.mp-cart-summary-row strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.mp-cart-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.mp-status-pill.pending { background: #fef3c7; color: #92400e; }
.mp-status-pill.approved, .mp-status-pill.paid { background: #dcfce7; color: #166534; }
.mp-status-pill.digital { background: #dbeafe; color: #1e40af; }
.mp-status-pill.physical { background: #f3e8ff; color: #6b21a8; }

/* Product detail (public marketplace) */
.product-detail-page { padding: 0; }

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
}

.product-detail-back:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: start;
}

.product-detail-image-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    margin-bottom: 20px;
}

.product-detail-image-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.product-detail-image-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 56px;
    background: var(--bg-secondary);
}

.product-detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-detail-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 14px;
    line-height: 1.25;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.product-detail-price {
    font-weight: 800;
    font-size: 24px;
    color: var(--text-primary);
}

.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.product-detail-stock.in {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.product-detail-stock.out {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.product-detail-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.product-detail-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.product-detail-section-title i {
    color: var(--primary-color);
}

.product-detail-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.product-detail-buy-wrap {
    position: sticky;
    top: 90px;
    min-width: 0;
}

.product-detail-buy-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}

.product-detail-buy-card .card-body {
    padding: 24px;
}

.product-detail-buy-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
}

.product-detail-buy-title i {
    color: var(--primary-color);
}

.product-detail-buy-form .form-group {
    margin-bottom: 18px;
}

.product-detail-buy-form .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.qty-stepper {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qty-stepper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.qty-btn {
    width: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.product-detail-buy-form .qty-stepper .form-control {
    flex: 1;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: none;
}

.product-detail-buy-form .qty-stepper .form-control:focus {
    outline: none;
    box-shadow: none;
}

.product-detail-trust {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.product-detail-trust i {
    color: var(--primary-color);
    font-size: 16px;
}

.product-detail-out-of-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(234, 179, 8, 0.12);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .mp-filter-selects {
        grid-template-columns: 1fr;
    }

    .mp-filter-actions {
        width: 100%;
    }

    .mp-filter-actions .btn-primary {
        flex: 1;
    }

    .mp-public-hero {
        padding: 36px 0 28px;
    }

    .mp-trust-badges {
        gap: 8px;
    }

    .mp-store-grid {
        grid-template-columns: 1fr;
    }

    .mp-cart-page {
        padding: 20px;
    }

    .mp-cart-layout {
        grid-template-columns: 1fr;
    }

    .mp-cart-head {
        align-items: flex-start;
    }

    .mp-cart-table thead {
        display: none;
    }

    .mp-cart-table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px 12px;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .mp-cart-table tbody tr:last-child {
        border-bottom: none;
    }

    .mp-cart-table td {
        display: block;
        padding: 0;
        border: none;
    }

    .mp-cart-table td[data-label="Product"] {
        grid-column: 1 / -1;
    }

    .mp-cart-table td[data-label="Price"],
    .mp-cart-table td[data-label="Qty"],
    .mp-cart-table td[data-label="Total"] {
        font-size: 13px;
    }

    .mp-cart-table td[data-label="Price"]::before,
    .mp-cart-table td[data-label="Qty"]::before,
    .mp-cart-table td[data-label="Total"]::before {
        content: attr(data-label) ": ";
        color: var(--text-secondary);
        font-weight: 600;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-right: 4px;
    }

    .mp-cart-col-action {
        grid-column: 2;
        grid-row: 2 / 4;
        align-self: center;
        justify-self: end;
        width: auto;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-buy-wrap {
        position: static;
    }
}

/* Marketplace checkout (public layout) */
.page-section:has(.mp-checkout-page) {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.page-section:has(.mp-checkout-page) > .container {
    max-width: none;
    width: min(100% - 48px, 1400px);
}

.mp-checkout-page {
    width: 100%;
}

.mp-checkout-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.mp-checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
}

.mp-checkout-back:hover {
    color: var(--primary-color);
}

.mp-checkout-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

.mp-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.mp-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.mp-checkout-wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 20px;
    background: var(--bg-primary);
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--box-shadow);
}

.mp-checkout-wallet-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-checkout-wallet-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    color: var(--primary-color);
    font-size: 22px;
}

.mp-checkout-wallet-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.mp-checkout-wallet-amount {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.mp-checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mp-checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-primary);
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--box-shadow);
}

.mp-checkout-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mp-checkout-item-img,
.mp-checkout-item-fallback {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.mp-checkout-item-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 22px;
}

.mp-checkout-item-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.mp-checkout-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mp-checkout-item-qty {
    font-size: 13px;
    color: var(--text-secondary);
}

.mp-checkout-item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.mp-checkout-shipping {
    padding: 22px;
    background: var(--bg-primary);
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--box-shadow);
}

.mp-checkout-shipping-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.mp-checkout-shipping-head > i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 2px;
}

.mp-checkout-shipping-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.mp-checkout-shipping-desc {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.mp-checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mp-checkout-fields .form-group {
    margin-bottom: 0;
}

.mp-checkout-fields .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.mp-checkout-fields .required {
    color: #ef4444;
}

.mp-checkout-field-full {
    grid-column: 1 / -1;
}

.mp-checkout-input {
    position: relative;
}

.mp-checkout-input > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 1;
}

.mp-checkout-input-area > i {
    top: 16px;
    transform: none;
}

.mp-checkout-input .form-control,
.mp-checkout-input .textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mp-checkout-input .form-control:focus,
.mp-checkout-input .textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.mp-checkout-input .textarea {
    resize: vertical;
    min-height: 96px;
}

.mp-checkout-input select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
 background-repeat: no-repeat;
 background-position: right 14px center;
 padding-right: 40px;
}

.mp-checkout-summary {
 position: sticky;
 top: 20px;
 padding: 22px;
 background: var(--bg-primary);
 border: var(--border);
 border-radius: 14px;
 box-shadow: var(--box-shadow);
}

.mp-checkout-summary-title {
 margin: 0 0 18px;
 font-size: 18px;
 font-weight: 800;
 color: var(--text-primary);
}

.mp-checkout-summary-rows {
 display: flex;
 flex-direction: column;
 gap: 12px;
 margin-bottom: 18px;
}

.mp-checkout-summary-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 font-size: 14px;
 color: var(--text-secondary);
}

.mp-checkout-summary-row span:last-child {
 color: var(--text-primary);
 font-weight: 600;
}

.mp-checkout-summary-total {
 padding-top: 14px;
 margin-top: 4px;
 border-top: 1px solid var(--border-color);
 font-size: 15px;
 color: var(--text-primary);
}

.mp-checkout-summary-total strong {
 font-size: 20px;
 font-weight: 800;
 color: var(--text-primary);
}

.mp-checkout-trust {
 list-style: none;
 margin: 0 0 18px;
 padding: 0;
 display: flex;
 flex-direction: column;
 gap: 10px;
}

.mp-checkout-trust li {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 padding: 12px 14px;
 border-radius: 12px;
 background: color-mix(in srgb, var(--primary-color) 8%, transparent);
}

.mp-checkout-trust i {
 font-size: 18px;
 color: var(--primary-color);
 margin-top: 1px;
}

.mp-checkout-trust strong {
 display: block;
 font-size: 13px;
 font-weight: 700;
 color: var(--text-primary);
 margin-bottom: 2px;
}

.mp-checkout-trust span {
 display: block;
 font-size: 12px;
 color: var(--text-secondary);
 line-height: 1.4;
}

.mp-checkout-submit {
 margin-top: 4px;
}

@media (max-width: 960px) {
 .mp-checkout-layout {
 grid-template-columns: 1fr;
 }

 .mp-checkout-summary {
 position: static;
 }
}

@media (max-width: 640px) {
 .page-section:has(.mp-checkout-page) > .container {
 width: calc(100% - 24px);
 }

 .mp-checkout-fields {
 grid-template-columns: 1fr;
 }

 .mp-checkout-item {
 flex-direction: column;
 align-items: flex-start;
 }
}

/* Seller apply banner (dashboard) */
.mp-seller-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    margin-bottom: 20px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 25%, var(--border-color));
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 8%, var(--bg-primary)), var(--bg-primary));
}

.mp-seller-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
}

.mp-seller-cta-text {
    flex: 1;
    min-width: 200px;
}

.mp-seller-cta-text h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.mp-seller-cta-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.mp-seller-cta.pending { border-color: #f59e0b; background: color-mix(in srgb, #f59e0b 8%, var(--bg-primary)); }
.mp-seller-cta.active { border-color: #16a34a; }

/* Seller hub stats */
.mp-seller-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .mp-seller-stats {
        grid-template-columns: 1fr;
    }
}

.mp-seller-stat {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.mp-seller-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.mp-seller-stat span {
    font-size: 13px;
    color: var(--text-secondary);
}

.mp-status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.mp-status-pill.pending { background: #fef3c7; color: #92400e; }
.mp-status-pill.active, .mp-status-pill.approved, .mp-status-pill.paid { background: #dcfce7; color: #166534; }
.mp-status-pill.rejected, .mp-status-pill.suspended, .mp-status-pill.cancelled { background: #fee2e2; color: #991b1b; }
.mp-status-pill.digital { background: #dbeafe; color: #1e40af; }
.mp-status-pill.physical { background: #f3e8ff; color: #6b21a8; }

@media (max-width: 640px) {
    .mp-store-page { padding: 16px; }
    .mp-store-grid { grid-template-columns: 1fr; }
    .mp-cart-table thead { display: none; }
    .mp-cart-table tr { display: block; margin-bottom: 16px; border: 1px solid var(--border-color); border-radius: 12px; }
    .mp-cart-table td { display: block; border: none; }
}

.text-muted { color: var(--text-secondary); }
.mt-3 { margin-top: 1rem; }
.page-section { padding: 2rem 0; }
.mp-cart-qty {
    width: 72px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

