/*
Theme Name: SPN Brand
Theme URI: https://spnbrand.co.uk
Author: SPN
Description: Clean, modern SPN activewear theme (black & pink). Auto-creates pages on activation.
Version: 1.0.0
Text Domain: spnbrand
*/

:root{
  --black:#111111;
  --pink:#ff2e6a;
  --text:#111111;
  --bg:#ffffff;
}

*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}

a{color:var(--black);text-decoration:none}
.container{width:min(1200px,92%);margin:0 auto}

.header{border-bottom:1px solid #eee;background:#fff;position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.header .logo{display:flex;align-items:center;gap:10px}
.header .logo img{height:36px;border-radius:999px}
.header nav a{margin-left:18px;font-weight:600}
.header .btn{margin-left:16px}

.hero{position:relative;height:68vh;min-height:520px;display:grid;place-items:center;overflow:hidden}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.65),rgba(255,255,255,.85))}
.hero .content{position:relative;text-align:center;padding:0 16px}
.hero h1{font-size:48px;line-height:1.08;margin:0 0 10px}
.hero p{font-size:18px;margin:0 0 18px}

.btn{display:inline-block;padding:12px 22px;border-radius:999px;border:2px solid var(--black);background:var(--black);color:#fff;font-weight:700}
.btn:hover{opacity:.92}
.btn-outline{background:#fff;color:var(--black)}

.section{padding:48px 0}
.section h2{margin:0 0 18px;text-align:center;font-size:30px}

.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:900px){.grid-2{grid-template-columns:1fr}}

.card{border:1px solid #eee;border-radius:16px;overflow:hidden;background:#fff}
.card img{width:100%;aspect-ratio:4/5;object-fit:cover}
.card .padded{padding:16px}
.card h3{margin:0 0 8px}
.card .price{color:var(--pink);font-weight:700}

.footer{background:#fafafa;border-top:1px solid #eee;margin-top:32px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:12px}
.footer .logo img{height:28px;border-radius:999px}
@media(max-width:900px){.footer-inner{flex-direction:column}}
/* v1.0.1 header/menu fix */

.header{border-bottom:1px solid #eee;background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.header .logo img,.custom-logo{height:44px;width:auto;border-radius:999px}
.header nav ul.menu{list-style:none;margin:0;padding:0;display:flex;gap:18px;align-items:center}
.header nav ul.menu li{margin:0;padding:0}
.header nav ul.menu li a{font-weight:600}
@media(max-width:900px){.header-inner{flex-direction:column;gap:10px}}

/* v1.0.2: remove header CTA, refine nav spacing */
.header nav ul.menu{gap:24px}
.header nav ul.menu li a:hover{opacity:.7}


/* v1.0.3 WooCommerce shop layout */
.woocommerce ul.products{gap:18px}
.woocommerce ul.products li.product{border:1px solid #eee;border-radius:12px;padding:12px;background:#fff}
.woocommerce .woocommerce-breadcrumb{display:none}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{margin-bottom:12px}


/* v1.1 Branding: black + soft pink */
:root{ --pink:#f7b6c2; }
.btn{ background:#000; border-color:#000; color:#fff }
.btn:hover{ background:var(--pink); border-color:var(--pink); color:#000 }
.price, .woocommerce div.product p.price, .woocommerce div.product span.price{ color:var(--pink) }

/* Footer in soft pink */
.footer{ background:var(--pink); border-top:none }
.footer a{ color:#000 }

/* Single product layout tweaks */
.woocommerce div.product{ gap:24px }
.woocommerce div.product .product_title{ margin-bottom:8px }
.woocommerce div.product .summary .cart .single_add_to_cart_button{
  background:#000; border:2px solid #000; border-radius:999px; padding:12px 22px; font-weight:700;
}
.woocommerce div.product .summary .cart .single_add_to_cart_button:hover{
  background:var(--pink); border-color:var(--pink); color:#000;
}

/* Badges and notices */
.woocommerce div.woocommerce-notices-wrapper .woocommerce-message{ border-left:4px solid var(--pink) }

/* Mobile header spacing */
@media(max-width:900px){
  .header-inner{ flex-direction:column; gap:12px }
}
