/*
Theme Name: DevCom Commerce
Theme URI: https://devcomcommerce.com
Description: A professional WooCommerce theme inspired by Microsoft Developer — clean, tech-forward, precision-crafted for modern e-commerce.
Author: DevCom Studio
Author URI: https://devcomcommerce.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
WC requires at least: 8.0
WC tested up to: 9.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: devcom
Tags: woocommerce, e-commerce, grid-layout, dark, one-column, two-columns, custom-menu, featured-images, full-width-template, post-formats, theme-options

DevCom Commerce WordPress Theme, Copyright 2025 DevCom Studio
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --clr-accent:        #0078d4;
  --clr-accent-hover:  #005fa3;
  --clr-accent-light:  #50a3e0;
  --clr-accent-glow:   rgba(0,120,212,.18);

  /* Surface */
  --clr-bg:            #ffffff;
  --clr-bg-alt:        #f5f5f5;
  --clr-bg-dark:       #0f0f0f;
  --clr-bg-card:       #ffffff;
  --clr-bg-overlay:    rgba(15,15,15,.88);

  /* Text */
  --clr-text:          #1a1a1a;
  --clr-text-muted:    #6e6e6e;
  --clr-text-light:    #ffffff;
  --clr-text-heading:  #050505;

  /* Borders */
  --clr-border:        #e0e0e0;
  --clr-border-dark:   #2a2a2a;

  /* Status */
  --clr-success:       #107c10;
  --clr-warning:       #d83b01;
  --clr-info:          #0078d4;

  /* Typography */
  --font-display:      'Syne', 'Segoe UI', sans-serif;
  --font-body:         'DM Sans', 'Segoe UI', sans-serif;
  --font-mono:         'JetBrains Mono', 'Cascadia Code', monospace;

  --fs-xs:   .75rem;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4rem;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-black:   900;

  /* Spacing */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem;
  --sp-12: 3rem; --sp-16: 4rem; --sp-20: 5rem; --sp-24: 6rem;

  /* Layout */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Effects */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-accent: 0 8px 32px rgba(0,120,212,.22);

  --transition: 220ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 400ms cubic-bezier(.4,0,.2,1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-hover); }

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--clr-text-heading);
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl)); font-weight: var(--fw-black); }
h2 { font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl)); }
h3 { font-size: clamp(var(--fs-lg), 2.5vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-xl); font-weight: var(--fw-semibold); }
h5 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
h6 { font-size: var(--fs-md); font-weight: var(--fw-medium); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 800px; }

.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .75rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
  text-transform: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}
.btn--primary:hover {
  background: var(--clr-accent-hover);
  border-color: var(--clr-accent-hover);
  color: #fff;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}
.btn--outline:hover {
  background: var(--clr-accent);
  color: #fff;
}
.btn--dark {
  background: var(--clr-bg-dark);
  color: #fff;
  border-color: var(--clr-bg-dark);
}
.btn--dark:hover {
  background: #1f1f1f;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border);
}
.btn--ghost:hover { background: var(--clr-bg-alt); }
.btn--sm { padding: .5rem 1rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1rem 2rem; font-size: var(--fs-md); }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   BADGE / LABEL
   ============================================================ */
.badge {
  display: inline-block;
  padding: .2em .65em;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: var(--clr-accent-glow);
  color: var(--clr-accent);
}
.badge--dark { background: var(--clr-bg-dark); color: #fff; }
.badge--success { background: rgba(16,124,16,.12); color: var(--clr-success); }
.badge--sale { background: var(--clr-warning); color: #fff; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-8);
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { opacity: .85; }
.devcom-logo-svg {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity .2s;
}
.site-logo .custom-logo { height: 36px; width: auto; display: block; }
.site-logo__icon {
  width: 32px; height: 32px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-logo__icon svg { width: 18px; height: 18px; fill: #fff; }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: var(--sp-1); }
.primary-nav a {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.primary-nav a:hover, .primary-nav a.current { color: var(--clr-accent); background: var(--clr-accent-glow); }

/* Mega Menu */
.nav-item--mega { position: relative; }
.nav-item--mega > a::after { content: '›'; display: inline-block; rotate: 90deg; transition: rotate var(--transition); }
.nav-item--mega:hover > a::after { rotate: 270deg; }
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
  min-width: 560px;
  display: none;
  grid-template-columns: repeat(3,1fr);
  gap: var(--sp-4);
  z-index: 100;
}
.nav-item--mega:hover .mega-menu { display: grid; }
.mega-link {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mega-link:hover { background: var(--clr-bg-alt); }
.mega-link__icon { font-size: var(--fs-lg); }
.mega-link__title { font-weight: var(--fw-semibold); font-size: var(--fs-sm); color: var(--clr-text-heading); }
.mega-link__desc { font-size: var(--fs-xs); color: var(--clr-text-muted); line-height: 1.4; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: var(--sp-2); }

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  width: 200px;
  padding: .5rem .75rem .5rem 2.25rem;
  font-size: var(--fs-sm);
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  font-family: var(--font-body);
}
.header-search input:focus {
  outline: none;
  width: 260px;
  border-color: var(--clr-accent);
  background: #fff;
}
.header-search__icon {
  position: absolute;
  left: .75rem;
  color: var(--clr-text-muted);
  pointer-events: none;
}

.header-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--clr-text-muted);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
}
.header-icon-btn:hover { background: var(--clr-bg-alt); color: var(--clr-accent); }
.header-icon-btn .count {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: var(--clr-accent);
  color: #fff;
  font-size: 10px;
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: var(--clr-bg-dark);
  color: #fff;
  padding: clamp(var(--sp-16), 12vw, var(--sp-24)) 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,120,212,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(80,163,224,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .4rem 1rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-accent-light);
  border: 1px solid rgba(80,163,224,.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
}
.hero h1 { color: #fff; margin-bottom: var(--sp-6); }
.hero h1 span { color: var(--clr-accent-light); }
.hero__desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.7);
  margin-bottom: var(--sp-8);
  max-width: 540px;
}
.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.hero__media {
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  width: 45%;
  max-width: 600px;
  z-index: 1;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: var(--sp-12); }
.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
}
.section-header__eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--clr-accent);
  border-radius: 2px;
}
.section-header h2 { margin-bottom: var(--sp-3); }
.section-header p { color: var(--clr-text-muted); font-size: var(--fs-md); max-width: 560px; }
.section-header--center { text-align: center; }
.section-header--center .section-header__eyebrow { margin-inline: auto; }
.section-header--center p { margin-inline: auto; }

/* ============================================================
   SECTION SPACING
   ============================================================ */
.section { padding: clamp(var(--sp-12), 8vw, var(--sp-24)) 0; }
.section--alt { background: var(--clr-bg-alt); }
.section--dark { background: var(--clr-bg-dark); color: #fff; }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: #fff; }
.section--dark p,.section--dark li { color: rgba(255,255,255,.75); }
.section--dark .section-header__eyebrow { color: var(--clr-accent-light); }
.section--dark .section-header__eyebrow::before { background: var(--clr-accent-light); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.product-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
}
.product-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--clr-accent);
  transform: translateY(-4px);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--clr-bg-alt);
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__badges {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  z-index: 2;
}
.product-card__actions {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  z-index: 2;
  opacity: 0;
  transition: opacity var(--transition);
  translate: 8px 0;
}
.product-card:hover .product-card__actions { opacity: 1; translate: 0 0; }

.product-action-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-action-btn:hover { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }

.product-card__body { padding: var(--sp-5); }

.product-card__cat {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-2);
}
.product-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--clr-text-heading);
  line-height: 1.3;
  margin-bottom: var(--sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--clr-accent); }

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}
.stars { color: #f59e0b; font-size: var(--fs-xs); letter-spacing: 1px; }
.rating-count { font-size: var(--fs-xs); color: var(--clr-text-muted); }

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}
.product-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-current {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-text-heading);
}
.price-old {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-decoration: line-through;
}
.price-save {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--clr-warning);
}

/* Add to Cart */
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .6rem 1.1rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.add-to-cart-btn:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.add-to-cart-btn svg { width: 16px; height: 16px; }

/* ============================================================
   PRODUCT FILTERS (SHOP PAGE)
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: 80px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.filter-sidebar h3 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-text-heading);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--clr-border);
}

.filter-group { margin-bottom: var(--sp-6); }
.filter-group__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-heading);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  cursor: pointer;
  transition: color var(--transition);
}
.filter-option:hover { color: var(--clr-accent); }
.filter-option input[type="checkbox"] { accent-color: var(--clr-accent); width: 15px; height: 15px; }
.filter-option label { font-size: var(--fs-sm); cursor: pointer; flex: 1; }
.filter-option .count { font-size: var(--fs-xs); color: var(--clr-text-muted); }

.price-range { padding: var(--sp-2) 0; }
.price-range input[type="range"] { width: 100%; accent-color: var(--clr-accent); }
.price-labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--clr-text-muted); margin-top: var(--sp-2); }

.color-swatches { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.color-swatch {
  width: 24px; height: 24px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.color-swatch:hover, .color-swatch.active { border-color: var(--clr-accent); transform: scale(1.15); }

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.shop-results { font-size: var(--fs-sm); color: var(--clr-text-muted); }
.shop-results strong { color: var(--clr-text-heading); }

.sort-select {
  padding: .5rem .75rem;
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  cursor: pointer;
  color: var(--clr-text);
}
.sort-select:focus { outline: none; border-color: var(--clr-accent); }

.view-toggle { display: flex; gap: var(--sp-1); }
.view-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  cursor: pointer;
  color: var(--clr-text-muted);
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.product-gallery { position: sticky; top: 80px; }
.product-gallery__main {
  aspect-ratio: 1;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-4);
  border: 1px solid var(--clr-border);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-3); }
.product-gallery__thumb {
  aspect-ratio: 1;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-gallery__thumb:hover, .product-gallery__thumb.active { border-color: var(--clr-accent); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info {}
.product-info__cat {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
}
.product-info h1 { font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl)); margin-bottom: var(--sp-4); }
.product-info__rating { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.review-link { font-size: var(--fs-xs); color: var(--clr-accent); }

.product-info__price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--clr-border);
}
.product-info__price .price-current { font-size: var(--fs-3xl); }

.product-info__desc { margin-bottom: var(--sp-6); color: var(--clr-text-muted); }

.product-variations { margin-bottom: var(--sp-6); }
.variation-group { margin-bottom: var(--sp-4); }
.variation-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
  color: var(--clr-text-heading);
}
.variation-options { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.variation-option {
  padding: .4rem .9rem;
  font-size: var(--fs-sm);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.variation-option:hover, .variation-option.active {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}

.add-to-cart-form {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  margin-bottom: var(--sp-5);
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-alt);
  border: none;
  cursor: pointer;
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--clr-accent); color: #fff; }
.qty-input {
  width: 52px; height: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--clr-border);
  border-right: 1px solid var(--clr-border);
  font-size: var(--fs-base);
  font-family: var(--font-body);
}
.qty-input:focus { outline: none; }

.product-meta { font-size: var(--fs-sm); color: var(--clr-text-muted); line-height: 2; }
.product-meta strong { color: var(--clr-text-heading); }

.product-tabs { margin-top: var(--sp-12); }
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--clr-border);
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.tab-btn {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  color: var(--clr-accent);
  border-bottom-color: var(--clr-accent);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-8);
  align-items: start;
}

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 2px solid var(--clr-border);
}
.cart-table td {
  padding: var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.cart-product__img {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--clr-border);
}
.cart-product__name { font-weight: var(--fw-semibold); color: var(--clr-text-heading); }
.cart-product__variant { font-size: var(--fs-xs); color: var(--clr-text-muted); margin-top: 2px; }

.remove-btn {
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: color var(--transition);
  background: none;
  border: none;
  font-size: var(--fs-lg);
  line-height: 1;
  padding: var(--sp-1);
}
.remove-btn:hover { color: var(--clr-warning); }

.cart-summary {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: sticky;
  top: 80px;
}
.cart-summary h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) 0;
  font-size: var(--fs-sm);
}
.summary-row--total {
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  padding-top: var(--sp-4);
  margin-top: var(--sp-3);
  border-top: 2px solid var(--clr-text-heading);
}

.coupon-form { display: flex; gap: var(--sp-2); margin: var(--sp-5) 0; }
.coupon-form input {
  flex: 1;
  padding: .6rem .9rem;
  font-size: var(--fs-sm);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}
.coupon-form input:focus { outline: none; border-color: var(--clr-accent); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-10);
  align-items: start;
}

.checkout-section {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}
.checkout-section h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.checkout-section h3 .step-num {
  width: 28px; height: 28px;
  background: var(--clr-accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-row { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.form-row--2col { grid-template-columns: 1fr 1fr; }
.form-row--3col { grid-template-columns: 1fr 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: var(--sp-1); }
.form-group label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.form-control {
  padding: .75rem 1rem;
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-glow);
}

.payment-methods { display: flex; flex-direction: column; gap: var(--sp-3); }
.payment-option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}
.payment-option.active, .payment-option:hover { border-color: var(--clr-accent); background: var(--clr-accent-glow); }
.payment-option input[type="radio"] { accent-color: var(--clr-accent); }
.payment-option__icon { font-size: var(--fs-xl); }
.payment-option__label { font-weight: var(--fw-medium); }
.payment-option__desc { font-size: var(--fs-xs); color: var(--clr-text-muted); }

/* ============================================================
   MY ACCOUNT
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.account-nav {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.account-nav__user {
  padding: var(--sp-6);
  border-bottom: 1px solid var(--clr-border);
  text-align: center;
}
.account-avatar {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #fff;
  margin: 0 auto var(--sp-3);
}
.account-nav__links a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  transition: all var(--transition);
  text-decoration: none;
}
.account-nav__links a:hover, .account-nav__links a.active {
  color: var(--clr-accent);
  background: var(--clr-accent-glow);
}

.account-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
}
.account-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-6);
}
.breadcrumbs a { color: var(--clr-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--clr-accent); }
.breadcrumbs__sep { color: var(--clr-border); }
.breadcrumbs__current { color: var(--clr-text-heading); font-weight: var(--fw-medium); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-bg-dark);
  aspect-ratio: 3/4;
  cursor: pointer;
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .6;
  transition: all var(--transition-slow);
}
.category-card:hover img { opacity: .4; transform: scale(1.06); }
.category-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-6);
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
}
.category-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--sp-1);
}
.category-card__count { font-size: var(--fs-xs); color: rgba(255,255,255,.7); }
.category-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
}
.feature-card:hover { border-color: var(--clr-accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-glow);
  border-radius: var(--radius-md);
  color: var(--clr-accent);
  font-size: var(--fs-xl);
}
.feature-card h4 { font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.feature-card p { font-size: var(--fs-sm); color: var(--clr-text-muted); line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); }
.testimonial-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
  transition: all var(--transition-slow);
}
.testimonial-card:hover { border-color: var(--clr-accent); box-shadow: var(--shadow-md); }
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--clr-accent-light);
  opacity: .3;
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
}
.testimonial-card__stars { color: #f59e0b; margin-bottom: var(--sp-3); }
.testimonial-card__text {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-5);
}
.testimonial-card__author { display: flex; align-items: center; gap: var(--sp-3); }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.author-name { font-weight: var(--fw-semibold); font-size: var(--fs-sm); color: var(--clr-text-heading); }
.author-title { font-size: var(--fs-xs); color: var(--clr-text-muted); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--clr-bg-dark);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,120,212,.25) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter h2, .newsletter p { color: #fff; position: relative; }
.newsletter p { color: rgba(255,255,255,.7); }
.newsletter-form {
  display: flex;
  gap: var(--sp-3);
  max-width: 480px;
  margin: var(--sp-8) auto 0;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  padding: .85rem 1.25rem;
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { outline: none; border-color: var(--clr-accent-light); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-bg-dark);
  color: rgba(255,255,255,.75);
  padding-top: var(--sp-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .site-logo { margin-bottom: var(--sp-5); }
.footer-brand p { font-size: var(--fs-sm); line-height: 1.7; max-width: 280px; }
.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.social-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  font-size: var(--fs-sm);
}
.social-btn:hover { background: var(--clr-accent); border-color: var(--clr-accent); color: #fff; }

.footer-col h5 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--clr-accent-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: var(--sp-5); }
.footer-bottom-links a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   NOTIFICATIONS / WOOCOMMERCE NOTICES
   ============================================================ */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
}
.woocommerce-message { background: rgba(16,124,16,.07); border-color: var(--clr-success); color: var(--clr-success); }
.woocommerce-error { background: rgba(216,59,1,.07); border-color: var(--clr-warning); color: var(--clr-warning); }
.woocommerce-info { background: var(--clr-accent-glow); border-color: var(--clr-accent); color: var(--clr-accent); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  margin-top: var(--sp-12);
}
.page-num {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.page-num:hover, .page-num.active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}
.page-num--prev, .page-num--next { width: auto; padding: 0 var(--sp-4); }

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
@keyframes skeleton-pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}
.skeleton {
  background: var(--clr-bg-alt);
  border-radius: var(--radius-sm);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* ============================================================
   DARK MODE
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --clr-bg: #111113;
    --clr-bg-alt: #1a1a1c;
    --clr-bg-card: #1c1c1e;
    --clr-text: #e0e0e0;
    --clr-text-muted: #888;
    --clr-text-heading: #f5f5f5;
    --clr-border: #2c2c2e;
    --clr-accent-glow: rgba(0,120,212,.2);
  }
  .site-header { background: rgba(17,17,19,.95); }
  .product-card, .feature-card, .testimonial-card, .filter-sidebar,
  .cart-summary, .checkout-section, .account-nav, .account-card {
    background: var(--clr-bg-card);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .single-product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-search input { width: 160px; }
  .hero__media { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row--2col, .form-row--3col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .newsletter { padding: var(--sp-10) var(--sp-6); }
  .newsletter-form { flex-direction: column; }
  .hero__actions { flex-direction: column; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .filter-sidebar, .cart-summary { display: none; }
  .shop-layout, .cart-layout, .checkout-layout { display: block; }
}

/* ════════════════════════════════════════════════
   DEVELOPER TEAM SECTION
════════════════════════════════════════════════ */
.devcom-team-section {
  background: linear-gradient(180deg, #060c18 0%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}
.devcom-team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,120,212,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,120,212,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Section lead paragraph */
.devcom-team-lead {
  max-width: 720px;
  margin: 1rem auto 0;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: center;
}

/* ── Values strip ─────────────────────────────── */
.devcom-team-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0 4rem;
}
.devcom-value-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.devcom-value-card:hover {
  border-color: rgba(0,120,212,.4);
  transform: translateY(-3px);
}
.devcom-value-card__icon {
  font-size: 1.75rem;
  margin-bottom: .75rem;
}
.devcom-value-card h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 .6rem;
}
.devcom-value-card p {
  font-size: .825rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ── Team grid ─────────────────────────────────── */
.devcom-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.devcom-team-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.devcom-team-card:hover {
  border-color: rgba(0,120,212,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  transform: translateY(-4px);
}

/* Avatar + name row */
.devcom-team-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.devcom-team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.devcom-team-avatar span {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.devcom-team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 .2rem;
  line-height: 1.2;
}
.devcom-team-role {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* Bio */
.devcom-team-bio {
  font-size: .825rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Skill tags */
.devcom-team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.devcom-skill-tag {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 20px;
  border: 1px solid;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* CTA */
.devcom-team-cta {
  text-align: center;
  padding: 2.5rem;
  background: rgba(0,120,212,.06);
  border: 1px solid rgba(0,120,212,.2);
  border-radius: 16px;
}
.devcom-team-cta p {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0 0 1.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .devcom-team-values { grid-template-columns: repeat(2, 1fr); }
  .devcom-team-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .devcom-team-values { grid-template-columns: 1fr; }
  .devcom-team-grid   { grid-template-columns: 1fr; }
}
/* Menü yatay fix */
.primary-nav > ul,
#primary-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 64px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--clr-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.primary-nav > ul > li > a:hover { color: var(--clr-accent); }
/* Sub-menu gizle */
.primary-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 8px;
  min-width: 180px;
  z-index: 999;
  padding: .5rem 0;
}
.primary-nav ul li:hover > ul { display: block; }
.primary-nav ul ul li a {
  display: block;
  padding: .6rem 1.25rem;
  color: #1e293b;
  font-size: .875rem;
  white-space: nowrap;
}
.primary-nav ul ul li a:hover { color: #0078d4; background: #f8fafc; }
