* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f5f0;
    color: #333;
    line-height: 1.6;
    max-width: 414px;
    margin: 0 auto;
}

.container {
    max-width: 414px;
    margin: 0 auto;
    padding: 10px;
}

.screen {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.top-nav {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 414px;
    margin: 0 auto;
}

.logo {
    font-size: 16px;
    font-weight: bold;
    margin-right: 12px;
    white-space: nowrap;
    color: #d4af37;
}

.craftsman-header {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.craftsman-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid #f5ebe0;
}

.craftsman-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craftsman-name {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.craftsman-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.craftsman-badge {
    background: #f5ebe0;
    color: #8B4513;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.craftsman-title {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.craftsman-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.craftsman-stat {
    text-align: center;
    flex: 1;
    min-width: 60px;
}

.stat-num {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #8B4513;
}

.stat-label {
    font-size: 12px;
    color: #999;
}

.craftsman-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.action-btn {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #8B4513;
    background: #fff;
    color: #8B4513;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #f5ebe0;
}

.action-btn-primary {
    background: #8B4513;
    color: #fff;
}

.action-btn-primary:hover {
    background: #6B3410;
}

.section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.section-content {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.section-content p {
    margin-bottom: 8px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}

.service-section .section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-item {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
}

.service-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.service-desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.service-price {
    font-size: 16px;
    color: #c00;
    font-weight: bold;
    margin-bottom: 8px;
}

.service-btn {
    width: 100%;
    padding: 8px;
    background: #8B4513;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.service-btn:hover {
    background: #6B3410;
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.work-item {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
}

.work-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.work-info {
    padding: 8px;
}

.work-name {
    font-size: 12px;
    color: #333;
    margin-bottom: 4px;
}

.work-price {
    font-size: 12px;
    color: #c00;
    font-weight: bold;
}

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

.review-item {
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 4px;
}

.review-user {
    font-weight: bold;
    color: #333;
    font-size: 13px;
}

.review-rating {
    color: #f90;
    font-size: 12px;
}

.review-date {
    color: #999;
    font-size: 11px;
}

.review-content {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.contact-label {
    color: #999;
}

.contact-value {
    color: #333;
}

.bottom-nav {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 414px;
    margin: 0 auto;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    gap: 4px;
}

.nav-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

#float-btn {
    position: fixed;
    right: 15px;
    bottom: 80px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: #fff;
    padding: 12px 15px;
    border-radius: 25px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    cursor: pointer;
    z-index: 99;
}
