@import url("https://api.fontshare.com/v2/css?f[]=boska@400,500,600,700&f[]=satoshi@400,500,700,900&display=swap");

/* ==================================================================
   TemplateLover — Main Stylesheet
   ================================================================== */

:root {
  --radius: 0.75rem;

  --background: #F8F7F3;
  --foreground: #1F2933;
  --surface: #FFFFFF;

  --card: #FFFFFF;
  --card-foreground: #1F2933;

  --primary: #0E6B63;
  --primary-foreground: #FAFAFA;

  --secondary: #F5F4F0;
  --secondary-foreground: #1F2933;

  --muted: #F3F2EE;
  --muted-foreground: #6B7280;

  --accent: #DDF3EE;
  --accent-foreground: #0E6B63;

  --destructive: #EF4444;
  --destructive-foreground: #FFFFFF;

  --border: #E7E5E4;
  --input: #E7E5E4;
  --ring: #0E6B63;

  --shadow-soft: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.06);

  --font-display: "Boska", ui-serif, Georgia, serif;
  --font-sans: "Satoshi", ui-sans-serif, system-ui, sans-serif;
}

.dark, .is-style-dark {
  --background: #111827;
  --foreground: #F9FAFB;
  --surface: #1F2937;
  --card: #1F2937;
  --primary: #34D399;
  --primary-foreground: #111827;
  --secondary: #374151;
  --muted: #374151;
  --muted-foreground: #9CA3AF;
  --accent: #064E3B;
  --border: rgba(255,255,255,0.1);
  --input: rgba(255,255,255,0.15);
  --ring: #34D399;
}

/* ------------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   Screen Reader / Accessibility
   ------------------------------------------------------------------ */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 8px 16px;
  z-index: 100000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ------------------------------------------------------------------
   Container
   ------------------------------------------------------------------ */

.templatelover-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .templatelover-container {
    padding-inline: 2rem;
  }
}

.templatelover-container--narrow {
  max-width: 720px;
}

.templatelover-container--wide {
  max-width: 1280px;
}

.templatelover-container--center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

/* ------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
  color: var(--foreground);
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */

.templatelover-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.templatelover-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.templatelover-btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.templatelover-btn--primary:hover {
  opacity: 0.9;
}

.templatelover-btn--secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-color: var(--border);
}

.templatelover-btn--secondary:hover {
  background-color: var(--muted);
}

.templatelover-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */

.templatelover-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(231, 229, 228, 0.7);
  background-color: rgba(248, 247, 243, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@supports not (backdrop-filter: blur(12px)) {
  .templatelover-site-header {
    background-color: rgba(248, 247, 243, 0.97);
  }
}

.templatelover-container--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

/* Logo */
.templatelover-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

/* Custom logo image (uploaded via Customizer) */
.templatelover-site-header__brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.templatelover-site-header__brand .custom-logo {
  max-height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .templatelover-site-header__brand .custom-logo {
    max-height: 48px;
  }
}

.templatelover-logo__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 1rem;
  line-height: 1;
}

.templatelover-logo__text {
  font-weight: 700;
}

/* Navigation */
.templatelover-site-header__nav {
  display: none;
}

@media (min-width: 768px) {
  .templatelover-site-header__nav {
    display: block;
  }
}

.templatelover-nav,
.templatelover-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.templatelover-nav a {
  font-size: 0.875rem;
  color: rgba(31, 41, 51, 0.8);
  transition: color 0.15s ease;
}

.templatelover-nav a:hover,
.templatelover-nav a[aria-current="page"] {
  color: var(--foreground);
}

.templatelover-nav .sub-menu {
  display: none;
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0.5rem 0;
  min-width: 12rem;
}

.templatelover-nav li:hover > .sub-menu,
.templatelover-nav li:focus-within > .sub-menu {
  display: block;
}

/* Header Actions */
.templatelover-site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.templatelover-site-header__search-toggle,
.templatelover-site-header__cart,
.templatelover-site-header__menu-toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: rgba(31, 41, 51, 0.8);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.templatelover-site-header__search-toggle:hover,
.templatelover-site-header__cart:hover,
.templatelover-site-header__menu-toggle:hover {
  background-color: var(--secondary);
}

.templatelover-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.625rem;
  font-weight: 500;
}

.templatelover-site-header__cart {
  position: relative;
}

.templatelover-site-header__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 768px) {
  .templatelover-site-header__menu-toggle {
    display: none;
  }
}

.templatelover-site-header__menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
}

.templatelover-site-header__cta {
  display: none;
}

@media (min-width: 640px) {
  .templatelover-site-header__cta {
    display: inline-flex;
  }
}

/* ------------------------------------------------------------------
   Search Overlay
   ------------------------------------------------------------------ */

.templatelover-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(248, 247, 243, 0.97);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.templatelover-search-overlay[hidden] {
  display: none;
}

.templatelover-search-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.templatelover-search-overlay__inner {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  position: relative;
}

.templatelover-search-overlay .search-form {
  display: flex;
  gap: 0.5rem;
}

.templatelover-search-overlay .search-field {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 1rem;
  color: var(--foreground);
}

.templatelover-search-overlay .search-field:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(14, 107, 99, 0.15);
}

.templatelover-search-overlay .search-submit {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  cursor: pointer;
}

.templatelover-search-overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

/* ------------------------------------------------------------------
   Breadcrumbs
   ------------------------------------------------------------------ */

.templatelover-breadcrumbs-wrap {
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  padding: 0.75rem 0;
}

.templatelover-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.templatelover-breadcrumbs a {
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.templatelover-breadcrumbs a:hover {
  color: var(--foreground);
}

.templatelover-breadcrumbs__sep {
  color: var(--border);
}

/* ------------------------------------------------------------------
   Main Content
   ------------------------------------------------------------------ */

.templatelover-main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.templatelover-main--full-width .templatelover-container--wide {
  max-width: 1280px;
}

/* ------------------------------------------------------------------
   Page Header
   ------------------------------------------------------------------ */

.templatelover-page-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.templatelover-page-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.templatelover-page-header__desc {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   Posts Grid & Cards
   ------------------------------------------------------------------ */

.templatelover-posts-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .templatelover-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .templatelover-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.templatelover-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.templatelover-post-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 5/4;
}

.templatelover-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.templatelover-post-card:hover .templatelover-post-card__thumb img {
  transform: scale(1.03);
}

.templatelover-post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.templatelover-post-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.templatelover-post-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.templatelover-post-card__title a {
  color: var(--foreground);
  transition: color 0.15s ease;
}

.templatelover-post-card__title a:hover {
  color: var(--primary);
}

.templatelover-post-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.templatelover-post-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

/* ------------------------------------------------------------------
   Single Post
   ------------------------------------------------------------------ */

.templatelover-post-single {
  max-width: 720px;
  margin-inline: auto;
}

.templatelover-post-single__header {
  margin-bottom: 2rem;
  text-align: center;
}

.templatelover-post-single__meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.templatelover-post-single__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.templatelover-post-single__thumb {
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.templatelover-post-single__thumb img {
  width: 100%;
  height: auto;
}

.templatelover-post-single__content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.templatelover-post-single__content > * + * {
  margin-top: 1.5rem;
}

.templatelover-post-single__content h2,
.templatelover-post-single__content h3,
.templatelover-post-single__content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.templatelover-post-single__content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.templatelover-post-single__content blockquote {
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--primary);
  background-color: var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.templatelover-post-single__content ul,
.templatelover-post-single__content ol {
  padding-left: 1.5rem;
}

.templatelover-post-single__content img {
  border-radius: var(--radius);
}

.templatelover-post-single__footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.templatelover-post-single__tags-label {
  font-weight: 500;
  margin-right: 0.5rem;
}

/* ------------------------------------------------------------------
   Page Content
   ------------------------------------------------------------------ */

.templatelover-page-content__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.templatelover-page-content__thumb {
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.templatelover-page-content__body {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ------------------------------------------------------------------
   404 Page
   ------------------------------------------------------------------ */

.templatelover-error-404 {
  text-align: center;
  max-width: 28rem;
  padding: 2rem;
}

.templatelover-error-404__code {
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--foreground);
}

.templatelover-error-404__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
}

.templatelover-error-404__message {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.templatelover-error-404__actions {
  margin-top: 1.5rem;
}

/* ------------------------------------------------------------------
   Search Results
   ------------------------------------------------------------------ */

.templatelover-search-result {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.templatelover-search-result__title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.templatelover-search-result__title a {
  color: var(--foreground);
}

.templatelover-search-result__title a:hover {
  color: var(--primary);
}

.templatelover-search-result__meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.templatelover-search-result__excerpt {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ------------------------------------------------------------------
   No Results
   ------------------------------------------------------------------ */

.templatelover-no-results {
  text-align: center;
  padding: 3rem 1rem;
}

.templatelover-no-results__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.templatelover-no-results__message {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.templatelover-no-results .search-form {
  max-width: 400px;
  margin-inline: auto;
  display: flex;
  gap: 0.5rem;
}

.templatelover-no-results .search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.templatelover-no-results .search-submit {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  cursor: pointer;
}

/* ------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------ */

.nav-links,
.templatelover-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.nav-links a,
.nav-links span,
.templatelover-pagination a,
.templatelover-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  transition: background-color 0.15s ease;
}

.nav-links a:hover,
.templatelover-pagination a:hover {
  background-color: var(--secondary);
}

.nav-links .current,
.templatelover-pagination .current {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* ------------------------------------------------------------------
   Comments
   ------------------------------------------------------------------ */

.comments-area {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
}

.comment-list .comment {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.comment-author .fn {
  font-weight: 600;
  color: var(--foreground);
}

.comment-content {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.comment-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(14, 107, 99, 0.15);
}

.comment-form .submit {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.comment-form .submit:hover {
  opacity: 0.9;
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.templatelover-site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.templatelover-site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .templatelover-site-footer__grid {
    grid-template-columns: 1fr 2fr;
  }
}

.templatelover-site-footer__tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 20rem;
}

.templatelover-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  list-style: none;
}

@media (min-width: 640px) {
  .templatelover-footer-nav {
    grid-template-columns: repeat(4, 1fr);
  }
}

.templatelover-footer-nav a {
  font-size: 0.875rem;
  color: rgba(31, 41, 51, 0.8);
  transition: color 0.15s ease;
}

.templatelover-footer-nav a:hover {
  color: var(--foreground);
}

.templatelover-site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .templatelover-site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ------------------------------------------------------------------
   WooCommerce Overrides
   ------------------------------------------------------------------ */

.templatelover-wc__main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.templatelover-woocommerce .woocommerce-breadcrumb {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.templatelover-woocommerce .woocommerce-breadcrumb a {
  color: var(--muted-foreground);
}

.templatelover-woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--foreground);
}

.woocommerce .products {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 2rem !important;
}

@media (min-width: 640px) {
  .woocommerce .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .woocommerce .products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.woocommerce .product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.woocommerce .product a img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.woocommerce .product:hover a img {
  transform: scale(1.03);
}

.woocommerce .product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 1.25rem 1.25rem 0;
}

.woocommerce .product .price {
  padding: 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.woocommerce .product .button {
  margin: 1rem 1.25rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: none;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.woocommerce .product .button:hover {
  opacity: 0.9;
}

.woocommerce .woocommerce-ordering select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------
   Editor Styles (shared base for editor-style.css)
   ------------------------------------------------------------------ */

/* ------------------------------------------------------------------
   WordPress Alignments
   ------------------------------------------------------------------ */

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.alignwide {
  max-width: 1280px;
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* ------------------------------------------------------------------
   Gutenberg Block Styles
   ------------------------------------------------------------------ */

.is-style-pill .wp-block-button__link {
  border-radius: 9999px !important;
}

.is-style-ghost .wp-block-button__link {
  background: transparent !important;
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
}

.is-style-ghost .wp-block-button__link:hover {
  background: var(--secondary) !important;
}

.is-style-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.is-style-surface {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
}

.is-style-lead {
  font-size: 1.125rem;
  line-height: 1.7;
}

.is-style-display {
  line-height: 1.02;
}

/* ------------------------------------------------------------------
   Widgets / Sidebar
   ------------------------------------------------------------------ */

.templatelover-sidebar .widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.templatelover-sidebar .widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.templatelover-sidebar ul {
  list-style: none;
}

.templatelover-sidebar li + li {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.templatelover-sidebar a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.templatelover-sidebar a:hover {
  color: var(--foreground);
}

/* ------------------------------------------------------------------
   Helper utilities
   ------------------------------------------------------------------ */

.templatelover-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.templatelover-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ==================================================================
   LANDING PAGE SECTIONS
   ================================================================== */

/* Shared landing page container */
.tl-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .tl-container { padding-inline: 2rem; }
}

/* Shared section helpers */
.tl-section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.tl-section-eyebrow--primary {
  color: var(--primary);
}

.tl-section-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
}

.tl-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.tl-section-link {
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: rgba(31,41,51,0.8);
  transition: color 0.15s ease;
}

@media (min-width: 640px) {
  .tl-section-link { display: inline-flex; }
}

.tl-section-link:hover {
  color: var(--foreground);
}

/* Landing page buttons */
.tl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.tl-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.tl-btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.tl-btn--primary:hover { opacity: 0.9; }

.tl-btn--secondary {
  background-color: var(--surface);
  color: var(--foreground);
  border-color: var(--border);
}

.tl-btn--secondary:hover { background-color: var(--secondary); }

.tl-btn--dark {
  background: var(--foreground);
  color: var(--background);
}

.tl-btn--dark:hover { opacity: 0.9; }

.tl-btn--inverse {
  background: var(--background);
  color: var(--foreground);
}

.tl-btn--inverse:hover { opacity: 0.9; }

.tl-btn--ghost {
  background: transparent;
  color: var(--primary-foreground);
  border-color: rgba(255,255,255,0.3);
}

.tl-btn--ghost:hover { background: rgba(255,255,255,0.1); }

.tl-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------ */

.tl-hero {
  position: relative;
  overflow: hidden;
}

.tl-hero__grid {
  display: grid;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .tl-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding-top: 5rem;
  }
}

.tl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.tl-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.tl-hero__content {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .tl-hero__content {
    padding-top: 1.5rem;
  }
}

.tl-hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  font-weight: 700;
  color: var(--foreground);
}

.tl-hero__desc {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--muted-foreground);
}

.tl-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tl-hero__features {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tl-hero__features li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tl-check {
  color: var(--primary);
  flex-shrink: 0;
}

.tl-hero__visual {
  position: relative;
}

.tl-hero__glow {
  position: absolute;
  inset: -1.5rem;
  z-index: -1;
  border-radius: 2rem;
  background: var(--accent);
  opacity: 0.6;
  filter: blur(2rem);
}

.tl-hero__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.tl-hero__image {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.tl-hero__placeholder {
  width: 100%;
  aspect-ratio: 5/4;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--muted-foreground);
}

.tl-hero__rating {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .tl-hero__rating { display: flex; }
}

.tl-hero__rating-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--primary);
}

.tl-hero__rating-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.tl-hero__rating-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   CATEGORIES
   ------------------------------------------------------------------ */

.tl-categories {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  padding: 5rem 0;
}

.tl-categories__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .tl-categories__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .tl-categories__grid { grid-template-columns: repeat(4, 1fr); }
}

.tl-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  min-height: 14rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tl-category-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--primary);
}

.tl-category-card__icon--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.tl-category-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.tl-category-card__desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tl-category-card__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease, color 0.2s ease;
}

.tl-category-card:hover .tl-category-card__arrow {
  transform: translate(2px, -2px);
  color: var(--foreground);
}

/* ------------------------------------------------------------------
   FEATURED PRODUCT
   ------------------------------------------------------------------ */

.tl-featured {
  padding: 6rem 0;
}

.tl-featured__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .tl-featured__grid {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
  }
}

.tl-featured__visual {
  position: relative;
}

.tl-featured__image-wrap {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--accent);
}

.tl-featured__image {
  width: 100%;
  aspect-ratio: 6/5;
  object-fit: cover;
}

.tl-featured__placeholder {
  width: 100%;
  aspect-ratio: 6/5;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--muted-foreground);
}

.tl-featured__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tl-featured__content {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .tl-featured__content {
    padding-top: 0.5rem;
  }
}

.tl-featured__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
}

.tl-featured__desc {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.tl-featured__price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.tl-featured__price-current {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.tl-featured__price-old {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.tl-featured__price-badge {
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.75rem;
}

.tl-featured__benefits {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(31,41,51,0.9);
}

.tl-featured__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.tl-check-circle {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.tl-featured__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------
   PRODUCT GRID
   ------------------------------------------------------------------ */

.tl-products {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  padding: 6rem 0;
}

.tl-products__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .tl-products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .tl-products__grid { grid-template-columns: repeat(3, 1fr); }
}

.tl-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tl-product-card__image {
  position: relative;
  overflow: hidden;
  background: var(--accent);
}

.tl-product-card__placeholder {
  width: 100%;
  aspect-ratio: 5/4;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--muted-foreground);
  transition: transform 0.5s ease;
}

.tl-product-card__img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tl-product-card:hover .tl-product-card__img {
  transform: scale(1.03);
}

.tl-product-card:hover .tl-product-card__placeholder {
  transform: scale(1.03);
}

.tl-product-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--foreground);
}

.tl-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.tl-product-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.tl-product-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.tl-product-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tl-product-card__name a:hover {
  color: var(--primary);
}

.tl-products__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
  font-size: 1rem;
}

.tl-product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.tl-product-card__rating svg {
  fill: var(--primary);
  color: var(--primary);
}

.tl-product-card__desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tl-product-card__footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tl-product-card__price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

/* ------------------------------------------------------------------
   BENEFITS
   ------------------------------------------------------------------ */

.tl-benefits {
  padding: 6rem 0;
}

.tl-benefits__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .tl-benefits__grid {
    grid-template-columns: 4fr 8fr;
  }
}

.tl-benefits__intro {
  display: flex;
  flex-direction: column;
}

.tl-benefits__title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--foreground);
}

.tl-benefits__desc {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.tl-benefits__list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tl-benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.tl-benefit-item:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .tl-benefit-item {
    grid-template-columns: 3rem 1fr 1fr;
  }
}

.tl-benefit-item__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--primary);
}

.tl-benefit-item__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.tl-benefit-item__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .tl-benefit-item__desc {
    grid-column: 3;
  }
}

/* ------------------------------------------------------------------
   TESTIMONIALS / SOCIAL PROOF
   ------------------------------------------------------------------ */

.tl-testimonials {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  padding: 6rem 0;
}

.tl-testimonials__header {
  max-width: 36rem;
}

.tl-testimonials__stats {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem;
}

@media (min-width: 640px) {
  .tl-testimonials__stats { grid-template-columns: repeat(3, 1fr); }
}

.tl-stat-card {
  border-radius: 0.75rem;
  background: var(--background);
  padding: 1.25rem 1.5rem;
}

.tl-stat-card__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.tl-stat-card__label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tl-testimonials__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .tl-testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.tl-testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
  margin: 0;
}

.tl-testimonial-card__stars {
  display: flex;
  gap: 0.125rem;
  color: var(--primary);
}

.tl-testimonial-card__quote {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--foreground);
}

.tl-testimonial-card__author {
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.tl-testimonial-card__name {
  font-weight: 500;
  color: var(--foreground);
}

.tl-testimonial-card__role {
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   HOW IT WORKS
   ------------------------------------------------------------------ */

.tl-how-it-works {
  padding: 6rem 0;
}

.tl-how-it-works__icon {
  display: none;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .tl-how-it-works__icon { display: block; }
}

.tl-how-it-works__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tl-how-it-works__grid { grid-template-columns: repeat(3, 1fr); }
}

.tl-step-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
}

.tl-step-card__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--primary);
}

.tl-step-card__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.tl-step-card__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------ */

.tl-faq {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  padding: 6rem 0;
}

.tl-faq__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .tl-faq__grid { grid-template-columns: 4fr 8fr; }
}

.tl-faq__intro {
  display: flex;
  flex-direction: column;
}

.tl-faq__desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tl-faq__list {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.tl-faq-item {
  border-bottom: 1px solid var(--border);
}

.tl-faq-item:last-child {
  border-bottom: none;
}

.tl-faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-weight: 600;
  color: var(--foreground);
}

.tl-faq-item__question::-webkit-details-marker {
  display: none;
}

.tl-faq-item__question::marker {
  display: none;
  content: '';
}

.tl-faq-item__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tl-faq-item[open] .tl-faq-item__icon {
  transform: rotate(45deg);
}

.tl-faq-item__answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------
   FINAL CTA
   ------------------------------------------------------------------ */

.tl-final-cta {
  padding: 6rem 0;
}

.tl-final-cta__inner {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--primary);
  padding: 4rem 2rem;
}

@media (min-width: 640px) {
  .tl-final-cta__inner {
    padding: 5rem 3.5rem;
  }
}

.tl-final-cta__glow {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(221, 243, 238, 0.2);
  filter: blur(3rem);
}

.tl-final-cta__content {
  position: relative;
  max-width: 36rem;
}

.tl-final-cta__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
}

.tl-final-cta__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--primary-foreground);
}

.tl-final-cta__desc {
  margin-top: 1.25rem;
  max-width: 32rem;
  color: rgba(255,255,255,0.8);
}

.tl-final-cta__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------
   Landing page main override
   ------------------------------------------------------------------ */

.templatelover-main--landing {
  padding-top: 0;
  padding-bottom: 0;
}
