/*
Theme Name: Bizah (Storefront Child)
Template: storefront
Description: Kikkerland-inspired gift shop child theme - white canvas, product photography as the primary visual element, shop-by-price and shop-by-category homepage sections.
Version: 1.0.1
Text Domain: bizah
*/

:root {
  --bizah-ink: #1a1a1a;
  --bizah-muted: #6b6b6b;
  --bizah-line: #e6e6e6;
  --bizah-bg: #ffffff;
  --bizah-accent: #2f7d5e; /* small green accent, echoes Kikkerland's logo mark without copying it */
}

body {
  background: var(--bizah-bg);
  color: var(--bizah-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

a { color: inherit; }

/* Header - simplified, product-first: logo, nav, icons, no heavy chrome */
#masthead.site-header {
  background: var(--bizah-bg);
  border-bottom: 1px solid var(--bizah-line);
  box-shadow: none;
}
.site-branding .site-title a {
  color: var(--bizah-ink);
  font-weight: 700;
  letter-spacing: -.01em;
}
.main-navigation ul li a {
  color: var(--bizah-ink);
  font-size: .92rem;
  text-transform: none;
}

/* Hero */
.bizah-hero {
  padding: 72px 24px;
  text-align: center;
  border-bottom: 1px solid var(--bizah-line);
}
.bizah-hero__inner {
  max-width: 640px;
  margin: 0 auto;
}
.bizah-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
  letter-spacing: -.02em;
}
.bizah-hero p {
  color: var(--bizah-muted);
  font-size: 1.05rem;
  margin: 0 0 28px;
}

.bizah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s ease;
}
.bizah-btn--primary {
  background: var(--bizah-ink);
  color: #fff;
}
.bizah-btn--primary:hover {
  opacity: .85;
  color: #fff;
}

/* Generic section wrapper */
.bizah-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
}
.bizah-section__title {
  font-size: 1.4rem;
  margin: 0 0 28px;
  text-align: center;
  letter-spacing: -.01em;
}

/* Shop-by-price tiles */
.bizah-price-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bizah-price-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  border: 1px solid var(--bizah-line);
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bizah-ink);
  transition: border-color .15s ease, transform .15s ease;
}
.bizah-price-tile:hover {
  border-color: var(--bizah-accent);
  transform: translateY(-2px);
}

/* Shop-by-category tiles */
.bizah-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bizah-category-tile {
  display: block;
  text-decoration: none;
  color: var(--bizah-ink);
}
.bizah-category-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f4f4f4;
}
.bizah-category-tile__label {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
}

/* Product grid (shop + homepage shortcode) */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px;
  list-style: none;
  margin: 0 !important;
  padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}
ul.products li.product {
  width: auto !important;
  float: none !important;
  text-align: center;
}
ul.products li.product img {
  border-radius: 12px;
  margin: 0 0 14px !important;
  background: #f4f4f4;
  aspect-ratio: 1;
  object-fit: cover;
}
ul.products li.product .woocommerce-loop-product__title {
  font-size: .98rem;
  font-weight: 600;
  color: var(--bizah-ink);
  margin: 0 0 4px;
}
ul.products li.product .price {
  color: var(--bizah-muted);
  font-size: .92rem;
}
.woocommerce ul.products li.product .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 12px !important;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bizah-ink);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 600;
  border: none;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--bizah-accent);
}

/* Footer widget areas - keep light, on-brand */
#colophon.site-footer {
  background: var(--bizah-bg);
  border-top: 1px solid var(--bizah-line);
  color: var(--bizah-muted);
}
#colophon.site-footer a {
  color: var(--bizah-ink);
}

/* Polylang language switcher widget - simple inline pill list */
.widget_polylang ul {
  display: flex;
  gap: 12px;
  justify-content: center;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  font-size: .82rem;
}

@media (max-width: 860px) {
  .bizah-category-grid { grid-template-columns: repeat(2, 1fr); }
  ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .bizah-price-tiles { grid-template-columns: 1fr; }
  .bizah-hero h1 { font-size: 1.9rem; }
}

/* Storefront's own .col-full wrapper (header/footer/site content) caps at ~1063px - narrower
   than this theme's .bizah-section (1200px), so header/footer looked narrower than the
   homepage sections. Widened both to a consistent, wider layout. */
.col-full {
  max-width: 1440px !important;
}

.bizah-section {
  max-width: 1360px;
}

.bizah-hero__inner {
  max-width: 720px;
}

/* Language switcher (Polylang widget, "Below Header" region) - was rendering as a bare
   left-aligned list floating alone in its own full-width row. Right-aligned, compact, with a
   thin bottom border so it reads as an intentional top utility bar instead of stray content. */
.header-widget-region {
  border-bottom: 1px solid var(--bizah-line);
}
.header-widget-region .col-full {
  max-width: 1440px;
}
.widget_polylang ul {
  justify-content: flex-end;
}
