/*
Theme Name: Yenouka Livre
Theme URI: https://yenouka.fr/
Author: Institut Yam Chlomo
Description: Landing page premium mobile-first pour la précommande de Derekh Ets Ha'Haïm, intégrée à WooCommerce.
Version: 1.0.9
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: yenouka-livre
*/

:root {
  --ink: #171018;
  --plum: #2c1726;
  --plum-deep: #100a10;
  --gold: #cfa45d;
  --gold-light: #efd59b;
  --ivory: #f8f1e8;
  --muted: #cfc1c3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--plum-deep);
  color: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
.admin-bar .mobile-order-bar { bottom: 44px; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 40%, rgba(171, 116, 75, .18), transparent 31rem),
    radial-gradient(circle at 7% 14%, rgba(111, 55, 96, .26), transparent 25rem),
    linear-gradient(142deg, #160c14 0%, #281421 50%, #100a10 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(235, 205, 146, .12);
  border-radius: 999px;
  pointer-events: none;
}
.hero::before { width: 48rem; height: 48rem; right: -25rem; top: 5rem; }
.hero::after { width: 27rem; height: 27rem; left: -18rem; bottom: -10rem; }

.site-header {
  width: min(1180px, calc(100% - 42px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(240, 211, 158, .15);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img {
  width: 39px;
  height: 39px;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: sepia(1) saturate(.55) contrast(1.2);
}
.brand span { display: grid; line-height: 1; }
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand em {
  margin-top: 5px;
  color: var(--gold-light);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.header-link {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { color: #a99b9f; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease; }
.site-header nav a:hover { color: var(--gold-light); }

.hero-grid {
  width: min(1180px, calc(100% - 42px));
  min-height: calc(100svh - 132px);
  margin: 0 auto;
  padding: 34px 0 78px;
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: clamp(34px, 7vw, 104px);
}
.book-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}
.book-aura {
  position: absolute;
  width: min(34vw, 410px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(214, 165, 92, .18);
  filter: blur(55px);
}
.book-cover {
  position: relative;
  width: min(35vw, 410px);
  height: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(0 34px 25px rgba(0,0,0,.56));
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 7.2vw, 112px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .82;
  text-wrap: balance;
}
.hero h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  margin: 34px 0 26px;
  background: var(--gold);
}
.hero-subtitle {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}
.order-line { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.price { margin: 0; white-space: nowrap; color: var(--gold-light); }
.price span { font-family: Georgia, "Times New Roman", serif; font-size: 42px; }
.price small { display: block; margin-top: -3px; color: #9f9194; font-size: 9px; letter-spacing: .2em; text-align: center; }
.primary-button {
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #d5aa62;
  background: linear-gradient(110deg, #e1bc75, #b6813f);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
  color: #21121a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .25s ease, filter .25s ease;
}
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.primary-button span { font-size: 22px; font-weight: 400; }
.trust-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  color: #aa9da0;
  font-size: 10px;
  letter-spacing: .04em;
  list-style: none;
}
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list span { color: var(--gold); font-size: 6px; }
.scroll-cue {
  position: absolute;
  right: 30px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #928489;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: bottom right;
}
.scroll-cue i { width: 43px; height: 1px; background: #8d754f; }

.book-intro {
  padding: clamp(92px, 11vw, 160px) max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(60px, 9vw, 130px);
  background: var(--ivory);
  color: #271821;
}
.book-intro .section-kicker,
.rav-copy .section-kicker,
.faq .section-kicker { color: #9e6d30; }
.intro-heading h2,
.cover-copy-heading h2,
.rav-copy h2,
.preview-copy h2,
.order-card h2,
.faq h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.02;
}
.intro-body { padding-top: 26px; }
.intro-body > p { max-width: 570px; color: #685b5f; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.75; }
.intro-body .lead { margin-top: 0; color: #33222b; font-size: 25px; line-height: 1.5; }
.book-facts { margin-top: 44px; padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid #dfd2c5; }
.book-facts div { display: grid; gap: 7px; }
.book-facts strong { color: #39232f; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 400; }
.book-facts span { color: #8b7d80; font-size: 9px; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }

.themes {
  padding: clamp(96px, 11vw, 155px) max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(70px, 10vw, 150px);
  background:
    radial-gradient(circle at 7% 12%, rgba(122, 64, 103, .2), transparent 28rem),
    #1b1018;
}
.cover-copy-heading { position: sticky; top: 70px; align-self: start; }
.cover-copy-heading h2 { font-size: clamp(48px, 5.4vw, 78px); }
.cover-copy { padding: 12px 0 0 clamp(32px, 5vw, 74px); border-left: 1px solid rgba(230, 198, 139, .24); }
.cover-copy p { margin: 0; color: #bcaeb1; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.82; }
.cover-copy em { color: #ead6bd; }
.cover-copy-lead { color: #f2e7da !important; font-size: clamp(23px, 2.3vw, 32px) !important; line-height: 1.55 !important; }
.cover-copy-lead::after { content: ""; display: block; width: 72px; height: 1px; margin: 42px 0; background: var(--gold); }
.cover-copy-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.cover-copy-closing { margin-top: 38px !important; padding-top: 32px; border-top: 1px solid rgba(230, 198, 139, .15); }
.cover-copy-closing strong { color: var(--gold-light); font-weight: 400; }

.rav-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 780px; background: #eadfce; color: #281a21; }
.rav-photo { min-height: 720px; overflow: hidden; }
.rav-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: sepia(.2) saturate(.72) contrast(1.08); }
.rav-copy { padding: clamp(80px, 10vw, 150px) clamp(42px, 8vw, 130px); display: flex; flex-direction: column; justify-content: center; }
.rav-lead { margin: 36px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.5; }
.rav-copy > p:not(.section-kicker):not(.rav-lead) { color: #716266; font-size: 14px; line-height: 1.8; }
.rav-copy blockquote { margin: 38px 0 0; padding: 24px 0 0 28px; border-top: 1px solid #cdbb9e; border-left: 1px solid #c29a5e; color: #514047; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-style: italic; line-height: 1.6; }

.preview { padding: clamp(92px, 10vw, 145px) 0; overflow: hidden; background: #f8f1e8; color: #281a21; }
.preview-copy { padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .9fr 1fr; align-items: end; gap: 80px; }
.preview-copy .section-kicker { grid-column: 1 / -1; margin-bottom: -48px; color: #9e6d30; }
.preview-copy > p:last-child { max-width: 440px; margin: 0 0 8px; color: #75676a; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.7; }
.page-rail { margin-top: 76px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.page-rail::-webkit-scrollbar { display: none; }
.page-card { position: relative; flex: 0 0 min(28vw, 325px); margin: 0; padding: 15px; background: #ded2c2; scroll-snap-align: center; }
.page-card img { display: block; width: 100%; height: auto; box-shadow: 0 10px 32px rgba(53, 36, 42, .13); }
.page-card figcaption { position: absolute; right: 20px; bottom: 19px; padding: 5px 7px; background: rgba(255,255,255,.88); color: #735d48; font-size: 9px; letter-spacing: .1em; }
.featured-page { background: #bd9360; }
.swipe-hint { margin: 24px max(24px, calc((100vw - 1180px) / 2)) 0; color: #9a8982; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.order-section { min-height: 820px; padding: clamp(80px, 10vw, 140px) max(24px, calc((100vw - 1120px) / 2)); display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(60px, 9vw, 130px); background: radial-gradient(circle at 22% 48%, rgba(190, 132, 80, .18), transparent 27rem), #140c12; }
.order-visual { position: relative; display: grid; place-items: center; }
.order-visual::before { content: ""; position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; background: rgba(207, 164, 93, .13); filter: blur(60px); }
.order-visual img { position: relative; width: min(36vw, 430px); height: auto; filter: drop-shadow(0 34px 30px rgba(0,0,0,.5)); transform: rotate(-2deg); }
.order-card { padding: clamp(34px, 5vw, 66px); border: 1px solid rgba(231, 196, 133, .24); background: rgba(46, 25, 39, .63); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.order-card h2 { font-size: clamp(42px, 4.2vw, 64px); }
.order-description { margin: 22px 0 35px; color: #b4a5a9; font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.price-row { padding: 24px 0; display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid rgba(231, 196, 133, .16); border-bottom: 1px solid rgba(231, 196, 133, .16); }
.price-row strong { color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; font-size: 44px; font-weight: 400; }
.price-row span { margin-bottom: 8px; color: #918287; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.order-card label { display: block; margin: 27px 0 10px; color: #a7979c; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.order-card select { width: 100%; height: 52px; padding: 0 15px; border: 1px solid rgba(231, 196, 133, .26); border-radius: 0; background: #21131d; color: #f4e9dc; font: inherit; }
.checkout-button { min-height: 62px; margin-top: 14px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(110deg, #e1bc75, #b6813f); color: #21121a; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.checkout-button span { font-size: 24px; font-weight: 400; }
.checkout-button[type="submit"] { width: 100%; border: 0; cursor: pointer; }
.checkout-button.is-pending { opacity: .72; cursor: not-allowed; }
.shipping-note { margin-top: 25px; display: flex; gap: 14px; color: #9f9195; }
.shipping-note > span { color: var(--gold); font-size: 20px; }
.shipping-note p { margin: 0; font-size: 11px; line-height: 1.6; }
.shipping-note strong { display: block; margin-bottom: 3px; color: #d2c3c4; }
.payment-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #75686d; font-size: 8px; letter-spacing: .11em; }

.faq { padding: clamp(92px, 10vw, 145px) max(24px, calc((100vw - 1120px) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; background: #f8f1e8; color: #281a21; }
.faq-list { border-top: 1px solid #d9cbbb; }
.faq details { border-bottom: 1px solid #d9cbbb; }
.faq summary { padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: #9e6d30; font-family: Arial, sans-serif; font-weight: 300; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 620px; margin: -4px 0 26px; color: #76686b; font-size: 13px; line-height: 1.7; }

footer { padding: 72px max(24px, calc((100vw - 1180px) / 2)) 28px; background: #100a0f; }
.footer-main { min-height: 150px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: start; gap: 60px; }
.footer-main > p { margin: 12px 0 0; color: #8e8084; font-family: Georgia, "Times New Roman", serif; font-size: 15px; }
.back-top { margin-top: 12px; color: var(--gold-light); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-legal { padding-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 12px 30px; border-top: 1px solid rgba(231, 196, 133, .13); color: #a899a0; font-size: .75rem; letter-spacing: normal; line-height: 1.6; }
.footer-legal nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: .8125rem; text-transform: none; }
.footer-legal nav a { display: inline-flex; align-items: center; min-height: 24px; color: #b5a6ad; text-decoration: none; }
.footer-legal nav a:hover, .footer-legal nav a:focus-visible { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.mobile-order-bar { display: none; }

.content-shell,
.wc-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 80px 0;
}
.content-shell h1,
.wc-shell h1 {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
}
.wc-shell .woocommerce { color: var(--ivory); }
.wc-shell input,
.wc-shell select,
.wc-shell textarea {
  border: 1px solid rgba(231, 196, 133, .3);
  background: #21131d;
  color: var(--ivory);
}
.wc-shell .button,
.wc-shell button.button,
.wc-shell input.button {
  border-radius: 0;
  background: linear-gradient(110deg, #e1bc75, #b6813f);
  color: #21121a;
  font-weight: 800;
}

@media (max-width: 1000px) {
  .site-header nav { display: none; }
  .rav-section { grid-template-columns: .9fr 1.1fr; }
  .footer-legal { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); min-height: 70px; }
  .hero-grid {
    width: calc(100% - 36px);
    min-height: auto;
    padding: 25px 0 112px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .book-stage {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 8px 0 28px;
  }
  .book-aura { width: 75vw; filter: blur(42px); }
  .book-cover {
    display: block;
    width: min(58vw, 280px);
    height: auto;
    max-width: 100%;
    max-height: none;
    transform: rotate(-2deg) translateY(-2px);
  }
  .hero-copy { width: 100%; text-align: center; }
  .eyebrow { margin: 13px 0 12px; font-size: 9px; letter-spacing: .19em; }
  .hero h1 { font-size: clamp(51px, 16vw, 72px); line-height: .86; }
  .hero h1::after { margin: 22px auto 17px; }
  .hero-subtitle { margin: 0 auto; max-width: 355px; font-size: 16px; line-height: 1.42; }
  .order-line { margin-top: 22px; justify-content: center; }
  .order-line .primary-button { display: none; }
  .price span { font-size: 36px; }
  .trust-list { margin-top: 20px; justify-content: center; gap: 8px 14px; font-size: 9px; }
  .scroll-cue { display: none; }
  .book-intro { padding: 88px 22px 100px; display: block; }
  .intro-heading h2,
  .cover-copy-heading h2,
  .rav-copy h2,
  .preview-copy h2,
  .order-card h2,
  .faq h2 { font-size: clamp(40px, 12vw, 54px); }
  .intro-body { padding-top: 45px; }
  .intro-body .lead { font-size: 21px; }
  .intro-body > p { font-size: 16px; }
  .book-facts { grid-template-columns: 1fr; gap: 16px; }
  .book-facts div { grid-template-columns: 95px 1fr; align-items: center; }
  .themes { padding: 88px 22px 100px; display: block; }
  .cover-copy-heading { position: static; }
  .cover-copy { margin-top: 52px; padding: 0 0 0 20px; }
  .cover-copy-lead { font-size: 22px !important; }
  .cover-copy-lead::after { margin: 32px 0; }
  .cover-copy-columns { display: block; }
  .cover-copy-columns p + p { margin-top: 26px; }
  .cover-copy-closing { margin-top: 28px !important; padding-top: 26px; }
  .rav-section { display: flex; flex-direction: column; min-height: 0; }
  .rav-photo { height: 72svh; min-height: 560px; }
  .rav-copy { padding: 82px 22px 96px; }
  .rav-lead { font-size: 21px; }
  .preview { padding: 86px 0 100px; }
  .preview-copy { padding: 0 22px; display: block; }
  .preview-copy .section-kicker { margin-bottom: 20px; }
  .preview-copy > p:last-child { margin-top: 27px; font-size: 16px; }
  .page-rail { margin-top: 52px; padding: 0 22px; gap: 16px; }
  .page-card { flex-basis: 72vw; padding: 10px; }
  .swipe-hint { margin-left: 22px; }
  .order-section { min-height: 0; padding: 80px 18px 105px; display: flex; flex-direction: column; gap: 35px; }
  .order-visual img { width: min(68vw, 330px); }
  .order-card { width: 100%; padding: 32px 22px; }
  .order-card h2 { font-size: 42px; }
  .faq { padding: 86px 22px 112px; display: block; }
  .faq-list { margin-top: 52px; }
  .faq summary { font-size: 16px; line-height: 1.4; }
  footer { padding: 66px 22px 106px; }
  .footer-main { display: block; min-height: 220px; }
  .footer-main > p { margin: 28px 0; }
  .footer-legal nav { flex-wrap: wrap; }
  .mobile-order-bar {
    position: fixed;
    z-index: 20;
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 64px;
    padding: 8px 8px 8px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(27, 15, 23, .96);
    border: 1px solid rgba(235, 205, 146, .28);
    box-shadow: 0 12px 50px rgba(0,0,0,.38);
    backdrop-filter: blur(14px);
  }
  .mobile-order-bar div { display: grid; }
  .mobile-order-bar strong { color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; }
  .mobile-order-bar span { color: #a59699; font-size: 8px; letter-spacing: .15em; }
  .mobile-order-bar a { padding: 15px 18px; background: linear-gradient(110deg, #e1bc75, #b6813f); color: #23141b; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
}

@media (max-width: 390px) {
  .hero-grid { padding-top: 18px; }
  .hero-subtitle { font-size: 15px; }
  .trust-list { gap: 6px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button { transition: none; }
}

/* France Books - parcours boutique, 2026-09-04 */
body:not(.home) .content-shell, body:not(.home) .wc-shell { width:min(1180px,calc(100% - 48px)); margin:32px auto 48px; padding:40px; background:var(--ivory); color:var(--plum); border-radius:8px; font-size:16px; line-height:1.6; }
body:not(.home) .content-shell h1, body:not(.home) .wc-shell h1 { margin:0 0 32px; color:var(--plum); font-size:clamp(32px,4vw,48px); line-height:1.15; }
body:not(.home) main h2 { font-size:22px; line-height:1.4; }
body:not(.home) main h3 { font-size:18px; }
body:not(.home) main .price, body:not(.home) main .price span { font:inherit; color:var(--plum); white-space:normal; }
body:not(.home) main .wc-block-components-product-price { font-size:18px; font-weight:600; }
body:not(.home) main .wc-block-components-product-name { font-size:16px; line-height:1.5; font-weight:600; }
body:not(.home) main .wc-block-components-product-metadata { color:#685b5f; font-size:14px; }
body:not(.home) main .wc-block-components-product-metadata__description { display:none; }
body:not(.home) main .wc-block-components-sidebar { background:#fff; border:1px solid #dfd2c5; border-radius:6px; padding:20px; }
body:not(.home) main .wc-block-components-checkout-order-summary__title { font-size:20px; }
body:not(.home) main .wc-block-components-totals-footer-item { font-size:22px; }
body:not(.home) main .wc-block-components-totals-footer-item-tax { font-size:14px; color:#685b5f; }
body:not(.home) main .wc-block-cart-item__image img, body:not(.home) main .wc-block-components-order-summary-item__image img { object-fit:contain; background:#fff; border-radius:3px; }
body:not(.home) main .wc-block-cart-items .wc-block-cart-item__image { width:120px; }
body:not(.home) main .wc-block-components-button.contained, body:not(.home) .wc-shell .button { min-height:52px; padding:14px 20px; border:1px solid #b6813f; border-radius:4px; background:linear-gradient(110deg,#e1bc75,#cfa45d); color:#21121a; font-size:16px; font-weight:700; text-decoration:none; }
body:not(.home) main .wc-block-components-button.contained:hover { filter:brightness(1.05); }
body:not(.home) main .wc-block-components-button:disabled { opacity:.55; }
body:not(.home) main :is(input,select,textarea) { font-size:16px; accent-color:var(--plum); }
body:not(.home) main .wc-block-components-text-input input, body:not(.home) main .wc-blocks-components-select__select, body:not(.home) main textarea, body:not(.home) .wc-shell input:not([type=radio]):not([type=checkbox]), body:not(.home) .wc-shell select { background:#fff; color:#2c1726; border-color:#aa969e; }
body:not(.home) main .wc-block-components-text-input label, body:not(.home) main .wc-blocks-components-select__label { color:#685b5f; }
body:not(.home) main .wc-block-components-radio-control__option { color:#2c1726; }
body:not(.home) main .wc-block-components-radio-control__option-checked { background:#fff; }
body:not(.home) main .wc-block-components-radio-control-accordion-content { background:#fff; border-radius:0 0 4px 4px; }
body:not(.home) main .wc-block-components-address-card { background:#fff; }
body:not(.home) main .wc-block-components-checkbox__label, body:not(.home) main .wc-block-checkout__terms { font-size:14px; line-height:1.6; }
body:not(.home) main a:not(.wp-element-button):not(.button):hover { text-decoration:underline; }
body:not(.home) :focus-visible { outline:3px solid #9e6d30; outline-offset:3px; }
.shop-header { max-width:1180px; }
.shop-header .brand em { font-size:12px; letter-spacing:.12em; }
.shop-header .header-link { font-size:14px; letter-spacing:.03em; text-transform:none; }
.shop-context { width:min(1180px,calc(100% - 48px)); margin:24px auto 0; color:var(--muted); font-size:14px; }
.shop-context p { margin:0 0 8px; }
.shop-steps { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:0; }
.shop-steps a { color:var(--gold-light); }
.shop-footer { max-width:1180px; margin:auto; padding:0 24px 36px; background:transparent; color:#cfc1c3; font-size:14px; line-height:1.6; }
.shop-footer p { margin:8px 0; }
.shop-footer a { color:var(--gold-light); text-decoration:underline; }
.shop-footer .shop-legal-links { display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px; margin-top:16px; font-size:.8125rem; }
.shop-footer .shop-legal-links a { display:inline-flex; align-items:center; min-height:24px; color:var(--muted); text-decoration:none; }
.shop-footer .shop-legal-links a:hover, .shop-footer .shop-legal-links a:focus-visible { color:var(--gold-light); text-decoration:underline; text-underline-offset:3px; }
body:not(.home) .wc-shell .woocommerce { color:var(--plum); }
body.single-product .wc-shell .summary .price { font-size:28px; }
@media(max-width:760px) {
 body:not(.home) .content-shell, body:not(.home) .wc-shell { width:calc(100% - 24px); margin:20px auto 32px; padding:24px 16px; }
 body:not(.home) main .wc-block-components-sidebar { padding:16px; margin-top:24px; }
 body:not(.home) main .wc-block-cart-items .wc-block-cart-item__image { width:88px; }
 body:not(.home) main .wc-block-components-product-name { font-size:16px; }
 body:not(.home) main .wc-block-components-order-summary-item__total-price { font-size:16px; }
 .shop-header { gap:16px; }
 .shop-header .brand img { display:none; }
 .shop-context { width:calc(100% - 32px); }
 .shop-footer { padding:0 20px 32px; }
}

/* Narrow cart layout: keep totals below details, never outside the viewport. */
@media(max-width:760px) {
 body.woocommerce-cart main table.wc-block-cart-items, body.woocommerce-cart main table.wc-block-cart-items tbody { display:block; width:100%; }
 body.woocommerce-cart main table.wc-block-cart-items tr.wc-block-cart-items__row { display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px 16px; width:100%; padding:20px 0; }
 body.woocommerce-cart main table.wc-block-cart-items td.wc-block-cart-item__image { grid-column:1; grid-row:1 / 3; width:64px; padding:0; }
 body.woocommerce-cart main table.wc-block-cart-items td.wc-block-cart-item__product { grid-column:2 / 3 !important; grid-row:1 !important; min-width:0; padding:0; }
 body.woocommerce-cart main table.wc-block-cart-items td.wc-block-cart-item__total { grid-column:2 / 3 !important; grid-row:2 !important; padding:0; text-align:left; justify-content:flex-start; }
 body.woocommerce-cart main .wc-block-components-quantity-selector { min-height:40px; }
 body.woocommerce-cart main .wc-block-cart-item__image img { width:64px; height:auto; }
 body:not(.home) main .wc-block-components-sidebar { width:100%; }
}

/* Final visual details: mobile reading and empty-cart state. */
body.woocommerce-cart .wc-block-cart__empty-cart__title::before { display:none; }
body.woocommerce-cart .wc-block-cart__empty-cart__title { padding-top:0; }
.mobile-order-bar strong .woocommerce-Price-amount, .mobile-order-bar strong .woocommerce-Price-currencySymbol { font:inherit; letter-spacing:normal; color:inherit; }
@media(max-width:760px) {
 .rav-photo { height:auto; min-height:0; }
 .rav-photo img { height:auto; display:block; object-fit:contain; }
 body.woocommerce-cart .shop-footer { padding-bottom:110px; }
 body.woocommerce-order-received main ul.order_details { margin:0 0 28px; padding:0; display:grid; gap:12px; }
 body.woocommerce-order-received main ul.order_details li { float:none; padding:0; margin:0; border:0; }
}

/* Withdrawal uses WooCommerce's secured two-step form and the existing visual theme. */
.withdrawal-link { font:inherit; letter-spacing:normal; text-transform:none; }
.woocommerce-order-withdrawal-content { max-width:46rem; margin:0 auto; font-size:1rem; line-height:1.65; }
.woocommerce-order-withdrawal-content .form-row { margin:0 0 20px; }
.woocommerce-order-withdrawal-content label { display:block; margin-bottom:8px; font-weight:600; }
.woocommerce-order-withdrawal-content input:not([type=radio]):not([type=hidden]), .woocommerce-order-withdrawal-content textarea { width:100%; min-height:48px; padding:12px; border:1px solid #aa969e; border-radius:4px; background:#fff; color:#2c1726; }
.woocommerce-order-withdrawal-content__radio-field { padding:16px; border:1px solid #dfd2c5; border-radius:4px; }
.woocommerce-order-withdrawal-content__radio-label { display:flex !important; gap:10px; align-items:center; min-height:44px; font-weight:400 !important; }
.woocommerce-order-withdrawal-content__steps { display:flex; flex-wrap:wrap; gap:16px 32px; padding-left:24px; margin:24px 0; }
.woocommerce-order-withdrawal-content__step--current { font-weight:700; }
.woocommerce-order-withdrawal-content__review-row { padding:12px 0; border-bottom:1px solid #dfd2c5; }
.woocommerce-order-withdrawal-content__review dt { font-weight:700; }
.woocommerce-order-withdrawal-content__review dd { margin:4px 0 0; overflow-wrap:anywhere; }
.woocommerce-order-withdrawal-content__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.woocommerce-page main .woocommerce-order-withdrawal-content .button { min-height:48px; padding:14px 20px; border:1px solid #b6813f; border-radius:4px; background:#ddb571; color:#21121a; font-size:1rem; font-weight:700; cursor:pointer; }
.woocommerce-page main .woocommerce-order-withdrawal-content .button:hover { background:#eccb93; color:#21121a; }
.woocommerce-page main .woocommerce-order-withdrawal-content .button:focus-visible { outline:3px solid #613c52; outline-offset:3px; }
.woocommerce-order-withdrawal-content__field-error { display:block; color:#a52a34; }
@media(max-width:600px) { .woocommerce-page main .woocommerce-order-withdrawal-content .form-row-first, .woocommerce-page main .woocommerce-order-withdrawal-content .form-row-last { float:none; width:100%; } .woocommerce-order-withdrawal-content__actions .button { width:100%; } }

/* Shared author layout: keep identical to the WordPress theme's final block. */
.rav-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; }
.rav-section .rav-photo { min-height: 0; }
.rav-section .rav-copy { min-width: 0; padding: clamp(56px, 6vw, 88px) clamp(28px, 5vw, 80px); }
.rav-section .rav-copy > * { width: 100%; max-width: 34rem; margin-left: auto; margin-right: auto; }
.rav-section .rav-copy .section-kicker { margin-top: 0; margin-bottom: 20px; font-family: Arial, Helvetica, sans-serif; font-size: .875rem; line-height: 1.5; letter-spacing: .18em; }
.rav-section .rav-copy h2 { margin-top: 0; margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
.rav-section .rav-copy .rav-lead { margin-top: 28px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: 1.4375rem; font-weight: 400; line-height: 1.5; }
.rav-section .rav-copy > p:not(.section-kicker):not(.rav-lead) { margin-top: 0; margin-bottom: 0; color: #685b5f; font-family: Georgia, "Times New Roman", serif; font-size: 1.125rem; font-weight: 400; line-height: 1.75; }
.rav-section .rav-copy > p:not(.section-kicker):not(.rav-lead) + p { margin-top: 20px; }
@media (max-width: 1000px) {
  .rav-section { display: flex; flex-direction: column; }
  .rav-section .rav-photo { height: auto; min-height: 0; aspect-ratio: auto; }
  .rav-section .rav-photo img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; object-position: center; }
  .rav-section .rav-copy { padding: 56px 24px 64px; }
}
@media (max-width: 760px) {
  .rav-section .rav-copy { padding: 48px 22px 56px; }
  .rav-section .rav-copy h2 { font-size: clamp(2.25rem, 10vw, 3.375rem); }
  .rav-section .rav-copy .rav-lead { font-size: 1.3125rem; margin-top: 24px; margin-bottom: 20px; }
  .rav-section .rav-copy > p:not(.section-kicker):not(.rav-lead) { font-size: 1rem; }
}

/* Keep the currency with its amount in narrow WooCommerce summaries. */
body:not(.home) main .wc-block-components-formatted-money-amount { white-space:nowrap; }
body:not(.home) main .wc-block-components-order-summary-item__total-price { white-space:nowrap; flex-shrink:0; min-width:max-content; }
