.cf-woo-grid {
display: grid;
width: 100%;
padding: 0;
margin: 0 0 50px 0;
list-style: none;
gap: 38px;
box-sizing: border-box;
}
.cf-woo-grid.cf-archive-grid { 
column-gap: 38px; 
row-gap: 32px;    
} .cf-col-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.cf-col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cf-col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cf-col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cf-col-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cf-col-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .cf-woo-grid > p,
.cf-woo-grid > br,
.cf-woo-grid > div:not(.cf-loop-item) {
display: none;
} @media (max-width: 767px) {
.cf-woo-grid:not(.cf-sidebar-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
.cf-woo-grid:not(.cf-sidebar-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
} .cf-loop-item {
display: flex;
flex-direction: column;
width: 100%;
max-width: 100%;
min-width: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.cf-image-wrapper {
position: relative;
display: block;
width: 100%;
aspect-ratio: 5 / 7;
border-radius: 20px;
overflow: hidden;
-webkit-mask-image: -webkit-radial-gradient(white, black);
margin-bottom: 6px;
flex-shrink: 0;
box-sizing: border-box;
box-shadow: 0 4px 6px -5px rgb(0 0 0 / 84%);
}
.cf-image-wrapper a:not(.cf-qv-trigger) {
display: block;
position: absolute;
inset: 0;
} .cf-image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
margin: 0;
padding: 0;
}
.cf-sidebar-grid .cf-image-wrapper {
border-radius: 10px;
margin-bottom: 5px;
}
@media (min-width: 1025px) {
.cf-image-wrapper img { transition: transform 0.5s ease; }
.cf-image-wrapper:hover img { transform: scale(1.10); }
} .cf-product-title {
margin: 0;
padding: 0;
text-align: left;
width: 100%;
max-width: 100%;
min-width: 0;
overflow: hidden;
box-sizing: border-box;
}
.cf-product-title a {
font-size: 14px;
font-weight: 500;
color: inherit;
text-decoration: none;
display: block;
width: 100%;
max-width: 100%;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
box-sizing: border-box;
}
.cf-sidebar-grid .cf-product-title a { font-size: 13px; } .cf-product-row {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
min-width: 0;
}
.cf-product-row .cf-product-title {
flex: 1 1 auto;
width: auto;
min-width: 0;
}
.cf-product-price {
flex: 0 0 auto;
margin: 0;
padding: 0;
font-size: 12px;
line-height: 1.35;
font-weight: 500;
color: #8b8b92;
white-space: nowrap;
}
.cf-product-price del { margin-right: 4px; font-weight: 400; color: #b4b4ba; }
.cf-product-price ins { text-decoration: none; }
.cf-product-price .woocommerce-Price-amount { font-weight: inherit; }
.cf-price-free {
display: inline-block;
padding: 1px 8px;
border-radius: 999px;
background: #b9fb00;
color: #111111;
font-size: 10px;
font-weight: 700;
line-height: 1.5;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.cf-sidebar-grid .cf-product-price { font-size: 11px; } .cf-pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-top: 40px;
width: 100%;
}
.cf-pagination a, .cf-pagination span {
padding: 8px 14px;
border-radius: 5px;
background: #f1f1f1;
color: #333;
text-decoration: none;
font-weight: 400;
}
.cf-pagination .current { background: #333; color: #fff; }
.cf-pagination a:hover { background: #ddd; } .cf-loop-item .cf-image-wrapper button.cf-qv-trigger,
.cf-loop-item .cf-image-wrapper .cf-qv-trigger {
position: absolute;
bottom: 0;
left: 0;
top: auto;
width: 100%;
height: auto;
padding: 20px 0;
background: #000000d6;
color: #ffffff;
border: none;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
text-decoration: none;
letter-spacing: 1px;
cursor: pointer;
z-index: 10;
transform: translateY(100%);
transition: transform 0.25s ease-in-out, background-color 0.2s ease;
text-align: center;
display: block;
box-sizing: border-box;
line-height: 1;
font-family: inherit;
outline: none;
}
.cf-loop-item .cf-image-wrapper button.cf-qv-trigger:hover,
.cf-loop-item .cf-image-wrapper .cf-qv-trigger:hover {
background: #282828;
color: #b9fb00;
}
.cf-loop-item .cf-image-wrapper:hover button.cf-qv-trigger,
.cf-loop-item .cf-image-wrapper:hover .cf-qv-trigger {
transform: translateY(0);
} @media (hover: none) {
.cf-loop-item .cf-image-wrapper button.cf-qv-trigger,
.cf-loop-item .cf-image-wrapper .cf-qv-trigger {
left: auto;
right: 8px;
bottom: 8px;
width: 40px;
height: 40px;
padding: 0;
border-radius: 50%;
background-color: rgba(17, 17, 17, 0.9);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
font-size: 0;
line-height: 0;
letter-spacing: 0;
transform: none;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.cf-loop-item .cf-image-wrapper .cf-qv-trigger::before {
content: "";
display: block;
width: 20px;
height: 20px; background: center / contain no-repeat url(//www.creative-flyers.com/wp-content/uploads/icons/cart-white.svg);
} .cf-loop-item .cf-image-wrapper .cf-qv-trigger.cf-free-get::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0-4.5-4.5M12 15l4.5-4.5'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E");
} .cf-loop-item .cf-image-wrapper .cf-qv-trigger.cf-select-options::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
} .cf-back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 44px;
height: 44px;
background-color: #222222;
color: #ffffff;
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
z-index: 9999;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
outline: none;
}
.cf-back-to-top.is-visible {
opacity: 1;
visibility: visible;
}
.cf-back-to-top:hover {
background-color: #444444;
transform: translateY(-2px);
}
.cf-back-to-top svg {
width: 20px;
height: 20px;
fill: none;
stroke: #ffffff;
stroke-width: 2.5;
stroke-linecap: round;
stroke-linejoin: round;
}
@media (max-width: 767px) {
.cf-back-to-top {
bottom: 20px;
right: 20px;
width: 40px;
height: 40px;
}
.cf-back-to-top svg {
width: 18px;
height: 18px;
}
}
a.added_to_cart,
.cf-image-wrapper a.added_to_cart {
display: none !important;
} .cf-fav-btn {
position: absolute;
top: 10px;
right: 10px;
width: 30px;
height: 30px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.9);
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 12;
padding: 0;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
outline: none;
}
.cf-fav-icon {
width: 16px;
height: 16px;
fill: none;
stroke: #222222;
stroke-width: 1.8;
transition: fill 0.2s ease, stroke 0.2s ease;
}
.cf-fav-btn:hover {
transform: scale(1.08);
background: #ffffff;
}
.cf-fav-btn:focus-visible {
outline: 2px solid #111111;
outline-offset: 2px;
}
.cf-fav-btn.is-liked {
background: #ffffff;
}
.cf-fav-btn.is-liked .cf-fav-icon {
fill: #db15ff;
stroke: #db15ff;
} @media (hover: hover) and (pointer: fine) {
.cf-fav-btn {
opacity: 0;
transform: translateY(-4px);
}
.cf-image-wrapper:hover .cf-fav-btn,
.cf-image-wrapper:focus-within .cf-fav-btn,
.cf-fav-btn:focus-visible,
.cf-fav-btn.is-liked {
opacity: 1;
transform: none;
}
.cf-image-wrapper .cf-fav-btn:hover {
transform: scale(1.08);
}
} @media (hover: none) {
.cf-fav-btn {
top: 8px;
right: 8px;
width: 28px;
height: 28px;
background: rgba(255, 255, 255, 0.82);
box-shadow: none;
}
.cf-fav-btn.is-liked {
background: #ffffff;
}
.cf-fav-icon {
width: 15px;
height: 15px;
}
}