* {
    box-sizing: border-box;
}

:root {
    --bg: #f7f7f5;
    --surface: #ffffff;
    --text: #111111;
    --muted: #777777;
    --line: #e5e5e5;
    --accent: #111111;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    height: 76px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

nav {
    display: flex;
    gap: 30px;
    color: #555;
    font-size: 14px;
}

nav a:hover {
    color: #000;
}

.login-button {
    border: 1px solid #ddd;
    background: white;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
}


.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 90px 7%;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78),
            rgba(0,0,0,.35),
            rgba(0,0,0,.05)
        ),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=2200&q=90")
        center / cover;
    color: white;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: .7;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: .95;
    letter-spacing: -4px;
    margin: 18px 0 25px;
}

.hero h1 span {
    opacity: .62;
}

.hero p {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,.82);
}

.search-box {
    margin-top: 35px;
    width: min(600px, 100%);
    height: 64px;
    background: white;
    color: #111;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.search-box span {
    font-size: 30px;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 16px;
}


.section {
    padding: 90px 7%;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-heading h2,
.how-section h2 {
    font-size: 42px;
    letter-spacing: -2px;
    margin: 8px 0 0;
}

.event-count {
    color: var(--muted);
    font-size: 14px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    min-width: 0;
}

.event-image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #ddd;
}

.event-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.04);
}

.event-category {
    position: absolute;
    left: 15px;
    top: 15px;
    background: rgba(0,0,0,.7);
    color: white;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
}

.favorite {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    font-size: 22px;
    cursor: pointer;
}

.favorite.active {
    background: #111;
    color: white;
}

.event-info {
    padding: 17px 3px;
}

.event-date {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.event-info h3 {
    font-size: 22px;
    margin: 8px 0;
    letter-spacing: -.5px;
}

.location {
    color: #666;
    margin: 0 0 13px;
}

.event-meta {
    display: flex;
    gap: 8px;
    color: #999;
    font-size: 12px;
}

.empty-search {
    display: none;
    padding: 50px 0;
    color: #777;
}


.photographer-section {
    margin: 20px 7% 100px;
    padding: 70px;
    background: #111;
    color: white;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.photographer-section h2 {
    font-size: 52px;
    line-height: .98;
    letter-spacing: -3px;
    margin: 15px 0;
}

.photographer-section p {
    color: #aaa;
    line-height: 1.6;
    max-width: 480px;
}

.primary-button {
    margin-top: 15px;
    border: 0;
    background: white;
    color: #111;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
}

.photographer-card {
    background: #1d1d1d;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #333;
    font-weight: 800;
}

/* Avatar del fotógrafo en eventos públicos */
.photographer-avatar {
    overflow: hidden;
}

.photographer-avatar img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.photographer-card strong,
.photographer-card span {
    display: block;
}

.photographer-card span {
    margin-top: 5px;
    color: #999;
    font-size: 12px;
}

.photographer-stat {
    margin-left: auto;
    text-align: right;
}


.how-section {
    padding: 30px 7% 100px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.steps > div {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.steps span {
    color: #999;
    font-size: 12px;
}

.steps h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.steps p {
    color: #777;
    line-height: 1.5;
}


footer {
    padding: 40px 7%;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 13px;
}


@media (max-width: 900px) {

    nav {
        display: none;
    }

    .event-grid,
    .steps,
    .photographer-section {
        grid-template-columns: 1fr;
    }

    .photographer-section {
        padding: 40px 25px;
    }

    .hero {
        min-height: 520px;
        padding: 70px 6%;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .section-heading {
        align-items: start;
        gap: 15px;
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 10px;
    }
}


/* =========================================================
   PICARTE — EVENT PAGE
   ========================================================= */

.event-page {
    background: #f7f7f5;
}

.brand a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-hero {
    position: relative;
    height: min(68vh, 680px);
    min-height: 520px;
    overflow: hidden;
    background: #111;
}

.event-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.18) 55%,
            rgba(0,0,0,.05) 100%
        );
}

.event-hero-content {
    position: absolute;
    left: 6vw;
    right: 6vw;
    bottom: 60px;
    color: white;
    max-width: 1000px;
}

.back-link {
    display: inline-block;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 14px;
}

.back-link:hover {
    color: white;
}

.event-hero-content .event-category {
    display: inline-block;
    position: static;
    margin-bottom: 15px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
    color: white;
}

.event-hero-content h1 {
    font-size: clamp(42px, 6vw, 82px);
    line-height: .95;
    letter-spacing: -3px;
    margin: 0 0 18px;
    max-width: 900px;
}

.event-hero-content p {
    font-size: 18px;
    margin: 0;
    color: rgba(255,255,255,.85);
}

.event-container {
    width: min(1380px, 90%);
    margin: 0 auto;
    padding: 85px 0 100px;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 35px;
}

.event-header h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
    margin: 8px 0 15px;
}

.event-header p {
    color: #777;
    font-size: 17px;
    margin: 0;
}

.event-stat {
    text-align: right;
    white-space: nowrap;
}

.event-stat strong {
    display: block;
    font-size: 42px;
    letter-spacing: -2px;
}

.event-stat span {
    color: #777;
    font-size: 14px;
}

.photo-search {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    border: 1px solid #e4e4e1;
    border-radius: 18px;
    padding: 0 22px;
    height: 68px;
    margin-bottom: 22px;
    box-shadow: 0 8px 30px rgba(0,0,0,.04);
}

.photo-search span {
    font-size: 28px;
    color: #777;
}

.photo-search input {
    width: 100%;
    border: 0;
    outline: none;
    font-size: 17px;
    background: transparent;
    color: #111;
}

.photographer-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 35px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
}

.photographer-bar .avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #111;
    color: white;
    font-weight: 700;
}

.photographer-info {
    flex: 1;
}

.photographer-info span {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 4px;
}

.photographer-info strong {
    display: block;
    font-size: 15px;
}

.photographer-button {
    border: 1px solid #ddd;
    background: white;
    border-radius: 999px;
    padding: 11px 18px;
    cursor: pointer;
}

.gallery-grid {
    columns: 3 320px;
    column-gap: 18px;
}

.photo-card {
    position: relative;
    break-inside: avoid;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 14px;
    background: #ddd;
}

.photo-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .5s ease;
}

.photo-card:hover img {
    transform: scale(1.025);
}

.photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.6),
        transparent 35%
    );
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.photo-card:hover::after {
    opacity: 1;
}

.photo-favorite {
    position: absolute;
    z-index: 4;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    font-size: 21px;
    cursor: pointer;
}

.photo-favorite.active {
    background: #111;
    color: white;
}

.watermark {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
    color: rgba(255,255,255,.34);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 4px;
    pointer-events: none;
    white-space: nowrap;
}

.photo-actions {
    position: absolute;
    z-index: 5;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.photo-card:hover .photo-actions {
    opacity: 1;
    transform: translateY(0);
}

.photo-actions span {
    font-size: 13px;
}

.photo-actions button {
    border: 0;
    background: white;
    color: #111;
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
}

.event-cta {
    margin: 0 auto 100px;
    width: min(1380px, 90%);
    padding: 90px 8%;
    background: #111;
    color: white;
    border-radius: 28px;
}

.event-cta h2 {
    max-width: 700px;
    font-size: clamp(36px, 5vw, 65px);
    line-height: 1;
    letter-spacing: -2px;
    margin: 12px 0 20px;
}

.event-cta p {
    max-width: 600px;
    color: #aaa;
    font-size: 17px;
    line-height: 1.6;
}

.event-cta .primary-button {
    margin-top: 18px;
}


@media (max-width: 800px) {

    .event-hero {
        min-height: 470px;
        height: 65vh;
    }

    .event-hero-content {
        left: 5%;
        right: 5%;
        bottom: 38px;
    }

    .event-hero-content h1 {
        letter-spacing: -2px;
    }

    .event-container {
        padding-top: 55px;
    }

    .event-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .event-stat {
        text-align: left;
    }

    .gallery-grid {
        columns: 2 180px;
        column-gap: 10px;
    }

    .photo-card {
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .photographer-button {
        display: none;
    }

    .event-cta {
        padding: 55px 8%;
        margin-bottom: 50px;
    }

}



/* =========================================================
   PICARTE — PHOTO VIEWER
   ========================================================= */

.photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 7, 7, .97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    overscroll-behavior: contain;
}

.photo-viewer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.photo-viewer-stage {
    position: relative;
    width: min(88vw, 1500px);
    height: min(84vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-viewer-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.photo-viewer-watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
    color: rgba(255, 255, 255, .24);
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 900;
    letter-spacing: 7px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

.photo-viewer-close,
.photo-viewer-prev,
.photo-viewer-next {
    position: absolute;
    z-index: 20;
    border: 0;
    color: white;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background .18s ease,
        transform .18s ease;
}

.photo-viewer-close:hover,
.photo-viewer-prev:hover,
.photo-viewer-next:hover {
    background: rgba(255,255,255,.18);
}

.photo-viewer-close {
    top: 22px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
}

.photo-viewer-close:hover {
    transform: rotate(4deg) scale(1.04);
}

.photo-viewer-prev,
.photo-viewer-next {
    top: 50%;
    width: 54px;
    height: 74px;
    margin-top: -37px;
    border-radius: 16px;
    font-size: 46px;
    font-weight: 300;
    line-height: 1;
}

.photo-viewer-prev {
    left: 22px;
}

.photo-viewer-next {
    right: 22px;
}

.photo-viewer-prev:hover {
    transform: translateX(-2px);
}

.photo-viewer-next:hover {
    transform: translateX(2px);
}

.photo-viewer-footer {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 9px 12px 9px 18px;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
}

.photo-viewer-favorite {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    background: white;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.photo-viewer-favorite:hover {
    transform: translateY(-1px);
}

.photo-viewer-favorite.active {
    background: #111;
    color: white;
}


/* =========================================================
   PICARTE — PHOTO COMMERCE INFO
   ========================================================= */

.photo-viewer-info {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: min(92vw, 760px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 12px 14px 12px 18px;
    color: rgba(255,255,255,.94);
    background: rgba(20,20,20,.72);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.photo-viewer-photo-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.photo-viewer-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.52);
}

.photo-viewer-photo-meta strong {
    font-size: 15px;
    line-height: 1.2;
    color: white;
}

.photo-viewer-photo-meta span:not(.photo-viewer-eyebrow) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#photoViewerEventName {
    font-size: 12px;
    color: rgba(255,255,255,.72);
    max-width: 360px;
}

#photoViewerPhotographer {
    font-size: 11px;
    color: rgba(255,255,255,.48);
}

.photo-viewer-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.photo-viewer-actions > #photoViewerCounter {
    font-size: 12px;
    color: rgba(255,255,255,.62);
    white-space: nowrap;
}

.photo-viewer-buy {
    border: 0;
    border-radius: 999px;
    padding: 10px 17px;
    background: white;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.photo-viewer-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255,255,255,.16);
}

.photo-viewer-buy:active {
    transform: translateY(0);
}


/* Mobile commerce bar */

@media (max-width: 800px) {

    .photo-viewer-info {
        left: 10px;
        right: 10px;
        bottom: 10px;
        transform: none;
        width: auto;
        padding: 11px;
        border-radius: 16px;
        gap: 10px;
    }

    .photo-viewer-photo-meta {
        min-width: 0;
        flex: 1;
    }

    .photo-viewer-photo-meta strong {
        font-size: 14px;
    }

    #photoViewerEventName {
        max-width: 170px;
        font-size: 11px;
    }

    #photoViewerPhotographer {
        font-size: 10px;
    }

    .photo-viewer-actions {
        gap: 7px;
    }

    .photo-viewer-actions > #photoViewerCounter {
        display: none;
    }

    .photo-viewer-favorite {
        padding: 8px 10px;
        font-size: 11px;
    }

    .photo-viewer-buy {
        padding: 9px 12px;
        font-size: 11px;
    }

}


/* =========================================================
   END PHOTO COMMERCE INFO
   ========================================================= */

/* Make the entire photo card feel clickable */

.photo-card {
    cursor: pointer;
}

.photo-card img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.photo-actions {
    pointer-events: none;
}


/* Prevent accidental page interaction while viewer is open */

body.photo-viewer-open {
    overflow: hidden;
}


/* Mobile */

@media (max-width: 800px) {

    .photo-viewer {
        background: #050505;
    }

    .photo-viewer-stage {
        width: 100vw;
        height: calc(100vh - 120px);
        padding: 20px;
    }

    .photo-viewer-stage img {
        max-width: 100%;
        max-height: 100%;
    }

    .photo-viewer-watermark {
        font-size: 22px;
        letter-spacing: 5px;
    }

    .photo-viewer-close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .photo-viewer-prev,
    .photo-viewer-next {
        width: 44px;
        height: 58px;
        margin-top: -29px;
        border-radius: 13px;
        font-size: 36px;
    }

    .photo-viewer-prev {
        left: 10px;
    }

    .photo-viewer-next {
        right: 10px;
    }

    .photo-viewer-footer {
        bottom: 14px;
        gap: 12px;
        font-size: 12px;
    }

    .photo-viewer-favorite {
        padding: 8px 12px;
        font-size: 12px;
    }

}


/* =========================================================
   END PHOTO VIEWER
   ========================================================= */

/* =========================================================
   PICARTE — DASHBOARD
   ========================================================= */

.dashboard-page {
    background: #f5f5f3;
    color: #111;
}


/* ---------- TOPBAR ---------- */

.dashboard-page .topbar {
    height: 72px;
    padding: 0 5%;
}

.dashboard-page .topbar nav {
    margin-left: auto;
    margin-right: 28px;
}

.dashboard-page .topbar nav a {
    padding: 9px 13px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}

.dashboard-page .topbar nav a:hover {
    background: #f0f0ee;
}


/* ---------- MAIN ---------- */

.dashboard {
    width: min(1320px, 90%);
    margin: 0 auto;
    padding: 72px 0 100px;
}


/* ---------- HEADER ---------- */

.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.dashboard-header h1 {
    margin: 14px 0 20px;
    font-size: clamp(46px, 6vw, 76px);
    line-height: .94;
    letter-spacing: -4px;
    font-weight: 800;
}

.dashboard-header p {
    max-width: 560px;
    margin: 0;
    color: #777;
    font-size: 17px;
    line-height: 1.6;
}

.dashboard-header .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0;
    background: #111;
    color: white;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.dashboard-header .primary-button:hover {
    background: #292929;
    transform: translateY(-2px);
}


/* ---------- STATS ---------- */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 75px;
}

.dashboard-stat {
    min-height: 145px;
    padding: 25px;
    background: white;
    border: 1px solid #e4e4e1;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dashboard-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,.05);
}

.dashboard-stat span {
    color: #999;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.dashboard-stat strong {
    font-size: 46px;
    line-height: 1;
    letter-spacing: -2px;
}


/* ---------- SECTION ---------- */

.dashboard-section {
    margin-bottom: 70px;
}

.dashboard-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 25px;
}

.dashboard-section-heading h2 {
    margin: 9px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -2px;
}

.dashboard-muted {
    color: #777;
    font-size: 13px;
}


/* ---------- EVENT ---------- */

.dashboard-event {
    display: grid;
    grid-template-columns: 250px 1fr auto;
    min-height: 220px;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e2df;
    border-radius: 22px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.dashboard-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0,0,0,.07);
}

.dashboard-event-cover {
    position: relative;
    min-height: 220px;
    background:
        linear-gradient(
            135deg,
            #171717,
            #3a3a3a
        );
    display: grid;
    place-items: center;
}

.dashboard-folder-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    display: grid;
    place-items: center;
    font-size: 31px;
    filter: grayscale(1);
}

.dashboard-event-info {
    padding: 35px 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #555;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
}

.dashboard-status::first-letter {
    color: #111;
}

.dashboard-event-info h3 {
    margin: 0 0 9px;
    font-size: 29px;
    letter-spacing: -1px;
}

.dashboard-event-info p {
    margin: 0 0 18px;
    color: #888;
    font-size: 14px;
}

.dashboard-event-meta {
    display: flex;
    gap: 8px;
    color: #777;
    font-size: 12px;
}

.dashboard-event-action {
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcdcd8;
    background: white;
    color: #111;
    padding: 12px 19px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dashboard-button:hover:not(:disabled) {
    background: #111;
    color: white;
    border-color: #111;
}


/* ---------- EMPTY / NEXT EVENT ---------- */

.dashboard-empty-section {
    padding: 45px;
    border: 1px dashed #d7d7d3;
    border-radius: 22px;
    background: rgba(255,255,255,.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.dashboard-empty-section h2 {
    margin: 10px 0 12px;
    font-size: 31px;
    letter-spacing: -1px;
}

.dashboard-empty-section p {
    max-width: 650px;
    margin: 0;
    color: #777;
    line-height: 1.6;
    font-size: 14px;
}

.dashboard-empty-section .dashboard-button {
    flex-shrink: 0;
    background: #111;
    color: white;
    border-color: #111;
}

.dashboard-empty-section .dashboard-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}


/* ---------- FOOTER ---------- */

.dashboard-page footer {
    background: #fff;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 1000px) {

    .dashboard {
        width: min(92%, 760px);
        padding-top: 55px;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .dashboard-header h1 {
        font-size: clamp(46px, 9vw, 68px);
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-event {
        grid-template-columns: 190px 1fr;
    }

    .dashboard-event-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding: 0 30px 30px;
    }
}


@media (max-width: 650px) {

    .dashboard {
        width: 92%;
        padding: 42px 0 70px;
    }

    .dashboard-page .topbar {
        padding: 0 4%;
    }

    .dashboard-page .login-button {
        padding: 9px 13px;
        font-size: 12px;
    }

    .dashboard-header {
        margin-bottom: 40px;
    }

    .dashboard-header h1 {
        font-size: 48px;
        letter-spacing: -3px;
    }

    .dashboard-header p {
        font-size: 15px;
    }

    .dashboard-stats {
        gap: 10px;
        margin-bottom: 55px;
    }

    .dashboard-stat {
        min-height: 120px;
        padding: 20px;
    }

    .dashboard-stat strong {
        font-size: 37px;
    }

    .dashboard-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .dashboard-event {
        display: block;
    }

    .dashboard-event-cover {
        min-height: 150px;
    }

    .dashboard-event-info {
        padding: 25px;
    }

    .dashboard-event-info h3 {
        font-size: 25px;
    }

    .dashboard-event-action {
        padding: 0 25px 25px;
    }

    .dashboard-empty-section {
        padding: 30px 25px;
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-empty-section h2 {
        font-size: 27px;
    }
}




/* ---------- PRIVATE NAV ---------- */

.private-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 22px;
}

.private-nav a {
    padding: 9px 13px;
    border-radius: 999px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    transition:
        background .2s ease,
        color .2s ease;
}

.private-nav a:hover {
    background: #f0f0ee;
    color: #111;
}

.private-nav a.active {
    background: #111;
    color: #fff;
}

.cart-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cart-nav-count {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.private-nav a.active .cart-nav-count {
    background: #fff;
    color: #111;
}


/* ============================================================
   PROFILE
   ============================================================ */

.profile-page {
    min-height: 100vh;
}

.profile-container {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
    padding: 72px 0 100px;
}

.profile-header {
    margin-bottom: 48px;
}

.profile-header h1 {
    margin: 12px 0 16px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: .95;
    letter-spacing: -0.04em;
}

.profile-header p {
    max-width: 650px;
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    opacity: .72;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-section {
    padding: 34px;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
}

.profile-section-heading {
    margin-bottom: 30px;
}

.profile-section-heading h2 {
    margin: 8px 0 8px;
    font-size: 28px;
    letter-spacing: -0.025em;
}

.profile-section-heading p {
    margin: 0;
    max-width: 650px;
    line-height: 1.55;
    opacity: .65;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-field-full {
    grid-column: 1 / -1;
}

.profile-field > span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.profile-field input,
.profile-field select,
.profile-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.profile-field textarea {
    resize: vertical;
    min-height: 130px;
}

.profile-field input:focus,
.profile-field select:focus,
.profile-field textarea:focus {
    border-color: rgba(0, 0, 0, .42);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.profile-field input:disabled {
    opacity: .58;
    cursor: not-allowed;
    background: rgba(0, 0, 0, .035);
}

.profile-field small {
    font-size: 12px;
    line-height: 1.45;
    opacity: .58;
}

.profile-brand-section {
    margin-bottom: 0;
}

.profile-coming-soon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, .035);
}

.profile-coming-soon strong {
    font-size: 14px;
}

.profile-coming-soon span {
    font-size: 14px;
    line-height: 1.5;
    opacity: .62;
}

.profile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 4px;
}

.profile-actions > span {
    font-size: 13px;
    opacity: .58;
}

.profile-actions .primary-button {
    border: 0;
    cursor: pointer;
}


@media (max-width: 700px) {

    .profile-container {
        width: min(100% - 28px, 980px);
        padding: 48px 0 70px;
    }

    .profile-header {
        margin-bottom: 34px;
    }

    .profile-header h1 {
        font-size: 44px;
    }

    .profile-section {
        padding: 24px;
        border-radius: 16px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-field-full {
        grid-column: auto;
    }

    .profile-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-actions .primary-button {
        width: 100%;
    }

}


/* =========================================================
   PICARTE — CART
   Premium shopping experience
   ========================================================= */

.cart-page {
    background: #f5f5f3;
    color: #111;
    min-height: 100vh;
}


/* ---------- TOPBAR ---------- */

.cart-page .topbar {
    height: 72px;
    padding: 0 5%;
}

.cart-page .private-nav {
    margin-left: auto;
    margin-right: 22px;
}


/* ---------- MAIN ---------- */

.cart-container {
    width: min(1280px, 90%);
    margin: 0 auto;
    padding: 78px 0 110px;
}


/* ---------- HEADER ---------- */

.cart-header {
    margin-bottom: 48px;
}

.cart-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #999;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cart-header h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 78px);
    line-height: .94;
    letter-spacing: -4px;
    font-weight: 800;
}

.cart-header p {
    margin: 20px 0 0;
    color: #777;
    font-size: 16px;
    line-height: 1.6;
}


/* ---------- LOADING ---------- */

.cart-loading {
    padding: 70px 30px;
    text-align: center;
    color: #888;
}


/* ---------- LAYOUT ---------- */

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 28px;
}


/* ---------- ITEMS ---------- */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ---------- ITEM ---------- */

.cart-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    min-height: 220px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e2df;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0,0,0,.035);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0,0,0,.065);
}


/* ---------- IMAGE ---------- */

.cart-item-image {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background: #171717;
}

.cart-item-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.03),
            rgba(0,0,0,.18)
        );
}

.cart-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.035);
}


/* ---------- INFORMATION ---------- */

.cart-item-info {
    min-width: 0;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-type {
    display: block;
    margin-bottom: 10px;
    color: #999;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cart-item-info h2 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.cart-item-info p {
    margin: 0 0 14px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.cart-item-seller {
    color: #999;
    font-size: 12px;
}


/* ---------- PRICE ---------- */

.cart-item-price {
    min-width: 120px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    border-left: 1px solid #eeeeeb;
}

.cart-item-price span {
    color: #999;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-item-price strong {
    font-size: 17px;
    letter-spacing: -.4px;
}

.cart-item-price strong:last-child {
    margin-top: 7px;
    font-size: 22px;
    letter-spacing: -.8px;
}


/* ---------- SUMMARY ---------- */

.cart-summary {
    position: sticky;
    top: 94px;
    padding: 30px;
    background: #111;
    color: white;
    border-radius: 26px;
    box-shadow: 0 20px 55px rgba(0,0,0,.13);
}

.cart-summary-label {
    display: block;
    margin-bottom: 28px;
    color: #999;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: #aaa;
    font-size: 14px;
}

.cart-summary-row strong {
    color: white;
    font-size: 15px;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding: 25px 0 28px;
}

.cart-summary-total span {
    color: #aaa;
    font-size: 14px;
}

.cart-summary-total strong {
    color: white;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -1.5px;
}


/* ---------- CHECKOUT ---------- */

.cart-checkout-button {
    width: 100%;
    min-height: 54px;
    margin: 0;
    border: 0;
    background: white;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        opacity .2s ease;
}

.cart-checkout-button:hover:not(:disabled) {
    background: #f1f1ef;
    transform: translateY(-2px);
}

.cart-checkout-button:disabled {
    opacity: .48;
    cursor: not-allowed;
}

.cart-checkout-note {
    margin: 17px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}


/* ---------- EMPTY ---------- */

.cart-empty {
    padding: 90px 35px;
    text-align: center;
    background: white;
    border: 1px solid #e2e2df;
    border-radius: 26px;
}

.cart-empty h2 {
    margin: 0 0 12px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.cart-empty p {
    max-width: 480px;
    margin: 0 auto 25px;
    color: #777;
    font-size: 15px;
    line-height: 1.6;
}

.cart-empty .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #111;
    color: white;
    padding: 14px 22px;
    font-weight: 700;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 1050px) {

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .cart-item {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .cart-item-price {
        grid-column: 1 / -1;
        min-width: 0;
        padding: 18px 25px 22px;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
        border-left: 0;
        border-top: 1px solid #eeeeeb;
    }

    .cart-item-price strong:last-child {
        margin-top: 0;
    }
}


@media (max-width: 800px) {

    .cart-container {
        width: 92%;
        padding: 55px 0 75px;
    }

    .cart-page .topbar {
        padding: 0 4%;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cart-summary {
        position: static;
    }

    .cart-header {
        margin-bottom: 35px;
    }

    .cart-header h1 {
        font-size: 52px;
        letter-spacing: -3px;
    }

    .cart-item {
        grid-template-columns: 145px minmax(0, 1fr);
        border-radius: 20px;
    }

    .cart-item-image {
        min-height: 180px;
    }

    .cart-item-info {
        padding: 24px 22px;
    }

    .cart-item-info h2 {
        font-size: 21px;
    }

    .cart-item-price {
        grid-column: 1 / -1;
    }
}


@media (max-width: 560px) {

    .cart-container {
        width: 94%;
        padding-top: 42px;
    }

    .cart-header h1 {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    .cart-header p {
        font-size: 14px;
    }

    .cart-item {
        display: block;
    }

    .cart-item-image {
        height: 280px;
        min-height: 0;
    }

    .cart-item-info {
        padding: 24px;
    }

    .cart-item-price {
        padding: 18px 24px 22px;
        justify-content: space-between;
    }

    .cart-summary {
        padding: 25px;
        border-radius: 22px;
    }

    .cart-summary-total strong {
        font-size: 27px;
    }
}



/* =========================================================
   PICARTE — CHECKOUT
   ========================================================= */

.checkout-page {
    min-height: 100vh;
    background: #f6f6f3;
    color: #171717;
}

.checkout-container {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 72px 0 90px;
}

.checkout-header {
    margin-bottom: 42px;
}

.checkout-header h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .95;
    letter-spacing: -4px;
    font-weight: 800;
    color: #111;
}

.checkout-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #777;
}

.checkout-header p {
    margin: 18px 0 0;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.6;
    color: #666;
}

.checkout-content {
    min-height: 220px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.checkout-main {
    min-width: 0;
}

.checkout-card {
    background: #fff;
    border: 1px solid #e6e6e1;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .04);
}

.checkout-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 28px;
    border-bottom: 1px solid #eeeeeb;
}

.checkout-card-eyebrow {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #8a8a85;
}

.checkout-card-header strong {
    font-size: 15px;
    font-weight: 800;
}

.checkout-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f3f3ef;
    color: #555;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.checkout-items {
    display: flex;
    flex-direction: column;
}

.checkout-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: stretch;
    padding: 24px;
    border-bottom: 1px solid #eeeeeb;
}

.checkout-item:last-child {
    border-bottom: 0;
}

.checkout-item-image {
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #ededeb;
}

.checkout-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.checkout-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-info {
    min-width: 0;
    padding: 5px 0;
}

.checkout-item-type {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8a8a85;
}

.checkout-item-info h2 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -.7px;
    font-weight: 800;
    color: #171717;
    overflow-wrap: anywhere;
}

.checkout-item-info p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #666;
}

.checkout-item-seller {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: #777;
}

.checkout-item-price {
    min-width: 115px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 7px;
    padding: 5px 0;
    text-align: right;
}

.checkout-item-price span {
    font-size: 12px;
    color: #888;
}

.checkout-item-price strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.4px;
    color: #151515;
}

.checkout-security {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-top: 20px;
    padding: 23px 26px;
}

.checkout-security-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0f0ec;
    color: #222;
    font-size: 18px;
    font-weight: 800;
}

.checkout-security h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: #222;
}

.checkout-security p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #777;
}

.checkout-summary {
    position: sticky;
    top: 25px;
    background: #171717;
    color: #fff;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

.checkout-summary-label {
    display: block;
    margin-bottom: 25px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #aaa;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 14px;
    color: #bdbdbd;
}

.checkout-summary-row strong {
    color: #fff;
    font-weight: 700;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding: 22px 0 25px;
}

.checkout-summary-total span {
    font-size: 13px;
    color: #aaa;
}

.checkout-summary-total strong {
    font-size: 31px;
    line-height: 1;
    letter-spacing: -1px;
    font-weight: 800;
    color: #fff;
}

.checkout-pay-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.checkout-pay-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.checkout-payment-note {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #999;
}

.checkout-back-link {
    display: inline-flex;
    margin-top: 22px;
    color: #aaa;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.checkout-back-link:hover {
    color: #fff;
}

.checkout-loading,
.checkout-empty {
    padding: 55px 25px;
    text-align: center;
    color: #777;
}


/* =========================================================
   CHECKOUT — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .checkout-container {
        width: 92%;
        padding: 55px 0 70px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}


/* =========================================================
   CHECKOUT — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .checkout-container {
        width: 94%;
        padding: 42px 0 60px;
    }

    .checkout-header {
        margin-bottom: 30px;
    }

    .checkout-header h1 {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    .checkout-header p {
        font-size: 14px;
    }

    .checkout-card-header {
        padding: 21px;
    }

    .checkout-item {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 20px;
    }

    .checkout-item-image {
        aspect-ratio: 16 / 10;
    }

    .checkout-item-info h2 {
        font-size: 21px;
    }

    .checkout-item-price {
        min-width: 0;
        padding: 16px 0 0;
        border-top: 1px solid #eeeeeb;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .checkout-security {
        padding: 21px;
    }

    .checkout-summary {
        padding: 25px;
        border-radius: 22px;
    }

    .checkout-summary-total strong {
        font-size: 28px;
    }
}


/* ============================================================
   PICARTE HOME V2
   ============================================================ */

.home-page {
    background: #f7f7f4;
    color: #111;
}

.home-page .home-topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 0 5%;
    border-bottom: 1px solid #e7e7e2;
    background: rgba(247, 247, 244, .94);
    backdrop-filter: blur(12px);
}

.home-brand a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    margin-right: 18px;
}

.home-nav a {
    padding: 9px 13px;
    border-radius: 999px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.home-nav a:hover {
    background: #ededeb;
    color: #111;
}

.home-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 17px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.fm-hero {
    overflow: hidden;
    padding: 72px 5% 84px;
    background: #f7f7f4;
}

.fm-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: 70px;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
}

.fm-eyebrow {
    display: inline-block;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.fm-hero h1 {
    max-width: 720px;
    margin: 18px 0 22px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .95;
    letter-spacing: -.065em;
}

.fm-hero h1 span {
    display: block;
    color: #777;
}

.fm-hero-copy > p {
    max-width: 610px;
    margin: 0;
    color: #666;
    font-size: 17px;
    line-height: 1.65;
}

.fm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.fm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.fm-button-primary {
    background: #111;
    color: #fff;
}

.fm-button-primary:hover {
    background: #292929;
}

.fm-button-secondary {
    border: 1px solid #d9d9d4;
    background: #fff;
    color: #111;
}

.fm-button-secondary:hover {
    border-color: #111;
}

.fm-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 610px;
    margin-top: 26px;
    padding: 0 17px;
    border: 1px solid #deded8;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .04);
}

.fm-search-icon {
    color: #888;
    font-size: 24px;
}

.fm-search input {
    width: 100%;
    height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 14px;
}

.fm-hero-visual {
    min-height: 520px;
}

.fm-hero-photo {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: 26px;
    background: #ddd;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .13);
}

.fm-hero-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .72),
        rgba(0, 0, 0, 0) 55%
    );
}

.fm-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fm-hero-photo-info {
    position: absolute;
    right: 28px;
    bottom: 25px;
    left: 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #fff;
}

.fm-hero-photo-info span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .78;
}

.fm-hero-photo-info strong {
    max-width: 500px;
    font-size: 27px;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.fm-hero-photo-info small {
    font-size: 12px;
    opacity: .8;
}

.fm-hero-placeholder,
.fm-event-image-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    background: #e5e5e0;
}

.fm-hero-placeholder img,
.fm-event-image-placeholder img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    opacity: .12;
}

.fm-events-section {
    padding: 82px 5%;
    background: #fff;
}

.fm-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto 32px;
}

.fm-section-heading h2 {
    margin: 9px 0 8px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1;
    letter-spacing: -.055em;
}

.fm-section-heading p {
    max-width: 580px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.fm-event-count {
    color: #888;
    font-size: 12px;
    font-weight: 700;
}

.fm-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1320px;
    margin: 0 auto;
}

.fm-event-card {
    overflow: hidden;
    border: 1px solid #e8e8e3;
    border-radius: 18px;
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.fm-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.fm-event-image {
    position: relative;
    display: block;
    height: 280px;
    overflow: hidden;
    background: #e5e5e0;
}

.fm-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.fm-event-card:hover .fm-event-image img {
    transform: scale(1.035);
}

.fm-event-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fm-event-info {
    padding: 22px;
}

.fm-event-date {
    color: #999;
    font-size: 11px;
    font-weight: 700;
}

.fm-event-info h3 {
    margin: 8px 0 9px;
    font-size: 21px;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.fm-event-info h3 a {
    color: #111;
    text-decoration: none;
}

.fm-event-location {
    margin: 0;
    color: #777;
    font-size: 12px;
}

.fm-event-meta {
    display: flex;
    gap: 7px;
    margin-top: 15px;
    color: #888;
    font-size: 11px;
}

.fm-event-link {
    display: inline-block;
    margin-top: 19px;
    color: #111;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.fm-event-link:hover {
    text-decoration: underline;
}

.fm-empty-search {
    display: none;
    max-width: 1320px;
    margin: 30px auto 0;
    padding: 35px;
    border: 1px dashed #d8d8d2;
    border-radius: 16px;
    color: #777;
    text-align: center;
}

.fm-how {
    padding: 90px 5%;
    background: #f7f7f4;
}

.fm-how-heading {
    max-width: 1320px;
    margin: 0 auto 48px;
}

.fm-how-heading h2 {
    margin: 10px 0 10px;
    font-size: clamp(35px, 4vw, 54px);
    letter-spacing: -.055em;
}

.fm-how-heading p {
    max-width: 560px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.fm-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 1320px;
    margin: 0 auto;
    border: 1px solid #deded9;
    background: #deded9;
}

.fm-step {
    min-height: 220px;
    padding: 30px;
    background: #f7f7f4;
}

.fm-step-number {
    color: #999;
    font-size: 11px;
    font-weight: 800;
}

.fm-step h3 {
    margin: 42px 0 10px;
    font-size: 20px;
    letter-spacing: -.03em;
}

.fm-step p {
    max-width: 300px;
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}

.fm-photographer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 100px 5%;
    background: #111;
    color: #fff;
}

.fm-photographer-copy {
    max-width: 650px;
    margin-left: auto;
}

.fm-photographer .fm-eyebrow {
    color: #999;
}

.fm-photographer h2 {
    margin: 17px 0 22px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .94;
    letter-spacing: -.065em;
}

.fm-photographer-copy p {
    max-width: 560px;
    margin: 0;
    color: #aaa;
    font-size: 15px;
    line-height: 1.7;
}

.fm-button-light {
    margin-top: 28px;
    background: #fff;
    color: #111;
}

.fm-photographer-panel {
    display: flex;
    flex-direction: column;
    max-width: 470px;
    padding: 38px;
    border: 1px solid #303030;
    border-radius: 22px;
    background: #181818;
}

.fm-panel-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 70px;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.fm-panel-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fm-photographer-panel strong {
    font-size: 27px;
    letter-spacing: -.04em;
}

.fm-photographer-panel > span {
    margin-top: 8px;
    color: #999;
    font-size: 13px;
}

.fm-panel-line {
    height: 1px;
    margin: 30px 0 18px;
    background: #303030;
}

.fm-final-cta {
    padding: 110px 5%;
    background: #fff;
    text-align: center;
}

.fm-final-cta h2 {
    margin: 16px auto;
    font-size: clamp(42px, 5vw, 70px);
    line-height: .95;
    letter-spacing: -.065em;
}

.fm-final-cta h2 span {
    display: block;
    color: #888;
}

.fm-final-cta p {
    max-width: 520px;
    margin: 0 auto;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.fm-final-cta .fm-button {
    margin-top: 28px;
}

.fm-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 5%;
    border-top: 1px solid #e4e4df;
    background: #fff;
    color: #888;
    font-size: 11px;
}

.fm-footer div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fm-footer strong {
    color: #111;
    font-size: 14px;
}

@media (max-width: 900px) {

    .home-nav {
        display: none;
    }

    .fm-hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .fm-hero-visual,
    .fm-hero-photo {
        min-height: 420px;
        height: 420px;
    }

    .fm-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-photographer {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .fm-photographer-copy {
        margin-left: 0;
    }

}

@media (max-width: 640px) {

    .home-page .home-topbar {
        padding: 0 18px;
    }

    .home-login-button {
        min-height: 37px;
        padding: 0 13px;
    }

    .fm-hero {
        padding: 52px 18px 60px;
    }

    .fm-hero h1 {
        font-size: 50px;
    }

    .fm-hero-copy > p {
        font-size: 15px;
    }

    .fm-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fm-button {
        width: 100%;
    }

    .fm-hero-visual,
    .fm-hero-photo {
        min-height: 360px;
        height: 360px;
    }

    .fm-events-section,
    .fm-how,
    .fm-photographer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .fm-section-heading {
        display: block;
    }

    .fm-event-count {
        display: inline-block;
        margin-top: 15px;
    }

    .fm-event-grid {
        grid-template-columns: 1fr;
    }

    .fm-event-image {
        height: 280px;
    }

    .fm-steps {
        grid-template-columns: 1fr;
    }

    .fm-step {
        min-height: auto;
    }

    .fm-step h3 {
        margin-top: 25px;
    }

    .fm-photographer {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .fm-photographer-panel {
        padding: 28px;
    }

    .fm-final-cta {
        padding: 80px 18px;
    }

    .fm-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 25px 18px;
    }

}

/* =========================================================
   PICARTE — PROFILE / BUYER DASHBOARD
   ========================================================= */

.profile-dashboard {
    padding-top: 72px;
}

.profile-stat-link {
    color: inherit;
    text-decoration: none;
}

.profile-favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.profile-favorite-card {
    display: block;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e2df;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.profile-favorite-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.07);
}

.profile-favorite-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e8e8e5;
}

.profile-favorite-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-favorite-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    display: grid;
    place-items: center;
    font-size: 17px;
}

.profile-favorite-info {
    padding: 17px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-favorite-info strong {
    font-size: 14px;
}

.profile-favorite-info span {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.profile-favorite-info small {
    color: #999;
    font-size: 11px;
}

.profile-orders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 25px;
    background: white;
    border: 1px solid #e2e2df;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.profile-order-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

.profile-order-row > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-order-row > div:last-child {
    text-align: right;
}

.profile-order-row span {
    color: #888;
    font-size: 12px;
}

.profile-dashboard .profile-form {
    width: 100%;
}

.profile-dashboard .profile-section {
    margin: 0;
}

@media (max-width: 1000px) {

    .profile-favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .profile-dashboard {
        padding-top: 42px;
    }

    .profile-favorites-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .profile-favorite-info {
        padding: 13px;
    }

    .profile-favorite-info span {
        font-size: 12px;
    }

    .profile-order-row {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .profile-order-row > div:last-child {
        text-align: left;
    }

}


/* =========================================================
   PICARTE — FAVORITES LIBRARY
   ========================================================= */

/* =========================================================
   PICARTE — FAVORITES LIBRARY
   ========================================================= */

.favorites-dashboard {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0 100px;
}

.favorites-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.favorites-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #888;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.favorites-header h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .95;
    letter-spacing: -0.045em;
}

.favorites-header p {
    max-width: 620px;
    margin: 0;
    color: #777;
    font-size: 16px;
    line-height: 1.6;
}

.favorites-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 7px;
    color: #777;
    font-size: 13px;
}

.favorites-count strong {
    color: #111;
    font-size: 26px;
    letter-spacing: -.03em;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.favorite-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e2df;
    border-radius: 20px;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.favorite-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.favorite-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e8e8e5;
}

.favorite-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    user-select: none;
}

.favorite-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #111;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.favorite-card-content {
    padding: 18px;
}

.favorite-card-event {
    margin-bottom: 6px;
    overflow: hidden;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-card h2 {
    margin: 0 0 10px;
    overflow: hidden;
    color: #111;
    font-size: 15px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-bottom: 17px;
    color: #888;
    font-size: 12px;
}

.favorite-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.favorite-card-price {
    display: flex;
    flex-direction: column;
    color: #111;
    font-size: 17px;
    font-weight: 800;
}

.favorite-card-price small {
    margin-top: 3px;
    color: #999;
    font-size: 10px;
    font-weight: 500;
}

.favorite-card-date {
    color: #aaa;
    font-size: 10px;
    text-align: right;
}

.favorite-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.favorite-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.favorite-action-secondary {
    border: 1px solid #dcdcd8;
    background: #fff;
    color: #111;
}

.favorite-action-secondary:hover {
    background: #f5f5f3;
}

.favorite-action-primary {
    border: 1px solid #111;
    background: #111;
    color: #fff;
}

.favorite-action-primary:hover {
    background: #292929;
}

.favorite-action-primary.is-added {
    background: #2d6a4f;
    border-color: #2d6a4f;
}

.favorite-action:disabled {
    opacity: .65;
    cursor: wait;
}

.favorite-remove {
    width: 100%;
    margin-top: 10px;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
    color: #999;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.favorite-remove:hover {
    color: #111;
    text-decoration: underline;
}

.favorite-remove:disabled {
    opacity: .55;
    cursor: wait;
}

.favorites-empty {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 25px;
    border: 1px solid #e2e2df;
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

.favorites-empty-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #f2f2ef;
    color: #555;
    font-size: 32px;
}

.favorites-empty h2 {
    margin: 0 0 10px;
    font-size: 25px;
    letter-spacing: -.025em;
}

.favorites-empty p {
    max-width: 480px;
    margin: 0 0 25px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.favorites-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .favorites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .favorites-dashboard {
        padding-top: 52px;
    }

    .favorites-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .favorites-dashboard {
        width: min(100% - 24px, 1400px);
        padding: 38px 0 70px;
    }

    .favorites-header h1 {
        font-size: 42px;
    }

    .favorites-header p {
        font-size: 14px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .favorite-card-image {
        aspect-ratio: 4 / 5;
    }
}



/* FOTO MARKET ORDERS PAGE */

.orders-dashboard {
    padding-top: 72px;
    max-width: 1120px;
    margin: 0 auto;
}

.orders-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.orders-eyebrow {
    margin: 0 0 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .58;
}

.orders-header h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
}

.orders-description {
    max-width: 650px;
    margin: 10px 0 0;
    opacity: .68;
}

.orders-count {
    min-width: 90px;
    padding: 14px 18px;
    border: 1px solid rgba(127,127,127,.18);
    border-radius: 16px;
    text-align: center;
    background: rgba(127,127,127,.05);
}

.orders-count strong {
    display: block;
    font-size: 25px;
    line-height: 1;
}

.orders-count span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    opacity: .62;
}

.orders-list {
    display: grid;
    gap: 16px;
}

.order-card {
    overflow: hidden;
    border: 1px solid rgba(127,127,127,.18);
    border-radius: 20px;
    background: var(--surface, #fff);
    box-shadow: 0 8px 28px rgba(0,0,0,.045);
}

.order-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    border-bottom: 1px solid rgba(127,127,127,.14);
}

.order-number {
    font-size: 13px;
    font-weight: 750;
}

.order-date {
    margin-left: 10px;
    font-size: 12px;
    opacity: .55;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.order-status-pending .order-status {
    background: rgba(230, 160, 20, .12);
}

.order-status-paid .order-status {
    background: rgba(40, 170, 95, .12);
}

.order-status-cancelled .order-status {
    background: rgba(210, 70, 70, .11);
}

.order-card-main {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 23px 20px;
}

.order-event {
    min-width: 0;
}

.order-event-title {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 750;
}

a.order-event-title:hover {
    text-decoration: underline;
}

.order-event-location {
    margin: 8px 0 0;
    font-size: 13px;
    opacity: .62;
}

.order-items-count {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 650;
}

.order-total {
    flex: 0 0 auto;
    min-width: 150px;
    text-align: right;
}

.order-total span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    opacity: .55;
}

.order-total strong {
    font-size: 20px;
    white-space: nowrap;
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    border-top: 1px solid rgba(127,127,127,.14);
    background: rgba(127,127,127,.035);
}

.order-footer-note {
    font-size: 13px;
    opacity: .66;
}

.order-footer-success {
    opacity: .9;
}

.order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 17px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition: transform .15s ease, opacity .15s ease;
}

.order-button:hover {
    transform: translateY(-1px);
}

.order-button-primary {
    color: #fff;
    background: #111;
}

.order-button-secondary {
    color: inherit;
    border: 1px solid rgba(127,127,127,.25);
    background: transparent;
}

.orders-empty {
    max-width: 560px;
    margin: 60px auto;
    padding: 48px 28px;
    border: 1px solid rgba(127,127,127,.18);
    border-radius: 22px;
    text-align: center;
    background: rgba(127,127,127,.035);
}

.orders-empty-icon {
    margin-bottom: 15px;
    font-size: 42px;
}

.orders-empty h2 {
    margin: 0;
    font-size: 24px;
}

.orders-empty p {
    margin: 10px auto 22px;
    max-width: 430px;
    opacity: .64;
}

@media (max-width: 720px) {

    .orders-dashboard {
        padding-top: 52px;
    }

    .orders-header {
        align-items: flex-start;
    }

    .orders-count {
        min-width: 72px;
        padding: 11px 12px;
    }

    .order-card-top,
    .order-card-main,
    .order-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-status {
        align-self: flex-start;
    }

    .order-total {
        min-width: 0;
        text-align: left;
    }

    .order-card-footer .order-button {
        width: 100%;
    }
}

@media (max-width: 520px) {

    .orders-header {
        flex-direction: column;
    }

    .orders-count {
        align-self: flex-start;
    }

    .order-card-top,
    .order-card-main,
    .order-card-footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .order-date {
        display: block;
        margin: 5px 0 0;
    }
}


/* =========================================================
   PICARTE — PUBLIC SELLER PROFILE
   ========================================================= */

.public-seller-page {
    min-height: 100vh;
}

.public-seller-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.public-seller-hero {
    padding: 74px 0 64px;
    border-bottom: 1px solid rgba(127,127,127,.14);
    background:
        radial-gradient(circle at 15% 10%, rgba(111,72,255,.12), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(111,72,255,.08), transparent 30%);
}

.public-seller-brand {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.public-seller-logo {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(127,127,127,.08);
    border: 1px solid rgba(127,127,127,.14);
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

.public-seller-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.public-seller-info {
    min-width: 0;
    max-width: 780px;
}

.public-seller-type {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(111,72,255,.10);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.public-seller-info h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: .98;
    letter-spacing: -.045em;
}

.public-seller-bio {
    margin: 18px 0 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.65;
    opacity: .72;
}

.public-seller-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.public-seller-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(127,127,127,.18);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.public-seller-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(111,72,255,.35);
    background: rgba(111,72,255,.06);
}

.public-seller-events {
    padding: 58px 0 80px;
}

.public-seller-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.public-seller-section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -.03em;
}

.public-seller-section-heading p {
    margin: 7px 0 0;
    opacity: .62;
}

.public-seller-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.public-seller-event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(127,127,127,.16);
    border-radius: 22px;
    background: rgba(127,127,127,.035);
    text-decoration: none;
    color: inherit;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.public-seller-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111,72,255,.25);
    box-shadow: 0 18px 42px rgba(0,0,0,.10);
}

.public-seller-event-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(127,127,127,.08);
}

.public-seller-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.public-seller-event-card:hover .public-seller-event-image img {
    transform: scale(1.035);
}

.public-seller-event-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.public-seller-event-placeholder img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    opacity: .16;
}

.public-seller-event-content {
    padding: 19px 19px 21px;
}

.public-seller-event-category {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .55;
}

.public-seller-event-content h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -.02em;
}

.public-seller-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 13px;
    margin-top: 14px;
    font-size: 13px;
    opacity: .62;
}

.public-seller-event-meta span {
    display: inline-flex;
    align-items: center;
}

.public-seller-empty {
    padding: 55px 25px;
    border: 1px dashed rgba(127,127,127,.22);
    border-radius: 22px;
    text-align: center;
    background: rgba(127,127,127,.025);
}

.public-seller-empty h3 {
    margin: 0;
    font-size: 24px;
}

.public-seller-empty p {
    max-width: 520px;
    margin: 10px auto 0;
    opacity: .62;
    line-height: 1.6;
}

.public-seller-footer-cta {
    padding: 0 0 70px;
    text-align: center;
}

.public-seller-footer-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(111,72,255,.10);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 900px) {

    .public-seller-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .public-seller-container {
        width: min(100% - 28px, 1180px);
    }

    .public-seller-hero {
        padding: 48px 0 44px;
    }

    .public-seller-brand {
        flex-direction: column;
        gap: 20px;
    }

    .public-seller-logo {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
        border-radius: 22px;
    }

    .public-seller-info h1 {
        font-size: 40px;
    }

    .public-seller-bio {
        font-size: 16px;
    }

    .public-seller-events {
        padding: 42px 0 60px;
    }

    .public-seller-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-seller-event-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* ============================================================
   PERFIL — LOGO DEL VENDEDOR
   ============================================================ */

.profile-logo-upload {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.profile-logo-preview {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.profile-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.profile-logo-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.profile-logo-content strong {
    font-size: 16px;
}

.profile-logo-content > span {
    font-size: 13px;
    opacity: 0.65;
}

.profile-logo-form {
    margin-top: 8px;
}

.profile-upload-button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-upload-button input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

@media (max-width: 640px) {

    .profile-logo-upload {
        align-items: flex-start;
        flex-direction: column;
    }

}
