| 1 |
/** |
| 2 |
* Side Cart |
| 3 |
* |
| 4 |
*/ |
| 5 |
.merchant-side-cart-floating-cart { |
| 6 |
position: fixed; |
| 7 |
bottom: var(--mrc-fmci-corner-offset, 30px); |
| 8 |
font-size: var(--mrc-fmci-icon-size, 25px); |
| 9 |
z-index: 9999; |
| 10 |
opacity: 0; |
| 11 |
visibility: hidden; |
| 12 |
pointer-events: none; |
| 13 |
-webkit-transform: translate3d(-20px, 0, 0); |
| 14 |
transform: translate3d(-20px, 0, 0); |
| 15 |
-webkit-transition: ease opacity 300ms, ease transform 300ms; |
| 16 |
transition: ease opacity 300ms, ease transform 300ms; |
| 17 |
} |
| 18 |
.merchant-side-cart-floating-cart * { |
| 19 |
-webkit-box-sizing: border-box; |
| 20 |
box-sizing: border-box; |
| 21 |
} |
| 22 |
.merchant-side-cart-floating-cart.merchant-show { |
| 23 |
opacity: 1; |
| 24 |
visibility: visible; |
| 25 |
pointer-events: auto; |
| 26 |
-webkit-transform: none; |
| 27 |
transform: none; |
| 28 |
} |
| 29 |
.merchant-side-cart-floating-cart:hover { |
| 30 |
-webkit-transform: scale(1.1); |
| 31 |
transform: scale(1.1); |
| 32 |
} |
| 33 |
|
| 34 |
.merchant-side-cart-body, |
| 35 |
.merchant-side-cart-widget { |
| 36 |
height: 100%; |
| 37 |
} |
| 38 |
|
| 39 |
.merchant-side-cart-floating-cart-position-left { |
| 40 |
left: var(--mrc-fmci-corner-offset, 30px); |
| 41 |
} |
| 42 |
|
| 43 |
.merchant-side-cart-floating-cart-position-right { |
| 44 |
right: var(--mrc-fmci-corner-offset, 30px); |
| 45 |
} |
| 46 |
|
| 47 |
.merchant-side-cart-floating-cart-counter { |
| 48 |
display: -webkit-box; |
| 49 |
display: -ms-flexbox; |
| 50 |
display: flex; |
| 51 |
-webkit-box-align: center; |
| 52 |
-ms-flex-align: center; |
| 53 |
align-items: center; |
| 54 |
-webkit-box-pack: center; |
| 55 |
-ms-flex-pack: center; |
| 56 |
justify-content: center; |
| 57 |
position: absolute; |
| 58 |
top: -8px; |
| 59 |
left: -8px; |
| 60 |
border-radius: 35px; |
| 61 |
font-size: 10px; |
| 62 |
line-height: 1em; |
| 63 |
width: 22px; |
| 64 |
height: 22px; |
| 65 |
color: var(--mrc-fmci-counter-color, #fff); |
| 66 |
background-color: var(--mrc-fmci-counter-background-color, #757575); |
| 67 |
-webkit-box-sizing: border-box; |
| 68 |
box-sizing: border-box; |
| 69 |
} |
| 70 |
|
| 71 |
.merchant-side-cart-floating-cart-icon { |
| 72 |
display: -webkit-box; |
| 73 |
display: -ms-flexbox; |
| 74 |
display: flex; |
| 75 |
-webkit-box-align: center; |
| 76 |
-ms-flex-align: center; |
| 77 |
align-items: center; |
| 78 |
-webkit-box-pack: center; |
| 79 |
-ms-flex-pack: center; |
| 80 |
justify-content: center; |
| 81 |
border-radius: var(--mrc-fmci-border-radius, 35px); |
| 82 |
color: var(--mrc-fmci-icon-color, #fff); |
| 83 |
background-color: var(--mrc-fmci-background-color, #212121); |
| 84 |
} |
| 85 |
.merchant-side-cart-floating-cart-icon svg { |
| 86 |
width: var(--mrc-fmci-icon-size, 25px); |
| 87 |
height: var(--mrc-fmci-icon-size, 25px); |
| 88 |
padding: 16px; |
| 89 |
fill: currentColor; |
| 90 |
-webkit-box-sizing: content-box; |
| 91 |
box-sizing: content-box; |
| 92 |
} |
| 93 |
|
| 94 |
.merchant-side-cart-overlay { |
| 95 |
position: fixed; |
| 96 |
top: 0; |
| 97 |
left: 0; |
| 98 |
right: 0; |
| 99 |
bottom: 0; |
| 100 |
width: 100%; |
| 101 |
height: 100%; |
| 102 |
opacity: 0; |
| 103 |
visibility: hidden; |
| 104 |
pointer-events: none; |
| 105 |
background-color: #000; |
| 106 |
-webkit-transition: all 0.3s; |
| 107 |
transition: all 0.3s; |
| 108 |
z-index: 100000; |
| 109 |
} |
| 110 |
|
| 111 |
.merchant-side-cart { |
| 112 |
position: fixed; |
| 113 |
top: 0; |
| 114 |
right: 0; |
| 115 |
bottom: 0; |
| 116 |
width: var(--mrc-fmci-side-cart-width, 380px); |
| 117 |
max-width: 100%; |
| 118 |
-webkit-transform: translate3d(100%, 0, 0); |
| 119 |
transform: translate3d(100%, 0, 0); |
| 120 |
-webkit-transition: all 0.3s; |
| 121 |
transition: all 0.3s; |
| 122 |
z-index: 1000000; |
| 123 |
color: var(--mrc-fmci-side-cart-content-text-color, #212121); |
| 124 |
background-color: var(--mrc-fmci-side-cart-content-background-color, #ffffff); |
| 125 |
} |
| 126 |
.merchant-side-cart.slide-left { |
| 127 |
left: 0; |
| 128 |
right: unset; |
| 129 |
-webkit-transform: translate3d(-100%, 0, 0); |
| 130 |
transform: translate3d(-100%, 0, 0); |
| 131 |
} |
| 132 |
.merchant-side-cart * { |
| 133 |
-webkit-box-sizing: border-box; |
| 134 |
box-sizing: border-box; |
| 135 |
} |
| 136 |
.merchant-side-cart .merchant-side-cart-savings { |
| 137 |
display: -webkit-box; |
| 138 |
display: -ms-flexbox; |
| 139 |
display: flex; |
| 140 |
-webkit-box-pack: justify; |
| 141 |
-ms-flex-pack: justify; |
| 142 |
justify-content: space-between; |
| 143 |
padding: 20px 30px; |
| 144 |
background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 145 |
line-height: 1; |
| 146 |
} |
| 147 |
.merchant-side-cart ul.woocommerce-mini-cart .merchant-freespb-wrapper { |
| 148 |
margin-bottom: 20px; |
| 149 |
} |
| 150 |
|
| 151 |
.woocommerce-mini-cart__cart_total, |
| 152 |
.woocommerce-mini-cart__coupon, |
| 153 |
.woocommerce-mini-cart__coupons { |
| 154 |
display: none; |
| 155 |
} |
| 156 |
|
| 157 |
.merchant-side-cart-widget .product_list_widget { |
| 158 |
-webkit-box-flex: 1; |
| 159 |
-ms-flex: 1; |
| 160 |
flex: 1; |
| 161 |
margin: 0 !important; |
| 162 |
padding: 40px !important; |
| 163 |
-webkit-box-shadow: none; |
| 164 |
box-shadow: none; |
| 165 |
max-width: 100%; |
| 166 |
overflow-y: auto; |
| 167 |
} |
| 168 |
.merchant-side-cart-widget .product_list_widget::-webkit-scrollbar { |
| 169 |
width: 5px; |
| 170 |
} |
| 171 |
.merchant-side-cart-widget .product_list_widget::-webkit-scrollbar-track { |
| 172 |
background: #e2e2e2; |
| 173 |
} |
| 174 |
.merchant-side-cart-widget .product_list_widget::-webkit-scrollbar-thumb { |
| 175 |
background-color: #CCC; |
| 176 |
border-radius: 6px; |
| 177 |
} |
| 178 |
.merchant-side-cart-widget .product_list_widget li { |
| 179 |
list-style: none; |
| 180 |
-webkit-box-align: start !important; |
| 181 |
-ms-flex-align: start !important; |
| 182 |
align-items: flex-start !important; |
| 183 |
padding: 20px 0 !important; |
| 184 |
background: transparent !important; |
| 185 |
position: relative; |
| 186 |
max-width: 100%; |
| 187 |
} |
| 188 |
.merchant-side-cart-widget .product_list_widget li:after { |
| 189 |
content: ""; |
| 190 |
position: absolute; |
| 191 |
width: 100%; |
| 192 |
height: 1px; |
| 193 |
bottom: 0; |
| 194 |
left: 0; |
| 195 |
background-color: var(--mrc-fmci-side-cart-content-text-color, #212121); |
| 196 |
opacity: 0.1; |
| 197 |
} |
| 198 |
.merchant-side-cart-widget .product_list_widget li:last-of-type { |
| 199 |
padding-bottom: 20px; |
| 200 |
} |
| 201 |
.merchant-side-cart-widget .product_list_widget li:last-of-type:after { |
| 202 |
display: none; |
| 203 |
} |
| 204 |
.merchant-side-cart-widget .product_list_widget li dl.variation { |
| 205 |
font-size: 12px; |
| 206 |
margin-bottom: 10px; |
| 207 |
} |
| 208 |
.merchant-side-cart-widget .product_list_widget li img { |
| 209 |
position: relative !important; |
| 210 |
top: 0 !important; |
| 211 |
left: 0 !important; |
| 212 |
width: 81px !important; |
| 213 |
max-height: 98px; |
| 214 |
-o-object-fit: cover; |
| 215 |
object-fit: cover; |
| 216 |
-o-object-position: center; |
| 217 |
object-position: center; |
| 218 |
-webkit-transform: none !important; |
| 219 |
transform: none !important; |
| 220 |
} |
| 221 |
.merchant-side-cart-widget .product_list_widget li a { |
| 222 |
text-decoration: none; |
| 223 |
} |
| 224 |
.merchant-side-cart-widget .product_list_widget li > a:not(.remove) { |
| 225 |
display: -webkit-box; |
| 226 |
display: -ms-flexbox; |
| 227 |
display: flex; |
| 228 |
-webkit-box-align: start; |
| 229 |
-ms-flex-align: start; |
| 230 |
align-items: flex-start; |
| 231 |
grid-gap: 15px; |
| 232 |
width: auto; |
| 233 |
color: var(--mrc-fmci-side-cart-content-text-color, #212121); |
| 234 |
margin-right: 20px; |
| 235 |
} |
| 236 |
.merchant-side-cart-widget .product_list_widget li a.remove { |
| 237 |
display: -webkit-box; |
| 238 |
display: -ms-flexbox; |
| 239 |
display: flex; |
| 240 |
text-align: center; |
| 241 |
-webkit-box-pack: center; |
| 242 |
-ms-flex-pack: center; |
| 243 |
justify-content: center; |
| 244 |
width: 18px; |
| 245 |
height: 18px; |
| 246 |
font-size: 16px; |
| 247 |
line-height: 16px; |
| 248 |
border-radius: 50%; |
| 249 |
position: absolute; |
| 250 |
top: 13px; |
| 251 |
left: -8px; |
| 252 |
-webkit-transition: ease transform 300ms; |
| 253 |
transition: ease transform 300ms; |
| 254 |
z-index: 11; |
| 255 |
color: var(--mrc-fmci-side-cart-content-remove-color, #ffffff) !important; |
| 256 |
background-color: var(--mrc-fmci-side-cart-content-remove-background-color, #212121) !important; |
| 257 |
} |
| 258 |
.merchant-side-cart-widget .product_list_widget li a.remove:hover { |
| 259 |
-webkit-transform: scale(1.1); |
| 260 |
transform: scale(1.1); |
| 261 |
} |
| 262 |
.merchant-side-cart-widget .product_list_widget li > span { |
| 263 |
font-weight: 600; |
| 264 |
font-size: 14px; |
| 265 |
} |
| 266 |
.merchant-side-cart-widget .product_list_widget span.quantity { |
| 267 |
padding: 0; |
| 268 |
margin: 0; |
| 269 |
width: auto; |
| 270 |
height: auto; |
| 271 |
border: none; |
| 272 |
background: transparent; |
| 273 |
display: -webkit-box; |
| 274 |
display: -ms-flexbox; |
| 275 |
display: flex; |
| 276 |
grid-gap: 4px; |
| 277 |
-webkit-box-pack: end; |
| 278 |
-ms-flex-pack: end; |
| 279 |
justify-content: flex-end; |
| 280 |
margin-left: auto; |
| 281 |
white-space: nowrap; |
| 282 |
} |
| 283 |
.merchant-side-cart-widget .product_list_widget .merchant-side-cart-item { |
| 284 |
display: -webkit-box; |
| 285 |
display: -ms-flexbox; |
| 286 |
display: flex; |
| 287 |
-webkit-box-align: start; |
| 288 |
-ms-flex-align: start; |
| 289 |
align-items: flex-start; |
| 290 |
overflow: visible; |
| 291 |
} |
| 292 |
.merchant-side-cart-widget .product_list_widget .merchant-side-cart-item > a:not(.remove) { |
| 293 |
-webkit-box-flex: 0; |
| 294 |
-ms-flex: 0 0 auto; |
| 295 |
flex: 0 0 auto; |
| 296 |
} |
| 297 |
.merchant-side-cart-widget .product_list_widget .merchant-side-cart-item-sold-individually .merchant-quantity-inner, |
| 298 |
.merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .variation, |
| 299 |
.merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .merchant-cart-item-name, |
| 300 |
.merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .action.plus, |
| 301 |
.merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .action.minus { |
| 302 |
display: none; |
| 303 |
} |
| 304 |
.merchant-quantity-wrap, .merchant-quantity-plus, .merchant-quantity-minus { |
| 305 |
display: none !important; |
| 306 |
} |
| 307 |
|
| 308 |
form.cart .js-merchant-quantity-btn { |
| 309 |
display: none !important; |
| 310 |
} |
| 311 |
|
| 312 |
.merchant-side-cart .merchant-quantity-wrap, .merchant-side-cart .merchant-quantity-plus, .merchant-side-cart .merchant-quantity-minus { |
| 313 |
display: block !important; |
| 314 |
} |
| 315 |
|
| 316 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-name .variation, |
| 317 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-name .merchant-cart-item-name, .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation, |
| 318 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .merchant-cart-item-name { |
| 319 |
display: block; |
| 320 |
} |
| 321 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-name { |
| 322 |
-webkit-box-flex: 1; |
| 323 |
-ms-flex-positive: 1; |
| 324 |
flex-grow: 1; |
| 325 |
} |
| 326 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-price .amount, .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-subtotal { |
| 327 |
font-weight: 600; |
| 328 |
font-size: 14px; |
| 329 |
} |
| 330 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation { |
| 331 |
display: -webkit-box; |
| 332 |
display: -ms-flexbox; |
| 333 |
display: flex; |
| 334 |
gap: 5px; |
| 335 |
margin: 0; |
| 336 |
padding: 0; |
| 337 |
border: none; |
| 338 |
} |
| 339 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation:before, .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation:after { |
| 340 |
content: none; |
| 341 |
} |
| 342 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation p, |
| 343 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation dd, |
| 344 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation dt { |
| 345 |
margin: 0; |
| 346 |
padding: 0; |
| 347 |
} |
| 348 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-wrap { |
| 349 |
display: -webkit-box !important; |
| 350 |
display: -ms-flexbox !important; |
| 351 |
display: flex !important; |
| 352 |
-webkit-box-orient: vertical; |
| 353 |
-webkit-box-direction: normal; |
| 354 |
-ms-flex-direction: column; |
| 355 |
flex-direction: column; |
| 356 |
-ms-flex-item-align: stretch; |
| 357 |
align-self: stretch; |
| 358 |
-webkit-box-flex: 1; |
| 359 |
-ms-flex: 1 1 auto; |
| 360 |
flex: 1 1 auto; |
| 361 |
gap: 10px; |
| 362 |
} |
| 363 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-wrap + span.quantity, |
| 364 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-wrap a { |
| 365 |
display: none !important; |
| 366 |
} |
| 367 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-inner { |
| 368 |
-webkit-box-pack: justify; |
| 369 |
-ms-flex-pack: justify; |
| 370 |
justify-content: space-between; |
| 371 |
gap: 7px; |
| 372 |
} |
| 373 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-inner, |
| 374 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-inner > div { |
| 375 |
display: -webkit-box !important; |
| 376 |
display: -ms-flexbox !important; |
| 377 |
display: flex !important; |
| 378 |
-webkit-box-align: center !important; |
| 379 |
-ms-flex-align: center !important; |
| 380 |
align-items: center !important; |
| 381 |
} |
| 382 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-inner > div { |
| 383 |
width: auto; |
| 384 |
height: auto; |
| 385 |
border: none; |
| 386 |
margin: 0 !important; |
| 387 |
padding: 0 !important; |
| 388 |
} |
| 389 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-plus, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus { |
| 390 |
color: #777777 !important; |
| 391 |
background: none !important; |
| 392 |
border: 1px solid #dbdbdb; |
| 393 |
-webkit-box-shadow: none; |
| 394 |
box-shadow: none; |
| 395 |
height: 35px; |
| 396 |
padding: 0; |
| 397 |
text-align: center; |
| 398 |
} |
| 399 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-plus:focus, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus:focus { |
| 400 |
outline: none; |
| 401 |
-webkit-box-shadow: none; |
| 402 |
box-shadow: none; |
| 403 |
} |
| 404 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-plus, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus { |
| 405 |
display: block; |
| 406 |
width: 35px; |
| 407 |
border-radius: 1px; |
| 408 |
cursor: pointer; |
| 409 |
} |
| 410 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-plus:hover, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus:hover { |
| 411 |
color: #1a1a1a; |
| 412 |
} |
| 413 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-input { |
| 414 |
width: 50px !important; |
| 415 |
height: 35px !important; |
| 416 |
color: #757575 !important; |
| 417 |
background: none !important; |
| 418 |
-webkit-box-shadow: none !important; |
| 419 |
box-shadow: none !important; |
| 420 |
text-align: center !important; |
| 421 |
padding: 5px !important; |
| 422 |
margin: 0 -1px !important; |
| 423 |
border: 1px solid #dbdbdb !important; |
| 424 |
border-left: 0 !important; |
| 425 |
border-right: 0 !important; |
| 426 |
-moz-appearance: textfield !important; |
| 427 |
-webkit-appearance: textfield !important; |
| 428 |
appearance: textfield !important; |
| 429 |
} |
| 430 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-input::-webkit-outer-spin-button, .merchant-side-cart-widget .product_list_widget .merchant-quantity-input::-webkit-inner-spin-button { |
| 431 |
-webkit-appearance: none !important; |
| 432 |
margin: 0 !important; |
| 433 |
} |
| 434 |
.merchant-side-cart-widget .product_list_widget .merchant-quantity-input:focus { |
| 435 |
outline: none !important; |
| 436 |
-webkit-box-shadow: none !important; |
| 437 |
box-shadow: none !important; |
| 438 |
} |
| 439 |
.merchant-side-cart-widget .woocommerce-mini-cart__empty-message { |
| 440 |
margin: 0; |
| 441 |
padding: 25px 35px; |
| 442 |
} |
| 443 |
.merchant-side-cart-widget .woocommerce-mini-cart__total, |
| 444 |
.merchant-side-cart-widget .woocommerce-mini-cart__subtotal { |
| 445 |
margin: 0; |
| 446 |
padding: 20px 30px; |
| 447 |
display: -webkit-box; |
| 448 |
display: -ms-flexbox; |
| 449 |
display: flex; |
| 450 |
-webkit-box-pack: justify; |
| 451 |
-ms-flex-pack: justify; |
| 452 |
justify-content: space-between; |
| 453 |
line-height: 1em; |
| 454 |
border: none; |
| 455 |
color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 456 |
background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 457 |
} |
| 458 |
.merchant-side-cart-widget .woocommerce-mini-cart__total:before, |
| 459 |
.merchant-side-cart-widget .woocommerce-mini-cart__subtotal:before { |
| 460 |
content: ""; |
| 461 |
position: absolute; |
| 462 |
width: calc(100% - 60px); |
| 463 |
height: 1px; |
| 464 |
top: 0; |
| 465 |
left: 50%; |
| 466 |
-webkit-transform: translateX(-50%); |
| 467 |
transform: translateX(-50%); |
| 468 |
background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 469 |
opacity: 0.1; |
| 470 |
} |
| 471 |
.merchant-side-cart-widget .woocommerce-mini-cart__total strong, |
| 472 |
.merchant-side-cart-widget .woocommerce-mini-cart__subtotal strong { |
| 473 |
font-weight: 400; |
| 474 |
} |
| 475 |
.merchant-side-cart-widget .woocommerce-mini-cart__total .woocommerce-Price-amount, |
| 476 |
.merchant-side-cart-widget .woocommerce-mini-cart__subtotal .woocommerce-Price-amount { |
| 477 |
color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 478 |
} |
| 479 |
.merchant-side-cart-widget .woocommerce-mini-cart__total .woocommerce-Price-amount { |
| 480 |
font-size: 1.125rem; |
| 481 |
font-weight: 700; |
| 482 |
} |
| 483 |
.merchant-side-cart-widget .woocommerce-mini-cart__buttons { |
| 484 |
position: relative; |
| 485 |
margin: 0; |
| 486 |
padding: 20px 30px; |
| 487 |
display: -webkit-box; |
| 488 |
display: -ms-flexbox; |
| 489 |
display: flex; |
| 490 |
grid-gap: 20px; |
| 491 |
-webkit-box-orient: vertical; |
| 492 |
-webkit-box-direction: reverse; |
| 493 |
-ms-flex-direction: column-reverse; |
| 494 |
flex-direction: column-reverse; |
| 495 |
text-align: center; |
| 496 |
color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 497 |
background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 498 |
} |
| 499 |
.merchant-side-cart-widget .woocommerce-mini-cart__buttons:before { |
| 500 |
content: ""; |
| 501 |
position: absolute; |
| 502 |
width: calc(100% - 60px); |
| 503 |
height: 1px; |
| 504 |
top: 0; |
| 505 |
left: 50%; |
| 506 |
-webkit-transform: translateX(-50%); |
| 507 |
transform: translateX(-50%); |
| 508 |
background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 509 |
opacity: 0.1; |
| 510 |
} |
| 511 |
.merchant-side-cart-widget .woocommerce-mini-cart__buttons:before { |
| 512 |
content: ""; |
| 513 |
position: absolute; |
| 514 |
width: calc(100% - 60px); |
| 515 |
height: 1px; |
| 516 |
top: 0; |
| 517 |
left: 50%; |
| 518 |
-webkit-transform: translateX(-50%); |
| 519 |
transform: translateX(-50%); |
| 520 |
background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 521 |
opacity: 0.1; |
| 522 |
} |
| 523 |
.merchant-side-cart-widget .woocommerce-mini-cart__buttons .button { |
| 524 |
text-decoration: none; |
| 525 |
} |
| 526 |
.merchant-side-cart-widget .woocommerce-mini-cart__buttons a.button.checkout { |
| 527 |
width: 100%; |
| 528 |
opacity: 1; |
| 529 |
color: var(--mrc-fmci-side-cart-button-color, #ffffff); |
| 530 |
border-color: var(--mrc-fmci-side-cart-button-border-color, #212121); |
| 531 |
background-color: var(--mrc-fmci-side-cart-button-background-color, #212121); |
| 532 |
} |
| 533 |
.merchant-side-cart-widget .woocommerce-mini-cart__buttons a.button.checkout:hover { |
| 534 |
opacity: 1; |
| 535 |
color: var(--mrc-fmci-side-cart-button-color-hover, #ffffff); |
| 536 |
border-color: var(--mrc-fmci-side-cart-button-border-color-hover, #313131); |
| 537 |
background-color: var(--mrc-fmci-side-cart-button-background-color-hover, #313131); |
| 538 |
} |
| 539 |
.merchant-side-cart-widget .woocommerce-mini-cart__buttons a.button:not(.checkout) { |
| 540 |
margin: 0 auto !important; |
| 541 |
border: none !important; |
| 542 |
padding: 0 !important; |
| 543 |
background: transparent !important; |
| 544 |
color: var(--mrc-fmci-side-cart-total-text-color, #212121) !important; |
| 545 |
} |
| 546 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupon { |
| 547 |
position: relative; |
| 548 |
margin: 0; |
| 549 |
padding: 20px 30px; |
| 550 |
display: -webkit-box; |
| 551 |
display: -ms-flexbox; |
| 552 |
display: flex; |
| 553 |
-webkit-box-pack: justify; |
| 554 |
-ms-flex-pack: justify; |
| 555 |
justify-content: space-between; |
| 556 |
gap: 5px; |
| 557 |
line-height: 1em; |
| 558 |
border: none; |
| 559 |
background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 560 |
} |
| 561 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupon:before { |
| 562 |
content: ""; |
| 563 |
position: absolute; |
| 564 |
width: calc(100% - 60px); |
| 565 |
height: 1px; |
| 566 |
top: 0; |
| 567 |
left: 50%; |
| 568 |
-webkit-transform: translateX(-50%); |
| 569 |
transform: translateX(-50%); |
| 570 |
background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 571 |
opacity: 0.1; |
| 572 |
} |
| 573 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupon input { |
| 574 |
-webkit-box-flex: 1; |
| 575 |
-ms-flex: 1; |
| 576 |
flex: 1; |
| 577 |
height: 50px; |
| 578 |
padding: 10px; |
| 579 |
} |
| 580 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupon button { |
| 581 |
padding: 3px 10px; |
| 582 |
line-height: 1.4; |
| 583 |
white-space: nowrap; |
| 584 |
} |
| 585 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupon .overlay { |
| 586 |
position: absolute; |
| 587 |
top: 0; |
| 588 |
left: 0; |
| 589 |
right: 0; |
| 590 |
bottom: 0; |
| 591 |
background-color: rgba(0, 0, 0, 0.2); |
| 592 |
z-index: 1; |
| 593 |
-webkit-animation: shining 3s infinite; |
| 594 |
animation: shining 3s infinite; |
| 595 |
visibility: hidden; |
| 596 |
pointer-events: none; |
| 597 |
} |
| 598 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupon.loading .overlay { |
| 599 |
visibility: visible; |
| 600 |
pointer-events: auto; |
| 601 |
} |
| 602 |
.merchant-side-cart-widget .woocommerce-mini-cart__cart_total { |
| 603 |
position: relative; |
| 604 |
margin: 0; |
| 605 |
padding: 20px 30px; |
| 606 |
display: -webkit-box; |
| 607 |
display: -ms-flexbox; |
| 608 |
display: flex; |
| 609 |
-webkit-box-pack: justify; |
| 610 |
-ms-flex-pack: justify; |
| 611 |
justify-content: space-between; |
| 612 |
line-height: 1em; |
| 613 |
border: none; |
| 614 |
background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 615 |
color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 616 |
} |
| 617 |
.merchant-side-cart-widget .woocommerce-mini-cart__cart_total:before { |
| 618 |
content: ""; |
| 619 |
position: absolute; |
| 620 |
width: calc(100% - 60px); |
| 621 |
height: 1px; |
| 622 |
top: 0; |
| 623 |
left: 50%; |
| 624 |
-webkit-transform: translateX(-50%); |
| 625 |
transform: translateX(-50%); |
| 626 |
background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 627 |
opacity: 0.1; |
| 628 |
} |
| 629 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupons { |
| 630 |
position: relative; |
| 631 |
margin: 0; |
| 632 |
padding: 20px 30px; |
| 633 |
display: -webkit-box; |
| 634 |
display: -ms-flexbox; |
| 635 |
display: flex; |
| 636 |
-webkit-box-pack: justify; |
| 637 |
-ms-flex-pack: justify; |
| 638 |
justify-content: space-between; |
| 639 |
background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 640 |
color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 641 |
} |
| 642 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupons:before { |
| 643 |
content: ""; |
| 644 |
position: absolute; |
| 645 |
width: calc(100% - 60px); |
| 646 |
height: 1px; |
| 647 |
top: 0; |
| 648 |
left: 50%; |
| 649 |
-webkit-transform: translateX(-50%); |
| 650 |
transform: translateX(-50%); |
| 651 |
background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 652 |
opacity: 0.1; |
| 653 |
} |
| 654 |
.merchant-side-cart-widget .woocommerce-mini-cart__coupons a { |
| 655 |
color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 656 |
} |
| 657 |
|
| 658 |
@-webkit-keyframes shining { |
| 659 |
0% { |
| 660 |
background-color: rgba(0, 0, 0, 0.2); |
| 661 |
} |
| 662 |
50% { |
| 663 |
background-color: rgba(0, 0, 0, 0.3); |
| 664 |
} |
| 665 |
100% { |
| 666 |
background-color: rgba(0, 0, 0, 0.2); |
| 667 |
} |
| 668 |
} |
| 669 |
|
| 670 |
@keyframes shining { |
| 671 |
0% { |
| 672 |
background-color: rgba(0, 0, 0, 0.2); |
| 673 |
} |
| 674 |
50% { |
| 675 |
background-color: rgba(0, 0, 0, 0.3); |
| 676 |
} |
| 677 |
100% { |
| 678 |
background-color: rgba(0, 0, 0, 0.2); |
| 679 |
} |
| 680 |
} |
| 681 |
.rtl .merchant-side-cart-widget .product_list_widget li a.remove { |
| 682 |
left: unset; |
| 683 |
right: -8px; |
| 684 |
} |
| 685 |
|
| 686 |
.merchant-side-cart-widget-title { |
| 687 |
font-size: 22px; |
| 688 |
line-height: 33px; |
| 689 |
padding: 13px 35px; |
| 690 |
margin: 0; |
| 691 |
height: 58px; |
| 692 |
color: var(--mrc-fmci-side-cart-title-color, #212121); |
| 693 |
background-color: var(--mrc-fmci-side-cart-title-background-color, #cccccc); |
| 694 |
} |
| 695 |
|
| 696 |
.merchant-side-cart-widget > .widget_shopping_cart_content, |
| 697 |
.merchant-side-cart-widget > .merchant_widget_shopping_cart_content { |
| 698 |
height: calc(100% - 58px); |
| 699 |
display: -webkit-box; |
| 700 |
display: -ms-flexbox; |
| 701 |
display: flex; |
| 702 |
-webkit-box-orient: vertical; |
| 703 |
-webkit-box-direction: normal; |
| 704 |
-ms-flex-direction: column; |
| 705 |
flex-direction: column; |
| 706 |
} |
| 707 |
|
| 708 |
.merchant-side-cart-close-button { |
| 709 |
position: absolute; |
| 710 |
z-index: 10; |
| 711 |
top: 20px; |
| 712 |
right: 30px; |
| 713 |
font-size: 16px; |
| 714 |
display: -webkit-box; |
| 715 |
display: -ms-flexbox; |
| 716 |
display: flex; |
| 717 |
} |
| 718 |
.merchant-side-cart-close-button svg { |
| 719 |
width: 16px; |
| 720 |
height: 16px; |
| 721 |
fill: var(--mrc-fmci-side-cart-title-icon-color, #212121); |
| 722 |
} |
| 723 |
.merchant-side-cart-close-button svg path { |
| 724 |
-webkit-transform: scale(0.75); |
| 725 |
transform: scale(0.75); |
| 726 |
} |
| 727 |
|
| 728 |
.merchant-side-cart-show { |
| 729 |
overflow: hidden; |
| 730 |
} |
| 731 |
.merchant-side-cart-show .merchant-side-cart-overlay { |
| 732 |
opacity: 0.5; |
| 733 |
visibility: visible; |
| 734 |
pointer-events: auto; |
| 735 |
} |
| 736 |
.merchant-side-cart-show .merchant-side-cart { |
| 737 |
-webkit-transform: none; |
| 738 |
transform: none; |
| 739 |
} |
| 740 |
|
| 741 |
.merchant-mini-cart-upsell-wrap .component-title { |
| 742 |
font-size: 18px; |
| 743 |
text-align: center; |
| 744 |
margin-top: 0; |
| 745 |
font-weight: 700; |
| 746 |
margin-block: 0 15px; |
| 747 |
} |
| 748 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap { |
| 749 |
margin-bottom: 30px; |
| 750 |
} |
| 751 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap:last-child { |
| 752 |
margin-bottom: 0; |
| 753 |
} |
| 754 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container { |
| 755 |
display: -webkit-box; |
| 756 |
display: -ms-flexbox; |
| 757 |
display: flex; |
| 758 |
-webkit-box-pack: justify; |
| 759 |
-ms-flex-pack: justify; |
| 760 |
justify-content: space-between; |
| 761 |
-webkit-box-align: center; |
| 762 |
-ms-flex-align: center; |
| 763 |
align-items: center; |
| 764 |
gap: 15px; |
| 765 |
} |
| 766 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column { |
| 767 |
-webkit-box-flex: 1; |
| 768 |
-ms-flex: 1; |
| 769 |
flex: 1; |
| 770 |
} |
| 771 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column-left { |
| 772 |
text-align: left; |
| 773 |
} |
| 774 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column-middle { |
| 775 |
-webkit-box-flex: 2; |
| 776 |
-ms-flex: 2; |
| 777 |
flex: 2; |
| 778 |
margin: 0 auto; |
| 779 |
} |
| 780 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column-right { |
| 781 |
text-align: right; |
| 782 |
} |
| 783 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-price { |
| 784 |
font-size: 14px; |
| 785 |
font-weight: 600; |
| 786 |
} |
| 787 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .add-to-cart-wrap .rebuy-button { |
| 788 |
padding: 2px 12px; |
| 789 |
} |
| 790 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-variations { |
| 791 |
margin-top: 10px; |
| 792 |
position: relative; |
| 793 |
} |
| 794 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-variations .product-attribute { |
| 795 |
margin-bottom: 10px; |
| 796 |
} |
| 797 |
.merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-variations .product-attribute .variation-selector { |
| 798 |
padding: 5px 10px; |
| 799 |
min-height: 20px; |
| 800 |
font-size: 13px; |
| 801 |
} |
| 802 |
.merchant-mini-cart-upsell-wrap .slick-arrow { |
| 803 |
position: absolute; |
| 804 |
top: 20px; |
| 805 |
border: none; |
| 806 |
opacity: 0.3; |
| 807 |
-webkit-transition: 300ms; |
| 808 |
transition: 300ms; |
| 809 |
background-image: url(../../../images/arrow-2.svg); |
| 810 |
background-position: center; |
| 811 |
background-size: 40px; |
| 812 |
padding: 5px; |
| 813 |
border-radius: 50%; |
| 814 |
width: 25px; |
| 815 |
height: 25px; |
| 816 |
font-size: 0; |
| 817 |
} |
| 818 |
.merchant-mini-cart-upsell-wrap .slick-arrow:hover { |
| 819 |
opacity: 1; |
| 820 |
} |
| 821 |
@media (max-width: 768px) { |
| 822 |
.merchant-mini-cart-upsell-wrap .slick-arrow { |
| 823 |
opacity: 1; |
| 824 |
} |
| 825 |
} |
| 826 |
.merchant-mini-cart-upsell-wrap .slick-arrow.slick-prev { |
| 827 |
left: -30px; |
| 828 |
-webkit-transform: rotate(270deg); |
| 829 |
transform: rotate(270deg); |
| 830 |
} |
| 831 |
.merchant-mini-cart-upsell-wrap .slick-arrow.slick-next { |
| 832 |
right: -30px; |
| 833 |
-webkit-transform: rotate(90deg); |
| 834 |
transform: rotate(90deg); |
| 835 |
} |
| 836 |
|
| 837 |
.merchant-upsell-widget { |
| 838 |
display: none !important; |
| 839 |
} |
| 840 |
|
| 841 |
.merchant-side-cart-body .merchant-upsell-widget { |
| 842 |
display: block !important; |
| 843 |
} |
| 844 |
|
| 845 |
.rtl .merchant-side-cart .merchant-side-cart-close-button { |
| 846 |
left: 30px; |
| 847 |
right: auto; |
| 848 |
} |
| 849 |
.rtl .merchant-side-cart .woocommerce-mini-cart-item img { |
| 850 |
margin-left: 8px; |
| 851 |
margin-right: unset; |
| 852 |
} |
| 853 |
.rtl .merchant-side-cart li > a:not(.remove) { |
| 854 |
margin-right: unset; |
| 855 |
margin-left: 20px; |
| 856 |
} |