/*
Theme Name: viidohtem-astra-child
Template: astra
Version: 1.0
*/

body {
  font-family: "Roberto", "Arial", "Helvetica", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
  font-family: "Abolition", serif;
  letter-spacing: 0.06em;
}

body.woocommerce .woocommerce-message {
  background-color: #fef6e4;
  border: 4px solid #f49532;
  font-size: 1rem;
  font-weight: 500;
  color: #0e0c0a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

body.woocommerce .woocommerce-message a.button {
  background-color: #f49532;
  color: #0e0c0a;
  border: none;
  padding: 0.4em 1em;
}

.ast-on-card-button svg {
  fill: #0e0c0a;
}
.woocommerce-js div.product div.images .woocommerce-product-gallery__trigger {
  display: none;
}
.ast-card-action-tooltip {
  background: var(--ast-global-color-primary, var(--ast-global-color-5));
  opacity: 0.7;
  color: #0e0c0a;
}

label {
  color: #f49532;
}
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-link:hover,
.current-menu-item a {
  color: #fef6e4 !important;
  background-color: transparent; /*  #f49532; */
}
#account_display_name_description {
  display: inline-block;
  color: rgba(244, 149, 50, 0.6);
  margin-top: 5px;
}

body .woocommerce-MyAccount-navigation-link.is-active a,
.current-menu-item a {
  color: #fef6e4;
  background-color: transparent; /*  #f49532; */
}
body .woocommerce-MyAccount-navigation-link {
  border: 1px solid rgba(244, 149, 50, 0.2);
  margin-top: 5px;
}
.woocommerce-MyAccount-navigation {
  margin-bottom: 30px;
}

/* select start */
.woocommerce-js form .form-row textarea,
.woocommerce-js input[type="email"],
.woocommerce-js input[type="number"],
.woocommerce-js input[type="password"],
.woocommerce-js input[type="reset"],
.woocommerce-js input[type="search"],
.woocommerce-js input[type="tel"],
.woocommerce-js input[type="text"],
.woocommerce-js input[type="url"],
.woocommerce-js textarea,
.woocommerce-page form .form-row textarea,
.woocommerce-page input[type="email"],
.woocommerce-page input[type="number"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="reset"],
.woocommerce-page input[type="search"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="text"],
.woocommerce-page input[type="url"],
.woocommerce-page textarea,
.woocommerce-js .select2-container .select2-selection--single,
.woocommerce-js select,
.woocommerce-page .select2-container .select2-selection--single,
.woocommerce-page select,
.select2-dropdown {
  background-color: #0e0c0a;
  color: #fef6e4;
}

[selected],
.select2-container--default
  .select2-results__option--highlighted[data-selected] {
  background-color: #f49532;
  color: #fef6e4;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #fef6e4;
}
/* select end */

.woocommerce .woocommerce-Addresses .woocommerce-Address-title,
.woocommerce .woocommerce-Addresses .woocommerce-column__title,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Address-title,
.woocommerce .woocommerce-MyAccount-content .woocommerce-column__title,
.woocommerce .woocommerce-customer-details .woocommerce-Address-title,
.woocommerce .woocommerce-customer-details .woocommerce-column__title,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title,
.woocommerce-account .woocommerce-Addresses .woocommerce-column__title,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title,
.woocommerce-account .woocommerce-customer-details .woocommerce-Address-title,
.woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
  background: #0e0c0a;
}
.woocommerce-js .select2-container .select2-selection--single,
.woocommerce-js select,
.woocommerce-page .select2-container .select2-selection--single,
.woocommerce-page select,
.woocommerce-js form .form-row textarea,
.woocommerce-js input[type="email"],
.woocommerce-js input[type="number"],
.woocommerce-js input[type="password"],
.woocommerce-js input[type="reset"],
.woocommerce-js input[type="search"],
.woocommerce-js input[type="tel"],
.woocommerce-js input[type="text"],
.woocommerce-js input[type="url"],
.woocommerce-js textarea,
.woocommerce-page form .form-row textarea,
.woocommerce-page input[type="email"],
.woocommerce-page input[type="number"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="reset"],
.woocommerce-page input[type="search"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="text"],
.woocommerce-page input[type="url"],
.woocommerce-page textarea {
  border-color: rgba(244, 149, 50, 0.2);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px #0e0c0a inset !important; /* Rich Black background */
  -webkit-box-shadow: 0 0 0 1000px #0e0c0a inset !important;
  -webkit-text-fill-color: #fef6e4 !important; /* Light parchment-style text */
  caret-color: #fef6e4 !important;
  border: 1px solid rgba(244, 149, 50, 0.2) !important; /* Energy Orange border */
  transition: background-color 5000s ease-in-out 0s;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0e0c0a inset,
    /* Background fill */ 0 0 0 1px rgba(244, 149, 50, 0.2) !important; /* Faux border */
  box-shadow: 0 0 0 1000px #0e0c0a inset, 0 0 0 1px rgba(244, 149, 50, 0.2) !important;

  -webkit-text-fill-color: #fef6e4 !important;
  caret-color: #fef6e4 !important;
  transition: background-color 5000s ease-in-out 0s;
  border: none !important; /* Remove real border to avoid conflict */
}

.main-header-menu .sub-menu {
  background: #0e0c0a;
  border: solid 1px rgba(244, 149, 50, 0.2);
}
body.ast-header-break-point .woocommerce-MyAccount-navigation {
  display: none !important;
}

.menu-toggle,
button,
.ast-button,
.ast-custom-button,
.button,
input#submit,
input[type="button"],
input[type="submit"],
input[type="reset"],
#comments .submit,
.search .search-submit,
form[CLASS*="wp-block-search__"].wp-block-search
  .wp-block-search__inside-wrapper
  .wp-block-search__button,
body .wp-block-file .wp-block-file__button,
.search .search-submit,
.woocommerce-js a.button,
.woocommerce button.button,
.woocommerce .woocommerce-message a.button,
.woocommerce #respond input#submit.alt,
.woocommerce input.button.alt,
.woocommerce input.button,
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled],
.woocommerce input.button:disabled:hover,
.woocommerce input.button:disabled[disabled]:hover,
.woocommerce #respond input#submit,
.woocommerce button.button.alt.disabled,
.wc-block-grid__products .wc-block-grid__product .wp-block-button__link,
.wc-block-grid__product-onsale,
[CLASS*="wc-block"] button,
.woocommerce-js
  .astra-cart-drawer
  .astra-cart-drawer-content
  .woocommerce-mini-cart__buttons
  .button:not(.checkout):not(.ast-continue-shopping),
.woocommerce-js
  .astra-cart-drawer
  .astra-cart-drawer-content
  .woocommerce-mini-cart__buttons
  a.checkout,
.woocommerce button.button.alt.disabled.wc-variation-selection-needed,
[CLASS*="wc-block"] .wc-block-components-button {
  background-color: rgba(244, 149, 50, 1);
  color: #0e0c0a;
  border-color: #0e0c0a;
  font-weight: bold;
}

.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="number"],
.wc-block-components-form
  .wc-block-components-text-input
  input[type="password"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"],
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-text-input input[type="url"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="url"] {
  background-color: #0e0c0a !important;
  border-color: rgba(244, 149, 50, 0.2) !important;
  color: #fef6e4 !important;
}
.wc-blocks-components-select .wc-blocks-components-select__select {
  background-color: #0e0c0a !important;
  border-color: rgba(244, 149, 50, 0.2) !important;
  color: #fef6e4 !important;
}

/* Login/Register Form Container */
.woocommerce form.login,
.woocommerce form.register {
  background-color: #0e0c0a;
  border: 1px solid rgba(244, 149, 50, 0.2);
  padding: 2rem;
  border-radius: 1rem;
  color: #fef6e4;
}

/* Input fields */
.woocommerce form input.input-text {
  background-color: #0e0c0a;
  border: 1px solid rgba(244, 149, 50, 0.2);
  color: #fef6e4;
  padding: 0.75rem;
  border-radius: 0.5rem;
}

/* Autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px #0e0c0a inset !important;
  -webkit-box-shadow: 0 0 0 1000px #0e0c0a inset !important;
  -webkit-text-fill-color: #fef6e4 !important;
  caret-color: #fef6e4 !important;
  border: 1px solid rgba(244, 149, 50, 0.2) !important;
}

/* Button styling */
.woocommerce form .button {
  background-color: #f49532;
  color: #0e0c0a;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.woocommerce form .button:hover {
  background-color: #f47d00;
  color: #fff6dc;
}

/* Error messages */
.woocommerce-error {
  border-color: rgba(244, 149, 50, 0.5);
  background: rgba(244, 149, 50, 0.1);
  color: #fef6e4;
}

body
  .wc-block-components-radio-control
  .wc-block-components-radio-control__input:checked::before {
  background: #f47d00;
  min-height: 24px;
  min-width: 24px;
}

body
  .wc-block-components-radio-control
  .wc-block-components-radio-control__input {
  min-height: 12px;
  min-width: 12px;
  height: 1em;
  width: 1em;
  background: #fef6e4;
}

.ast-on-card-button.ast-onsale-card {
  color: #f47d00;
  font-weight: bold;
}

body .wc-block-components-form .wc-block-components-text-input label,
body .wc-block-components-text-input label {
  color: #f47d00;
}

.woocommerce-page.woocommerce-checkout
  .woocommerce-order
  h2.woocommerce-column__title,
.woocommerce-page.woocommerce-checkout
  .woocommerce-order
  h2.woocommerce-order-details__title,
.woocommerce.woocommerce-checkout
  .woocommerce-order
  h2.woocommerce-column__title,
.woocommerce.woocommerce-checkout
  .woocommerce-order
  h2.woocommerce-order-details__title {
  background: #0e0c0a;
}

.wc-block-checkout__sidebar .wc-block-components-product-name {
  font-size: 1rem;
}

body
  .wc-block-components-order-summary
  .wc-block-components-order-summary-item__image {
  width: 30%;
}
body
  .wc-block-components-order-summary
  .wc-block-components-order-summary-item__image
  > img {
  max-width: none;
  width: 100%;
}

.woocommerce .widget_shopping_cart .cart_list li a.remove,
.woocommerce.widget_shopping_cart .cart_list li a.remove {
  right: -10px;
}

.ast-site-header-cart .widget_shopping_cart:after,
.woocommerce .ast-site-header-cart .widget_shopping_cart:after {
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: rgb(14, 12, 10);
}
