li.product,
.wc-block-product {
width: 100%;
max-width: 300px;
background: #fff;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 4px 10px rgba(0,0,0,0.28);
transition:
transform 0.3s ease,
box-shadow 0.3s ease;
} ul.products {
display: flex;
flex-wrap: wrap;
justify-content: center !important;
margin: 0 auto !important;
} .wc-block-grid__products,
.wc-block-product-grid {
justify-items: center;
column-gap: 40px;
row-gap: 40px;
} .wc-block-product-template.is-flex-container {
justify-content: center !important;
} .wc-block-product-template.is-flex-container > li.wc-block-product {
flex-grow: 0;
} ul.wc-block-product-template.is-layout-flow.wp-block-woocommerce-product-template-is-layout-flow {
justify-items: center !important;
justify-content: center !important; } ul.wc-block-product-template__responsive.is-layout-flow {
justify-items: center !important;
} ul.wc-block-product-template.is-layout-flow > li.wc-block-product {
justify-self: center;
flex-grow: 0;
max-width: 240px; } li.product .review-rating,
li.product .ast-woo-product-category {
display: none !important;
} li.product:hover,
.wc-block-product:hover {
transform: translateY(-6px);
box-shadow: 0 14px 34px rgba(0,0,0,0.55);
} li.product .woocommerce-loop-product__link {
position: relative;
display: block;
overflow: hidden;
} li.product .astra-shop-summary-wrap {
padding: 0 !important;
margin: 0 !important;
display: flex;
flex-direction: column;
gap: 0 !important;
height: 100%;
justify-content: space-between;
} li.product .woocommerce-loop-product__title,
li.product .woocommerce-loop-product__title a,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-post-title a,
.wc-block-components-product-title,
.wc-block-components-product-title a {
font-size: 16px !important;
font-weight: 500 !important;
line-height: 1.3 !important;
text-align: center !important;
color: #24525d !important;
margin: 4px 0 2px !important;
padding: 0 4px !important;
text-decoration: none !important;
border: none !important;
box-shadow: none !important;
flex-grow: 1;
}
.wc-block-product-template__responsive {
padding: 0 8px !important;
} li.product .woocommerce-loop-product__title a,
.wc-block-product .wp-block-post-title a {
text-decoration: none !important;
border-bottom: none !important;
} li.product .price,
li.product .price .woocommerce-Price-amount,
.wc-block-components-product-price,
.wc-block-components-product-price .woocommerce-Price-amount {
font-size: 14px !important;
font-weight: 400 !important;
line-height: 1.3 !important;
text-align: center !important;
color: #24525d !important;
margin: 0 0 4px !important;
padding: 0 4px !important;
} li.product .button,
.wp-block-woocommerce-product-button .wp-block-button__link {
margin-top: auto !important;
margin-bottom: 0 !important;
width: 100% !important;
display: block !important;
box-sizing: border-box !important;
border-radius: 0 0 8px 8px;
background: #24525d !important;
color: #fff !important;
text-align: center !important;
font-weight: bold !important;
font-size: 13px !important;
line-height:1rem !important;
padding: 4px !important;
transition: background .3s ease !important;
}
li.product .button:hover,
.wp-block-woocommerce-product-button .wp-block-button__link:hover {
background: #2b0900 !important;
} .wc-block-components-product-image {
margin-bottom: 0 !important;
position: relative;
border-radius: 8px 8px 0 0;
overflow: hidden;
text-align: center;
}
.wc-block-components-product-image img {
width: 100%;
height: auto;
max-width: 100%;
object-fit: contain;
display: block;
transition: transform 0.3s ease;
} .wc-block-product:hover .wc-block-components-product-image img,
li.product:hover img {
transform: scale(1.05);
} .cafecomics-format-badge {
position: absolute;
top: 0;
right: 0;
background: #24525d;
color: #fff;
font-weight: bold;
font-size: 10px;
padding: 0 8px;
border-radius: 0;
border-top-right-radius: 8px;
border-bottom-left-radius: 8px;
z-index: 10;
text-transform: uppercase;
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
min-height: 16px;
line-height: 1;
} .cafecomics-badge-icon {
font-family: 'Material Symbols Outlined';
font-size: 18px !important;
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
} .cafecomics-badge--fade-in {
opacity: 0;
animation: badgeFadeIn 0.7s ease-out forwards;
}
@keyframes badgeFadeIn {
to { opacity: 1; }
} .cafecomics-tooltip {
position: absolute;
top: 100%;
right: 0;
margin-top: 6px;
padding: 10px 14px;
font-size: 12px;
font-weight: 600;
line-height: 1.35;
text-align: center;
color: #3a2a22;
background: rgba(245, 238, 224, 0.95); backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(30px);
border: 1px solid rgba(120, 90, 70, 0.25);
border-radius: 8px;
box-shadow:
0 6px 16px rgba(0, 0, 0, 0.18);
opacity: 0;
pointer-events: none;
transform: translateY(-4px);
transition:
opacity 0.2s ease,
transform 0.2s ease;
z-index: 50;
min-width: 160px;
}
.cafecomics-tooltip.visible {
opacity: 1;
transform: translateY(0);
}
.cafecomics-tooltip--multiline .cafecomics-tooltip-line {
display: block;
line-height: 1.4;
} .woocommerce-product-gallery__image img {
max-width: 300px;
max-height: 300px;
width: auto;
height: auto;
object-fit: contain;
display: block;
background-color: #c6cdd4;
margin: 0 auto;
}