/* Korean-style clean product layout */

.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px !important;
}

.woocommerce ul.products li.product {
    background: #fff;

    /* TOP RIGHT BOTTOM LEFT */
    padding: 5px 5px 2px 5px; /* Reduced bottom space */

    border-radius: 12px;
    transition: 0.3s ease;

    transform: scale(0.92);
    transform-origin: top center;
}

.woocommerce ul.products li.product:hover {
    transform: scale(0.92) translateY(-5px);
}

/* Reduce image size */
.woocommerce ul.products li.product img {
    max-height: 180px;
    object-fit: contain;
}

/* Reduce spacing under title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 3px;
}

/* Reduce spacing under price */
.woocommerce ul.products li.product .price {
    font-size: 14px;
    margin-bottom: 0px;
}


/* Hide custom icon */

img.zpimage.custom-icon {
    display: none !important;
}


/* Hide original heading */
.theme-section-heading {
    font-size: 0 !important;
}

/* Hide original text */
.theme-section-heading {
    visibility: hidden;
    position: relative;
}


/* Smaller product image container */

.theme-product-detail-image-container,
.theme-product-detail-image-area,
.theme-product-detail-image {
    max-width: 370px !important;
    width: 550px !important;
    margin: auto;
}

/* Resize actual image */
img[data-detail-image] {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}


/* Hide the Product Details heading and accordion */

.theme-prod-content-summary,
.theme-prod-content-overlay {
    display: none !important;
}

/* Remove accordion behavior */
#product-details {
    display: none !important;
}

/* Move Product Details underneath Add to Cart */

.theme-prod-content-details {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;

    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 1px solid #e5e5e5;
}

/* Product description styling */

.theme-slider-variant-body {
    display: block !important;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}



/* Compact product cards */

.theme-product-box-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;

    min-height: 430px !important; /* Reduced white space */
    padding-bottom: 10px !important;
}

/* Keep images proportional */
.theme-product-image-area img {
    width: auto !important;
    height: auto !important;
    max-height: 180px !important;
    object-fit: contain !important;
}

/* Product details */
.theme-product-details-area {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding-top: 8px !important;
}

/* Full product title without cutoff */
.theme-product-name,
.theme-product-name a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;

    line-height: 1.4 !important;
    font-size: 14px !important;

    margin-bottom: 4px !important;
}

/* Align Add to Cart buttons */
.theme-product-list-addcart {
    margin-top: auto !important;
}



/* Reduce Add to Cart button size */

button.theme-cart-button.zpbutton-size-lg {
    width: auto !important;
    min-width: 120px !important;
    max-width: 140px !important;

    padding: 8px 14px !important;

    font-size: 13px !important;
    line-height: 1 !important;

    border-radius: 6px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Reduce icon size */

button.theme-cart-button.zpbutton-size-lg svg {
    width: 16px !important;
    height: 16px !important;
    margin-right: 6px !important;
}




.theme-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}





/* Hide Product Details container on all product pages */

.theme-prod-content-details,
.theme-product-details .theme-prod-content-details {
    display: none !important;
}




/* Keep Add to Cart text on one line */

.theme-cart-button span[data-theme-cart-button-text] {
    white-space: nowrap !important;
}



/* Hide Non-returnable section */

.theme-product-stock-availability-details .theme-prod-non-returnable {
    display: none !important;
}


.theme-portal-container-dropdown {
    position: absolute !important;
    top: 100% !important;
    margin-top: -30px !important;
    right: 0 !important;
    z-index: 99999 !important;
}




/* Reduce logo size */
img[data-zs-logo] {
    height: 80px !important;
    width: auto !important;
}

/* Fix dropdown */
.theme-portal-container-dropdown {
    position: fixed !important;
    top: 90px !important;
    right: 200px !important;
    z-index: 999999 !important;
    background: white !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

/* Push nav bar below dropdown */
.theme-header.zpheader-style-navigation-07 {
    z-index: 100 !important;
    position: relative !important;
}

.zpheader-style-navigation-07 .zpcontainer {
    z-index: 100 !important;
}




/* Hide Blog menu */
[data-theme-menu-name="Blog"] {
    display: none !important;
}

/* Hide Quote icon */
.theme-quote-container {
    display: none !important;
}


/* Hide empty whitespace section */
[data-element-id="elm_Yy9K_16mSuy3tdluf9YHxg"] {
    display: none !important;
}






