/* ================================================
   DESIGNER / USER PROFILE — MODERN REDESIGN
   Site colors: green #10b981, blue #3b82f6, dark #0f172a
   No purple, no pink (except like button)
   ================================================ */

/* ── Page background ── */
.profile-main,
.main-content.profile-main {
    background: #f8fafc;
}

/* ── Page wrapper ── */
.designer-page-wrapper {
    background: transparent;
    padding-bottom: 80px;
    animation: dp-fadeIn 0.6s ease;
    margin-left: 260px;
    transition: margin-left 0.3s ease;
    position: relative;
    z-index: 1;
}

body.sidebar-collapsed .designer-page-wrapper {
    margin-left: 64px;
}

@media (max-width: 768px) {
    .designer-page-wrapper,
    body.sidebar-collapsed .designer-page-wrapper,
    .products-grid {
        margin-left: 0;
    }
}

/* Prevent global style from double-margining the grid */
.designer-products-container .products-grid {
    margin-left: 0 !important;
    margin-top: 20px !important;
}

/* ── Ambient Background Orbs ── */
.designer-page-wrapper::before,
.designer-page-wrapper::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    animation: dp-orb-float 8s ease-in-out infinite;
}

.designer-page-wrapper::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.10) 0%, transparent 70%);
    top: -5%;
    left: 15%;
}

.designer-page-wrapper::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    bottom: -5%;
    right: 10%;
    animation-delay: -4s;
}

@keyframes dp-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(1.05); }
    66%      { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── Cover Section ── */
.designer-cover-wrapper {
    position: relative;
    height: 320px;
    width: 100%;
    overflow: hidden;
}

.designer-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #34d399 100%);
    background-size: 200% 200%;
    animation: dp-gradientShift 15s ease infinite;
    position: relative;
}

.designer-cover.has-cover-image {
    animation: none;
    background-size: cover;
    background-position: center;
}

/* Subtle pattern overlay for gradient covers */
.cover-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.04"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z" /%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    pointer-events: none;
}

.has-cover-image .cover-pattern {
    display: none;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.5) 100%);
}

@keyframes dp-gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Profile Container ── */
.designer-content-container,
.designer-profile-container {
    padding: 0 40px;
    max-width: 1000px;
    margin: -120px auto 0;
    position: relative;
    z-index: 10;
}

/* ── Profile Card (Glassmorphism) ── */
.designer-profile-card {
    --accent: #10b981;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 28px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 36px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.designer-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

/* ── Avatar ── */
.designer-avatar-wrapper {
    --accent: #10b981;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    position: relative;
}

.designer-avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #0ea5e9, #06b6d4);
    z-index: -1;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

/* ── Online avatar pulse ── */
.designer-avatar-wrapper.is-online::after {
    opacity: 1;
    animation: dp-online-pulse 2.5s ease-in-out infinite;
}

@keyframes dp-online-pulse {
    0%, 100% { opacity: 0.75; box-shadow: 0 0 0 0 rgba(16,185,129,0); }
    50%      { opacity: 1;    box-shadow: 0 0 0 8px rgba(16,185,129,0.15); }
}

/* Online dot indicator */
.avatar-online-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22c55e;
    border: 3px solid #fff;
    z-index: 3;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    animation: dp-dot-ping 2s ease-in-out infinite;
}

@keyframes dp-dot-ping {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.designer-profile-card:hover .designer-avatar-wrapper::after {
    opacity: 1;
}

.designer-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 4px solid #fff;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f8fafc;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 800;
    color: #cbd5e1;
}

/* Vendor badge on avatar */
.avatar-vendor-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 2;
}

/* ── Info Section ── */
.designer-info {
    flex: 1;
    min-width: 0;
}

.designer-name {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.designer-page-card .designer-name {
    margin: 0 0 12px 0;
}

.verified-badge-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.verified-badge {
    color: #10b981;
    font-size: 22px;
}

.user-handle {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 14px 0;
    font-weight: 500;
}

.designer-bio {
    font-size: 16px;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 24px 0;
    max-width: 560px;
    font-weight: 400;
}

/* ── Meta tags row ── */
.designer-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.dp-meta-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 8px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.meta-tag.vendor-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

/* ── Online label next to name ── */
.online-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    line-height: 1;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   STATS + ACTIONS — Single row layout
   ══════════════════════════════════════════ */
.dp-stats-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dp-stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.dp-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.dp-stat-divider {
    width: 1px;
    height: 32px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.dp-stat-num {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    white-space: nowrap;
}

.dp-stat-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.dp-stat-likes .dp-stat-num {
    color: #ec4899;
}

/* ── Action Buttons (right side of stats) ── */
.dp-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Action Buttons ── */
.designer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    height: 44px;
    white-space: nowrap;
    justify-content: center;
    flex-shrink: 0;
    min-width: 100px;
    box-sizing: border-box;
}

.share-btn {
    background: #fff;
    color: #374151;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.share-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.share-btn svg,
.share-btn i {
    color: #64748b;
}

.like-btn {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: #fff;
    box-shadow: 0 3px 10px rgba(236, 72, 153, .25);
}

.like-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(236, 72, 153, .4);
}

.like-btn.liked {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .10);
}

/* ══════════════════════════════════════════
   PRODUCTS SECTION
   ══════════════════════════════════════════ */
.designer-products-container {
    max-width: 1700px;
    margin: 20px auto 0;
    padding: 0 50px;
}

.designer-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
}

.designer-products-section {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title {
    --accent: #10b981;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    position: relative;
    padding-left: 18px;
    letter-spacing: -0.01em;
}

.designer-products-section .section-title {
    font-size: 24px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    background: linear-gradient(to bottom, var(--accent, #10b981), #0ea5e9);
    border-radius: 5px;
}

.designer-products-section .section-title::before {
    height: 24px;
}

.products-count-badge {
    --accent: #10b981;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent, #10b981);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
}

.wide-products-grid {
    width: 100%;
}

/* Loading & empty states */
.loading-state {
    --accent: #10b981;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    color: #64748b;
    font-weight: 500;
}

.modern-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--accent, #10b981);
    border-radius: 50%;
    animation: dp-spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes dp-spin {
    to { transform: rotate(360deg); }
}

.empty-products-state {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}

.empty-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.empty-products-state p {
    font-size: 17px;
    font-weight: 500;
}

.empty-products-state i {
    font-size: 64px;
    margin-bottom: 24px;
    color: #cbd5e1;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 991px) {
    .designer-cover-wrapper {
        height: 240px;
    }

    .designer-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
        margin-bottom: 30px;
    }

    .designer-avatar-wrapper {
        width: 130px;
        height: 130px;
        margin: 0 auto;
    }

    .designer-name {
        justify-content: center;
        font-size: 26px;
        flex-wrap: wrap;
    }

    .designer-bio {
        margin: 0 auto 20px;
        text-align: center;
    }

    /* Stats + Actions: stack on tablet */
    .dp-stats-actions {
        flex-direction: column;
        gap: 10px;
    }

    .dp-stats-bar {
        border-radius: 12px;
        width: 100%;
    }

    .dp-stat-item {
        padding: 12px 16px;
    }

    .dp-stat-num {
        font-size: 18px;
    }

    .dp-stat-lbl {
        font-size: 11px;
    }

    .dp-actions-row {
        justify-content: center;
        width: 100%;
    }

    .dp-meta-tags {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .designer-info {
        width: 100%;
    }

    .designer-action-btn {
        height: 40px;
        font-size: 13px;
        padding: 8px 16px;
    }

    .designer-content-container,
    .designer-profile-container {
        padding: 0 16px;
        margin-top: -80px;
    }

    .designer-products-container {
        padding: 0 16px;
    }

    .designer-meta-row {
        justify-content: center;
    }

    .designer-products-section {
        padding: 24px;
        border-radius: 20px;
    }

    /* Online dot smaller on mobile */
    .avatar-online-dot {
        width: 15px;
        height: 15px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 540px) {
    .designer-cover-wrapper {
        height: 200px;
    }

    .designer-profile-card {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .designer-avatar-wrapper {
        width: 110px;
        height: 110px;
    }

    .designer-name {
        font-size: 22px;
    }

    .user-handle {
        font-size: 14px;
    }

    .designer-bio {
        font-size: 14px;
    }

    /* Stats bar: still single row but tighter */
    .dp-stat-item {
        padding: 10px 12px;
        gap: 5px;
    }

    .dp-stat-num {
        font-size: 16px;
    }

    .dp-stat-lbl {
        font-size: 10px;
    }

    .dp-stat-divider {
        height: 24px;
    }

    /* Actions stack on very small */
    .dp-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dp-actions-row .designer-action-btn {
        width: 100%;
    }

    .dp-meta-tags {
        justify-content: center;
    }

    .section-title {
        font-size: 22px;
    }

    .designer-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .online-label {
        font-size: 11px;
        padding: 2px 8px;
    }

    .avatar-online-dot {
        width: 14px;
        height: 14px;
        top: 6px;
        right: 6px;
        border-width: 2px;
    }
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */

@keyframes dp-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   DARK THEME
   body bg   : #181818
   card bg   : #252525
   border    : #2a2a2a
   hover bg  : #374151
   text pri  : #f9fafb
   text sec  : #9ca3af
   accent    : #10b981
   ══════════════════════════════════════════ */

body.dark-theme .profile-main,
body.dark-theme .main-content.profile-main,
body.dark-theme .designer-page-wrapper {
    background: #181818 !important;
}

body.dark-theme .designer-page-wrapper::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

body.dark-theme .designer-page-wrapper::after {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
}

/* Dark cover overlay */
body.dark-theme .cover-overlay {
    background: linear-gradient(to bottom, rgba(24, 24, 24, 0) 0%, rgba(24, 24, 24, 0.6) 100%);
}

/* Profile card glass */
body.dark-theme .designer-profile-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 16px 32px rgba(0, 0, 0, 0.25);
}

body.dark-theme .designer-profile-card:hover {
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* Text */
body.dark-theme .designer-name,
body.dark-theme .section-title {
    color: #f9fafb;
}

body.dark-theme .user-handle,
body.dark-theme .designer-bio,
body.dark-theme .loading-state {
    color: #9ca3af;
}

/* Meta tags */
body.dark-theme .meta-tag {
    background: #2a2a2a;
    color: #9ca3af;
}

body.dark-theme .meta-tag.vendor-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

/* Avatar */
body.dark-theme .designer-avatar-wrapper {
    background: #252525;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
}

body.dark-theme .designer-avatar-img {
    background: #2a2a2a;
    border-color: #252525;
}

body.dark-theme .designer-avatar-wrapper::after {
    opacity: 0.5;
}

body.dark-theme .designer-profile-card:hover .designer-avatar-wrapper::after {
    opacity: 0.8;
}

body.dark-theme .avatar-vendor-badge {
    border-color: #252525;
}

body.dark-theme .avatar-placeholder {
    background: #2a2a2a;
    border-color: #252525;
    color: #4b5563;
}

/* Online dot */
body.dark-theme .avatar-online-dot {
    border-color: #252525;
}

/* Online label */
body.dark-theme .online-label {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

/* Stats bar */
body.dark-theme .dp-stats-bar {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .dp-stat-num {
    color: #f9fafb;
}

body.dark-theme .dp-stat-lbl {
    color: #9ca3af;
}

body.dark-theme .dp-stat-divider {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-theme .dp-stat-likes .dp-stat-num {
    color: #f472b6;
}

/* Actions row */
body.dark-theme .dp-meta-tags .meta-tag {
    background: #2a2a2a;
    color: #9ca3af;
}

body.dark-theme .dp-meta-tags .meta-tag.vendor-tag {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

/* Action buttons */
body.dark-theme .designer-action-btn {
    background: #2a2a2a;
    border-color: #333;
    color: #f9fafb;
}

body.dark-theme .designer-action-btn:hover {
    background: #374151;
    border-color: #4b5563;
}

body.dark-theme .designer-action-btn svg,
body.dark-theme .designer-action-btn i {
    color: #9ca3af;
}

body.dark-theme .designer-action-btn.like-btn.liked {
    background: rgba(236, 72, 153, 0.12);
    border-color: rgba(236, 72, 153, 0.3);
    color: #f472b6;
}

body.dark-theme .designer-action-btn.like-btn.liked svg,
body.dark-theme .designer-action-btn.like-btn.liked i {
    color: #f472b6;
}

body.dark-theme .designer-action-btn.like-btn:not(.liked) {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    border-color: transparent;
    color: #fff;
}

body.dark-theme .designer-action-btn.like-btn:not(.liked) svg,
body.dark-theme .designer-action-btn.like-btn:not(.liked) i {
    color: #fff;
}

/* Products section */
body.dark-theme .designer-products-container {
    background: transparent;
}

body.dark-theme .designer-products-header,
body.dark-theme .section-header {
    border-bottom-color: #2a2a2a;
}

body.dark-theme .section-title-wrapper h2,
body.dark-theme .section-title {
    background: transparent;
}

body.dark-theme .products-count-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

body.dark-theme .modern-spinner {
    border-color: #333;
    border-top-color: #10b981;
}

body.dark-theme .loading-state p {
    color: #9ca3af;
}

/* Empty state */
body.dark-theme .empty-products-state {
    background: #252525;
    border: 1px dashed #2a2a2a;
    border-radius: 20px;
}

body.dark-theme .empty-products-state p,
body.dark-theme .empty-products-state i,
body.dark-theme .empty-products-state svg {
    color: #9ca3af;
}

/* Product cards */
body.dark-theme .product-card {
    background: #252525;
    border-color: #2a2a2a;
}

body.dark-theme .product-card:hover {
    border-color: #2a2a2a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

body.dark-theme .product-details h3 {
    color: #f9fafb;
}

body.dark-theme .product-details p {
    color: #9ca3af;
}

/* Designer products section panel */
body.dark-theme .designer-products-section {
    background: #252525;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* ══════════════════════════════════════════
   SKELETON LOADER
   ══════════════════════════════════════════ */
.designer-skeleton-overlay {
    position: absolute;
    inset: 0;
    background: #f8fafc;
    z-index: 50;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

body.dark-theme .designer-skeleton-overlay {
    background: #181818;
}

.csk-cover {
    height: 320px;
    width: 100%;
    background: linear-gradient(90deg, #e2e8f0 25%, #d1d9e6 50%, #e2e8f0 75%);
    background-size: 400% 100%;
    animation: dp-skeleton 1.5s ease-in-out infinite;
}

body.dark-theme .csk-cover {
    background: linear-gradient(90deg, #1e293b 25%, #2d3f55 50%, #1e293b 75%);
    background-size: 400% 100%;
}

.csk-profile-card {
    height: 250px;
    max-width: 1000px;
    width: calc(100% - 80px);
    margin: -120px auto 40px;
    border-radius: 28px;
    background: linear-gradient(90deg, #e2e8f0 25%, #d1d9e6 50%, #e2e8f0 75%);
    background-size: 400% 100%;
    animation: dp-skeleton 1.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

body.dark-theme .csk-profile-card {
    background: linear-gradient(90deg, #1e293b 25%, #2d3f55 50%, #1e293b 75%);
    background-size: 400% 100%;
}

.csk-products {
    max-width: 1000px;
    width: calc(100% - 80px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.csk-box {
    border-radius: 14px;
    background: linear-gradient(90deg, #e2e8f0 25%, #d1d9e6 50%, #e2e8f0 75%);
    background-size: 400% 100%;
    animation: dp-skeleton 1.5s ease-in-out infinite;
    height: 320px;
    width: 100%;
}

body.dark-theme .csk-box {
    background: linear-gradient(90deg, #1e293b 25%, #2d3f55 50%, #1e293b 75%);
    background-size: 400% 100%;
}

@keyframes dp-skeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
