/*
 Theme Name:   OhimeTheme
 Theme URI:    https://ohimemall.com
 Description:  GeneratePress-based theme for OhimeMall.com.
 Author:       WP Pirates
 Author URI:   https://wppirates.com
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  ohimetheme
*/

.main-title {
    font-size: 32px;
}

.main-title a {
    background: linear-gradient(
        90deg,
        #e7c5e6 0%,
        #d6b7e5 25%,
        #bfaee8 50%,
        #a9adeb 75%,
        #a5b3e1 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    font-weight: 800;
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
}

.main-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
}

.main-title a:hover::after {
    animation: sparkleSweep 1.2s ease-in-out forwards;
}

@keyframes sparkleSweep {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.menu-item-has-children .dropdown-menu-toggle {
    padding-left: 5px;
    vertical-align: middle;
}

.main-navigation ul ul {
    border-radius: 10px;
}

ol,
ul {
    margin: 0;
}

.wc-block-product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wp-block-post-title {
    flex-grow: 1;
}

.wp-block-button.wc-block-components-product-button
    .wc-block-components-product-button__button {
    background: #8b76f7;
    font-weight: 700;
    text-transform: uppercase;
}

.wc-block-components-product-image img,
.woocommerce ul.products li.product a img {
    border-radius: 10px !important;
}

.woocommerce ul.products li.product .button {
    background: #8b76f7;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    border-radius: 100px;
}

.wc-block-components-product-details__color,
tr:has(#pa_color) {
    display: none;
}

.wc-block-components-product-details__size
    .wc-block-components-product-details__name,
label[for="pa_size"] {
    text-transform: capitalize;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    vertical-align: middle;
}

.wc-block-checkout__actions
    .wc-block-checkout__actions_row
    .wc-block-components-checkout-place-order-button {
    background: #8b76f7;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100px;
}

.woocommerce div.product form.cart .button {
    padding: 14px 40px;
    background: #8b76f7;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100px;
}

.wc-block-checkout__terms {
    font-size: 13px;
}

span.wc-block-components-address-form__address_2-toggle {
    font-size: 13px;
}

.woocommerce div.product form.cart .variations select {
    min-width: 60%;
    border-radius: 100px;
}

.woocommerce .quantity .qty {
    width: 80px;
    font-weight: 600;
    border-radius: 100px;
}

.main-navigation .main-nav ul li a {
    font-weight: 600;
}

.woocommerce-result-count {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: 30px 30px 0 0;
    padding: 5px 25px 3px;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    border-radius: 100px;
    padding: 1em 2em 1em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    position: relative;
    top: auto;
    left: auto;
}

.woocommerce-error::after,
.woocommerce-info::after,
.woocommerce-message::after {
    display: none;
}

.woocommerce-message {
    border: 3px solid #8fae1b;
}

.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button {
    border-radius: 100px;
    text-transform: uppercase;
}

.wc-block-cart__submit {
    padding: 5px 15px;
    background: #8b76f7;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100px;
    color: #fff;
}

.wc-block-cart__submit a {
    text-decoration: none;
}

.woocommerce div.product .product_title {
    font-size: 28px;
}

body.home .wc-block-product .wp-block-post-title {
    font-weight: 500;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    font-size: 16px;
    font-weight: 500;
}

.woocommerce .woocommerce-ordering select {
    vertical-align: top;
    border-radius: 35px;
    background-color: var(--global-color-10);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
}
