/*
Theme Name:     Wikk.me
Theme URI:      
Description:    Flatsome child theme.
Author:         Mateusz Zadorożny
Author URI:     https://mpress.cc
Template:       flatsome
Version:        0.3.0
*/

h3.subtitle {
    margin-top: -0.6em;
    margin-bottom: 0.8em;
}

.cart-icon.at-product-card {
    position: absolute;
    bottom: 120px;
    right: 12px;
    z-index: 10;
}

/* for a screen larger than 768px */
@media (min-width: 850px) {
    .cart-icon.at-product-card {
        display: none;
    }
}

.cart-icon.at-product-card strong {
    border: 2px solid var(--fs-color-primary);
    border-radius: 0;
    color: var(--fs-color-primary);
    font-family: Helvetica, Arial, Sans-serif;
    font-size: 1em;
    font-weight: 700;
    height: 2em;
    line-height: 1.9em;
    margin: .3em 0;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 2em;
    background: white;
    display: inline-block;
    cursor: pointer;
}

.cart-icon.at-product-card strong:after {
    border: 2px solid var(--fs-color-primary);
    border-bottom: 0;
    border-top-left-radius: 99px;
    border-top-right-radius: 99px;
    bottom: 100%;
    content: " ";
    height: 8px;
    left: 50%;
    margin-bottom: 0;
    margin-left: -7px;
    position: absolute;
    transition: height .1s ease-out;
    width: 14px;
}

.variants-panel.slide-in {
    transform: translateY(0);
}

.variants-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.variants-panel li {
    padding: 6px;
}

.variants-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    overflow-y: auto;
    background: white;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    padding: 16px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.out-of-stock .cart-icon.at-product-card {
    display: none;
}