/*
Theme Name: Astra Child
Description: Astra Child Theme with Pretendard Variable Font
Author: Your Name
Template: astra
Version: 1.0.0
*/


/* Import Pretendard Variable Font */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

/* CSS Variables for Pretendard Font */

:root {
    --font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}


/* 
body:not(.wp-admin) * {
    font-family: var(--font-family) !important;
}

body:not(.wp-admin) {
    font-family: var(--font-family) !important;
}


body:not(.wp-admin) .review-rating,
body:not(.wp-admin) .review-rating *,
body:not(.wp-admin) .review-rating div,
body:not(.wp-admin) .review-rating span,
body:not(.wp-admin) .review-rating strong {
    font-family: inherit !important;
} */


/* WooCommerce Product Gallery Styling */

.woocommerce-product-gallery {}

.woocommerce-product-gallery__wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woocommerce-product-gallery__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}

.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}


/* Remove zoom functionality */

.woocommerce-product-gallery__trigger {
    display: none !important;
}

.zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
}


/* Remove hover effects that trigger zoom */

.woocommerce-product-gallery__image:hover .zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}


/* Additional zoom removal */

.woocommerce-product-gallery__image img.zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}


/* Remove any zoom-related JavaScript effects */

.woocommerce-product-gallery__image *[class*="zoom"] {
    display: none !important;
    visibility: hidden !important;
}


/* Ensure images are clickable but without zoom */

.woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.woocommerce-product-gallery__image a:hover {
    transform: none;
    transition: none;
}