/*
Theme Name: WPFlow Canary 11 OceanWP Child
Description: Fresh OceanWP child theme for Canary 11 WooCommerce testing.
Version: 1.0.1
Template: oceanwp
Text Domain: wpflow-canary11-oceanwp-child
*/

:root {
  --wpflow-accent: #c64634;
  --wpflow-accent-dark: #a8392b;
  --wpflow-surface: #f6f1ea;
  --wpflow-copy: #2d2a26;
}

body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #respond input#submit,
body .elementor-button,
body .wp-block-button__link {
  background: var(--wpflow-accent) !important;
  border-color: var(--wpflow-accent) !important;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .woocommerce #respond input#submit:hover,
body .elementor-button:hover,
body .wp-block-button__link:hover {
  background: var(--wpflow-accent-dark) !important;
  border-color: var(--wpflow-accent-dark) !important;
}

.wpflow-canary-hero {
  padding: 72px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #2d2a26 0%, #5b3c2e 100%);
  color: #fff;
  margin-bottom: 32px;
}

.wpflow-canary-hero h1,
.wpflow-canary-hero p {
  color: inherit;
}

.wpflow-page {
  color: var(--wpflow-copy);
}

.wpflow-page-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-bottom: 40px;
  padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 64px);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 233, 174, 0.46), transparent 28%),
    linear-gradient(135deg, #2d2a26 0%, #6d4d36 52%, #9b5d3d 100%);
  color: #fff;
  overflow: hidden;
}

.wpflow-page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 241, 214, 0.14);
}

.wpflow-page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.wpflow-page-hero__copy > *:last-child {
  margin-bottom: 0;
}

.wpflow-page-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wpflow-page-hero h1 {
  margin: 0 0 16px;
  color: inherit;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.wpflow-page-hero p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.7;
}

.wpflow-page-hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 48px rgba(20, 14, 9, 0.28);
  backdrop-filter: blur(6px);
}

.wpflow-page-hero__media img {
  display: block;
  width: min(100%, 440px);
  height: auto;
}

.wpflow-page-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}

.wpflow-page-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(45, 42, 38, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f6f1ea 100%);
  box-shadow: 0 18px 38px rgba(45, 42, 38, 0.08);
}

.wpflow-page-card h2 {
  margin: 0 0 12px;
  color: var(--wpflow-copy);
  font-size: 1.25rem;
}

.wpflow-page-card p {
  margin: 0;
  color: rgba(45, 42, 38, 0.86);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .wpflow-page-hero__inner,
  .wpflow-page-columns {
    grid-template-columns: 1fr;
  }

  .wpflow-page-hero h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .wpflow-page-hero__media {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .wpflow-page-hero {
    padding-inline: 20px;
  }

  .wpflow-page-card {
    padding: 24px;
  }
}

#copyright .wpflow-footer-separator {
  display: inline-block;
  margin: 0 0.3rem;
  color: var(--wpflow-accent);
}

#copyright .wpflow-footer-link {
  display: inline-flex;
  align-items: center;
  color: #d22d22;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

#copyright .wpflow-footer-link:hover,
#copyright .wpflow-footer-link:focus-visible {
  color: #f03a28;
  animation: wpflow-footer-wiggle 0.55s ease-in-out infinite;
}

#copyright .wpflow-footer-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 999px;
}

.wpflow-footer-link-follower {
  --wpflow-follow-x: -999px;
  --wpflow-follow-y: -999px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--wpflow-follow-x), var(--wpflow-follow-y), 0);
  transition: opacity 120ms ease;
}

.wpflow-footer-link-follower.is-visible {
  opacity: 1;
}

.wpflow-footer-link-follower-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 2px solid #d22d22;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(210, 45, 34, 0.18);
  color: #d22d22;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.wpflow-footer-link-follower.is-visible .wpflow-footer-link-follower-label {
  animation: wpflow-footer-wiggle 0.55s ease-in-out infinite;
}

@keyframes wpflow-footer-wiggle {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }

  25% {
    transform: rotate(-8deg) translateY(-1px);
  }

  75% {
    transform: rotate(8deg) translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #copyright .wpflow-footer-link,
  .wpflow-footer-link-follower {
    transition: none;
  }

  #copyright .wpflow-footer-link:hover,
  #copyright .wpflow-footer-link:focus-visible,
  .wpflow-footer-link-follower.is-visible .wpflow-footer-link-follower-label {
    animation: none;
  }
}
