/*
Theme Name: Nexvora Technologies
Theme URI: https://www.nexvora.com
Author: Nexvora Technologies
Author URI: https://www.nexvora.com
Description: Custom corporate theme for Nexvora Technologies — IT & IP Solutions and Services. Includes a built-in light/dark mode switch, a services grid, an about page with stats, and a contact page with a working message form.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexvora
*/

/* ============================================================
   DESIGN TOKENS
   Signature idea: "network trace" — thin circuit-style lines and
   mono-space path labels (./services/cloud) run through the site,
   tying the IT (network) and IP (addressing / protection) brief
   together. Teal = signal/active, amber = alert/status light.
   ============================================================ */
:root{
  --bg: #F6F8FA;
  --surface: #FFFFFF;
  --surface-2: #EEF2F6;
  --ink: #0E2038;
  --muted: #5B6B80;
  --line: #E1E7EE;
  --blue: #14335E;
  --blue-light: #2E6DB4;
  --green: #4CAF50;
  --green-light: #8BC34A;
  --primary: #2E8B4E;
  --primary-ink: #ffffff;
  --accent: #2E6DB4;
  --danger: #E0554A;
  --brand-gradient: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 45%, var(--green) 100%);
  --shadow: 0 8px 30px rgba(14,32,56,0.08);
  --radius: 14px;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --container: 1360px;
  color-scheme: light;
}

html[data-theme="dark"]{
  --bg: #081426;
  --surface: #0F2038;
  --surface-2: #142A47;
  --ink: #EAF0F7;
  --muted: #90A4BE;
  --line: #1E3A5C;
  --blue: #2E6DB4;
  --blue-light: #4C8FDE;
  --green: #6CCB5F;
  --green-light: #9EDD6E;
  --primary: #5FC46A;
  --primary-ink: #06210C;
  --accent: #4C8FDE;
  --brand-gradient: linear-gradient(135deg, #0B1E3D 0%, #14335E 35%, #1F6B4A 75%, #4CAF50 100%);
  --shadow: 0 8px 30px rgba(0,0,0,0.45);
  color-scheme: dark;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{ overflow-x: hidden; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
  background-image:
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p{ margin: 0 0 1em; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }
section{ padding: 96px 0; position: relative; }
@media (max-width: 780px){ section{ padding: 64px 0; } }

/* Give the services section its own full-bleed surface so wide screens
   don't read as "empty margins either side of a narrow column" */
#services{ background: var(--surface); }

.mono-tag{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.mono-tag::before{
  content:"";
  width:7px; height:7px; border-radius:50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent);
}

.eyebrow-path{
  display: none;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  font-family: var(--font-body);
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover{ box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--primary); color: var(--primary); }
.btn-block{ width:100%; justify-content:center; }

/* ============ HEADER ============ */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 82px;
}
.brand{ display:flex; align-items:center; gap:12px; font-family: var(--font-display); font-weight:700; font-size: 20px; }
.brand svg{ width:40px; height:44px; }
.brand .brand-word-nex{ color: var(--blue); }
html[data-theme="dark"] .brand .brand-word-nex{ color: var(--blue-light); }
.brand .brand-word-tech{ color: var(--green); font-weight:600; }
.brand .brand-sub{
  display:block; font-family: var(--font-mono); font-size:10.5px; color: var(--muted); font-weight:400; letter-spacing:.08em; text-transform:uppercase;
}

/* Dark gradient panel echoing the printed business-card back */
.card-back{
  background: var(--brand-gradient);
  border-radius: var(--radius);
  padding: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.card-back::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 80% 20%, black, transparent 70%);
  pointer-events:none;
}
.card-back h3{ color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.08em; font-family: var(--font-mono); margin-bottom:16px; opacity:.85; }
.card-back ul{ position:relative; z-index:1; }
.card-back li{ display:flex; align-items:center; gap:10px; padding:7px 0; font-size:14.5px; }
.card-back li::before{ content:""; width:6px; height:6px; border-radius:50%; background:#fff; opacity:.85; flex-shrink:0; }
.card-back .card-tagline{ position:relative; z-index:1; margin-top:22px; font-family: var(--font-display); font-weight:600; font-size:16px; }
.card-back .card-sub{ position:relative; z-index:1; font-size:13px; opacity:.85; }
.main-nav ul{ display:flex; gap: 34px; align-items:center; }
.main-nav a{
  font-weight:500; font-size:15px; color: var(--muted);
  position:relative; padding: 6px 0;
}
.main-nav a:hover, .main-nav .current-menu-item > a{ color: var(--ink); }
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--primary);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav .current-menu-item > a::after{ width:100%; }
.header-actions{ display:flex; align-items:center; gap:16px; }

@media (max-width: 900px){
  .site-header .container{ height:64px; padding: 0 16px; }
  .brand{ font-size:15px; gap:8px; }
  .brand svg{ width:30px; height:33px; flex-shrink:0; }
  .brand > span{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width: 44vw; }
  .brand .brand-sub{ display:none; }
  .header-actions{ gap:8px; }
  .header-actions .btn-primary{
    padding: 8px 14px; font-size:12.5px !important; white-space:nowrap; flex-shrink:0;
  }
  .theme-toggle{ width:42px; height:23px; flex-shrink:0; }
  .theme-toggle .knob{ width:19px; height:19px; }
  html[data-theme="dark"] .theme-toggle .knob{ left:21px; }
}
@media (max-width: 380px){
  .header-actions .btn-primary{ display:none; }
}

.theme-toggle{
  width:52px; height:28px; border-radius:999px; border:1px solid var(--line);
  background: var(--surface-2); position:relative; cursor:pointer; flex-shrink:0;
}
.theme-toggle .knob{
  position:absolute; top:2px; left:2px; width:22px; height:22px; border-radius:50%;
  background: var(--primary); transition: left .2s ease;
  display:flex; align-items:center; justify-content:center; color: var(--primary-ink); font-size:11px;
}
html[data-theme="dark"] .theme-toggle .knob{ left: 26px; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; color: var(--ink); flex-shrink:0; }

.main-nav-head{ display:none; }
.nav-backdrop{
  position:fixed; inset:0; background: rgba(6,10,18,.5);
  opacity:0; visibility:hidden; transition: opacity .25s ease, visibility .25s ease;
  z-index:55;
}
.nav-backdrop.is-open{ opacity:1; visibility:visible; }

@media (max-width: 900px){
  .main-nav{
    position:fixed; top:0; left:0; bottom:0;
    width: min(84vw, 340px);
    background: var(--surface);
    transform: translateX(-100%); transition: transform .25s ease;
    padding: 22px 24px 32px;
    box-shadow: 0 0 40px rgba(0,0,0,.25);
    z-index: 60; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav-head{
    display:flex; align-items:center; justify-content:space-between;
    padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--line);
  }
  .main-nav-title{ font-family: var(--font-display); font-weight:700; font-size:16px; }
  .nav-close{ background:none; border:none; cursor:pointer; color: var(--muted); padding:4px; }
  .nav-close svg{ width:22px; height:22px; }
  .main-nav ul{ flex-direction:column; align-items:flex-start; gap:22px; }
  .nav-toggle{ display:block; }
}
body.nav-locked{ overflow:hidden; height:100vh; }

/* ============ HERO ============ */
.hero{ padding: 72px 0 40px; overflow:hidden; position:relative; }
.hero .container{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center; position:relative; z-index:1; }
@media (max-width: 900px){ .hero .container{ grid-template-columns: 1fr; } }
.hero h1{ font-size: clamp(34px, 5vw, 56px); }
.hero h1 .accent-word{
  color: var(--primary);
  background-image: linear-gradient(90deg, var(--blue-light), var(--green), var(--blue-light));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer{ to{ background-position: -200% 0; } }
.hero-sub{ font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-cta{ display:flex; gap:16px; margin-top: 32px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:36px; margin-top:48px; flex-wrap:wrap; }
.hero-stats div{ font-family: var(--font-mono); }
.hero-stats strong{ display:block; font-size: 26px; font-family: var(--font-display); color: var(--ink); }
.hero-stats span{ font-size: 12px; color: var(--muted); text-transform:uppercase; letter-spacing:.06em; }

/* Drifting gradient glow behind the hero content */
.hero-glow{ position:absolute; inset: -20% -10% auto -10%; height: 130%; z-index:0; pointer-events:none; }
.hero-glow::before, .hero-glow::after{
  content:""; position:absolute; width:46vw; height:46vw; max-width:620px; max-height:620px;
  border-radius:50%; filter: blur(70px); opacity:.22;
}
.hero-glow::before{ background: var(--blue-light); top:-8%; left:-6%; animation: driftA 16s ease-in-out infinite; }
.hero-glow::after{ background: var(--green); bottom:-14%; right:-8%; animation: driftB 19s ease-in-out infinite; }
@keyframes driftA{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(4%, 6%) scale(1.12); } }
@keyframes driftB{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-5%, -5%) scale(1.08); } }

/* Entrance stagger for hero content */
.hero-in{ opacity:0; transform: translateY(16px); animation: heroIn .7s cubic-bezier(.22,1,.36,1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn{ to{ opacity:1; transform:none; } }

.node-graph{ width:100%; height:auto; }
.node-graph .trace{
  fill:none; stroke: var(--line); stroke-width:1.5;
}
.node-graph .trace-active{
  fill:none; stroke: var(--primary); stroke-width:2;
  stroke-dasharray: 6 8;
  animation: dash 3.5s linear infinite;
}
.node-graph .node-dot{ fill: var(--surface); stroke: var(--primary); stroke-width:2; }
.node-graph .node-dot.pulse{ animation: pulse 2.4s ease-in-out infinite; }
.node-graph .node-label{ font-family: var(--font-mono); font-size: 9px; fill: var(--muted); }
.node-graph .packet{ fill: var(--green); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--green) 70%, transparent)); }
.node-graph .packet-2{ fill: var(--blue-light); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--blue-light) 70%, transparent)); }
.node-graph .packet-3{ fill: var(--accent); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 70%, transparent)); }
@keyframes dash{ to{ stroke-dashoffset: -140; } }
@keyframes pulse{ 0%,100%{ r:5; opacity:1;} 50%{ r:7; opacity:.55; } }
@media (prefers-reduced-motion: reduce){
  .node-graph .trace-active, .node-graph .node-dot.pulse, .hero-glow::before, .hero-glow::after, .hero h1 .accent-word{ animation: none; }
  .hero-in{ opacity:1; transform:none; animation:none; }
  .node-graph animateMotion{ display:none; }
}

/* ============ SECTION HEADS ============ */
.section-head{ max-width: 640px; margin: 0 auto 56px; text-align:center; }
.section-head h2{ font-size: clamp(28px,4vw,40px); }
.section-head p{ color: var(--muted); font-size:17px; }
.section-head.align-left{ margin: 0 0 48px; text-align:left; }

/* ============ SERVICES ============ */
.services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .services-grid{ grid-template-columns: 1fr; } }
.service-card{
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display:flex; flex-direction:column; height:100%;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.service-icon{ width:48px; height:48px; margin-bottom:20px; color: var(--primary); }
.service-card h3{ font-size:19px; margin-bottom:8px; }
.service-card p{ color: var(--muted); font-size:15px; margin-bottom:16px; flex-grow:1; }
.service-path{ font-family: var(--font-mono); font-size:11.5px; color: var(--muted); border-top:1px dashed var(--line); padding-top:14px; }
.service-path b{ color: var(--primary); font-weight:600; }

/* ============ ABOUT / VALUES ============ */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; }
@media (max-width: 900px){ .split{ grid-template-columns:1fr; gap: 36px; } }
.stat-strip{ display:grid; grid-template-columns: repeat(4,1fr); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; margin-top:56px; }
@media (max-width: 700px){ .stat-strip{ grid-template-columns: repeat(2,1fr); } }
.stat-strip div{ padding: 28px 20px; text-align:center; border-right:1px solid var(--line); }
.stat-strip div:last-child{ border-right:none; }
.stat-strip strong{ display:block; font-family: var(--font-display); font-size: 30px; color: var(--primary); }
.stat-strip span{ font-size:12.5px; color: var(--muted); text-transform:uppercase; letter-spacing:.05em; }

.values-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:22px; margin-top:24px; }
@media (max-width: 700px){ .values-grid{ grid-template-columns:1fr; } }
.value-item{ display:flex; gap:14px; padding: 18px; border-radius: 12px; }
.value-item svg{ width:26px; height:26px; flex-shrink:0; color: var(--primary); margin-top:2px; }
.value-item h4{ font-size:16px; margin-bottom:4px; }
.value-item p{ font-size:14.5px; color:var(--muted); margin:0; }

.timeline{ border-left:2px solid var(--line); margin-top:32px; padding-left:28px; display:flex; flex-direction:column; gap:28px; }
.timeline-item{ position:relative; }
.timeline-item::before{ content:""; position:absolute; left:-34px; top:4px; width:10px; height:10px; border-radius:50%; background: var(--primary); box-shadow: 0 0 0 4px var(--bg); }
.timeline-item .eyebrow-path{ display:block; margin-bottom:4px; }

/* ============ CTA BAND ============ */
.cta-band{
  background: var(--surface); border:1px solid var(--line); border-radius: 20px;
  padding: 56px; text-align:center;
}
.cta-band h2{ font-size: clamp(24px,3.4vw,32px); margin-bottom:12px; }
.cta-band p{ color: var(--muted); }
.cta-band .hero-cta{ justify-content:center; }

/* ============ CONTACT ============ */
.contact-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items:start; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns:1fr; } }
.vcard{
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 32px; font-family: var(--font-mono);
}
.vcard .vc-name{ font-family: var(--font-display); font-size:22px; margin-bottom:2px; }
.vcard .vc-role{ color: var(--primary); font-size:13px; margin-bottom:22px; display:block; }
.vcard-row{ display:flex; gap:12px; padding: 12px 0; border-top:1px dashed var(--line); font-size:13.5px; align-items:flex-start; }
.vcard-row:first-of-type{ border-top:none; }
.vcard-row svg{ width:18px; height:18px; color:var(--primary); flex-shrink:0; margin-top:2px; }

.form-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-row{ margin-bottom:20px; }
.form-row label{ display:block; font-size:13px; font-weight:600; margin-bottom:8px; font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.04em; color: var(--muted); }
.form-row input, .form-row textarea{
  width:100%; padding: 13px 16px; border-radius:10px; border:1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size:15px;
}
.form-row input:focus, .form-row textarea:focus{ outline:2px solid var(--primary); outline-offset:1px; }
.form-row textarea{ resize:vertical; min-height:130px; }
.form-msg{ padding:14px 16px; border-radius:10px; margin-bottom:20px; font-size:14px; }
.form-msg.success{ background: color-mix(in srgb, var(--primary) 16%, transparent); border:1px solid var(--primary); }
.form-msg.error{ background: color-mix(in srgb, var(--danger) 14%, transparent); border:1px solid var(--danger); }
.map-embed{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); margin-top:24px; }
.map-embed iframe{ width:100%; height:260px; border:0; display:block; filter: grayscale(.15); }
html[data-theme="dark"] .map-embed iframe{ filter: grayscale(.4) invert(.92) contrast(.9); }

/* ============ HOMEPAGE CATALOG PREVIEW ============ */
.catalog-preview .catalog-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  list-style:none; margin:0; padding:0;
}
@media (max-width: 900px){
  .catalog-preview .catalog-grid{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.catalog-preview .catalog-card{
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display:flex; flex-direction:column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.catalog-preview .catalog-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.catalog-preview .catalog-card a{ text-decoration:none; }
.catalog-preview .catalog-card img{ border-radius:10px; aspect-ratio:1/1; object-fit:cover; margin-bottom:14px; background: var(--surface-2); }
.catalog-preview .catalog-card h3{ font-family: var(--font-display); font-size:15px; color: var(--ink); margin: 0 0 6px; line-height:1.3; }
.catalog-preview .catalog-card .price{ font-family: var(--font-mono); color: var(--primary); font-weight:600; font-size:13.5px; margin-bottom:14px; display:block; }
.catalog-preview .catalog-card .button{
  margin-top:auto; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:9px 14px; border-radius:999px; background: var(--primary); color: var(--primary-ink);
  font-size:12.5px; font-weight:600;
}
.catalog-preview .catalog-card .button svg{ width:14px; height:14px; flex-shrink:0; }
.catalog-preview .explore-more{ text-align:center; margin-top:44px; }

/* ============ FOOTER ============ */
.site-footer{ background: var(--surface); border-top:1px solid var(--line); padding: 72px 0 28px; margin-top: 64px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h4{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color: var(--muted); margin-bottom:18px; font-family: var(--font-mono); }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul a{ color: var(--ink); opacity:.85; font-size:14.5px; }
.footer-grid ul a:hover{ color: var(--primary); opacity:1; }
.footer-brand p{ color: var(--muted); font-size:14.5px; max-width:32ch; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; margin-top:56px; padding-top:24px;
  border-top:1px solid var(--line); font-size:13px; color: var(--muted); flex-wrap:wrap; gap:12px;
}
.socials{ display:flex; gap:12px; }
.socials a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color: var(--muted);
}
.socials a:hover{ color: var(--primary); border-color: var(--primary); }
.socials svg{ width:16px; height:16px; }

/* Page banner (About/Services/Contact top) */
.page-banner{ padding: 56px 0 8px; }
.page-banner .eyebrow-path{ margin-bottom:14px; display:block; }
.page-banner h1{ font-size: clamp(30px,4.5vw,46px); max-width: 20ch; }
.page-banner p{ color: var(--muted); font-size:17px; max-width:60ch; }

.skip-link{ position:absolute; left:-9999px; top:0; background:var(--primary); color:var(--primary-ink); padding:10px 16px; z-index:100; }
.skip-link:focus{ left:16px; top:16px; }

/* ============================================================
   WOOCOMMERCE — shop, product, cart, checkout, my account
   Wrapped by nexvora_wc_wrapper_start/end into .shop-wrap
   ============================================================ */
.cart-contents{ position:relative; display:inline-flex; color: var(--ink); width:auto; }
.cart-contents svg{ width:22px; height:22px; }
.cart-contents .cart-count{
  position:absolute; top:-8px; right:-10px; background: var(--primary); color: var(--primary-ink);
  font-family: var(--font-mono); font-size:10.5px; min-width:17px; height:17px; border-radius:999px;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
}

.shop-wrap{ padding: 56px 0 96px; }
.shop-wrap .woocommerce-breadcrumb{ font-family: var(--font-mono); font-size:12.5px; color: var(--muted); margin-bottom:28px; display:block; }
.shop-wrap .woocommerce-breadcrumb a{ color: var(--muted); }
.shop-wrap .woocommerce-breadcrumb a:hover{ color: var(--primary); }

.shop-wrap h1.page-title, .shop-wrap h1.entry-title{
  font-family: var(--font-display); font-size: clamp(28px,4vw,40px); margin-bottom: 32px;
}

/* Product loop (shop / category / related / upsells) */
.shop-wrap ul.products{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  list-style:none; margin:0; padding:0;
}
@media (max-width: 900px){ .shop-wrap ul.products{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .shop-wrap ul.products{ grid-template-columns: 1fr; } }

.shop-wrap ul.products li.product{
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align:left; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  list-style:none;
}
.shop-wrap ul.products li.product:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.shop-wrap ul.products li.product a{ text-decoration:none; }
.shop-wrap ul.products li.product img{
  border-radius: 10px; margin-bottom:18px; background: var(--surface-2); aspect-ratio: 1/1; object-fit: cover;
}
.shop-wrap ul.products li.product .woocommerce-loop-product__title{
  font-family: var(--font-display); font-size:18px; color: var(--ink); margin: 0 0 8px;
}
.shop-wrap ul.products li.product .price{
  font-family: var(--font-mono); font-weight:600; color: var(--primary); font-size:16px;
}
.shop-wrap ul.products li.product .price del{ color: var(--muted); opacity:.7; font-weight:400; margin-right:6px; }
.shop-wrap ul.products li.product .button{
  display:inline-flex; align-items:center; gap:8px; margin-top:16px; padding: 10px 20px;
  border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight:600; font-size:14px;
  border:none; cursor:pointer;
}
.shop-wrap ul.products li.product .button:hover{ opacity:.9; }
.shop-wrap ul.products li.product .button.whatsapp-enquire svg{ width:16px; height:16px; flex-shrink:0; }
.shop-wrap ul.products li.product .onsale{
  position:absolute; background: var(--blue); color:#fff; font-family: var(--font-mono); font-size:11px;
  padding: 4px 10px; border-radius: 999px; top:14px; left:14px;
}
.shop-wrap ul.products li.product{ position:relative; }
.shop-wrap .star-rating{ color: var(--accent); font-size:14px; margin-bottom:6px; }

/* Sorting / result count bar */
.shop-wrap .woocommerce-result-count,
.shop-wrap .woocommerce-ordering{ font-size:14px; color: var(--muted); margin-bottom:24px; }
.shop-wrap .woocommerce-ordering select{
  border:1px solid var(--line); border-radius:8px; padding:8px 12px; background: var(--surface); color: var(--ink);
  font-family: var(--font-body);
}
.shop-wrap .woocommerce-pagination ul{ display:flex; gap:8px; list-style:none; padding:0; margin-top:40px; }
.shop-wrap .woocommerce-pagination a, .shop-wrap .woocommerce-pagination span{
  display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:8px;
  border:1px solid var(--line); color: var(--ink);
}
.shop-wrap .woocommerce-pagination .current{ background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* Single product */
.shop-wrap div.product{ display:block; }
.shop-wrap div.product .woocommerce-product-gallery{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); margin-bottom:24px; }
.shop-wrap div.product .summary{ max-width: 640px; }
.shop-wrap div.product .product_title{ font-family: var(--font-display); font-size: clamp(26px,3.6vw,36px); margin-bottom:12px; }
.shop-wrap div.product .price{ font-family: var(--font-mono); font-size:24px; color: var(--primary); font-weight:700; margin-bottom:20px; display:block; }
.shop-wrap div.product .woocommerce-product-details__short-description{ color: var(--muted); margin-bottom:24px; }
.shop-wrap div.product .whatsapp-enquire-single{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:32px;
}
.shop-wrap div.product .whatsapp-enquire-single svg{ width:20px; height:20px; }
.shop-wrap div.product .woocommerce-tabs{ border-top:1px solid var(--line); margin-top:32px; padding-top:24px; }
.shop-wrap div.product .woocommerce-tabs ul.tabs{ display:flex; gap:24px; list-style:none; padding:0; margin-bottom:20px; }
.shop-wrap div.product .woocommerce-tabs ul.tabs li a{ font-weight:600; color: var(--muted); }
.shop-wrap div.product .woocommerce-tabs ul.tabs li.active a{ color: var(--primary); }
.shop-wrap div.product .related.products{ margin-top:64px; }
.shop-wrap div.product .related.products > h2{ font-family: var(--font-display); font-size:24px; margin-bottom:24px; }

/* Cart page */
.shop-wrap table.shop_table{ width:100%; border-collapse: collapse; background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.shop-wrap table.shop_table th{ text-align:left; padding:16px; font-family: var(--font-mono); font-size:12px; text-transform:uppercase; color: var(--muted); border-bottom:1px solid var(--line); }
.shop-wrap table.shop_table td{ padding:16px; border-bottom:1px solid var(--line); vertical-align:middle; }
.shop-wrap table.shop_table img{ border-radius:8px; width:60px; height:60px; object-fit:cover; }
.shop-wrap .product-remove a{ color: var(--danger); font-size:20px; }
.shop-wrap .coupon input{ padding:13px 16px; border-radius:10px; border:1px solid var(--line); background: var(--bg); color: var(--ink); margin-right:10px; }
.shop-wrap .cart_totals{ margin-top:32px; max-width:420px; margin-left:auto; background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding:8px 24px; }
.shop-wrap .cart_totals h2{ font-size:18px; }
.shop-wrap .wc-proceed-to-checkout .checkout-button{
  display:flex; justify-content:center; width:100%; padding:15px; border-radius:999px;
  background: var(--primary); color: var(--primary-ink); font-weight:700;
}

/* Checkout */
.shop-wrap form.checkout_coupon,
.shop-wrap #customer_details{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom:24px; }
.shop-wrap .woocommerce-billing-fields h3, .shop-wrap #order_review_heading{ font-family: var(--font-display); font-size:20px; margin-bottom:18px; }
.shop-wrap .form-row label{ font-size:13px; font-family: var(--font-mono); color: var(--muted); text-transform:uppercase; letter-spacing:.03em; }
.shop-wrap .form-row input, .shop-wrap .form-row select, .shop-wrap .form-row textarea{
  width:100%; padding:13px 16px; border-radius:10px; border:1px solid var(--line); background: var(--bg); color: var(--ink); font-family: var(--font-body);
}
.shop-wrap #order_review{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding:28px; }
.shop-wrap #place_order{
  width:100%; padding:16px; border-radius:999px; background: var(--primary); color: var(--primary-ink);
  font-weight:700; border:none; cursor:pointer; font-size:16px; margin-top:16px;
}
.shop-wrap .payment_methods{ list-style:none; padding:0; }
.shop-wrap .payment_methods li{ border:1px solid var(--line); border-radius:10px; padding:14px; margin-bottom:10px; }

/* My account */
.shop-wrap .woocommerce-MyAccount-navigation ul{ list-style:none; padding:0; display:flex; flex-direction:column; gap:6px; }
.shop-wrap .woocommerce-MyAccount-navigation a{ display:block; padding:10px 14px; border-radius:8px; color: var(--muted); }
.shop-wrap .woocommerce-MyAccount-navigation .is-active a{ background: var(--surface-2); color: var(--primary); font-weight:600; }
.shop-wrap .woocommerce-MyAccount-content{ margin-top:24px; }

/* Notices */
.shop-wrap .woocommerce-message, .shop-wrap .woocommerce-info, .shop-wrap .woocommerce-error{
  list-style:none; padding: 16px 20px; border-radius: 10px; margin-bottom:24px; background: var(--surface);
  border:1px solid var(--primary); color: var(--ink); display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.shop-wrap .woocommerce-error{ border-color: var(--danger); }
.shop-wrap .woocommerce-message .button, .shop-wrap .woocommerce-info .button{
  background: var(--primary); color: var(--primary-ink); padding:8px 16px; border-radius:999px; font-size:13px; font-weight:600;
}
