/* Digilancer — Project / Service Details (Freeio-only, no Tailwind stack) */

.dl-project-details {
    font-family: var(--title-font-family, "DM Sans", sans-serif);
    color: #222;
}

.dl-project-details section {
    padding: 0;
}

.dl-project-details section.dl-pd-section,
.dl-project-details .dl-pd-section {
    margin: 0 0 32px;
}

.dl-project-details h1,
.dl-project-details h2,
.dl-project-details h3,
.dl-project-details .package-tab {
    font-family: var(--title-font-family, "DM Sans", sans-serif);
}

.dl-pd-breadcrumb {
    font-size: 14px;
    color: #6b7177;
    margin-bottom: 20px;
}

.dl-pd-breadcrumb a {
    color: #6b7177;
    text-decoration: none;
}

.dl-pd-breadcrumb a:hover {
    color: var(--main-color-one);
}

.dl-pd-breadcrumb .sep {
    margin: 0 8px;
    color: #c4c8ce;
}

.dl-pd-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    color: #222;
    margin: 0 0 20px;
}

@media (max-width: 767px) {
    .dl-pd-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
}

.dl-pd-seller {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    text-decoration: none;
    color: inherit;
}

.dl-pd-seller:hover {
    opacity: .92;
}

.dl-pd-avatar {
    position: relative;
    flex-shrink: 0;
}

.dl-pd-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.dl-pd-online {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #22c55e;
}

.dl-pd-online.is-offline {
    background: #9ca3af;
}

.dl-pd-seller-name {
    font-weight: 500;
    color: #222;
}

.dl-pd-seller-name:hover {
    color: var(--main-color-one);
}

.dl-pd-level-badge {
    display: inline-block;
    border: 1px solid #e9e9e9;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    color: #6b7177;
    background: #fff;
}

.dl-pd-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 14px;
    color: #222;
}

.dl-pd-stars .fas.fa-star,
.dl-pd-stars .fas.fa-star-half-alt,
.dl-pd-stars .far.fa-star {
    color: #fbbf24;
    font-size: 12px;
}

.dl-pd-seller-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dl-pd-seller-top .dl-pd-seller {
    margin-bottom: 0;
}

.dl-pd-contact-btn {
    white-space: nowrap;
}

.dl-pd-meta-value {
    font-weight: 500;
    color: #222;
    margin: 0;
}

.dl-pd-skills-label {
    color: #6b7177;
    font-size: 14px;
    margin-right: 4px;
}

.dl-pd-thumb-video {
    position: relative;
    width: 100%;
    height: 100%;
    background: #111;
}

.dl-pd-thumb-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-pd-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, .25);
    font-size: 12px;
}

.dl-pd-features li i {
    color: var(--main-color-one);
    margin-top: 3px;
    font-size: 12px;
}

.dl-pd-check-ico {
    color: var(--main-color-one);
    font-size: 14px;
}

.dl-pd-check-ico.is-off {
    color: #9ca3af;
}

.dl-pd-compare .is-total td {
    font-weight: 600;
    background: #f8f9fd;
}

.dl-pd-compare th {
    font-weight: 500;
    color: #222;
    background: #fff;
}

/* Gallery */
.dl-pd-gallery {
    margin-bottom: 28px;
}

.carousel-container-details {
    position: relative;
    overflow: visible;
    border-radius: 16px;
    border: 1px solid #e9e9e9;
    background: #f8f9fd;
}

.carousel-container-details .dl-pd-carousel-clip {
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.screen-card {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.screen-card .dl-pd-media {
    width: 100%;
    height: 420px;
    background: #111;
}

.screen-card .dl-pd-media img,
.screen-card .dl-pd-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .screen-card .dl-pd-media {
        height: 320px;
    }
}

@media (max-width: 575px) {
    .screen-card .dl-pd-media {
        height: 220px;
    }
}

.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-nav-button.prev {
    left: -12px;
}

.carousel-nav-button.next {
    right: -12px;
}

@media (max-width: 575px) {
    .carousel-nav-button.prev {
        left: 8px;
    }
    .carousel-nav-button.next {
        right: 8px;
    }
}

.dl-pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.dl-pd-thumbs .thumbnail {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f3f4f6;
}

.dl-pd-thumbs .thumbnail.active {
    border-color: var(--main-color-one);
}

.dl-pd-thumbs .thumbnail img,
.dl-pd-thumbs .thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content blocks — balanced vertical rhythm */
.dl-pd-block,
.dl-pd-section {
    margin-bottom: 36px;
}

.dl-pd-block h2,
.dl-pd-section > h2,
.dl-project-details .dl-pd-section h2 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 12px;
    color: #222;
}

.dl-pd-block .dl-pd-body,
.dl-pd-section .dl-pd-body {
    color: #6b7177;
    line-height: 1.6;
    font-size: 15px;
}

.dl-pd-body p,
.dl-pd-body ul,
.dl-pd-body ol {
    margin: 0 0 10px;
}

.dl-pd-body p:last-child,
.dl-pd-body ul:last-child,
.dl-pd-body ol:last-child {
    margin-bottom: 0;
}

/* Collapse empty / spacer paragraphs from rich-text editors */
.dl-pd-body p:empty,
.dl-pd-body p:has(> br:only-child),
.dl-pd-body p:has(> br:first-child:last-child) {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
    line-height: 0;
}

.dl-pd-body br + br {
    display: none;
}

.dl-pd-body ul,
.dl-pd-body ol {
    padding-left: 1.2em;
}

.dl-pd-body li {
    margin: 0 0 4px;
}

.dl-pd-body li:last-child {
    margin-bottom: 0;
}

.dl-pd-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dl-pd-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    color: #6b7177;
    font-size: 15px;
}

/* Seller card */
.dl-pd-seller-card {
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
    margin-bottom: 0;
}

.dl-pd-seller-card .dl-pd-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0;
}

.dl-pd-seller-card .dl-pd-meta-grid p {
    margin: 0;
}

.dl-pd-seller-card .dl-pd-meta-label {
    font-size: 13px;
    color: #6b7177;
    margin-bottom: 2px;
}

.dl-pd-skills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.dl-pd-skill {
    background: #f3f4f6;
    color: #222;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* Compare table */
.dl-pd-compare {
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    overflow: auto;
    margin-bottom: 0;
    background: #fff;
}

.dl-pd-compare table {
    width: 100%;
    margin: 0;
}

.dl-pd-compare th,
.dl-pd-compare td {
    padding: 14px;
    font-size: 14px;
    border-right: 1px solid #e9e9e9;
    vertical-align: middle;
}

.dl-pd-compare th:last-child,
.dl-pd-compare td:last-child {
    border-right: 0;
}

.dl-pd-compare .is-alt {
    background: color-mix(in srgb, var(--main-color-one) 6%, transparent);
}

/* Package sidebar */
.dl-pd-price-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(17, 17, 26, .08);
    overflow: hidden;
}

/* Package sidebar — sticky while left content scrolls
   Freeio `.wrapper.ovh { overflow:hidden }` breaks sticky; override on this page. */
body:has(.dl-project-details) .wrapper.ovh {
    overflow: visible;
}

body:has(.dl-project-details) .body_content {
    overflow: visible;
}

@media (min-width: 992px) {
    .dl-project-details > .container > .row,
    .dl-project-details .container > .row {
        align-items: flex-start;
    }

    .dl-project-details .dl-pd-sidebar-col {
        position: sticky;
        top: 110px;
        align-self: flex-start;
        z-index: 5;
    }

    .dl-pd-price-wrap {
        position: static;
        top: auto;
    }
}

@media (max-width: 991.98px) {
    .dl-project-details .dl-pd-sidebar-col {
        position: static;
        top: auto;
    }
}

.dl-pd-package-tabs {
    display: flex;
    border-bottom: 1px solid #e9e9e9;
}

.package-tab {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    color: #6b7177;
    transition: all .2s ease;
}

.package-tab.active {
    border-bottom-color: var(--main-color-one);
    background: color-mix(in srgb, var(--main-color-one) 10%, transparent);
    color: #222;
    font-weight: 600;
}

.dl-pd-price-body {
    padding: 20px;
}

.dl-pd-price-amount {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.dl-pd-price-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 18px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.dl-pd-price-meta i {
    margin-right: 6px;
    color: #6b7177;
}

.dl-pd-extras {
    border-top: 1px solid #e9e9e9;
    padding-top: 14px;
    margin-top: 14px;
}

.dl-pd-extras-label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.dl-pd-extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6b7177;
}

.dl-pd-extra-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.dl-pd-extra-row input {
    accent-color: var(--main-color-one);
    margin: 0;
}

.dl-pd-pkg-title {
    font-size: 14px;
    color: #6b7177;
    margin-bottom: 12px;
}

.dl-pd-pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.dl-pd-pkg-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #6b7177;
    margin-bottom: 8px;
}

.dl-pd-pkg-features li i {
    color: var(--main-color-one);
    margin-top: 2px;
}

.dl-pd-order-actions {
    padding: 0 20px 20px;
}

.dl-pd-btn-disabled {
    background: #c4c8ce !important;
    border-color: #c4c8ce !important;
    color: #fff !important;
    pointer-events: none;
    cursor: not-allowed;
}

/* Reviews */
.dl-pd-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dl-pd-review {
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.dl-pd-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.dl-pd-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dl-pd-review-name {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 2px;
    color: #222;
}

.dl-pd-review-meta {
    font-size: 13px;
    color: #6b7177;
    margin: 0;
}

.dl-pd-review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.dl-pd-review-rating .star-rating i {
    color: #f5b849;
    font-size: 13px;
}

.dl-pd-review-dot,
.dl-pd-review-time {
    font-size: 13px;
    color: #6b7177;
}

.dl-pd-review-text {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7177;
    margin: 0;
}

.dl-pd-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--main-color-one);
    color: var(--main-color-one);
    background: #fff;
    transition: background .2s ease, color .2s ease;
}

.dl-pd-review-btn:hover {
    background: var(--main-color-one);
    color: #fff;
}

.dl-pd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    margin-bottom: 10px;
    border: 1px solid transparent;
    cursor: pointer;
}

.dl-pd-btn-primary {
    background: var(--main-color-one);
    border-color: var(--main-color-one);
    color: #fff !important;
}

.dl-pd-btn-primary:hover {
    background: #222;
    border-color: #222;
    color: #fff !important;
}

.dl-pd-btn-outline {
    background: #fff;
    border-color: var(--main-color-one);
    color: var(--main-color-one) !important;
}

.dl-pd-btn-outline:hover {
    background: var(--main-color-one);
    color: #fff !important;
}

.package-content.hidden {
    display: none !important;
}

/* Related — 3-up grid / slider */
.dl-related-services {
    padding: 40px 0 60px;
    background: #f8f9fd;
}

.dl-related-services .container {
    position: relative;
}

.dl-related-services .col-lg-12 {
    overflow: visible;
}

.dl-related-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0;
    color: #222;
}

/* Static 1–3 cards: left-aligned in 3-column row (empty cols stay empty) */
.dl-related-static {
    --bs-gutter-x: 1.5rem;
}

.dl-related-static > [class*="col-"] {
    display: flex;
    margin-bottom: 0;
}

.dl-related-static .listing-style1,
.dl-related-slider .listing-style1 {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.dl-related-static .listing-style1 .list-content,
.dl-related-slider .listing-style1 .list-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Owl slider (>3) — must be visible (owl default hides .owl-carousel until .owl-loaded) */
.dl-related-slider.owl-carousel {
    display: block;
    position: relative;
    width: 100%;
}

.dl-related-slider.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.dl-related-slider.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.dl-related-slider.owl-carousel .owl-item .item {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Side arrows (left / right), not bottom-center */
.dl-related-slider .owl-nav {
    margin: 0;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.dl-related-slider .owl-nav button.owl-prev,
.dl-related-slider .owl-nav button.owl-next {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--main-color-one, #5bbb7b) !important;
    border: 0 !important;
    color: #fff !important;
    opacity: 1;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(34, 34, 34, 0.15);
    transition: background .2s ease;
}

.dl-related-slider .owl-nav button.owl-prev {
    left: -8px;
}

.dl-related-slider .owl-nav button.owl-next {
    right: -8px;
}

@media (min-width: 1200px) {
    .dl-related-slider .owl-nav button.owl-prev {
        left: -18px;
    }

    .dl-related-slider .owl-nav button.owl-next {
        right: -18px;
    }
}

.dl-related-slider .owl-nav button.owl-prev:hover,
.dl-related-slider .owl-nav button.owl-next:hover {
    background: #222 !important;
}

.dl-related-slider .owl-nav button i,
.dl-related-slider .owl-nav button span {
    display: block;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
    text-align: center;
}

.dl-related-slider .owl-dots {
    display: none;
}

/* Compare packages icons */
.dl-pd-compare svg.dl-pd-check,
.dl-project-details .dl-pd-compare svg.w-5,
.dl-project-details .dl-pd-compare svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
    max-height: 16px;
    display: inline-block;
    vertical-align: middle;
}

/* Minimal utility shim — only what this page still uses after Freeio restructure */
.dl-project-details .d-flex, .dl-project-details .flex { display: flex; }
.dl-project-details .flex-col { flex-direction: column; }
.dl-project-details .flex-1 { flex: 1 1 auto; }
.dl-project-details .flex-shrink-0 { flex-shrink: 0; }
.dl-project-details .flex-wrap { flex-wrap: wrap; }
.dl-project-details .items-center { align-items: center; }
.dl-project-details .items-start { align-items: flex-start; }
.dl-project-details .justify-center { justify-content: center; }
.dl-project-details .justify-between { justify-content: space-between; }
.dl-project-details .justify-start { justify-content: flex-start; }
.dl-project-details .gap-1 { gap: 4px; }
.dl-project-details .gap-2 { gap: 8px; }
.dl-project-details .gap-3 { gap: 12px; }
.dl-project-details .gap-4 { gap: 16px; }
.dl-project-details .gap-6 { gap: 24px; }
.dl-project-details .w-full { width: 100%; }
.dl-project-details .h-full { height: 100%; }
.dl-project-details .hidden { display: none !important; }
.dl-project-details .relative { position: relative; }
.dl-project-details .absolute { position: absolute; }
.dl-project-details .object-cover { object-fit: cover; }
.dl-project-details .rounded-full { border-radius: 999px; }
.dl-project-details .rounded-lg { border-radius: 8px; }
.dl-project-details .rounded-2xl { border-radius: 16px; }
.dl-project-details .overflow-hidden { overflow: hidden; }
.dl-project-details .text-center { text-align: center; }
.dl-project-details .font-medium { font-weight: 500; }
.dl-project-details .font-semibold { font-weight: 600; }
.dl-project-details .text-sm { font-size: 14px; }
.dl-project-details .text-base-300, .dl-project-details .dark-color { color: #222; }
.dl-project-details .text-base-400, .dl-project-details .body-color { color: #6b7177; }
.dl-project-details .text-white { color: #fff; }
.dl-project-details .text-primary { color: var(--main-color-one); }
.dl-project-details .bg-primary { background: var(--main-color-one); color: #fff; }
.dl-project-details .bg-white { background: #fff; }
.dl-project-details .bg-gray-100 { background: #f3f4f6; }
.dl-project-details .bg-gray-50 { background: #f9fafb; }
.dl-project-details .border { border: 1px solid #e9e9e9; }
.dl-project-details .border-b { border-bottom: 1px solid #e9e9e9; }
.dl-project-details .border-t { border-top: 1px solid #e9e9e9; }
.dl-project-details .border-primary { border-color: var(--main-color-one); }
.dl-project-details .mb-1 { margin-bottom: 4px; }
.dl-project-details .mb-2 { margin-bottom: 8px; }
.dl-project-details .mb-3 { margin-bottom: 12px; }
.dl-project-details .mb-4 { margin-bottom: 16px; }
.dl-project-details .mb-6 { margin-bottom: 20px; }
.dl-project-details .mt-1 { margin-top: 4px; }
.dl-project-details .mt-4 { margin-top: 14px; }
.dl-project-details .mt-6 { margin-top: 20px; }
.dl-project-details .p-4 { padding: 14px; }
.dl-project-details .p-6 { padding: 20px; }
.dl-project-details .px-3 { padding-left: 12px; padding-right: 12px; }
.dl-project-details .py-1 { padding-top: 4px; padding-bottom: 4px; }
.dl-project-details .py-3 { padding-top: 12px; padding-bottom: 12px; }
.dl-project-details .py-4 { padding-top: 14px; padding-bottom: 14px; }
.dl-project-details .space-y-3 > * + * { margin-top: 10px; }
.dl-project-details .space-y-8 > * + * { margin-top: 24px; }
.dl-project-details .inline-block { display: inline-block; }
.dl-project-details .inline-flex { display: inline-flex; }
.dl-project-details .grid { display: grid; }
.dl-project-details .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dl-project-details .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-project-details .min-w-0 { min-width: 0; }
.dl-project-details .leading-relaxed { line-height: 1.7; }
.dl-project-details .text-amber-400 { color: #fbbf24; }
.dl-project-details .bg-primary\/5 { background: color-mix(in srgb, var(--main-color-one) 6%, transparent); }
@media (min-width: 992px) {
  .dl-project-details .lg\:block { display: block; }
  .dl-project-details .lg\:hidden { display: none !important; }
}
@media (max-width: 991.98px) {
  .dl-project-details .lg\:block { display: none !important; }
  .dl-project-details .lg\:hidden { display: block; }
}
