/* ============================================
   IAAF ONLINE - GALLERY LAYOUT (v2.0)
   Fresh design without tabs
   ============================================ */

/* Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  /* Primary Gold Palette */
  --accent-gold: #D4AF37;
  --accent-gold-hover: #C9A227;
  --accent-gold-soft: #F5E6D3;
  --accent-gold-deep: #9A7A1A;

  /* Neutral Colors */
  --surface-primary: #FFFFFF;
  --surface-secondary: #FAFAFA;
  --surface-tertiary: #F5F5F5;
  --ink-primary: #1A1A1A;
  --ink-secondary: #6B6B6B;
  --ink-muted: #9E9E9E;
  --stroke-light: #EBEBEB;
  --stroke-medium: #D4D4D4;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Layout Dimensions */
  --gallery-max-width: 850px;
  --aside-width: 340px;
  --page-max-width: 1200px;
  --header-height: 64px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== DARK MODE VARIABLES & OVERRIDES ========== */
body.dark {
  --surface-primary: #121212;
  --surface-secondary: #050505;
  --surface-tertiary: #1a1a1a;
  --ink-primary: #ffffff;
  --ink-secondary: #a0a0a0;
  --ink-muted: #666666;
  --stroke-light: #262626;
  --stroke-medium: #333333;

  /* Update shadows for dark mode visibility */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);

  /* Hard Overrides for Instagram Layout */
  background-color: var(--surface-secondary) !important;
  color: var(--ink-primary) !important;
}

body.dark .top-bar {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%) !important;
  color: white !important;
}

body.dark .art-piece,
body.dark .artwork-card,
body.dark .aside-card,
body.dark .sidebar-section,
body.dark .dashboard-sidebar-menu,
body.dark .portfolio-info-wrap,
body.dark .dashboard-profile-content,
body.dark .dashboard-order-table {
  background-color: var(--surface-primary) !important;
  border-color: var(--stroke-light) !important;
}

body.dark .feed-nav {
  background-color: var(--surface-tertiary) !important;
}

body.dark .feed-nav__tab.is-active {
  background-color: var(--surface-primary) !important;
}

/* ========== BASE STYLES ========== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

body.instagram-layout {
  background-color: var(--surface-secondary);
  color: var(--ink-primary);
}

/* ========== NAVBAR ========== */
.navbar-instagram {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--stroke-light);
  z-index: 1000;
  transition: all 0.3s var(--ease-smooth);
}

body.dark .navbar-instagram {
  background: rgba(18, 18, 18, 0.85);
  border-bottom-color: var(--stroke-light);
}

.navbar-instagram.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

body.dark .navbar-instagram.scrolled {
  background: rgba(18, 18, 18, 0.98);
}

.navbar-content {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.navbar-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s var(--ease-smooth);
}

.navbar-menu a:hover {
  color: var(--accent-gold);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ========== MAIN LAYOUT ========== */
.gallery-wrapper {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 24px 24px 60px;
  display: grid;
  grid-template-columns: 1fr var(--aside-width);
  gap: 48px;
  align-items: start;
}

/* Legacy class support */
.main-container-instagram {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 24px 24px 60px;
  display: grid;
  grid-template-columns: 1fr var(--aside-width);
  gap: 48px;
  align-items: start;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
  max-width: var(--gallery-max-width);
  margin: 0 auto;
  width: 100%;
}

/* Legacy class support */
.feed-area {
  max-width: var(--gallery-max-width);
  margin: 0 auto;
  width: 100%;
}

/* Gallery Header */
.gallery-header {
  margin-bottom: 32px;
}

.gallery-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.gallery-subtext {
  font-size: 15px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ========== FEED NAVIGATION TABS ========== */
.feed-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-tertiary);
  border-radius: 14px;
  margin-bottom: 28px;
  position: relative;
}

.feed-nav__tab {
  flex: 1;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feed-nav__tab.is-active {
  color: var(--ink-primary);
  background: var(--surface-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.feed-nav__tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 3px 3px 0 0;
}

body.dark .feed-nav__tab.is-active {
  background: var(--surface-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

body.dark .feed-nav__tab:hover {
  color: var(--ink-primary);
}

.feed-nav__tab-icon {
  font-size: 16px;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease-smooth);
}

.feed-nav__tab.is-active .feed-nav__tab-icon {
  opacity: 1;
}

.feed-nav__tab-badge {
  background: var(--accent-gold);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* Feed Panels */
.feed-panel {
  display: none;
  animation: panelFadeIn 0.4s var(--ease-smooth);
}

.feed-panel.is-visible {
  display: block;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Login Prompt for Following Tab */
.login-prompt {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, var(--surface-primary) 0%, var(--surface-tertiary) 100%);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.login-prompt__icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.login-prompt__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 12px 0;
}

.login-prompt__text {
  font-size: 15px;
  color: var(--ink-secondary);
  margin: 0 0 24px 0;
  line-height: 1.6;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.login-prompt__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.login-prompt__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  color: white;
  text-decoration: none;
}

/* Empty Following State */
.following-empty {
  text-align: center;
  padding: 50px 30px;
  background: var(--surface-primary);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.following-empty__icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.following-empty__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 10px 0;
}

.following-empty__text {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ========== ARTWORK GRID ========== */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Legacy class support */
.artwork-feed {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ========== ART PIECE CARD ========== */
.art-piece {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  animation: fadeInUp 0.6s var(--ease-smooth) backwards;
}

/* Legacy class support */
.artwork-card {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.art-piece:hover,
.artwork-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Staggered animation */
.art-piece:nth-child(1) {
  animation-delay: 0.1s;
}

.art-piece:nth-child(2) {
  animation-delay: 0.2s;
}

.art-piece:nth-child(3) {
  animation-delay: 0.3s;
}

.art-piece:nth-child(4) {
  animation-delay: 0.4s;
}

.art-piece:nth-child(5) {
  animation-delay: 0.5s;
}

/* Image Container */
.art-piece__image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-tertiary) 0%, var(--surface-secondary) 100%);
}

/* Legacy class support */
.artwork-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-tertiary) 0%, var(--surface-secondary) 100%);
}

.art-piece__image img,
.artwork-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.art-piece:hover .art-piece__image img,
.artwork-card:hover .artwork-image {
  transform: scale(1.08);
}

/* Details Section */
.art-piece__details {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Legacy class support */
.artwork-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Home feed meta (sanatçı + eser adı yan yana) */
.artwork-meta-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  min-width: 0;
}

.artwork-meta-row .artwork-artist {
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
  margin: 0;
  color: var(--accent-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 48%;
}

.artwork-meta-sep {
  color: var(--ink-muted);
  flex: 0 0 auto;
}

.artwork-meta-row .artwork-title {
  font-size: inherit;
  font-weight: 500;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}

.art-piece__creator {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
}

/* Legacy class support */
.artwork-artist {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
}

.art-piece__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0;
  line-height: 1.4;
}

/* Legacy class support */
.artwork-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0;
  line-height: 1.4;
}

/* ========== ASIDE PANEL ========== */
.aside-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
}

/* Legacy class support */
.sidebar-instagram {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
}

/* Aside Card */
.aside-card {
  background: var(--surface-primary);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

/* Legacy class support */
.sidebar-section {
  background: var(--surface-primary);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.aside-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Legacy class support */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.aside-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;
  letter-spacing: -0.2px;
}

/* Legacy class support */
.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;
  letter-spacing: -0.2px;
}

.aside-card__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}

/* Legacy class support */
.sidebar-see-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}

.aside-card__link:hover,
.sidebar-see-all:hover {
  color: var(--accent-gold-hover);
}

/* ========== ARTIST SUGGESTION ITEM ========== */
.creator-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition: background-color 0.2s var(--ease-smooth);
  border-radius: 12px;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}

/* Legacy class support */
.artist-suggestion-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition: background-color 0.2s var(--ease-smooth);
  border-radius: 12px;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.creator-row:hover,
.artist-suggestion-item:hover {
  background-color: var(--surface-tertiary);
}

.creator-row__avatar-link,
.artist-link {
  text-decoration: none;
  flex-shrink: 0;
}

.creator-row__avatar,
.artist-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface-tertiary);
  display: block;
  transition: border-color 0.2s var(--ease-smooth);
}

.creator-row:hover .creator-row__avatar,
.artist-suggestion-item:hover .artist-avatar {
  border-color: var(--accent-gold-soft);
}

.creator-row__info,
.artist-info {
  flex: 1;
  min-width: 0;
}

.creator-row__name-link,
.artist-name-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.creator-row__name,
.artist-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 2px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-row__meta,
.artist-subtitle {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark .creator-row:hover,
body.dark .artist-suggestion-item:hover {
  background-color: var(--surface-tertiary);
}

/* Follow Button */
.follow-btn,
.artist-follow-btn {
  padding: 8px 18px;
  background: linear-gradient(135deg, #E2AC3E 0%, #d4a017 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(226, 172, 62, 0.3);
}

.follow-btn:hover,
.artist-follow-btn:hover {
  background: linear-gradient(135deg, #d4a017 0%, #c49515 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 172, 62, 0.4);
  color: white;
  text-decoration: none;
}

.follow-btn.is-following,
.artist-follow-btn.following {
  background: transparent;
  color: var(--ink-secondary);
  border: 1.5px solid var(--stroke-medium);
  box-shadow: none;
}

.follow-btn.is-following:hover,
.artist-follow-btn.following:hover {
  background: var(--surface-tertiary);
  border-color: var(--ink-muted);
  transform: none;
}

/* Artwork Actions (Beğen & Yorum Yap) */
.artwork-actions {
  margin-top: 0;
  padding: 12px 18px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.artwork-action-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--ink-primary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

.artwork-action-button .count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1;
  min-width: 10px;
}

.artwork-action-button .icon {
  display: inline-flex;
}

.artwork-action-button svg path {
  fill: var(--ink-primary);
  transition: fill 0.2s var(--ease-smooth), stroke 0.2s var(--ease-smooth);
}

.artwork-action-button:hover {
  color: var(--accent-gold-deep);
}

.artwork-action-button:hover svg path {
  fill: var(--accent-gold-deep);
}

.artwork-action-button.wishlist.active {
  color: #E2AC3E;
}

.artwork-action-button.wishlist.active svg path {
  fill: #E2AC3E;
}

.artwork-action-button.wishlist.active .count {
  color: #E2AC3E;
}

.artwork-action-button--comment {
  color: var(--ink-primary);
}

.artwork-action-button--comment:hover {
  color: var(--accent-gold-deep);
}

.artwork-action-button--follow {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
}

/* Feed içindeki takip butonunu biraz küçült, ama genel stil artist-follow-btn'den gelsin */
.artwork-actions .artist-follow-btn {
  padding: 7px 16px;
  font-size: 12px;
}

/* Takip Et durumunda ikon beyaz olsun */
.artwork-actions .artist-follow-btn:not(.following) .icon svg path {
  fill: #fff;
}

/* Takiptesin: gri çerçeve */
.artwork-actions .artist-follow-btn.following {
  background: transparent;
  color: var(--ink-secondary);
  border: 1.5px solid var(--stroke-medium);
  box-shadow: none;
}

/* Takiptesin hover: kırmızı uyarı rengi */
.artwork-actions .artist-follow-btn.following:hover {
  background: #ff4d4f;
  border-color: #ff4d4f;
  color: #fff;
}

.artwork-actions .artist-follow-btn.following:hover svg path {
  fill: #fff;
}

.artwork-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Comment Modal */
body.is-modal-open {
  overflow: hidden;
}

.comment-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.comment-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.comment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
}

.comment-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(80vh, 720px);
  background: var(--surface-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.comment-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke-light);
}

.comment-modal__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-primary);
}

.comment-modal__close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.comment-modal__body {
  padding: 12px 16px;
  overflow: auto;
}

.comment-modal__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-modal__empty {
  padding: 18px 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}

.comment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.comment-item__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--stroke-light);
  flex: 0 0 auto;
}

.comment-item__content {
  min-width: 0;
}

.comment-item__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.2;
}

.comment-item__body {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-modal__footer {
  border-top: 1px solid var(--stroke-light);
  padding: 12px 16px;
}

.comment-modal__form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comment-modal__textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--stroke-light);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
}

.comment-modal__send {
  border: none;
  background: linear-gradient(135deg, #E2AC3E 0%, #d4a017 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
}

.comment-modal__send:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.comment-modal__login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.comment-modal__login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface-tertiary);
  text-decoration: none;
  color: var(--ink-primary);
  font-weight: 700;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 60px 30px;
  background: var(--surface-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.empty-state__icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 8px 0;
}

.empty-state__text {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ========== PAGINATION ========== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--stroke-light);
}

.page-navigation-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-navigation-area .prev-next-btn a,
.page-navigation-area .prev-next-btn span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

.page-navigation-area .prev-next-btn a:hover {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-deep);
}

.page-navigation-area .prev-next-btn svg {
  width: 6px;
  height: 12px;
  fill: currentColor;
}

.page-navigation-area .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-navigation-area .pagination li {
  margin: 0;
}

.page-navigation-area .pagination li a,
.page-navigation-area .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

.page-navigation-area .pagination li a:hover {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-deep);
}

.page-navigation-area .pagination li.active span {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.page-navigation-area .pagination li.disabled span {
  background: var(--surface-secondary);
  color: var(--ink-muted);
  cursor: not-allowed;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {

  .gallery-wrapper,
  .main-container-instagram {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 640px;
  }

  .aside-panel,
  .sidebar-instagram {
    position: relative;
    top: 0;
    max-height: none;
  }

  .gallery-section,
  .feed-area {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .gallery-wrapper,
  .main-container-instagram {
    padding: 16px 16px 40px;
    gap: 24px;
  }

  .navbar-content {
    padding: 0 16px;
  }

  .navbar-menu {
    display: none;
  }

  .gallery-grid,
  .artwork-feed {
    gap: 20px;
  }

  .art-piece,
  .artwork-card {
    border-radius: 12px;
  }

  .art-piece__details,
  .artwork-info {
    padding: 16px 18px;
  }

  .gallery-heading {
    font-size: 24px;
  }

  .aside-card,
  .sidebar-section {
    border-radius: 12px;
    padding: 20px;
  }
}

@media (max-width: 480px) {

  .art-piece__name,
  .artwork-title {
    font-size: 16px;
  }

  .art-piece__creator,
  .artwork-artist {
    font-size: 12px;
  }

  .follow-btn,
  .artist-follow-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* ========== SCROLLBAR ========== */
.aside-panel::-webkit-scrollbar,
.sidebar-instagram::-webkit-scrollbar {
  width: 4px;
}

.aside-panel::-webkit-scrollbar-track,
.sidebar-instagram::-webkit-scrollbar-track {
  background: transparent;
}

.aside-panel::-webkit-scrollbar-thumb,
.sidebar-instagram::-webkit-scrollbar-thumb {
  background: var(--stroke-light);
  border-radius: 2px;
}

.aside-panel::-webkit-scrollbar-thumb:hover,
.sidebar-instagram::-webkit-scrollbar-thumb:hover {
  background: var(--ink-muted);
}

/* ========== ART DETAIL PAGE ========== */
.art-detail-page {
  padding-top: 32px;
}

.art-detail-page .feed-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Artwork Detail Card */
.artwork-detail-card {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.artwork-detail-image {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--surface-tertiary) 0%, var(--surface-secondary) 100%);
}

.artwork-detail-image .swiper {
  width: 100%;
}

.artwork-detail-image .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image-container {
  width: 100%;
  position: relative;
}

.detail-main-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
}

.artwork-detail-image .swiper-pagination {
  position: relative;
  margin-top: 12px;
  padding-bottom: 8px;
}

.artwork-detail-image .swiper-pagination-bullet {
  background: var(--ink-muted);
  opacity: 0.5;
}

.artwork-detail-image .swiper-pagination-bullet-active {
  background: var(--accent-gold);
  opacity: 1;
}

/* Detail Info Section */
.artwork-detail-info {
  padding: 20px 24px;
}

.detail-artist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.detail-artist-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.detail-artist-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold-soft);
}

.detail-artist-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-gold);
}

.detail-artwork-id {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}

.detail-artwork-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 16px 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.detail-artwork-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.price-original {
  font-size: 16px;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
}

/* CTA Section */
.detail-cta {
  margin-top: 8px;
}

.detail-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.detail-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: white;
  text-decoration: none;
}

.detail-sold-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--surface-tertiary);
  color: var(--ink-muted);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* Description */
.artwork-detail-description {
  padding: 0 24px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.artwork-detail-description p {
  margin: 0;
}

/* Actions in Detail Page */
.artwork-detail-card .artwork-actions {
  padding: 16px 24px;
  border-bottom: 1px solid var(--stroke-light);
}

.artwork-detail-card .artwork-action-button .icon svg {
  width: 22px;
  height: 22px;
}

.share-btn {
  margin-left: auto;
}

/* Specs Card */
.artwork-specs-card {
  background: var(--surface-primary);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.specs-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke-light);
}

.specs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke-light);
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-label {
  font-size: 14px;
  color: var(--ink-secondary);
  font-weight: 500;
}

.specs-value {
  font-size: 14px;
  color: var(--ink-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

/* Artist Profile Card */
.artist-profile-card {
  background: var(--surface-primary);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.artist-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.artist-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-gold-soft);
}

.artist-profile-info {
  flex: 1;
  min-width: 0;
}

.artist-profile-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 6px 0;
}

.artist-profile-name-link {
  text-decoration: none;
  color: inherit;
}

.artist-profile-name-link:hover .artist-profile-name {
  color: var(--accent-gold);
}

.artist-profile-stats {
  font-size: 13px;
  color: var(--ink-secondary);
}

.artist-profile-stats strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.stat-sep {
  margin: 0 6px;
  color: var(--ink-muted);
}

.artist-profile-details {
  padding-top: 16px;
  border-top: 1px solid var(--stroke-light);
}

.artist-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.artist-detail-label {
  font-size: 13px;
  color: var(--ink-secondary);
}

.artist-detail-value {
  font-size: 13px;
  color: var(--ink-primary);
  font-weight: 500;
}

.artist-bio {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke-light);
}

.artist-bio p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* Other Works Section */
.artist-other-works {
  background: var(--surface-primary);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;
}

.section-see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: none;
}

.section-see-all:hover {
  color: var(--accent-gold-hover);
}

.other-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.other-work-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-tertiary);
  transition: transform 0.2s var(--ease-smooth);
}

.other-work-item:hover {
  transform: translateY(-4px);
}

.other-work-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.other-work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-smooth);
}

.other-work-item:hover .other-work-image img {
  transform: scale(1.08);
}

.other-work-info {
  padding: 10px;
}

.other-work-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.other-work-price {
  display: block;
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 2px;
}

/* Sidebar Similar Works */
.similar-works-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.similar-work-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin: 0 -10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s var(--ease-smooth);
}

.similar-work-item:hover {
  background-color: var(--surface-tertiary);
}

.similar-work-image {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.similar-work-info {
  flex: 1;
  min-width: 0;
}

.similar-work-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-work-artist {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.similar-work-price {
  display: block;
  font-size: 13px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 4px;
}

/* Responsive for Detail Page */
@media (max-width: 1024px) {
  .art-detail-page {
    padding-top: 16px;
  }

  .other-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .detail-artwork-title {
    font-size: 20px;
  }

  .price-current {
    font-size: 18px;
  }

  .artist-profile-avatar {
    width: 52px;
    height: 52px;
  }

  .artist-profile-name {
    font-size: 16px;
  }

  .other-works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .other-work-info {
    padding: 8px;
  }
}

@media (max-width: 480px) {

  .artwork-detail-info,
  .artwork-specs-card,
  .artist-profile-card,
  .artist-other-works {
    padding: 16px;
  }

  .detail-artist-avatar {
    width: 32px;
    height: 32px;
  }

  .other-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== ARTISTS PAGE (Full Width) ========== */
.artists-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.artists-content {
  width: 100%;
}

/* Filter Card */
.artists-filter-card {
  background: var(--surface-primary);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.artists-search-form {
  margin-bottom: 20px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-tertiary);
  border-radius: 12px;
  padding: 4px 4px 4px 16px;
}

.search-icon {
  flex-shrink: 0;
  fill: var(--ink-muted);
}

.artists-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 14px;
  color: var(--ink-primary);
  outline: none;
  font-family: 'Inter', sans-serif;
}

.artists-search-input::placeholder {
  color: var(--ink-muted);
}

.artists-search-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  font-family: 'Inter', sans-serif;
}

.artists-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* Alphabet Filter - Modern Design */
.alphabet-filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 16px 0;
  border-top: 1px solid var(--stroke-light);
}

.alphabet-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
  border: 1px solid transparent;
}

.alphabet-letter:hover {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-deep);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.alphabet-letter.active {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.alphabet-letter.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.45);
}

/* Legacy support for old classes */
.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.alphabet-filter a,
.alphabet-filter .letter-area a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

.alphabet-filter a:hover,
.alphabet-filter .letter-area a:hover {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-deep);
}

.alphabet-filter a.active,
.alphabet-filter .letter-area a.active {
  background: var(--accent-gold);
  color: white;
}

/* Artists Grid */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Artist Card */
.artist-card-instagram {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.artist-card-instagram:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.artist-card-link {
  display: block;
  text-decoration: none;
}

.artist-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-tertiary) 0%, var(--surface-secondary) 100%);
}

.artist-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

.artist-card-instagram:hover .artist-card-image img {
  transform: scale(1.08);
}

.artist-card-body {
  padding: 16px;
  text-align: center;
}

.artist-card-name-link {
  text-decoration: none;
  color: inherit;
}

.artist-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-card-stats {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0 0 12px 0;
}

.artist-card-follow {
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
}

/* Responsive Artists Grid */
@media (max-width: 1024px) {
  .artists-page-container {
    padding: 24px 16px 40px;
  }

  .artists-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .artists-page {
    padding-top: 16px;
  }

  .artists-filter-card {
    padding: 16px;
  }

  .alphabet-filter a,
  .alphabet-filter .letter-area a {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .artists-grid {
    grid-template-columns: 1fr;
  }

  .artist-card-body {
    padding: 12px;
  }
}

/* ========== ARTWORKS PAGE ========== */
.artworks-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

/* Filter Bar */
.artworks-filter-bar {
  margin-bottom: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke-light);
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  border: 1px solid transparent;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  font-family: 'Inter', sans-serif;
}

.filter-chip:hover {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-deep);
  border-color: var(--accent-gold);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  color: white;
  border-color: transparent;
}

.filter-more-btn {
  background: var(--surface-primary);
  border: 1.5px solid var(--stroke-medium);
}

.filter-more-btn:hover {
  background: var(--surface-tertiary);
  border-color: var(--accent-gold);
}

/* Artworks Grid */
.artworks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.artworks-grid .artwork-card {
  display: flex;
  flex-direction: column;
}

.artworks-grid .artwork-image-wrapper {
  padding-top: 100%;
}

.artwork-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.artwork-price .price-original {
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.artwork-price .price-current {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
}

.sold-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Filter Modal */
.filter-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.filter-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.filter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.filter-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(85vh, 800px);
  background: var(--surface-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.filter-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke-light);
}

.filter-modal__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
}

.filter-modal__close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.filter-modal__body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-section:last-of-type {
  margin-bottom: 0;
}

.filter-section__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 12px 0;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkboxes--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.filter-checkbox input {
  display: none;
}

.filter-checkbox__mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--stroke-medium);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-smooth);
}

.filter-checkbox input:checked+.filter-checkbox__mark {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.filter-checkbox input:checked+.filter-checkbox__mark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.filter-checkbox__label {
  font-size: 14px;
  color: var(--ink-secondary);
}

.filter-checkbox--small .filter-checkbox__mark {
  width: 18px;
  height: 18px;
}

.filter-checkbox--small .filter-checkbox__label {
  font-size: 13px;
}

.filter-row {
  margin-bottom: 12px;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--stroke-light);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-primary);
  background: var(--surface-primary);
  outline: none;
  transition: border-color 0.2s var(--ease-smooth);
  font-family: 'Inter', sans-serif;
}

.filter-select:focus,
.filter-input:focus {
  border-color: var(--accent-gold);
}

.filter-modal__footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--stroke-light);
}

.filter-reset-btn {
  flex: 1;
  padding: 14px 20px;
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.filter-reset-btn:hover {
  background: var(--stroke-light);
}

.filter-apply-btn {
  flex: 1;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.filter-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* Responsive Artworks Grid */
@media (max-width: 1024px) {
  .artworks-page-container {
    padding: 24px 16px 40px;
  }

  .artworks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .artworks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .filter-categories {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chip {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .artworks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .artworks-grid .artwork-info {
    padding: 12px 14px;
  }

  .filter-modal__dialog {
    max-height: 90vh;
  }
}

/* ========== ARTIST DETAIL PAGE ========== */
.artist-detail-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

/* Artist Profile Hero */
.artist-profile-hero {
  background: var(--surface-primary);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.artist-profile-avatar-container {
  flex-shrink: 0;
}

.artist-profile-avatar-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25);
}

.artist-profile-avatar-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  font-weight: 700;
  border: 4px solid var(--accent-gold);
}

.artist-profile-info {
  flex: 1;
  min-width: 0;
}

.artist-profile-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.artist-profile-bio {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0 0 20px 0;
  line-height: 1.6;
  max-width: 500px;
}

/* Stats Row */
.artist-profile-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

.artist-stat {
  text-align: center;
}

.artist-stat__count {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
}

.artist-stat__label {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 2px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.artist-stat__label:hover {
  color: var(--accent-gold);
}

/* Action Buttons */
.artist-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.artist-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  border: none;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.artist-action-btn--primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-deep) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.artist-action-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  color: white;
}

.artist-action-btn--primary.is-following {
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  box-shadow: none;
  border: 1.5px solid var(--stroke-medium);
}

.artist-action-btn--primary.is-following:hover {
  background: var(--stroke-light);
  border-color: var(--ink-muted);
  transform: none;
  box-shadow: none;
}

.artist-action-btn--secondary {
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  border: 1.5px solid transparent;
}

.artist-action-btn--secondary:hover {
  background: var(--accent-gold-soft);
  color: var(--accent-gold-deep);
  border-color: var(--accent-gold);
}

.artist-action-btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.artist-action-btn--icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Artist Tabs */
.artist-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-tertiary);
  border-radius: 14px;
  margin-bottom: 28px;
}

.artist-tab {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.artist-tab:hover {
  color: var(--ink-primary);
}

.artist-tab.is-active {
  color: var(--ink-primary);
  background: var(--surface-primary);
  box-shadow: var(--shadow-sm);
}

/* Tab Panels */
.artist-tab-panel {
  display: none;
  animation: panelFadeIn 0.4s var(--ease-smooth);
}

.artist-tab-panel.is-visible {
  display: block;
}

/* Artist Filter Bar */
.artist-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke-light);
}

.artist-filter-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.artist-artwork-count {
  font-size: 14px;
  color: var(--ink-secondary);
}

.artist-artwork-count strong {
  color: var(--ink-primary);
  font-weight: 600;
}

/* Biography Section */
.artist-biography-section {
  background: var(--surface-primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.artist-biography-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 16px 0;
}

.artist-biography-content {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.8;
}

.artist-biography-content p {
  margin: 0 0 16px 0;
}

.artist-biography-content p:last-child {
  margin-bottom: 0;
}

/* Empty State */
.artist-empty-state {
  text-align: center;
  padding: 60px 30px;
  background: var(--surface-primary);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.artist-empty-state__icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.artist-empty-state__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0 0 12px 0;
}

.artist-empty-state__text {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Responsive Artist Detail */
@media (max-width: 1024px) {
  .artist-detail-page-container {
    padding: 24px 16px 40px;
  }

  .artist-profile-hero {
    padding: 24px;
    gap: 24px;
  }

  .artist-profile-avatar-large,
  .artist-profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    font-size: 40px;
  }

  .artist-profile-name {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .artist-profile-hero {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .artist-profile-avatar-large,
  .artist-profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    font-size: 36px;
  }

  .artist-profile-stats {
    justify-content: center;
  }

  .artist-action-buttons {
    justify-content: center;
  }

  .artist-profile-bio {
    max-width: 100%;
  }

  .artist-profile-name {
    font-size: 22px;
  }

  .artist-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .artist-tab {
    flex: 0 0 auto;
    padding: 12px 20px;
    font-size: 13px;
  }

  .artist-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .artist-profile-hero {
    padding: 20px 16px;
  }

  .artist-profile-stats {
    gap: 24px;
  }

  .artist-stat__count {
    font-size: 18px;
  }

  .artist-action-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .artist-action-btn--icon {
    width: 40px;
    height: 40px;
  }
}

/* ========== DARK MODE SUPPORT (Future) ========== */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here */
}

/* Follow Button Hover Fix */
.follow-button.is-following:hover {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.follow-button.is-following:hover .follow-text {
  display: none !important;
}

.follow-button.is-following:hover::after {
  content: 'Takibi Bırak';
  font-weight: 600;
}

/* ========== DASHBOARD LAYOUT (New Implementation) ========== */
.dashboard-section {
  padding-top: calc(var(--header-height) + 40px) !important;
  min-height: calc(100vh - 200px);

}

.dashboard-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;

}

@media (max-width: 991px) {
  .dashboard-wrapper {
    grid-template-columns: 1fr;

  }


}

/* Sidebar Menu */
.dashboard-sidebar-menu {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 24px);
  z-index: 10;

}

.dashboard-sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;

}

.dashboard-sidebar-menu ul li {
  border-bottom: 1px solid var(--stroke-light);

}

.dashboard-sidebar-menu ul li:last-child {
  border-bottom: none;

}

.dashboard-sidebar-menu ul li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s var(--ease-smooth);

}

.dashboard-sidebar-menu ul li a:hover,
.dashboard-sidebar-menu ul li.active a {
  background: var(--surface-tertiary);
  color: var(--ink-primary);
  padding-left: 28px;

}

.dashboard-sidebar-menu ul li.active a {
  font-weight: 600;
  border-left: 4px solid var(--accent-gold);

}

.dashboard-sidebar-menu ul li a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease-smooth);

}

.dashboard-sidebar-menu ul li a:hover svg,
.dashboard-sidebar-menu ul li.active a svg {
  opacity: 1;
  fill: var(--accent-gold);

}

.dashboard-sidebar-menu ul li a h5 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;

}

/* Dashboard Content Area */
.dashboard-content-wrap {
  background: transparent;

}

.portfolio-info-wrap {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  text-align: center;

}

.portfolio-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

}

.portfolio-content p {
  color: var(--ink-secondary);
  font-size: 15px;
  margin-bottom: 32px;

}

.portfolio-info-wrap .row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;

}

.single-content {
  background: var(--surface-secondary);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;

}

.single-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--surface-primary);

}

.single-content h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.single-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 0;

}

/* Profile Form Styles */
.dashboard-profile-content {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);

}

.author-area {
  margin-bottom: 40px;

}

.author-image {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;

}

.author-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface-primary);
  box-shadow: 0 0 0 2px var(--accent-gold);

}

.author-image .icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent-gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface-primary);
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth);

}

.author-image .icon:hover {
  transform: scale(1.1);

}

.author-image .icon svg {
  width: 16px;
  height: 16px;
  fill: white;

}

.author-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;

}

/* Form Inputs */
.form-inner label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 8px;

}

.form-inner input,
.form-inner select,
.form-inner textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--surface-tertiary);
  /* Dark mode compatible background */
  border: 1px solid var(--stroke-light);
  border-radius: 12px;
  color: var(--ink-primary);
  font-size: 15px;
  transition: all 0.2s var(--ease-smooth);
  font-family: inherit;

}

.form-inner textarea {
  height: 120px;
  padding: 16px;
  resize: vertical;

}

.form-inner input:focus,
.form-inner select:focus,
.form-inner textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--surface-primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);

}

.primary-btn2 {
  background: var(--accent-gold);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;

}

.primary-btn2:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);

}

/* Dashboard Table (Orders, Artworks) */
.dashboard-order-content {
  background: transparent;

}

.dashboard-order-table {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);

}

.dashboard-order-table table {
  width: 100%;
  border-collapse: collapse;

}

.dashboard-order-table th {
  background: var(--surface-tertiary);
  padding: 16px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.dashboard-order-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--stroke-light);
  vertical-align: middle;

}

.dashboard-order-table tr:last-child td {
  border-bottom: none;

}

.table-text {
  font-size: 15px;
  color: var(--ink-primary);
  font-weight: 500;

}

.primary-btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--surface-tertiary);
  color: var(--ink-primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);

}

.primary-btn1:hover {
  background: var(--accent-gold);
  color: white;

}

.delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
  border: none;

}

.delete-btn:hover {
  background: #dc3545;
  color: white;

}

/* Responsive Table */
@media (max-width: 768px) {

  .dashboard-order-table table,
  .dashboard-order-table tbody,
  .dashboard-order-table tr,
  .dashboard-order-table td {
    display: block;
    width: 100%;

  }

  .dashboard-order-table thead {
    display: none;

  }

  .dashboard-order-table tr {
    margin-bottom: 24px;
    background: var(--surface-primary);
    border-radius: 12px;
    border: 1px solid var(--stroke-light);
    padding: 16px;

  }

  .dashboard-order-table td {
    padding: 8px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;

  }

  .dashboard-order-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink-secondary);
    font-size: 13px;
    text-align: left;

  }


}

/* ========== DASHBOARD LAYOUT (New Implementation) ========== */
.dashboard-section {
  padding-top: calc(var(--header-height) + 40px) !important;
  min-height: calc(100vh - 200px);

}

.dashboard-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;

}

@media (max-width: 991px) {
  .dashboard-wrapper {
    grid-template-columns: 1fr;

  }


}

/* Sidebar Menu */
.dashboard-sidebar-menu {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 24px);
  z-index: 10;

}

.dashboard-sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;

}

.dashboard-sidebar-menu ul li {
  border-bottom: 1px solid var(--stroke-light);

}

.dashboard-sidebar-menu ul li:last-child {
  border-bottom: none;

}

.dashboard-sidebar-menu ul li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s var(--ease-smooth);

}

.dashboard-sidebar-menu ul li a:hover,
.dashboard-sidebar-menu ul li.active a {
  background: var(--surface-tertiary);
  color: var(--ink-primary);
  padding-left: 28px;

}

.dashboard-sidebar-menu ul li.active a {
  font-weight: 600;
  border-left: 4px solid var(--accent-gold);

}

.dashboard-sidebar-menu ul li a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease-smooth);

}

.dashboard-sidebar-menu ul li a:hover svg,
.dashboard-sidebar-menu ul li.active a svg {
  opacity: 1;
  fill: var(--accent-gold);

}

.dashboard-sidebar-menu ul li a h5 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;

}

/* Dashboard Content Area */
.dashboard-content-wrap {
  background: transparent;

}

.portfolio-info-wrap {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  text-align: center;

}

.portfolio-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

}

.portfolio-content p {
  color: var(--ink-secondary);
  font-size: 15px;
  margin-bottom: 32px;

}

.portfolio-info-wrap .row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;

}

.single-content {
  background: var(--surface-secondary);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;

}

.single-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--surface-primary);

}

.single-content h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.single-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 0;

}

/* Profile Form Styles */
.dashboard-profile-content {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);

}

.author-area {
  margin-bottom: 40px;

}

.author-image {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;

}

.author-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface-primary);
  box-shadow: 0 0 0 2px var(--accent-gold);

}

.author-image .icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent-gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface-primary);
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth);

}

.author-image .icon:hover {
  transform: scale(1.1);

}

.author-image .icon svg {
  width: 16px;
  height: 16px;
  fill: white;

}

.author-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;

}

/* Form Inputs */
.form-inner label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 8px;

}

.form-inner input,
.form-inner select,
.form-inner textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--surface-tertiary);
  /* Dark mode compatible background */
  border: 1px solid var(--stroke-light);
  border-radius: 12px;
  color: var(--ink-primary);
  font-size: 15px;
  transition: all 0.2s var(--ease-smooth);
  font-family: inherit;

}

.form-inner textarea {
  height: 120px;
  padding: 16px;
  resize: vertical;

}

.form-inner input:focus,
.form-inner select:focus,
.form-inner textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--surface-primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);

}

.primary-btn2 {
  background: var(--accent-gold);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;

}

.primary-btn2:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);

}

/* Dashboard Table (Orders, Artworks) */
.dashboard-order-content {
  background: transparent;

}

.dashboard-order-table {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);

}

.dashboard-order-table table {
  width: 100%;
  border-collapse: collapse;

}

.dashboard-order-table th {
  background: var(--surface-tertiary);
  padding: 16px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.dashboard-order-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--stroke-light);
  vertical-align: middle;

}

.dashboard-order-table tr:last-child td {
  border-bottom: none;

}

.table-text {
  font-size: 15px;
  color: var(--ink-primary);
  font-weight: 500;

}

.primary-btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--surface-tertiary);
  color: var(--ink-primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);

}

.primary-btn1:hover {
  background: var(--accent-gold);
  color: white;

}

.delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
  border: none;

}

.delete-btn:hover {
  background: #dc3545;
  color: white;

}

/* Responsive Table */
@media (max-width: 768px) {

  .dashboard-order-table table,
  .dashboard-order-table tbody,
  .dashboard-order-table tr,
  .dashboard-order-table td {
    display: block;
    width: 100%;

  }

  .dashboard-order-table thead {
    display: none;

  }

  .dashboard-order-table tr {
    margin-bottom: 24px;
    background: var(--surface-primary);
    border-radius: 12px;
    border: 1px solid var(--stroke-light);
    padding: 16px;

  }

  .dashboard-order-table td {
    padding: 8px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;

  }

  .dashboard-order-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink-secondary);
    font-size: 13px;
    text-align: left;

  }


}

/* ========== DASHBOARD LAYOUT (New Implementation) ========== */
.dashboard-section {
  padding-top: calc(var(--header-height) + 40px) !important;
  min-height: calc(100vh - 200px);

}

.dashboard-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;

}

@media (max-width: 991px) {
  .dashboard-wrapper {
    grid-template-columns: 1fr;

  }


}

/* Sidebar Menu */
.dashboard-sidebar-menu {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 24px);
  z-index: 10;

}

.dashboard-sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;

}

.dashboard-sidebar-menu ul li {
  border-bottom: 1px solid var(--stroke-light);

}

.dashboard-sidebar-menu ul li:last-child {
  border-bottom: none;

}

.dashboard-sidebar-menu ul li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s var(--ease-smooth);

}

.dashboard-sidebar-menu ul li a:hover,
.dashboard-sidebar-menu ul li.active a {
  background: var(--surface-tertiary);
  color: var(--ink-primary);
  padding-left: 28px;

}

.dashboard-sidebar-menu ul li.active a {
  font-weight: 600;
  border-left: 4px solid var(--accent-gold);

}

.dashboard-sidebar-menu ul li a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease-smooth);

}

.dashboard-sidebar-menu ul li a:hover svg,
.dashboard-sidebar-menu ul li.active a svg {
  opacity: 1;
  fill: var(--accent-gold);

}

.dashboard-sidebar-menu ul li a h5 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;

}

/* Dashboard Content Area */
.dashboard-content-wrap {
  background: transparent;

}

.portfolio-info-wrap {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  text-align: center;

}

.portfolio-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

}

.portfolio-content p {
  color: var(--ink-secondary);
  font-size: 15px;
  margin-bottom: 32px;

}

.portfolio-info-wrap .row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;

}

.single-content {
  background: var(--surface-secondary);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;

}

.single-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--surface-primary);

}

.single-content h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.single-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 0;

}

/* Profile Form Styles */
.dashboard-profile-content {
  background: var(--surface-primary);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);

}

.author-area {
  margin-bottom: 40px;

}

.author-image {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;

}

.author-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface-primary);
  box-shadow: 0 0 0 2px var(--accent-gold);

}

.author-image .icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent-gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface-primary);
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth);

}

.author-image .icon:hover {
  transform: scale(1.1);

}

.author-image .icon svg {
  width: 16px;
  height: 16px;
  fill: white;

}

.author-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;

}

/* Form Inputs */
.form-inner label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 8px;

}

.form-inner input,
.form-inner select,
.form-inner textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--surface-tertiary);
  /* Dark mode compatible background */
  border: 1px solid var(--stroke-light);
  border-radius: 12px;
  color: var(--ink-primary);
  font-size: 15px;
  transition: all 0.2s var(--ease-smooth);
  font-family: inherit;

}

.form-inner textarea {
  height: 120px;
  padding: 16px;
  resize: vertical;

}

.form-inner input:focus,
.form-inner select:focus,
.form-inner textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--surface-primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);

}

.primary-btn2 {
  background: var(--accent-gold);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;

}

.primary-btn2:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);

}

/* Dashboard Table (Orders, Artworks) */
.dashboard-order-content {
  background: transparent;

}

.dashboard-order-table {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);

}

.dashboard-order-table table {
  width: 100%;
  border-collapse: collapse;

}

.dashboard-order-table th {
  background: var(--surface-tertiary);
  padding: 16px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.dashboard-order-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--stroke-light);
  vertical-align: middle;

}

.dashboard-order-table tr:last-child td {
  border-bottom: none;

}

.table-text {
  font-size: 15px;
  color: var(--ink-primary);
  font-weight: 500;

}

.primary-btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--surface-tertiary);
  color: var(--ink-primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);

}

.primary-btn1:hover {
  background: var(--accent-gold);
  color: white;

}

.delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
  border: none;

}

.delete-btn:hover {
  background: #dc3545;
  color: white;

}

/* Responsive Table */
@media (max-width: 768px) {

  .dashboard-order-table table,
  .dashboard-order-table tbody,
  .dashboard-order-table tr,
  .dashboard-order-table td {
    display: block;
    width: 100%;

  }

  .dashboard-order-table thead {
    display: none;

  }

  .dashboard-order-table tr {
    margin-bottom: 24px;
    background: var(--surface-primary);
    border-radius: 12px;
    border: 1px solid var(--stroke-light);
    padding: 16px;

  }

  .dashboard-order-table td {
    padding: 8px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;

  }

  .dashboard-order-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink-secondary);
    font-size: 13px;
    text-align: left;

  }


}



/*==========MODERNFOOTER==========*/
.site-footer {
  background-color: var(--surface-primary);
  border-top: 1px solid var(--stroke-light);
  padding: 80px 00;
  color: var(--ink-primary);
  font-family: 'Inter', sans-serif;
}

body.dark .site-footer {
  background-color: #0d0d0d;
  border-top-color: #1a1a1a;
}

.site-footer.container {
  max-width: var(--page-max-width);
  margin: 0auto;
  padding: 024px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr1fr1fr1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media(max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr1fr;
    gap: 40px;
  }
}

@media(max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-col__logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-col__logoimg {
  height: 48px;
  width: auto;
}

.footer-col__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all0.2svar(--ease-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.primary-btn2:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/*DashboardTable(Orders,Artworks)*/
.dashboard-order-content {
  background: transparent;
}

.dashboard-order-table {
  background: var(--surface-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.dashboard-order-table table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-order-tableth {
  background: var(--surface-tertiary);
  padding: 16px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-order-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--stroke-light);
  vertical-align: middle;
}

.dashboard-order-table tr:last-childtd {
  border-bottom: none;
}

.table-text {
  font-size: 15px;
  color: var(--ink-primary);
  font-weight: 500;
}

.primary-btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--surface-tertiary);
  color: var(--ink-primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all0.2svar(--ease-smooth);
}

.primary-btn1:hover {
  background: var(--accent-gold);
  color: white;
}

.delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all0.2svar(--ease-smooth);
  border: none;
}

.delete-btn:hover {
  background: #dc3545;
  color: white;
}

/*ResponsiveTable*/
@media(max-width: 768px) {

  .dashboard-order-table table,
  .dashboard-order-table tbody,
  .dashboard-order-table tr,
  .dashboard-order-table td {
    display: block;
    width: 100%;
  }

  .dashboard-order-table thead {
    display: none;
  }

  .dashboard-order-table tr {
    margin-bottom: 24px;
    background: var(--surface-primary);
    border-radius: 12px;
    border: 1px solid var(--stroke-light);
    padding: 16px;
  }

  .dashboard-order-table td {
    padding: 8px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }

  .dashboard-order-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink-secondary);
    font-size: 13px;
    text-align: left;
  }
}

/*==========MODERNFOOTERREFINED(5-COLUMN)==========*/
.site-footer {
  background-color: var(--surface-primary);
  border-top: 1px solid var(--stroke-light);
  padding: 80px 00;
  color: var(--ink-primary);
  font-family: 'Inter', sans-serif;
  transition: background-color0.3sease, border-color0.3sease;
}

/*DarkModeSupportforFooter*/
body.dark .site-footer {
  background-color: #0d0d0d;
  border-top-color: #1a1a1a;
  color: #e0e0e0;
}

.site-footer .container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1.2fr;
  gap: 32px;
  margin-bottom: 0px;
}

@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-col:last-child {
    grid-column: span 1;
  }
}

.footer-col__logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-col__logo img {
  height: 64px;
  /* Enlarged logo */
  width: auto;
}

.footer-col__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

body.dark .footer-col__text {
  color: #a0a0a0;
}

.footer-col__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

body.dark .footer-col__title {
  color: #ffffff;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
  display: inline-block;
}

body.dark .footer-nav a {
  color: #a0a0a0;
}

.footer-nav a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  /* Above the login button */
}

.footer-social__link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
  transition: all 0.3s var(--ease-smooth);
}

body.dark .footer-social__link {
  background: #1a1a1a;
  color: #ffffff;
}

.footer-social__link:hover {
  background: var(--accent-gold);
  color: white;
  transform: translateY(-4px);
}

.footer-social__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-qr {
  margin-top: 24px;
  max-width: 120px;
}

.footer-qr img {
  width: 100%;
  border-radius: 8px;
  border: 4px solid white;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease;
}

body.dark .footer-qr img {
  border-color: #333;
}

.footer-bottom {
  border-top: 1px solid var(--stroke-light);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.3s ease;
}

body.dark .footer-bottom {
  border-top-color: #1a1a1a;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-bottom__copy {
  font-size: 13px;
  color: var(--ink-muted);
}

body.dark .footer-bottom__copy {
  color: #666;
}

.footer-bottom__links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 480px) {
  .footer-bottom__links {
    flex-direction: column;
    gap: 12px;
  }
}

.footer-bottom__links a {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

body.dark .footer-bottom__links a {
  color: #666;
}

.footer-bottom__links a:hover {
  color: var(--ink-primary);
}

body.dark .footer-bottom__links a:hover {
  color: #ffffff;
}

.footer-bottom__branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom__branding img {
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-bottom__branding img:hover {
  opacity: 1;
}

.iyzico-band {
  margin-top: 0;
  display: flex;
  align-items: center;
}

.iyzico-band img {
  height: 20px;
}

.iyzico-band__img--dark {
  display: none;
}

body.dark .iyzico-band__img--light {
  display: none;
}

body.dark .iyzico-band__img--dark {
  display: block;
}

/* Auth button override for footer context */
.footer-auth-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--accent-gold);
  color: white !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  margin-bottom: 0;
  white-space: nowrap;
}

.footer-auth-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ========== ARTIST TABS STYLES (Gallery Detail Fix) ========== */
.artist-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  padding-bottom: 10px;
}

.artist-tabs::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.artist-tab {
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 14px;
}

.artist-tab:hover {
  color: var(--ink-primary);
}

.artist-tab.is-active {
  color: var(--ink-primary);
}

.artist-tab-panel {
  display: none;
}

.artist-tab-panel.is-visible {
  display: block;
}

/* ========== MOBILE RESPONSIVE FIXES (2025) ========== */
/* Critical fix for mobile viewport overflow */

@media screen and (max-width: 767px) {

  /* GLOBAL RESET for Mobile Overflow */
  :root {
    --gallery-max-width: 100%;
    --aside-width: 100%;
    --page-max-width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scroll on root */
  }

  html,
  body {
    width: 100%;
    max-width: 100vw;
    /* Strict viewport width */
    overflow-x: hidden !important;
    /* Force no horizontal scroll on body */
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Force all elements to respect box model */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* Prevent any element from being wider than screen */
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    max-width: 100%;
    height: auto;
  }

  /* =========================================
     HEADER & MENU IMPROVEMENTS
     ========================================= */

  /* Top Bar (Komisyon Yok vs) */
  .top-bar {
    width: 100%;
    max-width: 100vw;
    padding: 8px 15px;
    font-size: 11px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
  }

  .top-bar::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari/Opera */
  }

  /* Navbar Container */
  .navbar-instagram,
  .header-area {
    width: 100%;
    max-width: 100vw;
  }

  .header-area .container {
    padding: 0 20px;
    max-width: 100%;
  }

  /* Mobile Main Menu (Sanatçı | Eserler | Galeriler) 
     Redesigned as Scrollable Chips */
  .mobile-main-menu {
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 10px 0 15px 0;
    border-bottom: 1px solid var(--stroke-light);
  }

  .mobile-main-menu ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 5px 10px 15px 10px;
    /* Increased vertical padding to prevent clipping */
    margin: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: center;
    min-height: 50px;
    /* Ensure minimum height */
  }

  .mobile-main-menu ul::-webkit-scrollbar {
    display: none;
  }

  .mobile-main-menu ul li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  /* Remove any potential separators like ( ) */
  .mobile-main-menu ul li::before,
  .mobile-main-menu ul li::after {
    content: none !important;
    display: none !important;
  }

  /* Chip Style Links */
  /* Chip Style Links - Minimalist / No Background */
  .mobile-main-menu ul li a {
    display: inline-block;
    padding: 8px 12px;
    background-color: transparent;
    /* No background */
    color: var(--ink-secondary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }

  .mobile-main-menu ul li a:hover,
  .mobile-main-menu ul li a:active {
    background-color: transparent;
    color: var(--accent-gold);
    /* Gold text on hover */
  }

  /* Dark mode support for chips */
  body.dark .mobile-main-menu {
    background: var(--surface-secondary);
    border-bottom-color: var(--stroke-medium);
  }

  body.dark .mobile-main-menu ul li a {
    background-color: transparent;
    color: var(--ink-muted);
  }

  body.dark .mobile-main-menu ul li a:hover {
    background-color: transparent;
    color: #fff;
  }


  /* =========================================
     CONTENT & GALLERY FIXES
     ========================================= */

  /* Main containers must not have fixed widths */
  .gallery-wrapper,
  .main-container-instagram {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    /* Comfortable padding */
    gap: 25px;
    margin: 0;
  }

  /* Gallery/Feed Area */
  .gallery-section,
  .feed-area {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex: none;
    /* Disable flex scaling issues */
  }

  /* Gallery Grid */
  .gallery-grid,
  .artwork-feed {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Space between cards */
  }

  /* Artist/Artwork Card - Prevent Overflow */
  .art-piece,
  .artwork-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    /* Clip overflowing images */
    background: var(--surface-primary);
  }

  /* Full Width Images */
  .art-piece__image,
  .artwork-image-wrapper {
    width: 100%;
    padding-top: 100%;
    /* Aspect Ratio 1:1 */
    position: relative;
    background: #f0f0f0;
  }

  .art-piece__image img,
  .artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    /* Ensure image covers area */
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    /* Reset specific overrides */
  }

  /* Feed Tabs (Senin İçin / Takip Ettiklerin) */
  .feed-nav {
    display: flex;
    width: 100%;
    background: var(--surface-tertiary);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    box-shadow: none;
  }

  .feed-nav__tab {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 13px;
    justify-content: center;
    border-radius: 8px;
    white-space: nowrap;
  }

  /* Sidebar/Aside - Move to bottom/stack */
  .aside-panel,
  .sidebar-instagram {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    display: block;
    /* Ensure visibility */
  }

  .sidebar-section,
  .aside-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* Action Buttons (Like/Comment) */
  .artwork-actions {
    display: flex;
    padding: 10px 14px;
    gap: 15px;
    flex-wrap: wrap;
    /* Allow wrapping if needed */
  }

  .artwork-action-button {
    flex: 0 0 auto;
  }

  .artwork-action-button--follow {
    margin-left: auto;
    /* Push to right */
    max-width: 120px;
    /* Prevent huge buttons */
  }

  /* Pagination */
  .pagination-wrapper {
    width: 100%;
    overflow-x: auto;
    /* Allow scroll if pagination is wide */
    text-align: center;
    padding: 10px;
  }
}

/* Extra small devices (iPhone SE, etc) */
@media screen and (max-width: 380px) {

  .gallery-wrapper,
  .main-container-instagram {
    padding: 15px;
  }

  .feed-nav__tab {
    font-size: 12px;
    padding: 8px 2px;
  }

  .artwork-action-button--follow span.label {
    display: none;
    /* Hide 'Takip Et' text on very small screens ificon exists */
  }

  .artwork-action-button--follow span.icon {
    margin: 0;
  }
}

/* ========== ARTIST ACTION BUTTONS FIX (Revised for Icons Only) ========== */
/* Only target the container for alignment */
.artist-action-buttons {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Specific fix for Share/WhatsApp Icons ONLY */
.artist-action-btn--icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-tertiary);
  color: var(--ink-secondary);
  transition: transform 0.2s ease;
}

.artist-action-btn--icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile Specifics */
@media screen and (max-width: 767px) {
  .artist-action-buttons {
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
    /* Keep aligned start */
  }

  /* Only enlarge icons on mobile, keep other buttons standard */
  .artist-action-btn--icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  .artist-action-btn--icon svg {
    width: 24px;
    height: 24px;
  }
}