/*
Theme Name: Tyloo Marketing Pro
Theme URI: https://tyloo.online/
Author: Codex
Author URI: https://openai.com/
Description: A premium merchant review and marketing theme for Tyloo Online.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tyloo-marketing-pro
*/

:root {
  --ink: #151713;
  --muted: #687164;
  --paper: #f5f2eb;
  --panel: #ffffff;
  --line: #ded8cc;
  --brand: #2f5d43;
  --brand-rose: #d36b37;
  --brand-dark: #151713;
  --gold: #d8a84f;
  --green: #2f5d43;
  --blue: #203f5f;
  --deep-blue: #1c4d8f;
  --shadow: 0 24px 70px rgba(42, 38, 31, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(216,168,79,.13), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(47,93,67,.12), transparent 24%),
    linear-gradient(180deg, #fbfaf6 0%, #f5f2eb 54%, #ece6db 100%);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,246,.9);
  border-bottom: 1px solid rgba(222,216,204,.92);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.top-strip {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 18px;
  color: rgba(255,255,255,.78);
  background: #151713;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.top-strip span + span {
  position: relative;
}

.top-strip span + span:before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.nav-wrap {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #151713, #2f5d43);
  box-shadow: 0 16px 36px rgba(47,93,67,.22);
}

.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.brand-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #151713, #2f5d43);
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21,23,19,.94), rgba(21,23,19,.66)),
    radial-gradient(circle at 74% 22%, rgba(216,168,79,.35), transparent 26%),
    linear-gradient(135deg, #172018 0%, #273927 52%, #111611 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(255,255,255,.12) 54% 55%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(245,242,235,1));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
  gap: 60px;
  align-items: center;
  padding: 88px 0 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 34px;
}

.hero-metric {
  padding: 17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-metric b {
  display: block;
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.hero-metric span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  color: #151713;
  background: linear-gradient(135deg, #f5d58c, #d8a84f);
  text-decoration: none;
  font-weight: 900;
}

.button.secondary {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.08));
  box-shadow: 0 36px 100px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
}

.hero-showcase {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(21,23,19,.05), rgba(21,23,19,.82)),
    radial-gradient(circle at 74% 22%, rgba(216,168,79,.5), transparent 24%),
    linear-gradient(135deg, #2f5d43, #151713);
}

.showcase-tag {
  width: max-content;
  margin-bottom: auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: #151713;
  background: #f5d58c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-showcase h2 {
  max-width: 360px;
  margin: 44px 0 10px;
  font-size: 34px;
  line-height: 1.02;
}

.hero-showcase p {
  max-width: 410px;
  margin: 0;
  color: rgba(255,255,255,.78);
}

.mini-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mini-review {
  min-height: 102px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  color: #fff;
  background: rgba(255,255,255,.12);
  text-decoration: none;
}

.mini-review span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.mini-review small {
  margin-top: 5px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.mini-review.navimow { background: linear-gradient(135deg, rgba(47,93,67,.86), rgba(21,23,19,.6)); }
.mini-review.zappos { background: linear-gradient(135deg, rgba(32,63,95,.88), rgba(21,23,19,.6)); }
.mini-review.vek { background: linear-gradient(135deg, rgba(28,77,143,.86), rgba(21,23,19,.58)); }
.mini-review.etsy { background: linear-gradient(135deg, rgba(211,107,55,.9), rgba(21,23,19,.58)); }

.feature-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
}

.feature-card + .feature-card {
  margin-top: 12px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.feature-icon.green { background: var(--green); }
.feature-icon.blue { background: var(--blue); }
.feature-icon.orange { background: #f1641e; }

.feature-card strong {
  display: block;
  font-size: 16px;
}

.feature-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 30px;
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.review-card {
  display: grid;
  min-height: 470px;
  grid-template-rows: 235px 1fr;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(42,38,31,.16);
}

.review-art {
  position: relative;
  display: block;
  min-height: 235px;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: var(--brand-dark);
}

.review-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .22s ease;
}

.review-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.62) 100%);
  pointer-events: none;
}

.review-card:hover .review-art img {
  transform: scale(1.04);
}

.review-art strong {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  font-size: 34px;
  line-height: 1.05;
  text-shadow: 0 12px 28px rgba(0,0,0,.34);
}

.review-card.navimow .review-art { background: linear-gradient(135deg, #173124, #2f7d55); }
.review-card.zappos .review-art { background: linear-gradient(135deg, #0f243d, #123c69); }
.review-card.vek .review-art { background: linear-gradient(135deg, #0e265c, #143c8c); }
.review-card.etsy .review-art { background: linear-gradient(135deg, #8a2f12, #f1641e); }
.review-card.amazon .review-art { background: linear-gradient(135deg, #17202a, #ff9900); }
.review-card.walmart .review-art { background: linear-gradient(135deg, #063b75, #0071ce); }
.review-card.target .review-art { background: linear-gradient(135deg, #7a1018, #cc0000); }
.review-card.bestbuy .review-art { background: linear-gradient(135deg, #111827, #f5d130); }
.review-card.wayfair .review-art { background: linear-gradient(135deg, #3d2165, #7b3fe4); }
.review-card.chewy .review-art { background: linear-gradient(135deg, #123f74, #0f7bdc); }
.review-card.sephora .review-art { background: linear-gradient(135deg, #111111, #555555); }
.review-card.nike .review-art { background: linear-gradient(135deg, #0d0d0d, #343434); }
.review-card.adidas .review-art { background: linear-gradient(135deg, #101820, #4a5568); }
.review-card.ikea .review-art { background: linear-gradient(135deg, #004f9e, #ffda1a); }
.review-card.aliexpress .review-art { background: linear-gradient(135deg, #8f2c09, #ff6a00); }
.review-card.temu .review-art { background: linear-gradient(135deg, #742a00, #ff6b00); }
.review-card.homedepot .review-art { background: linear-gradient(135deg, #8a3600, #f96302); }
.review-card.costco .review-art { background: linear-gradient(135deg, #0b3470, #d3202f); }

.review-body {
  padding: 22px;
}

.review-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.read-more {
  color: var(--brand-rose);
  font-weight: 900;
}

.luxury-band,
.featured-section {
  background:
    radial-gradient(circle at 78% 14%, rgba(216,168,79,.16), transparent 26%),
    linear-gradient(135deg, #ffffff, #f3efe6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.process-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(42,38,31,.08);
}

.process-card:before {
  content: attr(data-step);
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #151713, #2f5d43);
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
}

.trust-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #fafbfe);
  box-shadow: 0 18px 46px rgba(17,24,39,.06);
}

.trust-box b {
  display: block;
  color: var(--brand-dark);
  font-size: 26px;
}

.trust-box p {
  margin: 10px 0 0;
  color: var(--muted);
}

.content-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17,24,39,.07);
}

.entry-content {
  color: #334155;
  font-size: 17px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.entry-content a {
  color: var(--brand);
  font-weight: 700;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--line);
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(17,24,39,.06);
}

.article-row h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.article-row p {
  margin: 0;
  color: var(--muted);
}

.article-row span {
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

.site-footer {
  background: #111827;
  color: rgba(255,255,255,.72);
  padding: 42px 0;
}

/* Hide the older floating review widget when the premium theme is active. */
.codex-review-hub {
  display: none !important;
}

.footer-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-inner strong {
  color: #fff;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-head,
  .trust-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .top-strip {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px 15px;
    white-space: nowrap;
  }
  .nav-links {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }
  .hero-inner,
  .section,
  .footer-inner {
    width: min(100% - 30px, 1180px);
  }
  .hero h1 {
    font-size: 42px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    display: block;
  }
  .content-panel {
    padding: 22px;
  }
  .article-row {
    grid-template-columns: 1fr;
  }
}
