/* RVP palette:
   Ink Navy #1C2B3A | Ledger Paper #F1EEE5 | Brass #A6772C
   Stamp Red #8B3A2F | Charcoal #2A2622 | Rule Line #CBC3AE */

/* Footer */
#colophon,
.ast-small-footer {
  background-color: #1C2B3A;
  color: #d8d2c0;
}
#colophon a,
.ast-small-footer a {
  color: #c9c2ae;
}

/* Hairline rule under section headings */
h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid #CBC3AE;
}

/* Link hover */
a:hover {
  color: #A6772C;
}

/* Forms — comment form, contact form, checkout fields */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
  border: 1px solid #CBC3AE !important;
  background-color: #fffdf8 !important;
  color: #2A2622 !important;
  border-radius: 2px !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #A6772C !important;
  outline: none;
}

/* WooCommerce — shop & cart */
.woocommerce ul.products li.product .price,
.woocommerce span.price {
  color: #1C2B3A;
  font-weight: 600;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce-cart table.cart td.actions .button,
.woocommerce #payment #place_order {
  background-color: #1C2B3A !important;
  color: #F1EEE5 !important;
  border-radius: 2px !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #payment #place_order:hover {
  background-color: #233A4F !important;
}
.woocommerce ul.products li.product .onsale {
  background-color: #8B3A2F !important;
}

  .rvp-custom-font { font-family: 'Merriweather', serif; }
.entry-content a {
  color: #5B52D6;
  text-decoration: none;
}
.entry-content a:hover {
  color: #D4A017;
  text-decoration: none;
}
html, body {
  overflow-x: hidden;
}
@media (max-width: 782px) {
  .rvp-pricing-wrapper {
    margin-left: calc(50% - 50vw - 8px);
  }
}
/* Gold buttons with shine */
.wp-block-button__link,
.ff-btn-submit,
a.button,
button.button,
.rvp-gold-btn {
  background: linear-gradient(135deg, #8A6E2F 0%, #D4AF37 25%, #F5E08A 50%, #D4AF37 75%, #8A6E2F 100%) !important;
  color: #1B1B1B !important;
  border: 1px solid #7A5C1E !important;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* The moving glint */
.wp-block-button__link::after,
.ff-btn-submit::after,
a.button::after,
button.button::after,
.rvp-gold-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 35%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: rvp-btn-shine 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rvp-btn-shine {
  0%   { left: -40%; }
  50%  { left: 110%; }
  100% { left: 110%; }
}

/* Slightly brighter on hover */
.wp-block-button__link:hover,
.ff-btn-submit:hover,
a.button:hover,
button.button:hover,
.rvp-gold-btn:hover {
  filter: brightness(1.08);
}

/* No animation for visitors who have motion turned off */
@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link::after,
  .ff-btn-submit::after,
  a.button::after,
  button.button::after,
  .rvp-gold-btn::after {
    animation: none;
    display: none;
  }
}
/* Gold metallic text for prices */
.rvp-gold-text {
  background: linear-gradient(135deg, #8A6E2F 0%, #D4AF37 20%, #FFF6C2 40%, #FFFBE6 45%, #B8860B 55%, #E6C55A 75%, #7A5C1E 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  display: inline-block;
  animation: rvp-text-shine 6s ease-in-out infinite;
}

@keyframes rvp-text-shine {
  0%   { background-position: 100% 0; }
  50%  { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rvp-gold-text { animation: none; }
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce a.checkout-button,
.woocommerce #place_order, .woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  color: #140F6C !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.wc-block-components-button:not(.is-link):hover {
  color: #140F6C !important;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce a.checkout-button,
.woocommerce #place_order, .woocommerce #respond input#submit,
.woocommerce .wp-element-button,
.woocommerce button[name="apply_coupon"], .woocommerce button[name="update_cart"],
.woocommerce .coupon button, .woocommerce-cart-form button.button,
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled],
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button .wc-block-components-button__text {
  color: #140F6C !important;
  font-weight: 700 !important;
}
body button[name="apply_coupon"],
body button[name="update_cart"],
body button.button[name="apply_coupon"],
body .coupon button.button,
body form.woocommerce-cart-form button.button,
body button.button:disabled {
  color: #140F6C !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: #140F6C !important;
}