/*
Theme Name: YuanLiving
Theme URI: https://synorex.group/
Author: Synorex
Author URI: https://synorex.group/
Description: WordPress conversion of the Fuyuan Oriental static project.
Version: 1.1.0
Text Domain: yuanliving
*/

:root {
  --fydf-bg: #f2e5cc;
  --fydf-bg-soft: #f3e5cb;
  --fydf-ink: #3b2313;
  --fydf-accent: #8e2b24;
  --fydf-lilac: #c49efa;
  --fydf-gold: #e0bc87;
  --fydf-gold-hover: #d1ab75;
  --fydf-card: #fffaf1;
  --fydf-border: #ead7b8;
}

.fydf-home-v3-root {
  width: 100%;
  color: #3b2313;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  background-color: #f2e5cc;
  overflow-x: hidden;
}

.fydf-home-v3-root,
.fydf-home-v3-root .gb-container,
.fydf-home-v3-root .gb-inside-container,
.fydf-home-v3-root .wp-block-group,
.fydf-home-v3-root .wp-block-image,
.fydf-home-v3-root .wp-block-columns,
.fydf-home-v3-root .wp-block-column {
  box-sizing: border-box;
  max-width: none;
}

.fydf-home-v3-root .gb-container,
.fydf-home-v3-root .wp-block-group,
.fydf-home-v3-root .wp-block-columns {
  margin-top: 0;
  margin-bottom: 0;
}

.fydf-home-v3-root .wp-block-columns {
  gap: 2rem;
}

.fydf-home-v3-root p,
.fydf-home-v3-root h1,
.fydf-home-v3-root h2 {
  margin-top: 0;
}

.fydf-home-v3-surface {
  background-color: #f3e5cb;
  background-image: url("assets/images/bg2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.fydf-home-main-surface {
  background-color: #f3e5cb;
  background-image: url("assets/images/bg2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.fydf-home-block-root .wp-block-buttons {
  margin-top: 0;
  margin-bottom: 0;
}

.fydf-home-block-root .wp-block-button {
  margin: 0;
}

.fydf-home-block-root .wp-block-button__link {
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: none;
}

.fydf-home-hero-buttons {
  margin-top: 8px;
}

.fydf-home-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.fydf-home-hero-cta .wp-block-button__link {
  padding: 0.625rem 2rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0bc87;
  color: #3b2313;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  white-space: nowrap;
}

.fydf-home-state-row {
  gap: 32px;
}

.fydf-home-state-copy > * + * {
  margin-top: 0;
}

.fydf-home-state-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.fydf-home-state-buttons {
  width: auto;
  justify-content: flex-end;
  margin-left: auto;
}

.fydf-home-state-cta {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 0 !important;
  background: transparent;
}

.fydf-home-state-cta .wp-block-button__link {
  width: auto;
  padding: 0.75rem 1.5rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #3b2313;
  background: transparent;
  color: #3b2313;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  white-space: nowrap;
}

.fydf-home-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fydf-home-product-card .wp-block-group.w-full {
  width: 100%;
}

.fydf-home-product-buttons {
  width: 100%;
  justify-content: center;
  margin-top: 1.75rem;
}

.fydf-home-products-grid {
  margin-top: 3rem;
}

.fydf-home-block-root .wp-block-heading.has-text-align-center.text-2xl.font-bold.tracking-\[0\.2em\].mb-10 {
  margin-bottom: 3rem !important;
}

.fydf-home-block-root .wp-block-heading.has-text-align-center.text-2xl.font-bold.tracking-\[0\.2em\].mb-10 + .wp-block-columns.fydf-home-products-grid {
  margin-top: 0 !important;
}

.fydf-home-product-card .wp-block-buttons.fydf-home-product-buttons {
  margin-top: 1.75rem !important;
  margin-bottom: 0;
}

.fydf-home-product-card .wp-block-group.w-full.h-\[240px\] + .wp-block-buttons.fydf-home-product-buttons {
  margin-top: 1.75rem !important;
}

.fydf-home-hero-cta .wp-block-button__link:hover,
.fydf-home-product-cta .wp-block-button__link:hover {
  background: #d1ab75;
  color: #3b2313;
}

.fydf-home-state-cta .wp-block-button__link:hover {
  background: #3b2313;
  color: #f3e5cb;
}

.fydf-home-state-link {
  text-decoration: none;
}

.fydf-home-block-root {
  width: 100%;
  color: #3b2313;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  overflow-x: hidden;
  background-color: #f2e5cc;
}

.fydf-home-block-root,
.fydf-home-block-root .gb-container,
.fydf-home-block-root .gb-inside-container,
.fydf-home-block-root .wp-block-image,
.fydf-home-block-root .wp-block-group,
.fydf-home-block-root .wp-block-columns,
.fydf-home-block-root .wp-block-column {
  box-sizing: border-box;
  max-width: none;
}

.fydf-home-block-root .gb-container {
  margin: 0;
}

.fydf-home-block-root > .wp-block-group__inner-container,
.fydf-home-block-root .wp-block-group__inner-container,
.fydf-home-block-root .gb-inside-container,
.fydf-home-section,
.fydf-home-section > .gb-inside-container,
.fydf-home-hero-shell,
.fydf-home-hero-shell > .gb-inside-container,
.fydf-home-insight,
.fydf-home-insight > .gb-inside-container,
.fydf-home-products-section,
.fydf-home-products-section > .gb-inside-container,
.fydf-home-products-grid,
.fydf-home-products-grid > .gb-inside-container,
.fydf-home-product,
.fydf-home-product > .gb-inside-container,
.fydf-home-product-media,
.fydf-home-product-media > .gb-inside-container {
  max-width: none;
  margin: 0;
  width: 100%;
}

.fydf-home-block-root p,
.fydf-home-block-root h1,
.fydf-home-block-root h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.fydf-home-hero {
  position: relative;
}

.fydf-home-hero-shell {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #fdf0dc, #edd1a5, #d8af6e);
}

.fydf-home-hero-shell > .gb-inside-container {
  min-height: inherit;
}

.fydf-home-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.fydf-home-hero-bg-image,
.fydf-home-hero-bg-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: cover;
}

.fydf-home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(242, 229, 204, 0.62) 0%, rgba(242, 229, 204, 0.3) 36%, rgba(242, 229, 204, 0.18) 100%);
  pointer-events: none;
}

.fydf-home-hero-copy {
  position: relative;
  z-index: 10;
  padding: 56px 10% 72px;
  width: min(60%, 760px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.fydf-home-hero-title {
  margin: 0 0 48px;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
  max-width: 540px;
}

.fydf-home-hero-body {
  margin: 0 0 48px;
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  font-weight: 500;
  max-width: 500px;
}

.fydf-home-hero-body .wp-block-paragraph + .wp-block-paragraph {
  margin-top: 0;
}

.fydf-home-cta-block,
.fydf-home-outline-btn,
.fydf-home-product-btn,
.fydf-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.fydf-home-cta-block {
  background: #e0bc87;
  color: #3b2313;
  border-radius: 9999px;
  padding: 10px 32px;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 14px rgba(59, 35, 19, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.fydf-home-cta-block:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(59, 35, 19, 0.14);
  background: #d1ab75;
}

.fydf-home-cta-text a,
.fydf-home-outline-text a,
.fydf-home-product-btn-text a {
  color: inherit;
  text-decoration: none;
}

.fydf-home-icon {
  margin: 0;
  display: inline-flex;
  flex: 0 0 auto;
}

.fydf-home-icon img {
  margin: 0;
  display: block;
}

.fydf-home-icon-arrow,
.fydf-home-icon-arrow img {
  width: 20px;
  height: 20px;
}

.fydf-home-icon-arrow--small,
.fydf-home-icon-arrow--small img {
  width: 16px;
  height: 16px;
}

.fydf-home-icon-compass,
.fydf-home-icon-compass img {
  width: 28px;
  height: 28px;
}

.fydf-home-insight {
  position: relative;
  z-index: 10;
  padding: 48px 10% 64px;
}

.fydf-home-surface-overlay {
  position: absolute;
  inset: 0;
  background: rgba(243, 229, 203, 0.78);
  pointer-events: none;
}

.fydf-home-insight-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.fydf-home-insight-copy {
  width: 65%;
}

.fydf-home-kicker {
  color: #8e2b24;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-size: 18px;
}

.fydf-home-kicker-text {
  margin: 0;
}

.fydf-home-heading {
  margin: 0 0 24px;
  color: #8e2b24;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.fydf-home-copy {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #4a3222;
}

.fydf-home-copy-gap {
  margin-top: 16px !important;
}

.fydf-home-outline-wrap {
  width: 35%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.fydf-home-outline-btn {
  border: 1.5px solid #3b2313;
  color: #3b2313;
  border-radius: 9999px;
  padding: 12px 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.fydf-home-outline-btn:hover {
  background: #3b2313;
  color: #f3e5cb;
  transform: translateY(-1px);
}

.fydf-home-products-title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.fydf-home-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.fydf-home-product {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fydf-home-product-media {
  width: 100%;
  height: 240px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(59, 35, 19, 0.12);
}

.fydf-home-product-media-image,
.fydf-home-product-media-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: cover;
}

.fydf-home-product-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0 !important;
}

.fydf-home-product-cta .wp-block-button__link {
  padding: 0.625rem 2rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0bc87;
  color: #3b2313;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.25rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(59, 35, 19, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

@media (max-width: 1024px) {
  .fydf-home-state-row {
    flex-direction: column;
  }

  .fydf-home-state-action,
  .fydf-home-state-buttons {
    justify-content: flex-start;
    margin-left: 0;
  }

  .fydf-home-hero-copy {
    width: 65%;
    max-width: 100%;
  }

  .fydf-home-insight-top {
    flex-direction: column;
  }

  .fydf-home-insight-copy,
  .fydf-home-outline-wrap {
    width: 100%;
  }

  .fydf-home-outline-wrap {
    justify-content: flex-start;
  }

  .fydf-home-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .fydf-home-state-cta {
    width: auto;
  }

  .fydf-home-state-cta .wp-block-button__link {
    width: auto;
  }
}

@media (min-width: 768px) {
  .fydf-home-hero-cta .wp-block-button__link {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (max-width: 767px) {
  .fydf-home-hero-cta .wp-block-button__link,
  .fydf-home-product-cta .wp-block-button__link {
    width: auto;
  }

  .fydf-home-state-cta,
  .fydf-home-state-buttons,
  .fydf-home-state-cta .wp-block-button__link {
    width: 100%;
  }

  .fydf-home-hero-shell {
    min-height: 550px;
  }

  .fydf-home-hero-copy {
    width: 100%;
    padding: 40px 24px;
    max-width: 100%;
  }

  .fydf-home-hero-title {
    margin-bottom: 36px;
    font-size: 36px;
  }

  .fydf-home-hero-body {
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.9;
  }

  .fydf-home-insight {
    padding: 48px 24px 64px;
  }

  .fydf-home-heading {
    font-size: 24px;
  }

  .fydf-home-products-title {
    font-size: 24px;
  }

  .fydf-home-outline-btn {
    width: 100%;
  }
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-billing-fields,
.woocommerce-checkout .fydf-checkout-form .woocommerce-shipping-fields,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order {
  width: 100%;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-form-coupon-toggle,
.woocommerce-checkout .fydf-checkout-form .woocommerce-form-coupon {
  display: none !important;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-info {
  display: none !important;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-billing-fields h3,
.woocommerce-checkout .fydf-checkout-form .woocommerce-shipping-fields h3,
.woocommerce-checkout .fydf-checkout-form .woocommerce-additional-fields h3,
.woocommerce-checkout .fydf-checkout-form .woocommerce-billing-fields legend,
.woocommerce-checkout .fydf-checkout-form .woocommerce-shipping-fields legend,
.woocommerce-checkout .fydf-checkout-form .woocommerce-additional-fields legend,
.woocommerce-checkout .fydf-checkout-form #ship-to-different-address {
  display: none;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .fydf-checkout-form .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .woocommerce-checkout .fydf-checkout-form .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .fydf-checkout-form .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.woocommerce-checkout .fydf-checkout-form .form-row {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.woocommerce-checkout .fydf-checkout-form .form-row-wide,
.woocommerce-checkout .fydf-checkout-form .address-field,
.woocommerce-checkout .fydf-checkout-form .notes,
.woocommerce-checkout .fydf-checkout-form .woocommerce-additional-fields__field-wrapper .form-row {
  grid-column: 1 / -1;
}

.woocommerce-checkout .fydf-checkout-form .form-row-first,
.woocommerce-checkout .fydf-checkout-form .form-row-last {
  grid-column: auto;
  width: 100%;
  float: none;
  clear: none;
}

.woocommerce-checkout .fydf-checkout-form .form-row label {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fydf-ink);
}

.woocommerce-checkout .fydf-checkout-form .required {
  color: var(--fydf-accent);
  text-decoration: none;
  border: 0;
}

.woocommerce-checkout .fydf-checkout-form input[type="text"],
.woocommerce-checkout .fydf-checkout-form input[type="email"],
.woocommerce-checkout .fydf-checkout-form input[type="tel"],
.woocommerce-checkout .fydf-checkout-form input[type="url"],
.woocommerce-checkout .fydf-checkout-form input[type="password"],
.woocommerce-checkout .fydf-checkout-form input[type="number"],
.woocommerce-checkout .fydf-checkout-form select,
.woocommerce-checkout .fydf-checkout-form textarea,
.woocommerce-checkout .fydf-checkout-form .input-text,
.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--single,
.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--multiple {
  width: 100%;
  border: 1.5px solid #d9c4a2;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--fydf-ink);
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.woocommerce-checkout .fydf-checkout-form select {
  min-height: 48px;
}

.woocommerce-checkout .fydf-checkout-form input[type="text"]:focus,
.woocommerce-checkout .fydf-checkout-form input[type="email"]:focus,
.woocommerce-checkout .fydf-checkout-form input[type="tel"]:focus,
.woocommerce-checkout .fydf-checkout-form input[type="url"]:focus,
.woocommerce-checkout .fydf-checkout-form input[type="password"]:focus,
.woocommerce-checkout .fydf-checkout-form input[type="number"]:focus,
.woocommerce-checkout .fydf-checkout-form select:focus,
.woocommerce-checkout .fydf-checkout-form textarea:focus,
.woocommerce-checkout .fydf-checkout-form .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .fydf-checkout-form .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--fydf-accent);
  box-shadow: 0 0 0 3px rgba(142, 43, 36, 0.12);
}

.woocommerce-checkout .fydf-checkout-form textarea {
  min-height: 110px;
  resize: vertical;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-additional-fields textarea,
.woocommerce-checkout .fydf-checkout-form #order_comments,
.woocommerce-checkout .fydf-checkout-form #order_comments_field textarea {
  width: 100%;
  min-height: 110px;
  border: 1.5px solid #d9c4a2 !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--fydf-ink) !important;
  font-size: 15px !important;
  font-family: inherit !important;
  box-sizing: border-box;
  outline: none !important;
  box-shadow: none !important;
  resize: vertical;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-additional-fields textarea:focus,
.woocommerce-checkout .fydf-checkout-form #order_comments:focus,
.woocommerce-checkout .fydf-checkout-form #order_comments_field textarea:focus {
  border-color: var(--fydf-accent) !important;
  box-shadow: 0 0 0 3px rgba(142, 43, 36, 0.12) !important;
}

.woocommerce-checkout .fydf-checkout-form .select2-container {
  width: 100% !important;
}

.woocommerce-checkout .fydf-checkout-form .select2-container .select2-selection {
  min-height: 48px;
  border: 1.5px solid #d9c4a2 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 14px;
  color: var(--fydf-ink);
}

.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(59, 35, 19, 0.55);
}

.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--single .select2-selection__clear {
  margin-right: 0.35rem;
}

.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 10px;
}

.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--fydf-ink) transparent transparent transparent;
}

.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--single,
.woocommerce-checkout .fydf-checkout-form .select2-container--default .select2-selection--multiple {
  border: 1.5px solid #d9c4a2 !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: none !important;
}

.woocommerce-checkout .fydf-checkout-form .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .fydf-checkout-form .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--fydf-accent) !important;
  box-shadow: 0 0 0 3px rgba(142, 43, 36, 0.12) !important;
}

.woocommerce-checkout .fydf-checkout-form .select2-dropdown {
  border: 1.5px solid #d9c4a2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(59, 35, 19, 0.12);
}

.woocommerce-checkout .fydf-checkout-form .select2-search--dropdown {
  padding: 10px;
}

.woocommerce-checkout .fydf-checkout-form .select2-search--dropdown .select2-search__field {
  width: 100%;
  border: 1.5px solid #d9c4a2;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fydf-ink);
  font-family: inherit;
  outline: none;
}

.woocommerce-checkout .fydf-checkout-form .select2-results__option {
  padding: 10px 14px;
  color: var(--fydf-ink);
}

.woocommerce-checkout .fydf-checkout-form .select2-results__option--highlighted {
  background: #f2e5cc;
  color: var(--fydf-ink);
}

.woocommerce-checkout .fydf-checkout-form input[type="checkbox"],
.woocommerce-checkout .fydf-checkout-form input[type="radio"] {
  accent-color: var(--fydf-accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.woocommerce-checkout .fydf-checkout-form .checkbox,
.woocommerce-checkout .fydf-checkout-form .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--fydf-ink);
  line-height: 1.5;
}

.woocommerce-checkout .fydf-checkout-form .checkbox input,
.woocommerce-checkout .fydf-checkout-form .woocommerce-form__label-for-checkbox input {
  margin: 0;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-form__input-checkbox {
  margin-top: 0.1rem;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-terms-and-conditions-wrapper a,
.woocommerce-checkout .fydf-checkout-form .woocommerce-privacy-policy-text a {
  color: var(--fydf-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-checkout .fydf-checkout-form #order_review {
  margin-top: 0.25rem;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  color: var(--fydf-ink);
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table thead {
  display: none !important;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table thead td,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table tr.cart-subtotal:first-child,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table tr.order-total:first-child {
  display: none !important;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table tfoot tr {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #ead7b8;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table tbody tr:last-child,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table tfoot tr:last-child {
  border-bottom: 0;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table td {
  padding: 0;
  border: 0;
  background: transparent;
  vertical-align: top;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table th {
  text-align: left;
  font-weight: 600;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table td {
  text-align: right;
  white-space: nowrap;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .product-name {
  max-width: 70%;
  text-align: left;
  white-space: normal;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .product-total {
  font-weight: 700;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .product-name .product-quantity {
  display: inline-flex;
  margin-left: 0.35rem;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.05rem;
  font-weight: 700;
}

.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .shipping,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .fee,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .tax-rate,
.woocommerce-checkout .fydf-checkout-form .woocommerce-checkout-review-order-table .tax-total {
  color: #4a3222;
}

.woocommerce-checkout .fydf-checkout-form #payment {
  margin-top: 1rem;
  background: transparent;
}

.woocommerce-checkout .fydf-checkout-form #payment .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.75rem;
}

.woocommerce-checkout .fydf-checkout-form #payment .wc_payment_method {
  border: 1px solid #ead7b8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.9rem 1rem;
}

.woocommerce-checkout .fydf-checkout-form #payment .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.woocommerce-checkout .fydf-checkout-form #payment .payment_box {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #ead7b8;
  color: #4a3222;
  font-size: 0.95rem;
  line-height: 1.8;
}

.woocommerce-checkout .fydf-checkout-form #payment .place-order {
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .fydf-checkout-form #payment #place_order {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 9999px;
  padding: 0.8rem 1.35rem;
  background: var(--fydf-gold);
  color: var(--fydf-ink);
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.woocommerce-checkout .fydf-checkout-form #payment #place_order:hover {
  background: var(--fydf-gold-hover);
  box-shadow: 0 10px 18px rgba(59, 35, 19, 0.12);
  transform: translateY(-1px);
}

.woocommerce-checkout .fydf-checkout-form #payment .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .fydf-checkout-form #payment .woocommerce-privacy-policy-text {
  color: #6a4b33;
  font-size: 0.8rem;
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--fydf-ink);
  background: var(--fydf-bg);
  overflow-x: hidden;
}

.breathing-circle {
  position: relative;
  z-index: 0;
  isolation: isolate;
  transform-origin: center;
  animation: circle-breathe 6.5s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.breathing-circle::before {
  content: '';
  position: absolute;
  inset: -26px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(202, 160, 108, 0.28) 0%, rgba(202, 160, 108, 0.14) 34%, rgba(202, 160, 108, 0.06) 54%, rgba(202, 160, 108, 0) 74%);
  filter: blur(16px);
  opacity: 0.8;
  z-index: -1;
  animation: shadow-breathe 6.5s ease-in-out infinite;
}

.breathing-circle::after {
  content: '';
  position: absolute;
  inset: -42px;
  border-radius: 9999px;
  border: 1px solid rgba(202, 160, 108, 0.18);
  background: radial-gradient(circle, rgba(202, 160, 108, 0.10) 0%, rgba(202, 160, 108, 0.05) 40%, rgba(202, 160, 108, 0) 72%);
  filter: blur(2px);
  opacity: 0.45;
  z-index: -2;
  animation: halo-breathe 6.5s ease-in-out infinite;
}

.breathing-circle img {
  transform-origin: center;
  animation: image-breathe 6.5s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes circle-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 20px 60px rgba(122, 90, 56, 0.18);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 28px 78px rgba(122, 90, 56, 0.26);
  }
}

@keyframes image-breathe {
  0%, 100% {
    transform: scale(1);
    filter: saturate(0.98) brightness(1);
  }
  50% {
    transform: scale(1.03);
    filter: saturate(1.03) brightness(1.02);
  }
}

@keyframes shadow-breathe {
  0%, 100% {
    transform: scale(0.97);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

@keyframes halo-breathe {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breathing-circle,
  .breathing-circle::before,
  .breathing-circle img {
    animation: none !important;
  }
}

body.admin-bar {
  --fydf-admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --fydf-admin-bar-offset: var(--wp-admin--admin-bar--height, 46px);
  }
}

body.admin-bar #cartOverlay,
body.admin-bar #cartPanel {
  top: var(--fydf-admin-bar-offset, 32px);
}

body.admin-bar #cartOverlay {
  height: calc(100vh - var(--fydf-admin-bar-offset, 32px));
}

body.admin-bar #cartPanel {
  height: calc(100vh - var(--fydf-admin-bar-offset, 32px));
}

.bg-lilac {
  background-color: var(--fydf-lilac);
}

.text-red-accent {
  color: var(--fydf-accent);
}

.bg-sand-gold {
  background-color: var(--fydf-gold);
}

.bg-sand-gold:hover {
  background-color: var(--fydf-gold-hover);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.fydf-article-body {
  color: #4a3222;
  font-size: 1rem;
  line-height: 2.05;
  letter-spacing: 0.03em;
}

.fydf-article-body > *:first-child {
  margin-top: 0;
}

.fydf-article-body > *:last-child {
  margin-bottom: 0;
}

.fydf-article-body p,
.fydf-article-body ul,
.fydf-article-body ol,
.fydf-article-body blockquote,
.fydf-article-body figure {
  margin: 0 0 1.4rem;
}

.fydf-article-body h2,
.fydf-article-body h3,
.fydf-article-body h4 {
  color: #3b2313;
  font-weight: 700;
  line-height: 1.5;
  margin: 2.2rem 0 1rem;
}

.fydf-article-body h2 {
  font-size: 1.625rem;
}

.fydf-article-body h3 {
  font-size: 1.35rem;
}

.fydf-article-body ul,
.fydf-article-body ol {
  padding-left: 1.5rem;
}

.fydf-article-body li + li {
  margin-top: 0.5rem;
}

.fydf-article-body a {
  color: #8e2b24;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fydf-article-body blockquote {
  border-left: 3px solid #e0bc87;
  padding: 0.3rem 0 0.3rem 1rem;
  color: #6a523d;
  background: rgba(242, 229, 204, 0.45);
}

.fydf-article-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.fydf-about-block-root {
  color: #3b2313;
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
}

.fydf-about-section {
  position: relative;
  z-index: 10;
  padding: 2.5rem 1rem;
}

.fydf-about-section--hero {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.fydf-about-section--features {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

.fydf-about-section--story {
  padding-top: 0;
  padding-bottom: 4rem;
}

.fydf-about-section--bottom {
  padding-top: 0;
  padding-bottom: 5rem;
}

.fydf-about-shell {
  max-width: 72rem;
  margin: 0 auto;
}

.fydf-about-hero-shell {
  max-width: 64rem;
  text-align: center;
}

.fydf-about-kicker {
  margin: 0 0 1rem;
  color: #8d6b48;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  line-height: 1.5;
}

.fydf-about-title {
  margin: 0;
  color: #7a5a38;
  font-size: 2.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.18em;
}

.fydf-about-rule {
  width: 4rem;
  margin: 1.75rem auto 2rem;
  border: 0;
  border-top: 1px solid #b8925f;
}

.fydf-about-copy {
  max-width: 58rem;
}

.fydf-about-copy p {
  margin: 0;
  color: #6f5744;
  font-size: 0.9375rem;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.fydf-about-copy p + p {
  margin-top: 1.5rem;
}

.fydf-about-features-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.fydf-about-features-grid > .fydf-about-feature {
  margin: 0 !important;
}

.fydf-about-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  color: #7c6044;
  text-align: center;
  border-right: 0;
}

.fydf-about-feature--last {
  border-right: 0;
}

.fydf-about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  color: #9b764b;
  font-size: 2.125rem;
  line-height: 1;
  margin: 0;
}

.fydf-about-icon img,
.fydf-about-story-badge img,
.fydf-about-bottom-icon img {
  display: block;
  width: 100%;
  height: auto;
  line-height: 1;
}

.fydf-about-feature-title {
  margin: 0;
  color: #7c6044;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.fydf-about-feature-copy {
  margin: 0;
  color: #7c6044;
  font-size: 0.875rem;
  line-height: 1.75rem;
  letter-spacing: 0.05em;
}

.fydf-about-story-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.fydf-about-story-grid > .fydf-about-story-side,
.fydf-about-story-grid > .fydf-about-story-media-column {
  margin: 0 !important;
}

.fydf-about-story-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.fydf-about-story-item {
  gap: 1rem;
}

.fydf-about-story-copy {
  max-width: 24rem;
}

.fydf-about-story-copy--right {
  margin-left: auto;
}

.fydf-about-story-badge {
  width: 3.5rem !important;
  min-width: 3.5rem;
  max-width: 3.5rem;
  height: 3.5rem !important;
  min-height: 3.5rem;
  max-height: 3.5rem;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.5rem;
  border: 1px solid #caa06c;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  color: #9b764b;
  font-size: 1.75rem;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.fydf-about-story-badge.is-resized {
  width: 3.5rem !important;
}

.fydf-about-story-badge img {
  width: 1.75rem !important;
  height: 1.75rem !important;
  object-fit: contain;
  flex: 0 0 auto;
}

.fydf-about-story-title {
  margin: 0 0 0.5rem;
  color: #7b5b39;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.fydf-about-story-text {
  margin: 0;
  color: #6f5744;
  font-size: 0.875rem;
  line-height: 1.75rem;
  letter-spacing: 0.05em;
}

.fydf-about-story-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22.5rem;
}

.fydf-about-media-line {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 50%;
  margin: 0;
  border: 0;
  border-top: 1px dashed rgba(202, 160, 108, 0.7);
  transform: translateY(-50%);
}

.fydf-about-hero-image {
  width: min(22.5rem, 100%);
  margin: 0;
  border: 2px solid #caa06c;
  border-radius: 999px;
  overflow: hidden;
  background: #ead8bf;
  box-shadow: 0 20px 60px rgba(122, 90, 56, 0.18);
}

.fydf-about-hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center;
}

.fydf-about-bottom-shell {
  max-width: 64rem;
}

.fydf-about-mantra {
  margin: 0 0 1rem;
  color: #7a5a38;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  line-height: 1.4;
}

.fydf-about-mantra-sub {
  margin: 0 0 1.5rem;
  color: #8a6a49;
  font-size: 0.875rem;
  letter-spacing: 0.45em;
  line-height: 1.5;
}

.fydf-about-bottom-line {
  position: relative;
  width: min(16rem, 100%);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent 0%, #caa06c 50%, transparent 100%);
}

.fydf-about-bottom-icon {
  position: absolute;
  left: 50%;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  color: #caa06c;
  background: #f7efe1;
  transform: translate(-50%, -50%);
  margin: 0;
}

.editor-styles-wrapper .fydf-about-block-root {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.editor-styles-wrapper .fydf-about-block-root > .block-editor-block-list__layout,
.editor-styles-wrapper .fydf-about-block-root > .block-editor-inner-blocks > .block-editor-block-list__layout {
  max-width: none;
}

.editor-styles-wrapper .fydf-about-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 1rem;
  padding-right: 1rem;
}

.editor-styles-wrapper .fydf-about-shell {
  max-width: 72rem;
}

.editor-styles-wrapper .fydf-about-hero-shell,
.editor-styles-wrapper .fydf-about-bottom-shell {
  max-width: 64rem;
}

.editor-styles-wrapper .fydf-about-feature,
.editor-styles-wrapper .fydf-about-story-side {
  min-height: 100%;
}

.editor-styles-wrapper .fydf-about-story-side {
  justify-content: flex-start;
}

.editor-styles-wrapper .fydf-about-story-item {
  align-items: flex-start;
}

.editor-styles-wrapper .fydf-about-icon,
.editor-styles-wrapper .fydf-about-story-badge,
.editor-styles-wrapper .fydf-about-bottom-icon {
  margin-bottom: 0 !important;
}

.editor-styles-wrapper .fydf-about-story-media {
  min-height: 22rem;
}

.editor-styles-wrapper .fydf-about-media-line {
  z-index: 0;
}

.editor-styles-wrapper .fydf-about-hero-image {
  position: relative;
  z-index: 1;
}

.editor-styles-wrapper .fydf-about-copy,
.editor-styles-wrapper .fydf-about-story-copy,
.editor-styles-wrapper .fydf-about-story-copy--right {
  width: 100%;
}

.editor-styles-wrapper .fydf-about-story-copy--right {
  text-align: right;
}

@media (min-width: 768px) {
  .fydf-about-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .fydf-about-section--hero {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .fydf-about-kicker {
    font-size: 1rem;
  }

  .fydf-about-title {
    font-size: 3.25rem;
  }

  .fydf-about-copy p {
    font-size: 1.0625rem;
  }

  .fydf-about-features-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .fydf-about-feature {
    padding-left: 1rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(202, 160, 108, 0.6);
  }

  .fydf-about-feature--last {
    border-right: 0;
  }

  .fydf-about-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .fydf-about-story-text {
    font-size: 0.9375rem;
  }

  .fydf-about-mantra {
    font-size: 1.5rem;
  }

  .fydf-about-mantra-sub {
    font-size: 1rem;
  }
}

@media (max-width: 781px) {
  .fydf-about-feature {
    border-right: 0;
    padding: 0;
    margin-bottom: 1.75rem;
  }

  .fydf-about-story-item,
  .fydf-about-story-item--right {
    justify-content: center;
  }

  .fydf-about-story-copy,
  .fydf-about-story-copy--right {
    max-width: 100%;
    margin: 0;
    text-align: center;
  }

  .fydf-about-story-copy--right .has-text-align-right,
  .fydf-about-story-copy--right .fydf-about-story-text,
  .fydf-about-story-copy--right .fydf-about-story-title {
    text-align: center !important;
  }

  .fydf-about-story-media {
    min-height: auto;
    padding: 1rem 0;
  }

  .fydf-about-media-line {
    display: none;
  }
}
