/**
Theme Name: medusaperfumes
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medusaperfumes
Template: astra
*/


/*---GLOBAL---*/
    :root{
        --new-black: #121212
    }
    hr{
        height: 3px;
        border-radius: 3px;
        background-color: var(--new-black);
    }
    main:not(#main){ /*font styles for non-generated pages*/
        font-size: 1.5rem;
        color: var(--new-black);
    }
    p{
        line-height: normal; /* for some reason (i love WP)*/
    }
    .product-page h2,
    #accessories-page h2,
    #colab-page h2{
        font-family: boska;
    }
    .pair-buttons { /*buttons for adding to cart found in pairs*/
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .pair_button {
        display: inline-block;
    }
    .button{
       background-color: gray !important;
       white-space: nowrap;
    }

    .product-main .button,
    #accessories-page .button,
    .product-intro-button{
       padding: 1.5rem !important;
       border-radius: 20px !important;
       font-size: 1.5rem !important;
       font-weight: normal !important;
    }
    #document-download a:not(.wp-element-button){
        display: none;
    }
    #document-download a{
        margin-left: unset;
        margin-right: unset;
    }
    .woocommerce-terms-and-conditions-link{
        color: navy;
    }

/* ---HEADER---*/
    .ast-mobile-header-content{
        position: fixed;
    }
    .ast-mobile-header-content .sub-menu{ /*mobile header submenu positioning fix*/
        position: absolute !important;
        width: 100vw !important;
    }
    .ast-primary-header-bar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 9999;
    }
    .ast-primary-header-bar > * {
    	padding-left: 0px !important;
    }
    .main-header-menu > .menu-item{
    	height: 80px; /* height for hover*/
    }
    .main-header-menu .menu-link{
        padding: 0 0 0 25px;
    }
    
    /* Full-width submenu dropdown */
        .main-header-menu .sub-menu {
            display: none;
            position: fixed;
            top: 80px; /* header height offset*/
            left: 0;
            width: 100vw;
            background-color: white;
            z-index: 9999;
            padding: 20px 0;
            justify-content: flex-start;
        }
        .main-header-menu .menu-item:not(.menu-item-has-children):hover{
        	text-decoration:underline;
        }
        .main-header-menu .menu-item:hover > .sub-menu,
        .main-header-menu .sub-menu:hover {
            display: flex;
        }
        .main-header-menu .menu-item:hover > .sub-menu {
            display: flex;
            flex-direction:column;
        	gap: 1px;
        }
        .main-header-menu > .sub-menu li a{
        	position: absolute;
        	right:0;
        }


/*---CART---*/
    #post-7 > div > div > form > table > tbody > tr:not(.cart_item){
        display: none;
    }
    .shipping-calculator-button{
        display: none;
    }


/*---Check Out---*/
    .packeta-widget-button.packetery-widget-button-row{
        display: flex !important;
        flex-direction: row;
        justify-self: end;
        width: unset !important;
    }
    .packeta-widget-button.packetery-widget-button-row button{
        min-height: 50px;
        text-wrap: wrap;
        width: unset !important;
        font-size: .8rem;
        border-radius: unset;
    }
    .packeta-widget-button.packetery-widget-button-row img.packetery-widget-button-logo{
        width: 50px;
    }
    .woocommerce #payment .payment_methods.methods label[for="payment_method_wc_gopay_gateway"] img { /*gopay logo*/
        height: 30px;
        
    }
    }
    #post-8 > div > div > div > p.woocommerce-notice.woocommerce-notice--error.woocommerce-thankyou-order-failed-actions .button.pay:nth-child(2){ /*account on checkout*/
        display: none;
    }


/*---HOME_PAGE---*/
    /*---VIDEO INTRO---*/
        .home-intro-cover video{
            height: 100vh;
            width: 100vw;
            object-fit: cover;
            position: absolute;
            left: 0;
            top: 0;
        }
        .home-intro-cover video source{
            width: 100vw;
        }
        .home-intro-cover{
            position: relative;
            height: 100vh;
            width: 100vw;;
            align-content: center;
            margin-bottom: 5rem;
        }
        .home-intro-cover p{
            font-size: 2rem;
            color: white;
            position: relative;
            margin: auto auto;
            text-align: center;
        }
    
    /*---HOME PRODUCTS---*/
        #home-products{
            display: grid;
            width: 80%;
            margin: auto;
            grid-template-columns: auto auto;
            grid-gap: 3rem;
            padding-bottom: 10rem;
            min-width: 768px;
        }
        .home-product-wrapper{
            position: relative;
            height:800px;
        }
        .home-product-img{
            left: 0;
            width:100%;
            height:100%;
            opacity: 1;
            position:absolute;
            object-fit:cover;
            transition: opacity .4s ease-in-out;
        }
        .home-product-text{
            position:absolute;
            bottom:-1rem;
            left: 1rem;
            display: block;
            font-size:1.5rem;
            color:white;
            transition: all .4s ease-in-out;
            margin:0 !important;
            cursor: default;
        }
        .home-product-buy{
            color: white;
            text-decoration: none !important;
            opacity:0;
            transition: opacity .4s ease-in-out;
            cursor: pointer;
        }
        .home-product-buy:hover{
            color: gray;
        }
    
        .home-product-wrapper:hover .home-product-text{
            transform: translateY(-2rem);
        }
        .home-product-wrapper:hover .home-product-buy{
            opacity: 1;
        }
        .home-product-wrapper:hover img:nth-child(2){
            opacity:0
        }

    /*---HOME DESRCIPTION---*/
        #home-description{
            padding: 0 5% 3rem 5%;
            display: flex;
            gap: 5%;
            color: var(--new-black);
        }
        #home-description .home-description-column{
            width: 50%;
            display: flex;
            flex-direction: column;
            padding-bottom: 4rem;
        }
        #home-description .home-description-column:nth-child(1){
            padding: 4% 0 0 9%;
            width: 40%;
        }
        #home-description .phrases{
            padding: 0;
        }
        #home-description .phrases a{
            display: block;
            padding-left: .5rem;
            text-decoration: none;
        }
        #home-description .phrases a:hover{
            color: var(--new-black) !important;
        }
        #home-description .phrases a:not(a:last-child){
            padding-bottom: 1rem;
        }
        #home-description p:not(p:nth-child(3)){
            margin-bottom: .8rem;
        }
    /*---MOBILE LAYOUT---*/
        @media (max-width: 768px){
            .home-intro-cover p{
                font-size: 1.5rem;
            }
            #home-products{
                grid-template-columns: 1fr;
                height: 100%;
                grid-gap: .5rem;
                width: 90%;
                min-width: unset;
            }
            .home-product-wrapper{
                height: 400px !important;
            }
            #home-description{
                flex-direction: column;
            }
            #home-description .home-description-column,
            #home-description .home-description-column:nth-child(1){
                padding: 0 0 2rem 0;
                width: 100%;
            }
        }


/*---PRODUCTS---*/
    /*---INTRO---*/
        #product-page-afrodita .product-intro-img{
            transform: scale(1.5);
            transform-origin: center;
            top: -15%;
        }
        #product-page-afrodita .product-intro-wrapper h2{
            align-self: start;
        }
        #product-page-poseidon .product-intro-upper-div > div{
            justify-items: unset;}
        #product-page-poseidon .product-intro-upper-div > div:nth-of-type(1) p{
                justify-self: center;}
        #product-page-poseidon .product-intro-upper-div > div:nth-of-type(2){
            align-content: center;}
            
        .product-intro-wrapper{
            height: 200vh;
            width: 100vw;
            position: relative;
            color: white;
            font-size: 1.6rem;
            overflow: hidden;
        }
        .product-intro-img{
            object-fit: cover;
            width: 100%;
            height: 100%;
            position: absolute;
        }
        .product-intro-wrapper h2{
            font-size: 6rem;
            color: white;
            align-self: center;
            margin-left: 5%;
        }
        .product-intro-wrapper *:not(.product-intro-img){
            z-index: 5;
        }
        .product-intro-upper-div{
            display: grid;
            grid-template-columns: auto auto;
            padding-top: 5rem;
            height: calc( 100vh - 5rem );
        }
        .product-intro-upper-div > div{
            justify-items: end;
            margin-right: 1rem;
        }
        .product-intro-upper-div > div p{
            max-width: 480px;
            opacity: 0;
            transition: opacity .4s ease-in-out;
        }
        .product-intro-upper-div > div > p:nth-child(1){
            justify-self: center;
        }
        .product-intro-lower-div{
            position: absolute;
            margin-left: 5%;
            bottom: 3rem;
        }
        .product-intro-lower-div p:nth-child(1){
            max-width: 500px;
        }
        .product-intro-contents{
            margin-bottom: 2%;
        }
        .product-intro-button{
            grid-column-start: 2;
            width: fit-content;
            height: fit-content;
            justify-self: end;
            align-self: center;
            margin-right: 10% !important;
        }

    /*---MAIN PRODUCT SECTION---*/
        .product-main{
            display: flex;
            flex-direction: row;
            gap: 5%;
            margin-top: 4rem;
        }
        .product-slideshow-wrapper{
            height: 800px;
            width: 60%;
            position: relative;
            align-self: end;
            margin-right: 5%;
        }
        .product-slideshow-img{
            height: 100%;
            width: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            position: absolute;
        }
        .product-slideshow-img.active{
            opacity: 1;
        }
        .product-main-description-wrapper{
            max-width: calc(100% - 2rem);
            width: 500px;
            color: var(--new-black);
            margin-right: 5%;
            font-size:1.5rem;
        }
        .product-main{
            margin-left:5%;
            margin-bottom: 5rem;
        }
        .product-main h2{
            font-size: 5rem;
        }
        .product-main-minortext{
            font-size: 1.2rem;
        }
        .product-main-minortext.add-to-cart-text{
            margin-bottom: .8rem;
        }
        .pair-buttons .button:last-child,
        .pair-buttons .button:nth-child(2){
            margin-top: .5rem !important;
        }
        .added_to_cart{
            display: none;
        }
        .product-page .out-of-stock-label{
            margin-bottom: 0;
        }
    
    /*---GALLERY SECTION---*/
        .product-gallery{
            height: 100vh;
            width: 100vw;
            display: flex;
            flex-wrap: wrap;
        }
        .product-gallery-img-wrapper{
            height: 50%;
            width: 33.3%;
            position: relative;
            overflow: hidden;
        }
        .product-gallery-img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
        }
        .product-gallery-img-wrapper:nth-child(3),
        .product-gallery-img-wrapper:nth-child(4){
            width: 26.3%;
        }
        .product-gallery-img-wrapper:nth-child(1),
        .product-gallery-img-wrapper:nth-child(6){
            width: 40.3%;
        }
        #product-page-poseidon .product-gallery-img-wrapper:nth-child(3) img{
            object-position: left;
        }
@media(max-width:768px){
    .product-page p, .product-intro-upper-div > div p,
    .product-intro-lower-div > p{
        max-width: 90% !important;
    }
    .product-intro-wrapper{
        height: 180vh;
    }
    .product-intro-img{
        transform: unset;
        top: -15%;
        height: 115%;
    }
    .product-intro-upper-div{
        grid-template-columns: 1fr;
        padding-top: 3rem;
        height: auto;
    }
    .product-intro-upper-div p{
        justify-self: start  !important;
        margin-left: 5% !important;
    }
    .product-intro-wrapper{
        font-size: 1rem;
    }
    .product-intro-upper-div h2,
    .product-main h2{
        font-size: 4rem;
    }
    .product-intro-upper-div h2{
        transform: translateY(-2rem);
        opacity: 0;
        transition: all .4s ease-in-out;
    }
    .product-intro-button{
        display: none !important; 
    }
    .product-main{
        margin-top: 2rem;
        flex-direction: column;
        height: contain;
    }
    .product-main-description-wrapper{
        font-size: 1.2rem;
    }
    .product-main-minortext{
        font-size: 1rem;
    }
    .product-slideshow-wrapper{
        display: none;
    }
    .product-gallery-img-wrapper{
        height: 33.4%;
    }
    .product-gallery-img-wrapper:nth-child(1),
    .product-gallery-img-wrapper:nth-child(5),
    .product-gallery-img-wrapper:nth-child(4){
        width: 60% !important;
    }
    .product-gallery-img-wrapper:nth-child(2),
    .product-gallery-img-wrapper:nth-child(6),
    .product-gallery-img-wrapper:nth-child(3){
        width: 40% !important;
    }
    #product-page-poseidon .product-gallery-img-wrapper:nth-child(3) img{
        object-position: 20%;
    }
}



/*---ACCESSORIES---*/
    #accessories-page{
        padding: 1rem 5% 3rem;
        color: var(--new-black);
    }
    .accessory-row {
        display: flex;
        gap: 5%;
    }
    .accessory-row > div{
        width: 50%;
    }
    .accessory-text h2{
        font-size: 5rem;
        line-height: 90%;
        width: 140%;
    }
    .accessory-row .accessory-text > div{
        width: 70%;
    }
    .accessory-img{
        overflow: visible;
    }
    .accessory-row:nth-of-type(2){
        flex-direction: row-reverse;
    }
    .accessory-row img {
      width: 100%;
      height: 900px;
      object-fit: cover;
      display: block;
    }
    .accessory-row:nth-of-type(2) img {
      height: 110%;
      transform: translateY(-10%); /* posune o 5% dolů */
    }
    .accessory-row:nth-of-type(2) .accessory-text{
        padding-top: 5%;
    }
    .accessory-text hr{
        margin-bottom: 1rem;
    }
    
    @media (max-width: 768px) {
        .accessory-text h2{
            font-size: 3.5rem;
            width: 100%;
        }
        .accessory-row,
        .accessory-row:nth-of-type(2) {
            flex-direction: column;
        }
        .accessory-col, .accessory-row > div,
        .accessory-row .accessory-text > div{
            width: 100%;
        }
        .accessory-row:nth-of-type(2) img{
            width: 100%;
            transform: unset;
        }
        .accessory-img img{
            max-height: 500px;
        }
        .accessory-text,
        .accessory-row:nth-of-type(2) .accessory-text{
            padding: 2rem 0 3rem;
        }
    }


/*---FOOTER---*/
    footer {
        position: relative;
        width: 100% !important;
        clear: both;
        float: none;
        display: block;
        background-color: var(--new-black);
        color: white;
    }
    .refund-text{
        background-color: white;
        border-top: 4px solid var(--new-black);
        color: var(--new-black);
    }
    .refund-text > a{
        color: navy !important;
    }
    .footer-upper, .footer-lower{
        display: flex;
        justify-content: space-between;
        flex-direction: rows;
        width: 90%;
        margin-left: 5%;
    }
    .footer-upper{padding-top: 2rem;}
    .footer-lower{padding-bottom: 2rem;}
    .footer-upper > *, .footer-lower > *{
        width: auto;
    }
    .socials{
        display: flex;
        gap: 2rem;
        justify-content: end;
        align-content: center;
    }
    .socials > a{
        height: fit-content;
    }
    .contact{
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-self: end;
        justify-self: end;
    }
    footer p{
        line-height: 120%;
        font-size: 1.2rem;
    }
    #footer-logo-img{
        width: 250px;
        margin-bottom: 1rem;
    }
    
    /*desktop display fix (for some reason)*/
    @media (min-width: 922px) {
        .site-content .ast-container {
            display: flex;
            flex-direction: column;
        }
    }
    
    /*---MOBILE LAYOUT---*/
    @media (max-width: 768px){
        .footer-upper,
        .footer-lower{
            flex-direction: column;
            justify-content: unset;
        }
        .footer-upper > *,
        .footer-lower > *{
            width: 80%;
        }
        .socials{
            flex-direction: column;
            position: absolute;
            bottom: 2rem;
            right: 5%;
            width: unset;
        }
        .contact{
            flex-direction: column;
            gap: unset;
            align-self: start;
        }
        .contact > p{
            margin-bottom: .5rem;
        }
        .footer-lower{
            padding-bottom: 3.5rem;
        }
        .socials{
            bottom: 4rem; /*leaving space for scroll arrow*/
        }
    }