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

.tailor-profile-page {
    background: #f7f3ed;
    color: #292622;
    min-height: 100vh;
}

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


/* =========================================================
   BACK LINK
========================================================= */

.tailor-profile-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 28px 0 20px;

    color: #292622;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.tailor-profile-back:hover {
    color: #a6533c;
}


/* =========================================================
   ALERT
========================================================= */

.tailor-profile-alert {
    margin: 20px 0;
    padding: 16px 18px;

    background: #fff;
    border-left: 3px solid #a6533c;

    color: #292622;

    box-shadow: 0 8px 30px rgba(41, 38, 34, 0.06);
}


/* =========================================================
   HERO
========================================================= */

.tailor-profile-hero {
    padding: 20px 0 80px;
}

.tailor-profile-intro {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 70px;

    align-items: center;

    padding: 30px 0;
}


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

.tailor-profile-photo-wrap {
    position: relative;

    width: 100%;
    height: 480px;

    overflow: hidden;

    background: #e9e0d5;
}

.tailor-profile-photo {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.tailor-profile-photo-badge {
    position: absolute;

    left: 20px;
    bottom: 20px;

    padding: 8px 12px;

    background: #a6533c;
    color: #fff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
}


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

.tailor-profile-info {
    max-width: 600px;
}

.tailor-profile-eyebrow {
    margin: 0 0 18px;

    color: #a6533c;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.18em;
}

.tailor-profile-name {
    margin: 0 0 24px;

    color: #292622;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;

    line-height: 0.98;
}

.tailor-profile-description {
    max-width: 560px;

    margin: 0 0 34px;

    color: #706a63;

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   ACTIONS
========================================================= */

.tailor-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tailor-profile-primary-button,
.tailor-profile-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.tailor-profile-primary-button {
    gap: 12px;

    background: #a6533c;
    color: #fff;

    border: 1px solid #a6533c;
}

.tailor-profile-primary-button:hover {
    background: #8d4432;
    color: #fff;

    transform: translateY(-1px);
}

.tailor-profile-secondary-button {
    background: transparent;
    color: #292622;

    border: 1px solid #c8bfb4;
}

.tailor-profile-secondary-button:hover {
    background: #292622;
    color: #fff;

    border-color: #292622;
}


/* =========================================================
   COLLECTION
========================================================= */

.tailor-profile-collection {
    padding: 80px 0 110px;

    background: #fff;

    border-top: 1px solid #e5ddd3;
}

.tailor-profile-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 42px;
}

.tailor-profile-section-kicker {
    margin: 0 0 10px;

    color: #a6533c;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
}

.tailor-profile-section-title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    color: #292622;

    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
}

.tailor-profile-section-count {
    margin: 0;

    color: #8a8279;

    font-size: 13px;
}


/* =========================================================
   MODEL GRID
========================================================= */

.tailor-profile-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 34px 24px;
}


/* =========================================================
   MODEL CARD
========================================================= */

.tailor-model-card {
    min-width: 0;

    background: #f7f3ed;

    border: 1px solid #ebe4db;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tailor-model-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 18px 45px rgba(41, 38, 34, 0.10);
}


/* =========================================================
   MODEL IMAGE
========================================================= */

.tailor-model-image-link {
    display: block;

    text-decoration: none;
}

.tailor-model-image-wrap {
    position: relative;

    height: 390px;

    overflow: hidden;

    background: #e9e0d5;
}

.tailor-model-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.tailor-model-card:hover .tailor-model-image {
    transform: scale(1.035);
}

.tailor-model-view {
    position: absolute;

    right: 16px;
    bottom: 16px;

    padding: 8px 11px;

    background: rgba(255, 255, 255, 0.92);

    color: #292622;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;

    opacity: 0;

    transform: translateY(5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.tailor-model-card:hover .tailor-model-view {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   MODEL CONTENT
========================================================= */

.tailor-model-content {
    padding: 22px;
}

.tailor-model-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}

.tailor-model-label {
    margin: 0 0 8px;

    color: #a6533c;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.tailor-model-title {
    margin: 0;

    color: #292622;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-weight: 400;

    line-height: 1.1;
}

.tailor-model-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    border: 1px solid #d5ccc2;

    color: #a6533c;

    font-size: 11px;
    font-weight: 700;
}

.tailor-model-description {
    margin: 18px 0;

    color: #777068;

    font-size: 13px;
    line-height: 1.65;
}

.tailor-model-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 18px;

    border-top: 1px solid #e2d9cf;
}

.tailor-model-price {
    color: #292622;

    font-size: 14px;
    font-weight: 700;
}

.tailor-model-button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #a6533c;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
}

.tailor-model-button:hover {
    color: #8d4432;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.tailor-profile-empty {
    grid-column: 1 / -1;

    padding: 80px 30px;

    text-align: center;

    border: 1px solid #e5ddd3;

    background: #f7f3ed;
}

.tailor-profile-empty-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    background: #a6533c;
    color: #fff;

    font-size: 15px;
    font-weight: 700;
}

.tailor-profile-empty h3 {
    margin: 0 0 10px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;
    font-weight: 400;
}

.tailor-profile-empty p {
    margin: 0;

    color: #777068;

    font-size: 14px;
}


/* =========================================================
   NOT FOUND
========================================================= */

.tailor-profile-not-found {
    min-height: 70vh;

    display: flex;
    align-items: center;

    text-align: center;
}

.tailor-profile-not-found .tailor-profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tailor-profile-not-found h1 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 48px;
    font-weight: 400;
}

.tailor-profile-not-found p {
    margin: 0 0 28px;

    color: #777068;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .tailor-profile-intro {
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }

    .tailor-profile-photo-wrap {
        height: 400px;
    }

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

    .tailor-model-image-wrap {
        height: 360px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

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

    .tailor-profile-back {
        padding-top: 20px;
    }

    .tailor-profile-hero {
        padding-bottom: 55px;
    }

    .tailor-profile-intro {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 30px;

        padding-top: 10px;
    }

    .tailor-profile-photo-wrap {
        height: 390px;
    }

    .tailor-profile-name {
        font-size: 48px;
    }

    .tailor-profile-description {
        font-size: 15px;
    }

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

    .tailor-profile-primary-button,
    .tailor-profile-secondary-button {
        width: 100%;
    }

    .tailor-profile-collection {
        padding: 55px 0 75px;
    }

    .tailor-profile-section-header {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 30px;
    }

    .tailor-profile-section-title {
        font-size: 38px;
    }

    .tailor-profile-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tailor-model-image-wrap {
        height: 420px;
    }

    .tailor-model-title {
        font-size: 23px;
    }
}
