/* ==========================================================
   SHOP - PRODUCT CARD
========================================================== */

.hermax-card{
    height:100%;

    display:flex;
    flex-direction:column;

    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:20px;
    overflow:hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.hermax-card:hover{
    transform:translateY(-8px);
    border-color:#dcdcdc;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}
.hermax-image img{
    display:block;
    width:100%;
    border-radius:20px 20px 0 0;
}

.hermax-content{
    display:flex;
    flex-direction:column;
    flex:1;

    padding:32px 28px 28px;
}

.hermax-title{
    margin:0 0 16px;

    font-size:26px;
    font-weight:700;
    line-height:1.3;
}

.hermax-title a{
    color:#1b1b1b;
    text-decoration:none;
    transition:.3s;
}

.hermax-title a:hover{
    color:#3547e8;
}

.hermax-excerpt{

    color:#666;
    font-size:16px;
    line-height:1.7;

    margin-top:auto;
    margin-bottom:0;

    overflow:hidden;
    text-overflow:ellipsis;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;

    min-height:54px;
}


/* ==========================================================
   BUTTON
========================================================== */

.hermax-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 28px;
    background:#3547e8;
    border:2px solid #3547e8;
    border-radius:999px;
    color:#fff !important;
    font-size:15px;
    font-weight:600;
    text-decoration:none !important;
    transition:.3s;

    margin-top:auto;
}

.hermax-btn:hover{
    background:#2437dc;
    border-color:#2437dc;
    color:#fff !important;
}
/* ==========================================================
   SINGLE PRODUCT
========================================================== */

.hermax-single-wrapper{
    margin:60px auto 80px;
	width:100%;
}

.hermax-single-product{
    display:grid;
    grid-template-columns:minmax(400px,430px) 1fr;
    gap:80px;
    align-items:flex-start;

    padding:40px;
    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:24px;
}

.hermax-gallery{
    width:100%;
}

.hermax-summary{
    width:100%;
}

.hermax-summary .summary{
    width:100%;
    float:none !important;
    margin:0 !important;
}

.hermax-gallery .woocommerce-product-gallery{
    width:100% !important;
    float:none !important;
    margin:0 !important;
    position:sticky;
    top:30px;

    padding:20px;
    background:#fafafa;
    border:1px solid #e9e9e9;
    border-radius:20px;
}

.hermax-gallery .woocommerce-product-gallery img{
    display:block;
    width:100%;
    height:auto;

    border-radius:14px;
    background:#fff;
}
.hermax-summary h1.product_title{
    margin:0 0 28px;
    font-size:54px;
    font-weight:700;
    line-height:1.15;
    color:#1f2937;
    letter-spacing:-1px;
}

.woocommerce-product-details__short-description{
    max-width:700px;
    margin-bottom:40px;

    color:#6b7280;
    font-size:17px;
    line-height:1.9;
}

.product_meta{
    margin-top:15px;
    padding-top:25px;

    border-top:1px solid #ececec;

    font-size:15px;
    color:#666;
}

.product_meta span{
    display:flex;
    align-items:center;
    gap:8px;

    margin-bottom:14px;
}

.product_meta a{
    color:#3547e8;
    text-decoration:none;
}

.product_meta a:hover{
    text-decoration:underline;
}
/* ==========================================================
   PRODUCT TABS
========================================================== */

.hermax-tabs{
    margin-top:80px;
}

.woocommerce-tabs{
    width:100%;
}

.woocommerce-tabs ul.tabs{
    display:flex;
    gap:15px;
    padding:0 !important;
    margin-bottom:35px !important;
    border:none !important;
}

.woocommerce-tabs ul.tabs::before{
    display:none !important;
}

.woocommerce-tabs ul.tabs li{
    margin:0 !important;
    padding:0 !important;
    border:1px solid #ddd !important;
    border-radius:999px !important;
    background:#fff !important;
}

.woocommerce-tabs ul.tabs li a{
    display:block;
    padding:12px 28px !important;
    font-weight:600;
}

.woocommerce-tabs ul.tabs li.active{
    background:#3547e8 !important;
    border-color:#3547e8 !important;
}

.woocommerce-tabs ul.tabs li.active a{
    color:#fff !important;
}

.woocommerce-tabs .panel{
    padding:35px;
    border:1px solid #ececec;
    border-radius:20px;
    background:#fff;
}

/* ==========================================================
   RELATED PRODUCTS
========================================================== */

.hermax-related{
    margin-top:80px;
}

.hermax-related h2{
    margin-bottom:35px;
    font-size:34px;
}

.hermax-related ul.products{
    display:grid !important;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    padding:0;
    margin:0;
    list-style:none;
}

.hermax-related ul.products > li.product{
    width:auto !important;
    margin:0 !important;
    float:none !important;
    clear:none !important;
}
/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:991px){

    .hermax-single-product{
        grid-template-columns:1fr;
        gap:40px;
    }

    .hermax-gallery .woocommerce-product-gallery{
        position:relative;
        top:0;
    }

    .hermax-summary h1.product_title{
        font-size:34px;
    }

}

@media (max-width:576px){

    .woocommerce-tabs ul.tabs{
        flex-wrap:wrap;
    }

    .hermax-summary h1.product_title{
        font-size:28px;
    }

}/* ==========================================
   SINGLE PRODUCT WRAPPER
========================================== */

.hermax-single-wrapper{
    margin:60px auto 100px;
    width:100%;
}

/* ==========================================
   PRODUCT TOP
========================================== */

.hermax-single-product{
    display:grid;
    grid-template-columns:430px 1fr;
    gap:70px;

    padding:35px;
    border:1px solid #e8e8e8;
    border-radius:24px;
    background:#fff;
}

/* ==========================================
   PRODUCT IMAGE
========================================== */

.hermax-gallery .woocommerce-product-gallery{
    position:sticky;
    top:30px;
}

.hermax-gallery .woocommerce-product-gallery img{
    border-radius:18px;
    border:1px solid #ececec;
    background:#fff;
}

/* ==========================================
   PRODUCT CONTENT
========================================== */

.hermax-summary{
    display:flex;
    flex-direction:column;
}

.hermax-summary h1.product_title{
    font-size:58px;
    line-height:1.1;
    margin-bottom:25px;
    color:#222;
}

.woocommerce-product-details__short-description{
    max-width:560px;
    font-size:18px;
    line-height:1.9;
    color:#666;
    margin-bottom:35px;
}

/* garis tipis */

.product_meta{
    margin-top:10px;
    padding-top:25px;
    border-top:1px solid #ececec;
}

.product_meta span{
    display:block;
    margin-bottom:10px;
}

.product_meta a{
    color:#3547e8;
}

/* ==========================================
   TABS
========================================== */

.hermax-tabs{
    margin-top:45px;
    padding:35px;

    border:1px solid #e8e8e8;
    border-radius:24px;
    background:#fff;
}

.woocommerce-tabs ul.tabs{
    display:flex;
    gap:15px;
    border:none!important;
    padding:0!important;
    margin-bottom:30px!important;
}

.woocommerce-tabs ul.tabs::before{
    display:none;
}

.woocommerce-tabs ul.tabs li{
    border:1px solid #ddd!important;
    border-radius:999px!important;
    background:#fff!important;
}

.woocommerce-tabs ul.tabs li.active{
    background:#3547e8!important;
    border-color:#3547e8!important;
}

.woocommerce-tabs ul.tabs li.active a{
    color:#fff!important;
}

.woocommerce-tabs .panel{
    border-top:1px solid #ececec;
    padding-top:30px;
}

/* ==========================================
   RELATED
========================================== */

.hermax-related{
    margin-top:50px;
    padding:35px;

    border:1px solid #e8e8e8;
    border-radius:24px;
    background:#fff;
}

.hermax-related h2{
    font-size:34px;
    margin-bottom:35px;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:991px){

    .hermax-single-product{
        grid-template-columns:1fr;
        gap:40px;
        padding:25px;
    }

    .hermax-gallery .woocommerce-product-gallery{
        position:relative;
        top:0;
    }

    .hermax-summary h1.product_title{
        font-size:38px;
    }

    .hermax-tabs,
    .hermax-related{
        padding:25px;
    }
}
/* ==========================================================
   BREADCRUMB
========================================================== */

.woocommerce-breadcrumb{
    display:inline-flex;
    align-items:center;
    flex-wrap:wrap;
    gap:4px;

    margin-bottom:35px;
    padding:10px 18px;

    background:#fafafa;
    border:1px solid #e8e8e8;
    border-radius:50px;

    font-size:14px;
    line-height:1.5;
    color:#777;
}

.woocommerce-breadcrumb a{
    color:#555;
    text-decoration:none;
    transition:.3s;
}

.woocommerce-breadcrumb a:hover{
    color:#3547e8;
}
.hermax-image{
    position:relative;
    overflow:hidden;
}

.hermax-image img{
    display:block;
    width:100%;
    height:260px;
    object-fit:cover;

    border-radius:20px 20px 0 0;

    transition:transform .4s ease;
}

.hermax-image::after{
    content:"";
    position:absolute;
    inset:0;

    background:rgba(0,0,0,.08);

    opacity:0;
    transition:.35s ease;

    pointer-events:none;
}

.hermax-card:hover .hermax-image img{
    transform:scale(1.05);
}

.hermax-card:hover .hermax-image::after{
    opacity:1;
}

.hermax-arrow{
    position:absolute;

    right:24px;
    bottom:24px;

    width:54px;
    height:54px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#3547e8;
    color:#fff;

    border-radius:50%;
    text-decoration:none;

    box-shadow:0 8px 20px rgba(53,71,232,.25);

    transition:all .3s ease;

    z-index:10;
}

.hermax-arrow svg{
    width:22px;
    height:22px;
}

.hermax-arrow:hover{
    background:#2437dc;
    transform:translateY(-2px) rotate(45deg);
    color:#fff;
}