/**
 * ARTWRK Artist Manager - Frontend Styles
 */


/* =========================================
   ARTWRK Artist Archive
   ========================================= */

/* Container */
.artwrk-artist-archive {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

/* Header */
.artwrk-archive-header {
    text-align: center;
    margin-bottom: 24px;
}
.artwrk-archive-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #111;
}
.artwrk-archive-intro {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* Controls (Search + Sort) */
.artwrk-archive-controls {
    margin: 24px 0 28px;
}
.artwrk-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* left / right alignment */
    gap: 16px;
}

/* Search (with magnifying glass icon via Dashicons) */
.artwrk-search {
    position: relative;
    flex: 1 1 520px; /* grow on wide screens; adjust as needed */
    max-width: 520px;
}

.artwrk-search::before {
    content: "\f179"; /* dashicons-search */
    font-family: dashicons;
    font-size: 18px;
    color: #888;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.artwrk-search input[type="search"] {
    width: 100%;
    padding: 10px 12px 10px 40px; /* room for icon */
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    outline: none;
}
.artwrk-search input[type="search"]::placeholder {
    color: #999;
}
.artwrk-search input[type="search"]:focus {
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* Sort group (label next to select on the right) */
.artwrk-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.artwrk-sort label {
    color: #333;
    margin: 0;
}
.artwrk-sort select {
    padding: 9px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    outline: none;
    min-width: 120px;
}
.artwrk-sort select:focus {
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* Responsive: stack controls on small screens */
@media (max-width: 700px) {
    .artwrk-controls-row {
        flex-direction: column;
        align-items: stretch;
    }
    .artwrk-sort {
        justify-content: flex-start; /* keep label + select inline but full-width row */
    }
}

/* Grid (3 columns on desktop) */
.artwrk-artist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card */
.artwrk-artist-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .15s ease, box-shadow .15s ease;
}
.artwrk-artist-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.artwrk-card-image {
    display: inline-block;
    margin-bottom: 14px;
    line-height: 0; /* remove gap below images */
}

.artwrk-card-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background: #f9f9f9;
}
.artwrk-card-photo--placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #f2f2f2;
    box-shadow: inset 0 0 0 1px #e5e5e5;
}

.artwrk-card-body {
    text-align: center;
}

.artwrk-card-handle {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
    color: #111;
}
.artwrk-card-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.55;
    min-height: 3.8em; /* helps keep row heights visually consistent */
}

/* Social icons row */
.artwrk-card-social {
    display: flex !important;
    gap: 12px !important;
    margin-top: 14px;
}
.artwrk-card-social a {
    color: #111;
    text-decoration: none;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background .2s ease, color .2s ease;
}
.artwrk-card-social a:hover {
    /* background: #f3f3f3; */
    color: #000;
}
.artwrk-card-social a:focus {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.artwrk-card-social .elementor-social-icon {
	background: transparent !important;
}
.artwrk-card-social .elementor-icon svg {
    height: 50px;
    width: 50px;
}

/* Empty state & pagination */
.artwrk-empty {
    text-align: center;
    color: #666;
    margin: 40px 0;
}
.artwrk-pagination {
    margin-top: 24px;
    text-align: center;
}

/* Accessibility helpers */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
    .artwrk-artist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .artwrk-artist-grid { grid-template-columns: 1fr; }
}

/* Optional: Featured badge style (if used elsewhere) */
.artwrk-featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
}

/* =========================================
   Dashicons Adjustments / Fallbacks
   ========================================= */

/* If Instagram icon isn't available via dashicons, reuse 'camera' glyph */
.dashicons-instagram:before {
    /* Camera icon codepoint */
    content: "\f306";
    font-family: dashicons;
    font-style: normal;
    speak: never;
}

/* Ensure icon sizing inside circular buttons */
.artwrk-card-social .dashicons {
    font-size: 18px;
    line-height: 1;
}



/* ================================
   General Components
   ================================ */

.artwrk-notice {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
    border-left: 4px solid;
}

.artwrk-notice-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.artwrk-notice-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.artwrk-notice-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.artwrk-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #d90a2c;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.artwrk-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.artwrk-button-primary {
    background-color: #d90a2c;
}

.artwrk-button-primary:hover {
    background-color: #0056b3;
}

.artwrk-button-small {
    padding: 8px 16px;
    font-size: 14px;
}

.artwrk-no-results,
.artwrk-no-data {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

/* ================================
   Application Form
   ================================ */

.artwrk-application-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.artwrk-form-title {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.artwrk-form-section {
    margin-bottom: 30px;
}

.artwrk-form-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d90a2c;
    color: #333;
}

.artwrk-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.artwrk-form-field {
    flex: 1;
}

.artwrk-form-field-full {
    width: 100%;
}

.artwrk-form-field-half {
    width: 50%;
}

.artwrk-form-field-third {
    width: 33.333%;
}

.artwrk-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.artwrk-form-field input[type="text"],
.artwrk-form-field input[type="email"],
.artwrk-form-field input[type="tel"],
.artwrk-form-field input[type="url"],
.artwrk-form-field select,
.artwrk-form-field textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.artwrk-form-field input:focus,
.artwrk-form-field select:focus,
.artwrk-form-field textarea:focus {
    outline: none;
    border-color: #d90a2c;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.artwrk-form-field input.error {
    border-color: #dc3545;
}

.artwrk-input-prefix {
    position: relative;
    display: flex;
}

.artwrk-input-prefix .prefix {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    color: #6c757d;
}

.artwrk-input-prefix input {
    border-radius: 0 5px 5px 0;
}

.artwrk-field-description {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #6c757d;
}

.required {
    color: #dc3545;
}

.artwrk-form-field-checkbox label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.artwrk-form-field-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.artwrk-form-actions {
    text-align: center;
    margin-top: 30px;
}

/* ================================
   Artist Dashboard
   ================================ */

.artwrk-dashboard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.artwrk-dashboard-header {
    margin-bottom: 40px;
    text-align: center;
}

.artwrk-dashboard-header h1 {
    margin-bottom: 10px;
    color: #333;
}

.artwrk-dashboard-subtitle {
    color: #6c757d;
    font-size: 18px;
}

.artwrk-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.artwrk-stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwrk-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.artwrk-stat-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.artwrk-stat-highlight .artwrk-stat-value,
.artwrk-stat-highlight .artwrk-stat-label {
    color: #fff;
}

.artwrk-stat-icon {
    font-size: 36px;
}

.artwrk-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.artwrk-stat-label {
    font-size: 14px;
    color: #6c757d;
}

.artwrk-dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.artwrk-tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.artwrk-tab-button:hover {
    color: #d90a2c;
}

.artwrk-tab-button.active {
    color: #d90a2c;
    border-bottom-color: #d90a2c;
}

.artwrk-tab-content {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.artwrk-tab-content.active {
    display: block;
}

.artwrk-tab-content h2 {
    margin-bottom: 20px;
    color: #333;
}

.artwrk-table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

.artwrk-table {
    width: 100%;
    border-collapse: collapse;
}

.artwrk-table th,
.artwrk-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.artwrk-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.artwrk-table tbody tr:hover {
    background-color: #f8f9fa;
}

.artwrk-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.artwrk-badge-pending {
    background-color: #fff3cd;
    color: #856404;
}

.artwrk-badge-processing {
    background-color: #cfe2ff;
    color: #084298;
}

.artwrk-badge-paid,
.artwrk-badge-completed {
    background-color: #d1e7dd;
    color: #0f5132;
}

.artwrk-badge-cancelled {
    background-color: #f8d7da;
    color: #842029;
}

.artwrk-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.artwrk-product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwrk-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.artwrk-product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.artwrk-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artwrk-product-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    font-size: 48px;
}

.artwrk-product-info {
    padding: 15px;
}

.artwrk-product-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.artwrk-product-title a {
    color: #333;
    text-decoration: none;
}

.artwrk-product-title a:hover {
    color: #d90a2c;
}

.artwrk-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px;
}

.artwrk-product-meta {
    font-size: 14px;
}

.artwrk-product-meta .in-stock {
    color: #28a745;
}

.artwrk-product-meta .out-of-stock {
    color: #dc3545;
}

.artwrk-dashboard-form {
    max-width: 600px;
}

/* ================================
   Artist Grid & List
   ================================ */

.artwrk-artist-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.artwrk-grid-columns-2 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.artwrk-grid-columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.artwrk-grid-columns-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.artwrk-artist-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.artwrk-artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.artwrk-artist-card.artwrk-featured {
    border: 2px solid #ffd700;
}

.artwrk-featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffd700;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.artwrk-artist-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.artwrk-artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwrk-artist-card:hover .artwrk-artist-image img {
    transform: scale(1.05);
}

.artwrk-artist-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 80px;
}

.artwrk-artist-content {
    padding: 20px;
}

.artwrk-artist-name {
    font-size: 20px;
    margin-bottom: 10px;
}

.artwrk-artist-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.artwrk-artist-name a:hover {
    color: #d90a2c;
}

.artwrk-artist-specialty {
    display: inline-block;
    padding: 4px 12px;
    background: #e7f3ff;
    color: #d90a2c;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.artwrk-artist-location {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
}

.artwrk-artist-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.artwrk-artist-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.artwrk-artist-social {
    display: flex;
    gap: 10px;
}

.artwrk-artist-social a {
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.artwrk-artist-social a:hover {
    transform: scale(1.2);
}

/* Artist List */

.artwrk-artist-list {
    margin: 30px 0;
}

.artwrk-artist-list-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwrk-artist-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.artwrk-artist-list-item.artwrk-featured {
    border-left: 4px solid #ffd700;
}

.artwrk-artist-list-image {
    flex-shrink: 0;
}

.artwrk-artist-avatar,
.artwrk-artist-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.artwrk-artist-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 48px;
}

.artwrk-artist-list-content {
    flex: 1;
}

.artwrk-artist-list-name {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.artwrk-artist-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.artwrk-artist-list-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.artwrk-view-profile-link {
    color: #d90a2c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.artwrk-view-profile-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ================================
   Single Artist
   ================================ */

/* Single Artist Layout */
.artwrk-single-artist {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 16px;
}

/* Hero */
.artwrk-artist-hero {
    margin-bottom: 28px;
}
.artwrk-artist-hero-inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
}
.artwrk-artist-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: #f5f5f5;
}
.artwrk-artist-photo--placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #eee;
    box-shadow: inset 0 0 0 1px #e5e5e5;
}
.artwrk-artist-name {
    font-size: 32px;
    margin: 0 0 6px;
}
.artwrk-artist-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #555;
    margin-bottom: 10px;
    font-size: 14px;
}
.artwrk-artist-meta .dashicons {
    vertical-align: middle;
    margin-right: 4px;
}
.artwrk-artist-bio {
    font-size: 16px;
    color: #333;
}

.artwrk-artist-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 12px;
}
.artwrk-artist-socials a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    text-decoration: none;
}
.artwrk-artist-socials a:hover { color: #000; }

.artwrk-tabs-nav {
	margin-bottom: 30px;
}


.artwrk-empty-state {
	text-align: center;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
    margin: 22px 0 34px;
}
/* Hire callout */
.artwrk-artist-hire {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
    margin: 22px 0 34px;
}
.artwrk-artist-hire-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.artwrk-hire-copy h2 {
    margin: 0 0 4px;
    font-size: 22px;
}
.artwrk-hire-copy p {
    margin: 0;
    color: #444;
}
.artwrk-button.artwrk-button-primary {
    background: #111;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background .2s ease;
}
.artwrk-button.artwrk-button-primary:hover { background: #000; }

/* Section title */
.artwrk-section-title {
    font-size: 24px;
    margin: 0 0 16px;
}

/* Products grid */
.artwrk-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.artwrk-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}
.artwrk-product-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.artwrk-product-thumb--placeholder {
    width: 100%;
    padding-top: 100%;
    background: #f1f1f1;
}
.artwrk-product-title {
    font-size: 16px;
    margin: 10px 0 4px;
}
.artwrk-product-title a {
    color: #111;
    text-decoration: none;
}
.artwrk-product-title a:hover { text-decoration: underline; }
.artwrk-product-price {
    color: #111;
    font-weight: 600;
    margin-bottom: 6px;
}

.artwrk-pagination {
    margin-top: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
    .artwrk-artist-hero-inner {
        grid-template-columns: 140px 1fr;
    }
    .artwrk-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 700px) {
    .artwrk-artist-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .artwrk-artist-socials {
        justify-content: center;
    }
    .artwrk-artist-hire-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .artwrk-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .artwrk-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ARTIST TABS STYLING
   ============================================ */



/* Tab Panels - CRITICAL: Hide inactive tabs */
.artwrk-tab-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artwrk-tab-panel.active {
    display: block;
    opacity: 1;
}

/* Products Grid Styling */
.artwrk-artist-products-tab {
    width: 100%;
}

.artwrk-product-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.artwrk-product-grid.artwrk-cols-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.artwrk-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwrk-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.artwrk-product-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.artwrk-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwrk-product-card:hover .artwrk-product-thumb img {
    transform: scale(1.05);
}

.artwrk-product-thumb--placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artwrk-product-thumb--placeholder::before {
    content: '📦';
    font-size: 48px;
    opacity: 0.3;
}

.artwrk-product-title {
    margin: 0;
    padding: 15px 15px 10px;
    font-size: 16px;
    line-height: 1.4;
}

.artwrk-product-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.artwrk-product-title a:hover {
    color: #0073aa;
}

.artwrk-product-price {
    padding: 0 15px 15px;
    font-weight: 600;
    color: #000;
}

/* Portfolio Grid Styling */
.artwrk-artist-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.artwrk-portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    background: #f0f0f0;
}

.artwrk-portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
}

.artwrk-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwrk-portfolio-item:hover img {
    transform: scale(1.05);
}

.artwrk-portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artwrk-portfolio-item:hover .artwrk-portfolio-caption {
    opacity: 1;
}

/* About Tab Styling */
.artwrk-artist-about {
    max-width: 800px;
}

.artwrk-about-section {
    margin-bottom: 40px;
}

.artwrk-about-section:last-child {
    margin-bottom: 0;
}

.artwrk-about-section h3 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.artwrk-about-content {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.artwrk-about-content p {
    margin-bottom: 1em;
}

/* Skills Tab Styling */
.artwrk-artist-skills {
    max-width: 900px;
}

.artwrk-skills-section,
.artwrk-software-section {
    margin-bottom: 40px;
}

.artwrk-skills-section:last-child,
.artwrk-software-section:last-child {
    margin-bottom: 0;
}

.artwrk-skills-section h3,
.artwrk-software-section h3 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #333;
}

.artwrk-skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.artwrk-skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artwrk-skill-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.artwrk-skill-icon {
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

.artwrk-skill-name {
    font-size: 15px;
    color: #333;
}

.artwrk-software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.artwrk-software-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artwrk-software-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.artwrk-software-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    color: #0073aa;
    border: 2px solid #e0e0e0;
}

.artwrk-software-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Social Feed Tab */
.artwrk-artist-social-feed {
    max-width: 100%;
}

.artwrk-instagram-link {
    text-align: center;
    padding: 40px 20px;
}

.artwrk-instagram-link a {
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
}

.artwrk-instagram-link a:hover {
    text-decoration: underline;
}

/* Empty State */
.artwrk-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.artwrk-empty-state p {
    font-size: 18px;
    margin: 0;
}

/* Pagination */
.artwrk-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.artwrk-pagination a,
.artwrk-pagination span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.artwrk-pagination a:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.artwrk-pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .artwrk-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .artwrk-tab-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .artwrk-tabs-content {
        padding: 20px;
    }
    
    .artwrk-product-grid.artwrk-cols-4 {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .artwrk-artist-portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .artwrk-skills-list {
        grid-template-columns: 1fr;
    }
    
    .artwrk-software-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .artwrk-artist-tabs-section {
        padding: 30px 0;
    }
    
    .artwrk-tab-button {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .artwrk-tabs-content {
        padding: 15px;
    }
}



/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
    .artwrk-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .artwrk-form-field-half,
    .artwrk-form-field-third {
        width: 100%;
    }
    
    .artwrk-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .artwrk-dashboard-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .artwrk-artist-list-item {
        flex-direction: column;
        text-align: center;
    }
    
    .artwrk-artist-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .artwrk-grid-columns-2,
    .artwrk-grid-columns-3,
    .artwrk-grid-columns-4 {
        grid-template-columns: 1fr;
    }
}


/* ================================
   Print Styles
   ================================ */

@media print {
    .artwrk-dashboard-tabs,
    .artwrk-tab-button,
    .artwrk-form-actions,
    .artwrk-button,
    .artwrk-print-btn,
    .artwrk-social-link,
    .artwrk-artist-social,
    header,
    footer,
    nav {
        display: none !important;
    }
    
    .artwrk-tab-content {
        display: block !important;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .artwrk-table {
        font-size: 12px;
    }
    
    .artwrk-dashboard-wrapper {
        max-width: 100%;
    }
    
    @page {
        margin: 2cm;
    }
}


/* ================================
   Modal
   ================================ */


/* Quote Modal */
/*
.artwrk-modal { position: fixed; inset: 0; z-index: 100000; display: none; }
.artwrk-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.artwrk-modal-content {
    position: relative; background: #fff; max-width: 720px; margin: 8vh auto; border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25); overflow: hidden;
}
.artwrk-modal-header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; background:#f7f7f7; }
.artwrk-modal-header h2 { margin:0; font-size:20px; }
.artwrk-modal-close { font-size:26px; line-height:1; background:none; border:0; cursor:pointer; }
.artwrk-modal-body { padding: 18px 20px; }

*/

/* Hide "Preferred Artist(s)" on single artist pages only */
.single-artist #artwrk-quote-modal .wpforms-field[data-field-id="25"] {
  display: none !important;
}

/* If you also render the form outside the modal on the single page, add: */
.single-artist .wpforms-field[data-field-id="25"], .single-artist .artwrk-form-section.preferences  {
  display: none !important;
}



/* Lock background when modal is open */
html.modal-open,
body.modal-open {
  overflow: hidden;
  height: 100%;
}

/* Modal shell */
.artwrk-modal {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  z-index: 100000;
  display: none; /* toggle with JS */
}

/* Backdrop */
.artwrk-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

/* Modal content container */
.artwrk-modal-content {
  position: relative;
  width: min(720px, calc(100vw - 32px));
  max-height: 90vh;              /* never exceed viewport */
  margin: 6vh auto;              /* center vertically with breathing room */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;         /* header + scrollable body */
  overflow: hidden;               /* clip inside edges */
  overscroll-behavior: contain;   /* stop scroll chaining */
}

/* Header (non-scrolling) */
.artwrk-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
  flex: 0 0 auto;
}

.artwrk-modal-header h2 {
  margin: 0;
  font-size: 20px;
}

.artwrk-modal-close {
  font-size: 26px !important;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Body (scrolls if content is tall) */
.artwrk-modal-body {
  position: relative;
  padding: 16px 18px;
  flex: 1 1 auto;                 /* fill remaining height */
  min-height: 0;                  /* allow flex child to shrink for scrolling */
  overflow-y: auto;               /* enable vertical scroll inside modal */
  overflow-x: hidden;
  overscroll-behavior: contain;   /* prevent wheel/touch from scrolling page */
  -webkit-overflow-scrolling: touch; /* momentum scroll on iOS */
}

/* Optional: nicer scrollbars (WebKit) */
.artwrk-modal-body::-webkit-scrollbar { width: 8px; }
.artwrk-modal-body::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 4px; }
.artwrk-modal-body::-webkit-scrollbar-track { background: #efefef; }

/* Utility class if you prefer showing via class instead of inline style */
.artwrk-modal.is-visible { display: block; }

@media (max-width: 480px) {
  .artwrk-modal-content {
    width: calc(100vw - 20px);
    margin: 4vh auto;
    max-height: 92vh;
  }
}

/* ================================
   Additional Utility Classes
   ================================ */

.artwrk-char-counter {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
    margin-top: 5px;
}

.artwrk-char-counter.warning {
    color: #dc3545;
    font-weight: 600;
}

.artwrk-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.artwrk-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d90a2c;
    border-radius: 50%;
    animation: artwrk-spin 1s linear infinite;
}

@keyframes artwrk-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.artwrk-fade-in {
    animation: artwrkFadeIn 0.5s ease-in;
}

@keyframes artwrkFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artwrk-tooltip {
    position: relative;
    display: inline-block;
}

.artwrk-tooltip .artwrk-tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    white-space: nowrap;
}

.artwrk-tooltip:hover .artwrk-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.artwrk-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: artwrk-skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes artwrk-skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.artwrk-copy-btn.copied {
    background-color: #28a745;
    color: #fff;
}

/* Accessibility improvements */
.artwrk-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.artwrk-focus-visible:focus {
    outline: 2px solid #d90a2c;
    outline-offset: 2px;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .artwrk-artist-card,
    .artwrk-dashboard-wrapper,
    .artwrk-application-form-wrapper,
    .artwrk-tab-content {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    
    .artwrk-artist-name a,
    .artwrk-product-title a,
    .artwrk-stat-value {
        color: #e0e0e0;
    }
    
    .artwrk-table th {
        background-color: #2a2a2a;
    }
    
    .artwrk-form-field input,
    .artwrk-form-field select,
    .artwrk-form-field textarea {
        background-color: #2a2a2a;
        color: #e0e0e0;
        border-color: #444;
    }
}
