
/*
Theme Name: WowFinds Modern Discovery v6
Theme URI: https://wowfinds123.com/
Author: OpenAI
Description: A custom WordPress block theme for WowFinds, designed in the Modern Discovery style with a strong header, product-forward homepage, featured finds, latest finds, and a branded footer.
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wowfinds-modern-discovery
Tags: block-patterns, full-site-editing, blog, e-commerce, custom-colors, custom-logo, wide-blocks
*/

:root {
  --wf-ink: #191c33;
  --wf-purple: #5b3fc8;
  --wf-purple-dark: #40269b;
  --wf-purple-soft: #f4f0ff;
  --wf-accent: #f7c948;
  --wf-muted: #677085;
  --wf-line: #dfdeea;
  --wf-bg: #ffffff;
  --wf-soft: #faf8ff;
  --wf-radius-lg: 24px;
  --wf-radius-md: 18px;
  --wf-radius-sm: 14px;
  --wf-shadow: 0 18px 38px rgba(28, 27, 51, 0.08);
}

html { scroll-behavior: smooth; }
body {
  color: var(--wf-ink);
  background: var(--wf-bg);
}

.wp-site-blocks {
  overflow-x: hidden;
}

.wf-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--wf-line);
}

.wf-header-top {
  padding-top: 18px;
  padding-bottom: 14px;
}

.wf-site-title {
  line-height: 1;
}

.wf-site-title a {
  text-decoration: none;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wf-top-actions .wp-block-button__link {
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
}

.wf-home-btn .wp-block-button__link {
  background: transparent;
  color: var(--wf-ink);
  border: 1px solid var(--wf-ink);
}

.wf-shop-btn .wp-block-button__link {
  background: var(--wf-accent);
  color: var(--wf-ink);
  border: 1px solid var(--wf-accent);
}

.wf-header-search .wp-block-search__inside-wrapper {
  border-radius: 999px;
  border: 1px solid var(--wf-line);
  padding: 4px;
}

.wf-header-search .wp-block-search__input {
  border: none !important;
}

.wf-header-search .wp-block-search__button {
  border-radius: 999px;
  background: var(--wf-purple);
  color: white;
  margin-left: 6px;
}

.wf-category-bar {
  border-top: 1px solid var(--wf-line);
  border-bottom: 1px solid var(--wf-line);
  background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.wf-category-bar .wp-block-navigation {
  justify-content: center;
  gap: 1.4rem;
}

.wf-category-bar .wp-block-navigation-item__content {
  color: var(--wf-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.wf-category-bar .wp-block-navigation-item__content:hover {
  color: var(--wf-purple);
}

.wf-main-wrap {
  padding-top: 0;
}

.wf-hero-section {
  padding-top: 52px;
  padding-bottom: 54px;
  background: linear-gradient(180deg, #fff 0%, var(--wf-soft) 100%);
}

.wf-hero-columns {
  gap: 3rem;
}

.wf-eyebrow {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wf-purple);
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 12px;
}

.wf-hero-heading {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -0.05em;
  margin-top: 0;
  margin-bottom: 20px;
}

.wf-hero-copy {
  font-size: 1.18rem;
  line-height: 1.72;
  color: #3f4a61;
}

.wf-hero-cta .wp-block-button__link {
  background: var(--wf-purple);
  color: #fff;
  padding: .9rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
}

.wf-hero-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--wf-shadow);
}

.wf-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.wf-section-heading {
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.wf-section-subtext {
  color: var(--wf-muted);
  margin-top: 0;
  margin-bottom: 28px;
}

.wf-product-query .wp-block-post-template,
.wf-latest-query .wp-block-post-template {
  gap: 22px;
}

.wf-product-card {
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius-md);
  padding: 14px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  background: white;
  height: 100%;
}

.wf-product-card:hover {
  box-shadow: var(--wf-shadow);
  transform: translateY(-2px);
}

.wf-product-card .wp-block-post-featured-image {
  margin-top: 0;
  margin-bottom: 14px;
}

.wf-product-card .wp-block-post-featured-image img {
  border-radius: 16px;
}

.wf-product-card .wp-block-post-title {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 10px;
}

.wf-product-card .wp-block-post-title a {
  color: var(--wf-ink);
  text-decoration: none;
}

.wf-product-card .wp-block-post-excerpt,
.wf-product-card .wp-block-post-excerpt__excerpt {
  color: var(--wf-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.wf-product-card .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--wf-purple);
  font-weight: 700;
  text-decoration: none;
}

.wf-latest-wrap {
  background: var(--wf-purple-soft);
}

.wf-footer {
  background: linear-gradient(180deg, #2b1f63 0%, #201548 100%);
  color: #fff;
  padding-top: 56px;
  padding-bottom: 28px;
}

.wf-footer h2,
.wf-footer h3,
.wf-footer h4,
.wf-footer p,
.wf-footer li {
  color: #fff;
}

.wf-footer-copy {
  color: rgba(255,255,255,.84) !important;
  line-height: 1.65;
}

.wf-footer-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 22px;
}

.wf-footer-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.wf-faux-form input,
.wf-faux-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  padding: 12px 13px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.96);
  color: var(--wf-ink);
  font: inherit;
}

.wf-faux-form textarea {
  min-height: 130px;
  resize: vertical;
}

.wf-faux-form button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--wf-accent);
  color: var(--wf-ink);
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
}

.wf-footer-note {
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 24px;
  padding-top: 20px;
  color: rgba(255,255,255,.72);
  font-size: .92rem;
}

@media (max-width: 781px) {
  .wf-header-top .wp-block-columns,
  .wf-hero-columns,
  .wf-footer .wp-block-columns {
    gap: 1.4rem;
  }

  .wf-header-search {
    width: 100%;
  }

  .wf-header-search .wp-block-search {
    width: 100%;
  }

  .wf-category-bar .wp-block-navigation {
    justify-content: flex-start;
  }
}


/* WordPress.com frontend-strength overrides */
.wf-site-header { background: rgba(255,255,255,.98) !important; border-bottom: 1px solid var(--wf-line) !important; }
.wf-header-top { padding-top: 18px !important; padding-bottom: 14px !important; }
.wp-block-site-title.wf-site-title,
.wf-site-title { margin: 0 !important; }
.wp-block-site-title.wf-site-title a,
.wf-site-title a {
  font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
  line-height: .92 !important;
  font-weight: 850 !important;
  letter-spacing: -0.05em !important;
  color: var(--wf-ink) !important;
}
.wf-top-actions .wp-block-button__link { border-radius: 999px !important; padding: .9rem 1.35rem !important; }
.wf-home-btn .wp-block-button__link { background: transparent !important; color: var(--wf-ink) !important; border: 1.5px solid var(--wf-ink) !important; }
.wf-shop-btn .wp-block-button__link { background: var(--wf-accent) !important; color: var(--wf-ink) !important; border: 1.5px solid var(--wf-accent) !important; }
.wf-header-search .wp-block-search__inside-wrapper { border-radius: 999px !important; border: 1px solid var(--wf-line) !important; padding: 4px !important; background:#fff !important; }
.wf-header-search .wp-block-search__button { background: var(--wf-purple) !important; color:#fff !important; border-radius:999px !important; }
.wf-category-bar { background: linear-gradient(180deg,#fff 0%,#faf9ff 100%) !important; border-top:1px solid var(--wf-line) !important; border-bottom:1px solid var(--wf-line) !important; padding-top:10px !important; padding-bottom:10px !important; }
.wf-category-bar .wp-block-navigation-item__content { color: var(--wf-muted) !important; font-weight:650 !important; }
.wf-hero-section { background: linear-gradient(180deg,#fff 0%,var(--wf-soft) 100%) !important; padding-top:42px !important; padding-bottom:54px !important; }
.wf-hero-columns { align-items:flex-start !important; gap:3rem !important; }
.wf-hero-heading { font-size:clamp(2.6rem,5.4vw,4.8rem) !important; line-height:1 !important; letter-spacing:-.045em !important; margin-top:0 !important; }
.wf-hero-copy { font-size:1.13rem !important; line-height:1.68 !important; color:#3f4a61 !important; }
.wf-hero-image img { max-height:610px !important; object-fit:cover !important; object-position:center !important; border-radius:28px !important; box-shadow:var(--wf-shadow) !important; }
.wf-section { padding-top:54px !important; padding-bottom:54px !important; }
.wf-product-card { border:1px solid var(--wf-line) !important; border-radius:18px !important; padding:14px !important; background:#fff !important; }
.wf-product-card .wp-block-post-title { font-size:1.1rem !important; line-height:1.25 !important; margin-bottom:8px !important; }
.wf-product-card .wp-block-post-title a { color:var(--wf-ink) !important; text-decoration:none !important; }
.wf-product-card .wp-block-post-excerpt,
.wf-product-card .wp-block-post-excerpt__excerpt { color:var(--wf-muted) !important; font-size:.98rem !important; line-height:1.5 !important; }
.wf-product-card .wp-block-post-excerpt__more-link { color:var(--wf-purple) !important; font-weight:750 !important; }
.wf-latest-wrap { background:var(--wf-purple-soft) !important; }
.wf-footer { background:linear-gradient(180deg,#2b1f63 0%,#201548 100%) !important; color:#fff !important; padding-top:56px !important; padding-bottom:28px !important; }
.wf-footer .wp-block-heading,
.wf-footer h1,.wf-footer h2,.wf-footer h3,.wf-footer h4,
.wf-footer p,.wf-footer strong { color:#fff !important; }
.wf-footer-copy { color:rgba(255,255,255,.84) !important; }
.wf-footer-card { background:rgba(255,255,255,.08) !important; border:1px solid rgba(255,255,255,.13) !important; border-radius:18px !important; padding:22px !important; }
.wf-faux-form input,.wf-faux-form textarea { box-sizing:border-box !important; width:100% !important; border-radius:12px !important; border:1px solid rgba(255,255,255,.18) !important; padding:12px 13px !important; margin-bottom:10px !important; background:#fff !important; color:var(--wf-ink) !important; }
.wf-faux-form button { width:100% !important; border:0 !important; border-radius:12px !important; background:var(--wf-accent) !important; color:var(--wf-ink) !important; padding:12px 14px !important; font-weight:750 !important; }
.wf-footer-note { color:rgba(255,255,255,.72) !important; border-top:1px solid rgba(255,255,255,.16) !important; }

@media (max-width: 781px) {
  .wp-block-site-title.wf-site-title a,.wf-site-title a { font-size:2.8rem !important; }
  .wf-hero-columns { align-items:stretch !important; }
  .wf-hero-image img { max-height:520px !important; }
}


.wf-curated-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.wf-curated-grid .wf-product-card {
  margin: 0;
}

.wf-curated-grid .wf-post-thumb {
  display: block;
  margin-bottom: 14px;
}

.wf-curated-grid .wf-post-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.wf-curated-grid .wf-post-title {
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 10px;
}

.wf-curated-grid .wf-post-title a {
  color: var(--wf-ink);
  text-decoration: none;
}

.wf-curated-grid .wf-post-excerpt {
  color: var(--wf-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.wf-curated-grid .wf-post-excerpt a {
  display: inline-block;
  margin-top: 12px;
  color: var(--wf-purple);
  font-weight: 700;
  text-decoration: none;
}

.wf-empty-note {
  color: var(--wf-muted);
  background: #fff;
  border: 1px dashed var(--wf-line);
  border-radius: 16px;
  padding: 18px;
}

@media (max-width: 1100px) {
  .wf-curated-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .wf-curated-grid {
    grid-template-columns: 1fr;
  }
}


/* v6: B”s D and footer contact */
.wf-bsd-row {
  padding-top: 5px;
  padding-bottom: 0;
}
.wf-bsd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--wf-ink);
  text-align: right;
}
.wf-footer-email a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
