/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.0.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */

.woocommerce-billing-fields input[type=date] {
    width: 100%;
    border: 1px solid #dddddd;
    padding: 8px;
    -webkit-box-flex: 1;
    cursor: pointer;
}
.woocommerce-billing-fields input[type=date]:focus-visible{
    outline: 1px solid rgb(143, 143, 143);
    outline-offset: 0px;
 }

 #terms_tryon_ack{
    cursor: pointer;
 }

 .rey-cartBtnQty .quantity {
    display: none;
}

.rey-wcPanel-inner h2{
    color: #c6a15b;
}
/* Woocommerce Edits */
.woocommerce-product-details__short-description ul {
    list-style: none;
    padding-left: 0;
}

/* Tailwind-ish light notices for checkout */
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-warning {
  position: relative;
  display: block;
  margin: 1rem 0;
  padding: 14px 18px 14px 64px;
  border-radius: 12px;
  font-weight: 300;
  font-size: 0.98rem;
  color: #0f1724;

  /* subtle border like Tailwind's ring + very light background */
  border: 1px solid rgba(15,23,36,0.06);
  backdrop-filter: blur(6px); /* light frosted feel on supported browsers */

  /* modern, multi-layer shadow (soft + lift) */
  box-shadow:
    0 1px 2px rgba(2,6,23,0.04),
    0 6px 18px rgba(2,6,23,0.06);
  transition: transform 160ms cubic-bezier(.2,.8,.2,1), box-shadow 160ms;
}

/* little icon square using pseudo element */
body.woocommerce-checkout .woocommerce-message:before,
body.woocommerce-checkout .woocommerce-info:before,
body.woocommerce-checkout .woocommerce-error:before,
body.woocommerce-checkout .woocommerce-warning:before {
  /* content: "";
  width: 44px;
  height: 44px;
  border-radius: 10px;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  box-shadow: 0 4px 10px rgba(2,6,23,0.06); */
}

/* Hover/active micro-lift like Tailwind hover:shadow-lg */
body.woocommerce-checkout .woocommerce-message:hover,
body.woocommerce-checkout .woocommerce-info:hover,
body.woocommerce-checkout .woocommerce-error:hover,
body.woocommerce-checkout .woocommerce-warning:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(2,6,23,0.06),
    0 18px 40px rgba(2,6,23,0.08);
}

/* Success (green pastel) */
body.woocommerce-checkout .woocommerce-message {
  background: linear-gradient(180deg,#f0fdf4,#ecfdf3);
  border-left: 4px solid rgba(34,197,94,0.18);
}
body.woocommerce-checkout .woocommerce-message:before {
  background-color: #ffffff;
  /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19l12-12-1.4-1.4z'/></svg>"); */
}

/* Info (blue pastel) */
body.woocommerce-checkout .woocommerce-info {
  background: linear-gradient(180deg,#eff6ff,#eef8ff); /* very light blue */
  border-left: 4px solid rgba(59,130,246,0.18);
}


/* Warning (amber pastel) */
body.woocommerce-checkout .woocommerce-warning {
  background: linear-gradient(180deg,#fffbeb,#fff7ed); /* very light amber */
  border-left: 4px solid rgba(249,115,22,0.14);
}


/* Error (rose pastel) */
body.woocommerce-checkout .woocommerce-error {
  background: linear-gradient(180deg,#fff1f2,#fff6f7); /* very light rose */
  border-left: 4px solid rgba(239,68,68,0.16);
}


/* Dismiss / close button (if present) */
body.woocommerce-checkout .woocommerce-message .notice-dismiss,
body.woocommerce-checkout .woocommerce-info .notice-dismiss,
body.woocommerce-checkout .woocommerce-error .notice-dismiss,
body.woocommerce-checkout .woocommerce-warning .notice-dismiss {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(15,23,36,0.6);
  border: none;
  cursor: pointer;
  transition: background .14s, color .14s;
}
body.woocommerce-checkout .woocommerce-message .notice-dismiss:hover,
body.woocommerce-checkout .woocommerce-info .notice-dismiss:hover,
body.woocommerce-checkout .woocommerce-error .notice-dismiss:hover,
body.woocommerce-checkout .woocommerce-warning .notice-dismiss:hover {
  background: rgba(2,6,23,0.03);
  color: rgba(15,23,36,0.85);
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout .woocommerce-message,
  body.woocommerce-checkout .woocommerce-info,
  body.woocommerce-checkout .woocommerce-error,
  body.woocommerce-checkout .woocommerce-warning {
    transition: none;
    transform: none;
  }
}

body.woocommerce-error:before {
    margin-right: 15px;
}

form.checkout.woocommerce-checkout .woocommerce-info {
    margin-bottom: 50px;
}

form.checkout.woocommerce-checkout .woocommerce-info ul{
    line-height: 2em;
}
form.checkout.woocommerce-checkout .woocommerce-info p:nth-child(1){
    margin-top: 2em;
}

/* High-specificity / final fallback for stubborn themes */
/* Use only if your theme keeps overriding colors — uncomment if needed */
/*
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-warning {
  border-radius: 12px !important;
  padding: 14px 18px 14px 64px !important;
  box-shadow: 0 1px 2px rgba(2,6,23,0.04), 0 6px 18px rgba(2,6,23,0.06) !important;
}
*/
