@import 'moda-themes/themes';

.PdpInfoModule {
  $self: &;
  font-family: font-family('sans');
  height: 168px;
  line-height: 1.67;
  overflow: hidden;
  position: relative;
  display: block;
  background-color: color('noise');
  color: color('black');
  margin: 0 0 space(7);

  &__title {
    display: inline-block;
    font-size: font-size('sm');
    margin: 1em 1.3em 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    > span {
      text-decoration: underline;
    }
  }

  &__trunkshow-info {
    font-size: font-size('md');
    letter-spacing: 0.03em;
    margin: 0.9em 1.2em;
  }

  &__timer,
  &__shipping {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 0.3em;
    > span {
      margin-right: space(4);
    }
  }

  &__card-content {
    -webkit-tap-highlight-color: transparent;
    font-size: font-size('md');
    background-color: color('seafoam');
    position: absolute;
    bottom: -132px;
    height: 168px;
    width: 100%;
    transition: bottom 0.5s ease;
    cursor: pointer;
    &.hovered {
      bottom: 0;
      #{$self}__hover-container {
        border-bottom: 1px solid color('cement');
        #{$self}__icon-up {
          display: none;
        }
        #{$self}__icon-down {
          display: block;
        }
      }
    }

    > p {
      margin: space(5);
    }
  }

  &__hover-container {
    font-family: font-family('sans');
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: space(4) space(5);
    height: 36px;
  }

  &__icon-down {
    display: none;
  }
}
