/*
 * DOG FOREVER - CHARTE GRAPHIQUE
 * À coller dans : Apparence > Personnaliser > CSS additionnel
 * Conçu pour le thème WordPress Spacious et WooCommerce.
 * Aucun contenu ni aucune page n'est modifié.
 */

:root {
  --df-petrole: #073746;
  --df-petrole-clair: #15596a;
  --df-prune: #68103f;
  --df-prune-fonce: #430a2d;
  --df-creme: #fbf4ef;
  --df-ivoire: #fffaf7;
  --df-rose: #ead3d7;
  --df-bleu-poudre: #d5e5e7;
  --df-dore: #b1885d;
  --df-texte: #283a3e;
  --df-ombre: 0 15px 42px rgba(67, 10, 45, 0.10);
  --df-arrondi: 22px;
}

/* Fondations du thème autonome */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 15px;
  clip: auto;
  color: #fff;
  background: var(--df-prune);
}

.clearfix::after {
  display: table;
  clear: both;
  content: "";
}

.inner-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

#header-text-nav-wrap,
.footer-socket-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

#header-right-section {
  margin-left: auto;
}

#header-text {
  display: block;
}

#site-title,
#site-description {
  margin: 0;
}

#site-title {
  font-size: 30px;
  line-height: 1.15;
}

.main-navigation .menu-toggle {
  display: none;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

.main-navigation ul ul {
  position: absolute;
  z-index: 999;
  top: 100%;
  left: 0;
  display: none;
  width: 240px;
}

.main-navigation ul ul ul {
  top: 0;
  left: 100%;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
  display: block;
}

.main-navigation ul ul li {
  width: 100%;
}

.main-navigation ul ul a {
  padding: 10px 13px;
}

.tg-one-fourth {
  float: left;
  width: 25%;
  padding-right: 30px;
}

.footer-socket-area nav ul {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-socket-area nav a {
  text-decoration: none;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--df-texte);
  background:
    radial-gradient(circle at 8% 18%, rgba(234, 211, 215, .55), transparent 24rem),
    radial-gradient(circle at 92% 35%, rgba(213, 229, 231, .55), transparent 26rem),
    var(--df-creme);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

#page {
  overflow: hidden;
  background: transparent;
}

a {
  color: var(--df-prune);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

a:hover,
a:focus {
  color: var(--df-petrole);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--df-petrole);
  line-height: 1.22;
}

h1,
h2,
.entry-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

::selection {
  color: #fff;
  background: var(--df-prune);
}

/* Largeur générale du thème */
.inner-wrap {
  max-width: 1180px;
}

/* En-tête */
#masthead {
  position: relative;
  z-index: 100;
  background: rgba(255, 250, 247, .96);
  border-top: 7px solid var(--df-petrole);
  border-bottom: 1px solid rgba(104, 16, 63, .12);
  box-shadow: 0 8px 28px rgba(7, 55, 70, .06);
}

#header-text-nav-container {
  background: transparent;
  border-bottom: 0;
}

#header-text-nav-wrap {
  padding: 18px 0;
}

#header-left-section {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

#header-logo-image {
  display: flex;
  align-items: center;
  min-width: 110px;
  min-height: 76px;
  padding-right: 22px;
}

.custom-logo {
  width: auto;
  max-width: 230px;
  max-height: 90px;
  object-fit: contain;
}

#header-logo-image + #header-text {
  display: none;
}

#site-title a {
  color: var(--df-petrole);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

#site-description {
  color: var(--df-prune);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Navigation */
.main-navigation ul li {
  margin: 0 2px;
}

.main-navigation ul li a {
  padding: 15px 12px;
  color: var(--df-petrole);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 999px;
}

.main-navigation ul li:hover > a,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
  color: #fff;
  background: var(--df-prune);
}

.main-navigation ul ul {
  padding: 8px;
  background: var(--df-ivoire);
  border-top: 3px solid var(--df-prune);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--df-ombre);
}

.main-navigation ul ul li a {
  color: var(--df-petrole);
  border-radius: 9px;
}

.main-navigation ul ul li a:hover {
  color: #fff;
  background: var(--df-prune);
}

.menu-toggle {
  color: #fff;
  background: var(--df-petrole);
  border-radius: 999px;
}

/* Zone de contenu existante */
#main {
  padding: 62px 0 78px;
}

#primary {
  float: none;
  width: 100%;
}

.hentry {
  margin-bottom: 32px;
}

.page .hentry,
.single .hentry {
  padding: clamp(25px, 5vw, 62px);
  background: rgba(255, 250, 247, .94);
  border: 1px solid rgba(7, 55, 70, .08);
  border-radius: 30px;
  box-shadow: var(--df-ombre);
}

.entry-header {
  margin-bottom: 28px;
  text-align: center;
}

.entry-title {
  color: var(--df-petrole);
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.entry-title a {
  color: inherit;
}

.entry-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.entry-content h2 {
  margin-top: 1.25em;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.entry-content h3 {
  max-width: 900px;
  margin: 25px auto;
  padding: 20px 25px;
  color: var(--df-petrole);
  background: rgba(255, 255, 255, .64);
  border: 0;
  border-radius: 18px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(7, 55, 70, .06);
}

.entry-content h3::after {
  content: none;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.entry-content strong {
  color: var(--df-petrole);
}

.entry-content img,
.wp-block-image img,
.woocommerce img {
  border-radius: 18px;
}

.entry-content iframe,
.entry-content embed,
.entry-content object,
.wp-block-embed iframe,
.wp-block-embed__wrapper iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto;
  margin-left: auto;
  border: 0;
  border-radius: 18px;
}

.entry-content iframe {
  min-height: 420px;
}

.wp-block-embed,
.wp-block-embed__wrapper {
  width: 100%;
  max-width: 100%;
}

.wp-block-image,
.wp-block-gallery {
  margin-top: 30px;
  margin-bottom: 30px;
}

blockquote,
.wp-block-quote {
  padding: 24px 28px;
  color: var(--df-petrole);
  background: var(--df-bleu-poudre);
  border-left: 5px solid var(--df-prune);
  border-radius: 0 var(--df-arrondi) var(--df-arrondi) 0;
}

hr,
.wp-block-separator {
  width: 110px;
  margin: 40px auto;
  border-color: var(--df-prune);
}

/* Boutons WordPress, formulaires et appels à l'action */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  color: #fff !important;
  background: var(--df-prune) !important;
  border: 2px solid var(--df-prune) !important;
  border-radius: 999px !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.wp-block-button__link:hover,
.more-link:hover {
  color: #fff !important;
  background: var(--df-prune-fonce) !important;
  border-color: var(--df-prune-fonce) !important;
  transform: translateY(-2px);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--df-texte);
  background: #fff;
  border: 1px solid rgba(7, 55, 70, .22);
  border-radius: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--df-prune);
  outline: 3px solid rgba(104, 16, 63, .12);
}

label {
  color: var(--df-petrole);
  font-weight: 700;
}

/* Tableaux et tarifs */
table {
  overflow: hidden;
  width: 100%;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(7, 55, 70, .07);
}

th {
  color: #fff;
  background: var(--df-petrole);
}

th,
td {
  padding: 14px 16px;
  border-color: rgba(7, 55, 70, .10);
}

tr:nth-child(even) td {
  background: rgba(213, 229, 231, .32);
}

/* Articles et actualités */
.blog .post,
.archive .post,
.search .hentry {
  overflow: hidden;
  padding: 30px;
  background: var(--df-ivoire);
  border-radius: var(--df-arrondi);
  box-shadow: var(--df-ombre);
}

.entry-meta,
.entry-meta a {
  color: var(--df-prune);
}

.featured-image img,
.post-featured-image img {
  width: 100%;
  border-radius: var(--df-arrondi);
}

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 18px;
  background: var(--df-ivoire);
  border: 1px solid rgba(7, 55, 70, .08);
  border-radius: var(--df-arrondi);
  box-shadow: 0 10px 28px rgba(67, 10, 45, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--df-ombre);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
  color: var(--df-petrole);
  font-family: Georgia, "Times New Roman", serif;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--df-prune);
  font-weight: 700;
}

.woocommerce span.onsale {
  min-width: 52px;
  min-height: 52px;
  padding: 8px;
  color: #fff;
  background: var(--df-prune);
  border-radius: 50%;
}

.woocommerce-message,
.woocommerce-info {
  background: var(--df-bleu-poudre);
  border-top-color: var(--df-petrole);
  border-radius: 14px;
}

.woocommerce-error {
  background: var(--df-rose);
  border-top-color: var(--df-prune);
  border-radius: 14px;
}

/* Pied de page */
#colophon {
  position: relative;
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .08), transparent 18rem),
    var(--df-petrole);
  border-top: 7px solid var(--df-prune);
}

#colophon::before {
  position: absolute;
  top: -28px;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  content: "♥";
  place-items: center;
  color: #fff;
  background: var(--df-prune);
  border: 5px solid var(--df-creme);
  border-radius: 50%;
  transform: translateX(-50%);
}

.footer-widgets-wrapper {
  padding-top: 56px;
  padding-bottom: 42px;
  background: transparent;
}

#colophon .widget-title {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

#colophon a {
  color: #fff;
}

#colophon a:hover {
  color: var(--df-rose);
}

#colophon .textwidget img {
  margin-right: 8px;
  border-radius: 50%;
}

.footer-socket-wrapper {
  color: rgba(255, 255, 255, .65);
  background: var(--df-prune-fonce);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-socket-wrapper a {
  color: #fff;
}

/* Mobile */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  #header-text-nav-wrap {
    padding: 12px 0;
  }

  #header-left-section {
    justify-content: center;
  }

  #header-text-nav-wrap {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  #header-right-section {
    width: 100%;
    margin-left: 0;
  }

  .main-navigation .menu-toggle {
    display: block;
    width: 100%;
  }

  .main-navigation .menu {
    display: none;
  }

  .main-navigation .menu.is-open {
    display: block;
  }

  .custom-logo {
    max-height: 68px;
  }

  #main {
    padding: 28px 0 48px;
  }

  .page .hentry,
  .single .hentry {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .main-navigation ul {
    padding: 10px;
    background: var(--df-ivoire);
    border-radius: 16px;
    box-shadow: var(--df-ombre);
  }

  .main-navigation ul li {
    margin: 2px 0;
  }

  .main-navigation ul li a {
    padding: 11px 14px;
  }

  .main-navigation ul ul {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 15px;
    border-top: 0;
    box-shadow: none;
  }

  .tg-one-fourth {
    float: none;
    width: 100%;
    padding-right: 0;
  }

  .footer-socket-area {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .entry-content h3 {
    padding: 17px 18px;
  }

  .entry-content iframe {
    min-height: 280px;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
