/*!
 * animate.css -http://daneden.me/animate
 * Version - 3.5.1
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2016 Daniel Eden
 */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both; }

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite; }

.animated.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s; }

.animated.flipOutX,
.animated.flipOutY,
.animated.bounceIn,
.animated.bounceOut {
  -webkit-animation-duration: .75s;
  animation-duration: .75s; }

@-webkit-keyframes bounce {
  from, 20%, 53%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  40%, 43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0); }
  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0); }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0); } }
@keyframes bounce {
  from, 20%, 53%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  40%, 43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0); }
  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0); }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0); } }
.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom; }

@-webkit-keyframes flash {
  from, 50%, to {
    opacity: 1; }
  25%, 75% {
    opacity: 0; } }
@keyframes flash {
  from, 50%, to {
    opacity: 1; }
  25%, 75% {
    opacity: 0; } }
.flash {
  -webkit-animation-name: flash;
  animation-name: flash; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 1.15, 1.15);
    transform: scale3d(1.15, 1.15, 1.15); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse; }

@-webkit-keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1); }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1); }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1); }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1); }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1); }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1); }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1); }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.rubberBand {
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand; }

@-webkit-keyframes shake {
  from, to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); } }
@keyframes shake {
  from, to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); } }
.shake {
  -webkit-animation-name: shake;
  animation-name: shake; }

@-webkit-keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0); }
  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg); }
  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg); }
  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg); }
  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg); }
  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0); } }
@keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0); }
  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg); }
  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg); }
  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg); }
  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg); }
  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0); } }
.headShake {
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-name: headShake;
  animation-name: headShake; }

@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg); }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg); }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg); }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg); }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg); } }
@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg); }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg); }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg); }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg); }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg); } }
.swing {
  -webkit-transform-origin: top center;
  transform-origin: top center;
  -webkit-animation-name: swing;
  animation-name: swing; }

@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  10%, 20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); }
  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); }
  10%, 20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); }
  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.tada {
  -webkit-animation-name: tada;
  animation-name: tada; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes wobble {
  from {
    -webkit-transform: none;
    transform: none; }
  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); }
  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); }
  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); }
  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); }
  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes wobble {
  from {
    -webkit-transform: none;
    transform: none; }
  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); }
  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); }
  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); }
  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); }
  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); }
  to {
    -webkit-transform: none;
    transform: none; } }
.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble; }

@-webkit-keyframes jello {
  from, 11.1%, to {
    -webkit-transform: none;
    transform: none; }
  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg); }
  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg); }
  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg); }
  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg); }
  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg); }
  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg); }
  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg); } }
@keyframes jello {
  from, 11.1%, to {
    -webkit-transform: none;
    transform: none; }
  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg); }
  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg); }
  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg); }
  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg); }
  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg); }
  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg); }
  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg); } }
.jello {
  -webkit-animation-name: jello;
  animation-name: jello;
  -webkit-transform-origin: center;
  transform-origin: center; }

@-webkit-keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03); }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97); }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03); }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97); }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1); } }
.bounceIn {
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn; }

@-webkit-keyframes bounceInDown {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0); }
  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes bounceInDown {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0); }
  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown; }

@-webkit-keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
.bounceInLeft {
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft; }

@-webkit-keyframes bounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
@keyframes bounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0); }
  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0); }
  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0); }
  to {
    -webkit-transform: none;
    transform: none; } }
.bounceInRight {
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight; }

@-webkit-keyframes bounceInUp {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0); }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes bounceInUp {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0); }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0); }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp; }

@-webkit-keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  50%, 55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); } }
@keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9); }
  50%, 55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); } }
.bounceOut {
  -webkit-animation-name: bounceOut;
  animation-name: bounceOut; }

@-webkit-keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
@keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
.bounceOutDown {
  -webkit-animation-name: bounceOutDown;
  animation-name: bounceOutDown; }

@-webkit-keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
@keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
.bounceOutLeft {
  -webkit-animation-name: bounceOutLeft;
  animation-name: bounceOutLeft; }

@-webkit-keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
@keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
.bounceOutRight {
  -webkit-animation-name: bounceOutRight;
  animation-name: bounceOutRight; }

@-webkit-keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
@keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0); }
  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0); }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
.bounceOutUp {
  -webkit-animation-name: bounceOutUp;
  animation-name: bounceOutUp; }

@-webkit-keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn; }

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -150%, 0);
    transform: translate3d(0, -150%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -150%, 0);
    transform: translate3d(0, -150%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown; }

@-webkit-keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInDownBig {
  -webkit-animation-name: fadeInDownBig;
  animation-name: fadeInDownBig; }

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-10%, 0, 0);
    transform: translate3d(-10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-10%, 0, 0);
    transform: translate3d(-10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft; }

@-webkit-keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInLeftBig {
  -webkit-animation-name: fadeInLeftBig;
  animation-name: fadeInLeftBig; }

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(10%, 0, 0);
    transform: translate3d(10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(10%, 0, 0);
    transform: translate3d(10%, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight; }

@-webkit-keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInRightBig {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig; }

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 150%, 0);
    transform: translate3d(0, 150%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 150%, 0);
    transform: translate3d(0, 150%, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp; }

@-webkit-keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.fadeInUpBig {
  -webkit-animation-name: fadeInUpBig;
  animation-name: fadeInUpBig; }

@-webkit-keyframes fadeOut {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }
@keyframes fadeOut {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }
.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut; }

@-webkit-keyframes fadeOutDown {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
@keyframes fadeOutDown {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
.fadeOutDown {
  -webkit-animation-name: fadeOutDown;
  animation-name: fadeOutDown; }

@-webkit-keyframes fadeOutDownBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
@keyframes fadeOutDownBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0); } }
.fadeOutDownBig {
  -webkit-animation-name: fadeOutDownBig;
  animation-name: fadeOutDownBig; }

@-webkit-keyframes fadeOutLeft {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
@keyframes fadeOutLeft {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft; }

@-webkit-keyframes fadeOutLeftBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
@keyframes fadeOutLeftBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0); } }
.fadeOutLeftBig {
  -webkit-animation-name: fadeOutLeftBig;
  animation-name: fadeOutLeftBig; }

@-webkit-keyframes fadeOutRight {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
@keyframes fadeOutRight {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight; }

@-webkit-keyframes fadeOutRightBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
@keyframes fadeOutRightBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0); } }
.fadeOutRightBig {
  -webkit-animation-name: fadeOutRightBig;
  animation-name: fadeOutRightBig; }

@-webkit-keyframes fadeOutUp {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
@keyframes fadeOutUp {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
.fadeOutUp {
  -webkit-animation-name: fadeOutUp;
  animation-name: fadeOutUp; }

@-webkit-keyframes fadeOutUpBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
@keyframes fadeOutUpBig {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0); } }
.fadeOutUpBig {
  -webkit-animation-name: fadeOutUpBig;
  animation-name: fadeOutUpBig; }

@-webkit-keyframes flip {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; } }
@keyframes flip {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out; }
  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; } }
.animated.flip {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-animation-name: flip;
  animation-name: flip; }

@-webkit-keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
@keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX; }

@-webkit-keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
@keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0; }
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in; }
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1; }
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg); }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); } }
.flipInY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY; }

@-webkit-keyframes flipOutX {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0; } }
@keyframes flipOutX {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0; } }
.flipOutX {
  -webkit-animation-name: flipOutX;
  animation-name: flipOutX;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important; }

@-webkit-keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0; } }
@keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px); }
  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1; }
  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0; } }
.flipOutY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipOutY;
  animation-name: flipOutY; }

@-webkit-keyframes lightSpeedIn {
  from {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0; }
  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1; }
  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1; }
  to {
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes lightSpeedIn {
  from {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0; }
  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1; }
  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1; }
  to {
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.lightSpeedIn {
  -webkit-animation-name: lightSpeedIn;
  animation-name: lightSpeedIn;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out; }

@-webkit-keyframes lightSpeedOut {
  from {
    opacity: 1; }
  to {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0; } }
@keyframes lightSpeedOut {
  from {
    opacity: 1; }
  to {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0; } }
.lightSpeedOut {
  -webkit-animation-name: lightSpeedOut;
  animation-name: lightSpeedOut;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in; }

@-webkit-keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn; }

@-webkit-keyframes rotateInDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInDownLeft {
  -webkit-animation-name: rotateInDownLeft;
  animation-name: rotateInDownLeft; }

@-webkit-keyframes rotateInDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInDownRight {
  -webkit-animation-name: rotateInDownRight;
  animation-name: rotateInDownRight; }

@-webkit-keyframes rotateInUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInUpLeft {
  -webkit-animation-name: rotateInUpLeft;
  animation-name: rotateInUpLeft; }

@-webkit-keyframes rotateInUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
@keyframes rotateInUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1; } }
.rotateInUpRight {
  -webkit-animation-name: rotateInUpRight;
  animation-name: rotateInUpRight; }

@-webkit-keyframes rotateOut {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0; } }
@keyframes rotateOut {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1; }
  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0; } }
.rotateOut {
  -webkit-animation-name: rotateOut;
  animation-name: rotateOut; }

@-webkit-keyframes rotateOutDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; } }
@keyframes rotateOutDownLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0; } }
.rotateOutDownLeft {
  -webkit-animation-name: rotateOutDownLeft;
  animation-name: rotateOutDownLeft; }

@-webkit-keyframes rotateOutDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
@keyframes rotateOutDownRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
.rotateOutDownRight {
  -webkit-animation-name: rotateOutDownRight;
  animation-name: rotateOutDownRight; }

@-webkit-keyframes rotateOutUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
@keyframes rotateOutUpLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0; } }
.rotateOutUpLeft {
  -webkit-animation-name: rotateOutUpLeft;
  animation-name: rotateOutUpLeft; }

@-webkit-keyframes rotateOutUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0; } }
@keyframes rotateOutUpRight {
  from {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1; }
  to {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0; } }
.rotateOutUpRight {
  -webkit-animation-name: rotateOutUpRight;
  animation-name: rotateOutUpRight; }

@-webkit-keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  20%, 60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  40%, 80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1; }
  to {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0; } }
@keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  20%, 60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out; }
  40%, 80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1; }
  to {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0; } }
.hinge {
  -webkit-animation-name: hinge;
  animation-name: hinge; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes rollIn {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
@keyframes rollIn {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none; } }
.rollIn {
  -webkit-animation-name: rollIn;
  animation-name: rollIn; }

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes rollOut {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); } }
@keyframes rollOut {
  from {
    opacity: 1; }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); } }
.rollOut {
  -webkit-animation-name: rollOut;
  animation-name: rollOut; }

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  50% {
    opacity: 1; } }
@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  50% {
    opacity: 1; } }
.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn; }

@-webkit-keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInDown {
  -webkit-animation-name: zoomInDown;
  animation-name: zoomInDown; }

@-webkit-keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInLeft {
  -webkit-animation-name: zoomInLeft;
  animation-name: zoomInLeft; }

@-webkit-keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInRight {
  -webkit-animation-name: zoomInRight;
  animation-name: zoomInRight; }

@-webkit-keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp; }

@-webkit-keyframes zoomOut {
  from {
    opacity: 1; }
  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  to {
    opacity: 0; } }
@keyframes zoomOut {
  from {
    opacity: 1; }
  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3); }
  to {
    opacity: 0; } }
.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut; }

@-webkit-keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomOutDown {
  -webkit-animation-name: zoomOutDown;
  animation-name: zoomOutDown; }

@-webkit-keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center; } }
@keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center; } }
.zoomOutLeft {
  -webkit-animation-name: zoomOutLeft;
  animation-name: zoomOutLeft; }

@-webkit-keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center; } }
@keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); }
  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center; } }
.zoomOutRight {
  -webkit-animation-name: zoomOutRight;
  animation-name: zoomOutRight; }

@-webkit-keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
@keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); } }
.zoomOutUp {
  -webkit-animation-name: zoomOutUp;
  animation-name: zoomOutUp; }

@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown; }

@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft; }

@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight; }

@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible; }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }
.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp; }

@-webkit-keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
@keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0); } }
.slideOutDown {
  -webkit-animation-name: slideOutDown;
  animation-name: slideOutDown; }

@-webkit-keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
@keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0); } }
.slideOutLeft {
  -webkit-animation-name: slideOutLeft;
  animation-name: slideOutLeft; }

@-webkit-keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
@keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0); } }
.slideOutRight {
  -webkit-animation-name: slideOutRight;
  animation-name: slideOutRight; }

@-webkit-keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
@keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0); } }
.slideOutUp {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp; }

/**/
@-webkit-keyframes blurFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.3); }
  50% {
    opacity: 0.5; }
  100% {
    opacity: 1;
    transform: scale(1); } }
@keyframes blurFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.3); }
  50% {
    opacity: 0.5; }
  100% {
    opacity: 1;
    transform: scale(1); } }
.blurFadeIn {
  -webkit-animation-name: blurFadeIn;
  animation-name: blurFadeIn; }

@-webkit-keyframes blurFadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px); }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0); } }
@keyframes blurFadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px); }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0); } }
.blurFadeInDown {
  -webkit-animation-name: blurFadeInDown;
  animation-name: blurFadeInDown; }

@-webkit-keyframes passing {
  0% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; } }
@keyframes passing {
  0% {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; } }
@-webkit-keyframes passing-reverse {
  0% {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; } }
@keyframes passing-reverse {
  0% {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0; }
  50% {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1; }
  100% {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0; } }
@keyframes jackInTheBox {
  from {
    opacity: 0;
    transform: scale(0.1) rotate(30deg);
    transform-origin: center bottom; }
  50% {
    transform: rotate(-10deg); }
  70% {
    transform: rotate(3deg); }
  to {
    opacity: 1;
    transform: scale(1); } }
.jackInTheBox {
  animation-name: jackInTheBox; }

.contact-display-1-row .title-contact{
  display: inline;
}

/* ========================================================================== */
/* MOBILE: RESPONSIVIDADE FINAL                                                */
/* Mantido no fim do ficheiro para prevalecer sobre as regras legadas.        */
/* ========================================================================== */

img {
  max-width: 100%;
}

/* As imagens do ERP podem ter proporções diferentes; nunca são recortadas. */
.js-product-miniature .thumbnail.product-thumbnail,
.js-product-miniature .img_block,
#product .product-cover,
#product .product-cover .slick-list,
#product .product-cover .slick-slide {
  min-width: 0;
}

.js-product-miniature .thumbnail.product-thumbnail img,
.js-product-miniature .img_block img,
#product .product-cover img,
#blockcart-modal .product-image {
  object-fit: contain !important;
  object-position: center !important;
}

/* Texto legal/checkbox: reserva uma coluna própria para o visto. */
#footer .custom-checkbox > label,
.block_newsletter .custom-checkbox > label,
.page-registration .custom-checkbox > label,
body#checkout .custom-checkbox > label {
  display: grid !important;
  width: 100%;
  height: auto !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  white-space: normal;
}

#footer .custom-checkbox > label > input,
.block_newsletter .custom-checkbox > label > input,
.page-registration .custom-checkbox > label > input,
body#checkout .custom-checkbox > label > input {
  position: absolute;
}

#footer .custom-checkbox > label > input + span,
.block_newsletter .custom-checkbox > label > input + span,
.page-registration .custom-checkbox > label > input + span,
body#checkout .custom-checkbox > label > input + span {
  position: relative !important;
  margin: 1px 0 0 !important;
  grid-column: 1;
}

#footer .custom-checkbox > label > span:last-child,
.block_newsletter .custom-checkbox > label > span:last-child,
.page-registration .custom-checkbox > label > .checkbox-copy,
body#checkout .custom-checkbox > label > .checkbox-copy {
  min-width: 0;
  grid-column: 2;
  overflow-wrap: anywhere;
}

/* A ficha de artigo deve crescer com o título e a descrição. */
#product .namne_details,
#product h1.h1,
#product .product-information,
#product .product-information .product-description,
#product .product-information .product-description.vestia-product-description-preview {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  html,
  body,
  #page,
  #wrapper,
  #content-wrapper,
  #main {
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
  }

  /* Cartões principais "Máquinas" e "Motosserras". */
  #index .elementor-element-5yypa1g,
  #index .elementor-element-kwpxc5q {
    width: 100% !important;
    padding: 0 10px !important;
  }

  #index .elementor-element-5yypa1g > .elementor-column-wrap,
  #index .elementor-element-kwpxc5q > .elementor-column-wrap {
    width: 100%;
    min-height: 220px;
    padding: clamp(24px, 8vw, 36px) !important;
    overflow: hidden !important;
    border-radius: 12px;
    background-position: center !important;
    background-size: cover !important;
  }

  #index .elementor-element-5yypa1g .elementor-heading-title,
  #index .elementor-element-kwpxc5q .elementor-heading-title {
    height: auto !important;
    max-width: 15ch;
    margin: 0;
    overflow: visible;
    font-size: clamp(25px, 8vw, 32px) !important;
    line-height: 1.08 !important;
    overflow-wrap: normal;
  }

  /* Grelha de artigos previsível, sem larguras Bootstrap concorrentes. */
  #category #js-product-list .product_content.grid,
  #search #js-product-list .product_content.grid,
  #manufacturer #js-product-list .product_content.grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #category #js-product-list .product_content.grid > .item-product,
  #search #js-product-list .product_content.grid > .item-product,
  #manufacturer #js-product-list .product_content.grid > .item-product {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  #category #js-product-list .js-product-miniature,
  #search #js-product-list .js-product-miniature,
  #manufacturer #js-product-list .js-product-miniature {
    width: 100%;
    min-width: 0;
  }

  #category #js-product-list .js-product-miniature .thumbnail.product-thumbnail,
  #search #js-product-list .js-product-miniature .thumbnail.product-thumbnail,
  #manufacturer #js-product-list .js-product-miniature .thumbnail.product-thumbnail {
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
  }

  #category #js-product-list .js-product-miniature .product_desc,
  #search #js-product-list .js-product-miniature .product_desc,
  #manufacturer #js-product-list .js-product-miniature .product_desc {
    height: auto !important;
    min-height: 180px !important;
    flex: 1 1 auto !important;
  }

  #category #js-product-list .js-product-miniature .product_desc h3,
  #search #js-product-list .js-product-miniature .product_desc h3,
  #manufacturer #js-product-list .js-product-miniature .product_desc h3,
  #category #js-product-list .js-product-miniature .product_name,
  #search #js-product-list .js-product-miniature .product_name,
  #manufacturer #js-product-list .js-product-miniature .product_name {
    min-height: 54px;
  }

  #category #js-product-list .js-product-miniature .product_name,
  #search #js-product-list .js-product-miniature .product_name,
  #manufacturer #js-product-list .js-product-miniature .product_name {
    -webkit-line-clamp: 3;
  }

  #product .breadcrumb ol {
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }

  #product .product-cover img {
    width: 100% !important;
    height: auto !important;
    max-height: min(72vh, 520px);
    aspect-ratio: 1 / 1;
  }

  #blockcart-modal .cart-content p {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 339px) {
  #category #js-product-list .product_content.grid,
  #search #js-product-list .product_content.grid,
  #manufacturer #js-product-list .product_content.grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ========================================================================== */
/* RITMO VERTICAL MOBILE — não altera tablet horizontal nem desktop.          */
/* ========================================================================== */
@media (max-width: 767px) {
  /* Homepage: remove os paddings de desktop que criavam espaços mortos. */
  #index .elementor-element-dcqyfiz {
    padding-top: 48px !important;
  }

  #index .elementor-element-itc0vdc {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }

  #index .elementor-element-oxhsvxo {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #index .elementor-element-ljxvbjr {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Rodapé mobile: mantém separação sem um vazio de 70–138 px. */
  body:not(#index) #footer {
    margin-top: 36px !important;
  }

  #footer .elementor-element-vokccpn {
    padding-top: 40px !important;
    padding-bottom: 64px !important;
  }

  #footer .elementor-element-iuihilv {
    padding-bottom: 24px !important;
  }

  /* Margens finais das páginas internas. */
  #cms .page-cms {
    margin-bottom: 28px !important;
  }

  .vestia-contact-page {
    margin-bottom: 28px !important;
  }

  #product #main > .product-container.product-layout1 {
    margin-bottom: 40px !important;
  }

  #category #content-wrapper {
    padding-bottom: 36px !important;
  }

  /* Grelha compacta, mantendo três linhas para títulos longos. */
  #category #js-product-list .js-product-miniature .product_desc,
  #search #js-product-list .js-product-miniature .product_desc,
  #manufacturer #js-product-list .js-product-miniature .product_desc {
    min-height: 164px !important;
  }

  /* Um pouco mais de ar entre contactos, sem alongar todo o cartão. */
  .vestia-contact-data li {
    margin-bottom: 8px;
  }
}

/* QUEM SOMOS: conteúdo editorial e chamadas para ação. */
#cms .page-cms-4 .vestia-about-content {
  max-width: 920px;
  margin: 0 auto;
}

#cms .page-cms-4 .vestia-about-content .page-subheading {
  position: relative;
  margin: 0 0 30px;
  padding-bottom: 17px;
  color: var(--vestia-dark);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

#cms .page-cms-4 .vestia-about-content .page-subheading::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 62px;
  height: 4px;
  border-radius: 2px;
  background: var(--vestia-green);
  content: "";
}

#cms .page-cms-4 .vestia-about-content p {
  margin: 0 0 20px;
  color: #4f5551;
  font-size: 16px;
  line-height: 1.8;
}

#cms .page-cms-4 .vestia-about-actions {
  display: flex;
  margin-top: 32px;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

#cms .page-cms-4 .vestia-about-actions .vestia-about-button {
  display: inline-flex;
  min-height: 48px;
  margin: 0;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

#cms .page-cms-4 .vestia-about-actions .vestia-about-button i {
  font-size: 19px;
}

#cms .page-cms-4 .vestia-about-actions .vestia-about-button-primary {
  border-color: var(--vestia-green);
  background: var(--vestia-green);
  color: #fff;
}

#cms .page-cms-4 .vestia-about-actions .vestia-about-button-primary:hover,
#cms .page-cms-4 .vestia-about-actions .vestia-about-button-primary:focus {
  border-color: var(--vestia-dark);
  background: var(--vestia-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

#cms .page-cms-4 .vestia-about-actions .vestia-about-button-secondary {
  border-color: var(--vestia-dark);
  background: #fff;
  color: var(--vestia-dark);
}

#cms .page-cms-4 .vestia-about-actions .vestia-about-button-secondary:hover,
#cms .page-cms-4 .vestia-about-actions .vestia-about-button-secondary:focus {
  border-color: var(--vestia-dark);
  background: var(--vestia-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 575px) {
  #cms .page-cms-4 .vestia-about-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  #cms .page-cms-4 .vestia-about-actions {
    margin-top: 28px;
    flex-direction: column;
  }

  #cms .page-cms-4 .vestia-about-actions .vestia-about-button {
    width: 100%;
  }
}
@media (max-width: 1600px) and (min-width: 1024px){
  .banner-left{
    max-width: 52%;
  }
  .banner-right{
    max-width: 46%;
  }
}
.med-bestsale .product-miniature{
  border-bottom: none;
  border-left: none;
  border-right: none;
  padding-left: 0;
  padding-right: 0;
  margin: 0 20px !important;
}
.med-bestsale .product-miniature:hover{
  border-color: #ebebeb;
}
.med-bestsale .pos-product-widget .slick-arrow{
  top: -2.957rem !important;
}
.med-bestsale .pos-product-widget .slick-next{
  right: 1rem !important;
}
.med-bestsale .pos-product-widget .slick-prev{
  right: 3.5rem !important;
}
.toy-bestsale .product-miniature{
  border-bottom: none;
  border-left: none;
  border-right: none;
  padding-left: 0;
  padding-right: 0;
  margin: 0 20px;
  border-radius:0;
}
.toy-bestsale .product-miniature:hover{
  border-color: #ebebeb;
}
.toy-bestsale .pos-product-widget .slick-slide > *:not(:last-child) {
    margin-bottom: 0;
}
.toy-bestsale .pos-product-widget .slick-next{
  right: 1rem !important;
}
.toy-bestsale .pos-product-widget .slick-prev{
  right: 3.5rem !important;
}
/*# sourceMappingURL=animate.css.map */

.list-bigger-image .style_product_list .img_block{
  max-width: 170px;
}

.has-section-inner .elementor-widget-wrap{
  display: block !important;
}
.elementor-widget-wrap > section{
  width: 100% !important;
}
.elementor-editor-active .elementor.elementor-edit-mode .elementor-top-column .elementor-widget-wrap .elementor-inner-section{
  margin-top: 0;
}

/* ========================================================================== */
/* VESTIA SANTOS - PROPOSTA GRAFICA                                           */
/* Alteracoes mantidas no custom.css para instalacao direta no servidor.      */
/* ========================================================================== */

:root {
  --vestia-green: #69c11f;
  --vestia-dark: #153017;
  --vestia-ink: #232323;
  --vestia-copy: #646464;
  --vestia-muted: #a7a7a7;
  --vestia-bg: #f5f5f5;
  --hovercolor: #69c11f;
}

body {
  background: var(--vestia-bg);
  color: var(--vestia-copy);
  font-family: Montserrat, Arial, sans-serif;
}

a:hover,
a:focus {
  color: var(--vestia-green);
}

.btn-primary,
.btn-default {
  border-color: var(--vestia-green);
  background: var(--vestia-green);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-default:hover,
.btn-default:focus {
  border-color: var(--vestia-dark);
  background: var(--vestia-dark);
  color: #fff;
}

#wrapper,
#content-wrapper,
#main {
  background: var(--vestia-bg);
}

.container,
.elementor-container {
  max-width: 1440px;
}

.breadcrumb,
#wrapper .breadcrumb {
  margin-bottom: 28px;
  background: transparent;
  color: var(--vestia-muted);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--vestia-muted);
}

/* Cartoes de produto: homepage, categoria e produtos relacionados. */
.js-product-miniature,
.js-product-miniature.style_product1,
#js-product-list .product_content.grid .js-product-miniature {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
  transition: box-shadow .18s ease, transform .18s ease;
}

.js-product-miniature:hover,
.js-product-miniature.style_product1:hover {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(21, 48, 23, .12);
  transform: translateY(-2px);
}

.js-product-miniature .img_block,
.js-product-miniature.style_product1 .img_block {
  flex: 0 0 auto;
  overflow: hidden;
  padding: 12px 12px 0;
  background: #fff;
  text-align: center;
}

.js-product-miniature .thumbnail.product-thumbnail {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.js-product-miniature .img_block img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.js-product-miniature .product-flag {
  top: 19px;
  left: 19px;
  margin: 0;
}

.js-product-miniature .product-flag li {
  margin: 0 0 5px;
}

.js-product-miniature .product-flag .new,
.js-product-miniature .product-flag .out_of_stock,
.js-product-miniature .product-flag .on-sale,
.js-product-miniature .product-flag .pack {
  min-height: 25px;
  height: auto;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--vestia-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
}

.js-product-miniature .product-flag .out_of_stock {
  background: var(--vestia-dark);
}

.js-product-miniature .product_desc {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 150px;
  overflow: visible;
  padding: 9px 16px 17px;
  background: #fff;
}

.js-product-miniature .inner_desc {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.js-product-miniature .product_desc .manufacturer a {
  display: block;
  margin: 0 0 5px;
  color: var(--vestia-muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  text-transform: capitalize;
}

.js-product-miniature .product_desc h3 {
  min-height: 40px;
}

.js-product-miniature .product_desc .product_name,
.js-product-miniature .product_desc .product_name.one_line {
  display: -webkit-box;
  min-height: 40px;
  margin: 0 0 5px;
  overflow: hidden;
  color: var(--vestia-copy);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  white-space: normal;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.js-product-miniature .product_desc .product_name:hover,
.js-product-miniature .product_desc .manufacturer a:hover {
  color: var(--vestia-green);
}

.js-product-miniature .product_desc .hook-reviews {
  display: none;
}

.js-product-miniature .product-price-and-shipping {
  min-height: 24px;
  margin: 0 0 9px;
  line-height: 24px;
  letter-spacing: 0;
}

.js-product-miniature .product-price-and-shipping .price {
  color: var(--vestia-green);
  font-size: 18px;
  font-weight: 700;
}

.js-product-miniature .product-price-and-shipping .regular-price {
  color: var(--vestia-muted);
  font-size: 12px;
}

.js-product-miniature .price-on-request-label {
  display: block;
  color: var(--vestia-green);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.js-product-miniature div.cart {
  margin-top: auto;
}

.js-product-miniature div.cart .product-add-to-cart,
.js-product-miniature div.cart form {
  width: 100%;
}

.js-product-miniature div.cart button.ajax_add_to_cart_button,
.js-product-miniature div.cart span.ajax_add_to_cart_button {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 36px;
  margin-right: 0;
  margin-left: 0;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vestia-dark) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: var(--vestia-dark) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-transform: none;
}

.js-product-miniature div.cart button.ajax_add_to_cart_button:hover,
.js-product-miniature div.cart span.ajax_add_to_cart_button:hover {
  border-color: var(--vestia-green) !important;
  background: var(--vestia-green) !important;
  color: #fff !important;
}

.js-product-miniature div.cart button.ajax_add_to_cart_button.disabled,
.js-product-miniature div.cart span.ajax_add_to_cart_button.disabled {
  border-color: #b2b2b2 !important;
  background: #fff !important;
  color: #8a8a8a !important;
  opacity: 1;
}

.js-product-miniature .availability,
.js-product-miniature .product-desc,
.js-product-miniature .variant-links {
  display: none;
}

.js-product-miniature.style_product1 .add-to-links,
.js-product-miniature.style_product3 .add-to-links,
.js-product-miniature.style_product4 .add-to-links {
  top: auto;
  right: 18px;
  bottom: 14px;
  left: auto;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  transform: none;
}

.js-product-miniature .add-to-links li a {
  border-color: #e8e8e8;
  background: #fff;
  color: #292f32;
}

.js-product-miniature .add-to-links li a:hover {
  border-color: var(--vestia-green);
  background: var(--vestia-green);
  color: #fff;
}

.slick-slide .js-product-miniature {
  margin-right: 8px;
  margin-left: 8px;
}

/* Pagina de categoria. */
#category #wrapper,
#category #content-wrapper,
#category #main,
#category #products-list {
  background: var(--vestia-bg);
}

#category #content-wrapper {
  padding-bottom: 70px;
}

#category #left-column,
#category #search_filters_wrapper {
  background: transparent;
}

#category #search_filters {
  margin-bottom: 30px;
  padding: 0 20px 0 0;
  background: transparent;
}

#category #search_filters > .h6,
#category #search_filters_wrapper #search_filters > .h6 {
  margin: 0 0 26px;
  color: var(--vestia-ink);
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  text-transform: none !important;
}

#category #search_filters .facet {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

#category #search_filters_wrapper #search_filters .facet .facet-title {
  width: 100%;
  margin: 0 0 11px;
  padding: 0;
  border: 0;
  color: var(--vestia-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
}

#category #search_filters_wrapper #search_filters .facet .facet-title:before {
  display: none;
}

#category #search_filters .facet ul {
  margin: 0;
}

#category #search_filters .facet .facet-label {
  margin: 0 0 5px;
}

#category #search_filters .facet .facet-label a {
  color: var(--vestia-copy);
  font-size: 13px;
  line-height: 20px;
}

#category #search_filters .facet .facet-label .magnitude {
  color: var(--vestia-muted);
}

#category #search_filters .custom-checkbox input[type=checkbox] + span {
  width: 13px;
  height: 13px;
  border-color: #afb4b6;
  border-radius: 1px;
}

#category #search_filters .custom-checkbox input[type=checkbox]:checked + span {
  border-color: var(--vestia-green);
  background: var(--vestia-green);
}

 #js-product-list-top.products-selection {
  margin: 0 0 20px;
  padding: 0;
  background: transparent !important;
}

#category #js-product-list-top .total-products p,
#category #js-product-list-top .sort-by {
  color: #747474;
  font-size: 13px;
}

#category #js-product-list-top .total-products ul.display {
  margin-right: 12px;
}

#category #js-product-list-top .total-products ul.display li {
  margin-right: 7px;
}

#category #js-product-list-top .sort-by-row .products-sort-order .select-title {
  min-width: 180px;
  padding: 5px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
  color: var(--vestia-copy);
}

#category #js-product-list .product_content.grid {
  margin-right: -8px;
  margin-left: -8px;
}

#category #js-product-list .product_content.grid .item-product {
  width: 25%;
  margin-bottom: 16px;
  padding-right: 8px;
  padding-left: 8px;
}

#category #js-product-list .product_content.grid .js-product-miniature {
  min-height: 100%;
}

#category .block-category {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#category .block-category h2,
#category #js-product-list-header .h1 {
  color: var(--vestia-ink);
  font-size: 25px;
  font-weight: 700;
}

#category .pagination .page-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding-top: 28px;
}

#category .pagination .page-list > li {
  display: block;
  margin: 0;
}

#category .pagination a {
  display: inline-flex;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--vestia-copy);
  font-size: 12px;
  line-height: 30px;
  white-space: nowrap;
}

#category .pagination a.previous,
#category .pagination a.next {
  width: auto;
  padding: 0 9px;
  gap: 3px;
}

#category .pagination a .material-icons {
  font-size: 18px;
  line-height: 1;
}

#category .pagination .current a,
#category .pagination a:hover {
  background: var(--vestia-green);
  color: #fff;
}

/* Pagina de produto. */
#product #wrapper,
#product #content-wrapper,
#product #main {
  background: var(--vestia-bg);
}

#product #main > .product-container {
  margin: 0 -15px 65px;
}

#product .product-container > [class*=col-md-6] {
  padding-right: 15px;
  padding-left: 15px;
}

#product .page-content,
#product .images-container,
#product .product-cover-container,
#product .product-cover {
  background: #fff;
}

#product .images-container {
  padding: 22px;
  border-radius: 3px;
}

#product .product-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#product .product-images {
  margin: 18px 35px 0;
}

#product .product-images .image-item {
  padding: 4px;
}

#product .product-images img.thumb {
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

#product .product-images img.thumb.selected,
#product .product-images img.thumb:hover {
  border-color: var(--vestia-dark);
}

#product .namne_details,
#product h1.h1 {
  margin: 8px 0 8px;
  color: var(--vestia-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

#product .product-prices {
  margin: 0 0 16px;
}

#product .product-prices .current-price,
#product .product-prices .current-price-value {
  color: var(--vestia-green);
  font-size: 23px;
  font-weight: 700;
  line-height: 32px;
}

#product .product-prices .tax-shipping-delivery-label {
  color: var(--vestia-muted);
  font-size: 12px;
}

#product .price-on-request-product {
  margin: 0 0 16px;
  color: var(--vestia-green);
  font-size: 23px;
  font-weight: 700;
  line-height: 32px;
}

#product .product-information .product-description {
  margin: 0 0 20px;
  color: var(--vestia-copy);
  font-size: 14px;
  line-height: 1.65;
}

#product .product-actions {
  padding-top: 0;
}

/* O XD nao apresenta uma etiqueta separada acima do seletor de quantidade. */
#product .product-add-to-cart > .control-label {
  display: none;
}

#product .product-variants > .product-variants-item {
  margin: 0 0 16px;
}

#product .product-variants > .product-variants-item .control-label,
#product .product-add-to-cart > .control-label {
  color: var(--vestia-ink);
  font-size: 14px;
  font-weight: 600;
}

#product .product-quantity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

#product .product-quantity .qty {
  flex: 0 0 68px;
  margin: 0;
}

#product #quantity_wanted {
  width: 68px;
  height: 44px;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  background: #fff;
  color: var(--vestia-ink);
  text-align: center;
}

#product .product-quantity .add {
  flex: 1 1 260px;
  margin: 0;
}

#product .product-actions .add-to-cart {
  width: 100%;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: var(--vestia-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

#product .product-actions .add-to-cart:hover {
  background: var(--vestia-green);
}

#product .product-actions .add-to-cart:disabled,
#product .product-actions .add-to-cart[disabled] {
  cursor: not-allowed;
  background: #aeb3b0;
  color: #fff;
  opacity: 1;
}

#product .product-actions .add-to-cart .material-icons {
  display: none;
}

#product .product-quantity .cart_button {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

#product .product-quantity .cart_button a,
#product .product-quantity .cart_button button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #afb4b6;
  border-radius: 2px;
  background: #fff;
  color: var(--vestia-dark);
}

#product .product-quantity .buy {
  flex: 1 0 100%;
  margin: 0;
}

#product .product-quantity .buy .buy-now {
  width: 100%;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: var(--vestia-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

#product .product-quantity .buy .buy-now:hover {
  background: var(--vestia-dark);
}

#product #product-availability {
  display: block;
  margin-top: 14px;
  color: var(--vestia-copy);
  font-size: 13px;
}

#product .product-additional-info,
#product .blockreassurance_product {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #d8d8d8;
}

/* Evita uma linha e um espaco vazios entre a compra e as garantias. */
#product .product-layout1 .product-additional-info {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#product .product-container > .col-md-12 {
  margin-top: 55px;
}

#product .tabs {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#product .tabs .nav-tabs {
  border-bottom: 1px solid #d8d8d8;
}

#product .tabs .nav-tabs .nav-link {
  padding: 14px 22px;
  border: 0;
  background: transparent;
  color: var(--vestia-copy);
  font-size: 16px;
  font-weight: 600;
}

#product .tabs .nav-tabs .nav-link.active,
#product .tabs .nav-tabs .nav-link:hover {
  color: var(--vestia-dark);
}

#product .tabs .nav-tabs .nav-link.active:after {
  background: var(--vestia-green);
}

#product .tabs .tab-content {
  padding: 25px 0;
  color: var(--vestia-copy);
  font-size: 14px;
  line-height: 1.7;
}

/* Rodape escuro conforme a proposta. */
#footer,
.footer-container,
#footer .elementor-section-wrap > section:last-child {
  background: #232323;
  color: #d8d8d8;
}

#footer a,
.footer-container a {
  color: #d8d8d8;
}

#footer a:hover,
.footer-container a:hover {
  color: var(--vestia-green);
}

@media (max-width: 1199px) {
  #category #js-product-list .product_content.grid .item-product {
    width: 33.333333%;
  }
}

@media (max-width: 991px) {
  #category #search_filters {
    padding-right: 0;
  }

  #product .product-container > [class*=col-md-6] + [class*=col-md-6] {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .breadcrumb,
  #wrapper .breadcrumb {
    margin-bottom: 18px;
  }

  #category #js-product-list .product_content.grid {
    margin-right: -6px;
    margin-left: -6px;
  }

  #category #js-product-list .product_content.grid .item-product {
    width: 50%;
    padding-right: 6px;
    padding-left: 6px;
  }

  #product .images-container {
    padding: 12px;
  }

  #product .namne_details,
  #product h1.h1 {
    font-size: 23px;
  }
}

/* ========================================================================== */
/* HOME: MAIS PROCURADOS                                                       */
/* ========================================================================== */

/*
 * O widget Pos Categories usa duas linhas dentro de cada slide. Mantemos a
 * configuração do Elementor, mas damos aos cartões uma grelha previsível para
 * títulos longos e retiramos as alturas rígidas que faziam as subcategorias
 * colidir entre si.
 */
#index .elementor-widget-pos_categories .categories-container {
  overflow: hidden;
}

/* No XD o título começa exatamente na mesma linha vertical dos cartões. */
#index .elementor-element-jbzbyvr .pos-title {
  padding-left: 10px;
}

#index .elementor-widget-pos_categories .category-item {
  padding: 0 10px 18px;
}

#index .elementor-widget-pos_categories .category-item .style3 {
  display: grid;
  min-height: 242px;
  padding: 28px;
  grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  background: #fff;
}

#index .elementor-widget-pos_categories .category-image,
#index .elementor-widget-pos_categories .category-image > a {
  display: flex;
  width: 100%;
  height: 180px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#index .elementor-widget-pos_categories .category-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 180px;
  object-fit: contain;
}

#index .elementor-widget-pos_categories .category-content {
  display: flex;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 180px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  text-align: left !important;
}

#index .elementor-widget-pos_categories .category-content .name {
  display: block;
  margin: 0 0 8px;
  color: #292f32;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left !important;
}

#index .elementor-widget-pos_categories .category-content ul {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 0 10px;
  text-align: left !important;
}

#index .elementor-widget-pos_categories .category-content li,
#index .elementor-widget-pos_categories .category-content li a {
  display: block;
  margin: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.45;
  text-align: left !important;
}

#index .elementor-widget-pos_categories .category-content .link {
  margin-top: 8px;
  align-self: flex-start;
  white-space: nowrap;
  text-align: left !important;
}

@media (max-width: 1199px) {
  #index .elementor-widget-pos_categories .category-item .style3 {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 575px) {
  #index .elementor-widget-pos_categories .category-item {
    padding-right: 5px;
    padding-left: 5px;
  }

  #index .elementor-widget-pos_categories .category-item .style3 {
    min-height: 230px;
    padding: 22px 18px;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }

  #index .elementor-widget-pos_categories .category-image,
  #index .elementor-widget-pos_categories .category-image > a {
    height: 150px;
  }

  #index .elementor-widget-pos_categories .category-content {
    min-height: 170px;
  }

  #index .elementor-widget-pos_categories .category-content .name {
    font-size: 13px;
  }

  #index .elementor-widget-pos_categories .category-content li,
  #index .elementor-widget-pos_categories .category-content li a {
    font-size: 12px;
  }
}

/* ========================================================================== */
/* CHECKOUT: FORMULÁRIO E CONSENTIMENTOS                                      */
/* ========================================================================== */

body#checkout #checkout-personal-information-step .js-customer-form .form-group.row {
  display: grid;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  grid-template-columns: 120px minmax(0, 1fr) 90px;
  align-items: start;
  column-gap: 12px;
}

body#checkout #checkout-personal-information-step .js-customer-form .form-group.row > [class*="col-md-"] {
  width: auto;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  flex: none;
}

body#checkout #checkout-personal-information-step .js-customer-form .form-control {
  width: 100%;
}

body#checkout #checkout-personal-information-step .js-customer-form .field-optin,
body#checkout #checkout-personal-information-step .js-customer-form .field-newsletter,
body#checkout #checkout-personal-information-step .js-customer-form .field-psgdpr,
body#checkout #checkout-personal-information-step .js-customer-form .field-customer_privacy {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ececec;
}

body#checkout #checkout-personal-information-step .js-customer-form .field-optin > .form-control-label,
body#checkout #checkout-personal-information-step .js-customer-form .field-newsletter > .form-control-label,
body#checkout #checkout-personal-information-step .js-customer-form .field-psgdpr > .form-control-label,
body#checkout #checkout-personal-information-step .js-customer-form .field-customer_privacy > .form-control-label,
body#checkout #checkout-personal-information-step .js-customer-form .field-optin > .form-control-comment,
body#checkout #checkout-personal-information-step .js-customer-form .field-newsletter > .form-control-comment,
body#checkout #checkout-personal-information-step .js-customer-form .field-psgdpr > .form-control-comment,
body#checkout #checkout-personal-information-step .js-customer-form .field-customer_privacy > .form-control-comment {
  display: none;
}

body#checkout #checkout-personal-information-step .js-customer-form .field-optin > .col-md-8,
body#checkout #checkout-personal-information-step .js-customer-form .field-newsletter > .col-md-8,
body#checkout #checkout-personal-information-step .js-customer-form .field-psgdpr > .col-md-8,
body#checkout #checkout-personal-information-step .js-customer-form .field-customer_privacy > .col-md-8,
body#checkout #checkout-personal-information-step .custom-checkbox,
body#checkout #checkout-personal-information-step .custom-checkbox > label {
  display: block;
  width: 100%;
  height: auto;
}

body#checkout #checkout-personal-information-step .custom-checkbox > label {
  display: grid;
  margin: 0;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #646464;
  font-size: 14px;
  line-height: 1.45;
}

body#checkout #checkout-personal-information-step .custom-checkbox > label > input + span {
  position: relative;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

body#checkout #checkout-personal-information-step .checkbox-copy,
body#checkout #checkout-personal-information-step .checkbox-copy strong,
body#checkout #checkout-personal-information-step .checkbox-copy small {
  position: static;
  display: block;
  width: auto;
  height: auto;
}

body#checkout #checkout-personal-information-step .checkbox-copy strong {
  color: #292f32;
  font-size: 14px;
  font-weight: 600;
}

body#checkout #checkout-personal-information-step .checkbox-copy small {
  margin-top: 3px;
  color: #777;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

@media (max-width: 767px) {
  body#checkout #checkout-personal-information-step .js-customer-form .form-group.row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 7px;
  }

  body#checkout #checkout-personal-information-step .js-customer-form .form-control-label,
  body#checkout #checkout-personal-information-step .js-customer-form .form-control-comment {
    width: 100%;
    padding: 0;
  }

  body#checkout #checkout-personal-information-step .js-customer-form .form-control-label {
    padding-top: 0;
  }

  body#checkout #checkout-personal-information-step .js-customer-form .field-id_gender {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 15px;
  }

  body#checkout #checkout-personal-information-step .js-customer-form .field-id_gender > .form-control-comment {
    display: none;
  }

  body#checkout section.checkout-step .form-footer {
    margin-top: 22px;
  }

  body#checkout section.checkout-step .form-footer button {
    width: 100%;
  }
}

/* O Bootstrap Filestyle estava a partir o anexo em duas linhas. */
.vestia-contact-form .contact-form .bootstrap-filestyle.input-group {
  display: flex !important;
  width: 100% !important;
  height: 42px;
  flex-wrap: nowrap !important;
  align-items: stretch;
}

.vestia-contact-form .contact-form .bootstrap-filestyle.input-group > input.form-control {
  width: 0 !important;
  min-width: 0 !important;
  height: 42px !important;
  flex: 1 1 auto;
}

.vestia-contact-form .contact-form .bootstrap-filestyle.input-group > .group-span-filestyle {
  display: flex !important;
  width: auto !important;
  min-width: 157px;
  height: 42px;
  flex: 0 0 auto;
}

.vestia-contact-form .contact-form .bootstrap-filestyle.input-group > .group-span-filestyle .btn {
  display: inline-flex;
  width: 100%;
  height: 42px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575px) {
  .vestia-contact-form .contact-form .bootstrap-filestyle.input-group > .group-span-filestyle {
    min-width: 145px;
  }
}

/* Área suplementar reservada apenas a anexos e conteúdos adicionais. */
#product .product-layout1 > .col-md-12 {
  display: block !important;
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 12px;
  padding: 0;
}

#product .product-layout1 > .col-md-12 .tabs,
#product .product-layout1 > .col-md-12 .accordion {
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
  border-radius: 3px;
  background: #fff;
}

#product .product-layout1 > .col-md-12 .product-description img,
#product .product-layout1 > .col-md-12 .product-description video,
#product .product-layout1 > .col-md-12 .product-description iframe {
  max-width: 100% !important;
}

#product .product-layout1 > .col-md-12 .product-description img,
#product .product-layout1 > .col-md-12 .product-description video {
  height: auto !important;
}

#product .product-layout1 > .col-md-12 .product-description iframe {
  width: min(100%, 720px) !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
  #product .product-layout1 > .col-md-12 {
    margin-top: 0;
  }

  #product .product-layout1 > .col-md-12 .tabs,
  #product .product-layout1 > .col-md-12 .accordion {
    padding: 16px;
  }

  #product .tabs .nav-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }

  #product .tabs .nav-tabs .nav-link {
    padding: 12px 14px;
    font-size: 14px;
  }

  #product .tabs .tab-content {
    padding: 18px 0 0;
  }
}

/* AJUSTE FINAL DO BLOCO DE COMPRA CONFORME O XD */
#product .product-information .product-description,
#product .vestia-product-description-preview {
  max-height: none;
  margin: 24px 0 0 !important;
  padding: 0 0 20px !important;
  overflow: visible;
  border-bottom: 1px solid #d8d8d8;
}

#product .product-information .product-description > :last-child {
  margin-bottom: 0;
}

#product .product-actions {
  padding-top: 20px;
}

#product .product-quantity {
  gap: 8px;
}

#product .product-quantity .qty {
  flex: 0 0 104px;
  width: 104px;
  margin: 0;
}

#product .product-quantity .qty .bootstrap-touchspin {
  width: 104px;
  height: 44px;
  padding: 0 30px !important;
}

#product .product-quantity .qty .bootstrap-touchspin #quantity_wanted,
#product #quantity_wanted {
  width: 44px !important;
  height: 44px !important;
  padding: 0 4px;
  border-color: #d8d8d8;
  font-size: 16px;
  line-height: 42px;
}

#product .product-quantity .qty .bootstrap-touchspin .input-group-btn-vertical .btn-touchspin {
  top: 0;
  bottom: auto;
  width: 30px;
  height: 44px;
  padding: 0;
  color: #153017;
  background: #fff;
  border-color: #d8d8d8;
}

#product .bootstrap-touchspin-up i::before,
#product .bootstrap-touchspin-down i::before {
  content: none !important;
}

#product .bootstrap-touchspin-up i::after {
  content: '+' !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

#product .bootstrap-touchspin-down i::after {
  content: '\2212' !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

#product .product-quantity .cart_button {
  gap: 8px;
}

#product .product-quantity .cart_button #wishlist_button,
#product .product-quantity .cart_button .compare-button {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  color: #153017;
}

#product .product-quantity .cart_button .compare-button {
  order: 1;
}

#product .product-quantity .cart_button #wishlist_button {
  order: 2;
}

#product .product-quantity .cart_button #wishlist_button > *,
#product .product-quantity .cart_button .compare-button > * {
  visibility: hidden;
}

#product .product-quantity .cart_button #wishlist_button::before,
#product .product-quantity .cart_button .compare-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 21px;
  height: 21px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

#product .product-quantity .cart_button #wishlist_button::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5S3.5 15.4 3.5 9.2C3.5 6.5 5.4 4.5 8 4.5c1.7 0 3.1.9 4 2.3 1-1.4 2.3-2.3 4-2.3 2.6 0 4.5 2 4.5 4.7 0 6.2-8.5 11.3-8.5 11.3Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5S3.5 15.4 3.5 9.2C3.5 6.5 5.4 4.5 8 4.5c1.7 0 3.1.9 4 2.3 1-1.4 2.3-2.3 4-2.3 2.6 0 4.5 2 4.5 4.7 0 6.2-8.5 11.3-8.5 11.3Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#product .product-quantity .cart_button .compare-button::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='2.2'/%3E%3Ccircle cx='17.8' cy='6' r='2.2'/%3E%3Ccircle cx='17.8' cy='18' r='2.2'/%3E%3Cpath d='m8 11 7.7-4M8 13l7.7 4'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='2.2'/%3E%3Ccircle cx='17.8' cy='6' r='2.2'/%3E%3Ccircle cx='17.8' cy='18' r='2.2'/%3E%3Cpath d='m8 11 7.7-4M8 13l7.7 4'/%3E%3C/g%3E%3C/svg%3E");
}

#product #product-availability:empty,
#product .product-minimal-quantity:empty {
  display: none !important;
  margin: 0 !important;
}

@media (max-width: 575px) {
  #product .product-quantity .qty {
    flex-basis: 104px;
  }
}

/* Grelha: cartões iguais e preço próximo do botão, conforme o XD. */
#js-product-list .product_content.grid > .item-product {
  display: flex;
}

#js-product-list .product_content.grid .js-product-miniature {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
}

#js-product-list .product_content.grid .js-product-miniature .product_desc {
  flex: 0 0 170px !important;
  height: 170px !important;
  min-height: 170px !important;
  box-sizing: border-box;
}

#js-product-list .product_content.grid .js-product-miniature .inner_desc {
  height: 100%;
}

#js-product-list .product_content.grid .js-product-miniature .product-price-and-shipping {
  margin-bottom: 0 !important;
}

#js-product-list .product_content.grid .js-product-miniature div.cart {
  min-height: 36px;
  margin-top: 7px !important;
}

#js-product-list .product_content.grid .product-add-to-cart-placeholder {
  display: block;
  width: 100%;
  height: 36px;
  min-height: 36px;
  visibility: hidden;
  pointer-events: none;
}

/* Sem stock: uma única separação entre a descrição e as garantias. */
#product .vestia-product-on-request .product-actions {
  display: none !important;
}

#product .vestia-product-on-request .vestia-product-reassurance {
  margin-top: 22px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* Página de marcas com a grelha, cores e proporções do XD. */
#manufacturer #main {
  padding: 0;
  background: transparent;
}

#manufacturer #main .brand-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#manufacturer #main .brand-content .brand {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 286px;
  margin: 0;
  padding: 16px;
  flex-direction: column;
  align-items: stretch;
  border: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  text-align: left;
}

#manufacturer #main .brand-content .brand:not(:last-child) {
  margin-bottom: 0;
}

#manufacturer #main ul.brand-content .brand .brand-img {
  width: 100%;
  height: 155px;
  margin: 0 0 14px;
  padding: 12px;
  border: 0 !important;
  background: #fff;
}

#manufacturer #main ul.brand-content .brand .brand-img a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#manufacturer #main ul.brand-content .brand .brand-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#manufacturer #main .brand-infos {
  min-width: 0;
}

#manufacturer #main .brand-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  text-transform: none;
}

#manufacturer #main .brand-name a {
  color: #292f32;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

#manufacturer #main .brand-name a:hover {
  color: #69c11f;
}

#manufacturer #main .brand-description {
  display: -webkit-box;
  max-height: 38px;
  margin-top: 5px;
  overflow: hidden;
  color: #8b8f91;
  font-size: 12px;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#manufacturer #main .brand-description p {
  margin: 0;
}

#manufacturer #main .brand-products {
  display: flex;
  margin-top: auto;
  padding-top: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e8e8e8;
}

#manufacturer #main .brand-products span {
  color: #8b8f91;
  font-size: 11px;
}

#manufacturer #main .brand-products a,
#manufacturer #main .brand-products a:not(:last-child) {
  margin: 0;
  color: #69c11f;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

#manufacturer #main .brand-products a:hover {
  color: #153017;
}

@media (max-width: 1199px) {
  #manufacturer #main .brand-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #js-product-list .product_content.grid .js-product-miniature .product_desc {
    flex-basis: 160px !important;
    height: 160px !important;
    min-height: 160px !important;
  }

  #manufacturer #main .brand-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 479px) {
  #manufacturer #main .brand-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #manufacturer #main .brand-content .brand {
    min-height: 250px;
    padding: 12px;
  }

  #manufacturer #main ul.brand-content .brand .brand-img {
    height: 120px;
    padding: 8px;
  }

  #manufacturer #main .brand-products {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 359px) {
  #manufacturer #main .brand-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .js-product-miniature .img_block {
    padding: 9px 9px 0;
  }

  .js-product-miniature .product_desc {
    min-height: 155px;
    padding: 8px 11px 13px;
  }

  .js-product-miniature .product-flag {
    top: 14px;
    left: 14px;
  }

  .js-product-miniature .product-flag .new,
  .js-product-miniature .product-flag .out_of_stock,
  .js-product-miniature .product-flag .on-sale,
  .js-product-miniature .product-flag .pack {
    min-height: 21px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .js-product-miniature .product_desc h3,
  .js-product-miniature .product_desc .product_name,
  .js-product-miniature .product_desc .product_name.one_line {
    min-height: 36px;
    font-size: 12px;
    line-height: 18px;
  }

  .js-product-miniature .product-price-and-shipping .price {
    font-size: 16px;
  }

  .js-product-miniature div.cart button.ajax_add_to_cart_button,
  .js-product-miniature div.cart span.ajax_add_to_cart_button {
    width: 100%;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 10px;
  }

  #product .product-quantity .qty {
    flex-basis: 58px;
  }

  #product #quantity_wanted {
    width: 58px;
  }

  #product .product-quantity .add {
    flex-basis: calc(100% - 66px);
  }

  #product .product-quantity .cart_button {
    flex: 1 0 100%;
  }
}

/* ========================================================================== */
/* PAGINA DE CONTACTOS                                                        */
/* ========================================================================== */

.page-contact #left-column,
.page-contact #right-column,
.page-contact .vestia-contact-header {
  display: none;
}

.page-contact #content-wrapper,
.page-contact #content-wrapper.left-column,
.page-contact #content-wrapper.right-column {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.page-contact #wrapper,
.page-contact #content-wrapper,
.page-contact #main,
.page-contact .page-content.card.card-block {
  background: var(--vestia-bg);
}

.page-contact .page-content.card.card-block {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.vestia-contact-page {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  max-width: 1320px;
  margin: 0 auto 80px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(21, 48, 23, .08);
}

.vestia-contact-info,
.vestia-contact-form {
  padding: 48px 52px;
}

.vestia-contact-info {
  border-right: 1px solid #e8e8e8;
  background: linear-gradient(145deg, #fff 0%, #fbfdf9 100%);
}

.vestia-contact-info h2,
.vestia-contact-form .contact-form h3 {
  margin: 0 0 34px;
  color: var(--vestia-dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
}

.vestia-contact-block {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #e8e8e8;
}

.vestia-contact-block:first-of-type {
  padding-top: 0;
}

.vestia-contact-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vestia-contact-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(105, 193, 31, .12);
  color: var(--vestia-green);
}

.vestia-contact-icon i {
  font-size: 21px;
}

.vestia-contact-data,
.vestia-contact-data address {
  color: var(--vestia-copy);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.vestia-contact-data h3 {
  margin: 0 0 5px;
  color: var(--vestia-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 23px;
}

.vestia-contact-data address,
.vestia-contact-data ul,
.vestia-contact-data p {
  margin: 0;
}

.vestia-contact-data ul {
  padding: 0;
  list-style: none;
}

.vestia-contact-data li {
  margin-bottom: 5px;
}

.vestia-contact-data li a,
.vestia-contact-email {
  color: var(--vestia-dark);
  font-weight: 700;
}

.vestia-contact-data li a:hover,
.vestia-contact-email:hover {
  color: var(--vestia-green);
}

.vestia-contact-data sup {
  color: var(--vestia-muted);
  font-size: 9px;
}

.vestia-phone-note {
  margin-top: 10px !important;
  color: var(--vestia-muted) !important;
  font-size: 11px !important;
}

.vestia-contact-form .contact-form {
  margin: 0;
  padding: 0;
  background: transparent;
}

.vestia-contact-form .contact-form .form-fields > .form-group.row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 0 18px;
  margin: 0 0 20px;
  align-items: center;
}

.vestia-contact-form .contact-form .form-fields > .form-group:first-child > div {
  grid-column: 1 / -1;
}

.vestia-contact-form .contact-form .form-fields > .form-group:first-child {
  margin-bottom: 30px;
}

.vestia-contact-form .contact-form .form-fields > .form-group:first-child h3 {
  margin-bottom: 0;
}

.vestia-contact-form .contact-form .form-group > [class*=col-md-],
.vestia-contact-form .contact-form .form-group > [class*=offset-md-] {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
}

.vestia-contact-form .contact-form .form-control-label {
  color: var(--vestia-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.vestia-contact-form .contact-form .form-control,
.vestia-contact-form .contact-form select.form-control {
  width: 100%;
  height: 45px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid #afb4b6;
  border-radius: 0;
  background-color: transparent;
  color: var(--vestia-ink);
  font-size: 14px;
  box-shadow: none;
}

.vestia-contact-form .contact-form .form-control:focus,
.vestia-contact-form .contact-form select.form-control:focus {
  border-bottom-color: var(--vestia-green);
  box-shadow: 0 1px 0 var(--vestia-green);
}

.vestia-contact-form .contact-form textarea.form-control {
  min-height: 105px;
  padding-top: 12px;
  resize: vertical;
}

.vestia-contact-form .contact-form .form-control::placeholder {
  color: #a7a7a7;
  opacity: 1;
}

.vestia-contact-form .contact-form .form-control-comment {
  padding-left: 12px !important;
  color: var(--vestia-muted);
  font-size: 12px;
  white-space: nowrap;
}

.vestia-contact-form .contact-form .bootstrap-filestyle,
.vestia-contact-form .contact-form .bootstrap-filestyle .input-group {
  width: 100%;
}

.vestia-contact-form .contact-form .bootstrap-filestyle .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.vestia-contact-form .contact-form .bootstrap-filestyle input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: 0;
  background: #f1f2f2;
  box-shadow: none;
}

.vestia-contact-form .contact-form .bootstrap-filestyle .group-span-filestyle .btn {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: var(--vestia-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.vestia-contact-form .contact-form .bootstrap-filestyle .group-span-filestyle {
  display: flex;
  flex: 0 0 auto;
}

.vestia-contact-form .contact-form .form-fields > .form-group > .offset-md-3 {
  grid-column: 2 / -1;
}

.vestia-contact-form .contact-form #gdpr_consent {
  grid-column: 2 / -1;
  padding: 2px 0 0;
}

.vestia-contact-form .contact-form #gdpr_consent label {
  color: var(--vestia-ink);
  font-size: 14px;
  line-height: 22px;
}

.vestia-contact-form .contact-form #gdpr_consent input[type=checkbox] {
  accent-color: var(--vestia-green);
}

.vestia-contact-form .contact-form .form-footer {
  margin-left: 168px;
  text-align: left !important;
}

.vestia-contact-form .contact-form .form-footer .btn-primary {
  min-width: 130px;
  min-height: 44px;
  padding: 10px 25px;
  border: 0;
  border-radius: 2px;
  background: var(--vestia-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.vestia-contact-form .contact-form .form-footer .btn-primary:hover {
  background: var(--vestia-dark);
}

@media (max-width: 1199px) {
  .vestia-contact-info,
  .vestia-contact-form {
    padding: 40px 34px;
  }

  .vestia-contact-form .contact-form .form-fields > .form-group.row {
    grid-template-columns: 125px minmax(0, 1fr) auto;
  }

  .vestia-contact-form .contact-form .form-footer {
    margin-left: 143px;
  }
}

@media (max-width: 991px) {
  .vestia-contact-page {
    grid-template-columns: 1fr;
  }

  .vestia-contact-info {
    border-right: 0;
    border-bottom: 1px solid #e8e8e8;
  }
}

@media (max-width: 575px) {
  .vestia-contact-page {
    margin-bottom: 45px;
    border-radius: 4px;
  }

  .vestia-contact-info,
  .vestia-contact-form {
    padding: 28px 20px;
  }

  .vestia-contact-info h2,
  .vestia-contact-form .contact-form h3 {
    margin-bottom: 24px;
    font-size: 19px;
  }

  .vestia-contact-block {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .vestia-contact-icon {
    width: 36px;
    height: 36px;
  }

  .vestia-contact-data li span {
    display: block;
    padding-left: 0;
  }

  .vestia-contact-form .contact-form .form-fields > .form-group.row {
    display: block;
    margin-bottom: 18px;
  }

  .vestia-contact-form .contact-form .form-control-label {
    display: block;
    margin-bottom: 4px;
  }

  .vestia-contact-form .contact-form .form-control-comment {
    display: block;
    padding: 6px 0 0 !important;
  }

  .vestia-contact-form .contact-form #gdpr_consent {
    margin-top: 8px;
  }

  .vestia-contact-form .contact-form .form-footer {
    margin-left: 0;
  }

  .vestia-contact-form .contact-form .form-footer .btn-primary {
    width: 100%;
  }
}

/* ========================================================================== */
/* CARRINHO, CHECKOUT E AUTENTICACAO                                           */
/* ========================================================================== */

.page-cart #wrapper,
.page-cart #content-wrapper,
.page-cart #main,
body#checkout,
body#checkout #wrapper,
body#checkout #content-wrapper,
body#checkout section#content,
.page-authentication #wrapper,
.page-authentication #content-wrapper,
.page-registration #wrapper,
.page-registration #content-wrapper {
  background: var(--vestia-bg);
}

.page-cart #main,
body#checkout section#content {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.page-cart .page-header,
.page-authentication .page-header,
.page-registration .page-header {
  margin: 0 0 28px;
}

.page-cart .page-header h1,
.page-authentication .page-header h1,
.page-registration .page-header h1 {
  margin: 0;
  color: var(--vestia-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 38px;
  text-transform: none;
}

/* Carrinho */
.page-cart .cart-grid {
  margin-right: -12px;
  margin-left: -12px;
  margin-bottom: 70px;
}

.page-cart .cart-grid-body,
.page-cart .cart-grid-right {
  padding-right: 12px;
  padding-left: 12px;
}

.page-cart .card.cart-container,
.page-cart .card.cart-summary,
body#checkout #js-checkout-summary,
body#checkout section.checkout-step {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(21, 48, 23, .07);
}

.page-cart .card.cart-container {
  padding: 28px 30px;
}

.page-cart .cart-items-title {
  margin-bottom: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #e8e8e8;
  color: var(--vestia-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.page-cart .cart-item {
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

.page-cart .cart-item:last-child {
  border-bottom: 0;
}

.page-cart .product-image {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  background: #fff;
}

.page-cart .product-image img {
  width: 100%;
  height: auto;
  max-height: 105px;
  object-fit: contain;
}

.page-cart .cart-grid-body .product-line-info .product_name {
  color: var(--vestia-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.page-cart .product-line-grid-body > .product-line-info > .label,
.page-cart .product-line-grid-body > .product-line-info > .value,
.page-cart .unit-price-cart {
  color: var(--vestia-muted);
  font-size: 12px;
}

.page-cart .product-line-grid-right .product-price,
.page-cart .product-line-grid-right .price,
.page-cart .product-line-grid-right .product-price strong {
  color: var(--vestia-green);
  font-size: 16px;
  font-weight: 700;
}

.page-cart .bootstrap-touchspin {
  width: 72px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  box-shadow: none;
}

.page-cart .bootstrap-touchspin input.form-control {
  height: 38px;
  border: 0;
  background: #fff;
  color: var(--vestia-ink);
  text-align: center;
  box-shadow: none;
}

.page-cart .bootstrap-touchspin .btn-touchspin {
  border: 0;
  background: #f5f5f5;
  color: var(--vestia-dark);
}

.page-cart .remove-from-cart {
  display: inline-flex !important;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--vestia-muted) !important;
}

.page-cart .remove-from-cart:hover {
  background: rgba(188, 37, 27, .08);
  color: #bc251b !important;
}

.page-cart .cart-grid-body > .btn-primary {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vestia-dark);
  border-radius: 22px;
  background: transparent;
  color: var(--vestia-dark);
  font-size: 13px;
  font-weight: 700;
}

.page-cart .cart-grid-body > .btn-primary:hover {
  border-color: var(--vestia-green);
  background: var(--vestia-green);
  color: #fff;
}

.page-cart .card.cart-summary {
  padding: 8px 0 0;
}

.page-cart .cart-grid-right {
  position: relative;
}

@media (min-width: 992px) {
  .page-cart .cart-grid-right .cart-summary,
  body#checkout .cart-grid-right > .card {
    position: sticky;
    top: 24px;
  }
}

.page-cart .cart-summary .card-block,
body#checkout #js-checkout-summary .card-block {
  padding: 22px 25px;
}

.page-cart .cart-summary-line,
body#checkout .cart-summary-line {
  margin-bottom: 12px;
  color: var(--vestia-copy);
}

.page-cart .cart-summary-line .label,
body#checkout .cart-summary-line .label {
  color: var(--vestia-copy);
  font-size: 14px;
}

.page-cart .cart-summary-line .value,
body#checkout .cart-summary-line .value {
  color: var(--vestia-ink);
  font-size: 14px;
  font-weight: 600;
}

.page-cart .cart-summary-totals,
body#checkout .cart-summary-totals {
  border-top: 1px solid #e8e8e8;
}

.page-cart .cart-summary-line.cart-total .label,
.page-cart .cart-summary-line.cart-total .value,
body#checkout .cart-summary-line.cart-total .label,
body#checkout .cart-summary-line.cart-total .value {
  color: var(--vestia-dark);
  font-size: 20px;
  font-weight: 700;
}

.page-cart .cart-detailed-actions .btn-primary,
body#checkout .btn-primary,
body#checkout .continue,
body#checkout button.continue {
  min-height: 46px;
  padding: 11px 22px;
  border: 0;
  border-radius: 3px;
  background: var(--vestia-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.page-cart .cart-detailed-actions .btn-primary:hover,
body#checkout .btn-primary:hover,
body#checkout .continue:hover,
body#checkout button.continue:hover {
  background: var(--vestia-dark);
  color: #fff;
}

.page-cart .block-promo .promo-code-button,
body#checkout .block-promo .promo-code-button {
  color: var(--vestia-dark);
  font-size: 13px;
  font-weight: 600;
}

.page-cart .block-promo .promo-code,
body#checkout .block-promo .promo-code {
  background: #f7f8f7;
}

.page-cart .block-promo .promo-input,
body#checkout .block-promo .promo-input {
  height: 42px;
  border: 1px solid #d8d8d8;
  border-radius: 3px 0 0 3px;
  background: #fff;
}

.page-cart .block-promo .promo-code .btn,
body#checkout .block-promo .promo-code .btn {
  height: 42px;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: var(--vestia-dark);
  color: #fff;
}

/* Checkout */
body#checkout #header {
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}

body#checkout #header .header-nav {
  padding: 18px 0;
}

body#checkout section#content {
  margin-top: 42px;
  margin-bottom: 70px;
}

body#checkout section#content > .row {
  margin-right: -12px;
  margin-left: -12px;
}

body#checkout .cart-grid-body,
body#checkout .cart-grid-right {
  padding-right: 12px;
  padding-left: 12px;
}

body#checkout section.checkout-step {
  margin: 0 0 14px;
  padding: 0 28px;
}

body#checkout section.checkout-step .step-title,
body#checkout section.checkout-step.-current + .checkout-step .step-title {
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-top: 0;
  color: var(--vestia-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 32px;
}

body#checkout section.checkout-step .step-number,
body#checkout section.checkout-step.-reachable.-current .step-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  margin: 0 12px 0 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vestia-dark);
  border-radius: 50%;
  background: #fff;
  color: var(--vestia-dark);
  font-size: 14px;
  vertical-align: 0;
}

body#checkout section.checkout-step.-current .step-number {
  border-color: var(--vestia-green);
  background: var(--vestia-green);
  color: #fff;
}

body#checkout section.checkout-step.-reachable.-complete h1 .done {
  color: var(--vestia-green);
}

body#checkout section.checkout-step .step-edit {
  color: var(--vestia-muted);
  font-size: 12px;
  font-weight: 600;
}

body#checkout section.checkout-step .content {
  padding: 0 0 28px 44px;
}

body#checkout section.checkout-step .form-group.row {
  margin-bottom: 16px;
}

body#checkout section.checkout-step .form-control-label {
  padding-top: 10px;
  color: var(--vestia-ink);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

body#checkout section.checkout-step .form-control,
body#checkout section.checkout-step select.form-control {
  min-height: 43px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background-color: #fff;
  color: var(--vestia-ink);
  box-shadow: none;
}

body#checkout section.checkout-step .form-control:focus,
body#checkout section.checkout-step select.form-control:focus {
  border-color: var(--vestia-green);
  box-shadow: 0 0 0 2px rgba(105, 193, 31, .12);
}

body#checkout section.checkout-step .input-group-btn .btn {
  min-height: 43px;
  border: 1px solid var(--vestia-dark);
  border-radius: 0 3px 3px 0;
  background: var(--vestia-dark);
  color: #fff;
}

body#checkout section.checkout-step .forgot-password {
  margin: 10px 0 0;
  text-align: right;
}

body#checkout section.checkout-step .form-footer {
  margin: 24px 0 0;
  text-align: right;
}

body#checkout section.checkout-step .form-footer button {
  width: auto;
  min-width: 170px;
}

body#checkout section.checkout-step .address-item {
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
}

body#checkout section.checkout-step .address-item.selected {
  border-color: var(--vestia-green);
  box-shadow: 0 0 0 2px rgba(105, 193, 31, .1);
}

body#checkout section.checkout-step .address {
  border-top-color: #e8e8e8;
  color: var(--vestia-copy);
  font-size: 13px;
  font-weight: 400;
}

body#checkout section.checkout-step .delivery-options .delivery-option {
  min-height: 82px;
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
}

body#checkout section.checkout-step .delivery-options .delivery-option:hover {
  border-color: var(--vestia-green);
}

body#checkout section.checkout-step .payment-options .payment-option {
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
}

body#checkout .custom-radio input[type=radio]:checked + span,
body#checkout .custom-checkbox input[type=checkbox]:checked + span {
  border-color: var(--vestia-green);
  background-color: var(--vestia-green);
}

body#checkout #js-checkout-summary {
  margin-bottom: 18px;
}

body#checkout #js-checkout-summary .separator {
  margin: 0;
  border-color: #e8e8e8;
}

body#checkout #cart-summary-product-list img {
  width: 64px;
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  background: #fff;
}

body#checkout #cart-summary-product-list .product-name {
  color: var(--vestia-ink);
  font-weight: 600;
}

/* Login e registo */
.page-authentication #content-wrapper,
.page-registration #content-wrapper {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.page-authentication #main,
.page-registration #main {
  max-width: 600px;
  margin: 0 auto 80px;
}

.page-authentication .page-header,
.page-registration .page-header {
  text-align: center;
}

.page-authentication #content,
.page-registration #content {
  padding: 44px 48px 36px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(21, 48, 23, .08);
}

.page-authentication .login-form,
.page-registration .register-form {
  width: 100%;
}

.page-authentication #login-form .form-group.row,
.page-registration .customer-form .form-group.row,
.page-registration #customer-form .form-group.row {
  display: block;
  margin: 0 0 18px;
}

.page-authentication #login-form .form-group.row > [class*=col-md-],
.page-registration .customer-form .form-group.row > [class*=col-md-],
.page-registration #customer-form .form-group.row > [class*=col-md-] {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}

.page-authentication #login-form .form-control-label,
.page-registration .form-control-label {
  display: block;
  margin-bottom: 7px;
  color: var(--vestia-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.page-authentication #login-form .form-control,
.page-registration .form-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
  color: var(--vestia-ink);
  box-shadow: none;
}

.page-authentication #login-form .form-control:focus,
.page-registration .form-control:focus {
  border-color: var(--vestia-green);
  box-shadow: 0 0 0 2px rgba(105, 193, 31, .12);
}

.page-authentication #login-form .input-group-btn .btn,
.page-registration .input-group-btn .btn {
  min-height: 46px;
  border: 1px solid var(--vestia-dark);
  border-radius: 0 3px 3px 0;
  background: var(--vestia-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.page-authentication #login-form .form-control-comment,
.page-registration .form-control-comment {
  display: none;
}

.page-authentication #content .forgot-password {
  margin: 12px 0 24px;
  padding: 0;
  text-align: right;
}

.page-authentication #content .forgot-password a {
  color: var(--vestia-copy);
  font-size: 12px;
}

.page-authentication #content .forgot-password a:hover {
  color: var(--vestia-green);
}

.page-authentication #login-form .form-footer,
.page-registration .form-footer {
  margin: 0;
}

.page-authentication #submit-login,
.page-registration .form-footer .btn-primary {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 3px;
  background: var(--vestia-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.page-authentication #submit-login:hover,
.page-registration .form-footer .btn-primary:hover {
  background: var(--vestia-dark);
}

.page-authentication #content hr {
  margin: 28px 0 20px;
  border-color: #e8e8e8;
}

.page-authentication #content .no-account,
.page-registration .register-form > p {
  color: var(--vestia-copy);
  font-size: 13px;
  text-align: center;
}

.page-authentication #content .no-account a,
.page-registration .register-form > p a {
  color: var(--vestia-dark);
  font-weight: 700;
}

.page-authentication #content .no-account a:hover,
.page-registration .register-form > p a:hover {
  color: var(--vestia-green);
}

@media (max-width: 991px) {
  .page-cart .cart-grid-right,
  body#checkout .cart-grid-right {
    margin-top: 24px;
  }

  body#checkout section.checkout-step .content {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .page-cart .card.cart-container {
    padding: 18px;
  }

  .page-cart .cart-item {
    min-height: 135px;
    padding: 18px 0 18px 92px;
  }

  .page-cart .cart-item .product-image {
    top: 18px;
    width: 78px;
    min-height: 78px;
  }

  .page-cart .product-line-grid-right > .row {
    align-items: center;
  }

  .page-cart .product-line-grid-right .product-price-and-shipping,
  .page-cart .product-line-grid-right .qty,
  .page-cart .product-line-grid-right .price {
    width: auto;
    margin: 8px 15px 0 0;
  }

  body#checkout section.checkout-step {
    padding: 0 18px;
  }

  body#checkout section.checkout-step .step-title,
  body#checkout section.checkout-step.-current + .checkout-step .step-title {
    font-size: 17px;
  }

  body#checkout section.checkout-step .address-item {
    flex: 0 0 100%;
  }
}

@media (max-width: 575px) {
  .page-cart .page-header h1,
  .page-authentication .page-header h1,
  .page-registration .page-header h1 {
    font-size: 23px;
  }

  .page-authentication #content,
  .page-registration #content {
    padding: 30px 22px 26px;
  }

  body#checkout section#content {
    margin-top: 25px;
  }

  body#checkout section.checkout-step .step-title,
  body#checkout section.checkout-step.-current + .checkout-step .step-title {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 23px;
  }

  body#checkout section.checkout-step .step-number,
  body#checkout section.checkout-step.-reachable.-current .step-number {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  body#checkout section.checkout-step .step-edit {
    margin-left: auto;
  }
}

/* ========================================================================== */
/* AJUSTES FINAIS AO DOM REAL: CATEGORIA E PRODUTO                            */
/* ========================================================================== */

/* A categoria do tema usa um cabeçalho ilustrado que não existe no XD. */
#category .page-title-wrapper {
  display: flex;
  min-height: 64px;
  margin-bottom: 44px !important;
  padding: 0 !important;
  align-items: center;
  background: #f5f5f5 !important;
  background-image: none !important;
  border-bottom: 1px solid #e8e8e8;
}

#category .page-title-wrapper .container {
  width: 100%;
}

#category .page-title-wrapper .page-header {
  display: none;
}

#category .page-title-wrapper .breadcrumb {
  margin: 0;
  padding: 0 10px;
  font-size: 12px;
}

#category #wrapper,
#category #wrapper > .container,
#category #wrapper .row-wrapper,
#category #content-wrapper,
#category #main,
#category #products-list {
  background-color: #f5f5f5 !important;
}

/* Converte visualmente a navegação lateral existente no filtro do XD. */
#category #left-column {
  padding-right: 34px;
  background: #f5f5f5 !important;
}

#category #left-column > :not(.block-categories) {
  display: none !important;
}

#category #left-column .block-categories {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#category #left-column .block-categories .category-top-menu > li:first-child > a {
  display: block;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

#category #left-column .block-categories .category-top-menu > li:first-child > a::before {
  content: "Filtros";
  color: #232323;
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  text-transform: none;
}

#category #left-column .block-categories .category-top-menu > li:first-child::before,
#category #left-column .block-categories .category-top-menu > li:first-child::after,
#category #left-column .block-categories .category-top-menu > li:first-child > a::after {
  display: none !important;
  content: none !important;
}

#category #left-column .block-categories::before,
#category #left-column .block-categories::after,
#category #left-column .block-categories .category-top-menu::before,
#category #left-column .block-categories .category-top-menu::after {
  display: none !important;
  content: none !important;
}

#category #left-column .block-categories .category-sub-menu {
  margin: 0;
}

#category #left-column .block-categories .category-sub-menu > li[data-depth="0"] {
  position: relative;
  margin: 0 0 9px;
  padding: 0;
}

#category #left-column .block-categories .category-sub-menu > li[data-depth="0"] > a {
  display: block;
  padding: 0 20px 0 23px;
  color: #646464;
  font-size: 13px;
  font-weight: 400;
  line-height: 19px;
  text-transform: none;
}

#category #left-column .block-categories .category-sub-menu > li[data-depth="0"] > a::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #afb4b6;
  border-radius: 1px;
  background: #fff;
  content: "";
}

#category #left-column .block-categories .category-sub-menu > li[data-depth="0"] > .collapse-icons,
#category #left-column .block-categories .category-sub-menu > li[data-depth="0"] > .collapse {
  display: none !important;
}

#category #js-product-list-top.products-selection {
  min-height: 42px;
  margin-bottom: 18px;
}

#category #js-product-list-top > .row {
  margin: 0;
}

#category #js-product-list-top .total-products,
#category #js-product-list-top .total-products + div {
  padding-right: 0;
  padding-left: 0;
}

#category #js-product-list-top .products-sort-order .select-title {
  min-width: 230px;
  min-height: 36px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

#category #js-product-list .product_content.grid {
  margin-right: -9px !important;
  margin-left: -9px !important;
}

#category #js-product-list .product_content.grid > .item-product {
  margin-bottom: 18px;
  padding-right: 9px !important;
  padding-left: 9px !important;
}

#category #js-product-list .js-product-miniature {
  border: 0 !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04) !important;
}

#category #js-product-list .js-product-miniature .img_block {
  padding: 14px 14px 0 !important;
}

#category #js-product-list .js-product-miniature .thumbnail.product-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
}

#category #js-product-list .js-product-miniature .img_block img {
  width: 100% !important;
  height: 100% !important;
  background-image: none !important;
  object-fit: contain !important;
}

#category #js-product-list .js-product-miniature .product_desc {
  min-height: 150px;
  padding: 10px 16px 14px !important;
}

#category #js-product-list .js-product-miniature .manufacturer a {
  color: #a7a7a7 !important;
  font-size: 11px;
  text-transform: capitalize;
}

#category #js-product-list .js-product-miniature .product_name {
  color: #646464 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}

#category #js-product-list .js-product-miniature .product-price-and-shipping .price {
  color: #69c11f !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

#category #js-product-list .js-product-miniature .product-flag .out_of_stock {
  background: #69c11f !important;
}

/* Estrutura de produto equivalente ao ecrã 4 do XD. */
#product #wrapper,
#product #wrapper > .container,
#product #content-wrapper,
#product #main {
  background-color: #f5f5f5 !important;
}

#product #main > .product-container.product-layout1 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  margin: 0 0 65px !important;
}

#product #main > .product-container.product-layout1 > .col-md-6 {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

#product #main > .product-container.product-layout1 > .col-md-6:nth-child(2) {
  padding: 4px 0 0 !important;
}

#product #main > .product-container.product-layout1 > .col-md-12 {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 35px;
  padding: 0;
}

#product .page-content,
#product .images-container,
#product .product-cover-container,
#product .product-cover {
  background: #fff !important;
}

#product .page-content {
  min-height: 610px;
  border-radius: 3px;
}

#product .images-container {
  padding: 28px !important;
}

#product .namne_details,
#product h1.h1 {
  margin: 0 0 8px !important;
  color: #232323 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

#product .vestia-product-meta {
  display: flex;
  margin: 0 0 16px;
  gap: 8px;
  flex-wrap: wrap;
}

#product .vestia-product-meta span {
  display: inline-flex;
  min-height: 26px;
  padding: 4px 10px;
  align-items: center;
  border-radius: 13px;
  background: #fff;
  color: #747474;
  font-size: 11px;
  line-height: 18px;
}

#product #product_comments_block_extra {
  display: none !important;
}

#product .product-information .product-description {
  margin: 0 0 20px !important;
  padding-bottom: 20px;
  border-bottom: 1px solid #d8d8d8;
  color: #646464 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

#product .product-additional-info,
#product .blockreassurance_product {
  border-top-color: #d8d8d8 !important;
}

#product .blockreassurance_product .item-product,
#product .blockreassurance_product .block-title {
  color: #646464;
}

@media (max-width: 991px) {
  #category #left-column {
    padding-right: 15px;
  }

  #product #main > .product-container.product-layout1 {
    grid-template-columns: 1fr;
  }

  #product .page-content {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  #category .page-title-wrapper {
    min-height: 54px;
    margin-bottom: 24px !important;
  }

  #category #left-column {
    display: none;
  }

  #category #content-wrapper {
    width: 100%;
  }

  #category #js-product-list-top .products-sort-order .select-title {
    min-width: 0;
  }

  #product .namne_details,
  #product h1.h1 {
    font-size: 23px !important;
  }

}

/* ========================================================================== */
/* CORRECOES VISUAIS GLOBAIS APOS AUDITORIA DESKTOP / MOBILE                  */
/* ========================================================================== */

/* O hero da homepage estava limitado pelo max-width de 1440px do Elementor. */
#index .elementor-section-stretched.elementor-section-full_width > .elementor-container,
#index .elementor-widget-pos_slideshow,
#index .elementor-widget-pos_slideshow > .elementor-widget-container,
#index .pos-slideshow-wrapper,
#index .pos-slideshow,
#index .pos-slideshow .slick-list,
#index .pos-slideshow .slideshow-item,
#index .pos-slideshow .slider-item {
  width: 100% !important;
  max-width: none !important;
}

#index .elementor-section-stretched.elementor-section-full_width > .elementor-container {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

#index .pos-slideshow .slideshow-item,
#index .pos-slideshow .slider-item {
  background-position: center center !important;
  background-size: cover !important;
}

/* Mantem as tabs deslizaveis no mobile sem mostrar uma barra de scroll. */
#index .nav-tabs,
#index .tab-category-container-slider {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#index .nav-tabs::-webkit-scrollbar,
#index .tab-category-container-slider::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Remove o banner de especiarias das paginas internas. */
#contact .page-title-wrapper,
#authentication .page-title-wrapper,
#cart .page-title-wrapper,
#registration .page-title-wrapper,
body#checkout .page-title-wrapper {
  min-height: 84px;
  margin-bottom: 50px !important;
  padding: 22px 0 !important;
  background: #f5f5f5 !important;
  background-image: none !important;
  border-bottom: 1px solid #e8e8e8;
}

#contact .page-title-wrapper .page-header,
#authentication .page-title-wrapper .page-header,
#cart .page-title-wrapper .page-header,
#registration .page-title-wrapper .page-header,
body#checkout .page-title-wrapper .page-header {
  margin: 0;
}

#contact .page-title-wrapper .breadcrumb,
#authentication .page-title-wrapper .breadcrumb,
#cart .page-title-wrapper .breadcrumb,
#registration .page-title-wrapper .breadcrumb,
body#checkout .page-title-wrapper .breadcrumb {
  margin-top: 10px;
  margin-bottom: 0;
}

/* O pseudo-elemento do tema estava a transformar o titulo Filtros num risco. */
#category #left-column .block-categories .category-top-menu > li:first-child > a::before {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
  color: #232323 !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 32px !important;
}

/* Corrige o contentor de 1% criado pelo Bootstrap Filestyle. */
.vestia-contact-form .contact-form .bootstrap-filestyle .group-span-filestyle {
  width: auto !important;
  min-width: 157px;
}

.vestia-contact-form .contact-form .bootstrap-filestyle .group-span-filestyle .btn {
  width: 100%;
  white-space: nowrap;
}

/* Evita duplicar o estado de consulta na imagem e na informacao do produto. */
#product .images-container .product-flag {
  display: none !important;
}

/* Oculta conteudo de demonstracao enquanto os modulos nao forem configurados. */
#product .blockreassurance_product,
#product .payment-detail,
#product .social-sharing,
.page-cart .blockreassurance_product,
body#checkout .blockreassurance_product {
  display: none !important;
}

/* Impede que o Slick imponha milhares de pixels de largura no produto. */
#product #main > .product-container.product-layout1 > .col-md-6,
#product .page-content,
#product .images-container,
#product .product-cover-container,
#product .product-cover,
#product .product-cover .slick-list {
  min-width: 0 !important;
  max-width: 100% !important;
}

#product #main > .product-container.product-layout1 > .col-md-6 {
  width: 100% !important;
}

#product .page-content,
#product .images-container,
#product .product-cover-container,
#product .product-cover,
#product .product-cover .slick-list {
  width: 100% !important;
  overflow: hidden;
}

#product .product-cover img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
}

@media (max-width: 1024px) {
  /* A quickmenu continha Custom content e tapava formularios e produtos. */
  .quickmenu-mobile {
    display: none !important;
  }

  .has-quickmenu #footer {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 991px) {
  #product #main > .product-container.product-layout1 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
  }

  #product #main > .product-container.product-layout1 > .col-md-6 {
    min-width: 0 !important;
    overflow: hidden;
  }

  #product .page-content {
    min-height: 0 !important;
  }
}

@media (max-width: 767px) {
  #index .elementor-section-stretched.elementor-section-full_width > .elementor-container,
  #index .elementor-widget-pos_slideshow,
  #index .elementor-widget-pos_slideshow > .elementor-widget-container,
  #index .pos-slideshow-wrapper,
  #index .pos-slideshow,
  #index .pos-slideshow .slick-list,
  #index .pos-slideshow .slick-track,
  #index .pos-slideshow .slick-slide,
  #index .pos-slideshow .slideshow-item,
  #index .pos-slideshow .slider-item {
    max-width: 100% !important;
  }

  #index .pos-slideshow-wrapper,
  #index .pos-slideshow,
  #index .pos-slideshow .slick-list,
  #index .pos-slideshow .slick-slide,
  #index .pos-slideshow .slideshow-item,
  #index .pos-slideshow .slider-item {
    width: 100% !important;
  }

  #index .pos-slideshow .slideshow-item,
  #index .pos-slideshow .slider-item {
    min-height: 300px;
  }

  #index .pos-slideshow-wrapper .desc-banner {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 22px;
  }

  #index .pos-slideshow-wrapper .desc-banner .container,
  #index .pos-slideshow-wrapper .desc-banner .slideshow-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
  }

  #index .pos-slideshow-wrapper .desc-banner .animated,
  #index .pos-slideshow-wrapper .title1,
  #index .pos-slideshow-wrapper .title2,
  #index .pos-slideshow-wrapper .description,
  #index .pos-slideshow-wrapper .slideshow-button {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  #index .pos-slideshow-wrapper .title1 {
    height: auto !important;
    margin: 0 0 12px !important;
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  #index .pos-slideshow-wrapper .description {
    margin-bottom: 16px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  #contact .page-title-wrapper,
  #authentication .page-title-wrapper,
  #cart .page-title-wrapper,
  #registration .page-title-wrapper,
  body#checkout .page-title-wrapper {
    min-height: 70px;
    margin-bottom: 28px !important;
    padding: 16px 0 !important;
  }

  #product .images-container {
    padding: 14px !important;
  }

  #product .product-cover,
  #product .product-cover .slick-list,
  #product .product-cover .slick-slide {
    min-height: 0 !important;
    height: auto !important;
  }

  #product .product-cover img {
    max-height: 420px;
  }

  .vestia-contact-form .contact-form .bootstrap-filestyle .group-span-filestyle {
    min-width: 145px;
  }
}

/* PAGINAS INSTITUCIONAIS / CMS */
#cms .page-title-wrapper {
  min-height: 84px;
  margin-bottom: 50px !important;
  padding: 22px 0 !important;
  background: #f5f5f5 !important;
  background-image: none !important;
  border-bottom: 1px solid #e8e8e8;
}

#cms .page-title-wrapper .page-header {
  margin: 0;
}

#cms .page-title-wrapper .breadcrumb {
  margin-top: 10px;
  margin-bottom: 0;
}

#cms #wrapper,
#cms #content-wrapper {
  background: #f5f5f5;
}

#cms #content-wrapper {
  width: 100%;
}

#cms .page-cms {
  width: calc(100% - 30px);
  max-width: 1120px;
  margin: 0 auto 72px;
  padding: 50px 58px;
  overflow-wrap: anywhere;
  color: #4f5551;
  font-size: 16px;
  line-height: 1.8;
  background: #fff;
  border: 1px solid #e8ece9;
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(14, 55, 29, 0.07);
}

#cms .page-cms > :first-child {
  margin-top: 0;
}

#cms .page-cms > :last-child {
  margin-bottom: 0;
}

#cms .page-cms h1,
#cms .page-cms h2,
#cms .page-cms h3,
#cms .page-cms h4 {
  color: #103b20;
  font-weight: 700;
  line-height: 1.28;
}

#cms .page-cms h2 {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 16px;
  font-size: 28px;
}

#cms .page-cms h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  content: "";
  background: #5ac616;
}

#cms .page-cms h3 {
  margin: 32px 0 12px;
  font-size: 21px;
}

#cms .page-cms p {
  margin: 0 0 20px;
}

#cms .page-cms ul,
#cms .page-cms ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

#cms .page-cms li {
  margin-bottom: 8px;
}

#cms .page-cms a {
  color: #3f9f0a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#cms .page-cms a:hover,
#cms .page-cms a:focus {
  color: #103b20;
}

#cms .page-cms table {
  display: block;
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border-collapse: collapse;
}

#cms .page-cms th,
#cms .page-cms td {
  padding: 13px 15px;
  border: 1px solid #dfe5e1;
  text-align: left;
  vertical-align: top;
}

#cms .page-cms th {
  color: #103b20;
  background: #eef7e9;
}

/* Termos: normaliza estilos inline importados de um documento externo. */
#cms.cms-id-3 .page-cms > h1.page-subheading {
  position: relative;
  margin: 0 0 32px !important;
  padding: 0 0 16px;
  color: #103b20 !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 700;
  line-height: 1.28 !important;
  text-align: left !important;
  text-decoration: none !important;
}

#cms.cms-id-3 .page-cms > h2 {
  margin: 34px 0 14px;
  padding-bottom: 10px;
  font-size: 20px;
  line-height: 1.4;
}

#cms.cms-id-3 .page-cms > h2::after {
  width: 38px;
  height: 2px;
}

#cms.cms-id-3 .page-cms > h1.page-subheading::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  content: "";
  background: #5ac616;
}

#cms.cms-id-3 .page-cms > h1.page-subheading span,
#cms.cms-id-3 .page-cms > p,
#cms.cms-id-3 .page-cms > p span,
#cms.cms-id-3 .page-cms > ul,
#cms.cms-id-3 .page-cms > ul span {
  color: #4f5551 !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  white-space: normal !important;
}

#cms.cms-id-3 .page-cms > h1.page-subheading span {
  color: #103b20 !important;
  font-size: inherit !important;
  text-decoration: none !important;
}

#cms.cms-id-3 .page-cms > p {
  margin: 0 0 18px !important;
  text-align: left !important;
}

#cms.cms-id-3 .page-cms > p:empty {
  display: none;
}

#cms.cms-id-3 .page-cms > p:has(> span[style*="font-weight:bold"]) {
  margin: 30px 0 10px !important;
}

#cms.cms-id-3 .page-cms > p:has(> span[style*="font-weight:bold"]) > span {
  color: #103b20 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

#cms.cms-id-3 .page-cms a,
#cms.cms-id-3 .page-cms a span {
  color: #3f9f0a !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: inherit !important;
  white-space: normal !important;
}

#cms .page-cms-4 {
  border-top: 4px solid #5ac616;
}

#cms .page-cms-7 p > a {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 18px;
  color: #fff;
  line-height: 1.3;
  text-decoration: none;
  background: #4eb811;
  border-radius: 3px;
}

#cms .page-cms-7 p > a:hover,
#cms .page-cms-7 p > a:focus {
  color: #fff;
  background: #103b20;
}

@media (max-width: 767px) {
  #cms .page-title-wrapper {
    min-height: 70px;
    margin-bottom: 28px !important;
    padding: 16px 0 !important;
  }

  #cms .page-cms {
    width: calc(100% - 24px);
    margin-bottom: 42px;
    padding: 28px 22px;
    font-size: 15px;
    line-height: 1.7;
  }

  #cms .page-cms h2 {
    margin-bottom: 22px;
    padding-bottom: 13px;
    font-size: 24px;
  }

  #cms .page-cms h3 {
    margin-top: 26px;
    font-size: 19px;
  }

  #cms.cms-id-3 .page-cms > h1.page-subheading {
    margin-bottom: 26px !important;
    font-size: 26px !important;
  }

  #cms.cms-id-3 .page-cms > h2 {
    margin: 28px 0 12px;
    padding-bottom: 9px;
    font-size: 18px;
  }

  #cms.cms-id-3 .page-cms > p,
  #cms.cms-id-3 .page-cms > p span,
  #cms.cms-id-3 .page-cms > ul,
  #cms.cms-id-3 .page-cms > ul span {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  #cms.cms-id-3 .page-cms > p:has(> span[style*="font-weight:bold"]) > span {
    font-size: 17px !important;
  }
}

/* CABECALHO UNICO PARA TODAS AS PAGINAS INTERNAS */
body:not(#index) .page-title-wrapper,
body:not(#index) .page-title-wrapper.p_tilte_small {
  display: flex !important;
  align-items: center;
  min-height: 80px !important;
  margin: 0 0 44px !important;
  padding: 0 !important;
  background: #f5f5f5 !important;
  background-image: none !important;
  border-top: 0 !important;
  border-bottom: 1px solid #e8e8e8 !important;
}

/* Produto: aproxima os espacamentos e proporcoes do ecra de produto do XD. */
#product .product-container.product-layout1 > .col-md-6:nth-child(2) {
  padding-top: 0;
}

#product .product-container.product-layout1 .tabs {
  margin-top: 34px !important;
}

/* Estrutura da pagina de produto conforme o ecra Produto do XD. */
#product .product-layout1 .images-container {
  padding: 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#product .product-layout1 .page-content {
  background: transparent !important;
  box-shadow: none !important;
}

#product .product-layout1 .product-cover-container {
  box-sizing: border-box;
  padding: 28px !important;
  background: #fff;
}

#product .product-layout1 .product-images {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

#product .product-layout1 .product-cover {
  margin-bottom: 0 !important;
}

#product .product-layout1 > .col-md-12 {
  display: none !important;
}

#product .vestia-product-description-preview {
  position: relative;
  max-height: 112px;
  margin: 20px 0 22px;
  overflow: hidden;
  color: #646464;
  font-size: 14px;
  line-height: 1.55;
}

#product .vestia-product-reassurance {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #d8d8d8;
}

#product .vestia-product-reassurance > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

#product .vestia-product-reassurance span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: #153017;
  border-radius: 50%;
}

#product .vestia-product-reassurance p {
  margin: 0;
  color: #646464;
  font-size: 13px;
  line-height: 1.45;
}

#product .vestia-product-reassurance strong {
  color: #292f32;
}

/* O preco permanece visivel; o estado de stock nao e repetido sobre a imagem. */
.js-product-miniature .product-flag .out_of_stock {
  display: none !important;
}

body:not(#index) .page-title-wrapper > .container {
  width: 100%;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
  text-align: left;
}

body:not(#index) .page-title-wrapper .page-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body:not(#index) .page-title-wrapper .page-header h1,
body:not(#index) .page-title-wrapper .page-header .h1 {
  margin: 0 !important;
  padding: 0 !important;
  color: #232323 !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body:not(#index) .page-title-wrapper .breadcrumb,
body:not(#index) #wrapper .page-title-wrapper .breadcrumb {
  display: flex;
  justify-content: flex-start;
  margin: 0 !important;
  padding: 0 !important;
  color: #646464;
  font-size: 12px;
  line-height: 1.5;
  background: transparent !important;
}

body:not(#index) .page-title-wrapper .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
}

body:not(#index) .page-title-wrapper .breadcrumb li {
  margin: 0;
  color: #646464;
}

body:not(#index) .page-title-wrapper .breadcrumb a {
  color: #646464;
}

body:not(#index) .page-title-wrapper .breadcrumb a:hover,
body:not(#index) .page-title-wrapper .breadcrumb a:focus {
  color: #69c11f;
}

@media (max-width: 767px) {
  body:not(#index) .page-title-wrapper,
  body:not(#index) .page-title-wrapper.p_tilte_small {
    min-height: 54px !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
  }

  body:not(#index) .page-title-wrapper .page-header {
    margin-bottom: 7px !important;
  }

  body:not(#index) .page-title-wrapper .page-header h1,
  body:not(#index) .page-title-wrapper .page-header .h1 {
    font-size: 23px !important;
  }

  body:not(#index) .page-title-wrapper .breadcrumb,
  body:not(#index) #wrapper .page-title-wrapper .breadcrumb {
    font-size: 11px;
  }

  #product #main > .product-container.product-layout1 {
    gap: 20px;
  }

  #product .product-container.product-layout1 > .col-md-6:nth-child(2) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #product .images-container {
    margin-bottom: 0 !important;
  }

  #product .product-layout1 .product-cover-container {
    padding: 14px !important;
  }

  #product .vestia-product-reassurance {
    margin-top: 22px;
    padding-top: 20px;
  }

  #product .product-container.product-layout1 .tabs {
    margin-top: 24px !important;
  }
}

/* Mantem estes valores acima das regras legadas declaradas anteriormente. */
#product .product-information .product-description,
#product .product-information .product-description.vestia-product-description-preview {
  max-height: none !important;
  margin: 24px 0 0 !important;
  padding: 0 0 20px !important;
  overflow: visible !important;
  border-bottom: 1px solid #d8d8d8 !important;
}

#product .product-actions {
  padding-top: 20px !important;
}

#product .product-actions .product-add-to-cart {
  padding-top: 0 !important;
}

#product .product-quantity .qty,
#product .product-quantity .qty .bootstrap-touchspin,
#product .product-quantity .qty .bootstrap-touchspin .btn-touchspin,
#product .product-actions .add-to-cart,
#product .product-quantity .buy .buy-now {
  height: 44px !important;
  box-sizing: border-box !important;
}

#product .product-quantity .cart_button #wishlist_button,
#product .product-quantity .cart_button .compare-button {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  box-sizing: border-box !important;
}

/* Prioridade final sobre as regras antigas específicas da categoria. */
#category #js-product-list .product_content.grid .js-product-miniature .product_desc,
#search #js-product-list .product_content.grid .js-product-miniature .product_desc,
#manufacturer #js-product-list .product_content.grid .js-product-miniature .product_desc {
  flex: 0 0 170px !important;
  height: 170px !important;
  min-height: 170px !important;
}

#category #js-product-list .product_content.grid .js-product-miniature div.cart,
#search #js-product-list .product_content.grid .js-product-miniature div.cart,
#manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart {
  min-height: 36px !important;
  margin-top: 7px !important;
}

/* Os blocos Slick da página inicial não pertencem a #js-product-list. */
#index .slick-slider-block .js-product-miniature {
  display: flex;
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  flex-direction: column;
  overflow: hidden;
}

#index .slick-slider-block .js-product-miniature .product_desc {
  flex: 0 0 192px !important;
  height: 192px !important;
  min-height: 192px !important;
  box-sizing: border-box !important;
}

#index .slick-slider-block .js-product-miniature .inner_desc {
  height: 100%;
}

#index .slick-slider-block .js-product-miniature .product-price-and-shipping {
  margin-bottom: 0 !important;
}

#index .slick-slider-block .js-product-miniature div.cart {
  min-height: 38px !important;
  margin-top: 18px !important;
}

#index .slick-slider-block .js-product-miniature .product-add-to-cart-placeholder {
  display: block !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Tipografia exata dos cartões segundo os estilos de caractere do XD. */
.js-product-miniature .product_desc .manufacturer a {
  margin-bottom: 4px !important;
  color: #a7a7a7 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  text-transform: none !important;
}

.js-product-miniature .product_desc h3,
.js-product-miniature .product_desc .product_name,
.js-product-miniature .product_desc .product_name.one_line {
  min-height: 44px !important;
}

.js-product-miniature .product_desc .product_name,
.js-product-miniature .product_desc .product_name.one_line {
  margin-bottom: 5px !important;
  color: #646464 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 22px !important;
}

.js-product-miniature .price-on-request-label {
  color: #69c11f !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
}

.js-product-miniature div.cart button.ajax_add_to_cart_button,
.js-product-miniature div.cart span.ajax_add_to_cart_button {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
}

/* O mesmo componente de cartão mantém 430px também nas listagens. */
#category #js-product-list .product_content.grid .js-product-miniature.style_product1,
#search #js-product-list .product_content.grid .js-product-miniature.style_product1,
#manufacturer #js-product-list .product_content.grid .js-product-miniature.style_product1 {
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  overflow: hidden;
}

#category #js-product-list .product_content.grid .js-product-miniature .product_desc,
#search #js-product-list .product_content.grid .js-product-miniature .product_desc,
#manufacturer #js-product-list .product_content.grid .js-product-miniature .product_desc {
  flex: 0 0 192px !important;
  height: 192px !important;
  min-height: 192px !important;
}

#category #js-product-list .product_content.grid .js-product-miniature div.cart,
#search #js-product-list .product_content.grid .js-product-miniature div.cart,
#manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart {
  margin-top: 18px !important;
}

#category #js-product-list .product_content.grid .product-add-to-cart-placeholder,
#search #js-product-list .product_content.grid .product-add-to-cart-placeholder,
#manufacturer #js-product-list .product_content.grid .product-add-to-cart-placeholder {
  height: 38px !important;
  min-height: 38px !important;
}

/* Ficha de produto: tipografia e ritmos verticais do ecrã Produto no XD. */
#product .vestia-product-meta span {
  min-height: 28px !important;
  padding: 5px 10px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}

#product .product-information .product-description,
#product .product-information .product-description.vestia-product-description-preview {
  color: #646464 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

#product .product-quantity {
  column-gap: 8px !important;
  row-gap: 12px !important;
}

#product .product-actions .add-to-cart,
#product .product-quantity .buy .buy-now {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

#product .vestia-product-reassurance {
  margin-top: 20px !important;
  padding-top: 18px !important;
}

#product .vestia-product-reassurance p {
  color: #646464 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

#product .vestia-product-reassurance strong {
  color: #292f32 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 575px) {
  #product .product-quantity .qty {
    flex: 0 0 104px !important;
    width: 104px !important;
  }

  #product .product-quantity .qty .bootstrap-touchspin {
    width: 104px !important;
  }

  #product .product-quantity .qty #quantity_wanted {
    width: 44px !important;
  }

  #product .product-quantity .add {
    flex: 1 1 calc(100% - 112px) !important;
  }
}

/* Cartoes: produtos sem stock usam a zona do CTA para o pedido de preco. */
.js-product-miniature div.cart .product-add-to-cart-request {
  width: 100%;
}

.js-product-miniature div.cart a.price-on-request-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px) !important;
  max-width: 180px;
  min-height: 38px;
  margin-right: auto;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid #153017 !important;
  border-radius: 19px;
  background: #fff !important;
  color: #153017 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 22px !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.js-product-miniature div.cart a.price-on-request-button:hover,
.js-product-miniature div.cart a.price-on-request-button:focus {
  border-color: #69c11f !important;
  background: #69c11f !important;
  color: #fff !important;
}

.js-product-miniature .price-on-request-spacer {
  min-height: 24px;
}

/* Home: caixa uniforme para marcas com ficheiros de proporcoes muito diferentes. */
#index .pos-brand-widgets {
  margin-right: 0;
  margin-left: 0;
  overflow: hidden;
}

#index .pos-brand-widgets .slick-list,
#index .pos-brand-widgets .slick-track,
#index .pos-brand-widgets .slick-slide,
#index .pos-brand-widgets .slick-slide > div,
#index .pos-brand-widgets .brand-item,
#index .pos-brand-widgets .brand-item > a {
  height: 150px !important;
}

#index .pos-brand-widgets .slick-track {
  display: flex;
  align-items: stretch;
}

#index .pos-brand-widgets .slick-slide {
  float: none;
  padding: 0 18px;
}

#index .pos-brand-widgets .brand-item,
#index .pos-brand-widgets .brand-item > a {
  width: 100%;
}

#index .pos-brand-widgets .brand-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
}

#index .pos-brand-widgets .brand-item img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;
  max-height: 86px !important;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .js-product-miniature div.cart a.price-on-request-button {
    width: 100% !important;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 17px;
    font-size: 12px !important;
  }

  #index .pos-brand-widgets .slick-list,
  #index .pos-brand-widgets .slick-track,
  #index .pos-brand-widgets .slick-slide,
  #index .pos-brand-widgets .slick-slide > div,
  #index .pos-brand-widgets .brand-item,
  #index .pos-brand-widgets .brand-item > a {
    height: 120px !important;
  }

  #index .pos-brand-widgets .slick-slide {
    padding: 0 10px;
  }

  #index .pos-brand-widgets .brand-item img {
    max-height: 68px !important;
  }
}

/* Ficha de produto: a descricao longa e multimédia fica nos detalhes, nao no resumo. */
#product .product-information .product-description.vestia-product-description-preview {
  max-height: 104px !important;
  overflow: hidden !important;
}

#product .product-information .product-description.vestia-product-description-preview p {
  margin: 0;
}

#product .product-request-price-wrapper {
  width: 100%;
}

#product .product-request-price {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid #153017;
  border-radius: 2px;
  background: #153017;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
}

#product .product-request-price:hover,
#product .product-request-price:focus {
  border-color: #69c11f;
  background: #69c11f;
  color: #fff;
  text-decoration: none;
}

/* Cabecalho mobile: melhora a leitura da marca sem apertar os atalhos. */
@media (max-width: 767px) {
  #header .elementor-widget-posLogo .site-logo img {
    width: auto !important;
    max-width: 110px !important;
    max-height: 34px !important;
  }

  /* Evita que o texto dos CTAs dos cartoes quebre em tres linhas. */
  .js-product-miniature div.cart a.price-on-request-button {
    white-space: nowrap;
  }
}

/* Prioridade final: as regras legadas nao podem voltar a ocultar os detalhes. */
#product .product-layout1 > .col-md-12 {
  display: block !important;
}

#product .vestia-product-on-request .product-actions {
  display: block !important;
}

/* Página de fabricante: replica filtros + quatro produtos do ecrã Categoria do XD. */
#manufacturer #left-column { padding-right: 28px; }
#manufacturer .manufacturer-listing-header { margin: 0 0 18px; }
#manufacturer .manufacturer-listing-header #manufacturer-short_description,
#manufacturer .manufacturer-listing-header #manufacturer-description {
  margin: 0 0 10px;
  color: #646464;
  font-size: 14px;
  line-height: 1.55;
}
#manufacturer #left-column #search_filters .h6,
#manufacturer #left-column #search_filters .facet-title { text-transform: none !important; }
#manufacturer #left-column #search_filters > .h6 {
  margin-bottom: 22px;
  color: #292f32;
  font-size: 20px;
  font-weight: 700;
}
#manufacturer #js-product-list .product_content.grid > .item-product { margin-bottom: 16px; }

/* Ícones de confiança com o mesmo traço circular do XD. */
#product .vestia-product-reassurance .vestia-product-reassurance-icon { padding: 5px; }
#product .vestia-product-reassurance .vestia-product-reassurance-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Registo: checkbox e texto legal permanecem num bloco legível e alinhado. */
.page-registration .customer-form .custom-checkbox,
.page-registration #customer-form .custom-checkbox { display: block; }
.page-registration .customer-form .custom-checkbox > label,
.page-registration #customer-form .custom-checkbox > label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
  color: #646464;
  font-size: 14px;
  line-height: 1.45;
}
.page-registration .customer-form .custom-checkbox > label > input + span,
.page-registration #customer-form .custom-checkbox > label > input + span { margin: 1px 0 0; }
.page-registration .checkbox-copy,
.page-registration .checkbox-copy strong,
.page-registration .checkbox-copy small { display: block; }
.page-registration .checkbox-copy strong {
  color: #292f32;
  font-size: 14px;
  font-weight: 600;
}
.page-registration .checkbox-copy small {
  margin-top: 3px;
  color: #777;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}
.page-registration .field-newsletter,
.page-registration .field-customer_privacy {
  padding-bottom: 15px;
  border-bottom: 1px solid #ececec;
}

/* Modal do carrinho: hierarquia e ações consistentes com o tema. */
#blockcart-modal .modal-dialog {
  width: min(880px, calc(100vw - 30px));
  max-width: 880px;
}
#blockcart-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}
#blockcart-modal .modal-header {
  position: relative;
  padding: 20px 58px 20px 24px;
  border: 0;
  background: #153017;
}
#blockcart-modal .modal-title {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
#blockcart-modal .modal-title i.material-icons { color: #69c11f; }
#blockcart-modal .modal-header .close {
  position: absolute;
  top: 50%;
  right: 18px;
  margin: 0;
  color: #fff;
  opacity: .9;
  transform: translateY(-50%);
}
#blockcart-modal .modal-body { padding: 28px; }
#blockcart-modal .divide-right { border-right: 1px solid #e5e5e5; }
#blockcart-modal .product-image {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}
#blockcart-modal .product-name {
  margin: 3px 0 12px;
  color: #292f32;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
#blockcart-modal .product-price {
  color: #69c11f;
  font-size: 18px;
  font-weight: 700;
}
#blockcart-modal .cart-content p {
  display: flex;
  margin-bottom: 10px;
  justify-content: space-between;
  gap: 16px;
  color: #646464;
}
#blockcart-modal .cart-content .cart-products-count {
  display: block;
  margin-bottom: 18px;
  color: #292f32;
  font-size: 16px;
  font-weight: 700;
}
#blockcart-modal .cart-content .cart-content-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
#blockcart-modal .cart-content .cart-content-btn .btn {
  display: inline-flex;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 767px) {
  #manufacturer #left-column { padding-right: 15px; }
  #blockcart-modal .modal-dialog { width: calc(100vw - 24px); margin: 12px auto; }
  #blockcart-modal .modal-header { padding: 17px 50px 17px 18px; }
  #blockcart-modal .modal-title { justify-content: flex-start; text-align: left !important; }
  #blockcart-modal .modal-body { padding: 20px 18px; }
  #blockcart-modal .divide-right {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid #e5e5e5;
  }
  #blockcart-modal .product-image { max-height: 145px; }
}

@media (max-width: 479px) {
  #blockcart-modal .cart-content .cart-content-btn { grid-template-columns: 1fr; }
}

/* Filtros reais do módulo de pesquisa por facetas (desktop e mobile). */
#category #left-column > :not(#search_filters_wrapper) {
  display: none !important;
}

#category #left-column #search_filters_wrapper {
  margin: 0;
}

@media (min-width: 768px) {
  #category #left-column > #search_filters_wrapper {
    display: block !important;
  }
}

#category #left-column #search_filters .facet {
  display: block !important;
}

#category #left-column #search_filters .facet[data-type="manufacturer"] ul,
#category #left-column #search_filters .facet[data-name="Marca"] ul {
  max-height: 310px;
  padding-right: 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #afb4b6 transparent;
}

#category #left-column #search_filters .facet[data-type="manufacturer"] ul::-webkit-scrollbar,
#category #left-column #search_filters .facet[data-name="Marca"] ul::-webkit-scrollbar {
  width: 5px;
}

#category #left-column #search_filters .facet[data-type="manufacturer"] ul::-webkit-scrollbar-thumb,
#category #left-column #search_filters .facet[data-name="Marca"] ul::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #afb4b6;
}

@media (max-width: 767px) {
  #category #left-column {
    display: block !important;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    flex: 0 0 100%;
  }

  #category #left-column #search_filters_wrapper:not(.hidden-sm-down) {
    display: block !important;
    width: 100%;
    padding-bottom: 30px;
  }

  #category #left-column #search_filter_controls {
    display: flex !important;
    margin-bottom: 20px;
    align-items: center;
    justify-content: flex-end;
  }

  #category #left-column #search_filters .facet {
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid #e5e5e5;
  }
}

@media (max-width: 767px) {
  body#checkout section.checkout-step .form-footer button {
    width: 100%;
  }
}

/* Afasta o indicador do primeiro passo do limite superior do cartão. */
body#checkout section.checkout-step.-current {
  padding-top: 16px;
}

/* ========================================================================== */
/* REGISTO DE CLIENTE E REGISTO PROFISSIONAL B2B                              */
/* ========================================================================== */

/* Registo normal: avisos separados do cartão, como na referência fornecida. */
.page-registration #main {
  width: 100%;
  max-width: 920px;
}

.page-registration #content {
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.page-registration .vestia-registration-notices {
  display: grid;
  margin-bottom: 18px;
  gap: 14px;
}

.page-registration .vestia-registration-notice {
  display: flex;
  min-height: 58px;
  margin: 0;
  padding: 13px 18px;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--vestia-green);
  border-radius: 4px;
  background: rgba(105, 193, 31, .08);
  color: var(--vestia-copy);
  font-size: 14px;
  line-height: 1.5;
}

.page-registration .vestia-registration-notice > a:not(.btn) {
  color: var(--vestia-green);
  font-weight: 700;
}

.page-registration .vestia-registration-notice .btn {
  min-height: 38px;
  margin: 0;
  padding: 9px 15px;
  border: 0;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.page-registration .vestia-registration-card {
  padding: 36px 38px 32px;
  overflow: hidden;
  border: 1px solid #e2e6e3;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(21, 48, 23, .06);
}

/* A página do módulo não usa as classes standard de registo do PrestaShop. */
#module-b2bregistration-business #wrapper,
#module-b2bregistration-business #content-wrapper,
#module-b2bregistration-business #main {
  background: var(--vestia-bg);
}

#module-b2bregistration-business #content-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  flex: 0 0 100%;
  float: none !important;
}

#module-b2bregistration-business #main > #content {
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#module-b2bregistration-business .register-form {
  width: 100%;
  margin: 0 auto 70px;
}

#module-b2bregistration-business .vestia-b2b-intro {
  margin-bottom: 18px;
  padding: 24px 28px;
  border-left: 4px solid var(--vestia-green);
  border-radius: 4px;
  background: rgba(105, 193, 31, .08);
}

#module-b2bregistration-business .vestia-b2b-intro h1 {
  margin: 0 0 5px;
  color: var(--vestia-ink);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left !important;
  text-transform: none;
}

#module-b2bregistration-business .vestia-b2b-intro p {
  margin: 0;
  color: var(--vestia-copy);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

#module-b2bregistration-business .register-form > p {
  display: flex;
  min-height: 54px;
  margin: 0 0 14px;
  padding: 13px 18px;
  align-items: center;
  gap: 6px;
  border-left: 4px solid var(--vestia-green);
  border-radius: 4px;
  background: #fff;
  color: var(--vestia-copy);
  font-size: 14px;
}

#module-b2bregistration-business .register-form > p a {
  color: var(--vestia-green);
  font-weight: 700;
}

#module-b2bregistration-business #customer-form {
  padding: 34px 36px 32px;
  overflow: hidden;
  border: 1px solid #e2e6e3;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(21, 48, 23, .06);
}

#module-b2bregistration-business #customer-form > section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 20px;
}

#module-b2bregistration-business #customer-form > section > h3,
#module-b2bregistration-business #customer-form > section > hr,
#module-b2bregistration-business #customer-form > section > .col-md-12.row {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
  float: none;
}

#module-b2bregistration-business #customer-form h3 {
  margin: 8px 0 0;
  color: var(--vestia-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}

#module-b2bregistration-business #customer-form > section > h3:first-child {
  margin-top: 0;
}

#module-b2bregistration-business #customer-form hr {
  margin: 8px 0 2px;
  border-color: #e5e8e6;
}

#module-b2bregistration-business #customer-form .form-group {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  grid-column: span 6;
  float: none;
}

#module-b2bregistration-business #customer-form .vestia-b2b-access-field {
  grid-column: span 4;
}

#module-b2bregistration-business #customer-form .form-group label {
  display: block;
  min-height: 21px;
  margin: 0 0 7px;
  padding: 0;
  color: var(--vestia-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

#module-b2bregistration-business #customer-form .form-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8ddda;
  border-radius: 3px;
  background: #fff;
  color: var(--vestia-ink);
  box-shadow: none;
}

#module-b2bregistration-business #customer-form .form-control:focus {
  border-color: var(--vestia-green);
  box-shadow: 0 0 0 2px rgba(105, 193, 31, .12);
}

#module-b2bregistration-business #customer-form .input-group {
  display: flex;
  width: 100%;
}

#module-b2bregistration-business #customer-form .input-group .form-control {
  min-width: 0;
  flex: 1 1 auto;
}

#module-b2bregistration-business #customer-form .input-group-btn {
  width: auto;
  flex: 0 0 auto;
}

#module-b2bregistration-business #customer-form .input-group-btn .btn {
  min-width: 92px;
  min-height: 46px;
  border: 1px solid var(--vestia-dark);
  border-radius: 0 3px 3px 0;
  background: var(--vestia-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

#module-b2bregistration-business #customer-form .custom-checkbox,
#module-b2bregistration-business #customer-form .custom-checkbox > label {
  display: block;
  width: 100%;
  height: auto;
}

#module-b2bregistration-business #customer-form .custom-checkbox > label {
  display: grid;
  min-height: 0;
  margin: 0;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--vestia-copy);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

#module-b2bregistration-business #customer-form .custom-checkbox > label > input + span {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

#module-b2bregistration-business #customer-form .custom-checkbox .read-b2b-conditions {
  grid-column: 2;
  color: var(--vestia-green);
  font-weight: 600;
}

#module-b2bregistration-business #customer-form .form-group:has(.custom-checkbox) {
  grid-column: 1 / -1;
}

#module-b2bregistration-business #customer-form > section > .col-md-12:not(.row),
#module-b2bregistration-business #customer-form .form-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
  float: none;
}

#module-b2bregistration-business #customer-form .form-footer {
  display: flex;
  margin-top: 10px;
  justify-content: center;
}

#module-b2bregistration-business #b2b_add_data {
  display: inline-flex;
  min-width: 220px;
  min-height: 46px;
  margin: 0;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  background: var(--vestia-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  float: none;
}

#module-b2bregistration-business #b2b_add_data:hover,
#module-b2bregistration-business #b2b_add_data:focus {
  background: var(--vestia-dark);
}

@media (max-width: 767px) {
  .page-registration #main {
    max-width: calc(100% - 24px);
  }

  .page-registration .vestia-registration-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-registration .vestia-registration-card {
    padding: 26px 20px 24px;
  }

  #module-b2bregistration-business #content-wrapper {
    padding: 0 12px;
  }

  #module-b2bregistration-business .vestia-b2b-intro,
  #module-b2bregistration-business #customer-form {
    padding: 24px 20px;
  }

  #module-b2bregistration-business .vestia-b2b-intro h1 {
    font-size: 22px;
  }

  #module-b2bregistration-business #customer-form > section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #module-b2bregistration-business #customer-form > section > h3,
  #module-b2bregistration-business #customer-form > section > hr,
  #module-b2bregistration-business #customer-form > section > .col-md-12.row,
  #module-b2bregistration-business #customer-form .form-group,
  #module-b2bregistration-business #customer-form .vestia-b2b-access-field,
  #module-b2bregistration-business #customer-form .form-group:has(.custom-checkbox) {
    grid-column: 1;
  }

#module-b2bregistration-business #b2b_add_data {
    width: 100%;
    margin-top: 24px;
    float: none;
  }
}

/* Prioridade final das correções de responsividade (após todos os legados). */
/* Contactos: respeita a capitalização editorial escrita nos títulos. */
#contact .vestia-contact-data h3,
#contact .vestia-contact-form .contact-form h3 {
  text-transform: none !important;
}

/* Aluguer: replica a composição compacta das grelhas de produto. */
#index .slick-slider-block .js-product-miniature .product_desc .manufacturer {
  min-height: 22px !important;
  flex: 0 0 22px !important;
}

#index .elementor-element-ljxvbjr .slick-slider-block .js-product-miniature {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

#index .elementor-element-ljxvbjr .slick-slider-block .js-product-miniature .product_desc {
  height: 160px !important;
  min-height: 160px !important;
  flex: 0 0 160px !important;
  box-sizing: border-box !important;
}

#index .elementor-element-ljxvbjr .slick-slider-block .js-product-miniature .inner_desc {
  min-height: 0;
}

#index .elementor-element-ljxvbjr .slick-slider-block .js-product-miniature div.cart {
  margin-top: auto !important;
}

/* Listagens: cartões e zonas internas sempre alinhados na mesma fila. */
#category #js-product-list .product_content.grid .js-product-miniature.style_product1,
#search #js-product-list .product_content.grid .js-product-miniature.style_product1,
#manufacturer #js-product-list .product_content.grid .js-product-miniature.style_product1 {
  height: 410px !important;
  min-height: 410px !important;
  max-height: 410px !important;
}

#category #js-product-list .product_content.grid .js-product-miniature .product_desc,
#search #js-product-list .product_content.grid .js-product-miniature .product_desc,
#manufacturer #js-product-list .product_content.grid .js-product-miniature .product_desc {
  height: 174px !important;
  min-height: 174px !important;
  flex: 0 0 174px !important;
  box-sizing: border-box !important;
}

#category #js-product-list .product_content.grid .js-product-miniature div.cart,
#search #js-product-list .product_content.grid .js-product-miniature div.cart,
#manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart {
  height: 38px !important;
  min-height: 38px !important;
}

#category #js-product-list .product_content.grid .js-product-miniature div.cart button.ajax_add_to_cart_button,
#category #js-product-list .product_content.grid .js-product-miniature div.cart span.ajax_add_to_cart_button,
#category #js-product-list .product_content.grid .js-product-miniature div.cart a.price-on-request-button,
#search #js-product-list .product_content.grid .js-product-miniature div.cart button.ajax_add_to_cart_button,
#search #js-product-list .product_content.grid .js-product-miniature div.cart span.ajax_add_to_cart_button,
#search #js-product-list .product_content.grid .js-product-miniature div.cart a.price-on-request-button,
#manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart button.ajax_add_to_cart_button,
#manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart span.ajax_add_to_cart_button,
#manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart a.price-on-request-button {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
}

/* Produto: todos os cartões relacionados conservam exatamente a mesma altura. */
#product .categoryproducts .js-product-miniature.style_product1 {
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
}

#product .categoryproducts .js-product-miniature .product_desc {
  height: 192px !important;
  min-height: 192px !important;
  flex: 0 0 192px !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  /* Primeiro slider da home: tabs legíveis e cartões compactos no mobile. */
  #index .elementor-element-dcqyfiz .pos-producttabs-widget .navtab-products {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 20px !important;
    overflow: visible !important;
  }

  #index .elementor-element-dcqyfiz .pos-producttabs-widget .navtab-products .nav-item {
    min-width: 0;
    margin: 0 !important;
  }

  #index .elementor-element-dcqyfiz .pos-producttabs-widget .navtab-products .nav-link {
    display: flex;
    min-width: 0;
    min-height: 42px;
    padding: 0 2px 8px !important;
    align-items: flex-end;
    justify-content: center;
    font-size: clamp(13px, 3.8vw, 16px) !important;
    line-height: 1.15 !important;
    text-align: center;
    white-space: nowrap;
  }

  #index .elementor-element-dcqyfiz .slick-slider-block .js-product-miniature {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  #index .elementor-element-dcqyfiz .slick-slider-block .js-product-miniature div.cart {
    height: 44px !important;
    min-height: 44px !important;
    margin-top: auto !important;
  }

  #index .elementor-element-dcqyfiz .slick-slider-block .js-product-miniature div.cart button.ajax_add_to_cart_button,
  #index .elementor-element-dcqyfiz .slick-slider-block .js-product-miniature div.cart span.ajax_add_to_cart_button,
  #index .elementor-element-dcqyfiz .slick-slider-block .js-product-miniature div.cart a.price-on-request-button {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 6px !important;
    font-size: clamp(11.5px, 3.2vw, 12.5px) !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  #category #js-product-list .product_content.grid .js-product-miniature.style_product1,
  #search #js-product-list .product_content.grid .js-product-miniature.style_product1,
  #manufacturer #js-product-list .product_content.grid .js-product-miniature.style_product1,
  #product .categoryproducts .js-product-miniature.style_product1 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  #category #js-product-list .product_content.grid .js-product-miniature .product_desc,
  #search #js-product-list .product_content.grid .js-product-miniature .product_desc,
  #manufacturer #js-product-list .product_content.grid .js-product-miniature .product_desc {
    height: 180px !important;
    min-height: 180px !important;
    flex: 0 0 180px !important;
    box-sizing: border-box !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  #category #js-product-list .product_content.grid .js-product-miniature div.cart,
  #search #js-product-list .product_content.grid .js-product-miniature div.cart,
  #manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart,
  #product .categoryproducts .js-product-miniature div.cart {
    height: 44px !important;
    min-height: 44px !important;
  }

  #category #js-product-list .product_content.grid .js-product-miniature div.cart button.ajax_add_to_cart_button,
  #category #js-product-list .product_content.grid .js-product-miniature div.cart span.ajax_add_to_cart_button,
  #category #js-product-list .product_content.grid .js-product-miniature div.cart a.price-on-request-button,
  #search #js-product-list .product_content.grid .js-product-miniature div.cart button.ajax_add_to_cart_button,
  #search #js-product-list .product_content.grid .js-product-miniature div.cart span.ajax_add_to_cart_button,
  #search #js-product-list .product_content.grid .js-product-miniature div.cart a.price-on-request-button,
  #manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart button.ajax_add_to_cart_button,
  #manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart span.ajax_add_to_cart_button,
  #manufacturer #js-product-list .product_content.grid .js-product-miniature div.cart a.price-on-request-button,
  #product .categoryproducts .js-product-miniature div.cart button.ajax_add_to_cart_button,
  #product .categoryproducts .js-product-miniature div.cart span.ajax_add_to_cart_button,
  #product .categoryproducts .js-product-miniature div.cart a.price-on-request-button {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 6px !important;
    font-size: clamp(11.5px, 3.2vw, 12.5px) !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  #product .categoryproducts .js-product-miniature .product_desc {
    height: 196px !important;
    min-height: 196px !important;
    flex: 0 0 196px !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  #contact .vestia-contact-data li {
    margin-bottom: 8px !important;
  }
}

#product .namne_details,
#product h1.h1,
#product .product-information,
#product .product-information .product-description,
#product .product-information .product-description.vestia-product-description-preview {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.js-product-miniature .thumbnail.product-thumbnail img,
.js-product-miniature .img_block img,
#product .product-cover img,
#blockcart-modal .product-image {
  object-fit: contain !important;
  object-position: center !important;
}

#footer .custom-checkbox > label,
.block_newsletter .custom-checkbox > label,
.page-registration .custom-checkbox > label,
body#checkout .custom-checkbox > label {
  display: grid !important;
  width: 100%;
  height: auto !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  white-space: normal;
}

#footer .custom-checkbox > label > input + span,
.block_newsletter .custom-checkbox > label > input + span,
.page-registration .custom-checkbox > label > input + span,
body#checkout .custom-checkbox > label > input + span {
  position: relative !important;
  margin: 1px 0 0 !important;
  grid-column: 1;
}

#footer .custom-checkbox > label > span:last-child,
.block_newsletter .custom-checkbox > label > span:last-child,
.page-registration .custom-checkbox > label > .checkbox-copy,
body#checkout .custom-checkbox > label > .checkbox-copy {
  min-width: 0;
  grid-column: 2;
  overflow-wrap: anywhere;
}

/* Checkout: as caixas de consentimento usam toda a largura do formulario. */
body#checkout #checkout-personal-information-step .js-customer-form .form-group.row.form-group-checkbox {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body#checkout #checkout-personal-information-step .js-customer-form .form-group-checkbox > .form-control-label,
body#checkout #checkout-personal-information-step .js-customer-form .form-group-checkbox > .form-control-comment {
  display: none !important;
}

body#checkout #checkout-personal-information-step .js-customer-form .form-group-checkbox > .col-md-8 {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
}

body#checkout #checkout-personal-information-step .js-customer-form .form-group-checkbox .custom-checkbox,
body#checkout #checkout-personal-information-step .js-customer-form .form-group-checkbox .custom-checkbox > label {
  width: 100% !important;
  max-width: none !important;
}

body#checkout #checkout-personal-information-step .js-customer-form .form-group-checkbox .custom-checkbox > label {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 10px !important;
}

body#checkout #checkout-personal-information-step .js-customer-form .form-group-checkbox .checkbox-copy {
  width: auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

@media (max-width: 767px) {
  #index .elementor-element-5yypa1g,
  #index .elementor-element-kwpxc5q {
    width: 100% !important;
    padding: 0 10px !important;
  }

  #index .elementor-element-5yypa1g > .elementor-column-wrap,
  #index .elementor-element-kwpxc5q > .elementor-column-wrap {
    width: 100%;
    min-height: 220px;
    padding: clamp(24px, 8vw, 36px) !important;
    overflow: hidden !important;
    border-radius: 12px;
    background-position: center !important;
    background-size: cover !important;
  }

  #index .elementor-element-5yypa1g .elementor-heading-title,
  #index .elementor-element-kwpxc5q .elementor-heading-title {
    height: auto !important;
    max-width: 15ch;
    overflow: visible;
    font-size: clamp(25px, 8vw, 32px) !important;
    line-height: 1.08 !important;
  }

  #category #js-product-list .product_content.grid,
  #search #js-product-list .product_content.grid,
  #manufacturer #js-product-list .product_content.grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #category #js-product-list .product_content.grid > .item-product,
  #search #js-product-list .product_content.grid > .item-product,
  #manufacturer #js-product-list .product_content.grid > .item-product {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  #category #js-product-list .js-product-miniature .product_desc,
  #search #js-product-list .js-product-miniature .product_desc,
  #manufacturer #js-product-list .js-product-miniature .product_desc {
    height: auto !important;
    min-height: 180px !important;
    flex: 1 1 auto !important;
  }

  #category #js-product-list .js-product-miniature .product_name,
  #search #js-product-list .js-product-miniature .product_name,
  #manufacturer #js-product-list .js-product-miniature .product_name {
    min-height: 54px;
    -webkit-line-clamp: 3;
  }

  #product .product-cover img {
    width: 100% !important;
    height: auto !important;
    max-height: min(72vh, 520px);
    aspect-ratio: 1 / 1;
  }

  #blockcart-modal .cart-content p {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 359px) {
  #category #js-product-list .product_content.grid,
  #search #js-product-list .product_content.grid,
  #manufacturer #js-product-list .product_content.grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
#order-confirmation .card-block{
  background-color: white;
}