/*
Theme Name: PHONEEX
Theme URI: https://phoneex.org
Description: Mobile Phone, Accessories & Electronics Trading WooCommerce child theme — PHONEEX
Author: PHONEEX
Template: storefront
Version: 1.0.0
Text Domain: phoneex-mobile
*/

:root {
  --phx-primary: #7c3aed;
  --phx-primary-dark: #5b21b6;
  --phx-primary-light: #a78bfa;
  --phx-accent: #06b6d4;
  --phx-dark: #1e1b4b;
  --phx-light: #f5f3ff;
  --phx-border: #ddd6fe;
  --phx-white: #ffffff;
}

body.phx-layout,
body.phx-layout button,
body.phx-layout input,
body.phx-layout select,
body.phx-layout textarea {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: #333;
}

.phx-topbar {
  background: var(--phx-primary-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.phx-topbar a { color: #fff; text-decoration: none; }
.phx-topbar .col-full { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.phx-logo-text { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--phx-dark); }
.phx-logo-icon {
  width: 72px; height: 72px; border-radius: 12px;
  background: var(--phx-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; overflow: hidden;
}
.phx-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.phx-logo-name { font-size: 22px; font-weight: 700; line-height: 1.2; }
.phx-logo-tag { font-size: 12px; color: var(--phx-primary); }

.phx-hero {
  background: linear-gradient(135deg, var(--phx-light) 0%, #fff 100%);
  padding: 48px 0;
}
.phx-hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; gap: 32px; align-items: center;
}
.phx-hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; color: var(--phx-dark); }
.phx-hero h1 span { color: var(--phx-primary); }
.phx-hero-badge {
  display: inline-block; background: var(--phx-primary); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; margin-bottom: 12px;
}
.phx-btn {
  display: inline-block; background: var(--phx-primary); color: #fff !important;
  padding: 12px 24px; border-radius: 8px; text-decoration: none; margin-right: 8px; margin-top: 8px;
}
.phx-btn-outline {
  background: transparent; color: var(--phx-primary) !important;
  border: 2px solid var(--phx-primary);
}
.phx-hero-card {
  background: #fff; border: 1px solid var(--phx-border); border-radius: 16px;
  padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.phx-hero-card .icon { font-size: 48px; margin-bottom: 8px; }

.phx-delivery-banner {
  background: var(--phx-primary-dark); color: #fff; text-align: center;
  padding: 12px 16px; font-size: 14px;
}
.phx-delivery-banner span { opacity: .7; margin: 0 8px; }

.phx-section { padding: 40px 0; }
.phx-section h2 { text-align: center; margin-bottom: 8px; color: var(--phx-dark); }
.phx-section .sub { text-align: center; color: #666; margin-bottom: 24px; }

.phx-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.phx-cat-card {
  background: #fff; border: 1px solid var(--phx-border); border-radius: 12px;
  padding: 16px; text-align: center; text-decoration: none; color: var(--phx-dark);
  transition: transform .2s, box-shadow .2s;
}
.phx-cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }

.phx-features {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.phx-feature {
  background: var(--phx-light); border-radius: 12px; padding: 20px; text-align: center;
}
.phx-feature .icon { font-size: 32px; }

.phx-footer {
  background: var(--phx-dark); color: #e5e7eb; padding: 40px 0 20px;
}
.phx-footer a { color: #fff; }
.phx-footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.phx-footer-bottom {
  text-align: center; margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15); font-size: 13px;
}
.phx-stock-in { color: #15803d; font-size: 13px; }
.phx-stock-out { color: #b91c1c; font-size: 13px; }

/* Layout: tech */

        .phx-hero { background: var(--phx-dark); color: #fff; }
        .phx-hero h1, .phx-hero p { color: #fff; }
        .phx-hero h1 span { color: var(--phx-primary-light); }
        .phx-hero-inner { grid-template-columns: 1fr 1fr; }
        .phx-cat-card { border-radius: 8px; }
/* === Level C unique layout v4.3.1 — PHONEEX === */

.phx-header-centered .site-header .col-full { justify-content: center; text-align: center; }
.phx-header-centered .phx-logo-text { margin: 0 auto; flex-direction: column; }
.phx-header-corporate .phx-topbar { background: #1e1b4b; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.phx-header-dark-bar .phx-topbar { background: #0a0a0a; }
.phx-header-elegant .phx-logo-name { font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.phx-header-playful .phx-logo-icon { border-radius: 50%; }
.phx-header-bold .phx-logo-name { text-transform: uppercase; font-weight: 800; }
.phx-home-hero { margin-bottom: 0; }
.phx-home-cats, .phx-home-features, .phx-home-products { padding: 48px 0; }
.phx-hero-dark { background: #1e1b4b; color: #fff; padding: 72px 0; }
.phx-hero-dark h1 span { color: #a78bfa; }
.phx-hero-dark .phx-btn { background: #7c3aed; box-shadow: 0 0 20px #7c3aed55; }
.phx-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.phx-feature { background: #f5f3ff; padding: 20px; border-radius: 12px; text-align: center; }
.phx-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.phx-cat-card { background: #fff; border: 1px solid #ddd6fe; border-radius: 12px; overflow: hidden; text-decoration: none; color: #1e1b4b; }
.phx-cat-card img { width: 100%; height: 120px; object-fit: cover; }
.phx-cat-card span { display: block; padding: 12px; font-weight: 600; }
.phx-cats-neon { background: #1e1b4b; color: #fff; }
.phx-cats-neon h2 { color: #fff; }
.phx-neon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.phx-neon-tile { border: 1px solid #7c3aed; box-shadow: 0 0 12px #7c3aed66; padding: 20px; text-align: center; text-decoration: none; color: #a78bfa; font-weight: 600; }
@media (max-width: 768px) { .phx-hero-split-inner, .phx-warm-inner, .phx-textile-inner, .phx-package-row, .phx-mosaic, .phx-gender-cols, .phx-lookbook-row, .phx-it-showcase, .phx-occasion-grid, .phx-vehicle-grid, .phx-solution-grid, .phx-ftr-grid, .phx-ftr-2col, .phx-ftr-ind-grid, .phx-ftr-dual-cols { grid-template-columns: 1fr; } }

/* === v3 unique chrome === */
.phx-tb-it{background:#1e1b4b;color:#a78bfa;padding:8px}
.phx-hdr-neon{background:#1e1b4b;padding:16px 0}.phx-hdr-neon-box{color:#a78bfa;text-decoration:none;font-size:22px;font-weight:700;border:1px solid #7c3aed;padding:8px 16px;display:inline-block;box-shadow:0 0 16px #7c3aed55}
.phx-ftr-dark{background:#1e1b4b;color:#fff;padding:16px 0}
.phx-feat-neon{background:#1e1b4b;padding:32px 0}.phx-feat-neon-band{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.phx-feat-neon-band span{border:1px solid #7c3aed;color:#a78bfa;padding:10px 16px}
.phx-prod-dark{background:#1e1b4b;color:#fff;padding:32px 0}.phx-prod-dark-wrap{padding-top:16px}
.phx-prod-dark ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.phx-prod-dark ul.products li.product{background:#111;border:1px solid #7c3aed;border-radius:12px;padding:14px;text-align:center;color:#fff}
.phx-prod-dark ul.products li.product .woocommerce-loop-product__title{color:#fff}
.phx-prod-dark ul.products li.product .price{color:#a78bfa}
.phx-prod-dark ul.products li.product .button{background:#7c3aed;color:#fff;border:none}
.phx-home-products ul.products{clear:both;margin:0;padding:0;list-style:none}
.phx-home-products ul.products::before,.phx-home-products ul.products::after{display:none!important}
.phx-home-products ul.products li.product{float:none!important;width:auto!important;margin:0!important;clear:none!important}
.phx-home-products ul.products li.product a img{border-radius:inherit}
.phx-home-products ul.products li.product .button{border-radius:8px}
.phx-hdr-brand{padding:12px 0}
.phx-hdr-brand-link{display:inline-flex;align-items:center;text-decoration:none}
.phx-hdr-brand-img{max-height:88px;width:auto;max-width:min(240px,100%);display:block}
.phx-hdr-icon img,.phx-hdr-ring img{max-width:100%;max-height:100%;object-fit:contain}
.phx-compliance-footer{font-size:13px;line-height:1.6}
.phx-company-info-grid{margin-bottom:18px;padding-bottom:18px}
.phx-company-info-title{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.phx-company-info-block p{margin:0 0 8px}
.phx-company-label{font-weight:700}
.phx-legal-nav{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:14px}
.phx-legal-nav a{text-decoration:none}
.phx-compliance-copy{margin:0;font-size:12px}
@media(max-width:768px){.phx-company-info-grid{grid-template-columns:1fr!important}}
.phx-compliance-tech-compact{background:#0f1419;color:#e8f0ff;padding:22px 0 16px;border-top:2px solid #7c3aed}
.phx-compliance-tech-compact .phx-company-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border-bottom:1px solid rgba(0,180,255,.25)}
.phx-compliance-tech-compact .phx-company-info-block{border-left:3px solid #7c3aed;padding-left:12px}
.phx-compliance-tech-compact a{color:#a78bfa}
.phx-compliance-tech-compact .phx-legal-nav{justify-content:flex-start;font-family:monospace;font-size:12px}
.phx-compliance-tech-compact .phx-compliance-copy{opacity:.55}
.phx-payment-banners{background:#0a0a0a;padding:16px 0;border-top:1px solid #7c3aed}
.phx-payment-banner{padding:10px;border:1px solid rgba(0,180,255,.3);margin:0 12px 8px;border-radius:6px}

/* === v4 pages: nav, cart, checkout, shop === */
.phx-nav-neon{display:flex;gap:8px;padding:12px 0;background:#1e1b4b;margin:0 -999px;padding-left:999px;padding-right:999px}
.phx-nav-neon a{color:#f5f3ff;text-decoration:none;padding:8px 16px;border:1px solid #7c3aed
.phx-pg-cart-banner{margin-bottom:24px;padding:20px;background:#f5f3ff;border-radius:12px}
.phx-pg-cart-banner h1{margin:0 0 8px}
.phx-shop-head{margin-bottom:24px;padding-bottom:16px}
.phx-pg-shop .products li.product{border-radius:12px;overflow:hidden}
.phx-pg-shop-dark-grid .phx-shop-head h1{color:#7c3aed}
.phx-pg-checkout-banner{margin-bottom:24px;padding:24px;background:#f5f3ff;border-radius:12px}
.phx-woocommerce-checkout .col2-set{display:grid;gap:24px}
.phx-pg-checkout-banner span{display:block;font-size:12px;opacity:.7;margin-bottom:8px}
.phx-pg-checkout-banner{background:#fff;border:2px solid #7c3aed}
.phx-pg-checkout-banner{background:#1e1b4b;color:#fff}
.phx-pg-checkout-banner h1{color:#fff}
.phx-pg-product-banner{margin-bottom:16px;padding:12px 16px;background:#f5f3ff;border-left:4px solid #7c3aed}
.phx-pg-account-banner{margin-bottom:20px}
.phx-pg-account-banner h1{margin:0}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;margin-bottom:4px;background:#f5f3ff;text-decoration:none;color:#1e1b4b;border-radius:8px}
.phx-chrome-v4 .storefront-primary-navigation,.phx-chrome-v4 .site-search{display:none!important}
.phx-chrome-v4 .site-header-cart{display:none!important}
.phx-nav a:hover{opacity:.85}
.phx-pg-cart-banner,.phx-pg-checkout-banner,.phx-pg-account-banner{margin-bottom:24px}
.phx-chrome-v4 .wp-block-woocommerce-cart,.phx-chrome-v4 .wp-block-woocommerce-checkout{border-radius:12px}