/*
Theme Name: Halloumi Cuisine Child
Template: kadence
Version: 1.0
Author: Halloumi Cuisine
Description: Bespoke child theme
Text Domain: f49-halloumi-cuisine
*/

:root {
  --f49-primary:    #bb583a;
  --f49-accent:     #f4bf1f;
  --f49-text:       #303030;
  --f49-text-soft:  #636363;
  --f49-bg:         #fffbf5;
  --f49-surface:    #fef3c7;
  --f49-line:       #e6d9c9;
  --f49-link-hover: #f4bf1f;
  --f49-font-h:     "DM Serif Display", system-ui, -apple-system, sans-serif;
  --f49-font-b:     "DM Sans", system-ui, -apple-system, sans-serif;
  --f49-radius:     8px;
  --f49-radius-lg:  14px;
  --f49-container:  1200px;
  --f49-shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --f49-shadow-md:  0 6px 20px rgba(0,0,0,.08);
  --f49-shadow-lg:  0 18px 48px rgba(0,0,0,.12);
}

/* Reset minimal + base typo */
body {
  background: var(--f49-bg);
  color: var(--f49-text);
  font-family: var(--f49-font-b);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f49-font-h);
  color: var(--f49-primary);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

a { color: var(--f49-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--f49-link-hover); }

img, video, iframe { max-width: 100%; height: auto; }

.f49-container { max-width: var(--f49-container); margin: 0 auto; padding: 0 1rem; }

/* ===========================================================
   Surcharges WordPress Gutenberg + comments + search
   =========================================================== */
.wp-block-image img { border-radius: var(--f49-radius); }
.wp-block-quote {
  border-left: 4px solid var(--f49-accent);
  padding: .5em 1em;
  background: var(--f49-surface);
  margin: 1.5em 0;
}
.wp-block-button__link {
  background: var(--f49-accent);
  color: #fff;
  padding: .75em 1.5em;
  border-radius: var(--f49-radius);
  text-decoration: none;
  display: inline-block;
}
.wp-block-button__link:hover { opacity: .9; }

.pagination, .nav-links, .wp-block-query-pagination {
  display: flex; gap: .5rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap;
}
.page-numbers, .wp-block-query-pagination a, .wp-block-query-pagination span {
  padding: .5em 1em; border: 1px solid var(--f49-line);
  color: var(--f49-text); text-decoration: none; border-radius: var(--f49-radius);
}
.page-numbers.current {
  background: var(--f49-accent); color: #fff; border-color: var(--f49-accent);
}

.comment-list { list-style: none; padding: 0; }
.comment-list li {
  background: var(--f49-surface); padding: 1em; margin: .5em 0;
  border-radius: var(--f49-radius);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: .75rem; border: 1px solid var(--f49-line);
  background: var(--f49-bg); color: var(--f49-text); border-radius: var(--f49-radius);
  font-family: var(--f49-font-b); font-size: 1rem;
}
.comment-form .submit {
  background: var(--f49-accent); color: #fff; border: 0;
  padding: .75em 1.5em; border-radius: var(--f49-radius); cursor: pointer;
}

/* Anti-emoji WP */
img.emoji, img.wp-smiley { display: inline; border: 0; box-shadow: none; }

/* ===========================================================
   NOTE : le CSS COMPLET du theme (header, footer, hero, cards, etc.)
   est dans assets/css/style.css charge via wp_enqueue_style en
   priorite normale. Ce style.css ici reste minimaliste pour les
   surcharges WP de base et les variables CSS racine.
   =========================================================== */
