/*
Theme Name: Tammy Taylor Europe Clean
Theme URI: https://tammytayloreurope.com/
Author: OpenAI
Description: WordPress theme adapted from the uploaded Lovable concept for Tammy Taylor Europe.
Version: 1.0.0
Text Domain: tammy-taylor-europe-clean
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --background: #f8f5ef;
  --foreground: #1d2330;
  --card: #fcfaf6;
  --secondary: #eee6dc;
  --muted: #f2ede5;
  --muted-foreground: #6b6f7a;
  --border: #ddd5ca;
  --gold: #d7a544;
  --gold-dark: #b98726;
  --gold-light: #ecd09b;
  --champagne: #ece1d2;
  --cream: #f8f5ef;
  --charcoal: #1b2233;
  --navy: #151d31;
  --white: #fff;
  --radius: 6px;
  --container: 1240px;
  --container-narrow: 980px;
  --shadow-soft: 0 20px 60px rgba(24,30,43,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Outfit', sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container-wide, .container-narrow { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.container-narrow { max-width: var(--container-narrow); }
.section-padding { padding: 88px 0; }
.section-padding-sm { padding: 54px 0; }
.text-label {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.section-divider {
  width: 72px;
  height: 1px;
  margin: 24px auto 0;
  background: var(--gold);
}
.text-display,
.text-headline,
.text-subheadline,
.logo-main,
h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', serif;
}
.text-display {
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.03em;
  margin: 0;
}
.text-headline {
  font-size: clamp(2.35rem, 3vw, 4rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0;
}
.text-subheadline { font-size: clamp(1.35rem, 2vw, 2rem); }
.text-body-lg { font-size: 1.125rem; line-height: 1.85; }
.text-center { text-align: center; }
.bg-background { background: var(--background); }
.bg-secondary { background: var(--secondary); }
.bg-foreground { background: var(--navy); color: var(--white); }
.bg-champagne { background: var(--champagne); }
.bg-card { background: var(--card); }
.color-gold { color: var(--gold); }
.color-muted { color: var(--muted-foreground); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(248,245,239,.92);
  border-bottom: 1px solid rgba(221,213,202,.72);
}
.header-inner {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  min-height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.branding {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.logo-main { font-size: 2rem; line-height: 1; font-weight: 600; letter-spacing: .02em; }
.logo-sub { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.primary-nav { display: none; }
.primary-nav ul { display: flex; list-style: none; gap: 30px; margin: 0; padding: 0; align-items: center; }
.primary-nav a { font-size: .95rem; color: rgba(29,35,48,.72); font-weight: 500; }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav a:hover { color: var(--gold); }
.nav-toggle {
  border: 1px solid var(--border); background: var(--card); color: var(--foreground);
  width: 44px; height: 44px; border-radius: 6px; cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: rgba(248,245,239,.98); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 14px 24px 20px; }
.mobile-nav li + li { margin-top: 10px; }
.mobile-nav a { display: block; padding: 8px 0; color: rgba(29,35,48,.78); font-weight: 500; }
.button, .wp-block-button__link, button, input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 0; border: 1px solid var(--gold);
  background: var(--gold); color: #fff; font-size: .94rem; font-weight: 600;
  letter-spacing: .03em; transition: .25s ease; cursor: pointer;
}
.button:hover, .wp-block-button__link:hover, button:hover, input[type=submit]:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.button.button-outline {
  background: transparent; color: var(--foreground); border-color: rgba(255,255,255,.3);
}
.button.button-light-outline {
  background: transparent; color: var(--foreground); border-color: var(--border);
}
.button.button-light-outline:hover { background: rgba(215,165,68,.08); }
.hero {
  position: relative; min-height: min(90vh, 900px); display: flex; align-items: center;
}
.hero-media, .page-hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay,
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(21,29,49,.88) 0%, rgba(21,29,49,.62) 50%, rgba(21,29,49,.24) 100%);
}
.hero-content, .page-hero-content { position: relative; z-index: 2; width: 100%; }
.hero .container-wide, .page-hero .container-wide { padding-top: 60px; padding-bottom: 60px; }
.hero-copy { max-width: 720px; }
.hero-copy .text-body-lg { color: rgba(255,255,255,.82); max-width: 580px; margin: 0 0 36px; }
.hero-copy .text-display { color: #fff; margin-bottom: 22px; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-brand-grid {
  margin-top: 58px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; max-width: 760px;
}
.hero-brand-card {
  background: rgba(252,250,246,.95); padding: 24px; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow-soft);
}
.hero-brand-card h3 { font-size: 1.85rem; margin: 0 0 8px; }
.hero-brand-card p { margin: 0; color: var(--muted-foreground); }
.section-heading { margin-bottom: 56px; }
.section-heading p { margin: 0; }
.section-heading .text-headline { margin-top: 10px; }
.section-heading .subtitle { margin-top: 18px; color: var(--muted-foreground); max-width: 760px; }
.section-heading.text-left .section-divider { margin-left: 0; }
.card-grid-3, .card-grid-4, .card-grid-2 { display: grid; gap: 28px; }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.info-card {
  padding: 34px 30px; background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.info-card h3 { font-size: 1.7rem; margin: 0 0 10px; }
.info-card p { margin: 0; color: var(--muted-foreground); }
.icon-badge {
  width: 54px; height: 54px; border-radius: 999px; background: var(--champagne);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 1.2rem; color: var(--gold-dark); font-weight: 700;
}
.two-col {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center;
}
.two-col img, .ratio-4-3 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bullet-list { list-style: none; padding: 0; margin: 0 0 30px; }
.bullet-list li { position: relative; padding-left: 22px; margin: 0 0 12px; }
.bullet-list li::before { content: ''; position: absolute; left: 0; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.product-card {
  position: relative; overflow: hidden; min-height: 420px; background: var(--card); box-shadow: var(--shadow-soft);
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover img { transform: scale(1.05); }
.product-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21,29,49,.84), rgba(21,29,49,.18) 50%, transparent 85%);
}
.product-card__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; }
.product-card__content h3 { color: #fff; font-size: 1.7rem; margin: 0 0 6px; }
.product-card__content p { color: rgba(255,255,255,.8); margin: 0; font-size: .96rem; }
.distributor-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin: 28px 0 36px; }
.distributor-stats strong {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.7rem; line-height: 1; color: var(--gold);
}
.distributor-stats span { display: block; margin-top: 6px; color: rgba(255,255,255,.58); font-size: .82rem; }
.country-list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.country-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border: 1px solid var(--border); background: var(--card); font-size: .95rem; font-weight: 500;
}
.country-pill::before { content: '•'; color: var(--gold); font-size: 1.2rem; line-height: 1; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.news-card .news-media {
  aspect-ratio: 16 / 9; margin-bottom: 16px; background: var(--champagne); display: flex; align-items: center; justify-content: center; color: rgba(215,165,68,.5); font-size: 2rem;
}
.news-card h3 { font-size: 1.65rem; margin: 0 0 10px; }
.news-card p { margin: 0 0 10px; color: var(--muted-foreground); }
.page-hero { position: relative; min-height: 56vh; display: flex; align-items: center; }
.page-hero .text-display { color: #fff; margin-bottom: 10px; }
.page-hero .text-body-lg { color: rgba(255,255,255,.82); max-width: 650px; }
.content-prose p { color: var(--muted-foreground); margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(29,35,48,.72); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 18px; background: var(--card); border: 1px solid var(--border); color: var(--foreground); font: inherit;
}
.field textarea { min-height: 160px; resize: vertical; }
.contact-aside .info-card { margin-bottom: 20px; }
.site-footer { background: var(--navy); color: var(--white); margin-top: 0; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer p, .site-footer a, .site-footer span { color: rgba(255,255,255,.62); }
.site-footer h4 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-family: 'Outfit', sans-serif; color: var(--gold); margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.entry-content { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; padding: 60px 0 88px; }
.entry-content h1,.entry-content h2,.entry-content h3 { font-family: 'Cormorant Garamond', serif; }
.entry-content p { color: var(--muted-foreground); }
@media (min-width: 1060px) { .primary-nav { display: block; } .nav-toggle { display: none; } }
@media (max-width: 1059px) {
  .container-wide, .container-narrow, .header-inner, .entry-content { width: min(calc(100% - 36px), var(--container)); }
  .hero-brand-grid, .card-grid-3, .card-grid-4, .card-grid-2, .two-col, .product-grid, .news-grid, .site-footer .footer-grid, .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section-padding { padding: 70px 0; }
  .header-inner { min-height: 74px; }
  .logo-main { font-size: 1.6rem; }
  .hero { min-height: 78vh; }
  .hero-brand-grid, .card-grid-3, .card-grid-4, .card-grid-2, .two-col, .product-grid, .news-grid, .site-footer .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .button-row { flex-direction: column; align-items: flex-start; }
  .distributor-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== Cards with text below image ===== */
.product-card,
.prosys-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch;
  text-decoration:none;
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  box-shadow:0 14px 36px rgba(24,24,24,.08);
  color:#1f2430;
  min-height:unset !important;
  position:relative;
}

.product-card img,
.prosys-card img{
  position:static !important;
  inset:auto !important;
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}

.product-card::after,
.prosys-card::after{
  display:none !important;
  content:none !important;
}

.product-card__content,
.prosys-card__content{
  position:static !important;
  inset:auto !important;
  z-index:auto !important;
  padding:22px 22px 24px !important;
  background:#fff !important;
}

.product-card__content h3,
.prosys-card__content h3{
  color:#1f2430 !important;
  margin:0 0 10px !important;
}

.product-card__content p,
.prosys-card__content p{
  color:#5f6976 !important;
  margin:0 0 14px !important;
  line-height:1.7;
}

.prosys-card__kicker{
  color:#b2831f !important;
  display:inline-block;
  margin-bottom:8px;
}

.prosys-card__cta{
  color:#1f2430 !important;
  font-weight:700;
}

.product-card:hover,
.prosys-card:hover{
  transform:translateY(-2px);
  transition:transform .18s ease;
}

@media (max-width: 900px){
  .product-card img,
  .prosys-card img{
    height:220px;
  }
}

@media (max-width: 640px){
  .product-card img,
  .prosys-card img{
    height:210px;
  }

  .product-card__content,
  .prosys-card__content{
    padding:18px 18px 20px !important;
  }
}

.hero .btn-secondary,
.hero a[href*="distributor"],
.hero .button-secondary {
  background: #F6F1E8 !important;
  color: #1F2430 !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
}

.hero .btn-secondary:hover,
.hero a[href*="distributor"]:hover,
.hero .button-secondary:hover {
  background: #E4C06A !important;
  color: #1F2430 !important;
  border-color: #E4C06A !important;
}

/* Hero buttons same color */
body.home a.hero-btn-solid,
body.home a.hero-btn-solid:visited{
  background:#E4C06A !important;
  color:#1F2430 !important;
  border:1px solid #E4C06A !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
  font-weight:700 !important;
}

body.home a.hero-btn-solid:hover,
body.home a.hero-btn-solid:focus{
  background:#D9B257 !important;
  color:#1F2430 !important;
  border-color:#D9B257 !important;
}

/* ===== Home product search ===== */
.home-product-search{
  max-width:1200px;
  margin:0 auto 34px;
  padding:0 20px;
}
.home-product-search__inner{
  background:#fff;
  border-radius:24px;
  box-shadow:0 14px 36px rgba(24,24,24,.08);
  padding:26px;
}
.home-product-search__head{
  margin-bottom:18px;
}
.home-product-search__eyebrow{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#b2831f;
}
.home-product-search__head h2{
  margin:0 0 8px;
}
.home-product-search__head p{
  margin:0;
  color:#5f6976;
  line-height:1.7;
}
.home-product-search__form{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(220px,.8fr) minmax(180px,.7fr) auto;
  gap:12px;
}
.home-product-search__form input,
.home-product-search__form select{
  height:54px;
  border:1px solid #d9dee5;
  border-radius:14px;
  padding:0 16px;
  font-size:15px;
  width:100%;
  background:#fff;
}
.home-product-search__form button{
  height:54px;
  padding:0 22px;
  border:0;
  border-radius:14px;
  background:#e4c06a;
  color:#1f2430;
  font-weight:700;
  cursor:pointer;
}
@media (max-width: 900px){
  .home-product-search__form{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 640px){
  .home-product-search__inner{
    padding:20px;
  }
  .home-product-search__form{
    grid-template-columns:1fr;
  }
}

/* ===== Home width + balance tune ===== */
body.home .hero-copy{
  max-width: 1220px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .hero-copy h1,
body.home .hero-copy h2{
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .hero-copy p{
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

body.home .home-product-search{
  max-width: 1360px !important;
}

body.home .home-product-search__inner{
  padding: 32px !important;
}

body.home .home-product-search__head{
  max-width: 980px !important;
}

body.home .home-product-search__head h2{
  font-size: clamp(40px, 4vw, 58px) !important;
}

body.home .home-product-search__head p{
  max-width: 860px !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* ===== Home final center tune ===== */
body.home .hero-copy{
  width:min(1280px, calc(100% - 40px)) !important;
  margin:0 auto 24px !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

body.home .hero-copy h1,
body.home .hero-copy h2,
body.home .hero-copy p,
body.home .hero-copy .text-label{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.home .hero-copy h1,
body.home .hero-copy h2{
  max-width:980px !important;
  text-wrap:balance !important;
}

body.home .hero-copy p{
  max-width:1020px !important;
  font-size:17px !important;
  line-height:1.75 !important;
}

body.home .home-product-search{
  width:min(1280px, calc(100% - 40px)) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.home .home-product-search__head{
  max-width:980px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

body.home .home-product-search__head p{
  max-width:860px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* ===== Featured Highlights tune ===== */
body.home .featured-world-intro{
  max-width: 980px !important;
  margin: 0 auto 26px !important;
  padding: 0 20px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.home .featured-world-intro .text-label{
  margin: 0 0 10px !important;
  text-align: center !important;
}

body.home .featured-world-intro .text-headline{
  max-width: 900px !important;
  margin: 0 auto 16px !important;
  text-align: center !important;
  text-wrap: balance !important;
}

body.home .featured-world-intro p:not(.text-label){
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: #5f6976 !important;
}

body.home .featured-world-intro .section-divider{
  margin: 26px auto 0 !important;
}

body.home .featured-world-intro + .product-grid{
  margin-top: 8px !important;
}

/* ===== Logo image header ===== */
.branding--image{
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
}

.branding__logo{
  display:block;
  width:96px;
  height:96px;
  object-fit:cover;
  object-position:center;
  border-radius:50%;
}

@media (max-width: 900px){
  .branding__logo{
    width:78px;
    height:78px;
  }
}

@media (max-width: 640px){
  .branding__logo{
    width:64px;
    height:64px;
  }
}
