
/* ========================================
   E-COMMERCE HERO
======================================== */

.ecommerce-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 690px;
    padding: 85px 0;
    overflow: hidden;
    background: #f3f7ff;
    font-family: inherit;
    box-sizing: border-box;
}

.ecommerce-hero *,
.ecommerce-hero *::before,
.ecommerce-hero *::after {
    box-sizing: border-box;
}

/* Background image */
.ecommerce-hero .ecommerce-bg-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Image overlay */
.ecommerce-hero .ecommerce-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(247, 250, 255, 0.96) 0%,
        rgba(247, 250, 255, 0.91) 45%,
        rgba(235, 243, 255, 0.78) 100%
    );
}

/* Main grid */
.ecommerce-hero .ecommerce-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 65px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 75px;
    padding-right: 65px;
}

/* ========================================
   LEFT CONTENT
======================================== */

.ecommerce-hero .ecommerce-hero-content {
    width: 100%;
    max-width: 650px;
    min-width: 0;
    margin-left: 15px;
}

.ecommerce-hero .ecommerce-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    padding: 10px 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    background: rgba(239, 246, 255, 0.92);
    color: #2563eb;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    line-height: 1.5;
}

.ecommerce-hero .ecommerce-hero-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ecommerce-hero .ecommerce-hero-content h1 {
    margin: 0 0 24px;
    color: #10213e;
    font-family: inherit;
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.4px;
    overflow-wrap: break-word;
}

.ecommerce-hero .ecommerce-hero-content h1 span {
    color: #2563eb;
    background: linear-gradient(90deg, #2563eb, #0891b2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ecommerce-hero .ecommerce-hero-content > p {
    max-width: 570px;
    margin: 0 0 28px;
    color: #53647c;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
}

/* Buttons */
.ecommerce-hero .ecommerce-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.ecommerce-hero .ecommerce-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 13px 21px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ecommerce-hero .ecommerce-hero-actions .primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.ecommerce-hero .ecommerce-hero-actions .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
}

.ecommerce-hero .ecommerce-hero-actions .secondary-btn {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(255, 255, 255, 0.78);
}

.ecommerce-hero .ecommerce-hero-actions .secondary-btn:hover {
    transform: translateY(-3px);
    background: #eff6ff;
    border-color: #2563eb;
}

/* Trust points */
.ecommerce-hero .ecommerce-trust-points {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px 19px;
}

.ecommerce-hero .ecommerce-trust-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.ecommerce-hero .ecommerce-trust-points i {
    color: #2563eb;
    font-size: 14px;
}

/* ========================================
   RIGHT DASHBOARD
======================================== */

.ecommerce-hero .ecommerce-hero-visual {
    position: relative;
    width: 100%;
    max-width: 570px;
    min-width: 0;
    justify-self: end;
}

.ecommerce-hero .ecommerce-dashboard {
    position: relative;
    width: 100%;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 65px rgba(30, 64, 175, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Dashboard heading */
.ecommerce-hero .ecommerce-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.ecommerce-hero .ecommerce-dashboard-header h3 {
    margin: 0;
    color: #172554;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.ecommerce-hero .ecommerce-dashboard-header p {
    margin: 4px 0 0;
    color: #64748b;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;
}

/* Live status */
.ecommerce-hero .ecommerce-dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 30px;
    background: #ecfdf5;
    color: #047857;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.ecommerce-hero .ecommerce-dashboard-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

/* Dashboard navigation */
.ecommerce-hero .ecommerce-dashboard-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.ecommerce-hero .ecommerce-dashboard-nav span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
}

.ecommerce-hero .ecommerce-dashboard-nav span.active {
    background: #2563eb;
    color: #fff;
}

/* Overview label */
.ecommerce-hero .ecommerce-dashboard-label {
    margin-top: 18px;
    color: #64748b;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.ecommerce-hero .ecommerce-performance-title {
    margin: 9px 0 16px;
    color: #172554;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

/* Metrics */
.ecommerce-hero .ecommerce-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.ecommerce-hero .ecommerce-metric-card {
    min-width: 0;
    padding: 15px;
    border: 1px solid #e9eef7;
    border-radius: 12px;
    background: #f9fbff;
}

.ecommerce-hero .metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.ecommerce-hero .metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 14px;
}

.ecommerce-hero .products-icon {
    color: #7c3aed;
    background: #f3e8ff;
}

.ecommerce-hero .customers-icon {
    color: #0891b2;
    background: #e0f7ff;
}

.ecommerce-hero .revenue-icon {
    color: #059669;
    background: #d1fae5;
}

.ecommerce-hero .metric-change {
    color: #059669;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.ecommerce-hero .metric-label {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.5;
}

.ecommerce-hero .metric-value {
    display: block;
    color: #172554;
    font-family: inherit;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* ========================================
   SALES CHART
======================================== */

.ecommerce-hero .ecommerce-sales-chart {
    padding: 17px;
    border: 1px solid #e9eef7;
    border-radius: 12px;
    background: #fff;
}

.ecommerce-hero .ecommerce-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
}

.ecommerce-hero .ecommerce-chart-header h4 {
    margin: 0;
    color: #172554;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.ecommerce-hero .ecommerce-chart-header p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-family: inherit;
    font-size: 10px;
    line-height: 1.5;
}

.ecommerce-hero .chart-period {
    color: #64748b;
    font-family: inherit;
    font-size: 10px;
    line-height: 1.5;
    text-align: right;
}

.ecommerce-hero .ecommerce-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 110px;
    padding: 0 4px;
    border-bottom: 1px solid #e2e8f0;
}

.ecommerce-hero .chart-column {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    height: 100%;
    min-width: 0;
}

.ecommerce-hero .ecommerce-chart-bar {
    width: 100%;
    max-width: 32px;
    min-height: 8px;
    height: var(--bar-height, 50%);
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #93c5fd, #3b82f6);
    transition: opacity 0.25s ease;
}

.ecommerce-hero .ecommerce-chart-bar:hover {
    opacity: 0.7;
}

.ecommerce-hero .ecommerce-chart-bar.highlight {
    background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.ecommerce-hero .chart-column > span {
    padding-bottom: 8px;
    color: #64748b;
    font-family: inherit;
    font-size: 10px;
}

/* ========================================
   FLOATING CARDS
======================================== */

.ecommerce-hero .ecommerce-floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: calc(100% - 20px);
    padding: 13px 16px;
    border: 1px solid #edf2fa;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.ecommerce-hero .floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 16px;
}

.ecommerce-hero .floating-icon.secure-icon {
    color: #059669;
    background: #ecfdf5;
}

.ecommerce-hero .floating-text {
    min-width: 0;
}

.ecommerce-hero .floating-text strong {
    display: block;
    color: #172554;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.ecommerce-hero .floating-text small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-family: inherit;
    font-size: 10px;
    line-height: 1.5;
}

.ecommerce-hero .ecommerce-floating-card.card-top {
    top: -23px;
    right: -15px;
}

.ecommerce-hero .ecommerce-floating-card.card-bottom {
    bottom: 20px;
    left: -28px;
}

/* ========================================
   RESPONSIVE: LAPTOP
======================================== */

@media (max-width: 1200px) {
    .ecommerce-hero {
        min-height: 640px;
        padding: 70px 0;
    }

    .ecommerce-hero .ecommerce-hero-grid {
        gap: 40px;
        padding-left: 45px;
        padding-right: 40px;
    }

    .ecommerce-hero .ecommerce-hero-content {
        margin-left: 0;
    }

    .ecommerce-hero .ecommerce-dashboard {
        padding: 20px;
    }

    .ecommerce-hero .ecommerce-metric-card {
        padding: 12px;
    }
}

/* ========================================
   RESPONSIVE: TABLET
======================================== */

@media (max-width: 900px) {
    .ecommerce-hero {
        min-height: auto;
        padding: 65px 0 80px;
    }

    .ecommerce-hero .ecommerce-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 65px;
        padding-left: 35px;
        padding-right: 35px;
    }

    .ecommerce-hero .ecommerce-hero-content {
        max-width: 700px;
        margin-left: 0;
    }

    .ecommerce-hero .ecommerce-hero-content h1 {
        font-size: clamp(38px, 6vw, 56px);
    }

    .ecommerce-hero .ecommerce-hero-visual {
        width: 100%;
        max-width: 600px;
        justify-self: center;
    }

    .ecommerce-hero .ecommerce-hero-overlay {
        background: rgba(247, 250, 255, 0.9);
    }

    .ecommerce-hero .ecommerce-floating-card.card-top {
        right: -8px;
    }

    .ecommerce-hero .ecommerce-floating-card.card-bottom {
        left: -8px;
    }
}

/* ========================================
   RESPONSIVE: MOBILE
======================================== */

@media (max-width: 600px) {
    .ecommerce-hero {
        padding: 48px 0 65px;
    }

    .ecommerce-hero .ecommerce-hero-grid {
        gap: 55px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .ecommerce-hero .ecommerce-hero-eyebrow {
        margin-bottom: 18px;
        padding: 9px 13px;
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .ecommerce-hero .ecommerce-hero-content h1 {
        margin-bottom: 18px;
        font-size: clamp(33px, 8vw, 44px);
        line-height: 1.17;
        letter-spacing: -0.8px;
    }

    .ecommerce-hero .ecommerce-hero-content > p {
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.8;
    }

    .ecommerce-hero .ecommerce-hero-actions {
        gap: 11px;
        margin-bottom: 24px;
    }

    .ecommerce-hero .ecommerce-hero-actions a {
        min-height: 46px;
        padding: 12px 15px;
        font-size: 12px;
    }

    .ecommerce-hero .ecommerce-trust-points {
        gap: 11px 15px;
    }

    .ecommerce-hero .ecommerce-trust-points span {
        font-size: 11px;
    }

    .ecommerce-hero .ecommerce-dashboard {
        padding: 15px;
        border-radius: 16px;
    }

    .ecommerce-hero .ecommerce-dashboard-header h3 {
        font-size: 15px;
    }

    .ecommerce-hero .ecommerce-dashboard-nav {
        gap: 7px;
    }

    .ecommerce-hero .ecommerce-dashboard-nav span {
        width: 31px;
        height: 31px;
        font-size: 12px;
    }

    .ecommerce-hero .ecommerce-metrics {
        gap: 9px;
    }

    .ecommerce-hero .ecommerce-metric-card {
        padding: 11px;
    }

    .ecommerce-hero .metric-value {
        font-size: 20px;
    }

    .ecommerce-hero .metric-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .ecommerce-hero .metric-change {
        font-size: 9px;
    }

    .ecommerce-hero .ecommerce-sales-chart {
        padding: 13px;
    }

    .ecommerce-hero .ecommerce-chart-bars {
        gap: 7px;
        height: 95px;
    }

    .ecommerce-hero .ecommerce-floating-card {
        gap: 8px;
        padding: 9px 11px;
    }

    .ecommerce-hero .floating-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .ecommerce-hero .floating-text strong {
        font-size: 10px;
    }

    .ecommerce-hero .floating-text small {
        font-size: 9px;
    }

    .ecommerce-hero .ecommerce-floating-card.card-top {
        top: -34px;
        right: 0;
    }

    .ecommerce-hero .ecommerce-floating-card.card-bottom {
        bottom: -35px;
        left: 0;
    }
}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {
    .ecommerce-hero .ecommerce-hero-grid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ecommerce-hero .ecommerce-hero-content h1 {
        font-size: 31px;
    }

    .ecommerce-hero .ecommerce-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ecommerce-hero .ecommerce-hero-actions a {
        width: 100%;
    }

    .ecommerce-hero .ecommerce-trust-points {
        flex-direction: column;
        align-items: flex-start;
    }

    .ecommerce-hero .ecommerce-dashboard {
        padding: 11px;
    }

    .ecommerce-hero .ecommerce-dashboard-status {
        padding: 5px 7px;
        font-size: 9px;
    }

    .ecommerce-hero .ecommerce-metric-card {
        padding: 9px;
    }

    .ecommerce-hero .metric-value {
        font-size: 18px;
    }

    .ecommerce-hero .ecommerce-floating-card {
        max-width: 95%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ecommerce-hero *,
    .ecommerce-hero *::before,
    .ecommerce-hero *::after {
        animation: none !important;
        transition: none !important;
    }
}



/* ==========================================
   E-COMMERCE SERVICES - PAVIONX
   Screenshot-matched single service layout
========================================== */

#ecommerce-services,
#ecommerce-services * {
    box-sizing: border-box;
    font-family: inherit;
}

#ecommerce-services {
    width: 100%;
    overflow: hidden;
    padding: 15px clamp(24px, 4.7vw, 78px) 10px;
    background: linear-gradient(
        180deg,
        #f8fbff 0%,
        #f3f7ff 100%
    );
}

#ecommerce-services > .container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Heading */

#ecommerce-services .section-header {
    width: 100%;
    max-width: none;
    margin: 0 0 35px;
    text-align: center;
}

#ecommerce-services .section-label-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0 22px;
}

#ecommerce-services .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

#ecommerce-services .section-label::before {
    content: "";
    width: 22px;
    height: 2px;
    background: #2563eb;
}

#ecommerce-services .section-label::after {
    content: "";
    width: 22px;
    height: 2px;
    background: #2563eb;
}

#ecommerce-services .section-heading {
    margin: 0 0 14px;
    color: #10284b;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

#ecommerce-services .section-heading span {
    color: #2563eb;
    background: linear-gradient(90deg, #2563eb, #06a6df);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#ecommerce-services .section-sub {
    max-width: 700px;
    margin: 0 auto;
    color: #60718b;
    font-size: 14px;
    line-height: 1.85;
}

/* Service selector */

#ecommerce-services .service-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin: 0 0 28px;
    padding: 0 0 12px;
    border-bottom: 1px solid #dfe8f5;
}

#ecommerce-services .service-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #526783;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.25s ease;
}

#ecommerce-services .service-tab i {
    color: #8299b8;
    font-size: 13px;
    transition: color 0.25s ease;
}

#ecommerce-services .service-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 3px;
    background: #2563eb;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

#ecommerce-services .service-tab.active,
#ecommerce-services .service-tab:hover {
    color: #2563eb;
}

#ecommerce-services .service-tab.active i,
#ecommerce-services .service-tab:hover i {
    color: #2563eb;
}

#ecommerce-services .service-tab.active::after {
    transform: scaleX(1);
}

#ecommerce-services .service-tab:focus-visible,
#ecommerce-services .service-nav-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 5px;
}

/* Service display */

#ecommerce-services .service-display {
    width: 100%;
    position: relative;
}

#ecommerce-services .service-panel[hidden] {
    display: none !important;
}

#ecommerce-services .service-panel {
    display: none;
}

#ecommerce-services .service-panel.active {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: clamp(35px, 7vw, 100px);
    padding: 15px 0 20px;
    animation: ecommercePanelIn 0.35s ease both;
}

@keyframes ecommercePanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left side: number and icon */

#ecommerce-services .service-panel-visual {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 0;
}

#ecommerce-services .service-panel-number {
    display: block;
    margin-bottom: 30px;
    color: #b6c8e3;
    font-size: clamp(55px, 6vw, 82px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
}

#ecommerce-services .service-panel-icon {
    position: relative;
    width: 126px;
    height: 126px;
    flex: 0 0 126px;
    display: grid;
    place-items: center;
    margin: 0 0 30px 8px;
    border: 2px solid #dce9ff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 9px rgba(37, 99, 235, 0.035);
}

#ecommerce-services .service-panel-icon::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px dashed rgba(37, 99, 235, 0.3);
    border-radius: 50%;
}

#ecommerce-services .service-panel-icon i {
    font-size: 38px;
}

#ecommerce-services .service-panel-icon.blue i {
    color: #2563eb;
}

#ecommerce-services .service-panel-icon.green i {
    color: #059669;
}

#ecommerce-services .service-panel-icon.purple i {
    color: #7c3aed;
}

#ecommerce-services .service-panel-icon.orange i {
    color: #ea580c;
}

#ecommerce-services .service-panel-caption {
    color: #8497b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Right side: service details */

#ecommerce-services .service-panel-content {
    min-width: 0;
}

#ecommerce-services .service-panel-kicker {
    display: block;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.6;
}

#ecommerce-services .service-panel-content h3 {
    margin: 0 0 17px;
    color: #10284b;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

#ecommerce-services .service-panel-content > p {
    max-width: 700px;
    margin: 0 0 25px;
    color: #526783;
    font-size: 14px;
    line-height: 1.9;
}

/* Two-column service list */

#ecommerce-services .service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    padding: 0;
    margin: 0 0 27px;
    list-style: none;
}

#ecommerce-services .service-list li {
    position: relative;
    padding: 12px 22px 12px 0;
    border-bottom: 1px solid #dfe8f5;
    color: #425a78;
    font-size: 13px;
    line-height: 1.6;
}

#ecommerce-services .service-list li::after {
    content: "\f061";
    position: absolute;
    top: 50%;
    right: 0;
    color: #91a7c5;
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
    transform: translateY(-50%);
}

/* Explore link */

#ecommerce-services .service-page-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
    transition: color 0.25s ease;
}

#ecommerce-services .service-page-link i {
    transition: transform 0.25s ease;
}

#ecommerce-services .service-page-link:hover {
    color: #1748b8;
}

#ecommerce-services .service-page-link:hover i {
    transform: translateX(5px);
}

/* Previous and Next */

#ecommerce-services .service-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #dfe8f5;
}

#ecommerce-services .service-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

#ecommerce-services .service-nav-btn:disabled {
    color: #a8b7cc;
    cursor: not-allowed;
}

#ecommerce-services .service-nav-count {
    color: #8396b2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Tablet */

@media (max-width: 800px) {
    #ecommerce-services .service-panel.active {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 30px;
    }

    #ecommerce-services .service-panel-number {
        font-size: 58px;
    }

    #ecommerce-services .service-panel-icon {
        width: 95px;
        height: 95px;
        flex-basis: 95px;
    }

    #ecommerce-services .service-panel-icon i {
        font-size: 30px;
    }

    #ecommerce-services .service-tabs {
        gap: 10px 18px;
    }

    #ecommerce-services .service-list {
        column-gap: 18px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    #ecommerce-services {
        padding: 20px 18px 10px;
    }

    #ecommerce-services .section-header {
        margin-bottom: 30px;
    }

    #ecommerce-services .section-heading {
        font-size: clamp(28px, 7vw, 36px);
    }

    #ecommerce-services .section-sub {
        font-size: 14px;
    }

    #ecommerce-services .service-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
        margin-bottom: 25px;
    }

    #ecommerce-services .service-tab {
        min-width: 0;
        font-size: 12px;
    }

    #ecommerce-services .service-tab::after {
        bottom: -1px;
    }

    #ecommerce-services .service-panel.active {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        padding-top: 10px;
    }

    #ecommerce-services .service-panel-visual {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        align-items: center;
        justify-content: start;
        column-gap: 25px;
        row-gap: 10px;
    }

    #ecommerce-services .service-panel-number {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        font-size: 44px;
    }

    #ecommerce-services .service-panel-icon {
        grid-column: 2;
        grid-row: 1 / 3;
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        margin: 0 0 0 8px;
    }

    #ecommerce-services .service-panel-icon i {
        font-size: 28px;
    }

    #ecommerce-services .service-panel-caption {
        grid-column: 1;
        grid-row: 2;
        font-size: 9px;
    }

    #ecommerce-services .service-panel-content h3 {
        font-size: 27px;
    }

    #ecommerce-services .service-panel-content > p {
        font-size: 14px;
    }

    #ecommerce-services .service-list {
        grid-template-columns: minmax(0, 1fr);
    }

    #ecommerce-services .service-list li {
        padding: 11px 22px 11px 0;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    #ecommerce-services .service-panel.active {
        animation: none;
    }

    #ecommerce-services .service-tab,
    #ecommerce-services .service-page-link,
    #ecommerce-services .service-page-link i {
        transition: none;
    }
}



/* ==========================================
   E-COMMERCE ICON FIX
========================================== */

/* Service selector icons */
#ecommerce-services .service-tab i,
#ecommerce-services .service-panel-icon i,
#ecommerce-services .service-page-link i,
#ecommerce-services .service-nav-btn i {
    display: inline-block;
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

/* Service icons */
#ecommerce-services .service-panel-icon i {
    font-size: 38px;
}

/* Selector icons */
#ecommerce-services .service-tab i {
    font-size: 14px;
}

/* Right arrow in each service list */
#ecommerce-services .service-list li::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f061";
}

/* Link arrow */
#ecommerce-services .service-page-link i::before {
    content: "\f061";
}

/* Navigation arrows */
#ecommerce-services #prevService i::before {
    content: "\f060";
}

#ecommerce-services #nextService i::before {
    content: "\f061";
}

/* Mobile */
@media (max-width: 600px) {
    #ecommerce-services .service-panel-icon i {
        font-size: 28px;
    }
}




/* ==========================================
   E-COMMERCE DEVELOPMENT SERVICE
========================================== */

.ecommerce-service,
.ecommerce-service * {
    box-sizing: border-box;
}

.ecommerce-service {
    --ecom-primary: #2563eb;
    --ecom-dark: #10213c;
    --ecom-text: #586980;

    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 90px 0;
    background: #ffffff;
    font-family: inherit;
}

.ecommerce-service-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 75px);
}

.ecommerce-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(35px, 5vw, 75px);
}


/* ==========================================
   LEFT CONTENT
========================================== */

.ecommerce-service-content {
    width: 100%;
    min-width: 0;
}

.ecommerce-service-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 10px 15px;
    border: 1px solid #dbeafe;
    border-radius: 30px;
    background: #eff6ff;
    color: var(--ecom-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.ecommerce-service-label i {
    font-size: 14px;
}

.ecommerce-service-content h2 {
    max-width: 680px;
    margin: 0 0 22px;
    color: var(--ecom-dark);
    font-size: clamp(34px, 3.7vw, 50px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
    overflow-wrap: break-word;
}

.ecommerce-service-content h2 span {
    display: block;
    margin-top: 5px;
    color: var(--ecom-primary);
}

.ecommerce-service-description {
    max-width: 620px;
    margin: 0;
    color: var(--ecom-text);
    font-size: 14px;
    line-height: 1.9;
}


/* ==========================================
   SERVICE FEATURES
========================================== */

.ecommerce-service-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 22px;
    margin-top: 32px;
}

.ecommerce-service-feature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}

.ecommerce-feature-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--ecom-primary);
    font-size: 17px;
    transition: all 0.3s ease;
}

.ecommerce-service-feature:hover .ecommerce-feature-icon {
    color: #ffffff;
    background: var(--ecom-primary);
    transform: translateY(-3px);
}

.ecommerce-service-feature h3 {
    margin: 1px 0 7px;
    color: var(--ecom-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.ecommerce-service-feature p {
    margin: 0;
    color: #687990;
    font-size: 12px;
    line-height: 1.8;
}


/* ==========================================
   CTA BUTTON
========================================== */

.ecommerce-service-actions {
    display: flex;
    margin-top: 32px;
}

.ecommerce-service-btn {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px;
    border: 1px solid var(--ecom-primary);
    border-radius: 7px;
    background: var(--ecom-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.16);
    transition: all 0.3s ease;
}

.ecommerce-service-btn:hover {
    transform: translateY(-3px);
    border-color: #1748b8;
    background: #1748b8;
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.22);
}

.ecommerce-service-btn i {
    transition: transform 0.3s ease;
}

.ecommerce-service-btn:hover i {
    transform: translateX(4px);
}


/* ==========================================
   RIGHT IMAGE
========================================== */

.ecommerce-service-visual {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 15px 10px 30px;
}

.ecommerce-service-image {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    border: 7px solid #ffffff;
    border-radius: 18px;
    background: #eff6ff;
    box-shadow:
        0 25px 65px rgba(16, 33, 60, 0.12),
        0 4px 15px rgba(16, 33, 60, 0.04);
}

.ecommerce-service-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.ecommerce-service-image:hover img {
    transform: scale(1.04);
}


/* ==========================================
   FLOATING INFORMATION CARD
========================================== */

.ecommerce-service-floating-card {
    position: absolute;
    right: -5px;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 15px);
    padding: 15px 18px;
    border: 1px solid #e3ebf7;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(16, 33, 60, 0.12);
}

.ecommerce-floating-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--ecom-primary);
    font-size: 18px;
}

.ecommerce-service-floating-card strong,
.ecommerce-service-floating-card span {
    display: block;
}

.ecommerce-service-floating-card strong {
    margin-bottom: 5px;
    color: var(--ecom-dark);
    font-size: 12px;
    font-weight: 800;
}

.ecommerce-service-floating-card span {
    color: #7b8ba1;
    font-size: 10px;
    line-height: 1.5;
}


/* Small supporting label */

.ecommerce-service-side-note {
    position: absolute;
    top: 0;
    left: -8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid #e3ebf7;
    border-radius: 9px;
    background: #ffffff;
    color: var(--ecom-dark);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(16, 33, 60, 0.08);
}

.ecommerce-service-side-note i {
    color: #059669;
    font-size: 15px;
}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {
    .ecommerce-service {
        padding: 75px 0;
    }

    .ecommerce-service-grid {
        gap: 35px;
    }

    .ecommerce-service-content h2 {
        font-size: clamp(32px, 4vw, 43px);
    }

    .ecommerce-service-features {
        gap: 22px 16px;
    }

    .ecommerce-service-image {
        min-height: 390px;
    }

    .ecommerce-service-side-note {
        left: -3px;
    }

    .ecommerce-service-floating-card {
        right: -3px;
    }
}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 760px) {
    .ecommerce-service {
        padding: 60px 0 70px;
    }

    .ecommerce-service-container {
        padding: 0 24px;
    }

    .ecommerce-service-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .ecommerce-service-content h2 {
        font-size: clamp(33px, 7vw, 44px);
        letter-spacing: -0.8px;
    }

    .ecommerce-service-description {
        font-size: 14px;
    }

    .ecommerce-service-visual {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .ecommerce-service-image {
        min-height: 380px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {
    .ecommerce-service {
        padding: 45px 0 55px;
    }

    .ecommerce-service-container {
        padding: 0 18px;
    }

    .ecommerce-service-grid {
        gap: 38px;
    }

    .ecommerce-service-label {
        margin-bottom: 19px;
        padding: 9px 12px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .ecommerce-service-content h2 {
        margin-bottom: 18px;
        font-size: clamp(30px, 8vw, 37px);
        line-height: 1.2;
    }

    .ecommerce-service-description {
        font-size: 13px;
        line-height: 1.85;
    }

    .ecommerce-service-features {
        grid-template-columns: minmax(0, 1fr);
        gap: 21px;
        margin-top: 26px;
    }

    .ecommerce-service-feature {
        gap: 12px;
    }

    .ecommerce-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .ecommerce-service-feature h3 {
        font-size: 13px;
    }

    .ecommerce-service-feature p {
        font-size: 12px;
    }

    .ecommerce-service-actions {
        margin-top: 27px;
    }

    .ecommerce-service-btn {
        width: 100%;
        padding: 13px 15px;
        font-size: 12px;
    }

    .ecommerce-service-visual {
        padding: 22px 4px 30px;
    }

    .ecommerce-service-image {
        min-height: 300px;
        border-width: 5px;
        border-radius: 13px;
    }

    .ecommerce-service-floating-card {
        right: 0;
        gap: 9px;
        padding: 10px 12px;
    }

    .ecommerce-floating-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .ecommerce-service-floating-card strong {
        font-size: 10px;
    }

    .ecommerce-service-floating-card span {
        font-size: 9px;
    }

    .ecommerce-service-side-note {
        left: 0;
        gap: 7px;
        padding: 10px 11px;
        font-size: 9px;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .ecommerce-service *,
    .ecommerce-service *::before,
    .ecommerce-service *::after {
        transition: none !important;
        animation: none !important;
    }
}


