/* Page entry: subtle fade + slide (inner pages) */
.page-shell {
  min-height: 100vh;
  padding-top: 80px;
  background: var(--bg);
  opacity: 0;
  transform: translateY(10px);
  animation: pageEntry 0.5s var(--ease-out) forwards;
}
@keyframes pageEntry {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-shell {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px;
}

.page-title {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.page-subtitle {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.about-page-intro {
  margin-bottom: 48px;
}
.about-page-intro .page-title {
  font-size: 2.5rem;
}
.about-section {
  margin-bottom: 48px;
}
.about-section:last-of-type {
  margin-bottom: 0;
}
.section-header-about {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.about-section p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-section p:last-child {
  margin-bottom: 0;
}
.mission-statement {
  font-size: 1.05rem !important;
  color: var(--text) !important;
  font-weight: 500;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}
.brands-unified {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-2);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-details p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.contact-details a {
  color: var(--blue);
}
.contact-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-social a {
  font-size: 0.88rem;
  color: var(--text-3);
}
.contact-social a:hover {
  color: var(--text);
}

.services-intro {
  margin-bottom: 40px;
}
.service-card {
  padding: 36px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.service-card .service-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-features {
  list-style: none;
  margin-bottom: 24px;
}
.service-features li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ready-banner {
  margin-top: 48px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.ready-banner h3 {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.ready-banner p {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 20px;
}

.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 440px;
}
.auth-card h2 {
  text-align: center;
  font-family: var(--font);
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-input::placeholder {
  color: var(--text-3);
}
textarea.form-input {
  min-height: 120px;
  resize: vertical;
}
/* Floating WYSIWYG toolbar (appears on text selection in admin content areas) */
.floating-format-toolbar {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: opacity 0.15s var(--ease), visibility 0.15s var(--ease);
}
.floating-format-toolbar.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.floating-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.floating-format-toolbar .ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 6px 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.floating-format-toolbar .ft-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--bg);
}
.floating-format-toolbar .ft-sep {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 2px;
}
.floating-format-toolbar .ft-font {
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-width: 120px;
}
.floating-format-toolbar .ft-font:hover,
.floating-format-toolbar .ft-font:focus {
  border-color: var(--gold);
  outline: none;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-left: 3px solid var(--gold);
}
.blog-tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.blog-tb-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--bg);
}
.blog-tb-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}
.blog-content-textarea {
  min-height: 480px;
  resize: vertical;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-btn {
  width: 100%;
  padding: 13px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.form-btn:hover {
  background: var(--gold-light);
}
.form-error {
  color: var(--red);
  font-size: 0.82rem;
  margin-top: 6px;
  margin-bottom: 12px;
}
.form-error.hidden {
  margin-bottom: 0;
}
.form-message {
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.form-message.hidden {
  display: none;
  margin-bottom: 0;
}
.form-message.success {
  color: var(--green);
}
.form-message.error {
  color: var(--red);
}
.form-link {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.form-link a {
  color: var(--blue);
}

.social-icon-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-icon-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-3);
  transition: color 0.2s, background 0.2s;
}
.social-icon-links a:hover {
  color: var(--blue);
  background: rgba(99, 102, 241, 0.08);
}

.nav-username {
  color: var(--text-2);
  font-size: 0.8rem;
  margin-right: 6px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.blog-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.blog-card-menu-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-menu-btn:hover {
  background: rgba(0,0,0,0.7);
}
.blog-card-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 8px 0;
}
.blog-card-menu-dropdown.hidden {
  display: none !important;
}
.blog-card-menu-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.blog-card-menu-dropdown a:hover {
  background: var(--surface-2);
  color: var(--gold);
}
.blog-post-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.blog-post-header-row h1 {
  flex: 1;
  margin: 0;
}
.blog-post-actions {
  flex-shrink: 0;
}
.blog-post-actions .blog-card-menu-btn {
  margin-top: 4px;
}
.blog-post-actions .blog-card-menu-dropdown {
  right: 0;
  left: auto;
}
.blog-card-image {
  height: 200px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 3rem;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 10px;
  font-family: var(--mono);
}
.blog-card-title {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}
.blog-card a {
  color: inherit;
  text-decoration: none;
}
.blog-post-full {
  max-width: 760px;
  margin: 0 auto;
}
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-3);
}
.back-link:hover {
  color: var(--text-2);
}
.blog-post-full h1 {
  font-family: var(--font);
  font-size: 2rem;
  margin-bottom: 12px;
}
.blog-post-full .post-meta {
  color: var(--text-3);
  font-size: 0.85rem;
  margin-bottom: 32px;
  font-family: var(--mono);
}
.blog-post-full .post-featured-image {
  margin-bottom: 32px;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background: var(--surface-2);
}
.blog-post-full .post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}
.blog-post-full .post-content {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
}
.blog-post-full .post-content p {
  margin-bottom: 16px;
}
.blog-post-full .post-content blockquote {
  margin: 16px 0;
  padding: 12px 20px;
  border-left: 4px solid var(--gold);
  background: var(--surface-2);
  color: var(--text-2);
  font-style: italic;
}
.blog-post-full .post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.blog-post-full .post-content s {
  text-decoration: line-through;
  color: var(--text-3);
}
.blog-post-full .post-content h4 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
}
/* Links in blog: subtle by default, highlight on hover (link text shown, not raw URL) */
.blog-post-full .post-content a,
.content-area a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.blog-post-full .post-content a:hover,
.content-area a:hover {
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.12);
}
.blog-post-full .post-content a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.blog-share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  margin-right: 4px;
}
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.blog-share-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--surface-2);
}
.comments-section {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.comment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 12px;
}
.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.comment-author {
  font-weight: 600;
  color: var(--text);
}
.comment-date {
  color: var(--text-3);
  font-family: var(--mono);
}
.comment-body {
  font-size: 0.88rem;
  color: var(--text-2);
}
.comment-form {
  margin-top: 20px;
}

.forum-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.forum-cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  text-decoration: none;
  color: var(--text);
}
.forum-cat:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}
.forum-cat-info h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
}
.forum-cat-info p {
  font-size: 0.84rem;
  color: var(--text-2);
}
.forum-cat-stats {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-3);
  font-family: var(--mono);
}
.thread-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.thread-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  text-decoration: none;
  color: var(--text);
}
.thread-item:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}
.thread-item-main {
  flex: 1;
}
.thread-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.thread-item-meta {
  font-size: 0.78rem;
  color: var(--text-3);
}
.thread-item-stats {
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-3);
  font-family: var(--mono);
}
.thread-badges {
  display: inline-flex;
  gap: 6px;
}
.thread-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-pinned {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.2);
}
.badge-locked {
  background: rgba(248, 113, 113, 0.12);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.2);
}
.reply-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 8px;
}
.reply-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.82rem;
}
.reply-author {
  font-weight: 600;
  color: var(--text);
}
.reply-date {
  color: var(--text-3);
  font-family: var(--mono);
}
.cb-mic {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.cb-mic svg {
  width: 16px;
  height: 16px;
}
.cb-mic-tier-1 { color: #b87333; }
.cb-mic-tier-2 { color: #a8a8a8; }
.cb-mic-tier-3 { color: #d4af37; }
.cb-mic-tier-4 { color: var(--blue); }
.reply-body {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  white-space: pre-wrap;
}
.reply-form {
  margin-top: 24px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.product-image {
  height: 220px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-3);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image .product-image-fallback,
.product-image .product-image-placeholder {
  flex: 1;
  min-height: 100%;
}
.product-body {
  padding: 20px;
}
.product-name {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.product-price {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 0.84rem;
  color: var(--text-2);
}
.product-actions {
  padding: 0 20px 20px;
  display: flex;
  gap: 8px;
}
.btn-add-cart {
  flex: 1;
  padding: 10px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.btn-add-cart:hover {
  background: var(--gold-light);
}
.cart-page {
  max-width: 700px;
  margin: 0 auto;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.cart-item-price {
  font-family: var(--mono);
  color: var(--green);
  font-size: 0.9rem;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 30px;
  height: 30px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.qty-btn:hover {
  border-color: var(--border-hover);
}
.cart-total {
  padding: 20px 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 600;
}
.checkout-form {
  max-width: 600px;
  margin: 0 auto;
}
.nav-cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-cart-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.cart-badge {
  background: var(--blue);
  color: white;
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
.order-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.order-summary-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.order-summary-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
}
.product-detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: var(--radius);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.admin-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.admin-stat-num {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.admin-stat-label {
  font-size: 0.75rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 4px;
}
.admin-section {
  margin-bottom: 40px;
}
.admin-section h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.blog-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: block;
}
.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}
.admin-tab {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.admin-tab.active,
.admin-tab:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-hover);
}
.admin-actions {
  display: flex;
  gap: 6px;
}
.admin-btn {
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 0.2s var(--ease);
  background: transparent;
}
.admin-btn-danger {
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.3);
}
.admin-btn-danger:hover {
  background: rgba(248, 113, 113, 0.1);
}
.admin-btn-primary {
  color: var(--blue);
  border-color: rgba(99, 102, 241, 0.3);
}
.admin-btn-primary:hover {
  background: rgba(99, 102, 241, 0.1);
}

.profile-page {
  max-width: 600px;
  margin: 0 auto;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-3);
}
.profile-info h2 {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
}
.profile-info p {
  font-size: 0.85rem;
  color: var(--text-3);
}
.profile-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.profile-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.order-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 10px;
}
.order-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.order-num {
  font-family: var(--mono);
  font-weight: 600;
}
.order-date {
  font-size: 0.85rem;
  color: var(--text-3);
}
.order-total {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--green);
}
.order-receipt-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.78rem;
  white-space: nowrap;
}
.order-toggle {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 0.7rem;
  padding: 2px 6px;
}
.order-items {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 4px 0;
  color: var(--text-2);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mb-16 {
  margin-bottom: 16px;
}
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--text-3);
}
.hidden {
  display: none;
}
.opacity-60 {
  opacity: 0.6;
}
.badge-status {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
}
.status-pending {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
}
.status-processing {
  background: rgba(99, 102, 241, 0.12);
  color: var(--blue);
}
.status-shipped {
  background: rgba(99, 102, 241, 0.12);
  color: var(--blue);
}
.status-delivered {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
}
.status-cancelled {
  background: rgba(248, 113, 113, 0.12);
  color: var(--red);
}
.order-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.badge-payment {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
}
.payment-paid {
  background: rgba(52, 211, 153, 0.14);
  color: var(--green);
}
.payment-pending {
  background: rgba(251, 191, 36, 0.14);
  color: var(--amber);
}
.payment-unknown {
  background: rgba(161, 161, 170, 0.12);
  color: var(--text-3);
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
}
.empty-state svg {
  margin: 0 auto 16px;
  display: block;
  opacity: 0.3;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.88rem;
  z-index: 10001;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s var(--ease);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.toast-success {
  border-color: rgba(52, 211, 153, 0.3);
}
.toast.toast-error {
  border-color: rgba(248, 113, 113, 0.3);
}

@media (max-width: 1024px) {
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-table {
    font-size: 0.8rem;
  }
  .page-container {
    padding: 24px 18px;
  }
}
