/* ============================================================
   profile-modern.css — EverythingKuwait Profile / Wishlist / Services
   ============================================================ */

/* ── Page wrapper ── */
#wrapper.profile-wrapper {
    background: #f7f6f4;
    min-height: 80vh;
    padding-bottom: 56px;
}

/* ── Breadcrumb ── */
.profile-wrapper .nav-breadcrumb,
.svc-wrapper .svc-breadcrumb { padding: 16px 0 8px; }
.profile-wrapper .breadcrumb,
.svc-wrapper .breadcrumb {
    background: transparent;
    padding: 0; margin: 0;
    font-size: 13px;
}
.profile-wrapper .breadcrumb-item a,
.svc-wrapper .breadcrumb-item a {
    color: #888; text-decoration: none; transition: color .2s;
}
.profile-wrapper .breadcrumb-item a:hover,
.svc-wrapper .breadcrumb-item a:hover { color: #111; }
.profile-wrapper .breadcrumb-item.active,
.svc-wrapper .breadcrumb-item.active { color: #aaa; }
.profile-wrapper .breadcrumb-item + .breadcrumb-item::before,
.svc-wrapper .breadcrumb-item + .breadcrumb-item::before { color: #ddd; }

/* ================================================================
   PROFILE HERO CARD
   ================================================================ */
.profile-hero-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    padding: 32px 36px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    transition: box-shadow .3s;
}
.profile-hero-card:hover { box-shadow: 0 6px 32px rgba(0,0,0,.08); }

.profile-hero-avatar { flex-shrink: 0; }
.profile-hero-avatar .img-profile {
    width: 88px; height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e8e8e8;
    display: block;
    transition: border-color .25s, transform .3s cubic-bezier(.175,.885,.32,1.275);
}
.profile-hero-avatar:hover .img-profile { border-color: #bbb; transform: scale(1.04); }

.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-name-row {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap; margin-bottom: 6px;
}
.profile-hero-name {
    font-size: 20px; font-weight: 700; color: #111;
    letter-spacing: -.3px; margin: 0; line-height: 1.2;
}
.profile-hero-name a { color: inherit; text-decoration: none; transition: color .2s; }
.profile-hero-name a:hover { color: #555; }
.icon-verified-member { color: #2563eb; font-size: 1rem; }

.profile-hero-meta {
    display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px;
}
.profile-hero-meta .info {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; color: #888;
}
.profile-hero-meta .info i { font-size: 11px; color: #ccc; }
.profile-hero-meta .info a { color: #666; text-decoration: none; transition: color .2s; }
.profile-hero-meta .info a:hover { color: #111; }

.profile-hero-desc {
    font-size: 13px; color: #777; line-height: 1.6;
    margin-bottom: 10px; max-width: 500px;
}
.profile-hero-rating {
    display: flex; align-items: center; gap: 6px; margin-bottom: 12px;
}
.profile-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-hero-actions .btn {
    border-radius: 50px !important;
    font-size: 13px !important; font-weight: 600 !important;
    padding: 8px 20px !important;
    display: inline-flex; align-items: center; gap: 6px;
    transition: transform .25s cubic-bezier(.175,.885,.32,1.275), box-shadow .25s, background .2s !important;
}
.profile-hero-actions .btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.13) !important;
}
.profile-hero-actions .btn-outline-gray {
    background: #fff !important; border: 1.5px solid #e0e0e0 !important; color: #333 !important;
}
.profile-hero-actions .btn-outline-gray:hover {
    background: #111 !important; border-color: #111 !important; color: #fff !important;
}
@media (max-width: 576px) {
    .profile-hero-card { padding: 22px 18px; gap: 18px; }
    .profile-hero-avatar .img-profile { width: 68px; height: 68px; }
    .profile-hero-name { font-size: 17px; }
}

/* ================================================================
   TWO-COLUMN LAYOUT (sidebar + content)
   ================================================================ */
.profile-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 767px) { .profile-layout { grid-template-columns: 1fr; } }

/* ================================================================
   LEFT SIDEBAR TABS CARD
   ================================================================ */
.profile-tabs-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    overflow: hidden;
    position: sticky;
    top: 90px;
    margin-bottom: 16px;
}
/* Card header label */
.profile-tabs-card-label {
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 800;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .7px;
    border-bottom: 1px solid #f0f0f0;
}
.profile-tabs-card .profile-tabs { padding: 8px; }
.profile-tabs-card .profile-tabs .nav {
    flex-direction: column !important;
    gap: 2px;
    padding: 0; margin: 0;
    list-style: none;
}
.profile-tabs-card .nav-item { list-style: none !important; }
.profile-tabs-card .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555 !important;
    text-decoration: none !important;
    transition: background .18s, color .18s, transform .25s cubic-bezier(.175,.885,.32,1.275) !important;
    gap: 8px;
    border: none !important;
    background: transparent !important;
}
.profile-tabs-card .nav-link span:first-child { flex: 1; }
.profile-tabs-card .nav-link .count {
    font-size: 11px; font-weight: 600;
    color: #bbb; background: #f5f5f5;
    padding: 2px 8px; border-radius: 20px;
    transition: background .18s, color .18s;
    flex-shrink: 0;
}
.profile-tabs-card .nav-link:hover {
    background: #f7f6f4 !important;
    color: #111 !important;
    transform: translateX(3px) !important;
}
.profile-tabs-card .nav-link:hover .count { background: #eaeaea; color: #555; }
.profile-tabs-card .nav-item.active .nav-link {
    background: #09b1ba !important;
    color: #fff !important;
    transform: none !important;
    font-weight: 600 !important;
}
.profile-tabs-card .nav-item.active .nav-link .count {
    background: rgba(255,255,255,.18); color: rgba(255,255,255,.75);
}

@media (max-width: 767px) {
    .profile-tabs-card { position: static; }
    .profile-tabs-card .profile-tabs .nav { flex-direction: row !important; flex-wrap: wrap !important; }
    .profile-tabs-card .nav-link { padding: 8px 12px !important; font-size: 12px !important; }
    .profile-tabs-card .nav-link:hover { transform: none !important; }
}

/* ================================================================
   CONTENT CARD (section wrapper)
   ================================================================ */
.profile-content-area { min-width: 0; }

.profile-section-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow .3s;
}
.profile-section-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.08); }

.profile-section-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
}
.profile-section-title {
    font-size: 15px; font-weight: 700; color: #111;
    margin: 0; letter-spacing: -.2px;
    display: flex; align-items: center; gap: 8px;
}
.profile-section-title::before {
    content: '';
    display: inline-block; width: 4px; height: 16px;
    border-radius: 4px; background: #09b1ba; flex-shrink: 0;
}
.profile-section-count {
    font-size: 12px; font-weight: 500; color: #aaa;
    background: #f5f5f5; padding: 3px 10px; border-radius: 20px;
}
.profile-section-body { padding: 24px; }

/* ── Product grid inside profile ── */
.profile-content-area .ek-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px 16px;
}
@media (max-width: 1100px) {
    .profile-content-area .ek-products-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .profile-content-area .ek-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
}

/* Empty state */
.profile-empty {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 56px 24px;
    color: #bbb; gap: 12px; text-align: center;
}
.profile-empty i { font-size: 48px; opacity: .28; display: block; }
.profile-empty p { font-size: 15px; margin: 0; color: #aaa; }

/* Pagination */
.profile-pagination {
    display: flex; justify-content: center; padding: 24px 0 8px;
}
.profile-pagination .pagination { margin: 0; }
.profile-pagination .pagination .page-item .page-link {
    border-radius: 10px !important; margin: 0 3px;
    border: 1.5px solid #e8e8e8; color: #333; font-weight: 600;
    transition: background .2s, border-color .2s, color .2s, transform .25s cubic-bezier(.175,.885,.32,1.275);
}
.profile-pagination .pagination .page-item .page-link:hover {
    background: #09b1ba; border-color: #09b1ba; color: #fff; transform: translateY(-2px);
}
.profile-pagination .pagination .page-item.active .page-link {
    background: #09b1ba; border-color: #09b1ba; color: #fff;
}

/* ================================================================
   SERVICE CARD  (wraps inside ek-product-card)
   Cards that contain svc-img-wrap + svc-details need flex column
   Same look as product cards — image, title, vendor, price, CTA
   ================================================================ */
/* Service card uses svc-img-wrap directly (no inner .product-item) */
.ek-product-card:has(.svc-img-wrap) {
    display: flex;
    flex-direction: column;
}

.ek-product-card .svc-img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}
.ek-product-card .svc-img-wrap a {
    display: block;
    width: 100%; height: 100%;
    position: absolute; inset: 0;
}
.ek-product-card .svc-img-wrap img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.ek-product-card:hover .svc-img-wrap img { transform: scale(1.05); }

/* Availability badge on image */
.ek-product-card .svc-avail {
    position: absolute; bottom: 10px; left: 10px; z-index: 3;
    font-size: .58rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 20px;
    pointer-events: none;
}
.ek-product-card .svc-avail.available {
    background: #e8f5ee; color: #1e7a45;
}
.ek-product-card .svc-avail.unavailable {
    background: #f2f2f2; color: #888;
}

/* Service details body */
.ek-product-card .svc-details {
    padding: 10px 12px 12px;
    display: flex; flex-direction: column; gap: 3px;
    flex: 1;
}
.ek-product-card .svc-title {
    font-size: .83rem; font-weight: 500;
    color: #1c1c1c; line-height: 1.4; margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ek-product-card .svc-title a {
    color: inherit; text-decoration: none;
    position: relative; z-index: 2;
}
.ek-product-card .svc-title a::after {
    content: '';
    position: absolute; inset: -100px;
    z-index: 0;
}
.ek-product-card .svc-vendor {
    font-size: .67rem; color: #999; margin: 0;
}
.ek-product-card .svc-vendor a {
    color: #0ea5e9; font-weight: 500; text-decoration: none;
    transition: color .2s; position: relative; z-index: 2;
}
.ek-product-card .svc-vendor a:hover { color: #0284c7; }
.ek-product-card .svc-price {
    font-size: .85rem; font-weight: 700;
    color: #1c1c1c; margin-top: 4px;
}
.ek-product-card .svc-price span { font-size: .7rem; font-weight: 400; color: #aaa; }

/* ================================================================
   SERVICES LIST PAGE  (pk- layout like products page)
   ================================================================ */
#wrapper.svc-wrapper {
    background: #f7f6f4;
    min-height: 80vh;
    padding-bottom: 56px;
}

/* Page header row */
.svc-list-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 0 20px; flex-wrap: wrap;
}
.svc-page-title {
    font-size: 22px; font-weight: 700; color: #111;
    margin: 0; letter-spacing: -.3px;
}
.svc-sort-wrap {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid #e8e8e8;
    border-radius: 50px; padding: 6px 16px;
    transition: border-color .2s, box-shadow .2s;
}
.svc-sort-wrap:focus-within { border-color: #aaa; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.svc-sort-label { font-size: 13px; color: #999; white-space: nowrap; }
.svc-sort-select {
    border: none; outline: none;
    font-size: 14px; font-weight: 600; color: #1c1c1c;
    background: transparent; cursor: pointer;
    appearance: none; -webkit-appearance: none;
}

/* Two-column layout */
.svc-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px; align-items: start;
}
@media (max-width: 991px) { .svc-layout { grid-template-columns: 1fr; } }

/* Sidebar */
.svc-sidebar {
    position: sticky; top: 90px;
    display: flex; flex-direction: column; gap: 14px;
}
@media (max-width: 991px) { .svc-sidebar { position: static; } }

/* Filter card — same as pk-filter-card */
.svc-filter-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    overflow: hidden;
    transition: box-shadow .25s;
}
.svc-filter-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.svc-filter-head {
    padding: 13px 18px;
    border-bottom: 1px solid #f0f0f0;
}
.svc-filter-title {
    font-size: 11px; font-weight: 800;
    color: #111; text-transform: uppercase; letter-spacing: .7px;
}
.svc-filter-body { padding: 10px 10px; }

/* Category links */
.svc-cat-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.svc-cat-list li { list-style: none; }
.svc-cat-list a,
.svc-cat-back {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 10px; border-radius: 10px;
    font-size: 13px; color: #555;
    text-decoration: none;
    transition: background .18s, color .18s, transform .22s cubic-bezier(.175,.885,.32,1.275);
}
.svc-cat-list a:hover,
.svc-cat-back:hover { background: #f7f6f4; color: #111; transform: translateX(3px); }
.svc-cat-list a.active,
.svc-cat-list a.font-600 {
    background: #09b1ba; color: #fff !important; font-weight: 600; border-radius: 10px;
}
.svc-cat-list a.active:hover { transform: none; }
.svc-cat-back { color: #999; font-weight: 600; margin-bottom: 4px; }
.svc-cat-back:hover { transform: translateX(-3px); }
.svc-cat-sub a {
    padding-left: 20px !important;
    font-size: 12px !important;
    color: #888 !important;
}
.svc-cat-sub a:hover { color: #111 !important; }

/* Price filter */
.svc-price-row {
    display: flex; align-items: flex-end; gap: 8px; padding: 4px 0;
}
.svc-price-field { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.svc-price-field label {
    font-size: 10px; font-weight: 700; color: #aaa;
    text-transform: uppercase; letter-spacing: .5px; margin: 0;
}
.svc-price-input {
    width: 100%; border: 1.5px solid #e8e8e8; border-radius: 10px;
    padding: 8px 10px; font-size: 13px; font-weight: 600; color: #1c1c1c;
    background: #f7f6f4; outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.svc-price-input:focus { border-color: #aaa; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.svc-price-sep { padding-bottom: 10px; color: #ccc; font-size: 14px; flex-shrink: 0; }
.svc-price-go {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    border: none; background: #111; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    transition: background .2s, transform .25s cubic-bezier(.175,.885,.32,1.275);
}
.svc-price-go:hover { background: #444; transform: scale(1.1); }

/* Content area */
.svc-content { min-width: 0; }
.svc-content-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    overflow: hidden;
    margin-bottom: 24px;
}
.svc-content-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid #f0f0f0;
}
.svc-content-title {
    font-size: 15px; font-weight: 700; color: #111; margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.svc-content-title::before {
    content: ''; display: inline-block;
    width: 4px; height: 16px; border-radius: 4px; background: #09b1ba;
}
.svc-content-body { padding: 24px; }

/* Services product grid */
.svc-content .ek-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px 16px;
}
@media (max-width: 1100px) { .svc-content .ek-products-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { .svc-content .ek-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; } }

/* No results */
.svc-empty {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 64px 24px; color: #bbb; gap: 14px; text-align: center;
}
.svc-empty i { font-size: 48px; opacity: .25; display: block; }
.svc-empty p { font-size: 15px; margin: 0; color: #aaa; }
.svc-empty a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; background: #111; color: #fff !important;
    border-radius: 50px; font-size: 13px; font-weight: 600;
    text-decoration: none !important;
    transition: background .2s, transform .25s cubic-bezier(.175,.885,.32,1.275);
}
.svc-empty a:hover { background: #333; transform: translateY(-2px); }

/* Suggestions section heading */
.svc-suggestions-head {
    font-size: 15px; font-weight: 700; color: #111;
    padding: 20px 24px 0; margin: 0;
}

/* Pagination */
.svc-pagination {
    display: flex; justify-content: center; padding: 24px 0 8px;
}
.svc-pagination .pagination { margin: 0; }
.svc-pagination .pagination .page-item .page-link {
    border-radius: 10px !important; margin: 0 3px;
    border: 1.5px solid #e8e8e8; color: #333; font-weight: 600;
    transition: background .2s, border-color .2s, color .2s, transform .25s cubic-bezier(.175,.885,.32,1.275);
}
.svc-pagination .pagination .page-item .page-link:hover {
    background: #111; border-color: #111; color: #fff; transform: translateY(-2px);
}
.svc-pagination .pagination .page-item.active .page-link {
    background: #111; border-color: #111; color: #fff;
}

/* Category filter sidebar links hover */
.profile-tabs-card ul a:hover { background: #f7f6f4 !important; color: #111 !important; }
