| 1 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-wrapper { |
| 2 |
display: grid; |
| 3 |
grid-template-columns: repeat(3, 1fr); |
| 4 |
grid-gap: 10px; |
| 5 |
padding: 30px; |
| 6 |
} |
| 7 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item { |
| 8 |
background-color: #fff; |
| 9 |
transition: all 0.3s ease; |
| 10 |
position: relative; |
| 11 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); |
| 12 |
z-index: 1; |
| 13 |
} |
| 14 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover { |
| 15 |
box-shadow: 0 14px 25px rgba(0, 0, 0, 0.16); |
| 16 |
} |
| 17 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover::before { |
| 18 |
width: 100%; |
| 19 |
visibility: visible; |
| 20 |
opacity: 1; |
| 21 |
transition-delay: 0.5s; |
| 22 |
} |
| 23 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-action-button a, |
| 24 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-action-button .edd-add-to-cart { |
| 25 |
opacity: 1; |
| 26 |
visibility: visible; |
| 27 |
transform: translateY(0); |
| 28 |
} |
| 29 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-action-button .usk-details-button a { |
| 30 |
transition-delay: 0.1s; |
| 31 |
} |
| 32 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-edd-price { |
| 33 |
opacity: 0; |
| 34 |
visibility: hidden; |
| 35 |
transform: translateY(-20px); |
| 36 |
} |
| 37 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item::before { |
| 38 |
content: ""; |
| 39 |
position: absolute; |
| 40 |
bottom: 0; |
| 41 |
left: 50%; |
| 42 |
transform: translateX(-50%); |
| 43 |
width: 0; |
| 44 |
height: 3px; |
| 45 |
background-color: #EF262C; |
| 46 |
visibility: hidden; |
| 47 |
opacity: 0; |
| 48 |
transition-duration: 0.4s; |
| 49 |
transition: all 0.2s linear; |
| 50 |
} |
| 51 |
.usk-edd-trendy-grid .usk-edd-category { |
| 52 |
display: inline-flex; |
| 53 |
align-items: center; |
| 54 |
grid-column-gap: 7px; |
| 55 |
margin-bottom: 15px; |
| 56 |
} |
| 57 |
.usk-edd-trendy-grid .usk-edd-category a { |
| 58 |
color: #908e98; |
| 59 |
font-size: 14px; |
| 60 |
text-decoration: none; |
| 61 |
font-weight: 500; |
| 62 |
transition: color 0.3s ease; |
| 63 |
} |
| 64 |
.usk-edd-trendy-grid .usk-edd-category a:hover { |
| 65 |
color: #EF262C; |
| 66 |
} |
| 67 |
.usk-edd-trendy-grid .usk-edd-title { |
| 68 |
margin: 0; |
| 69 |
font-size: 18px; |
| 70 |
font-weight: 700; |
| 71 |
} |
| 72 |
.usk-edd-trendy-grid .usk-edd-title a { |
| 73 |
color: #202031; |
| 74 |
text-decoration: none; |
| 75 |
transition: color 0.3s ease; |
| 76 |
} |
| 77 |
.usk-edd-trendy-grid .usk-edd-title a:hover { |
| 78 |
color: #EF262C; |
| 79 |
} |
| 80 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-image { |
| 81 |
position: relative; |
| 82 |
} |
| 83 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-image img { |
| 84 |
width: 100%; |
| 85 |
height: 100%; |
| 86 |
object-fit: cover; |
| 87 |
} |
| 88 |
.usk-edd-trendy-grid .usk-top-content { |
| 89 |
padding: 25px; |
| 90 |
} |
| 91 |
.usk-edd-trendy-grid .usk-edd-content { |
| 92 |
padding: 25px; |
| 93 |
} |
| 94 |
.usk-edd-trendy-grid .usk-edd-content .usk-edd-price { |
| 95 |
display: flex; |
| 96 |
font-size: 12px; |
| 97 |
font-weight: 600; |
| 98 |
grid-column-gap: 10px; |
| 99 |
color: #14161d; |
| 100 |
text-transform: uppercase; |
| 101 |
opacity: 1; |
| 102 |
visibility: visible; |
| 103 |
transform: translateY(0); |
| 104 |
transition: all 0.3s ease; |
| 105 |
} |
| 106 |
.usk-edd-trendy-grid .usk-action-button { |
| 107 |
position: absolute; |
| 108 |
bottom: 0; |
| 109 |
left: 0; |
| 110 |
right: 0; |
| 111 |
margin: 25px; |
| 112 |
display: flex; |
| 113 |
flex-direction: column; |
| 114 |
grid-row-gap: 5px; |
| 115 |
} |
| 116 |
.usk-edd-trendy-grid .usk-action-button input[type=submit] { |
| 117 |
display: none; |
| 118 |
} |
| 119 |
.usk-edd-trendy-grid .usk-action-button a, |
| 120 |
.usk-edd-trendy-grid .usk-action-button .edd-add-to-cart { |
| 121 |
width: 100%; |
| 122 |
display: block; |
| 123 |
padding: 14px 0; |
| 124 |
font-size: 12px; |
| 125 |
text-transform: uppercase; |
| 126 |
font-weight: 700; |
| 127 |
text-decoration: none; |
| 128 |
color: #fff; |
| 129 |
position: relative; |
| 130 |
overflow: hidden; |
| 131 |
opacity: 0; |
| 132 |
visibility: hidden; |
| 133 |
transform: translateY(20px); |
| 134 |
transition: all 0.3s ease; |
| 135 |
cursor: pointer; |
| 136 |
border: 0; |
| 137 |
border-radius: 0; |
| 138 |
line-height: 1; |
| 139 |
text-align: center; |
| 140 |
} |
| 141 |
.usk-edd-trendy-grid .usk-action-button a.blue, |
| 142 |
.usk-edd-trendy-grid .usk-action-button .edd-add-to-cart.blue { |
| 143 |
background-color: #EF262C; |
| 144 |
} |
| 145 |
.usk-edd-trendy-grid .usk-action-button a.blue:hover, |
| 146 |
.usk-edd-trendy-grid .usk-action-button .edd-add-to-cart.blue:hover { |
| 147 |
background-color: #d61017; |
| 148 |
} |
| 149 |
.usk-edd-trendy-grid .usk-action-button .usk-details-button a { |
| 150 |
background: #1d1e25; |
| 151 |
} |
| 152 |
.usk-edd-trendy-grid .usk-action-button .usk-details-button a:hover { |
| 153 |
background-color: #000; |
| 154 |
} |
| 155 |
|
| 156 |
@media (min-width: 768px) { |
| 157 |
.usk-edd-trendy-grid-wrapper { |
| 158 |
grid-template-columns: repeat(2, 1fr); |
| 159 |
} |
| 160 |
} |
| 161 |
@media (min-width: 1024px) { |
| 162 |
.usk-edd-trendy-grid-wrapper { |
| 163 |
grid-template-columns: repeat(3, 1fr); |
| 164 |
} |
| 165 |
} |
| 166 |
@media (min-width: 1440px) { |
| 167 |
.usk-edd-trendy-grid-wrapper { |
| 168 |
grid-template-columns: repeat(4, 1fr); |
| 169 |
} |
| 170 |
} |