/**
* Theme Name: Xocora Child
* Description: This is a child theme of Xocora, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opal Team</a>
* Template: xocora
* Version: 1.3.1
*/

.tt25-delivery-fee-controls
{
    width: 100% !important;
}

.vc-header
{
    margin-bottom: 25px;
}

.vc-header__content
{
    button {
        color: white !important;
        background-color: #8d8d8d !important;
        margin: 10px 10px !important;
        border-radius: 10px;
    }
}

.vc-content
{
    width: 100%;
    .vc-dates
    {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}


.wp-block-woocommerce-checkout-fields-block {
  counter-reset: item;
}

.wc-block-components-title
{
    font-family: var(--e-global-typography-accent-font-family) !important;
    font-size: 40px !important; 
}

.wp-block-woocommerce-checkout-fields-block .wc-block-components-checkout-step__title
{
    font-family: var(--e-global-typography-accent-font-family) !important;
    font-size: 40px !important;
}

.wp-block-woocommerce-checkout-fields-block .wc-block-components-checkout-step__title::before {
  counter-increment: item;
  content: counter(item) ". ";
  font-weight: bold;
}

#tt25-delivery-calendar
{
    background-color: #f7f7f7;
}

.tt25-delivery-fee-controls::after,
.tt25-delivery-date-calendar::after,
.wc-block-checkout__contact-fields::after,
.wc-block-checkout__billing-fields::after {
  content: "";
  display: block;
  margin-top: 50px;
  height: 80px;
  background-image: url('./assets/images/separator.png');
  background-repeat: no-repeat;
  background-size: 25% auto;
  background-position: center;
  opacity: 0.5;
}

.wc-block-components-checkout-return-to-cart-button
{
    display: block;
    background-color: var(--e-global-color-primary);
    font-family: "Spartan", Sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0px 0px 0px 0px;
    height: auto;
    padding: 1em;
    padding-left: 1em !important;
    color: white !important
}

.wc-block-components-checkout-return-to-cart-button svg{
    display: none;
}

.wc-block-components-checkout-return-to-cart-button:hover {
background-color: #514633;
color: white !important;
}

/* Phone field styling in contact section */
.wc-block-checkout__contact-fields .wc-block-components-text-input {
    width: 100%;
}

.wc-block-checkout__contact-fields input[type="tel"],
.wc-block-checkout__contact-fields input[type="email"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wc-block-checkout__contact-fields .wc-block-components-text-input.is-active label {
    transform: translateY(-150%) scale(0.85);
}

.wc-block-checkout__contact-fields .wc-block-components-text-input label {
    transition: all 0.2s ease;
}

/* Required asterisk styling */
.wc-block-checkout__contact-fields .wc-block-components-text-input label .required {
    color: #ff0000;
    font-weight: bold;
}

/* Error state styling */
.wc-block-checkout__contact-fields .wc-block-components-text-input.has-error input {
    border-color: #d9534f;
}

.wc-block-checkout__contact-fields .wc-block-components-validation-error {
    color: #d9534f;
    font-size: 14px;
    margin-top: 8px;
}

.wc-block-checkout__contact-fields .wc-block-components-validation-error p {
    margin: 0;
}

.product-categories .cat-item.has-parent {
    /* Your styles for child categories */margin-left: 50px;
}