/*
Theme Name: The Sprit
Theme URI: https://thesprit.com
Author: The Sprit Team
Author URI: https://thesprit.com
Description: A modern multi-vendor e-commerce marketplace theme. Features WooCommerce integration, seller dashboards, commission management, and a sleek tech-focused design.
Version: 3.0.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pcshop
Tags: e-commerce, marketplace, multi-vendor, custom-menu, theme-options, translation-ready
*/

/* ========================================
   1. CSS RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pcshop-primary: #ff4747;
  --pcshop-primary-dark: #e63939;
  --pcshop-primary-light: #ff6b6b;
  --pcshop-secondary: #ff6600;
  --pcshop-yellow: #ffc107;
  --pcshop-dark: #222;
  --pcshop-darker: #111;
  --pcshop-light: #f5f5f5;
  --pcshop-white: #ffffff;
  --pcshop-gray: #999;
  --pcshop-gray-dark: #666;
  --pcshop-gray-light: #e8e8e8;
  --pcshop-success: #52c41a;
  --pcshop-danger: #ff4d4f;
  --pcshop-warning: #faad14;
  --pcshop-border: #e8e8e8;
  --pcshop-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  --pcshop-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --pcshop-radius: 8px;
  --pcshop-radius-lg: 12px;
  --pcshop-transition: all 0.2s ease;
  --pcshop-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --pcshop-container: 1200px;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--pcshop-font);
  color: var(--pcshop-dark);
  background-color: var(--pcshop-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block !important;
  flex-direction: unset !important;
}

a {
  color: var(--pcshop-dark);
  text-decoration: none;
  transition: var(--pcshop-transition);
}

a:hover {
  color: var(--pcshop-primary);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 600;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   2. LAYOUT
   ======================================== */
.container {
  max-width: var(--pcshop-container);
  margin: 0 auto;
  padding: 0 15px;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 16px 0;
}

.pcshop-woocommerce-wrap {
  max-width: var(--pcshop-container);
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  width: 100%;
}

/* ========================================
   3. TOP BAR
   ======================================== */
.pcshop-top-bar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 12px;
  height: 36px;
}

.pcshop-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.pcshop-top-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.pcshop-top-bar a {
  color: #ccc;
}

.pcshop-top-bar a:hover {
  color: var(--pcshop-white);
}

/* ========================================
   4. HEADER
   ======================================== */
.site-header {
  background: var(--pcshop-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pcshop-header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.pcshop-logo {
  flex-shrink: 0;
}

.pcshop-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--pcshop-primary);
}

.pcshop-logo img {
  height: 40px;
  width: auto;
}

.pcshop-search {
  flex: 1;
  max-width: 600px;
}

.pcshop-search-form {
  display: flex;
  border: 2px solid var(--pcshop-primary);
  border-radius: var(--pcshop-radius);
  overflow: hidden;
  height: 42px;
}

.pcshop-search-form input[type="search"] {
  flex: 1;
  border: none;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  background: var(--pcshop-white);
}

.pcshop-search-form input[type="search"]::placeholder {
  color: var(--pcshop-gray);
}

.pcshop-search-form button {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-size: 16px;
  transition: var(--pcshop-transition);
}

.pcshop-search-form button:hover {
  background: var(--pcshop-primary-dark);
}

.pcshop-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.pcshop-search-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--pcshop-dark);
  border-radius: 50%;
  transition: background 0.2s;
}
.pcshop-search-toggle:hover {
  background: rgba(0,0,0,0.05);
}

.pcshop-header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  cursor: pointer;
  position: relative;
  color: var(--pcshop-dark);
}

.pcshop-header-action svg,
.pcshop-header-action .icon {
  font-size: 22px;
  line-height: 1;
}

.pcshop-header-action:hover {
  color: var(--pcshop-primary);
}

.pcshop-cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ========================================
   5. NAVIGATION
   ======================================== */
.pcshop-nav {
  background: var(--pcshop-white);
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-nav .container {
  display: flex;
  align-items: center;
}

.pcshop-nav-categories {
  background: var(--pcshop-dark);
  color: var(--pcshop-white);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pcshop-nav-links {
  display: flex;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pcshop-nav-links::-webkit-scrollbar {
  display: none;
}

.pcshop-nav-links a {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--pcshop-dark);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--pcshop-transition);
}

.pcshop-nav-links a:hover,
.pcshop-nav-links a.active {
  color: var(--pcshop-primary);
  border-bottom-color: var(--pcshop-primary);
}

/* ========================================
   6. HERO SECTION
   ======================================== */
.pcshop-hero {
  overflow: hidden;
  background: #1a1a2e;
  margin-bottom: 24px;
}

.pcshop-hero-layout {
  display: flex;
  min-height: 400px;
}

.pcshop-hero-sidebar {
  width: 240px;
  background: rgba(0, 0, 0, 0.85);
  flex-shrink: 0;
  z-index: 10;
}

.pcshop-hero-sidebar-title {
  padding: 14px 16px;
  color: var(--pcshop-white);
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
}

.pcshop-hero-sidebar-list {
  padding: 8px 0;
}

.pcshop-hero-sidebar-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #ddd;
  font-size: 13px;
  transition: var(--pcshop-transition);
}

.pcshop-hero-sidebar-list a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--pcshop-white);
}

.pcshop-hero-sidebar .cat-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pcshop-hero-sidebar .cat-icon svg {
  width: 18px;
  height: 18px;
}

.pcshop-hero-sidebar .cat-arrow {
  margin-left: auto;
  font-size: 10px;
  opacity: 0.5;
}

.pcshop-hero-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.pcshop-hero-slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.pcshop-hero-slide {
  min-width: 100%;
  height: auto;
  min-height: 420px;
  display: flex;
  align-items: stretch;
  position: relative;
}

.pcshop-hero-slide::after {
  display: none;
}

.pcshop-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 60px;
  color: var(--pcshop-white);
  max-width: 500px;
}

.pcshop-hero-content h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.pcshop-hero-content p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.pcshop-hero-badge {
  display: inline-block;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.pcshop-hero-content .btn-hero {
  display: inline-block;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  padding: 12px 32px;
  border-radius: var(--pcshop-radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--pcshop-transition);
}

.pcshop-hero-content .btn-hero:hover {
  background: var(--pcshop-primary-dark);
  color: var(--pcshop-white);
}

.pcshop-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: var(--pcshop-transition);
}

.pcshop-carousel-btn:hover {
  background: var(--pcshop-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pcshop-carousel-btn.prev {
  left: 16px;
}

.pcshop-carousel-btn.next {
  right: 16px;
}

.pcshop-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.pcshop-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--pcshop-transition);
  border: none;
}

.pcshop-carousel-dot.active {
  background: var(--pcshop-white);
  width: 20px;
  border-radius: 4px;
}

/* ========================================
   7. SECTION TITLES
   ======================================== */
.pcshop-section {
  margin-bottom: 24px;
}

.pcshop-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 2px solid var(--pcshop-primary);
  margin-bottom: 16px;
}

.pcshop-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pcshop-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcshop-section-title .icon {
  color: var(--pcshop-primary);
  font-size: 24px;
}

.pcshop-section-link {
  color: var(--pcshop-primary);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pcshop-section-link:hover {
  text-decoration: underline;
}

/* ========================================
   8. FLASH DEALS
   ======================================== */
.pcshop-flash-deals {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--pcshop-shadow);
}

.pcshop-flash-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pcshop-flash-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pcshop-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcshop-flash-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--pcshop-gray-dark);
}

.pcshop-flash-countdown .time-block {
  background: var(--pcshop-dark);
  color: var(--pcshop-white);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 12px;
  min-width: 24px;
  text-align: center;
}

.pcshop-flash-countdown .separator {
  color: var(--pcshop-dark);
  font-weight: 700;
}

.pcshop-flash-link {
  margin-left: auto;
  color: var(--pcshop-primary);
  font-size: 13px;
}

.pcshop-flash-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pcshop-flash-ended {
  color: var(--pcshop-gray-dark);
  font-weight: 600;
}

/* Flash Deals Page */
.pcshop-flash-page {
  padding: 40px 0;
  min-height: 60vh;
}

.pcshop-flash-page-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.pcshop-flash-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--pcshop-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcshop-flash-page .pcshop-flash-countdown {
  font-size: 14px;
}

.pcshop-flash-page .pcshop-flash-countdown .time-block {
  font-size: 14px;
  padding: 4px 8px;
}

.pcshop-flash-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pcshop-flash-expired,
.pcshop-flash-empty {
  text-align: center;
  padding: 80px 20px;
}

.pcshop-flash-expired h1,
.pcshop-flash-empty h2 {
  font-size: 24px;
  color: var(--pcshop-dark);
  margin: 20px 0 10px;
}

.pcshop-flash-expired p,
.pcshop-flash-empty p {
  color: var(--pcshop-gray-dark);
  margin-bottom: 24px;
}

/* ========================================
   9. PRODUCT CARD
   ======================================== */
.pcshop-product-card {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius);
  overflow: hidden;
  transition: var(--pcshop-transition);
  position: relative;
  border: 1px solid transparent;
}

.pcshop-product-card:hover {
  box-shadow: var(--pcshop-shadow-hover);
  border-color: var(--pcshop-border);
  transform: translateY(-2px);
}

.pcshop-product-card .product-thumb {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #fafafa;
}

.pcshop-product-card .product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}

.pcshop-product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.pcshop-product-card .product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.pcshop-product-card .badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.pcshop-product-card .badge-sale {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
}

.pcshop-product-card .badge-new {
  background: var(--pcshop-success);
  color: var(--pcshop-white);
}

.pcshop-product-card .badge-hot {
  background: var(--pcshop-secondary);
  color: var(--pcshop-white);
}

.pcshop-product-card .product-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--pcshop-transition);
  z-index: 2;
}

.pcshop-product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.pcshop-product-card .action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pcshop-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--pcshop-transition);
}

.pcshop-product-card .action-btn:hover {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
}

.pcshop-product-card .product-info {
  padding: 12px;
}

.pcshop-product-card .product-title {
  font-size: 13px;
  color: var(--pcshop-dark);
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}

.pcshop-product-card .product-title a {
  color: inherit;
}

.pcshop-product-card .product-title a:hover {
  color: var(--pcshop-primary);
}

.pcshop-product-card .product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pcshop-product-card .price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--pcshop-primary);
}

.pcshop-product-card .price-original {
  font-size: 12px;
  color: var(--pcshop-gray);
  text-decoration: line-through;
}

.pcshop-product-card .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--pcshop-gray);
}

.pcshop-product-card .stars {
  color: var(--pcshop-yellow);
  font-size: 12px;
}

.pcshop-product-card .product-sold {
  color: var(--pcshop-gray);
}

.pcshop-product-card .product-shipping {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--pcshop-success);
}

/* ========================================
   SHOP PAGE FIXES
   ======================================== */

/* Product card image - remove padding that distorts image */
.pcshop-product-card .product-thumb img {
  padding: 0;
  object-fit: contain;
}

/* WooCommerce loop title override */
.woocommerce-loop-product__title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--pcshop-dark) !important;
  margin-bottom: 8px !important;
  height: 36px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.4 !important;
}

/* Product card add to cart button alignment */
.pcshop-product-card .product-actions-inline {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 4px;
}

.pcshop-product-card .product-actions-inline .button,
.pcshop-product-card .product-actions-inline .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  border-radius: var(--pcshop-radius);
  text-decoration: none;
  transition: var(--pcshop-transition);
  width: 100%;
  box-sizing: border-box;
}

.pcshop-product-card .product-actions-inline .button:hover,
.pcshop-product-card .product-actions-inline .added_to_cart:hover {
  background: var(--pcshop-primary-dark);
  color: var(--pcshop-white);
}

/* Product meta row alignment */
.pcshop-product-card .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--pcshop-gray);
  margin-top: 4px;
}

/* Star rating alignment */
.pcshop-product-card .stars {
  color: var(--pcshop-yellow);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ========================================
   10. CATEGORY GRID
   ======================================== */
.pcshop-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.pcshop-category-card {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius);
  padding: 20px 12px;
  text-align: center;
  transition: var(--pcshop-transition);
  border: 1px solid transparent;
}

.pcshop-category-card:hover {
  box-shadow: var(--pcshop-shadow-hover);
  border-color: var(--pcshop-primary);
  transform: translateY(-2px);
}

.pcshop-category-card .cat-icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.pcshop-category-card .cat-name {
  font-size: 13px;
  color: var(--pcshop-dark);
  font-weight: 500;
}

/* ========================================
   11. PRODUCTS GRID
   ======================================== */
.pcshop-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* ========================================
   12. FEATURES SECTION
   ======================================== */
.pcshop-features {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--pcshop-shadow);
}

.pcshop-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pcshop-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pcshop-feature-item .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff1f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.pcshop-feature-item .feature-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
}

.pcshop-feature-item .feature-text p {
  font-size: 12px;
  color: var(--pcshop-gray);
}

/* ========================================
   13. NEED HELP
   ======================================== */
.pcshop-need-help {
  background: linear-gradient(135deg, var(--pcshop-primary) 0%, var(--pcshop-primary-dark) 100%);
  border-radius: var(--pcshop-radius-lg);
  padding: 48px;
  margin-bottom: 24px;
}

.pcshop-need-help__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.pcshop-need-help__content h3 {
  color: var(--pcshop-white);
  font-size: 26px;
  margin-bottom: 8px;
}

.pcshop-need-help__content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.pcshop-need-help__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.pcshop-need-help__actions .pcshop-btn--primary {
  background: var(--pcshop-white);
  color: var(--pcshop-primary);
}

.pcshop-need-help__actions .pcshop-btn--primary:hover {
  background: var(--pcshop-light);
}

.pcshop-need-help__actions .pcshop-btn--outline {
  background: transparent;
  color: var(--pcshop-white);
  border: 2px solid var(--pcshop-white);
}

.pcshop-need-help__actions .pcshop-btn--outline:hover {
  background: var(--pcshop-white);
  color: var(--pcshop-primary);
}

/* ========================================
   12b. SEARCH RESULTS PAGE
   ======================================== */
.pcshop-search-results {
  padding: 40px 0 60px;
  background: var(--pcshop-light);
  min-height: 60vh;
}

.pcshop-search-header {
  text-align: center;
  margin-bottom: 36px;
}

.pcshop-search-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin: 0 0 8px;
}

.pcshop-search-title span {
  color: var(--pcshop-primary);
}

.pcshop-search-count {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.pcshop-search-section {
  margin-bottom: 40px;
}

.pcshop-search-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eee;
}

.pcshop-search-section-count {
  background: var(--pcshop-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 4px;
}

.pcshop-search-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pcshop-search-product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}

.pcshop-search-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: transparent;
}

.pcshop-search-product-img {
  position: relative;
  aspect-ratio: 1;
  background: #f8f8f8;
  overflow: hidden;
}

.pcshop-search-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s;
}

.pcshop-search-product:hover .pcshop-search-product-img img {
  transform: scale(1.05);
}

.pcshop-search-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pcshop-primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.pcshop-search-product-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pcshop-search-product-brand {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--pcshop-primary);
  letter-spacing: 0.5px;
}

.pcshop-search-product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcshop-search-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--pcshop-primary);
  margin-top: 4px;
}

.pcshop-search-product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.pcshop-search-product-rating .star-rating {
  color: #f5a623;
}

.pcshop-search-product-cat {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}

.pcshop-search-pages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pcshop-search-page {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}

.pcshop-search-page:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border-color: transparent;
}

.pcshop-search-page-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}

.pcshop-search-page-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcshop-search-page-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pcshop-search-page-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcshop-search-page-excerpt {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcshop-search-empty {
  text-align: center;
  padding: 60px 20px;
}

.pcshop-search-empty svg {
  margin-bottom: 16px;
}

.pcshop-search-empty h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin: 0 0 8px;
}

.pcshop-search-empty p {
  color: #888;
  margin: 0 0 24px;
}

@media (max-width: 1024px) {
  .pcshop-search-products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .pcshop-search-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcshop-search-pages { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pcshop-search-products { grid-template-columns: 1fr; }
  .pcshop-search-page { flex-direction: column; }
  .pcshop-search-page-img { width: 100%; height: 120px; }
}

/* ========================================
   13a. LIVE SEARCH
   ======================================== */
.pcshop-search {
  position: relative;
}

.pcshop-live-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  max-height: 420px;
  overflow-y: auto;
  z-index: 9999;
  margin-top: 4px;
}

.pcshop-live-dropdown.active {
  display: block;
}

.pcshop-live-results {
  padding: 8px;
}

.pcshop-live-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.pcshop-live-item:hover {
  background: #f8f8f8;
}

.pcshop-live-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.pcshop-live-thumb--page {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.pcshop-live-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pcshop-live-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcshop-live-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.pcshop-live-badge {
  background: #fff5f5;
  color: var(--pcshop-primary);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
}

.pcshop-live-badge--page {
  background: #f0f7ff;
  color: #1a73e8;
}

.pcshop-live-rating {
  color: #f5a623;
}

.pcshop-live-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--pcshop-primary);
}

.pcshop-live-desc {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcshop-live-empty {
  padding: 24px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

@media (max-width: 768px) {
  .pcshop-live-dropdown {
    position: fixed;
    top: 60px;
    left: 16px;
    right: 16px;
    max-height: 60vh;
  }
}

/* ========================================
   13b. 404 PAGE
   ======================================== */
.pcshop-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.pcshop-404-inner {
  max-width: 900px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Floating Particles */
.pcshop-404-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pcshop-404-particles .particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--pcshop-primary);
  border-radius: 50%;
  opacity: 0.15;
  animation: pcshop-float 6s ease-in-out infinite;
}

.pcshop-404-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; width: 12px; height: 12px; }
.pcshop-404-particles .particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; width: 6px; height: 6px; }
.pcshop-404-particles .particle:nth-child(3) { top: 80%; left: 30%; animation-delay: 2s; width: 10px; height: 10px; }
.pcshop-404-particles .particle:nth-child(4) { top: 10%; left: 70%; animation-delay: 3s; width: 8px; height: 8px; }
.pcshop-404-particles .particle:nth-child(5) { top: 50%; left: 50%; animation-delay: 4s; width: 14px; height: 14px; }

@keyframes pcshop-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.3; }
}

/* Glitch 404 Number */
.pcshop-404-code {
  position: relative;
  margin-bottom: 10px;
}

.pcshop-404-code span {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  color: var(--pcshop-primary);
  line-height: 1;
  text-shadow:
    4px 4px 0 rgba(255, 71, 71, 0.1),
    8px 8px 0 rgba(255, 71, 71, 0.05);
  animation: pcshop-glitch 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes pcshop-glitch {
  0%, 100% { transform: translate(0); }
  2% { transform: translate(-2px, 1px); }
  4% { transform: translate(2px, -1px); }
  6% { transform: translate(0); }
  50% { transform: translate(0); }
  52% { transform: translate(1px, 2px); }
  54% { transform: translate(-1px, -1px); }
  56% { transform: translate(0); }
}

/* Illustration */
.pcshop-404-illustration {
  margin: 0 auto 20px;
  width: 140px;
  height: 140px;
  animation: pcshop-bob 3s ease-in-out infinite;
}

.pcshop-404-illustration svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

@keyframes pcshop-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Title & Description */
.pcshop-404-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--pcshop-dark);
  margin: 0 0 10px;
}

.pcshop-404-desc {
  font-size: 16px;
  color: #666;
  margin: 0 0 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Search Bar */
.pcshop-404-search {
  max-width: 460px;
  margin: 0 auto 30px;
}

.pcshop-404-search form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pcshop-404-search form:focus-within {
  border-color: var(--pcshop-primary);
  box-shadow: 0 0 0 4px rgba(255, 71, 71, 0.1);
}

.pcshop-404-search-icon {
  margin-left: 16px;
  color: #999;
  flex-shrink: 0;
}

.pcshop-404-search input {
  flex: 1;
  border: none;
  padding: 14px 12px;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: var(--pcshop-dark);
}

.pcshop-404-search input::placeholder {
  color: #aaa;
}

.pcshop-404-search-btn {
  background: var(--pcshop-primary);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.pcshop-404-search-btn:hover {
  background: #e63e3e;
}

/* Action Buttons */
.pcshop-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}

.pcshop-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.pcshop-404-btn--primary {
  background: var(--pcshop-primary);
  color: #fff;
}

.pcshop-404-btn--primary:hover {
  background: #e63e3e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 71, 0.3);
}

.pcshop-404-btn--outline {
  background: #fff;
  color: var(--pcshop-dark);
  border: 2px solid #e9ecef;
}

.pcshop-404-btn--outline:hover {
  border-color: var(--pcshop-primary);
  color: var(--pcshop-primary);
  transform: translateY(-2px);
}

/* Categories Section */
.pcshop-404-categories {
  border-top: 1px solid #e0e0e0;
  padding-top: 40px;
}

.pcshop-404-cat-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin: 0 0 24px;
  position: relative;
}

.pcshop-404-cat-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--pcshop-primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Categories Grid */
.pcshop-404-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pcshop-404-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.pcshop-404-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pcshop-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.pcshop-404-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.pcshop-404-cat-card:hover::before {
  transform: scaleX(1);
}

.pcshop-404-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f5, #ffe8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pcshop-primary);
  transition: all 0.3s;
}

.pcshop-404-cat-card:hover .pcshop-404-cat-icon {
  background: var(--pcshop-primary);
  color: #fff;
  transform: scale(1.05);
}

.pcshop-404-cat-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.pcshop-404-cat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  transition: color 0.3s;
}

.pcshop-404-cat-card:hover .pcshop-404-cat-name {
  color: var(--pcshop-primary);
}

.pcshop-404-cat-count {
  font-size: 12px;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .pcshop-404-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pcshop-404-actions {
    flex-direction: column;
    align-items: center;
  }

  .pcshop-404-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .pcshop-404 {
    padding: 40px 16px;
    min-height: auto;
  }

  .pcshop-404-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pcshop-404-cat-card {
    padding: 18px 12px;
  }

  .pcshop-404-cat-icon {
    width: 48px;
    height: 48px;
  }

  .pcshop-404-search form {
    flex-wrap: wrap;
  }

  .pcshop-404-search-btn {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   14. FOOTER
   ======================================== */
.site-footer {
  background: #1a1a2e;
  color: #8a8a9a;
  padding: 0;
}

/* Footer Top */
.pcshop-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand Column */
.pcshop-footer-brand .pcshop-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pcshop-white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pcshop-footer-brand .pcshop-footer-logo svg {
  color: var(--pcshop-primary);
  width: 26px;
  height: 26px;
}

.pcshop-footer-desc {
  color: #8a8a9a;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pcshop-footer-social {
  display: flex;
  gap: 8px;
}

.pcshop-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  color: #8a8a9a;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--pcshop-transition);
}

.pcshop-footer-social a:hover {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border-color: var(--pcshop-primary);
  transform: translateY(-2px);
}

/* Footer Columns */
.pcshop-footer-column h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pcshop-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pcshop-footer-column ul li {
  margin-bottom: 8px;
}

.pcshop-footer-column ul li a {
  color: #8a8a9a;
  font-size: 13px;
  transition: var(--pcshop-transition);
  display: inline-block;
}

.pcshop-footer-column ul li a:hover {
  color: var(--pcshop-white);
}

/* Newsletter */
.pcshop-footer-newsletter-desc {
  color: #8a8a9a;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.pcshop-footer-newsletter {
  display: flex;
  gap: 0;
}

.pcshop-footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: var(--pcshop-radius) 0 0 var(--pcshop-radius);
  font-size: 13px;
  background: rgba(255,255,255,0.03);
  color: var(--pcshop-white);
  outline: none;
  transition: var(--pcshop-transition);
}

.pcshop-footer-newsletter input::placeholder {
  color: #5a5a6a;
}

.pcshop-footer-newsletter input:focus {
  border-color: var(--pcshop-primary);
}

.pcshop-footer-newsletter button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  padding: 10px;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  border-radius: 0 var(--pcshop-radius) var(--pcshop-radius) 0;
  cursor: pointer;
  transition: var(--pcshop-transition);
}

.pcshop-footer-newsletter button:hover {
  background: var(--pcshop-primary-dark);
}

.pcshop-footer-newsletter button svg {
  flex-shrink: 0;
}

/* Contact Info */
.pcshop-footer-contact {
  margin-top: 20px;
}

.pcshop-footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a8a9a;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.pcshop-footer-contact p svg {
  color: var(--pcshop-primary);
  flex-shrink: 0;
}

.pcshop-footer-contact p a,
.pcshop-footer-contact p span {
  color: #8a8a9a;
  transition: var(--pcshop-transition);
}

.pcshop-footer-contact p a:hover {
  color: var(--pcshop-white);
}

/* Footer Bottom */
.pcshop-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.pcshop-footer-bottom p {
  color: #5a5a6a;
  font-size: 12px;
  margin: 0;
}

.pcshop-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5a5a6a;
}

.pcshop-footer-bottom-links a {
  color: #6a6a7a;
  transition: var(--pcshop-transition);
}

.pcshop-footer-bottom-links a:hover {
  color: var(--pcshop-white);
}

.pcshop-footer-bottom-sep {
  color: #3a3a4a;
}

/* ========================================
   15. BACK TO TOP
   ======================================== */
.pcshop-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pcshop-white);
  border: 1px solid var(--pcshop-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: var(--pcshop-transition);
  z-index: 999;
}

.pcshop-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.pcshop-back-to-top:hover {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border-color: var(--pcshop-primary);
}

/* ========================================
   16. SIDEBAR WIDGETS
   ======================================== */
.pcshop-sidebar-widget {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--pcshop-shadow);
}

.pcshop-sidebar-widget h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pcshop-border);
}

/* ========================================
   17. PAGINATION
   ======================================== */
.pcshop-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.pcshop-pagination a,
.pcshop-pagination span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pcshop-radius);
  font-size: 13px;
  border: 1px solid var(--pcshop-border);
  background: var(--pcshop-white);
  color: var(--pcshop-dark);
}

.pcshop-pagination a:hover,
.pcshop-pagination .current {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border-color: var(--pcshop-primary);
}

/* ========================================
   18. SHOP PAGE
   ======================================== */
.pcshop-shop-page {
  padding: 20px 0 60px;
}

.pcshop-shop-header {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--pcshop-shadow);
}

.pcshop-shop-header__title {
  font-size: 26px;
  font-weight: 700;
}

.pcshop-shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.pcshop-shop-layout--sidebar {
  grid-template-columns: 240px 1fr;
}

.pcshop-shop-main {
  min-width: 0;
}

.pcshop-shop-sidebar {
  min-width: 240px;
  flex-shrink: 0;
}

/* --- Category navigation sidebar --- */
.pcshop-shop-cat-nav {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
  overflow: hidden;
  position: sticky;
  top: 140px;
}

.pcshop-shop-cat-nav__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pcshop-dark);
  background: var(--pcshop-light);
  border-bottom: 2px solid var(--pcshop-primary);
}

.pcshop-shop-cat-nav__title svg {
  color: var(--pcshop-primary);
}

.pcshop-shop-cat-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.pcshop-shop-cat-item {
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-shop-cat-item:last-child {
  border-bottom: none;
}

.pcshop-shop-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--pcshop-dark);
  text-decoration: none;
  transition: var(--pcshop-transition);
  border-left: 3px solid transparent;
}

.pcshop-shop-cat-link:hover {
  background: #fff1f0;
  color: var(--pcshop-primary);
}

.pcshop-shop-cat-link.active,
.pcshop-shop-cat-item--active .pcshop-shop-cat-link {
  background: #fff1f0;
  color: var(--pcshop-primary);
  font-weight: 600;
  border-left-color: var(--pcshop-primary);
}

.pcshop-shop-cat-count {
  background: var(--pcshop-light);
  color: var(--pcshop-gray-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 24px;
  text-align: center;
}

.pcshop-shop-cat-link.active .pcshop-shop-cat-count {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
}

/* --- Shop banner header --- */
.pcshop-shop-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
  padding: 36px 0;
  margin-bottom: 24px;
}

.pcshop-shop-banner .pcshop-breadcrumb {
  margin-bottom: 12px;
}

.pcshop-shop-banner .pcshop-breadcrumb,
.pcshop-shop-banner .pcshop-breadcrumb a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.pcshop-shop-banner .pcshop-breadcrumb a:hover {
  color: var(--pcshop-white) !important;
}

.pcshop-shop-banner__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--pcshop-white);
  margin-bottom: 6px;
}

.pcshop-shop-banner__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
}

/* --- Shop empty state --- */
.pcshop-shop-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
}

.pcshop-shop-empty svg {
  color: var(--pcshop-gray-light);
  margin-bottom: 16px;
}

.pcshop-shop-empty h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin-bottom: 8px;
}

.pcshop-shop-empty p {
  font-size: 14px;
  color: var(--pcshop-gray);
  margin-bottom: 20px;
}

.pcshop-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius);
  box-shadow: var(--pcshop-shadow);
}

.pcshop-shop-toolbar__count {
  font-size: 13px;
  color: var(--pcshop-gray-dark);
}

.pcshop-shop-toolbar__ordering select {
  padding: 6px 12px;
  border: 1px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius);
  font-size: 13px;
  background: var(--pcshop-white);
  cursor: pointer;
}

.pcshop-shop-pagination {
  margin-top: 30px;
}

/* ========================================
   19. CART SIDEBAR
   ======================================== */
.pcshop-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--pcshop-transition);
}

.pcshop-cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pcshop-cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: var(--pcshop-white);
  z-index: 2001;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pcshop-cart-sidebar.active {
  right: 0;
}

.pcshop-cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-cart-sidebar-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.pcshop-cart-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcshop-cart-page {
  padding: 20px 0 60px;
}

.pcshop-cart-page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

.pcshop-breadcrumb {
  margin-bottom: 16px;
  font-size: 13px;
}

.pcshop-breadcrumb a {
  color: var(--pcshop-gray-dark);
}

.pcshop-breadcrumb a:hover {
  color: var(--pcshop-primary);
}

.pcshop-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.pcshop-cart-items {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
  overflow: hidden;
}

.pcshop-cart-items .shop_table {
  width: 100%;
  border-collapse: collapse;
}

.pcshop-cart-items .shop_table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  background: var(--pcshop-light);
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-cart-items .shop_table td {
  padding: 16px;
  border-bottom: 1px solid var(--pcshop-border);
  vertical-align: middle;
}

.pcshop-cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.pcshop-cart-product-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #fafafa;
  border-radius: var(--pcshop-radius);
  padding: 4px;
  flex-shrink: 0;
}

.pcshop-cart-product-info {
  flex: 1;
  min-width: 0;
}

.pcshop-cart-product-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.pcshop-cart-product-name:hover {
  color: var(--pcshop-primary);
}

.pcshop-cart-product-meta {
  font-size: 12px;
  color: var(--pcshop-gray);
}

.pcshop-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius);
  overflow: hidden;
}

.pcshop-qty-btn {
  width: 36px;
  height: 40px;
  border: none;
  background: var(--pcshop-light);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--pcshop-dark);
  transition: var(--pcshop-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcshop-qty-btn:hover {
  background: var(--pcshop-gray-light);
}

.pcshop-qty-input {
  width: 48px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 600;
  height: 40px;
  -moz-appearance: textfield;
}

.pcshop-qty-input::-webkit-outer-spin-button,
.pcshop-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pcshop-cart-product-subtotal {
  font-size: 15px;
  font-weight: 700;
  color: var(--pcshop-primary);
  white-space: nowrap;
}

.pcshop-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fef2f2;
  color: var(--pcshop-primary);
  cursor: pointer;
  transition: var(--pcshop-transition);
  flex-shrink: 0;
}

.pcshop-remove-btn:hover {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
}

.pcshop-cart-coupon-row {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--pcshop-border);
}

.pcshop-coupon-form {
  display: flex;
  gap: 8px;
  flex: 1;
}

.pcshop-coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius);
  font-size: 14px;
}

.pcshop-coupon-input:focus {
  outline: none;
  border-color: var(--pcshop-primary);
}

.pcshop-coupon-btn {
  padding: 10px 20px;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  border-radius: var(--pcshop-radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pcshop-coupon-btn:hover {
  background: var(--pcshop-primary-dark);
}

.pcshop-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--pcshop-border);
}

.pcshop-cart-totals {
  position: sticky;
  top: 90px;
}

.pcshop-cart-totals-inner {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  padding: 24px;
  box-shadow: var(--pcshop-shadow);
}

.pcshop-cart-totals-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.pcshop-cart-totals-row .amount {
  font-weight: 600;
}

.pcshop-cart-totals-row.total {
  border-top: 2px solid var(--pcshop-dark);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
}

.pcshop-cart-totals-row.total .amount {
  color: var(--pcshop-primary);
  font-weight: 800;
}

.pcshop-checkout-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  border-radius: var(--pcshop-radius-lg);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 71, 71, 0.3);
  transition: var(--pcshop-transition);
  margin-top: 16px;
}

.pcshop-checkout-btn:hover {
  background: var(--pcshop-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 71, 71, 0.4);
}

.pcshop-continue-shopping {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--pcshop-primary);
}

.pcshop-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
}

.pcshop-empty-state__icon {
  color: var(--pcshop-gray-light);
  margin-bottom: 20px;
}

.pcshop-empty-state h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--pcshop-dark);
}

.pcshop-empty-state p {
  color: var(--pcshop-gray);
  margin-bottom: 24px;
}

/* ========================================
   21. CHECKOUT
   ======================================== */
.pcshop-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}

.pcshop-checkout-form > .woocommerce-notices-wrapper,
.pcshop-checkout-form > .woocommerce-info,
.pcshop-checkout-form > .woocommerce-error,
.pcshop-checkout-form > .woocommerce-message {
  grid-column: 1 / -1;
}

.pcshop-checkout-left {
  min-width: 0;
}

.pcshop-checkout-section {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  overflow: hidden;
}

.pcshop-checkout-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafbfc;
}

.pcshop-checkout-section-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pcshop-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pcshop-checkout-section-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin: 0;
}

.pcshop-checkout-section-body {
  padding: 24px;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
  display: none;
}

.woocommerce-checkout .form-row {
  margin-bottom: 18px;
}

.woocommerce-checkout .form-row label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
  line-height: 1.4;
}

.woocommerce-checkout .form-row label .required {
  color: var(--pcshop-primary);
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea {
  width: 100% !important;
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  color: var(--pcshop-dark);
  background: var(--pcshop-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  line-height: 1.5;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--pcshop-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.08);
}

.woocommerce-checkout .form-row select {
  width: 100% !important;
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  color: var(--pcshop-dark);
  background: var(--pcshop-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.woocommerce-checkout .form-row .select2-container--default .select2-selection--single {
  height: 42px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
}

.woocommerce-checkout .form-row .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
  padding-left: 14px;
  font-size: 14px;
}

.woocommerce-checkout .form-row .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 10px;
}

.woocommerce-checkout .form-row .select2-container--open .select2-selection--single {
  border-color: var(--pcshop-primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.08);
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row {
  grid-column: span 1;
}

.woocommerce-billing-fields__field-wrapper .form-row.form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row.form-row-wide {
  grid-column: 1 / -1;
}

#ship-to-different-address {
  margin-bottom: 0;
}

#ship-to-different-address label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  cursor: pointer;
}

#ship-to-different-address input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pcshop-primary);
}

.woocommerce-account-fields .form-row.create-account {
  display: flex;
  align-items: center;
  gap: 10px;
}

#order_comments {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  min-height: 90px;
  resize: vertical;
  transition: border-color 0.2s;
  font-family: inherit;
}

#order_comments:focus {
  border-color: var(--pcshop-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.08);
}

.pcshop-checkout-right {
  position: relative;
}

.pcshop-order-summary {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.pcshop-order-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: var(--pcshop-dark);
  color: #fff;
}

.pcshop-order-summary-header .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.pcshop-order-summary-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  flex: 1;
}

.pcshop-order-count {
  background: var(--pcshop-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.pcshop-order-items {
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
}

.pcshop-order-items::-webkit-scrollbar {
  width: 4px;
}

.pcshop-order-items::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 4px;
}

.pcshop-order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid #f3f4f6;
}

.pcshop-order-item:last-child {
  border-bottom: none;
}

.pcshop-order-item-image {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f8f8;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcshop-order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcshop-order-item-qty {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--pcshop-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

.pcshop-order-item-info {
  flex: 1;
  min-width: 0;
}

.pcshop-order-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcshop-order-item-info .variation {
  font-size: 12px;
  color: var(--pcshop-gray);
  margin-top: 2px;
}

.pcshop-order-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--pcshop-dark);
  white-space: nowrap;
}

.pcshop-order-coupon {
  padding: 0 24px;
  border-bottom: 1px solid #f3f4f6;
}

.pcshop-coupon-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 14px;
  color: var(--pcshop-gray-dark);
  cursor: default;
}

.pcshop-coupon-toggle .dashicons-tag {
  color: var(--pcshop-primary);
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 18px;
}

.pcshop-coupon-expand-btn {
  background: none;
  border: none;
  color: var(--pcshop-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin-left: 4px;
  transition: color 0.2s;
}

.pcshop-coupon-expand-btn:hover {
  color: var(--pcshop-primary-dark);
}

.pcshop-coupon-expand-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  transition: transform 0.2s;
}

.pcshop-coupon-form-wrap {
  padding-bottom: 14px;
}

.pcshop-coupon-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcshop-coupon-input-group {
  display: flex;
  gap: 0;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pcshop-coupon-input-group:focus-within {
  border-color: var(--pcshop-primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.08);
}

.pcshop-coupon-input {
  flex: 1;
  padding: 11px 16px !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  min-width: 0;
  background: #fafafa;
}

.pcshop-coupon-input:focus {
  background: var(--pcshop-white);
}

.pcshop-coupon-apply-btn {
  padding: 0 20px;
  background: var(--pcshop-primary);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}

.pcshop-coupon-apply-btn:hover {
  background: var(--pcshop-primary-dark);
}

.pcshop-coupon-apply-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
}

.pcshop-coupon-form .coupon-error,
.woocommerce-error {
  grid-column: 1 / -1;
}

.pcshop-order-totals {
  padding: 16px 24px;
}

.pcshop-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--pcshop-gray-dark);
}

.pcshop-total-row .amount,
.pcshop-total-row span:last-child {
  font-weight: 600;
  color: var(--pcshop-dark);
}

.pcshop-total-discount {
  color: #059669;
}

.pcshop-total-discount span:last-child {
  color: #059669;
  font-weight: 700;
}

.pcshop-total-grand {
  border-top: 2px solid var(--pcshop-dark);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
}

.pcshop-total-grand span:first-child {
  color: var(--pcshop-dark);
  font-weight: 700;
}

.pcshop-total-grand span:last-child {
  color: var(--pcshop-primary);
  font-size: 20px;
  font-weight: 800;
}

.pcshop-payment-section {
  padding: 0 24px;
  border-top: 1px solid #f3f4f6;
}

.pcshop-payment-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin: 18px 0 12px;
}

.pcshop-payment-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcshop-payment-method {
  margin-bottom: 8px;
}

.pcshop-payment-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.pcshop-payment-label:hover {
  border-color: #d1d5db;
  background: #fafbfc;
}

.pcshop-payment-method.active .pcshop-payment-label,
.pcshop-payment-method:has(input:checked) .pcshop-payment-label {
  border-color: var(--pcshop-primary);
  background: #fff5f5;
}

.pcshop-payment-label input[type="radio"] {
  display: none;
}

.pcshop-payment-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.pcshop-payment-method.active .pcshop-payment-radio,
.pcshop-payment-method:has(input:checked) .pcshop-payment-radio {
  border-color: var(--pcshop-primary);
}

.pcshop-payment-method.active .pcshop-payment-radio::after,
.pcshop-payment-method:has(input:checked) .pcshop-payment-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pcshop-primary);
}

.pcshop-payment-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
}

.pcshop-payment-description {
  font-size: 12px;
  color: var(--pcshop-gray);
  padding: 0 16px 8px 44px;
  line-height: 1.4;
}

.pcshop-payment-fields {
  padding: 12px 16px 16px 44px;
}

.pcshop-payment-fields table {
  width: 100%;
  border-collapse: collapse;
}

.pcshop-payment-fields table td {
  padding: 8px 0;
}

.pcshop-payment-fields table td label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
  display: block;
}

.pcshop-payment-fields table td input.input-text {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
}

.pcshop-payment-fields table td input.input-text:focus {
  border-color: var(--pcshop-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.08);
}

.pcshop-place-order-section {
  padding: 20px 24px 24px;
}

.pcshop-place-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--pcshop-primary), #e63939);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(255, 71, 71, 0.3);
  letter-spacing: 0.3px;
}

.pcshop-place-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 71, 0.4);
}

.pcshop-place-order-btn:active {
  transform: translateY(0);
}

.pcshop-place-order-btn .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.pcshop-privacy-text {
  margin-top: 14px;
  font-size: 12px;
  color: var(--pcshop-gray);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pcshop-privacy-text .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.pcshop-checkout-form .woocommerce-notices-wrapper {
  margin-bottom: 20px;
}

.pcshop-checkout-form .woocommerce-error {
  border-radius: 10px;
}

.pcshop-checkout-login-notice {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcshop-checkout-login-notice .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.pcshop-checkout-login-notice a {
  color: var(--pcshop-primary);
  font-weight: 700;
  margin-left: 4px;
}

.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
  display: none;
}

.woocommerce-checkout #payment div.payment_box {
  display: none;
}

.woocommerce-checkout #payment #place_order {
  display: none;
}

.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  display: none;
}

#order_review_heading {
  display: none;
}

.woocommerce-checkout-review-order {
  display: none;
}

.woocommerce-form-coupon-toggle {
  display: none;
}

.woocommerce-checkout-form .checkout_coupon,
.woocommerce .woocommerce-form-coupon {
  display: none !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce .checkout_coupon {
  display: none !important;
}

.woocommerce-additional-fields h3 {
  display: none !important;
}

.woocommerce-additional-fields .form-row.notes {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.woocommerce-additional-fields .form-row.notes label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.woocommerce-additional-fields .form-row.notes textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.2s;
}

.woocommerce-additional-fields .form-row.notes textarea:focus {
  border-color: var(--pcshop-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.08);
}

.woocommerce-shipping-fields > h3 {
  display: none !important;
}

/* ========================================
   22. SINGLE PRODUCT PAGE
   ======================================== */
.pcshop-product-single {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  padding: 24px;
  box-shadow: var(--pcshop-shadow);
}

.pcshop-product-gallery {
  border-radius: var(--pcshop-radius);
  overflow: hidden;
  background: #fafafa;
  padding: 20px;
  text-align: center;
}

.pcshop-product-gallery img {
  max-height: 400px;
  margin: 0 auto;
  object-fit: contain;
}

.pcshop-pd {
  padding: 20px 0 60px;
}

.pcshop-pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pcshop-gray-dark);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pcshop-pd-breadcrumb a { color: var(--pcshop-gray-dark); }
.pcshop-pd-breadcrumb a:hover { color: var(--pcshop-primary); }
.pcshop-pd-breadcrumb .sep { color: var(--pcshop-gray-light); }
.pcshop-pd-breadcrumb .current { color: var(--pcshop-dark); font-weight: 500; }

.pcshop-pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.pcshop-pd-gallery {
  position: relative;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  overflow: hidden;
  box-shadow: var(--pcshop-shadow);
}

.pcshop-pd-main-image {
  position: relative;
  width: 100%;
  padding-top: 80%;
  background: #fafafa;
  overflow: hidden;
}
.pcshop-pd-main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s ease;
}
.pcshop-pd-main-image:hover img {
  transform: scale(1.05);
}

.pcshop-pd-badge-sale {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--pcshop-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  z-index: 3;
  letter-spacing: 0.5px;
}
.pcshop-pd-badge-featured {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--pcshop-yellow);
  color: var(--pcshop-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pcshop-pd-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}
.pcshop-pd-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #fafafa;
  padding: 4px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.pcshop-pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcshop-pd-thumb.active,
.pcshop-pd-thumb:hover {
  border-color: var(--pcshop-primary);
}

.pcshop-pd-video-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 10px 16px;
  background: var(--pcshop-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pcshop-pd-video-btn:hover { background: var(--pcshop-darker); }

.pcshop-pd-info {
  display: flex;
  flex-direction: column;
}

.pcshop-pd-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--pcshop-dark);
  line-height: 1.3;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcshop-pd-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--pcshop-gray-dark);
  flex-wrap: wrap;
}
.pcshop-pd-rating .star-rating { color: var(--pcshop-yellow); font-size: 15px; }
.pcshop-pd-sold { color: var(--pcshop-gray); }

.pcshop-pd-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  border-radius: var(--pcshop-radius-lg);
  margin-bottom: 20px;
  border: 1px solid #ffe0e0;
}
.pcshop-pd-price-current {
  font-size: 32px;
  font-weight: 800;
  color: var(--pcshop-primary);
  letter-spacing: -0.5px;
}
.pcshop-pd-price-original {
  font-size: 16px;
  color: var(--pcshop-gray);
  text-decoration: line-through;
}
.pcshop-pd-price-save {
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2px 10px;
  border-radius: 4px;
}
.pcshop-pd-currency {
  font-size: 12px;
  color: var(--pcshop-gray);
  margin-left: auto;
}

.pcshop-pd-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pcshop-gray-dark);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-pd-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.pcshop-pd-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--pcshop-light);
  border-radius: 8px;
}
.pcshop-pd-spec .spec-icon {
  flex-shrink: 0;
  color: var(--pcshop-gray-dark);
  display: flex;
}
.pcshop-pd-spec .spec-label {
  display: block;
  font-size: 11px;
  color: var(--pcshop-gray);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.pcshop-pd-spec .spec-value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
}
.pcshop-pd-spec .in-stock { color: #16a34a; }
.pcshop-pd-spec .out-of-stock { color: #ef4444; }

.pcshop-pd-cart {
  margin-bottom: 12px;
}
.pcshop-pd-cart .cart {
  display: block;
}
.pcshop-pd-cart .cart .pcshop-pd-cart-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.pcshop-pd-qty {
  display: flex;
  align-items: center;
  border: 2px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius);
  overflow: hidden;
  flex-shrink: 0;
}
.pcshop-pd-qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--pcshop-light);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--pcshop-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.pcshop-pd-qty-btn:hover { background: var(--pcshop-gray-light); }
.pcshop-pd-qty-input {
  width: 52px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--pcshop-border);
  border-right: 1px solid var(--pcshop-border);
  font-size: 16px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.pcshop-pd-qty-input::-webkit-inner-spin-button,
.pcshop-pd-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.pcshop-pd-add-to-cart {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 32px !important;
  height: 48px;
  background: linear-gradient(135deg, var(--pcshop-primary), #e63939) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--pcshop-radius) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s !important;
  box-shadow: 0 4px 14px rgba(255,71,71,0.3);
}
.pcshop-pd-add-to-cart:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255,71,71,0.4) !important;
}
.pcshop-pd-add-to-cart:active { transform: translateY(0) !important; }

.pcshop-pd-out-of-stock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
  border-radius: var(--pcshop-radius);
  font-size: 14px;
  font-weight: 600;
}

.pcshop-pd-buy-now {
  display: none;
}
.pcshop-pd-buy-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--pcshop-dark);
  color: #fff;
  border: none;
  border-radius: var(--pcshop-radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.pcshop-pd-buy-now-btn:hover {
  background: var(--pcshop-darker);
  color: #fff;
  transform: translateY(-1px);
}

/* Single product wishlist button */
.pcshop-pd-wishlist-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.pcshop-pd-wishlist-btn:hover {
  border-color: #e74c3c;
  color: #e74c3c;
  background: #fef2f2;
}
.pcshop-pd-wishlist-btn.active,
.pcshop-pd-wishlist-btn.in-wishlist {
  border-color: #e74c3c;
  color: #e74c3c;
  background: #fef2f2;
}

.pcshop-pd-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.pcshop-pd-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--pcshop-light);
  border-radius: 8px;
  text-align: center;
}
.pcshop-pd-trust-item svg { color: var(--pcshop-primary); }
.pcshop-pd-trust-item span { font-size: 11px; font-weight: 600; color: var(--pcshop-dark); }

.pcshop-pd-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--pcshop-border);
  font-size: 12px;
  color: var(--pcshop-gray-dark);
}
.pcshop-pd-meta a { color: var(--pcshop-primary); font-weight: 500; }
.pcshop-pd-meta a:hover { text-decoration: underline; }

.pcshop-pd-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pcshop-pd-video-modal.active { display: flex; }
.pcshop-pd-video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 800px;
}
.pcshop-pd-video-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}
.pcshop-pd-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--pcshop-radius-lg);
  overflow: hidden;
  background: #000;
}
.pcshop-pd-video-container iframe,
.pcshop-pd-video-container a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcshop-pd-tabs {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
  overflow: hidden;
  margin-bottom: 60px;
}

.pcshop-pd-tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--pcshop-border);
  overflow-x: auto;
}
.pcshop-pd-tab {
  padding: 16px 28px;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--pcshop-gray-dark);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}
.pcshop-pd-tab:hover { color: var(--pcshop-dark); }
.pcshop-pd-tab.active {
  color: var(--pcshop-primary);
}
.pcshop-pd-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pcshop-primary);
}

.pcshop-pd-tabs-content {
  padding: 32px;
}
.pcshop-pd-tab-panel {
  display: none;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}
.pcshop-pd-tab-panel.active { display: block; }

.pcshop-pd-additional-table {
  width: 100%;
  border-collapse: collapse;
}
.pcshop-pd-additional-table tr:nth-child(even) { background: var(--pcshop-light); }
.pcshop-pd-additional-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--pcshop-border);
}
.pcshop-pd-additional-table td:first-child {
  font-weight: 600;
  color: var(--pcshop-dark);
  width: 200px;
}

.pcshop-pd-related {
  margin-bottom: 40px;
}
.pcshop-pd-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.pcshop-pd-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--pcshop-primary);
  border-radius: 2px;
}

.pcshop-pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pcshop-pd-related-card {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius);
  overflow: hidden;
  box-shadow: var(--pcshop-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.pcshop-pd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pcshop-shadow-hover);
}
.pcshop-pd-related-img {
  position: relative;
  padding-top: 100%;
  background: #fafafa;
}
.pcshop-pd-related-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.pcshop-pd-related-info {
  padding: 12px;
}
.pcshop-pd-related-info h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--pcshop-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcshop-pd-related-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pcshop-pd-related-price .current {
  font-size: 16px;
  font-weight: 700;
  color: var(--pcshop-primary);
}
.pcshop-pd-related-price .original {
  font-size: 12px;
  color: var(--pcshop-gray);
  text-decoration: line-through;
}

/* ========================================
   23. MY ACCOUNT (WOOCOMMERCE OVERRIDES)
   ======================================== */

/* --- Layout wrapper --- */
.woocommerce-account {
  width: 100%;
}

.pcshop-myaccount-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Layout: sidebar + content --- */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-navigation {
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-content {
  flex: 1;
  min-width: 0;
  width: 100% !important;
  float: none !important;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

/* --- Navigation sidebar --- */
.woocommerce .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce .woocommerce-MyAccount-navigation ul li {
  margin: 0;
  border-bottom: 1px solid var(--pcshop-border);
}

.woocommerce .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--pcshop-dark);
  font-size: 14px;
  font-weight: 500;
  transition: var(--pcshop-transition);
}

.woocommerce .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--pcshop-light);
  color: var(--pcshop-primary);
}

/* Active state: WooCommerce uses both is-active and is-current */
.woocommerce .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce .woocommerce-MyAccount-navigation ul li.is-current a {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  font-weight: 600;
}

.woocommerce .woocommerce-MyAccount-navigation ul li.is-active a svg,
.woocommerce .woocommerce-MyAccount-navigation ul li.is-current a svg {
  color: var(--pcshop-white);
}

/* --- Content headings --- */
.woocommerce .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin-bottom: 20px;
}

.woocommerce .woocommerce-MyAccount-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 12px;
}

/* --- Content paragraphs --- */
.woocommerce .woocommerce-MyAccount-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pcshop-gray-dark);
}

/* --- WooCommerce default tables in My Account --- */
.woocommerce .woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--pcshop-dark);
}

.woocommerce .woocommerce-MyAccount-content table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pcshop-gray);
  border-bottom: 2px solid var(--pcshop-border);
  background: var(--pcshop-light);
}

.woocommerce .woocommerce-MyAccount-content table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--pcshop-border);
  color: var(--pcshop-dark);
  vertical-align: middle;
}

.woocommerce .woocommerce-MyAccount-content table tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce .woocommerce-MyAccount-content table tbody tr:hover {
  background: var(--pcshop-light);
}

/* Table links */
.woocommerce .woocommerce-MyAccount-content table a {
  color: var(--pcshop-primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--pcshop-transition);
}

.woocommerce .woocommerce-MyAccount-content table a:hover {
  color: var(--pcshop-primary-dark);
  text-decoration: underline;
}

/* --- WooCommerce notices inside My Account --- */
.woocommerce .woocommerce-MyAccount-content .woocommerce-message,
.woocommerce .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce .woocommerce-MyAccount-content .woocommerce-error,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Message--info,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Message--error,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Message--success {
  border-radius: var(--pcshop-radius) !important;
  padding: 14px 44px 14px 20px !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
  border: none !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-Message--info,
.woocommerce .woocommerce-MyAccount-content .woocommerce-info {
  background: #eef6ff !important;
  border: 1px solid #b3d8ff !important;
  color: #1a73e8 !important;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-Message--error,
.woocommerce .woocommerce-MyAccount-content .woocommerce-error {
  background: #fff2f0 !important;
  border: 1px solid #ffccc7 !important;
  color: #cf1322 !important;
  align-items: flex-start !important;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-Message--success,
.woocommerce .woocommerce-MyAccount-content .woocommerce-message {
  background: #f6ffed !important;
  border: 1px solid #b7eb8f !important;
  color: #389e0d !important;
}

/* --- WooCommerce default forms in My Account --- */
.woocommerce .woocommerce-MyAccount-content .woocommerce-form-login,
.woocommerce .woocommerce-MyAccount-content .woocommerce-form-register,
.woocommerce .woocommerce-MyAccount-content .woocommerce-form-edit-account,
.woocommerce .woocommerce-MyAccount-content .woocommerce-form-edit-address {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  padding: 24px;
  border: 1px solid var(--pcshop-border);
  box-shadow: var(--pcshop-shadow);
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-form-row {
  margin-bottom: 16px;
}

.woocommerce .woocommerce-MyAccount-content label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 6px;
}

.woocommerce .woocommerce-MyAccount-content input[type="text"],
.woocommerce .woocommerce-MyAccount-content input[type="email"],
.woocommerce .woocommerce-MyAccount-content input[type="password"],
.woocommerce .woocommerce-MyAccount-content input[type="tel"],
.woocommerce .woocommerce-MyAccount-content input[type="number"],
.woocommerce .woocommerce-MyAccount-content select,
.woocommerce .woocommerce-MyAccount-content textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--pcshop-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--pcshop-font);
  color: var(--pcshop-dark);
  background: var(--pcshop-white);
  transition: var(--pcshop-transition);
}

.woocommerce .woocommerce-MyAccount-content input:focus,
.woocommerce .woocommerce-MyAccount-content select:focus,
.woocommerce .woocommerce-MyAccount-content textarea:focus {
  outline: none;
  border-color: var(--pcshop-primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.1);
  color: var(--pcshop-dark);
}

/* --- WooCommerce buttons in My Account --- */
.woocommerce .woocommerce-MyAccount-content .button,
.woocommerce .woocommerce-MyAccount-content button[type="submit"],
.woocommerce .woocommerce-MyAccount-content .woocommerce-button,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  border-radius: var(--pcshop-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pcshop-transition);
  text-decoration: none;
  line-height: 1.4;
}

.woocommerce .woocommerce-MyAccount-content .button:hover,
.woocommerce .woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce .woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Button:hover {
  background: var(--pcshop-primary-dark);
  color: var(--pcshop-white);
  transform: translateY(-1px);
  box-shadow: var(--pcshop-shadow-hover);
}

/* --- Order actions --- */
.woocommerce .woocommerce-MyAccount-content .order-actions .button {
  padding: 6px 14px;
  font-size: 12px;
}

/* --- Pagination in My Account --- */
.woocommerce .woocommerce-MyAccount-content .woocommerce-pagination {
  margin-top: 20px;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-pagination ul li a,
.woocommerce .woocommerce-MyAccount-content .woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--pcshop-radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
  background: var(--pcshop-white);
  border: 1px solid var(--pcshop-border);
  text-decoration: none;
  transition: var(--pcshop-transition);
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-pagination ul li a:hover {
  border-color: var(--pcshop-primary);
  color: var(--pcshop-primary);
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-pagination ul li span.current {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border-color: var(--pcshop-primary);
}

/* --- Responsive: My Account --- */
@media (max-width: 960px) {
  .woocommerce .woocommerce-MyAccount-content {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .pcshop-myaccount-wrap {
    flex-direction: column;
    gap: 0;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce .woocommerce-MyAccount-navigation {
    width: 100%;
    margin-bottom: 20px;
  }

  .woocommerce .woocommerce-MyAccount-navigation ul {
    display: none;
  }

  .woocommerce .woocommerce-MyAccount-navigation ul li {
    border-bottom: none;
  }

  .woocommerce .woocommerce-MyAccount-navigation ul li a {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: var(--pcshop-radius);
  }

  .woocommerce .woocommerce-MyAccount-content table thead th,
  .woocommerce .woocommerce-MyAccount-content table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ========================================
   24. AUTH (LOGIN / REGISTER)
   ======================================== */

/* --- Two-column layout wrapper --- */
.pcshop-auth-page {
  display: flex;
  min-height: 100vh;
  background: var(--pcshop-white);
}

/* --- Left brand panel --- */
.pcshop-auth-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #1a1a2e 100%);
  color: var(--pcshop-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pcshop-auth-left::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 71, 71, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.pcshop-auth-left > * {
  position: relative;
  z-index: 1;
}

.pcshop-auth-left-brand {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pcshop-auth-left-brand svg {
  color: var(--pcshop-white);
}

.pcshop-auth-left h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--pcshop-white);
}

.pcshop-auth-left p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 40px;
}

/* --- Features list on left panel --- */
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--pcshop-transition);
}

.auth-feature:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}

.auth-feature .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 71, 71, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-feature .icon svg {
  color: var(--pcshop-primary-light);
}

.auth-feature span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Right form panel --- */
.pcshop-auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--pcshop-white);
}

.pcshop-auth-form-wrapper {
  width: 100%;
  max-width: 420px;
}

/* --- Logo at top of form --- */
.pcshop-auth-logo {
  margin-bottom: 32px;
  text-align: center;
}

.pcshop-auth-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.pcshop-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pcshop-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pcshop-white);
  flex-shrink: 0;
}

.pcshop-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--pcshop-dark);
  letter-spacing: -0.5px;
}

.pcshop-logo-text span {
  color: var(--pcshop-primary);
}

/* --- Tab buttons --- */
.pcshop-auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--pcshop-light);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}

.pcshop-auth-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--pcshop-font);
  cursor: pointer;
  color: var(--pcshop-gray-dark);
  transition: var(--pcshop-transition);
}

.pcshop-auth-tab:hover {
  color: var(--pcshop-dark);
}

.pcshop-auth-tab.active {
  background: var(--pcshop-white);
  color: var(--pcshop-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pcshop-auth-tab svg {
  flex-shrink: 0;
}

/* --- Tab content panels --- */
.pcshop-auth-tab-content {
  display: none;
}

.pcshop-auth-tab-content.active {
  display: block;
}

/* --- Subtitle text --- */
.pcshop-auth-subtitle {
  font-size: 14px;
  color: var(--pcshop-gray);
  margin-bottom: 24px;
  text-align: center;
}

/* --- Form group wrapper --- */
.pcshop-input-group {
  margin-bottom: 18px;
}

.pcshop-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 7px;
}

.pcshop-input-group label .required {
  color: var(--pcshop-primary);
}

/* --- Actual input field --- */
.pcshop-form-input {
   width: 100%;
   padding: 12px 14px;
   border: 1.5px solid var(--pcshop-border);
   border-radius: 10px;
   font-size: 14px;
   font-family: var(--pcshop-font);
   color: var(--pcshop-dark);
   background: var(--pcshop-white);
   transition: var(--pcshop-transition);
   box-sizing: border-box;
}

/* Icon-wrapped inputs (admin/settings) */
.pcshop-form-input-icon .pcshop-form-input {
   padding-left: 36px;
}

/* Icon wrapper positioning */
.pcshop-form-input-icon {
   position: relative;
}

.pcshop-form-input-icon .dashicons {
   position: absolute;
   left: 12px;
   top: 50%;
   transform: translateY(-50%);
   color: var(--pcshop-gray);
   pointer-events: none;
   font-size: 18px;
   width: 18px;
   height: 18px;
   transition: color 0.2s;
}

.pcshop-form-input-icon:focus-within .dashicons {
   color: var(--pcshop-primary);
}

.pcshop-form-input::placeholder {
  color: var(--pcshop-gray);
}

.pcshop-form-input:focus {
  outline: none;
  border-color: var(--pcshop-primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.1);
}

/* --- Two-column row for first/last name --- */
.pcshop-form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* --- Submit button --- */
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--pcshop-font);
  cursor: pointer;
  transition: var(--pcshop-transition);
  margin-top: 4px;
}

.auth-btn:hover {
  background: var(--pcshop-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 71, 71, 0.35);
}

.auth-btn:active {
  transform: translateY(0);
}

/* --- Terms text --- */
.pcshop-terms-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--pcshop-gray);
  text-align: center;
  margin: 16px 0;
}

.pcshop-terms-text a {
  color: var(--pcshop-primary);
  text-decoration: none;
  font-weight: 500;
}

.pcshop-terms-text a:hover {
  text-decoration: underline;
}

/* --- Bottom text --- */
.pcshop-auth-footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--pcshop-border);
  font-size: 14px;
  color: var(--pcshop-gray);
}

.pcshop-auth-footer a {
  color: var(--pcshop-primary);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

.pcshop-auth-footer a:hover {
  text-decoration: underline;
}

/* --- Remember me row --- */
.pcshop-auth-form .form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pcshop-auth-form .remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pcshop-gray-dark);
  cursor: pointer;
}

.pcshop-auth-form .remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--pcshop-primary);
  cursor: pointer;
}

.pcshop-auth-form .forgot-password {
  font-size: 13px;
  color: var(--pcshop-primary);
  text-decoration: none;
  font-weight: 500;
}

.pcshop-auth-form .forgot-password:hover {
  text-decoration: underline;
}

/* ========================================
   25. MY ACCOUNT DASHBOARD
   ======================================== */
.pcshop-account-dashboard {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* --- Welcome banner --- */
.pcshop-dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
  border-radius: var(--pcshop-radius-lg);
  color: var(--pcshop-white);
  gap: 20px;
}

.pcshop-dashboard-welcome__content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pcshop-dashboard-welcome__content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.pcshop-dashboard-welcome__avatar {
  flex-shrink: 0;
}

.pcshop-dashboard-welcome__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

/* --- Dashboard cards grid --- */
.pcshop-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.pcshop-dashboard-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
  transition: var(--pcshop-transition);
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

.pcshop-dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pcshop-shadow-hover);
  border-color: var(--pcshop-border);
}

/* --- Card icon --- */
.pcshop-dashboard-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pcshop-dashboard-card--red .pcshop-dashboard-card__icon {
  background: #fff1f0;
  color: var(--pcshop-primary);
}

.pcshop-dashboard-card--blue .pcshop-dashboard-card__icon {
  background: #eef6ff;
  color: #3b82f6;
}

.pcshop-dashboard-card--green .pcshop-dashboard-card__icon {
  background: #f6ffed;
  color: #22c55e;
}

.pcshop-dashboard-card--purple .pcshop-dashboard-card__icon {
  background: #f5f0ff;
  color: #8b5cf6;
}

.pcshop-dashboard-card--gray .pcshop-dashboard-card__icon {
  background: var(--pcshop-light);
  color: var(--pcshop-gray-dark);
}

/* --- Card body --- */
.pcshop-dashboard-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.pcshop-dashboard-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
}

.pcshop-dashboard-card__desc {
  font-size: 12px;
  color: var(--pcshop-gray);
}

/* --- Card arrow --- */
.pcshop-dashboard-card__arrow {
  flex-shrink: 0;
  color: var(--pcshop-gray-light);
  transition: var(--pcshop-transition);
}

.pcshop-dashboard-card:hover .pcshop-dashboard-card__arrow {
  color: var(--pcshop-primary);
  transform: translateX(3px);
}

/* --- Dashboard section (Recent Orders) --- */
.pcshop-dashboard-section {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
  overflow: hidden;
}

.pcshop-dashboard-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-dashboard-section__header h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin: 0;
}

.pcshop-dashboard-section__header h4 svg {
  color: var(--pcshop-primary);
}

.pcshop-dashboard-section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-primary);
  text-decoration: none;
  transition: var(--pcshop-transition);
}

.pcshop-dashboard-section__link:hover {
  color: var(--pcshop-primary-dark);
}

.pcshop-dashboard-section__link:hover svg {
  transform: translateX(3px);
}

.pcshop-dashboard-section__link svg {
  transition: transform 0.2s;
}

/* --- Orders table --- */
.pcshop-dashboard-table-wrap {
  overflow-x: auto;
}

.pcshop-dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.pcshop-dashboard-table thead th {
  padding: 12px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pcshop-gray);
  border-bottom: 1px solid var(--pcshop-border);
  background: var(--pcshop-light);
}

.pcshop-dashboard-table tbody td {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--pcshop-dark);
  border-bottom: 1px solid var(--pcshop-border);
  vertical-align: middle;
}

.pcshop-dashboard-table tbody tr:last-child td {
  border-bottom: none;
}

.pcshop-dashboard-table tbody tr:hover {
  background: var(--pcshop-light);
}

.pcshop-dashboard-table__link {
  font-weight: 600;
  color: var(--pcshop-primary);
  text-decoration: none;
}

.pcshop-dashboard-table__link:hover {
  text-decoration: underline;
}

.pcshop-dashboard-table__total {
  font-weight: 600;
  color: var(--pcshop-dark);
}

/* --- Status badges --- */
.pcshop-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.pcshop-status-badge--completed {
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.pcshop-status-badge--processing {
  background: #eef6ff;
  color: #1a73e8;
  border: 1px solid #b3d8ff;
}

.pcshop-status-badge--on-hold {
  background: #fffbe6;
  color: #d48806;
  border: 1px solid #ffe58f;
}

.pcshop-status-badge--cancelled {
  background: #f5f5f5;
  color: #8c8c8c;
  border: 1px solid #d9d9d9;
}

.pcshop-status-badge--refunded {
  background: #f9f0ff;
  color: #722ed1;
  border: 1px solid #d3adf7;
}

.pcshop-status-badge--failed {
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ffccc7;
}

/* --- Small outline button (View order) --- */
.pcshop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--pcshop-radius);
  cursor: pointer;
  transition: var(--pcshop-transition);
  text-decoration: none;
  border: none;
}

.pcshop-btn--sm {
  padding: 6px 14px;
  font-size: 12px;
}

.pcshop-btn--outline {
  background: transparent;
  border: 1.5px solid var(--pcshop-border);
  color: var(--pcshop-dark);
}

.pcshop-btn--outline:hover {
  border-color: var(--pcshop-primary);
  color: var(--pcshop-primary);
  background: #fff1f0;
}

/* --- Responsive: Auth page --- */
@media (max-width: 960px) {
  .pcshop-auth-page {
    flex-direction: column;
  }
  .pcshop-auth-left {
    flex: none;
    padding: 40px 32px;
    width: 100%;
  }
  .pcshop-auth-right {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .pcshop-form-row-half {
    grid-template-columns: 1fr;
  }
  .pcshop-auth-left h2 {
    font-size: 22px;
  }
}

/* --- Responsive: Dashboard --- */
@media (max-width: 768px) {
  .pcshop-dashboard-welcome {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .pcshop-dashboard-cards {
    grid-template-columns: 1fr;
  }
  .pcshop-dashboard-table-wrap {
    margin: 0 -12px;
  }
  .pcshop-dashboard-table thead th,
  .pcshop-dashboard-table tbody td {
    padding: 10px 14px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .woocommerce-account {
    flex-direction: column;
    gap: 0;
  }
  .woocommerce .woocommerce-MyAccount-navigation {
    width: 100%;
    margin-bottom: 20px;
  }
  .woocommerce .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .woocommerce .woocommerce-MyAccount-navigation ul li {
    border-bottom: none;
  }
  .woocommerce .woocommerce-MyAccount-navigation ul li a {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ========================================
   26. PRODUCT CATEGORY PAGE
   ======================================== */
.pcshop-category-page {
  padding-bottom: 60px;
}

.pcshop-cat-banner {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
  display: flex;
  align-items: flex-end;
}

.pcshop-cat-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 100%);
  display: flex;
  align-items: flex-end;
}

.pcshop-cat-banner__overlay .container {
  padding: 40px 0;
}

.pcshop-cat-banner--no-image {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
}

.pcshop-cat-banner--no-image .container {
  padding: 40px 0;
}

.pcshop-breadcrumb--light,
.pcshop-breadcrumb--light a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.pcshop-breadcrumb--light a:hover {
  color: var(--pcshop-white) !important;
}

.pcshop-cat-banner__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--pcshop-white);
  margin: 8px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pcshop-cat-banner__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 600px;
}

.pcshop-cat-content {
  padding-top: 24px;
}

/* --- Subcategory grid --- */
.pcshop-subcats {
  margin-bottom: 30px;
}

.pcshop-subcats__heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pcshop-primary);
  display: inline-block;
}

.pcshop-subcats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.pcshop-subcat-card {
  display: flex;
  flex-direction: column;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--pcshop-border);
  transition: var(--pcshop-transition);
}

.pcshop-subcat-card:hover {
  border-color: var(--pcshop-primary);
  box-shadow: var(--pcshop-shadow-hover);
  transform: translateY(-3px);
}

.pcshop-subcat-card__image {
  position: relative;
  padding-top: 80%;
  background: var(--pcshop-light);
  overflow: hidden;
}

.pcshop-subcat-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.pcshop-subcat-card:hover .pcshop-subcat-card__image img {
  transform: scale(1.05);
}

.pcshop-subcat-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pcshop-gray-light);
}

.pcshop-subcat-card__body {
  padding: 12px 14px;
  text-align: center;
}

.pcshop-subcat-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcshop-subcat-card__count {
  font-size: 11px;
  color: var(--pcshop-gray);
}

/* ========================================
   27. PC BUILDER
   ======================================== */
.pcshop-builder-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.pcshop-builder-component {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--pcshop-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.pcshop-builder-component .comp-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff1f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pcshop-builder-component .comp-info {
  flex: 1;
}

.pcshop-builder-component .comp-name {
  font-size: 13px;
  color: var(--pcshop-gray);
}

.pcshop-builder-component .comp-selected {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
}

.pcshop-builder-component .comp-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-primary);
}

.pcshop-builder-component .comp-remove {
  color: var(--pcshop-gray);
  cursor: pointer;
  background: none;
  border: none;
}

.pcshop-builder-summary {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius);
  padding: 20px;
  box-shadow: var(--pcshop-shadow);
  position: sticky;
  top: 90px;
}

.pcshop-builder-total {
  font-size: 24px;
  font-weight: 700;
  color: var(--pcshop-primary);
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--pcshop-border);
  margin-bottom: 16px;
}

.pcshop-builder-save-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border: none;
  border-radius: var(--pcshop-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
}

.pcshop-builder-add-cart-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--pcshop-dark);
  color: var(--pcshop-white);
  border: none;
  border-radius: var(--pcshop-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* ========================================
   26. THANK YOU PAGE
   ======================================== */
.pcshop-thankyou {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 0;
}

.pcshop-thankyou-success {
  text-align: center;
  padding: 40px;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
  margin-bottom: 24px;
}

.pcshop-thankyou-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--pcshop-success);
}

.pcshop-thankyou-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--pcshop-dark);
}

.pcshop-thankyou-order-number {
  font-size: 14px;
  color: var(--pcshop-gray);
}

/* ========================================
   27. WOOCOMMERCE OVERRIDES
   ======================================== */
.woocommerce ul.products li.product {
  margin: 0;
  padding: 0;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 0;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--pcshop-border);
  background: var(--pcshop-white);
  color: var(--pcshop-dark);
  font-size: 13px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--pcshop-primary);
  color: #fff;
  border-color: var(--pcshop-primary);
}

.woocommerce .woocommerce-result-count {
  font-size: 13px;
  color: var(--pcshop-gray);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea.input-text,
.woocommerce form .form-row select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  transition: border 0.2s;
  box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--pcshop-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 71, 71, 0.12);
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.woocommerce form .form-row .required {
  color: var(--pcshop-primary);
  font-weight: 700;
}

/* Notice icons handled by woocommerce.css */

.woocommerce-error li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-cart table.shop_table {
  border-collapse: collapse;
}

.woocommerce-cart table.shop_table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid #f0f0f0;
}

.woocommerce-cart table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  vertical-align: middle;
}

.woocommerce .quantity .qty {
  width: 50px !important;
  height: 34px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  background: #fff;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, opacity 0.2s;
}

.woocommerce-cart-form .coupon {
  display: flex;
  gap: 8px;
}

.woocommerce-cart-form .coupon input.input-text {
  width: 200px !important;
  flex-shrink: 0;
}

.woocommerce-cart-form .coupon button.button {
  white-space: nowrap;
}

.woocommerce table.shop_table {
  border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.pcshop-breadcrumb nav {
  margin-bottom: 16px;
}

.pcshop-breadcrumb .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--pcshop-gray-dark);
}

.pcshop-breadcrumb .woocommerce-breadcrumb a {
  color: var(--pcshop-gray-dark);
}

.pcshop-breadcrumb .woocommerce-breadcrumb a:hover {
  color: var(--pcshop-primary);
}

.pcshop-breadcrumb .woocommerce-breadcrumb .separator {
  margin: 0 6px;
  color: var(--pcshop-gray);
}

/* ========================================
   28. RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
  }

  .pcshop-flash-products {
    grid-template-columns: repeat(4, 1fr);
  }

  .pcshop-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pcshop-shop-layout,
  .pcshop-shop-layout--sidebar {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 960px) {
  .pcshop-checkout-grid {
    grid-template-columns: 1fr !important;
  }

  .pcshop-order-summary {
    position: static;
    order: -1;
  }

  .pcshop-checkout-section-body {
    padding: 20px;
  }

  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .pcshop-shop-layout,
  .pcshop-shop-layout--sidebar {
    grid-template-columns: 1fr;
  }

  .pcshop-shop-sidebar {
    order: 1;
  }

  .pcshop-shop-cat-nav {
    position: static;
  }

  .pcshop-builder-grid {
    grid-template-columns: 1fr;
  }

  .pcshop-pd-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pcshop-pd-main-image { padding-top: 75%; }
  .pcshop-pd-related-grid { grid-template-columns: repeat(3, 1fr); }

  .pcshop-hero-sidebar {
    display: none;
  }

  .pcshop-footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .pcshop-categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .pcshop-cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pcshop-header-main {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
  }

  .pcshop-logo a {
    font-size: 18px;
  }

  .pcshop-search {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }

  .pcshop-search-form {
    height: 36px;
  }

  .pcshop-search-form input[type="search"] {
    font-size: 13px;
    padding: 0 10px;
  }

  .pcshop-search-form button {
    padding: 0 14px;
    font-size: 14px;
  }

  .pcshop-header-actions {
    gap: 12px;
  }

  .pcshop-header-action .pcshop-action-label {
    display: none;
  }

  .pcshop-header-action .icon {
    font-size: 20px;
  }

  .pcshop-top-bar .container {
    flex-direction: column;
    height: auto;
    gap: 4px;
    padding: 6px 0;
  }

  .pcshop-top-links {
    gap: 10px;
    font-size: 11px;
  }

  .pcshop-nav .container {
    position: relative;
  }

.pcshop-nav-fade-left,
.pcshop-nav-fade-right,
.pcshop-nav-fade-top,
.pcshop-nav-fade-bottom {
  display: none;
}

  .pcshop-nav-links.active {
    display: flex;
  }

  .pcshop-nav-links a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pcshop-border);
  }

  .pcshop-hero-layout {
    min-height: 280px;
  }

  .pcshop-hero-sidebar {
    display: none;
  }

  .pcshop-hero-slide {
    min-height: auto;
  }

  .pcshop-hero-content {
    padding: 20px 30px;
  }

  .pcshop-hero-content h2 {
    font-size: 20px;
  }

  .pcshop-hero-content p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .pcshop-hero-content .btn-hero {
    padding: 10px 20px;
    font-size: 13px;
  }

  .pcshop-categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .pcshop-category-card {
    padding: 12px 6px;
  }

  .pcshop-category-card .cat-icon {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .pcshop-category-card .cat-name {
    font-size: 10px;
  }

  .pcshop-flash-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .pcshop-flash-title {
    font-size: 16px;
  }

  .pcshop-flash-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pcshop-product-card .product-info {
    padding: 8px;
  }

  .pcshop-product-card .product-title {
    font-size: 12px;
    height: 32px;
    margin-bottom: 4px;
  }

  .pcshop-product-card .price-current {
    font-size: 14px;
  }

  .pcshop-product-card .price-original {
    font-size: 10px;
  }

  .pcshop-product-card .product-meta {
    font-size: 10px;
  }

  .pcshop-product-card .product-shipping {
    font-size: 10px;
  }

  .pcshop-product-card .product-actions {
    opacity: 1;
    transform: translateX(0);
  }

  .pcshop-product-card .action-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .pcshop-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pcshop-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pcshop-feature-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .pcshop-feature-item .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .pcshop-need-help {
    padding: 24px 16px;
  }

  .pcshop-need-help__inner {
    flex-direction: column;
    text-align: center;
  }

  .pcshop-need-help__content h3 {
    font-size: 18px;
  }

  .pcshop-need-help__actions {
    flex-direction: column;
    width: 100%;
  }

  .pcshop-need-help__actions .pcshop-btn {
    width: 100%;
    text-align: center;
  }

  .pcshop-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .pcshop-cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .pcshop-account-wrapper {
    grid-template-columns: 1fr;
  }

  .pcshop-account-nav {
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .pcshop-cart-layout {
    grid-template-columns: 1fr !important;
  }

  .pcshop-cart-actions {
    flex-direction: column;
    gap: 12px;
  }

  .pcshop-cart-actions .pcshop-coupon-form {
    width: 100%;
  }

  .pcshop-coupon-input {
    width: 100% !important;
  }

  .pcshop-dashboard-cards {
    grid-template-columns: 1fr;
  }

  .pcshop-pd-title { font-size: 22px; }
  .pcshop-pd-price-current { font-size: 26px; }
  .pcshop-pd-specs { grid-template-columns: 1fr; }
  .pcshop-pd-tabs-nav { flex-wrap: nowrap; }
  .pcshop-pd-tab { padding: 12px 20px; font-size: 14px; }
  .pcshop-pd-tabs-content { padding: 20px; }
  .pcshop-pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pcshop-pd-cart .cart .pcshop-pd-cart-row { flex-wrap: wrap; }
  .pcshop-pd-cart-row .pcshop-pd-add-to-cart { width: 100% !important; }
  .pcshop-pd-cart-row .pcshop-pd-buy-now-btn { width: 100% !important; }
}

@media (max-width: 480px) {
  .pcshop-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pcshop-flash-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .pcshop-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pcshop-features-grid {
    grid-template-columns: 1fr;
  }

  .pcshop-hero-slide {
    min-height: auto;
  }

  .pcshop-hero-content h2 {
    font-size: 18px;
  }

  .pcshop-footer-top {
    grid-template-columns: 1fr;
  }

  .pcshop-checkout-section-header {
    padding: 16px 18px;
  }

  .pcshop-order-summary-header {
    padding: 16px 18px;
  }

  .pcshop-order-item {
    padding: 12px 18px;
  }

  .pcshop-order-totals {
    padding: 14px 18px;
  }

  .pcshop-place-order-section {
    padding: 16px 18px 20px;
  }

  .pcshop-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .pcshop-pd-grid { gap: 20px; }
  .pcshop-pd-price-box { padding: 12px 14px; }
  .pcshop-pd-price-current { font-size: 24px; }
  .pcshop-pd-trust { grid-template-columns: 1fr; }
  .pcshop-pd-related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcshop-pd-related-info { padding: 8px; }
  .pcshop-pd-related-info h3 { font-size: 12px; }
  .pcshop-pd-related-price .current { font-size: 14px; }

  .pcshop-shop-header__title {
    font-size: 22px;
  }
}

/* ========================================
   UTILITY: BUTTONS
   ======================================== */
.pcshop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--pcshop-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pcshop-transition);
  text-decoration: none;
  white-space: nowrap;
}

.pcshop-btn--primary {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
}

.pcshop-btn--primary:hover {
  background: var(--pcshop-primary-dark);
  color: var(--pcshop-white);
}

.pcshop-btn--dark {
  background: var(--pcshop-dark);
  color: var(--pcshop-white);
}

.pcshop-btn--dark:hover {
  background: var(--pcshop-darker);
  color: var(--pcshop-white);
}

.pcshop-btn--outline {
  background: var(--pcshop-white);
  color: var(--pcshop-dark);
  border: 1px solid var(--pcshop-border);
}

.pcshop-btn--outline:hover {
  border-color: var(--pcshop-primary);
  color: var(--pcshop-primary);
}

.pcshop-btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

.pcshop-btn--block {
  width: 100%;
}

.pcshop-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ========================================
   UTILITY: SPINNER & ANIMATIONS
   ======================================== */
.pcshop-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--pcshop-white);
  border-radius: 50%;
  animation: pcshop-spin 0.6s linear infinite;
}

@keyframes pcshop-spin {
  to { transform: rotate(360deg); }
}

@keyframes pcshopToastIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   UTILITY: MOBILE NAV
   ======================================== */
.pcshop-mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  align-items: center;
  justify-content: center;
}

/* ========================================
   UTILITY: WISHLIST / COMPARE
   ======================================== */
.pcshop-wishlist-btn,
.pcshop-compare-btn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pcshop-white);
  border: 1px solid var(--pcshop-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.pcshop-compare-btn {
  bottom: 140px;
}

.pcshop-wishlist-btn:hover,
.pcshop-compare-btn:hover {
  background: var(--pcshop-primary);
  color: var(--pcshop-white);
  border-color: var(--pcshop-primary);
}

/* ========================================
   UTILITY: SEARCH OVERLAY
   ======================================== */
.pcshop-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: var(--pcshop-transition);
}

.pcshop-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pcshop-search-overlay .pcshop-search-form {
  max-width: 600px;
  width: 90%;
}

.pcshop-search-overlay .pcshop-search-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--pcshop-white);
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

/* ========================================
   28. MY ACCOUNT ENDPOINTS
   ======================================== */
.pcshop-account-page {
  padding: 20px 0;
}

.pcshop-account-page__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--pcshop-primary);
}

.pcshop-account-page__title svg {
  color: var(--pcshop-primary);
}

.pcshop-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pcshop-primary);
  text-decoration: none;
  margin-top: 16px;
  font-weight: 500;
}

.pcshop-back-link:hover {
  text-decoration: underline;
}

.pcshop-account-form,
.pcshop-address-form {
  max-width: 600px;
}

.pcshop-account-form .form-group,
.pcshop-address-form .form-group {
  margin-bottom: 18px;
}

.pcshop-account-form label,
.pcshop-address-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 6px;
}

.pcshop-account-form .pcshop-form-input,
.pcshop-address-form .pcshop-form-input {
   width: 100%;
   padding: 12px 14px;
   border: 1.5px solid var(--pcshop-border);
   border-radius: 10px;
   font-size: 14px;
   font-family: var(--pcshop-font);
   transition: var(--pcshop-transition);
   background: var(--pcshop-white);
   box-sizing: border-box;
}

.pcshop-account-form .pcshop-form-input:focus,
.pcshop-address-form .pcshop-form-input:focus {
  outline: none;
  border-color: var(--pcshop-primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.1);
}

.pcshop-form-hint {
  display: block;
  font-size: 12px;
  color: var(--pcshop-gray);
  margin-top: 4px;
}

.pcshop-account-form fieldset {
  border: 1.5px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius-lg);
  padding: 20px;
  margin: 24px 0;
}

.pcshop-account-form fieldset legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--pcshop-dark);
  padding: 0 8px;
}

.pcshop-address-form__actions {
   margin-top: 20px;
   display: flex;
   justify-content: flex-end;
}

.pcshop-address-form__actions .pcshop-btn {
   display: inline-flex;
   align-items: center;
   gap: 8px;
}

/* Account form row-half alignment */
.pcshop-account-form .pcshop-form-row-half {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 14px;
}

.pcshop-account-form .form-group {
   margin-bottom: 18px;
   display: flex;
   flex-direction: column;
}

.pcshop-account-form .form-group label {
   display: block;
   font-size: 13px;
   font-weight: 600;
   color: var(--pcshop-dark);
   margin-bottom: 6px;
}

.pcshop-account-form .pcshop-form-input {
   width: 100%;
   padding: 12px 14px;
   border: 1.5px solid var(--pcshop-border);
   border-radius: 10px;
   font-size: 14px;
   font-family: var(--pcshop-font);
   color: var(--pcshop-dark);
   background: var(--pcshop-white);
   transition: var(--pcshop-transition);
   box-sizing: border-box;
}

.pcshop-account-form .pcshop-form-input:focus {
   outline: none;
   border-color: var(--pcshop-primary);
   box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.1);
}

/* Account form submit button alignment */
.pcshop-account-form .pcshop-address-form__actions {
   display: flex;
   justify-content: flex-end;
   align-items: center;
}

.pcshop-account-form .pcshop-address-form__actions .pcshop-btn {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 24px;
}

/* Edit account form fieldset alignment */
.woocommerce-form-edit-account fieldset {
   border: 1.5px solid var(--pcshop-border);
   border-radius: var(--pcshop-radius-lg);
   padding: 20px;
   margin: 24px 0;
}

.woocommerce-form-edit-account fieldset legend {
   font-size: 15px;
   font-weight: 600;
   color: var(--pcshop-dark);
   padding: 0 8px;
}

/* Orders table */
.pcshop-orders-table-wrap,
.pcshop-downloads-table-wrap {
  overflow-x: auto;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
}

.pcshop-orders-table,
.pcshop-downloads-table {
  width: 100%;
  border-collapse: collapse;
}

.pcshop-orders-table thead th,
.pcshop-downloads-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pcshop-gray);
  border-bottom: 1px solid var(--pcshop-border);
  background: var(--pcshop-light);
}

.pcshop-orders-table tbody td,
.pcshop-downloads-table tbody td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--pcshop-dark);
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-orders-table tbody tr:last-child td,
.pcshop-downloads-table tbody tr:last-child td {
  border-bottom: none;
}

.pcshop-orders-table tbody tr:hover,
.pcshop-downloads-table tbody tr:hover {
  background: var(--pcshop-light);
}

.pcshop-orders-table a {
  color: var(--pcshop-primary);
  font-weight: 600;
  text-decoration: none;
}

.pcshop-orders-table a:hover,
.pcshop-downloads-table a:hover {
  text-decoration: underline;
}

/* Payment methods list */
.pcshop-payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pcshop-payment-method-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  box-shadow: var(--pcshop-shadow);
  border: 1px solid var(--pcshop-border);
}

.pcshop-payment-method-card__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--pcshop-dark);
}

.pcshop-payment-method-card__info {
  display: flex;
  flex-direction: column;
}

.pcshop-payment-method-card__desc {
  font-size: 13px;
  color: var(--pcshop-gray);
  margin-top: 2px;
}

/* ========================================
   FOOTER RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .pcshop-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .pcshop-footer-brand {
    grid-column: 1 / -1;
  }

  .pcshop-footer-brand .pcshop-footer-desc {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .pcshop-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 28px;
  }

  .pcshop-footer-brand {
    grid-column: auto;
  }

  .pcshop-footer-brand .pcshop-footer-desc {
    max-width: none;
  }

  .pcshop-footer-payment {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0;
  }

  .pcshop-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0;
  }

  .pcshop-footer-newsletter {
    flex-direction: column;
  }

  .pcshop-footer-newsletter input {
    border-right: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--pcshop-radius);
    margin-bottom: 8px;
  }

  .pcshop-footer-newsletter button {
    width: 100%;
    border-radius: var(--pcshop-radius);
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .pcshop-footer-top {
    padding: 28px 0 24px;
    gap: 24px;
  }

  .pcshop-footer-column h4 {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .pcshop-footer-column ul li a {
    font-size: 12px;
  }

  .pcshop-footer-desc {
    font-size: 12px;
  }

  .pcshop-footer-social a {
    width: 32px;
    height: 32px;
  }

  .pcshop-footer-social a svg {
    width: 14px;
    height: 14px;
  }

  .pcshop-footer-contact p {
    font-size: 12px;
  }

  .pcshop-footer-bottom {
    align-items: flex-start;
  }

  .pcshop-footer-bottom-links {
    flex-wrap: wrap;
    gap: 4px 8px;
  }
}

/* ========================================
   WISHLIST PAGE (My Account)
   ======================================== */
.pcshop-wishlist-empty {
  text-align: center;
  padding: 60px 20px;
}
.pcshop-wishlist-empty p {
  font-size: 18px;
  color: #999;
  margin-bottom: 20px;
}
.pcshop-wishlist-empty .button {
  display: inline-block;
  background: var(--pcshop-primary);
  color: #fff;
  padding: 10px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.pcshop-wishlist-empty .button:hover {
  background: #e03e3e;
}

.pcshop-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.pcshop-wishlist-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  gap: 16px;
  padding: 16px;
  position: relative;
  transition: box-shadow 0.2s;
}
.pcshop-wishlist-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pcshop-wishlist-item-img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
}
.pcshop-wishlist-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcshop-wishlist-item-info {
  flex: 1;
  min-width: 0;
}
.pcshop-wishlist-item-info h4 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
}
.pcshop-wishlist-item-info h4 a {
  color: #222;
  text-decoration: none;
}
.pcshop-wishlist-item-info h4 a:hover {
  color: var(--pcshop-primary);
}
.pcshop-wishlist-item-price {
  margin-bottom: 10px;
  color: var(--pcshop-primary);
  font-weight: 700;
  font-size: 16px;
}
.pcshop-wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pcshop-wishlist-item-actions .button {
  background: var(--pcshop-primary);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.pcshop-wishlist-item-actions .button:hover {
  background: #e03e3e;
}
.pcshop-wishlist-item-actions .out-of-stock {
  color: #999;
  font-size: 13px;
  font-style: italic;
}
.pcshop-wishlist-remove {
  background: none;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #999;
  font-size: 14px;
  transition: all 0.2s;
}
.pcshop-wishlist-remove:hover {
  background: var(--pcshop-primary);
  border-color: var(--pcshop-primary);
  color: #fff;
}

/* Wishlist active state on product card */
.action-btn.in-wishlist {
  color: var(--pcshop-primary);
}

/* Header wishlist count badge */
.pcshop-wishlist-toggle .pcshop-wishlist-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--pcshop-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  padding: 0 3px;
}
.pcshop-wishlist-toggle .pcshop-action-icon {
  position: relative;
}

@media (max-width: 768px) {
  .pcshop-wishlist-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   28. PRODUCT REVIEWS UI
   ======================================== */
.pcshop-reviews {
  max-width: 100%;
}

.pcshop-reviews-summary {
  display: flex;
  gap: 40px;
  padding: 28px;
  background: var(--pcshop-light);
  border-radius: var(--pcshop-radius-lg);
  margin-bottom: 32px;
}

.pcshop-reviews-summary__left {
  flex-shrink: 0;
}

.pcshop-reviews-avg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pcshop-reviews-avg__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--pcshop-dark);
  line-height: 1;
}

.pcshop-reviews-avg__stars {
  display: flex;
  gap: 2px;
}

.pcshop-reviews-avg__count {
  font-size: 13px;
  color: var(--pcshop-gray);
  margin-top: 4px;
}

.pcshop-reviews-summary__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.pcshop-reviews-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcshop-reviews-bar__label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pcshop-dark);
  width: 32px;
  flex-shrink: 0;
}

.pcshop-reviews-bar__track {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.pcshop-reviews-bar__fill {
  height: 100%;
  background: var(--pcshop-primary);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.pcshop-reviews-bar__count {
  font-size: 12px;
  color: var(--pcshop-gray);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* Star icon */
.pcshop-star {
  color: #d1d5db;
  transition: color 0.15s;
}

.pcshop-star--filled,
.pcshop-star--selected {
  color: #f59e0b;
}

.pcshop-star--hover {
  color: #fbbf24;
}

/* Review Form */
.pcshop-review-form-wrap {
  background: var(--pcshop-white);
  border: 1px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.pcshop-review-form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin-bottom: 20px;
}

.pcshop-review-form__rating {
  margin-bottom: 20px;
}

.pcshop-review-form__rating label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 8px;
}

.pcshop-review-stars {
  display: flex;
  gap: 4px;
}

.pcshop-review-star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #d1d5db;
  transition: color 0.15s, transform 0.15s;
}

.pcshop-review-star:hover {
  transform: scale(1.15);
}

.pcshop-review-star.pcshop-star--selected {
  color: #f59e0b;
}

.pcshop-review-form__row {
  margin-bottom: 16px;
}

.pcshop-review-form__field {
  margin-bottom: 16px;
}

.pcshop-review-form__field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 6px;
}

.pcshop-review-form__hint {
  font-weight: 400;
  color: var(--pcshop-gray);
  font-size: 12px;
}

.pcshop-review-form__field input[type="text"],
.pcshop-review-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--pcshop-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--pcshop-font);
  color: var(--pcshop-dark);
  background: var(--pcshop-white);
  transition: var(--pcshop-transition);
  box-sizing: border-box;
}

.pcshop-review-form__field input[type="text"]:focus,
.pcshop-review-form__field textarea:focus {
  outline: none;
  border-color: var(--pcshop-primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.1);
}

/* Image Upload */
.pcshop-review-images-upload {
  display: flex;
  gap: 12px;
}

.pcshop-review-image-slot {
  position: relative;
  width: 100px;
  height: 100px;
}

.pcshop-review-image-input {
  display: none;
}

.pcshop-review-image-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--pcshop-border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--pcshop-gray);
  transition: var(--pcshop-transition);
  background: var(--pcshop-light);
}

.pcshop-review-image-label:hover {
  border-color: var(--pcshop-primary);
  color: var(--pcshop-primary);
  background: #fff1f0;
}

.pcshop-review-image-label span {
  font-size: 11px;
  font-weight: 500;
}

.pcshop-review-image-preview {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
}

.pcshop-review-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcshop-review-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pcshop-review-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
}

/* Login notice */
.pcshop-review-login-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #eef6ff;
  border: 1px solid #b3d8ff;
  border-radius: var(--pcshop-radius);
  font-size: 14px;
  color: #1a73e8;
  margin-bottom: 32px;
}

.pcshop-review-login-notice a {
  color: var(--pcshop-primary);
  font-weight: 600;
  text-decoration: none;
}

.pcshop-review-login-notice a:hover {
  text-decoration: underline;
}

/* Review Card */
.pcshop-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pcshop-review-card {
  background: var(--pcshop-white);
  border: 1px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius-lg);
  padding: 20px;
}

.pcshop-review-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.pcshop-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pcshop-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.pcshop-review-card__meta {
  flex: 1;
}

.pcshop-review-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin-bottom: 2px;
}

.pcshop-review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 4px;
}

.pcshop-review-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pcshop-review-card__date {
  font-size: 12px;
  color: var(--pcshop-gray);
  margin-left: 8px;
}

.pcshop-review-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin: 0 0 8px;
}

.pcshop-review-card__content {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 12px;
}

.pcshop-review-card__images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pcshop-review-card__img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--pcshop-border);
}

.pcshop-review-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.pcshop-review-card__img:hover img {
  transform: scale(1.05);
}

/* Empty state */
.pcshop-reviews-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--pcshop-gray);
}

.pcshop-reviews-empty svg {
  margin-bottom: 12px;
  color: var(--pcshop-gray-light);
}

.pcshop-reviews-empty p {
  font-size: 14px;
}

/* Lightbox */
.pcshop-review-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.pcshop-review-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.pcshop-review-lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.pcshop-review-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   29. REVIEW POPUP (VIEW ORDER)
   ======================================== */
.pcshop-review-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pcshop-review-popup-overlay.active {
  display: flex;
}

.pcshop-review-popup {
  background: var(--pcshop-white);
  border-radius: var(--pcshop-radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popupSlideUp 0.3s ease;
}

@keyframes popupSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pcshop-review-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pcshop-light);
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--pcshop-gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--pcshop-transition);
}

.pcshop-review-popup__close:hover {
  background: #fee2e2;
  color: var(--pcshop-primary);
}

.pcshop-review-popup__header {
  text-align: center;
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--pcshop-border);
}

.pcshop-review-popup__icon {
  margin-bottom: 12px;
}

.pcshop-review-popup__header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--pcshop-dark);
  margin: 0 0 6px;
}

.pcshop-review-popup__header p {
  font-size: 14px;
  color: var(--pcshop-gray);
  margin: 0;
}

.pcshop-review-popup__products {
  padding: 20px 24px 28px;
}

.pcshop-review-popup__product {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--pcshop-border);
  border-radius: var(--pcshop-radius);
  margin-bottom: 12px;
}

.pcshop-review-popup__product:last-child {
  margin-bottom: 0;
}

.pcshop-review-popup__product-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pcshop-light);
}

.pcshop-review-popup__product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcshop-review-popup__product-info {
  flex: 1;
  min-width: 0;
}

.pcshop-review-popup__product-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--pcshop-dark);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcshop-review-popup__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.pcshop-popup-star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #d1d5db;
  transition: color 0.15s;
}

.pcshop-popup-star:hover,
.pcshop-popup-star.pcshop-star--selected {
  color: #f59e0b;
}

.pcshop-review-popup__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcshop-popup-review-title,
.pcshop-popup-review-text {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--pcshop-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--pcshop-font);
  color: var(--pcshop-dark);
  background: var(--pcshop-white);
  box-sizing: border-box;
}

.pcshop-popup-review-title:focus,
.pcshop-popup-review-text:focus {
  outline: none;
  border-color: var(--pcshop-primary);
}

.pcshop-review-popup__images {
  display: flex;
  gap: 8px;
}

.pcshop-popup-img-label {
  width: 40px;
  height: 40px;
  border: 2px dashed var(--pcshop-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pcshop-gray);
  transition: var(--pcshop-transition);
}

.pcshop-popup-img-label:hover {
  border-color: var(--pcshop-primary);
  color: var(--pcshop-primary);
}

.pcshop-popup-img-label.uploaded {
  border-style: solid;
  border-color: #16a34a;
}

.pcshop-popup-img-label.uploading {
  opacity: 0.5;
  pointer-events: none;
}

.pcshop-popup-submit-btn {
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 13px;
}

.pcshop-review-popup__all-reviewed {
  text-align: center;
  padding: 24px;
  color: var(--pcshop-gray);
}

.pcshop-review-popup__all-reviewed p {
  margin: 8px 0 0;
  font-size: 14px;
}

/* ========================================
   30. ADD REVIEW BUTTON (ORDERS PAGE)
   ======================================== */
.pcshop-review-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff !important;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.pcshop-review-btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .pcshop-reviews-summary {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .pcshop-reviews-avg__number {
    font-size: 36px;
  }
  .pcshop-review-images-upload {
    gap: 8px;
  }
  .pcshop-review-image-slot {
    width: 80px;
    height: 80px;
  }
  .pcshop-review-popup {
    max-height: 90vh;
    margin: 10px;
  }
  .pcshop-review-popup__product {
    flex-direction: column;
  }
  .pcshop-review-popup__product-img {
    width: 100%;
    height: 120px;
  }
}

/* Message Seller Button */
.pcshop-msg-seller-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.pcshop-msg-seller-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: #fff;
}
.pcshop-msg-seller-btn svg {
  flex-shrink: 0;
}

/* Unread Badge in My Account Navigation */
.woocommerce-MyAccount-navigation .pcshop-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-left: 4px;
  vertical-align: middle;
}

/* ==================== NOTIFICATION BELL - HEADER ==================== */
.pcshop-notif-bell-wrap {
  position: relative;
  display: inline-flex;
}
.pcshop-notif-bell {
  position: relative !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
}
.pcshop-notif-bell .pcshop-action-icon {
  position: relative;
}
.pcshop-notif-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  line-height: 1;
  z-index: 2;
}
.pcshop-notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: -10px;
  width: 380px;
  max-height: 440px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 9999;
  overflow: hidden;
}
.pcshop-notif-dropdown.show {
  display: block;
  animation: pcshopNotifFadeIn 0.15s ease;
}
@keyframes pcshopNotifFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.pcshop-notif-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}
.pcshop-notif-dropdown-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.pcshop-notif-mark-all {
  background: none;
  border: none;
  font-size: 12px;
  color: #2563eb;
  cursor: pointer;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.pcshop-notif-mark-all:hover {
  background: #eff6ff;
}
.pcshop-notif-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0;
}
.pcshop-notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pcshop-notif-item:hover {
  background: #f9fafb;
}
.pcshop-notif-item.unread {
  background: #eff6ff;
}
.pcshop-notif-item.unread:hover {
  background: #dbeafe;
}
.pcshop-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.pcshop-notif-dot.info { background: #3b82f6; }
.pcshop-notif-dot.success { background: #22c55e; }
.pcshop-notif-dot.warning { background: #f59e0b; }
.pcshop-notif-dot.error { background: #ef4444; }
.pcshop-notif-content {
  flex: 1;
  min-width: 0;
}
.pcshop-notif-title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
}
.pcshop-notif-msg {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcshop-notif-time {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}
.pcshop-notif-empty {
  text-align: center;
  padding: 32px 16px;
  color: #999;
  font-size: 13px;
}
.pcshop-notif-loading {
  text-align: center;
  padding: 24px;
  color: #999;
  font-size: 13px;
}
.pcshop-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}
.pcshop-notif-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.pcshop-notif-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
}
.pcshop-notif-close:hover {
  background: #f3f4f6;
  color: #333;
}
.pcshop-notification-bell {
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
}
.woocommerce-notices-wrapper { display: none !important; }
