/*
 * Theme Name: Vikinger - BuddyPress Social Community Child
 * Theme URI: https://odindesignthemes.com/vikinger-theme/
 * Author: Odin Design Themes
 * Author URI: https://themeforest.net/user/odin_design
 * Description: PiximPlanet Update-Safe Child Theme — Intergalactic Supply Crate Storefront & Telemetry UI
 * Version: 1.2.0
 * License: https://themeforest.net/licenses/
 * License URI: https://themeforest.net/licenses/
 * Text Domain: vikingerchild
 * Template: vikinger
*/

/* ==========================================================================
   1. PIXIMPLANET DEEP-SPACE COSMIC & SUPERNOVA GOLD PALETTE OVERRIDES
      Overrides Vikinger's default neon purple (#7750f8) and lime (#40d04f)
      so the Top Header, Left Sidebar, and Storefront share one cohesive theme.
   ========================================================================== */
:root,
body {
  --pp-bg-void: #070A14;
  --pp-bg-header: #0B1020;
  --pp-bg-sidebar: #0B1020;
  --pp-bg-card: #0E1424;
  --pp-bg-card-hover: #131B30;
  --pp-border-glass: rgba(148, 163, 184, 0.16);
  --pp-border-gold: rgba(245, 158, 11, 0.45);
  --pp-gold: #F59E0B;
  --pp-gold-soft: rgba(245, 158, 11, 0.14);
  --pp-emerald: #10B981;
  --pp-sapphire: #2563EB;
  --pp-text-white: #F8FAFC;
  --pp-text-muted: #94A3B8;

  /* Vikinger Native CSS Variable Overrides */
  --color-body: #070A14 !important;
  --color-header-background: #0B1020 !important;
  --color-header-logo-background: #111932 !important;
  --color-header-text: #F8FAFC !important;
  --color-header-icon: #94A3B8 !important;
  --color-header-icon-hover: #F59E0B !important;
  --color-header-profile-settings-icon: #F8FAFC !important;
  --color-header-mobilemenu-trigger-icon: #F8FAFC !important;
  --color-header-divider: rgba(148, 163, 184, 0.16) !important;
  --color-header-input-background: #060913 !important;
  --color-header-input-placeholder: #64748B !important;

  --color-box-background: #0E1424 !important;
  --color-box-background-alt: #121A2E !important;
  --color-box-over-box-background: #121A2E !important;
  --color-box-over-box-light-background: #17213A !important;
  --color-box-highlight-background: #162038 !important;
  --color-box-hover-background: #1A2642 !important;

  --color-text: #F8FAFC !important;
  --color-text-alt: #94A3B8 !important;
  --color-text-alt-2: #64748B !important;

  --color-icon: #94A3B8 !important;
  --color-icon-highlighted: #F59E0B !important;

  --color-border: rgba(148, 163, 184, 0.16) !important;
  --color-divider: rgba(148, 163, 184, 0.14) !important;

  --color-primary: #2563EB !important;
  --color-primary-hover: #3B82F6 !important;
  --color-primary-light: #F59E0B !important;
  --color-primary-dark: #3B82F6 !important;
  --color-primary-shadow: 0 4px 16px rgba(37, 99, 235, 0.35) !important;

  --color-secondary: #1E293B !important;
  --color-secondary-hover: #334155 !important;
  --color-secondary-dark: #1E293B !important;
}

body {
  background-color: var(--pp-bg-void) !important;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 35%, rgba(245, 158, 11, 0.08) 0%, transparent 45%) !important;
}

/* ==========================================================================
   2. TOP HEADER (.header) — LOGO FIX, MENU SPACING, SEARCH & PING BUTTON
   ========================================================================== */
.header {
  background: rgba(11, 16, 32, 0.96) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pp-border-glass) !important;
  z-index: 10000 !important;
}

/* Constrain the 256x256 PNG logo so it fits cleanly inside the 80x80 header box */
.header .header-brand {
  padding-left: 16px;
  gap: 10px;
  flex-shrink: 0;
}

.header .logo {
  width: 48px !important;
  height: 48px !important;
}

.header .logo .logo-image,
.logo .logo-image {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: contain !important;
  display: block !important;
}

.header .header-brand .header-brand-text {
  font-size: 1.15rem !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  color: var(--pp-text-white) !important;
}

.header .sidemenu-trigger {
  width: 58px !important;
  flex-shrink: 0;
}

/* Keep Top Navigation Links strictly on a single line with crisp spacing */
.header .navigation > .menu-main {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.header .navigation > .menu-main > .menu-main-item > .menu-main-item-link {
  white-space: nowrap !important;
  padding: 0 16px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #E2E8F0 !important;
  transition: color 0.15s ease !important;
}

.header .navigation > .menu-main > .menu-main-item:hover > .menu-main-item-link {
  color: var(--pp-gold) !important;
}

/* Sub-menu dropdowns & Mega-Menu inside Top Header */
.header .navigation .menu-main .menu-main-item .menu-main,
.header .navigation .menu-main .menu-main-item .menu-wide {
  background-color: #0E1424 !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75) !important;
}

.header .navigation .menu-main .menu-main-item .menu-main {
  min-width: 210px !important;
  padding: 10px 0 !important;
}

.header .navigation .menu-main .menu-main-item .menu-main .menu-main-item .menu-main-item-link {
  padding: 10px 20px !important;
  font-size: 0.83rem !important;
  color: #CBD5E1 !important;
}

.header .navigation .menu-main .menu-main-item .menu-main .menu-main-item .menu-main-item-link:hover {
  color: var(--pp-gold) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Header Search Input */
.header .header-actions.search-bar {
  width: 24% !important;
  min-width: 200px;
  max-width: 310px;
  margin-right: 16px !important;
}

.pp-header-search-form {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.pp-header-search-input {
  width: 100% !important;
  height: 42px !important;
  background: rgba(6, 9, 19, 0.9) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 10px !important;
  padding: 0 40px 0 14px !important;
  color: var(--pp-text-white) !important;
  font-size: 12.5px !important;
  transition: border-color 0.2s ease !important;
}

.pp-header-search-input:focus {
  border-color: var(--pp-gold) !important;
  outline: none !important;
}

.pp-header-search-btn {
  position: absolute;
  right: 10px;
  background: transparent !important;
  border: none !important;
  padding: 4px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-header-search-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--pp-text-muted);
}

/* Header Live Ping Button */
.pp-header-ping-wrap {
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.pp-live-dot,
.pp-beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pp-emerald);
  box-shadow: 0 0 10px var(--pp-emerald);
  display: inline-block;
  flex-shrink: 0;
}

.pp-ping-btn {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: var(--pp-text-white) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}

.pp-ping-btn:hover {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: var(--pp-emerald) !important;
  transform: translateY(-1px);
}

.pp-ping-btn small {
  color: var(--pp-emerald);
  font-weight: 800;
}

/* Header Login / Register Button Refinement */
.header .header-actions .login-button {
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%) !important;
  color: #04060E !important;
  font-weight: 800 !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25) !important;
}

.header .header-actions .register-button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--pp-border-glass) !important;
  color: var(--pp-text-white) !important;
  height: 40px !important;
  line-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
}

/* ==========================================================================
   3. LEFT SIDEBAR (.navigation-widget) — CLEAN ICON DOCK & DRAWER FIX
   ========================================================================== */
.navigation-widget {
  background: var(--pp-bg-sidebar) !important;
  border-right: 1px solid var(--pp-border-glass) !important;
}

/* Hide empty BuddyPress octagon avatar & blank cover box in Left Sidebar */
#navigation-widget-small > .user-avatar,
#navigation-widget > .navigation-widget-cover,
#navigation-widget > .user-short-description,
#navigation-widget > .badge-list,
#navigation-widget > .no-results-text,
#navigation-widget > .user-stats {
  display: none !important;
}

#navigation-widget-small.navigation-widget-closed {
  padding-top: 16px !important;
}

#navigation-widget-small.navigation-widget-closed .menu {
  margin-top: 8px !important;
}

#navigation-widget .menu {
  margin-top: 24px !important;
}

/* Left Sidebar Active & Hover Item Styling */
.navigation-widget .menu .menu-item.active > .menu-item-link {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
}

.navigation-widget .menu .menu-item.active > .menu-item-link .menu-item-link-icon {
  fill: #FFFFFF !important;
}

.navigation-widget .menu .menu-item:not(.active) > .menu-item-link:hover .menu-item-link-icon {
  fill: var(--pp-gold) !important;
}

/* ==========================================================================
   4. APPROVED "SUPPLY CRATE" PRODUCT CARDS (CONCEPT 5 STYLE)
   ========================================================================== */
.woocommerce ul.products li.product {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45) !important;
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  border-color: var(--pp-border-gold) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65), 0 0 24px rgba(245, 158, 11, 0.12) !important;
}

.pp-crate-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--pp-border-glass);
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.pp-crate-label {
  color: var(--pp-text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.pp-crate-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-crate-save-badge {
  background: var(--pp-gold);
  color: #04060E;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
}

.pp-crate-sku {
  color: var(--pp-text-muted);
  font-size: 10.5px;
}

.pp-crate-specs {
  color: var(--pp-text-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  margin: 8px 0 12px 0 !important;
}

.pp-crate-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.14);
  font-family: monospace;
  font-size: 11px;
}

.pp-crate-warranty-tag {
  color: #60A5FA;
  font-weight: 600;
}

.pp-crate-beacon {
  color: var(--pp-emerald);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.woocommerce ul.products li.product span.onsale {
  display: none !important;
}

.woocommerce ul.products li.product .vikinger-wc-product-info {
  padding: 16px 18px 12px 18px !important;
}

.woocommerce ul.products li.product .vikinger-woocommerce-product-actions {
  position: static !important;
  height: auto !important;
  display: block !important;
  padding: 14px 18px 18px 18px !important;
  margin-top: auto !important;
  overflow: visible !important;
}

.woocommerce ul.products li.product .vikinger-woocommerce-product-actions .button,
.woocommerce ul.products li.product .vikinger-woocommerce-product-actions .added_to_cart {
  width: 100% !important;
  height: 48px !important;
  line-height: normal !important;
  text-align: center !important;
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%) !important;
  color: #04060E !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 0 16px !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.28) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.woocommerce ul.products li.product .vikinger-woocommerce-product-actions .button:hover {
  background: #F59E0B !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5) !important;
}

.pp-single-trust-panel {
  margin-top: 14px;
  padding: 14px;
  background: rgba(14, 20, 36, 0.9);
  border: 1px solid var(--pp-border-glass);
  border-radius: 10px;
}

.pp-single-ping-btn {
  width: 100%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--pp-text-white);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pp-single-warranty-note {
  margin: 8px 0 0 0 !important;
  font-size: 12px !important;
  color: var(--pp-text-muted) !important;
}

.woocommerce ul.products li.product .price {
  color: var(--pp-text-white) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin-top: 6px !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--pp-text-muted) !important;
  font-size: 13px !important;
  opacity: 0.65 !important;
  margin-right: 6px !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--pp-gold) !important;
}

/* ==========================================================================
   5. LIVE PING SELLER MODAL
   ========================================================================== */
.pp-ping-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 17, 0.82);
  backdrop-filter: blur(10px);
  z-index: 100005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pp-ping-modal-card {
  background: #0E1424;
  border: 1px solid var(--pp-border-gold);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 24px;
  color: var(--pp-text-white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.pp-ping-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pp-ping-close {
  background: transparent;
  border: none;
  color: var(--pp-text-muted);
  font-size: 16px;
  cursor: pointer;
}

.pp-ping-modal-card h3 {
  color: var(--pp-text-white);
  font-size: 20px;
  margin: 0 0 10px 0;
}

.pp-ping-modal-card p {
  color: var(--pp-text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.pp-ping-status-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--pp-text-white);
  margin-bottom: 18px;
}

.pp-ping-send-btn {
  width: 100%;
  background: var(--pp-gold);
  color: #04060E;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .pp-ping-btn small {
    display: none;
  }
}

/* ==========================================================================
   6. SINGLE PRODUCT RESPONSIVE CONTAINER & FIXED SIDEBAR CLEARANCE
   ========================================================================== */
@media screen and (min-width: 961px) {
  body.single-product .content-grid {
    transform: none !important;
    transition: none !important;
    width: calc(100% - 120px) !important;
    max-width: 1480px !important;
    margin-left: max(96px, calc((100% - 1480px) / 2 + 48px)) !important;
    margin-right: auto !important;
    padding-top: 20px !important;
    padding-bottom: 60px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
}
@media screen and (max-width: 960px) {
  body.single-product .content-grid {
    transform: none !important;
    width: calc(100% - 28px) !important;
    margin: 0 auto !important;
    padding: 16px 0 40px 0 !important;
  }
}
.single-product .section-banner {
  display: none !important;
}
.single-product .vikinger-wc-content {
  margin-top: 0 !important;
}


/* ==========================================================================
   7. SECTION BANNER & MARKETPLACE CATEGORY BOXES (HTML PARITY)
   ========================================================================== */
.section-banner {
  background: linear-gradient(135deg, #090e1d 0%, #111a33 100%) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 140px !important;
  padding: 40px 48px 0 180px !important;
}

.section-banner::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 55% !important;
  height: 100% !important;
  background: radial-gradient(circle at 80% 40%, rgba(37, 99, 235, 0.22) 0%, transparent 70%) !important;
  pointer-events: none !important;
}

.section-banner::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40% !important;
  height: 100% !important;
  background: radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 60%) !important;
  pointer-events: none !important;
}

.section-banner .section-banner-icon {
  position: absolute !important;
  bottom: 0 !important;
  left: 28px !important;
  z-index: 2 !important;
}

.section-banner .section-banner-title {
  color: #ffffff !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-weight: 900 !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  position: relative !important;
  z-index: 2 !important;
  letter-spacing: -0.02em !important;
}

.section-banner .section-banner-text {
  color: #94a3b8 !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  margin-top: 8px !important;
  position: relative !important;
  z-index: 2 !important;
}

@media screen and (max-width: 960px) {
  .section-banner {
    padding: 20px 20px 20px 110px !important;
    min-height: 100px !important;
  }
  .section-banner .section-banner-icon {
    width: 80px !important;
    left: 12px !important;
  }
  .section-banner .section-banner-title {
    font-size: 20px !important;
  }
  .section-banner .section-banner-text {
    font-size: 13px !important;
  }
}

/* Category Grid & Cards */
.pp-market-categories {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-top: 20px !important;
}

@media screen and (max-width: 1200px) {
  .pp-market-categories {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 600px) {
  .pp-market-categories {
    grid-template-columns: 1fr !important;
  }
}

.product-category-box {
  display: block !important;
  height: 142px !important;
  padding: 24px 0 0 24px !important;
  border-radius: 14px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
  transition: transform .25s ease-in-out, box-shadow .25s ease-in-out !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.product-category-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

.product-category-box.category-all {
  background: url('img/marketplace/category/01.png') no-repeat 100% 0, linear-gradient(90deg, #4F46E5, #06B6D4) !important;
}

.product-category-box.category-featured {
  background: url('img/marketplace/category/02.png') no-repeat 100% 0, linear-gradient(90deg, #1E40AF, #3B82F6) !important;
}

.product-category-box.category-digital {
  background: url('img/marketplace/category/03.png') no-repeat 100% 0, linear-gradient(90deg, #0F766E, #10B981) !important;
}

.product-category-box.category-physical {
  background: url('img/marketplace/category/04.png') no-repeat 100% 0, linear-gradient(90deg, #854D0E, #F59E0B) !important;
}

.product-category-box .product-category-box-title {
  color: #ffffff !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.product-category-box .product-category-box-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
}

.product-category-box .product-category-box-tag {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-top: 18px !important;
  display: inline-block !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
}

.section-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
}

.section-header-info .section-pretitle {
  color: var(--pp-text-muted) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin: 0 !important;
}

.section-header-info .section-title {
  color: var(--pp-text-white) !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   8. WOOCOMMERCE PRODUCT GRID (RESPONSIVE 3-4 COLS)
   ========================================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  border-color: var(--pp-border-gold) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.12) !important;
}

.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--pp-border-glass) !important;
  background: #060913 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--pp-text-white) !important;
  line-height: 1.35 !important;
  margin: 12px 18px 6px 18px !important;
}

.woocommerce ul.products li.product .price {
  padding: 0 18px !important;
  margin-top: 4px !important;
  color: var(--pp-gold) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--pp-text-muted) !important;
  font-size: 14px !important;
  opacity: 0.65 !important;
  margin-right: 8px !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
}

/* ==========================================================================
   9. WOOCOMMERCE CART (2-COLUMN GRID & SPLIT ROWS)
   ========================================================================== */
@media screen and (min-width: 961px) {
  .woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 32px !important;
    align-items: start !important;
  }
  .woocommerce-cart .woocommerce .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
  }
  .woocommerce-cart .woocommerce-cart-form {
    grid-column: 1 !important;
  }
  .woocommerce-cart .cart-collaterals {
    grid-column: 2 !important;
    margin-top: 0 !important;
  }
}

.woocommerce-cart table.shop_table.cart {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
}

.woocommerce-cart table.shop_table.cart thead th {
  background: transparent !important;
  border: none !important;
  color: var(--pp-text-muted) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0 16px 8px 16px !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  border-radius: 14px !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item:hover {
  border-color: var(--pp-border-gold) !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td {
  padding: 18px 16px !important;
  border-top: none !important;
  border-bottom: none !important;
  color: var(--pp-text-white) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 15px !important;
  vertical-align: middle !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td:first-child {
  border-top-left-radius: 14px !important;
  border-bottom-left-radius: 14px !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td:last-child {
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  border: 1px solid var(--pp-border-glass) !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-name a {
  color: var(--pp-text-white) !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-price,
.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-subtotal {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--pp-gold) !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove a.remove {
  width: 32px !important;
  height: 32px !important;
  line-height: 28px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #EF4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove a.remove:hover {
  background: #EF4444 !important;
  color: #ffffff !important;
}

.woocommerce-cart table.shop_table.cart tbody tr td.actions {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
}

.woocommerce-cart table.shop_table.cart tbody tr td.actions .coupon {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.woocommerce-cart table.shop_table.cart tbody tr td.actions .coupon input.input-text {
  height: 46px !important;
  background: #070A14 !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 0 16px !important;
  width: auto !important;
}

.woocommerce-cart table.shop_table.cart tbody tr td.actions .coupon button.button {
  height: 46px !important;
  line-height: 46px !important;
  padding: 0 20px !important;
  background: var(--pp-sapphire) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  border: none !important;
}

.woocommerce-cart table.shop_table.cart tbody tr td.actions button[name="update_cart"] {
  height: 46px !important;
  line-height: 46px !important;
  background: rgba(148, 163, 184, 0.12) !important;
  border: 1px solid var(--pp-border-glass) !important;
  color: var(--pp-text-white) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.woocommerce-cart .cart_totals {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
}

.woocommerce-cart .cart_totals h2 {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--pp-text-white) !important;
  border-bottom: 1px solid var(--pp-border-glass) !important;
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.01em !important;
}

.woocommerce-cart .cart_totals table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
  color: var(--pp-text-muted) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right !important;
  font-size: 15px !important;
  color: var(--pp-text-white) !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
  border-bottom: none !important;
  padding-top: 16px !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
  color: var(--pp-gold) !important;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 52px !important;
  line-height: normal !important;
  text-align: center !important;
  white-space: nowrap !important;
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%) !important;
  color: #04060E !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3) !important;
  margin-top: 22px !important;
  transition: all 0.2s ease !important;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5) !important;
}

/* Empty Cart State */
.woocommerce-cart .cart-empty.woocommerce-info {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  padding: 40px 32px !important;
  text-align: center !important;
  color: var(--pp-text-white) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

.woocommerce-cart .return-to-shop {
  text-align: center !important;
  margin-top: 24px !important;
}

.woocommerce-cart .return-to-shop a.button {
  display: inline-block !important;
  padding: 14px 36px !important;
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #ffffff !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
}

/* ==========================================================================
   10. WOOCOMMERCE CHECKOUT (GRID 8-4 PARITY)
   ========================================================================== */
@media screen and (min-width: 961px) {
  .woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 420px !important;
    gap: 32px !important;
    align-items: start !important;
  }
  .woocommerce-checkout form.checkout #customer_details {
    grid-column: 1 !important;
    width: 100% !important;
    float: none !important;
  }
  .woocommerce-checkout form.checkout #order_review_heading,
  .woocommerce-checkout form.checkout #order_review {
    grid-column: 2 !important;
    width: 100% !important;
    float: none !important;
  }
}

.woocommerce-checkout #customer_details .col-1 {
  width: 100% !important;
  float: none !important;
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
}

.woocommerce-checkout #customer_details h3 {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--pp-text-white) !important;
  border-bottom: 1px solid var(--pp-border-glass) !important;
  padding-bottom: 14px !important;
  margin-bottom: 22px !important;
}

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

.woocommerce-checkout form.checkout .form-row label {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--pp-text-muted) !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.woocommerce-checkout form.checkout .form-row input.input-text,
.woocommerce-checkout form.checkout .form-row textarea {
  width: 100% !important;
  height: 50px !important;
  background: #070A14 !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease !important;
}

.woocommerce-checkout form.checkout .form-row textarea {
  height: 100px !important;
  padding: 12px 16px !important;
}

.woocommerce-checkout form.checkout .form-row input.input-text:focus,
.woocommerce-checkout form.checkout .form-row textarea:focus {
  border-color: var(--pp-sapphire) !important;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25) !important;
}

.woocommerce-checkout #order_review {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
}

.woocommerce-checkout #order_review_heading {
  display: none !important;
}

.woocommerce-checkout #order_review table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

.woocommerce-checkout #order_review table.shop_table th {
  color: var(--pp-text-muted) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid var(--pp-border-glass) !important;
  padding: 10px 0 !important;
}

.woocommerce-checkout #order_review table.shop_table td {
  color: var(--pp-text-white) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 14.5px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
  padding: 12px 0 !important;
}

.woocommerce-checkout #order_review table.shop_table tr.order-total td {
  color: var(--pp-gold) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.woocommerce-checkout #order_review #payment {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-top: 24px !important;
}

.woocommerce-checkout #order_review #payment ul.payment_methods {
  padding: 0 !important;
  border: none !important;
  margin: 0 0 20px 0 !important;
}

.woocommerce-checkout #order_review #payment ul.payment_methods li {
  background: rgba(14, 20, 36, 0.6) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  margin-bottom: 10px !important;
}

.woocommerce-checkout #order_review #payment ul.payment_methods li label {
  color: var(--pp-text-white) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.woocommerce-checkout #order_review #payment div.payment_box {
  background: #070A14 !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  color: var(--pp-text-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin-top: 10px !important;
}

.woocommerce-checkout #order_review #payment div.payment_box:before {
  display: none !important;
}

.woocommerce-checkout #order_review button#place_order {
  width: 100% !important;
  height: 54px !important;
  line-height: 54px !important;
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%) !important;
  border: 1px solid #3B82F6 !important;
  color: #ffffff !important;
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.woocommerce-checkout #order_review button#place_order:hover {
  background: #1D4ED8 !important;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6) !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   11. WOOCOMMERCE MY ACCOUNT DASHBOARD
   ========================================================================== */
.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 280px 1fr !important;
  gap: 32px !important;
  align-items: start !important;
}

@media screen and (max-width: 960px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr !important;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin-bottom: 6px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 12px 18px !important;
  border-radius: 10px !important;
  color: var(--pp-text-muted) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(37, 99, 235, 0.15) !important;
  color: #60A5FA !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  color: var(--pp-text-white) !important;
  font-family: 'Rajdhani', sans-serif !important;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: var(--pp-text-white) !important;
  margin-bottom: 18px !important;
}


.woocommerce-shop .section-banner .section-banner-icon,
.woocommerce-cart .section-banner .section-banner-icon,
.woocommerce-checkout .section-banner .section-banner-icon {
  content: url('img/banner/marketplace-icon.png') !important;
  width: 110px !important;
  height: auto !important;
}

.woocommerce-checkout #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  background: var(--pp-bg-card) !important;
  border: 1px solid var(--pp-border-glass) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
  margin-top: 24px !important;
}

.woocommerce-checkout #customer_details .col-2 h3 {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: var(--pp-text-white) !important;
  border-bottom: 1px solid var(--pp-border-glass) !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
}
