/*
Theme Name: Custom Blade Shop
Theme URI: https://customblade.eu
Author: Custom Blade
Description: A focused WooCommerce storefront for Custom Blade table tennis products.
Version: 1.1.1
Text Domain: customblade-shop
*/

:root {
  --ink: #040714;
  --panel: #0a1026;
  --panel-soft: #101a38;
  --blue: #087cff;
  --blue-light: #42b8ff;
  --red: #ed1b2f;
  --white: #f8fbff;
  --muted: #aab8d4;
  --line: rgba(112, 170, 255, 0.2);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 35, 110, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 112, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 88% 25%, rgba(237, 27, 47, 0.13), transparent 26rem),
    var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 20, 0.82);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -0.03em; font-size: 1.25rem; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), #0641b6); box-shadow: 0 0 28px rgba(8, 124, 255, 0.5); }
.brand-mark::after { content: "CB"; font-size: 0.78rem; font-style: italic; }
.main-nav { display: flex; gap: 28px; color: var(--muted); font-weight: 650; }
.main-nav a:hover { color: var(--white); }
.cart-link { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }

.hero { min-height: 760px; display: grid; align-items: center; padding: 80px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--blue-light); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.06; letter-spacing: -0.045em; }
h1 { margin-bottom: 24px; font-size: clamp(3.5rem, 7vw, 7rem); }
h1 span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(248, 251, 255, 0.75); }
.hero-copy > p:not(.eyebrow) { max-width: 640px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--blue), #1250ce); color: white; font-weight: 800; cursor: pointer; box-shadow: 0 12px 30px rgba(8, 124, 255, 0.28);
}
.button.secondary { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 8% 0; z-index: -1; border-radius: 50%; background: rgba(0, 106, 255, 0.32); filter: blur(70px); }
.hero-art img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.launch-chip { position: absolute; top: -22px; right: -18px; z-index: 2; padding: 14px 18px; transform: rotate(3deg); background: var(--red); border-radius: 14px; font-weight: 900; text-transform: uppercase; box-shadow: 0 16px 30px rgba(237, 27, 47, 0.3); }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.trust-item { padding: 26px 18px; text-align: center; color: var(--muted); font-size: 0.82rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--white); font-size: 1rem; letter-spacing: 0; text-transform: none; }

.section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 48px; }
.section-head h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16, 26, 56, 0.82), rgba(6, 11, 28, 0.72)); }
.benefit-number { color: var(--blue-light); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.12em; }
.benefit-card h3 { margin: 38px 0 15px; font-size: 1.6rem; }
.benefit-card p { margin: 0; color: var(--muted); }

.product-spotlight { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--panel); box-shadow: var(--shadow); }
.product-visual { min-height: 560px; background: #020616; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 76px); }
.product-copy h2 { margin-bottom: 18px; font-size: clamp(3rem, 5vw, 5.5rem); }
.product-copy p { color: var(--muted); }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 32px; }
.pill { padding: 8px 12px; border-radius: 999px; background: rgba(8, 124, 255, 0.12); border: 1px solid rgba(66, 184, 255, 0.24); color: #ccecff; font-weight: 700; font-size: 0.82rem; }

.site-main { min-height: 60vh; }
.content-wrap { padding: 80px 0; }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); }
.woocommerce div.product { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--blue-light); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--blue); background: var(--panel-soft); color: var(--white); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--blue-light); }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-grid, .product-spotlight { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .launch-chip { right: 8px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1180px); }
  .header-inner { min-height: 68px; }
  .cart-link { padding: 8px 12px; font-size: 0.85rem; }
  h1 { font-size: 3.3rem; }
  .hero-grid { gap: 42px; }
  .launch-chip { top: -14px; font-size: 0.72rem; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .product-visual { min-height: 300px; }
  .footer-inner { flex-direction: column; }
}
