/*
 Theme Name:   Valniezo
 Version:      1.0.0
*/

:root {
	--menu-background-color: rgba(15,0,0,0.8);
}

.select2-container {
    --burgundy:       #8c2b3f;
    --burgundy-dark:  #6e2233;
    --burgundy-deep:  #2a0c0e;
    --gold:           #bb9975;
    --gold-light:     #cdb08e;
    --cream:          #f6eee0;
    --cream-dark:     #ede3d2;
    --white:          #ffffff;
    --black:          #000000;
    --text-dark:      #32373c;
    --text-mid:       #5a5a5a;
    --text-light:     #999;
    --border-light:   rgba(187, 153, 117, 0.3);
    --border-mid:     rgba(187, 153, 117, 0.5);
    --success:        #4a8c5c;
    --error:          #c0392b;

    --font-heading:   'Abril Fatface', serif;
    --font-script:    Georgia, 'Times New Roman', serif;
    --font-body:      'Courier New', 'Lucida Console', monospace;

    --radius:         6px;
    --transition:     all 0.3s ease;
}

.grecaptcha-badge { display:none; }

.button {
	text-transform: uppercase !important;
	padding: 0.4em 2em !important;
}

.button:hover {
	padding: 0.4em 2em !important;
	padding-right: 2.5em !important;
}

.woocommerce .val_product_list ul.products li.product .button:hover,
.woocommerce .val_product_list ul.products li.product a.add_to_cart_button:hover {
  background: #6e2233 !important;

  background-image: none !important;
  box-shadow: 0 4px 20px rgba(140, 43, 63, 0.3) !important;
}

.checkout-inline-error-message {
  color: var(--error);
  font-size: 14px;
  font-weight: 500;

}

.select2-container--default .select2-selection--single {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    border: 1px solid var(--border-mid) !important;
    border-radius: var(--radius) !important;
    background: var(--white) !important;
    color: var(--text-dark) !important;
    outline: none !important;
    transition: var(--transition) !important;
    height: auto !important;
    box-shadow: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-dark) !important;
    line-height: normal !important;
    padding-left: 0 !important;
    text-align: left;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    transform: translateY(-50%) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    position: static;
    margin: 0;
    transform: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--burgundy) !important;
    color: var(--cream) !important;
}

/* Mobile text buttons: desktop retains its approved component sizes. */
@media (max-width: 767px) {
  body #page-container #et-main-area #main-content :is(button, input[type="submit"], input[type="button"], input[type="reset"], a.button, a.add_to_cart_button, a.shop-btn, a.vz-editorial-button),
  body #page-container #et-main-area #main-content .vz-button-label {
    font-size: 14px !important;
  }
}

/* Transition copies must use exactly the same crop as the active gallery image. */
.vz-product-gallery .dsc-gallery__fx-layer img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
}

/* Shared WooCommerce notices, including cart updates and empty-cart messages. */
body .woocommerce-info,
body .woocommerce-message,
body .woocommerce-error {
    background: #fffaf3;
    color: #334549;
    border: 1px solid #decbb4;
    border-top: 3px solid #882b3e;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(42,12,14,.05);
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.7;
}
body .woocommerce-info::before,
body .woocommerce-message::before,
body .woocommerce-error::before { display: none; }
body .woocommerce-info a:not(.button),
body .woocommerce-message a:not(.button),
body .woocommerce-error a:not(.button) {
    color: #882b3e;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body .woocommerce-info a:not(.button):hover,
body .woocommerce-message a:not(.button):hover,
body .woocommerce-error a:not(.button):hover { color: #2a0c0e; }
