/*!
Theme Name: Kava Child
Theme URI:
Author: Zemez
Author URI:
Description: Kava child theme.
Template: kava
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kava-child
*/


.site-content {
    margin: 0 !important;
}

.woocommerce div.product div.images {
    margin-bottom: 0 !important;
}


/* Base frame styling (shared properties) */
.frame {
    background-color: #ddc;
    border-radius: 2px;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    text-align: center;
}

/* Large frame for single product display */
.frame-large {
    border: solid 3.5vmin #eee;
    border-bottom-color: #fff;
    border-left-color: #eee;
    border-right-color: #eee;
    border-top-color: #ddd;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25) inset, 0 5px 10px 5px rgba(0, 0, 0, 0.25);
}

/* Medium frame for grid layout */
.frame-medium {
    border: solid 2.5vmin #eee;
    border-bottom-color: #fff;
    border-left-color: #eee;
    border-right-color: #eee;
    border-top-color: #ddd;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25) inset, 0 3px 6px 3px rgba(0, 0, 0, 0.25);
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .frame-large {
        /* 1.8x wider than previous mobile size (2.5vmin * 1.8 = 4.5vmin) */
        border-width: 4.5vmin;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25) inset, 0 3px 9px 4px rgba(0, 0, 0, 0.2);
    }
    
    .frame-medium {
        /* Same as large frame on mobile */
        border-width: 4.5vmin;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25) inset, 0 3px 9px 4px rgba(0, 0, 0, 0.2);
    }
}

/* For extra small devices */
@media screen and (max-width: 480px) {
    .frame-large {
        /* 1.8x wider than previous small mobile size (2vmin * 1.8 = 3.6vmin) */
        border-width: 3.6vmin;
        box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2) inset, 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    }
    
    .frame-medium {
        /* Same as large frame on small mobile */
        border-width: 3.6vmin;
        box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2) inset, 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    }
}