/**
Theme Name: astra-wpdesign
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: astra-wpdesign
Template: astra
*/
/* ROOT START */

.root-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px !important;
    box-sizing: border-box;
}

main {
    width: 100%;
}
.ast-sticky-row{
    max-width: 1340px;
    margin: 0 auto;
    box-sizing: border-box;
}
.single-product div.product .entry-title{
    padding-top:10px;
    font-size:32px;
}
.fg-layout-3-filters-wrap {
    max-width: 400px !important;
}
.fg-filter-wrap,
.woocommerce-Tabs-panel--additional_information{
    display:none !important;
}
.fg-layout-3-filters-wrap .fg-layout-3-search-box{
    border-radius: 12px !important;
}
.fg-layout-3-search-box {
    -ms-flex-preferred-size: 100% !important;
    flex-basis: 100% !important;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap, .woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap{
    margin-bottom:0 !important;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock){
    -webkit-transition: all 0s ease; 
     transition: all 0s ease;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before{
    background:none !important;
}
ul[data-attribute_name="attribute_pa_silveroption"] > li:first-child,
.button-variable-item-없음{
    display:none !important;
}
@media (min-width: 922px) {
    .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images{
      
    }
    .woocommerce #content .ast-woocommerce-container div.product div.summary,
    .woocommerce .ast-woocommerce-container div.product div.summary,
    .woocommerce-page #content .ast-woocommerce-container div.product div.summary,
    .woocommerce-page .ast-woocommerce-container div.product div.summary {
       
        top: 0 !important;
        max-height: 100vh;
        overflow-y: auto;

        /* 스크롤바 가늘게 */
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: #ccc #f5f5f5; /* Firefox */

        /* For Webkit browsers */
    }
    .woocommerce #content .ast-woocommerce-container div.product div.summary::-webkit-scrollbar,
    .woocommerce .ast-woocommerce-container div.product div.summary::-webkit-scrollbar,
    .woocommerce-page #content .ast-woocommerce-container div.product div.summary::-webkit-scrollbar,
    .woocommerce-page .ast-woocommerce-container div.product div.summary::-webkit-scrollbar {
        width: 6px;
        background: #f5f5f5;
    }
    .woocommerce #content .ast-woocommerce-container div.product div.summary::-webkit-scrollbar-thumb,
    .woocommerce .ast-woocommerce-container div.product div.summary::-webkit-scrollbar-thumb,
    .woocommerce-page #content .ast-woocommerce-container div.product div.summary::-webkit-scrollbar-thumb,
    .woocommerce-page .ast-woocommerce-container div.product div.summary::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
}
/* responsive */
@media (max-width: 700px) {
    .benefit-tabs {
        gap: 24px;
    }
}

@keyframes scroll-wiggle {
    0% {
        transform: translateY(0);
    }

    7% {
        transform: translateY(-6px);
    }

    15% {
        transform: translateY(2px);
    }

    24% {
        transform: translateY(-12px);
    }

    33% {
        transform: translateY(4px);
    }

    45% {
        transform: translateY(-9px);
    }

    57% {
        transform: translateY(3px);
    }

    70% {
        transform: translateY(-14px);
    }

    82% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

/* 상품 카테고리·상품 상세 상단 배너 (이미지 + 텍스트) */
.astra-wc-top-banner {
    margin-bottom: 2rem;
    background: #f8f8f8;
    overflow: hidden;
}
/* 배경 이미지 영역: CSS 변수 --astra-wc-banner-bg-image 로 설정/오버라이드 가능 */
.astra-wc-top-banner__image {
    width: 100%;
    min-height: 200px;
    background-image: var(--astra-wc-banner-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.astra-wc-top-banner__title {
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.astra-wc-top-banner__text {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
.astra-wc-top-banner__text p:last-child {
    margin-bottom: 0;
}
.astra-wc-top-banner.astra-wc-top-banner--product{
    width: 100%;
}
.astra-wc-top-banner__image{
    background-image: url('https://dhcommissionring.com/wp-content/uploads/2026/02/middle-banner2.jpg');
    text-align: center;
    padding:100px 0;
    color:#fff;
    flex-direction: column;
}
.astra-wc-top-banner__image h2{
    font-size:34px;
}
.astra-wc-top-banner__image p{
    margin:0;
    font-size:18px;
}
.ast-on-card-button,
.tabs.wc-tabs,
.woocommerce-js .woocommerce-breadcrumb,
.ast-shop-toolbar-container,
.woocommerce-products-header{
    display:none !important;
}
.woocommerce-js form .form-row label{
    font-size:1rem !important;
}

.woocommerce-js div.product form.cart .variations th{
    margin:5px 0 0 0 !important;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{
    font-size:14px !important;
}
.woocommerce-js div.product form.cart .variations {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.ppom-wrapper .table th, .ppom-wrapper .table td {
    border-left:1px solid #dee2e6 !important;
   
}
.product-loop-attr--hamryang{
    display:flex;
    gap:3px;
    flex-wrap: wrap;
}
.product-loop-attr--hamryang span{
    display:inline-block;
    width:20px;
    height:0;
    padding:0;
    padding-top:18px;
    border:1px solid #dee2e6;
    border-radius: 3px;
}
.product-loop-attr-value--val-24k{
    background-color:#FFD700;
}
.product-loop-attr-value--val-18k{
    background-color:#FFDF00;
}

.product-loop-attr-value--val-14k{
    background-color:#F1C40F ;
}

.product-loop-attr-value--val-10k{
    background-color:#EEE8AA ;
}
.product-loop-attr-value--silver1{
    background-color:#C0C0C0 ; 
}
.product-loop-attr-value--silver2{
    background-color:#E5E4E2 ; 
}

.ast-modern-checkout .woocommerce form.woocommerce-checkout .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper .form-row {
} 
.woocommerce-js div.product{
    margin-top:60px !important;
}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button,
.woocommerce-js div.product form.cart .button.buy_now_button{
    padding: 10px 20px !important;
    line-height: 18px !important;
    height: 36px !important;
    opacity: 1 !important;
}
.woocommerce-js div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce-js div.product form.cart .button:hover{
    background: #000 !important;
    color: #fff !important;
}
.ast-builder-layout-element.ast-flex.site-header-focus-item[data-section="section-header-mobile-trigger"]{
    padding-left:0;
}
.widget_block.widget_search{
    width:100%;
    padding:15px;
    padding-bottom:5px;
    margin:0;
    box-sizing: border-box;
  
}
.ast-mobile-popup-inner .wp-block-search__label{
    display:none;
}
.ast-mobile-popup-inner .wp-block-search__input{
    width:calc(100% - 100px);
    line-height: 42px;
    vertical-align: bottom;
    border-radius: 2px !important;
}
.ast-mobile-popup-inner .wp-block-search__button {
    width:90px;
    margin-left:9px;
    height:44px;
    background:#000 !important;
    color:#fff !important;
    border-radius: 2px !important;
}
.ast-mobile-popup-inner .main-header-menu {
    box-sizing: border-box;
    padding: 0 15px 0 15px;
    margin: 0;
}
.ast-mobile-popup-inner .main-header-menu a{
    background:#000 !important;
    color:#fff !important;
    padding: 1px 15px !important;
    border-radius: 2px !important;
    margin: 2px 0 !important;
    font-size:14px !important;
    font-weight:500 !important;
    border:0 !important;
   
    text-decoration:none !important;
}
@media (max-width: 440px) {

.woocommerce-js div.product form.cart .button.single_add_to_cart_button{
    clear:both;
}
.eael-gallery-grid-item{
    margin-right:0 !important;
    margin-left:0 !important;
}
}
@media (min-width: 768px) {
   
    .astra-wc-top-banner__text {
        flex: 1;
        padding: 1.5rem 2rem;
        display: flex;
        align-items: center;
    }
}

/* 불규칙한 움직임 애니메이션 정의 */
@keyframes randomFloat {
    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-15px);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-20px);
    }

    80% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* 상품 목록 함량 표시 */
.product-loop-attr--hamryang {
    display: none;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}
/* 함량 옵션값별 배경 등 스타일 (필요 시 추가) */
.product-loop-attr-value {
    display: inline-block;
    padding: 0.15em 0.5em;
    margin: 0 0.15em 0.15em 0;
    border-radius: 3px;
    position: relative;
}
/* 함량 옵션 호버 시 툴팁 (이미지 형태: 박스 + 아래 삼각형 화살표) */
.product-loop-attr-value[data-tooltip]::before,
.product-loop-attr-value[data-tooltip]::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}
/* 툴팁 화살표 (아래쪽 삼각형) */
.product-loop-attr-value[data-tooltip]::before {
    content: '';
    bottom: 100%;
    margin-bottom: -1px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.85);
}
/* 툴팁 박스 */
.product-loop-attr-value[data-tooltip]::after {
    content: attr(data-tooltip);
    bottom: 100%;
    transform: translateX(-50%) translateY(-4px);
    padding: 0.35em 0.6em;
    white-space: nowrap;
    font-size: 0.75rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 4px;
}
.product-loop-attr-value[data-tooltip]:hover::before,
.product-loop-attr-value[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}
.product-loop-attr-value[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(-5px);
}
.product-loop-attr-value[data-tooltip]:hover::before {
    transform: translateX(-50%);
}
.astra-shop-thumbnail-wrap .size-woocommerce_thumbnail{
    
}
.image-variable-items-wrapper li{
    width:54px !important;
    height:54px !important;
    box-shadow: none !important;
}
.bt_info a{
    color:#fff !important;
}
.bt_info strong.st1{
    padding-left:15px;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #000 !important;
    color: #fff !important;
}
.ast-blog-layout-4-grid .ast-article-inner {
    box-shadow: none !important;
    text-align: center !important; 
}